/* ── Miami DJ Beat — Certification Engine CSS ───────────── */
:root {
    --bg: #0b0f16;
    --card: #111827;
    --muted: #9ca3af;
    --text: #e5e7eb;
    --line: #1f2937;
    --good: #22c55e;
    --warn: #f59e0b;
    --bad: #ef4444;
    --brand: #60a5fa;
    --gold: #c5a059;
    --gold-dim: rgba(197, 160, 89, 0.18);
    --gold-border: rgba(197, 160, 89, 0.35);
}

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

html,
body {
    background: var(--bg);
    color: var(--text);
    font-family: 'Inter', ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial;
    font-size: 15px;
    line-height: 1.6;
    min-height: 100vh;
}

a {
    color: inherit;
    text-decoration: none;
}

/* ── TOPBAR ─────────────────────────── */
.topbar {
    position: sticky;
    top: 0;
    z-index: 10;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 20px;
    border-bottom: 1px solid var(--line);
    background: rgba(11, 15, 22, 0.92);
    backdrop-filter: blur(10px);
}

.brand {
    display: flex;
    gap: 12px;
    align-items: center;
}

.logoMark {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--gold-dim), rgba(197, 160, 89, 0.04));
    border: 1px solid var(--gold-border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 16px;
    color: var(--gold);
}

.brandTitle {
    font-weight: 900;
    letter-spacing: .1em;
    font-size: 12px;
    color: var(--gold);
}

.brandSub {
    font-size: 11px;
    color: var(--muted);
    margin-top: 1px;
}

.nav {
    display: flex;
    gap: 8px;
}

.navLink {
    padding: 7px 14px;
    border-radius: 8px;
    border: 1px solid transparent;
    color: var(--muted);
    font-size: 13px;
    font-weight: 600;
    transition: all .2s;
}

.navLink:hover {
    color: var(--text);
    border-color: var(--line);
}

.navLink.active {
    border-color: var(--gold-border);
    color: var(--gold);
    background: var(--gold-dim);
}

/* ── LAYOUT ─────────────────────────── */
.container {
    max-width: 880px;
    margin: 0 auto;
    padding: 20px 16px 60px;
}

.card {
    background: rgba(17, 24, 39, 0.75);
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 32px 28px;
    margin: 16px 0;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.hidden {
    display: none !important;
}

/* ── HERO ─────────────────────────── */
.certBadge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--gold-dim);
    border: 1px solid var(--gold-border);
    border-radius: 50px;
    padding: 5px 16px;
    font-size: 10px;
    font-weight: 800;
    color: var(--gold);
    letter-spacing: 2px;
    margin-bottom: 16px;
}

.hero h1 {
    font-size: clamp(24px, 4vw, 36px);
    font-weight: 900;
    margin-bottom: 10px;
}

.heroSub {
    color: var(--muted);
    line-height: 1.7;
    margin-bottom: 20px;
}

.levelGrid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 8px;
    margin-bottom: 24px;
}

.levelPill {
    padding: 10px 14px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 700;
    border: 1px solid;
}

.levelPill.gold {
    background: rgba(197, 160, 89, 0.12);
    border-color: var(--gold-border);
    color: var(--gold);
}

.levelPill.silver {
    background: rgba(148, 163, 184, 0.08);
    border-color: rgba(148, 163, 184, 0.3);
    color: #94a3b8;
}

.levelPill.bronze {
    background: rgba(180, 120, 60, 0.08);
    border-color: rgba(180, 120, 60, 0.3);
    color: #b4783c;
}

.levelPill.dim {
    background: rgba(239, 68, 68, 0.07);
    border-color: rgba(239, 68, 68, 0.25);
    color: #ef4444;
}

.divider {
    height: 1px;
    background: var(--line);
    margin: 24px 0;
}

/* ── FORM FIELDS ─────────────────────────── */
.grid2 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
    margin-bottom: 20px;
}

@media(min-width:640px) {
    .grid2 {
        grid-template-columns: 1fr 1fr;
    }
}

