* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    margin: 0;
    overflow: hidden;
    background: #0a0a1a;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

#gameCanvas {
    display: block;
    width: 100vw;
    height: 100vh;
}

#scoreDisplay {
    position: fixed;
    top: 16px;
    left: 16px;
    color: #00ffcc;
    font-size: 20px;
    font-weight: bold;
    text-shadow: 0 0 8px #00ffcc, 0 0 20px #00ffcc66;
    pointer-events: none;
    z-index: 10;
}

#gameOverScreen {
    position: fixed;
    inset: 0;
    background: rgba(5, 5, 15, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100;
}

#gameOverContent {
    text-align: center;
    padding: 48px 64px;
    border: 1px solid #ff00ff44;
    border-radius: 12px;
    background: rgba(10, 10, 30, 0.9);
    box-shadow: 0 0 30px #ff00ff33, inset 0 0 30px #ff00ff11;
}

#gameOverContent h1 {
    color: #ff00ff;
    font-size: 48px;
    margin-bottom: 16px;
    text-shadow: 0 0 10px #ff00ff, 0 0 30px #ff00ff66;
}

#finalScore {
    color: #00ffcc;
    font-size: 24px;
    margin-bottom: 32px;
    text-shadow: 0 0 8px #00ffcc88;
}

#restartButton {
    background: transparent;
    color: #00ffcc;
    border: 2px solid #00ffcc;
    padding: 12px 40px;
    font-size: 18px;
    font-weight: bold;
    border-radius: 6px;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all 0.2s ease;
    box-shadow: 0 0 10px #00ffcc44;
}

#restartButton:hover {
    background: #00ffcc22;
    box-shadow: 0 0 20px #00ffcc88, 0 0 40px #00ffcc44;
    text-shadow: 0 0 8px #00ffcc;
}

#restartButton:active {
    background: #00ffcc33;
    box-shadow: 0 0 10px #00ffcc, 0 0 30px #00ffcc88;
    transform: scale(0.97);
}
