.game-container {
    width: 100%;
    height: 100vh;
    position: relative;
    background: linear-gradient(180deg, #87CEEB 0%, #B0E0E6 40%, #98FB98 90%, #228B22 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    overflow: hidden;
}

.game-container *,
.game-container *::before,
.game-container *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.game-container .screen {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease;
    background: rgba(30, 80, 120, 0.85);
}

.game-container .screen.active {
    opacity: 1;
    pointer-events: all;
}

.game-container #startScreen h1,
.game-container #gameOverScreen h1 {
    font-size: 4rem;
    color: #ff6b9d;
    text-shadow: 0 0 20px rgba(255, 107, 157, 0.5), 2px 2px 0 #fff;
    margin-bottom: 2rem;
    text-align: center;
}

.game-container #startScreen p,
.game-container #gameOverScreen p {
    font-size: 1.5rem;
    color: #ffffff;
    margin-bottom: 1rem;
    text-align: center;
}

.game-container button {
    padding: 15px 30px;
    font-size: 1.2rem;
    background: linear-gradient(45deg, #ff6b9d, #ff4081);
    color: white;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    font-weight: bold;
    margin: 10px;
    box-shadow: 0 4px 10px rgba(255, 64, 129, 0.3);
}

.game-container button:hover {
    background: linear-gradient(45deg, #ff4081, #ff6b9d);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 64, 129, 0.5);
}

.game-container #gameScreen {
    background: transparent;
}

.game-container .ui {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 10;
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.game-container .score,
.game-container .lives,
.game-container .level {
    background: rgba(255, 255, 255, 0.85);
    color: #e91e63;
    padding: 10px 15px;
    border-radius: 20px;
    font-size: 1.2rem;
    font-weight: bold;
    border: 2px solid rgba(255, 107, 157, 0.4);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.game-container #gameCanvas {
    border: 3px solid rgba(255, 255, 255, 0.6);
    border-radius: 15px;
    background: linear-gradient(180deg, #87CEEB 0%, #B0E0E6 50%, #90EE90 85%, #3CB371 100%);
    cursor: crosshair;
}

.game-container .controls {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: #333;
    font-size: 1.1rem;
    text-align: center;
    background: rgba(255, 255, 255, 0.85);
    padding: 10px 20px;
    border-radius: 15px;
    border: 1px solid rgba(255, 107, 157, 0.3);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

@media (max-width: 768px) {
    .game-container #startScreen h1,
    .game-container #gameOverScreen h1 {
        font-size: 2.5rem;
    }

    .game-container #startScreen p,
    .game-container #gameOverScreen p {
        font-size: 1.2rem;
        padding: 0 20px;
    }

    .game-container #gameCanvas {
        width: 95vw;
        height: 60vh;
    }

    .game-container .ui {
        flex-direction: column;
        gap: 10px;
    }

    .game-container .score,
    .game-container .lives,
    .game-container .level {
        font-size: 1rem;
        padding: 8px 12px;
    }

    .game-container .controls {
        font-size: 1rem;
        padding: 8px 15px;
    }
}

@media (max-width: 480px) {
    .game-container #startScreen h1,
    .game-container #gameOverScreen h1 {
        font-size: 2rem;
    }

    .game-container button {
        padding: 12px 25px;
        font-size: 1rem;
    }
}