.field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.field span {
    font-size: 12px;
    color: var(--muted);
    font-weight: 600;
    letter-spacing: .4px;
}

.req {
    color: var(--bad);
}

.field input {
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid var(--line);
    background: rgba(11, 15, 22, 0.6);
    color: var(--text);
    font-size: 14px;
    transition: border-color .2s;
}

.field input:focus {
    outline: none;
    border-color: var(--gold-border);
}

.notice {
    padding: 16px;
    border-radius: 14px;
    border: 1px solid rgba(197, 160, 89, 0.25);
    background: rgba(197, 160, 89, 0.06);
    margin-bottom: 20px;
}

.notice strong {
    color: var(--gold);
    display: block;
    margin-bottom: 4px;
}

.noticeSub {
    font-size: 13px;
    color: var(--muted);
    margin-bottom: 10px;
}

.checkRow {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.checkRow input {
    margin-top: 3px;
    accent-color: var(--gold);
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.checkRow span {
    font-size: 13px;
    line-height: 1.6;
    color: #d1d5db;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 20px;
    border-radius: 12px;
    border: 1px solid var(--line);
    background: rgba(11, 15, 22, 0.5);
    color: var(--text);
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all .2s;
    letter-spacing: .5px;
    text-decoration: none;
}

.btn:hover {
    border-color: rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.05);
}

.btn.primary {
    border-color: var(--gold-border);
    background: var(--gold-dim);
    color: var(--gold);
}

.btn.primary:hover {
    background: rgba(197, 160, 89, 0.25);
}

.btn.full {
    width: 100%;
    margin-top: 8px;
}

.errMsg {
    color: var(--bad);
    font-size: 13px;
    margin-top: 8px;
}

/* ── QUIZ ─────────────────────────── */
.quizHeader {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    flex-wrap: wrap;
    gap: 12px;
}

.sectionTag {
    font-size: 10px;
    font-weight: 800;
    color: var(--gold);
    letter-spacing: 2px;
    margin-bottom: 4px;
}

.qMeta {
    font-size: 12px;
    color: var(--muted);
    font-weight: 600;
}

.progressWrap {
    display: flex;
    align-items: center;
    gap: 10px;
}

.progressBar {
    width: 160px;
    height: 4px;
    background: var(--line);
    border-radius: 99px;
    overflow: hidden;
}

.progressFill {
    height: 100%;
    background: var(--gold);
    border-radius: 99px;
    transition: width .4s ease;
}

.progressPct {
    font-size: 12px;
    color: var(--muted);
    font-weight: 700;
    min-width: 32px;
}

.qText {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.5;
    margin-bottom: 24px;
    min-height: 54px;
}

.options {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.optBtn {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    width: 100%;
    padding: 14px 16px;
    border-radius: 14px;
    border: 1px solid var(--line);
    background: rgba(11, 15, 22, 0.4);
    color: var(--text);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    text-align: left;
    transition: all .2s;
    line-height: 1.5;
}

.optBtn:hover:not(:disabled) {
    border-color: rgba(197, 160, 89, 0.3);
    background: rgba(197, 160, 89, 0.06);
}

.optBtn:disabled {
    cursor: not-allowed;
}

.optLetter {
    min-width: 26px;
    height: 26px;
    border-radius: 8px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.04);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 800;
    color: var(--muted);
    flex-shrink: 0;
}

.optBtn.correct {
    border-color: rgba(34, 197, 94, 0.5);
    background: rgba(34, 197, 94, 0.08);
}

.optBtn.correct .optLetter {
    background: rgba(34, 197, 94, 0.2);
    border-color: rgba(34, 197, 94, 0.4);
    color: var(--good);
}

.optBtn.wrong {
    border-color: rgba(239, 68, 68, 0.4);
    background: rgba(239, 68, 68, 0.06);
}

.optBtn.wrong .optLetter {
    background: rgba(239, 68, 68, 0.15);
    border-color: rgba(239, 68, 68, 0.35);
    color: var(--bad);
}

.qFeedback {
    margin-top: 16px;
    padding: 14px 18px;
    border-radius: 14px;
    font-size: 14px;
    line-height: 1.6;
}

.qFeedback.ok {
    background: rgba(34, 197, 94, 0.07);
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: var(--good);
    font-weight: 700;
}

.qFeedback.fail {
    background: rgba(239, 68, 68, 0.06);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #f87171;
}

.qNav {
    margin-top: 20px;
}

/* ── RESULT ─────────────────────────── */
.resultTop {
    text-align: center;
    padding: 16px 0 8px;
}

.resultIcon {
    font-size: 72px;
    margin-bottom: 12px;
}

#resultLevel {
    font-size: 26px;
    font-weight: 900;
    margin-bottom: 6px;
}

