body {
    margin: 0;
    padding: 0;
    overflow: hidden;
    background-color: #0a0a0f;
    color: white;
    font-family: 'Outfit', sans-serif;
}

canvas {
    display: block;
}

#ui {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 10;
    pointer-events: none;
}

#ui h1 {
    margin: 0;
    font-size: 2rem;
    color: #00ffcc;
    text-shadow: 0 0 15px rgba(0, 255, 204, 0.6);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.score-text {
    font-size: 1.5rem;
    font-weight: 600;
    margin-top: 5px;
}

#instructions {
    position: absolute;
    bottom: 20px;
    width: 100%;
    text-align: center;
    color: #a0a0b0;
    pointer-events: none;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

#game-over {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(10, 10, 15, 0.95);
    padding: 50px;
    border: 1px solid rgba(255, 0, 255, 0.3);
    box-shadow: 0 0 40px rgba(255, 0, 255, 0.2);
    text-align: center;
    border-radius: 8px;
    pointer-events: auto;
    z-index: 20;
    backdrop-filter: blur(10px);
}

.hidden {
    display: none !important;
}

#game-over h2 {
    color: #ff00ff;
    font-size: 4rem;
    margin: 0 0 10px 0;
    text-shadow: 0 0 20px rgba(255, 0, 255, 0.6);
    text-transform: uppercase;
}

#game-over p {
    font-size: 1.5rem;
    margin-bottom: 30px;
}

.actions {
    display: flex;
    gap: 15px;
    justify-content: center;
}

button, .back-btn {
    display: inline-block;
    padding: 12px 25px;
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    border-radius: 4px;
    text-decoration: none;
    transition: 0.3s;
    font-family: 'Outfit', sans-serif;
}

button {
    background: linear-gradient(135deg, #00ffcc, #00b3ff);
    color: #000;
    border: none;
    box-shadow: 0 0 15px rgba(0, 255, 204, 0.4);
}

button:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 25px rgba(0, 255, 204, 0.7);
}

.back-btn {
    background: transparent;
    border: 2px solid #a0a0b0;
    color: #a0a0b0;
}

.back-btn:hover {
    border-color: #fff;
    color: #fff;
}
