@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400..900&display=swap');

.iframeoverlay,.gti_ico b,.thumbsupdown{z-index:20;}
.iframe_fs_back{z-index:30;}
.embedgame_textarea textarea{color:black;}
.mothergameholder {
background: #0d0d26; /* Dark space background */
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
/*min-height: 100vh;*/
margin: 0;
font-family: 'Orbitron', sans-serif;
color: #fff;
overflow: hidden; /* Prevent body scroll */
padding: 0;
}
#main-wrapper {
display: flex;
flex-direction: column;
align-items: center;
width: 100%;
height: 100%;
padding: 0;
position: relative; /* For positioning of UI elements */
}
.mothergameholder #game-container {
flex-grow: 1; /* Allows container to take up available space */
display: flex;
justify-content: center;
align-items: center;
width: 100%;
padding:0;
border-radius: 1.5rem;
transition: all 0.3s ease;
height: 100%;
}
.mothergameholder canvas {
border: 4px solid #00f0ff;
box-shadow: 0 0 20px #00f0ff; /* Keeping the shadow for a glow effect, but removing the inset to avoid the 'double border' look. */
border-radius: 1rem;
background-color: #0d0d26;
transition: all 0.3s ease;
display: block;
}
.ui-buttons-container {
width: 100%;
display: flex;
justify-content: space-between;
align-items: center;
padding:10px;
position:absolute;
z-index: 11;
}
.score-display {
text-shadow: 0 0 5px #00f0ff;
font-size:0.8rem;
white-space: nowrap;
}
.action-button {
background: #ff00ff;
color: #fff;
padding: 0.75rem 2rem;
border-radius: 9999px;
font-size: 1.1rem;
font-weight: bold;
text-shadow: 0 0 5px #ff00ff;
box-shadow: 0 0 15px #ff00ff;
border: none;
cursor: pointer;
transition: all 0.3s ease;
}
.mothergameholder .action-button:hover {
transform: scale(1.05);
box-shadow: 0 0 25px #ff00ff;
}
#options-btn {
background: none;
border: none;
font-size:1.5rem;
color: #fff;
text-shadow: 0 0 10px #ff00ff;
cursor: pointer;
transition: transform 0.3s ease;
line-height: 1;
padding: 0;
margin: 0;
}
#options-btn:hover {
transform: rotate(45deg) scale(1.1);
}

/* Modal/Overlay Styles */
.mothergameholder .overlay {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(0, 0, 0, 0.8);
display: none;
justify-content: center;
align-items: center;
z-index: 10;
}
#options-overlay{z-index: 11}
.modal-content {
background: #1a1a33;
padding: 2.5rem;
border-radius: 1.5rem;
text-align: center;
border: 2px solid #ff00ff;
box-shadow: 0 0 30px #ff00ff;
width: 90%;
max-width: 400px;
}
.modal-content h2 {
font-size: 2.5rem;
text-shadow: 0 0 10px #ff00ff;
margin-bottom: 2rem;
}
.ui-group {
display: flex;
justify-content: space-between;
align-items: center;
gap: 1rem;
background: rgba(0, 255, 255, 0.1);
padding: 0.75rem 1.25rem;
border-radius: 0.75rem;
border: 1px solid #00f0ff;
box-shadow: 0 0 10px rgba(0, 255, 255, 0.2);
margin-bottom: 1rem;
}
.ui-group label {
text-shadow: 0 0 5px #00f0ff;
}
.mothergameholder input[type="range"] {
-webkit-appearance: none;
width: 100%;
height: 8px;
background: #979797;
outline: none;
opacity: 0.7;
transition: opacity .2s;
border-radius: 4px;
}
.mothergameholder input[type="range"]::-webkit-slider-thumb {
-webkit-appearance: none;
appearance: none;
width: 18px;
height: 18px;
background: #00f0ff;
cursor: pointer;
border-radius: 50%;
box-shadow: 0 0 10px #00f0ff;
border: 2px solid #fff;
}
.mothergameholder input[type="range"]::-moz-range-thumb {
width: 18px;
height: 18px;
background: #00f0ff;
cursor: pointer;
border-radius: 50%;
box-shadow: 0 0 10px #00f0ff;
border: 2px solid #fff;
}
.mothergameholder input[type="checkbox"] {
-webkit-appearance: none;
appearance: none;
width: 24px;
height: 24px;
border: 2px solid #00f0ff;
border-radius: 6px;
position: relative;
cursor: pointer;
outline: none;
box-shadow: 0 0 8px #00f0ff;
}
.mothergameholder input[type="checkbox"]:checked {
background-color: #00f0ff;
box-shadow: 0 0 15px #00f0ff;
}
.mothergameholder input[type="checkbox"]:checked::after {
content: '';
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
width: 12px;
height: 12px;
background-color: #fff;
border-radius: 2px;
}