* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: #87CEEB;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.game-container {
    width: 420px;
    background-color: white;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

.screen {
    text-align: center;
}

.hidden {
    display: none;
}

h1 {
    color: #333;
    margin-bottom: 20px;
    font-family: 'Arial Rounded MT Bold', 'Arial', sans-serif;
    color: #2E8B57;
    text-shadow: 2px 2px 0 #FFF, -2px -2px 0 #FFF, 2px -2px 0 #FFF, -2px 2px 0 #FFF;
    font-size: 36px;
}

h2 {
    font-size: 28px;
    margin-bottom: 15px;
}

.input-container {
    margin: 20px 0;
}

input[type="text"] {
    padding: 12px;
    width: 240px;
    border: 1px solid #ccc;
    border-radius: 5px;
    margin-right: 10px;
    font-size: 16px;
}

button {
    padding: 12px 24px;
    background-color: #FF6347;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
    font-weight: bold;
    text-transform: uppercase;
    box-shadow: 0 3px 0 #C04000;
    font-size: 16px;
}

button:hover {
    background-color: #FF4500;
}

button:active {
    transform: translateY(3px);
    box-shadow: none;
}

#game-canvas {
    display: block;
    margin: 0 auto;
    background-color: #87CEEB;
}

#leaderboard {
    margin-top: 20px;
    padding: 10px;
    background-color: #f5f5f5;
    border-radius: 5px;
    max-height: 300px;
    overflow-y: auto;
}

#scores-container {
    margin-top: 10px;
}

.score-item {
    display: flex;
    justify-content: space-between;
    padding: 10px 12px;
    border-bottom: 1px solid #ddd;
    font-family: 'Courier New', monospace;
    font-size: 16px;
}

.score-item:nth-child(odd) {
    background-color: #f9f9f9;
}

.score-item:nth-child(1) {
    background-color: #FFD700;
    font-weight: bold;
}

.score-item:nth-child(2) {
    background-color: #C0C0C0;
    font-weight: bold;
}

.score-item:nth-child(3) {
    background-color: #CD7F32;
    font-weight: bold;
} 