* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.game-container {
    text-align: center;
    padding: 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

h1 {
    color: #00ff88;
    margin-bottom: 15px;
    text-shadow: 0 0 10px rgba(0, 255, 136, 0.5);
}

#gameCanvas {
    border: 3px solid #00ff88;
    border-radius: 10px;
    background-color: #0a0a0a;
    display: block;
    margin: 0 auto;
}

.score-board {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
    color: #fff;
    font-size: 18px;
}

.score {
    background: rgba(0, 255, 136, 0.2);
    padding: 8px 15px;
    border-radius: 8px;
    border: 1px solid #00ff88;
}

.high-score {
    background: rgba(255, 165, 0, 0.2);
    padding: 8px 15px;
    border-radius: 8px;
    border: 1px solid #ffA500;
}

.controls {
    margin-top: 15px;
    color: #aaa;
    font-size: 14px;
}

.btn {
    background: linear-gradient(135deg, #00ff88 0%, #00cc6a 100%);
    color: #1a1a2e;
    border: none;
    padding: 10px 25px;
    border-radius: 25px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    margin-top: 10px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0, 255, 136, 0.4);
}

.game-over {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.9);
    padding: 30px 50px;
    border-radius: 15px;
    border: 2px solid #ff4444;
    color: #fff;
    display: none;
    text-align: center;
    z-index: 100;
}

.game-over h2 {
    color: #ff4444;
    margin-bottom: 10px;
}

.game-over p {
    margin-bottom: 15px;
}