@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;500;700&display=swap');

:root {
    --bg-void: #090910;
    --card-glass: rgba(22, 22, 35, 0.85);
    --border-subtle: rgba(255, 255, 255, 0.08);
    --gold-primary: #ffb700;
    --gold-glow: rgba(255, 183, 0, 0.4);
    --neon-blue: #3b82f6;
    --text-white: #ffffff;
    --text-dim: #94a3b8;
}



/* --- STICKY GAME HUD (Top Bar) --- */
.game-hud {
    position: sticky;
    top: 0;
    z-index: 500;
    background: rgba(9, 9, 16, 0.95);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--border-subtle);
    padding: 15px 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    margin-bottom: 30px;
}

.hud-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.timer-box {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.3);
    padding: 8px 16px;
    border-radius: 50px;
    color: var(--neon-blue);
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    box-shadow: 0 0 15px rgba(59, 130, 246, 0.25);
}

.progress-track {
    font-size: 0.9rem;
    color: var(--text-dim);
}

.progress-track span {
    color: var(--text-white);
    font-weight: bold;
}

/* --- MAIN GAME CONTAINER --- */
.game-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 15px;
}

/* --- QUESTION CARDS (The "Premium" Feel) --- */
.q-card {
    background: var(--card-glass);
    border: 1px solid var(--border-subtle);
    border-radius: 24px;
    padding: 30px;
    margin-bottom: 25px;
    position: relative;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.q-card:hover {
    border-color: rgba(255, 255, 255, 0.15);
}

/* Number Badge */
.q-badge {
    position: absolute;
    top: -12px;
    left: 30px;
    background: linear-gradient(135deg, #2b2b40, #1a1a25);
    border: 1px solid var(--border-subtle);
    padding: 4px 16px;
    border-radius: 12px;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-dim);
    font-weight: 700;
}

.q-text {
    font-size: 1.25rem;
    font-weight: 500;
    margin-bottom: 25px;
    line-height: 1.5;
    margin-top: 10px;
}

/* --- OPTIONS GRID --- */
.options-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    /* Two columns on desktop */
    gap: 15px;
}

/* Hide Radio Button */
.hidden-radio {
    display: none;
}

/* The Option Label */
.game-option {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    padding: 15px 20px;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
}

.game-option:hover {
    background: rgba(255, 255, 255, 0.06);
    transform: translateY(-2px);
}

.opt-key {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    margin-right: 15px;
    color: var(--text-dim);
    transition: 0.2s;
}

/* --- SELECTED STATE (The "Money" Look) --- */
.hidden-radio:checked + .game-option {
    background: linear-gradient(90deg, rgba(59, 130, 246, 0.1), transparent);
    border-color: var(--neon-blue);
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.2);
}

.hidden-radio:checked+.game-option .opt-key {
    background: var(--neon-blue);
    color: #000;
    box-shadow: 0 0 10px var(--neon-blue);
}

/* --- SUBMIT BUTTON --- */
.submit-wrapper {
    margin-top: 40px;
    padding: 20px;
    background: rgba(20, 20, 30, 0.5);
    border-radius: 24px;
    border: 1px solid var(--border-subtle);
    text-align: center;
}

.btn-mega {
    background: linear-gradient(180deg, #60a5fa 0%, #3b82f6 100%);
    box-shadow: 0 10px 20px rgba(59, 130, 246, 0.4);
    border: none;
    width: 100%;
    padding: 18px;
    border-radius: 16px;
    font-size: 1.1rem;
    font-weight: 800;
    color: #081d45;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    cursor: pointer;
    transition: transform 0.1s, filter 0.2s;
}

.btn-mega:hover {
    filter: brightness(1.15);
    transform: translateY(-2px);
}

.btn-mega:active {
    transform: scale(0.98);
}

/* --- MOBILE OPTIMIZATION --- */
@media (max-width: 768px) {
    .options-grid {
        grid-template-columns: 1fr;
        /* Stack vertically on phone */
    }

    .q-card {
        padding: 20px;
        border-radius: 20px;
    }

    .q-text {
        font-size: 1.1rem;
    }
}