@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700&family=Poppins:wght@300;400;600&display=swap');

:root {
    --primary-red: #612319;
    --dark-bg: #1a1a1a;
    --darker-bg: #121212;
    --neon-glow: 0 0 10px rgba(97, 35, 25, 0.7);
    --text-color: #e0e0e0;
}

body {
    background-color: var(--dark-bg);
    color: var(--text-color);
    font-family: 'Poppins', sans-serif;
    overflow-x: hidden;
}

h1, h2, h3, .brand-font {
    font-family: 'Orbitron', sans-serif;
    color: #fff;
    text-shadow: 2px 2px var(--primary-red);
}

/* Header */
.navbar {
    background-color: var(--darker-bg) !important;
    border-bottom: 2px solid var(--primary-red);
}

.stat-box {
    background: #333;
    padding: 5px 15px;
    border-radius: 5px;
    border: 1px solid var(--primary-red);
    font-size: 0.9rem;
    color: #fff;
}

/* Cards & Gaming UI */
.game-card {
    background: #252525;
    border: 1px solid #444;
    border-radius: 10px;
    transition: all 0.3s;
    box-shadow: 0 4px 6px rgba(0,0,0,0.3);
}

.game-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-red);
    box-shadow: var(--neon-glow);
}

/* Quiz Options */
.option-btn {
    width: 100%;
    text-align: left;
    background: #2a2a2a;
    border: 1px solid #555;
    color: white;
    padding: 15px;
    margin-bottom: 10px;
    border-radius: 8px;
    transition: 0.2s;
    position: relative;
}

.option-btn:hover {
    background: #333;
    border-color: var(--primary-red);
}

.option-btn.correct {
    background: #198754 !important; /* Green */
    border-color: #198754;
}

.option-btn.wrong {
    background: #dc3545 !important; /* Red */
    border-color: #dc3545;
}

.status-icon {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.2rem;
}

/* Modal Customization */
.modal-content {
    background-color: var(--darker-bg);
    border: 2px solid var(--primary-red);
    color: white;
}
.form-control {
    background: #333;
    border: 1px solid #555;
    color: white;
}
.form-control:focus {
    background: #444;
    color: white;
    box-shadow: var(--neon-glow);
    border-color: var(--primary-red);
}
.btn-primary-game {
    background-color: var(--primary-red);
    border: none;
    color: white;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.btn-primary-game:hover {
    background-color: #7d2d21;
    color: white;
    box-shadow: var(--neon-glow);
}


/* Button States */
.option-btn.locked { pointer-events: none; opacity: 0.8; }

/* Correct Choice */
.option-btn.correct { 
    background: #198754 !important; 
    border-color: #198754 !important; 
    color: white !important;
}

/* Wrong Choice */
.option-btn.wrong { 
    background: #dc3545 !important; 
    border-color: #dc3545 !important; 
    color: white !important;
    opacity: 0.6;
}

/* The Correct Answer (When user picked wrong) */
.option-btn.reveal-correct {
    background: rgba(25, 135, 84, 0.4) !important; /* Dim Green */
    border: 1px solid #198754 !important;
    color: #fff !important;
    font-weight: bold;
    box-shadow: 0 0 10px #198754;
}

/* Result Card (Hidden initially) */
#resultCard { display: none; }