:root {
    --bg-dark: #02020a;
    --neon-blue: #00f2ff;
    --neon-gold: #ffcc00;
    --neon-red: #ff0055;
    --neon-green: #00ff95;
    --glass-bg: rgba(15, 20, 40, 0.95);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body { background-color: var(--bg-dark); color: #fff; font-family: 'Montserrat', sans-serif; min-height: 100vh; overflow-x: hidden; }
.bg-animation { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: radial-gradient(circle at 50% 50%, #0a1233 0%, #02020a 100%); z-index: -2; }
.scanline { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(to bottom, rgba(18, 16, 16, 0.1) 50%, rgba(0, 0, 0, 0.1) 50%); background-size: 100% 4px; z-index: 1000; pointer-events: none; }
header { padding: 40px; text-align: center; }
.glitch-text { font-family: 'Orbitron'; font-size: clamp(2rem, 8vw, 4rem); color: var(--neon-blue); text-shadow: 0 0 20px var(--neon-blue); text-transform: uppercase; letter-spacing: 5px;}
.glass-card { background: var(--glass-bg); backdrop-filter: blur(15px); border: 1px solid rgba(255, 255, 255, 0.2); border-radius: 20px; padding: 30px; box-shadow: 0 0 40px rgba(0,0,0,0.8); }
#setup-screen { width: 90%; max-width: 600px; margin: 0 auto; border: 2px solid var(--neon-blue); }
.spinner-display { background: #000; border: 2px dashed var(--neon-gold); border-radius: 15px; padding: 30px; margin: 25px 0; min-height: 140px; display: flex; flex-direction: column; justify-content: center;}
#rule-name { font-family: 'Orbitron'; font-size: 2rem; color: var(--neon-gold); font-weight: 900; text-align: center; text-shadow: 0 0 10px var(--neon-gold); }
.neon-btn { border: 2px solid; padding: 18px; border-radius: 50px; cursor: pointer; font-family: 'Orbitron'; font-weight: 700; text-transform: uppercase; transition: 0.3s; background: transparent; color: #fff; width: 100%; margin: 10px 0; letter-spacing: 2px; }
.neon-btn.blue { border-color: var(--neon-blue); color: var(--neon-blue); }
.neon-btn.blue:hover { background: var(--neon-blue); color: #000; box-shadow: 0 0 40px var(--neon-blue); }
.neon-btn.green { border-color: var(--neon-green); color: var(--neon-green); }
.neon-btn.green:hover:not(:disabled) { background: var(--neon-green); color: #000; box-shadow: 0 0 40px var(--neon-green); }
.neon-btn.gold { border-color: var(--neon-gold); color: var(--neon-gold); width: auto; margin-top: 20px; padding: 15px 40px; }
.neon-btn.red { border-color: var(--neon-red); color: var(--neon-red); width: 300px; }
button:disabled { opacity: 0.1; cursor: not-allowed; }
#game-container { width: 95%; max-width: 1400px; margin: 0 auto; padding-bottom: 50px; }
.game-meta { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 20px; }
.score-num { font-family: 'Orbitron'; font-size: 4rem; color: var(--neon-gold); text-shadow: 0 0 25px var(--neon-gold); line-height: 1; }
.jeopardy-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 15px; }
.cat-card { background: rgba(0, 242, 255, 0.1); padding: 25px 10px; text-align: center; border-bottom: 4px solid var(--neon-blue); font-family: 'Orbitron'; font-size: 0.9rem; font-weight: 900; text-transform: uppercase; }
.clue-card { background: var(--glass-bg); aspect-ratio: 4/3; display: flex; align-items: center; justify-content: center; font-family: 'Orbitron'; font-size: 2.5rem; font-weight: 900; color: var(--neon-gold); border-radius: 12px; cursor: pointer; transition: 0.4s; border: 1px solid rgba(255,255,255,0.05); }
.clue-card:hover:not(.used) { border-color: var(--neon-blue); box-shadow: 0 0 30px var(--neon-blue); transform: translateY(-8px); }
.clue-card.used { opacity: 0.05; cursor: default; }
.modal-overlay { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.98); z-index: 2000; flex-direction: column; justify-content: center; align-items: center; }
.modal-content { max-width: 900px; width: 90%; text-align: center; }
.question-display { font-size: clamp(1.5rem, 5vw, 2.5rem); font-weight: 700; margin: 40px 0; line-height: 1.3; color: #fff; }
.options-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; width: 100%; }
.option-btn { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.2); padding: 25px; color: #fff; border-radius: 15px; cursor: pointer; font-size: 1.2rem; transition: 0.3s; }
.option-btn:hover:not(:disabled) { background: var(--neon-blue); color: #000; font-weight: 900; }
#timer-bar { position: absolute; top: 0; left: 0; height: 12px; background: var(--neon-red); width: 100%; box-shadow: 0 0 20px var(--neon-red); }
.active-rule-tag { background: var(--neon-gold); color: #000; padding: 10px 20px; font-family: 'Orbitron'; font-weight: 900; border-radius: 5px; font-size: 0.8rem; }
.cursed-tag { color: var(--neon-red); font-family: 'Orbitron'; font-weight: 900; margin-bottom: 20px; font-size: 2rem; text-shadow: 0 0 20px var(--neon-red); }
.death-screen { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: #000; z-index: 5000; flex-direction: column; justify-content: center; align-items: center; }
.death-title { font-family: 'Orbitron'; font-size: clamp(3rem, 12vw, 8rem); color: var(--neon-red); text-shadow: 0 0 60px var(--neon-red); margin-bottom: 20px; }