/* Game Specific Styles */
body {
    overflow: hidden;
    /* Prevent scrolling while playing */
    touch-action: none;
}

.game-container {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: var(--bg-dark);
}

canvas {
    border: 2px solid var(--neon-pink);
    border-radius: 10px;
    box-shadow: 0 0 30px rgba(255, 0, 153, 0.3);
    background: linear-gradient(to bottom, #1a1a2e, #16213e);
    max-width: 100%;
    max-height: 100%;
}

.game-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.9);
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    border: 2px solid var(--neon-cyan);
    backdrop-filter: blur(10px);
    z-index: 1000;
    min-width: 300px;
    display: block;
}

.game-overlay h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.game-overlay p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: var(--text-dim);
}

.score-board {
    font-family: 'Bangers', cursive;
    font-size: 1.5rem;
    color: var(--neon-yellow);
    text-shadow: 2px 2px 0 #000;
}

@media (max-width: 600px) {
    canvas {
        width: 100%;
        height: 100%;
        border: none;
        border-radius: 0;
    }

    .sticky-header {
        width: 100%;
        top: 0;
        border-radius: 0;
        padding: 10px;
    }
}