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

body {
    background-color: #0b061a;
    color: #fff;
    font-family: 'Orbitron', sans-serif;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

#game-container {
    position: relative;
    width: 800px;
    height: 600px;
    box-shadow: 0 0 30px rgba(0, 243, 255, 0.3);
    border: 2px solid #00f3ff;
    background: #000;
}

canvas {
    display: block;
    width: 100%;
    height: 100%;
}

#ui-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 20px;
}

#hud {
    display: flex;
    justify-content: space-between;
    font-size: 18px;
    font-weight: 700;
    text-shadow: 0 0 10px #00f3ff;
    color: #00f3ff;
}

.screen {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(11, 6, 26, 0.85);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    pointer-events: auto;
    text-align: center;
    backdrop-filter: blur(5px);
    transition: opacity 0.3s ease;
}

.screen.hidden {
    opacity: 0;
    pointer-events: none;
    display: none;
}

.glitch-title {
    font-size: 48px;
    font-weight: 900;
    color: #ff0055;
    text-shadow: 0 0 20px #ff0055, 0 0 40px #ff0055;
    margin-bottom: 20px;
    letter-spacing: 2px;
}

.screen p {
    font-size: 16px;
    color: #fff;
    margin-bottom: 30px;
    text-shadow: 0 0 5px #fff;
}

.neon-btn {
    background: transparent;
    border: 2px solid #00f3ff;
    color: #00f3ff;
    padding: 15px 40px;
    font-family: 'Orbitron', sans-serif;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 0 15px rgba(0, 243, 255, 0.4);
    transition: all 0.2s ease-in-out;
    text-shadow: 0 0 10px #00f3ff;
}

.neon-btn:hover {
    background: #00f3ff;
    color: #0b061a;
    box-shadow: 0 0 30px #00f3ff;
    transform: scale(1.05);
}
