body {
    margin: 0;
    padding: 20px;
    font-family: Arial, sans-serif;
    background: linear-gradient(135deg, #87CEEB 0%, #98FB98 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.game-container {
    text-align: center;
    background: white;
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.ui {
    margin-bottom: 15px;
}

h1 {
    color: #2E8B57;
    margin: 0 0 10px 0;
    font-size: 2em;
}

.level-display {
    font-size: 1.2em;
    color: #8B008B;
    font-weight: bold;
    margin-bottom: 5px;
}

.score-display {
    font-size: 1.5em;
    color: #4169E1;
    font-weight: bold;
    margin-bottom: 10px;
}

.win-message {
    background: #FFD700;
    padding: 20px;
    border-radius: 10px;
    margin: 10px 0;
    font-size: 1.3em;
    color: #B8860B;
    border: 2px solid #DAA520;
}

.win-message.hidden {
    display: none;
}

#restart-btn, #next-level-btn {
    background: #32CD32;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 1em;
    cursor: pointer;
    margin: 5px;
    transition: background 0.3s;
}

#restart-btn:hover, #next-level-btn:hover {
    background: #228B22;
}

#next-level-btn {
    background: #FF6347;
}

#next-level-btn:hover {
    background: #DC143C;
}

#gameCanvas {
    border: 3px solid #2E8B57;
    border-radius: 10px;
    background: #F0F8FF;
    display: block;
    margin: 0 auto;
}

.controls {
    margin-top: 15px;
    color: #2E8B57;
    font-size: 1.1em;
}

.controls p {
    margin: 5px 0;
}

.how-link {
    margin-top: 15px;
}

.how-link a {
    background: #8B008B;
    color: white;
    padding: 8px 16px;
    text-decoration: none;
    border-radius: 6px;
    font-size: 0.9em;
    transition: background 0.3s;
    display: inline-block;
}

.how-link a:hover {
    background: #9932CC;
}