.resultName {
    color: var(--gold);
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 6px;
}

.scoreBig {
    font-size: 64px;
    font-weight: 900;
    color: var(--gold);
    line-height: 1;
}

.muted {
    color: var(--muted);
}

.breakdown {
    display: grid;
    gap: 10px;
}

.bkRow {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    border-radius: 12px;
    border: 1px solid var(--line);
    background: rgba(11, 15, 22, 0.3);
    font-size: 14px;
}

.bkLabel {
    font-weight: 600;
}

.bkScore {
    font-weight: 800;
    color: var(--gold);
}

.declarationBlock {
    padding: 20px;
    border-radius: 14px;
    border: 1px solid var(--gold-border);
    background: var(--gold-dim);
    font-size: 14px;
    line-height: 1.7;
    margin: 8px 0;
}

.declarationBlock strong {
    color: var(--gold);
    display: block;
    margin-bottom: 6px;
}

.declarationBlock .sigLine {
    margin-top: 14px;
    font-weight: 700;
    color: var(--text);
}

.resultActions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
    justify-content: center;
}

.footer {
    text-align: center;
    padding: 24px 0 40px;
    font-size: 12px;
    color: var(--muted);
}

/* ── PRINT ─────────────────────────── */
@media print {

    .topbar,
    .resultActions,
    .qNav,
    .navLink,
    .btn {
        display: none !important;
    }

    body {
        background: #fff;
        color: #000;
    }

    .card {
        border: 1px solid #ccc;
        box-shadow: none;
    }

    #quizRoot {
        display: none !important;
    }
}

/* ── SECTION HEADERS ─────────────────── */
.secHeader {
    margin: 24px 0 10px;
}

.secTag {
    display: inline-block;
    padding: 4px 16px;
    border-radius: 50px;
    background: rgba(197, 160, 89, 0.12);
    border: 1px solid rgba(197, 160, 89, 0.35);
    font-size: 10px;
    font-weight: 800;
    color: #c5a059;
    letter-spacing: 2px;
}

/* ── QUESTION BLOCKS ─────────────────── */
.qBlock {
    padding: 20px;
    border-radius: 16px;
    border: 1px solid #1f2937;
    background: rgba(11, 15, 22, 0.3);
    margin-bottom: 12px;
}

