/* ============================================================
   SIMIK SPACE ESCAPE — Game Styles
   ============================================================ */

/* Hide site UFO on game page */
body.game-page .ufo-container { display: none; }

.game-section {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 1rem;
}

.game-wrapper {
    position: relative;
    width: 100%;
    max-width: 960px;
    aspect-ratio: 16 / 9;
    background: var(--bg-primary, #0a0a0f);
    border-radius: var(--radius, 12px);
    overflow: hidden;
    border: 2px solid var(--neon-blue, #00d4ff);
    box-shadow: 0 0 30px rgba(0, 212, 255, 0.15),
                0 0 60px rgba(0, 212, 255, 0.05);
}

#game-canvas {
    width: 100%;
    height: 100%;
    display: block;
}

/* ---- Overlays ---- */
.game-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(10, 10, 15, 0.9);
    z-index: 10;
    text-align: center;
    padding: 2rem;
}

.game-overlay.hidden {
    display: none;
}

.game-title {
    font-family: var(--font-heading, 'Space Grotesk', sans-serif);
    font-size: clamp(1.8rem, 5vw, 3rem);
    font-weight: 700;
    background: linear-gradient(135deg, var(--neon-blue, #00d4ff), var(--neon-purple, #7b2ff7));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.game-subtitle {
    color: var(--text-secondary, #8888aa);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.game-controls {
    margin-bottom: 2rem;
    color: var(--text-secondary, #8888aa);
    font-size: 0.9rem;
    line-height: 2;
}

.game-controls kbd {
    display: inline-block;
    padding: 0.15rem 0.5rem;
    background: var(--bg-surface, #1a1a2e);
    border: 1px solid var(--border-color, #2a2a40);
    border-radius: 4px;
    font-family: var(--font-mono, monospace);
    font-size: 0.8rem;
    color: var(--neon-blue, #00d4ff);
}

.game-btn {
    display: inline-block;
    padding: 0.8rem 2.5rem;
    background: linear-gradient(135deg, var(--neon-blue, #00d4ff), var(--neon-purple, #7b2ff7));
    color: #fff;
    border: none;
    border-radius: var(--radius-sm, 8px);
    font-family: var(--font-heading, 'Space Grotesk', sans-serif);
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.3);
}

.game-btn:hover {
    box-shadow: 0 0 35px rgba(0, 212, 255, 0.5);
    transform: translateY(-2px);
}

/* ---- Responsive ---- */
@media (max-width: 768px) {
    .game-wrapper {
        border-radius: 0;
        border-width: 1px;
    }
    .game-section {
        padding: 0;
        min-height: auto;
    }
}

@media (prefers-reduced-motion: reduce) {
    .game-btn {
        transition: none;
    }
}
