* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    width: 100vw;
    height: 100vh;
    background: linear-gradient(180deg, #87CEEB 0%, #98D8C8 100%);
    font-family: 'Arial Black', Arial, sans-serif;
    overflow: hidden;
}

#gameContainer {
    position: relative;
    width: 100vw;
    height: 100vh;
}

#gameCanvas {
    display: block;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, #87CEEB 0%, #98D8C8 50%, #228B22 100%);
}

#startScreen {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(135,206,235,0.95) 0%, rgba(152,216,200,0.95) 50%, rgba(34,139,34,0.95) 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 10;
}

#startScreen.hidden {
    display: none;
}

.title {
    font-size: 48px;
    color: #2E7D32;
    text-shadow: 3px 3px 0 #FFF, 5px 5px 0 #81C784;
    margin-bottom: 30px;
    text-align: center;
    animation: bounce 1s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.playButton {
    padding: 20px 50px;
    font-size: 32px;
    font-weight: bold;
    color: white;
    background: linear-gradient(135deg, #FFA726 0%, #FF6F00 100%);
    border: 4px solid white;
    border-radius: 50px;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
    transition: transform 0.2s;
    text-transform: uppercase;
}

.playButton:hover {
    transform: scale(1.1);
}

.playButton:active {
    transform: scale(0.95);
}

#score {
    position: absolute;
    top: 30px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 48px;
    color: white;
    text-shadow: 3px 3px 0 #2E7D32;
    z-index: 5;
}

#gameOver {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 10;
    display: none;
}

#gameOver.show {
    display: block;
}

.gameOverText {
    font-size: 56px;
    color: #D32F2F;
    text-shadow: 3px 3px 0 white, 5px 5px 10px rgba(0,0,0,0.5);
    margin-bottom: 20px;
}

.finalScore {
    font-size: 32px;
    color: white;
    text-shadow: 2px 2px 0 #2E7D32;
    margin-bottom: 30px;
}

.instructions {
    position: absolute;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 18px;
    color: #2E7D32;
    text-align: center;
    text-shadow: 1px 1px 0 white;
}

/* Responsive font sizes */
@media (max-width: 768px) {
    .title {
        font-size: 36px;
    }
    
    .playButton {
        padding: 15px 40px;
        font-size: 24px;
    }
    
    #score {
        font-size: 36px;
    }
    
    .gameOverText {
        font-size: 42px;
    }
    
    .finalScore {
        font-size: 24px;
    }
}