.qBlockTop {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.qBlockNum {
    font-size: 11px;
    font-weight: 800;
    color: #c5a059;
    letter-spacing: 1px;
    padding: 3px 10px;
    border-radius: 6px;
    background: rgba(197, 160, 89, 0.12);
    border: 1px solid rgba(197, 160, 89, 0.35);
}

.qBlockPts {
    font-size: 12px;
    color: #9ca3af;
    font-weight: 700;
}

.qBlockText {
    font-size: 15px;
    font-weight: 700;
    line-height: 1.55;
    margin-bottom: 14px;
}

.qTip {
    margin-top: 10px;
    font-size: 12px;
    color: #9ca3af;
    font-style: italic;
}

/* ── MC OPTIONS ─────────────────────── */
.qOpts {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.qOptLabel {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid #1f2937;
    background: rgba(255, 255, 255, 0.02);
    cursor: pointer;
    transition: all .15s;
    font-size: 14px;
    line-height: 1.5;
}

.qOptLabel:hover {
    border-color: rgba(197, 160, 89, 0.3);
    background: rgba(197, 160, 89, 0.05);
}

.qOptLabel input {
    margin-top: 2px;
    accent-color: #c5a059;
    flex-shrink: 0;
}

.qOptLetter {
    min-width: 24px;
    height: 24px;
    border-radius: 6px;
    border: 1px solid #1f2937;
    background: rgba(255, 255, 255, 0.04);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: 800;
    color: #9ca3af;
    flex-shrink: 0;
}

/* ── SHORT ANSWER ─────────────────── */
textarea {
    width: 100%;
    resize: vertical;
    display: block;
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid #1f2937;
    background: rgba(11, 15, 22, 0.55);
    color: #e5e7eb;
    font-size: 14px;
    font-family: inherit;
    line-height: 1.6;
    transition: border-color .2s;
}

textarea:focus {
    outline: none;
    border-color: rgba(197, 160, 89, 0.4);
}

.rubricBox {
    margin-top: 14px;
    padding: 14px 16px;
    border-radius: 14px;
    border: 1px dashed rgba(197, 160, 89, 0.3);
    background: rgba(197, 160, 89, 0.04);
}

.rubricTitle {
    font-size: 12px;
    font-weight: 700;
    color: #c5a059;
    margin-bottom: 8px;
}

.rubricList {
    margin: 0 0 12px 16px;
    padding: 0;
}

.rubricList li {
    font-size: 12px;
    color: #9ca3af;
    margin-bottom: 4px;
    line-height: 1.5;
}

.sliderSection {
    margin-top: 10px;
}

.sliderLabel {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: #9ca3af;
    margin-bottom: 6px;
}

.sliderVal {
    color: #c5a059;
    font-size: 16px;
    font-weight: 800;
}

input[type="range"] {
    width: 100%;
    accent-color: #c5a059;
    cursor: pointer;
}

.rubricNote {
    font-size: 11px;
    color: #9ca3af;
    margin-top: 6px;
    font-style: italic;
}

/* ── RESULT BLOCK ─────────────────── */
.result {
    margin-top: 16px;
}

.resultTop {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 16px;
    padding: 8px 0;
}

.badgeLine {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 8px;
}

.badge {
    padding: 8px 16px;
    border-radius: 999px;
    border: 2px solid;
    font-weight: 800;
    letter-spacing: .5px;
    font-size: 14px;
}

.scoreLine {
    font-size: 13px;
}

.scoreLine code {
    background: rgba(197, 160, 89, 0.12);
    color: #c5a059;
    padding: 2px 8px;
    border-radius: 6px;
    font-size: 12px;
}

.preGradLine {
    font-size: 14px;
    line-height: 1.6;
    margin-top: 6px;
}

.resultActions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

/* ── BREAKDOWN & KPI ─────────────── */
.breakdown {
    display: grid;
    gap: 8px;
    margin-bottom: 16px;
}

.bkRow {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 14px;
    border-radius: 10px;
    border: 1px solid #1f2937;
    background: rgba(11, 15, 22, 0.3);
    font-size: 13px;
}

.bkLabel {
    font-weight: 600;
}

.bkScore {
    font-weight: 800;
}

.kpi {
    padding: 14px 16px;
    border-radius: 14px;
    border: 1px solid #1f2937;
    background: rgba(11, 15, 22, 0.3);
    margin-bottom: 10px;
    font-size: 13px;
    line-height: 1.6;
}

.kpi strong {
    display: block;
    margin-bottom: 4px;
    font-size: 14px;
}

.kpi ul {
    margin: 6px 0 0 16px;
    padding: 0;
}

.kpi li {
    margin-bottom: 4px;
}

/* ── DECLARATION BLOCK ──────────────── */
.declarationBlock {
    padding: 20px;
    border-radius: 14px;
    border: 1px solid rgba(197, 160, 89, 0.35);
    background: rgba(197, 160, 89, 0.07);
    font-size: 14px;
    line-height: 1.7;
    margin: 16px 0;
}

.declarationBlock strong {
    color: #c5a059;
    display: block;
    margin-bottom: 8px;
    font-size: 15px;
}

.sigLine {
    margin-top: 14px;
    font-weight: 700;
}

/* ── ACTIONS ─────────────────────── */
.actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid #1f2937;
}

/* ── PRINT CERTIFICATE ──────────────── */
.printCert {
    display: none;
}

@media print {

    .topbar,
    .actions,
    .btn,
    .notice,
    .hero,
    .qBlock,
    .secHeader,
    textarea,
    .rubricBox,
    .bkRow,
    .kpi,
    .resultTop,
    .resultActions,
    .sectionHeader>p,
    .muted {
        display: none !important;
    }

    body {
        background: #fff;
        color: #000;
        font-family: Georgia, serif;
    }

    .card {
        border: 1px solid #ddd;
        box-shadow: none;
        margin: 0;
        padding: 0;
    }

    .printCert {
        display: block !important;
        text-align: center;
        padding: 60px 40px;
        border: 4px double #c5a059;
        max-width: 680px;
        margin: 40px auto;
        background: #fffef8;
    }

    .printCertLogo {
        font-size: 12px;
        font-weight: 900;
        letter-spacing: .2em;
        color: #c5a059;
        margin-bottom: 24px;
    }

    .printCertTitle {
        font-size: 20px;
        font-weight: 700;
        color: #1a1a1a;
        margin-bottom: 30px;
    }

    .printCertName {
        font-size: 30px;
        font-weight: 900;
        color: #1a1a1a;
        margin-bottom: 10px;
    }

    .printCertLevel {
        font-size: 15px;
        color: #555;
        margin-bottom: 20px;
    }

    .printCertScore {
        font-size: 26px;
        font-weight: 900;
        color: #c5a059;
        border: 2px solid #c5a059;
        border-radius: 10px;
        display: inline-block;
        padding: 8px 28px;
        margin-bottom: 20px;
    }

    .printCertId {
        font-size: 11px;
        color: #888;
        letter-spacing: .1em;
        margin-bottom: 8px;
    }

    .printCertDate {
        font-size: 13px;
        color: #666;
        margin-bottom: 30px;
    }

    .printCertFooter {
        font-size: 10px;
        color: #aaa;
        letter-spacing: .1em;
        border-top: 1px solid #e5e5e5;
        padding-top: 16px;
    }
}

.printCertVerify {
    font-size: 10px;
    color: #aaa;
    letter-spacing: .05em;
    margin-bottom: 16px;
}

/* ── SECTION SCORE BARS ──────────────────────────────── */
.barsWrap {
    display: grid;
    gap: 12px;
}

.barRow {
    display: grid;
    gap: 5px;
}

.barTop {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 8px;
}

.barLabel {
    font-weight: 700;
    font-size: 13px;
    color: var(--text);
}

.barValue {
    color: var(--muted);
    font-size: 12px;
    white-space: nowrap;
}

.barTrack {
    width: 100%;
    height: 10px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: rgba(11, 15, 22, 0.5);
    overflow: hidden;
}

.barFill {
    height: 100%;
    width: 0%;
    border-radius: 999px;
    transition: width 500ms cubic-bezier(.4, 0, .2, 1);
}

.barFill.good {
    background: linear-gradient(90deg, #16a34a, #22c55e);
}

.barFill.warn {
    background: linear-gradient(90deg, #d97706, #f59e0b);
}

.barFill.bad {
    background: linear-gradient(90deg, #b91c1c, #ef4444);
}

.barNote {
    color: var(--muted);
    font-size: 12px;
    margin-top: 10px;
    padding: 8px 12px;
    border-radius: 8px;
    border: 1px solid var(--line);
    background: rgba(11, 15, 22, 0.3);
}

/* ── STEP-BY-STEP QUIZ ENGINE ─────────────────────────────────── */

/* Progress bar strip */
.stepProgress {
    margin-bottom: 20px;
}

.stepProgressInfo {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 6px;
}

.stepLabel {
    font-size: 12px;
    font-weight: 700;
    color: var(--muted);
    letter-spacing: .5px;
}

.stepProgressBar {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.07);
    border-radius: 999px;
    overflow: hidden;
}

.stepBarFill {
    height: 100%;
    background: linear-gradient(90deg, #c5a059, #e8b84b);
    border-radius: 999px;
    transition: width 400ms ease;
}

/* Section badge pill */
.stepSectionBadge {
    display: inline-block;
    padding: 4px 14px;
    border-radius: 999px;
    border: 1px solid rgba(197, 160, 89, 0.35);
    background: rgba(197, 160, 89, 0.08);
    color: #c5a059;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 18px;
}

/* Question card */
.stepCard {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 20px;
    padding: 32px 28px;
    margin-bottom: 20px;
}

.stepCardTop {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
}

.stepNum {
    font-size: 11px;
    font-weight: 800;
    color: #c5a059;
    letter-spacing: 2px;
}

.stepPts {
    font-size: 12px;
    color: var(--muted);
    font-weight: 600;
}

.stepText {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    line-height: 1.55;
    margin-bottom: 28px;
}

/* Option buttons */
.stepOpts {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.stepOpt {
    display: flex;
    align-items: center;
    gap: 14px;
    width: 100%;
    text-align: left;
    padding: 14px 18px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    font-weight: 500;
    line-height: 1.5;
    cursor: pointer;
    transition: border-color 0.15s, background 0.15s, color 0.15s;
}

.stepOpt:hover:not(:disabled) {
    border-color: rgba(197, 160, 89, 0.5);
    background: rgba(197, 160, 89, 0.07);
    color: #fff;
}

.stepOpt:disabled {
    cursor: default;
}

.stepOpt.selected {
    border-color: #c5a059;
    background: rgba(197, 160, 89, 0.1);
    color: #fff;
}

.stepOpt.correct {
    border-color: #22c55e;
    background: rgba(34, 197, 94, 0.1);
    color: #fff;
}

.stepOpt.wrong {
    border-color: #ef4444;
    background: rgba(239, 68, 68, 0.1);
    color: rgba(255, 255, 255, 0.7);
}

.stepOptLetter {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    min-width: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 12px;
    font-weight: 800;
    color: var(--muted);
    transition: background 0.15s, border-color 0.15s, color 0.15s;
}

.stepOpt.correct .stepOptLetter {
    background: rgba(34, 197, 94, 0.2);
    border-color: #22c55e;
    color: #22c55e;
}

.stepOpt.wrong .stepOptLetter {
    background: rgba(239, 68, 68, 0.2);
    border-color: #ef4444;
    color: #ef4444;
}

.stepOpt.selected .stepOptLetter {
    background: rgba(197, 160, 89, 0.2);
    border-color: #c5a059;
    color: #c5a059;
}

/* Feedback banner */
.stepFeedback {
    margin-top: 16px;
    padding: 14px 18px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.6;
}

.stepFeedback.correct {
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: #4ade80;
}

.stepFeedback.wrong {
    background: rgba(239, 68, 68, 0.08);
    border: 1px solid rgba(239, 68, 68, 0.25);
    color: #fca5a5;
}

.stepTip {
    margin-top: 8px;
    font-size: 12px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.6;
}

/* Navigation */
.stepNav {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.stepNextBtn {
    padding: 13px 32px;
    border-radius: 50px;
    border: none;
    background: linear-gradient(135deg, #c5a059, #e8b84b);
    color: #000;
    font-size: 14px;
    font-weight: 900;
    letter-spacing: .5px;
    cursor: pointer;
    transition: opacity 0.2s, transform 0.15s;
}

.stepNextBtn:hover:not(:disabled) {
    opacity: 0.9;
    transform: translateY(-1px);
}

.stepNextBtn:disabled {
    opacity: 0.35;
    cursor: not-allowed;
    transform: none;
}

.stepResetBtn {
    background: transparent;
    font-size: 13px;
    color: var(--muted);
    border: none;
    cursor: pointer;
    padding: 8px 12px;
}

.stepResetBtn:hover {
    color: #fff;
}