/* Desafio gratuito — dark mode exclusivo */

body.desafio-body::before,
body.desafio-body::after {
    display: none !important;
}

.desafio-page {
    --df-bg: #070720;
    --df-surface: rgba(18, 18, 42, 0.94);
    --df-surface-2: rgba(26, 26, 56, 0.92);
    --df-text: #eef0f8;
    --df-muted: rgba(238, 240, 248, 0.58);
    --df-purple: #5900ff;
    --df-purple-light: #7c3dff;
    --df-mint: #24ffab;
    --df-mint-dim: rgba(36, 255, 171, 0.14);
    --df-purple-dim: rgba(89, 0, 255, 0.2);
    --df-radius: 18px;
    --df-radius-lg: 24px;
    --df-max: 640px;
    position: relative;
    min-height: 100vh;
    background: var(--df-bg) !important;
    color: var(--df-text) !important;
}

/* ── Background ── */
.df-bg {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.df-bg__grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(89, 0, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(89, 0, 255, 0.05) 1px, transparent 1px);
    background-size: 52px 52px;
    mask-image: radial-gradient(ellipse 85% 75% at 50% 20%, #000 15%, transparent 72%);
}

.df-bg__orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    opacity: 0.5;
}

.df-bg__orb--1 {
    width: min(480px, 65vw);
    height: min(480px, 65vw);
    top: -10%;
    left: -8%;
    background: radial-gradient(circle, rgba(89, 0, 255, 0.5), transparent 68%);
    animation: df-float 16s ease-in-out infinite alternate;
}

.df-bg__orb--2 {
    width: min(380px, 50vw);
    height: min(380px, 50vw);
    bottom: 5%;
    right: -6%;
    background: radial-gradient(circle, rgba(36, 255, 171, 0.28), transparent 68%);
    animation: df-float 20s ease-in-out infinite alternate-reverse;
}

@keyframes df-float {
    from { transform: translate(0, 0); }
    to { transform: translate(20px, 16px); }
}

@keyframes df-rise {
    from {
        opacity: 0;
        transform: translateY(16px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes df-score-glow {
    0%, 100% { text-shadow: 0 0 24px rgba(36, 255, 171, 0.25); }
    50% { text-shadow: 0 0 40px rgba(36, 255, 171, 0.45); }
}

@keyframes df-cta-shine {
    0% { transform: translateX(-120%) rotate(12deg); }
    100% { transform: translateX(220%) rotate(12deg); }
}

@media (prefers-reduced-motion: reduce) {
    .df-bg__orb,
    .df-rise,
    .df-result-score,
    .df-result-cta__btn-glow {
        animation: none !important;
    }

    .df-rise {
        opacity: 1;
        transform: none;
    }
}

.df-dev-banner {
    position: relative;
    z-index: 5;
    background: #dc3545;
    color: #fff;
    text-align: center;
    font-size: 0.8rem;
    padding: 0.35rem;
}

.df-alert {
    position: relative;
    z-index: 5;
    text-align: center;
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
}

.df-alert--success { background: rgba(36, 255, 171, 0.12); color: var(--df-mint); }
.df-alert--info { background: rgba(89, 0, 255, 0.15); color: #c4b5ff; }
.df-alert--error,
.df-alert--danger { background: rgba(255, 107, 107, 0.12); color: #ff8a8a; }

/* ── Topbar ── */
.df-topbar {
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    background: rgba(7, 7, 32, 0.88);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.df-topbar__inner {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 0;
}

.df-topbar__brand {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    text-decoration: none;
    color: #fff !important;
}

.df-topbar__name {
    font-weight: 800;
    font-size: 1rem;
    letter-spacing: -0.02em;
}

.df-topbar__tag {
    margin: 0 auto 0 0;
    font-size: 0.82rem;
    color: var(--df-muted);
}

.df-topbar__cta {
    margin-left: auto;
    padding: 0.5rem 1rem;
    border-radius: 999px;
    background: var(--df-purple-dim);
    color: #c4b5ff !important;
    font-size: 0.82rem;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.18s ease, color 0.18s ease;
}

.df-topbar__cta:hover {
    background: rgba(89, 0, 255, 0.35);
    color: #fff !important;
}

/* ── Layout ── */
.df-main {
    position: relative;
    z-index: 1;
    padding: clamp(1.5rem, 4vw, 2.75rem) 0 clamp(3rem, 6vw, 4rem);
}

.df-footer {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 1.5rem 0 2rem;
    color: var(--df-muted);
    font-size: 0.82rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.df-footer p { margin: 0; }

/* ── Hero intro ── */
.df-intro {
    text-align: center;
    max-width: 36rem;
    margin: 0 auto 2rem;
}

.df-intro__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    background: var(--df-mint-dim);
    color: var(--df-mint);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.df-intro__badge svg {
    width: 0.9rem;
    height: 0.9rem;
}

.df-card__cat svg {
    width: 0.85rem;
    height: 0.85rem;
}

.df-btn svg,
.df-btn .le-svg-icon {
    width: 1.1rem;
    height: 1.1rem;
    flex-shrink: 0;
}

.df-intro__title {
    font-size: clamp(1.75rem, 4.5vw, 2.5rem);
    font-weight: 800;
    line-height: 1.12;
    color: #fff;
    margin-bottom: 0.75rem;
    letter-spacing: -0.03em;
}

.df-intro__title em {
    font-style: normal;
    background: linear-gradient(120deg, #fff, #c4b5ff, var(--df-mint));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.df-intro__lead {
    color: var(--df-muted);
    font-size: 1.02rem;
    line-height: 1.6;
    margin: 0;
}

.df-intro__stats {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.65rem;
    margin-top: 1.25rem;
}

.df-stat-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.4rem 0.75rem;
    border-radius: 999px;
    background: var(--df-surface-2);
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--df-text);
}

.df-stat-pill svg {
    width: 0.95rem;
    height: 0.95rem;
    color: var(--df-purple-light);
}

/* ── Progresso ── */
.df-progress-wrap {
    max-width: var(--df-max);
    margin: 0 auto 1.5rem;
}

.df-progress-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.65rem;
    font-size: 0.82rem;
    font-weight: 600;
}

.df-progress-meta span:first-child {
    color: #fff;
}

.df-progress-meta span:last-child,
.df-progress-meta .df-timer {
    color: var(--df-mint);
    font-variant-numeric: tabular-nums;
}

.df-progress-track {
    height: 6px;
    border-radius: 99px;
    background: rgba(255, 255, 255, 0.08);
    overflow: hidden;
    margin-bottom: 0.75rem;
}

.df-progress-fill {
    height: 100%;
    border-radius: 99px;
    background: linear-gradient(90deg, var(--df-purple), var(--df-mint));
    transition: width 0.35s ease;
}

.df-progress-dots {
    display: flex;
    justify-content: space-between;
    gap: 4px;
}

.df-progress-dot {
    flex: 1;
    height: 4px;
    border-radius: 99px;
    background: rgba(255, 255, 255, 0.1);
    transition: background 0.25s ease, box-shadow 0.25s ease;
}

.df-progress-dot.is-done {
    background: var(--df-mint);
}

.df-progress-dot.is-current {
    background: var(--df-purple-light);
    box-shadow: 0 0 10px rgba(124, 61, 255, 0.55);
}

/* ── Card da questão ── */
.df-quiz {
    max-width: var(--df-max);
    margin: 0 auto;
}

.df-card {
    background: var(--df-surface);
    border-radius: var(--df-radius-lg);
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.4);
    overflow: hidden;
}

.df-card__head {
    padding: 1rem 1.35rem;
    background: linear-gradient(105deg, var(--df-purple), #2926ff);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.df-card__cat {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.3rem 0.7rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.df-card__num {
    font-size: 0.78rem;
    font-weight: 700;
    opacity: 0.9;
}

.df-card__body {
    padding: 1.5rem 1.35rem 1.35rem;
}

.df-enunciado {
    font-size: 1.05rem;
    line-height: 1.65;
    color: var(--df-text);
    margin-bottom: 1.35rem;
}

.df-enunciado img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

.df-alts-label {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: var(--df-muted);
    margin-bottom: 0.75rem;
}

.df-alts {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    margin-bottom: 1.25rem;
}

.df-alt {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.9rem 1rem;
    border-radius: 14px;
    background: var(--df-surface-2);
    cursor: pointer;
    transition: background 0.15s ease, box-shadow 0.15s ease;
}

.df-alt:hover {
    background: rgba(89, 0, 255, 0.12);
}

.df-alt input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.df-alt:has(input:checked) {
    background: rgba(89, 0, 255, 0.2);
    box-shadow: inset 0 0 0 2px rgba(124, 61, 255, 0.55);
}

.df-alt.is-locked:has(input:checked) {
    box-shadow: inset 0 0 0 2px var(--df-mint);
    background: rgba(36, 255, 171, 0.1);
}

.df-alt__letter {
    flex-shrink: 0;
    width: 1.75rem;
    height: 1.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.08);
    font-size: 0.78rem;
    font-weight: 800;
    color: #c4b5ff;
}

.df-alt:has(input:checked) .df-alt__letter {
    background: var(--df-purple);
    color: #fff;
}

.df-alt__text {
    flex: 1;
    font-size: 0.95rem;
    line-height: 1.5;
    color: var(--df-text);
    padding-top: 0.15rem;
}

/* ── Botões ── */
.df-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.95rem 1.25rem;
    border: none;
    border-radius: 14px;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.df-btn:hover {
    transform: translateY(-2px);
    color: inherit;
}

.df-btn--primary {
    background: linear-gradient(135deg, var(--df-purple), #2926ff);
    color: #fff !important;
    box-shadow: 0 8px 28px rgba(89, 0, 255, 0.35);
}

.df-btn--primary:hover { color: #fff !important; }

.df-btn--success {
    background: linear-gradient(135deg, var(--df-mint), #35ff88);
    color: #062818 !important;
    box-shadow: 0 8px 28px rgba(36, 255, 171, 0.3);
}

.df-btn--success:hover { color: #062818 !important; }

.df-btn--ghost {
    background: rgba(255, 255, 255, 0.06);
    color: #fff !important;
}

.df-btn--ghost:hover { color: #fff !important; }

/* ── Lead form ── */
.df-lead {
    max-width: var(--df-max);
    margin: 1.5rem auto 0;
    scroll-margin-top: 1rem;
}

.df-lead__card {
    background: var(--df-surface);
    border-radius: var(--df-radius-lg);
    padding: 1.75rem 1.35rem;
    box-shadow: 0 20px 56px rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(36, 255, 171, 0.15);
}

.df-lead__icon {
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: var(--df-mint-dim);
    color: var(--df-mint);
    margin-bottom: 1rem;
}

.df-lead__icon svg {
    width: 1.5rem;
    height: 1.5rem;
}

.df-lead__title {
    font-size: 1.35rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 0.4rem;
}

.df-lead__desc {
    color: var(--df-muted);
    font-size: 0.92rem;
    line-height: 1.55;
    margin-bottom: 1.35rem;
}

.df-field {
    margin-bottom: 1rem;
}

.df-field label {
    display: block;
    font-size: 0.82rem;
    font-weight: 600;
    color: rgba(238, 240, 248, 0.85);
    margin-bottom: 0.4rem;
}

.desafio-page .form-control {
    background: rgba(255, 255, 255, 0.06) !important;
    border: none !important;
    color: #fff !important;
    border-radius: 12px !important;
    padding: 0.85rem 1rem !important;
    box-shadow: none !important;
}

.desafio-page .form-control:focus {
    background: rgba(255, 255, 255, 0.09) !important;
    box-shadow: 0 0 0 3px rgba(89, 0, 255, 0.25) !important;
    color: #fff !important;
}

.desafio-page .form-control::placeholder {
    color: rgba(255, 255, 255, 0.35) !important;
}

.df-field-error {
    color: #ff8a8a;
    font-size: 0.78rem;
    margin-top: 0.3rem;
}

.df-lead__legal {
    font-size: 0.75rem;
    color: var(--df-muted);
    line-height: 1.5;
    margin-bottom: 1.25rem;
}

.df-form-error {
    padding: 0.85rem 1rem;
    border-radius: 12px;
    background: rgba(255, 107, 107, 0.12);
    color: #ff8a8a;
    font-size: 0.88rem;
    margin-bottom: 1rem;
}

/* ── Erro / empty ── */
.df-empty {
    text-align: center;
    max-width: 28rem;
    margin: 3rem auto;
}

.df-empty h2 {
    font-size: 1.5rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 0.75rem;
}

.df-empty p {
    color: var(--df-muted);
    margin-bottom: 1.5rem;
}

.df-timer {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 4.5rem;
    padding: 0.2rem 0.65rem;
    border-radius: 999px;
    font-variant-numeric: tabular-nums;
    font-weight: 700;
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.df-timer.is-warning {
    color: #ffd27a;
    border-color: rgba(255, 210, 122, 0.35);
    background: rgba(255, 210, 122, 0.12);
}

.df-timer.is-expired {
    color: #ffb4b4;
    border-color: rgba(255, 107, 107, 0.35);
    background: rgba(255, 107, 107, 0.12);
}

.df-timeout-banner {
    margin: 0 auto 1rem;
    max-width: 42rem;
    padding: 0.85rem 1rem;
    border-radius: 14px;
    font-size: 0.92rem;
    line-height: 1.5;
    color: #ffd27a;
    background: rgba(255, 210, 122, 0.1);
    border: 1px solid rgba(255, 210, 122, 0.28);
}

.df-timeout-summary {
    padding: 1rem;
    border-radius: 14px;
    color: var(--df-muted);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.df-timeout-summary p {
    margin: 0;
}

/* ── Sucesso ── */
.df-success {
    text-align: center;
    max-width: 32rem;
    margin: 2rem auto;
}

.df-success--wide {
    max-width: 44rem;
    text-align: left;
}

.df-success--wide h1,
.df-success--wide .df-success__head > p,
.df-success__head {
    text-align: center;
}

.df-success__head {
    margin-bottom: 0.5rem;
}

.df-success__head > p {
    margin-bottom: 0;
}

.df-rise {
    opacity: 0;
    animation: df-rise 0.55s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    animation-delay: calc(var(--df-delay, 0) * 0.08s);
}

.df-result-report {
    margin-top: 1rem;
    text-align: left;
}

.df-result-hero {
    text-align: center;
    margin-bottom: 1.25rem;
    padding: 1.35rem 1rem;
    border-radius: 20px;
    background: linear-gradient(160deg, rgba(89, 0, 255, 0.12), rgba(255, 255, 255, 0.03));
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.22);
}

.df-result-hero__eyebrow {
    margin: 0 0 0.5rem;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--df-muted);
}

.df-result-score {
    font-size: clamp(2.5rem, 8vw, 3.5rem);
    font-weight: 800;
    line-height: 1;
    color: var(--df-mint);
    animation: df-score-glow 3s ease-in-out infinite;
}

.df-result-hero__meta {
    margin: 0.75rem 0 0;
    color: var(--df-muted);
    font-size: 0.92rem;
}

.df-result-section {
    margin-bottom: 1.25rem;
}

.df-result-section h2 {
    font-size: 1rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 0.45rem;
}

.df-result-section__lead {
    margin: 0 0 0.75rem;
    color: var(--df-muted);
    font-size: 0.88rem;
    line-height: 1.5;
}

.df-result-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.df-result-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.45rem 0.75rem;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 600;
    color: #ffd27a;
    background: rgba(255, 210, 122, 0.1);
    border: 1px solid rgba(255, 210, 122, 0.22);
}

.df-result-chip__icon {
    width: 0.95rem;
    height: 0.95rem;
    flex-shrink: 0;
}

.df-result-win {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.9rem 1rem;
    border-radius: 16px;
    background: rgba(36, 255, 171, 0.08);
    border: 1px solid rgba(36, 255, 171, 0.2);
}

.df-result-win__icon {
    width: 1.5rem;
    height: 1.5rem;
    color: var(--df-mint);
    flex-shrink: 0;
}

.df-result-win p {
    margin: 0;
    color: var(--df-muted);
    font-size: 0.9rem;
}

.df-result-tiles {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.6rem;
}

.df-result-tile {
    padding: 0.8rem 0.75rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.04);
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.df-result-tile:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.16);
}

.df-result-tile__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    margin-bottom: 0.45rem;
    border-radius: 10px;
    color: #fff;
}

.df-result-tile__icon svg {
    width: 1.1rem;
    height: 1.1rem;
}

.df-result-tile--purple .df-result-tile__icon {
    background: linear-gradient(145deg, rgba(89, 0, 255, 0.55), rgba(124, 61, 255, 0.3));
}

.df-result-tile--blue .df-result-tile__icon {
    background: linear-gradient(145deg, rgba(26, 111, 255, 0.5), rgba(89, 0, 255, 0.25));
}

.df-result-tile--mint .df-result-tile__icon {
    background: linear-gradient(145deg, rgba(36, 255, 171, 0.35), rgba(26, 111, 255, 0.2));
}

.df-result-tile--violet .df-result-tile__icon {
    background: linear-gradient(145deg, rgba(168, 85, 247, 0.45), rgba(89, 0, 255, 0.25));
}

.df-result-tile__label {
    display: block;
    font-size: 0.84rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.3;
}

.df-result-tile__hint {
    display: block;
    margin-top: 0.15rem;
    font-size: 0.72rem;
    color: var(--df-muted);
    line-height: 1.35;
}

.df-result-cta {
    margin: 1.35rem 0 1.5rem;
    padding: 1.1rem;
    border-radius: 20px;
    text-align: center;
    background: linear-gradient(145deg, rgba(89, 0, 255, 0.18), rgba(36, 255, 171, 0.06));
    border: 1px solid rgba(124, 61, 255, 0.35);
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.28);
}

.df-result-cta__text {
    margin: 0 0 1rem;
    color: var(--df-muted);
    font-size: 0.9rem;
    line-height: 1.55;
}

.df-result-cta__text strong {
    color: #fff;
}

.df-result-cta__btn {
    position: relative;
    display: inline-flex;
    overflow: hidden;
    border-radius: 14px;
    text-decoration: none;
    color: #fff !important;
    transition: transform 0.2s ease;
}

.df-result-cta__btn:hover {
    transform: translateY(-2px);
    color: #fff !important;
}

.df-result-cta__btn-glow {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        105deg,
        transparent 30%,
        rgba(255, 255, 255, 0.22) 50%,
        transparent 70%
    );
    animation: df-cta-shine 4s ease-in-out infinite;
}

.df-result-cta__btn-inner {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    min-width: min(100%, 20rem);
    padding: 0.85rem 1.35rem;
    font-weight: 800;
    font-size: 0.95rem;
    background: linear-gradient(135deg, var(--df-purple-light), var(--df-purple));
    border-radius: 14px;
    box-shadow: 0 8px 24px rgba(89, 0, 255, 0.35);
}

.df-result-cta__btn-icon {
    width: 1.15rem;
    height: 1.15rem;
}

.df-result-correction h2 {
    margin-bottom: 0.85rem;
    padding-top: 0.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.df-result-footer {
    text-align: center;
    margin: 1.5rem 0 0.5rem;
}

.df-result-footer__link {
    color: var(--df-muted);
    font-size: 0.88rem;
    text-decoration: none;
    transition: color 0.15s ease;
}

.df-result-footer__link:hover {
    color: #fff;
}

.df-result-list {
    margin: 0;
    padding-left: 1.1rem;
    color: var(--df-muted);
}

.df-result-list li + li {
    margin-top: 0.45rem;
}

.df-result-card {
    padding: 1rem;
    margin-bottom: 0.85rem;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.df-result-card__head {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin-bottom: 0.75rem;
}

.df-result-card__question {
    margin-bottom: 0.85rem;
    color: #fff;
    line-height: 1.55;
}

.df-result-card__answer,
.df-result-card__correct {
    margin: 0;
    color: var(--df-muted);
    line-height: 1.5;
}

.df-result-card__correct {
    margin-top: 0.45rem;
    color: var(--df-mint);
}

.df-result-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
}

.df-result-badge--muted {
    color: #d5d9ef;
    background: rgba(255, 255, 255, 0.08);
}

.df-result-badge--ok {
    color: #8ff0c8;
    background: rgba(36, 255, 171, 0.12);
}

.df-result-badge--bad {
    color: #ffb4b4;
    background: rgba(255, 107, 107, 0.14);
}

.df-result-badge--warn {
    color: #ffd27a;
    background: rgba(255, 210, 122, 0.14);
}

.df-success__icon {
    width: 4.5rem;
    height: 4.5rem;
    margin: 0 auto 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--df-mint-dim);
    color: var(--df-mint);
}

.df-success__icon svg {
    width: 2.25rem;
    height: 2.25rem;
}

.df-success h1 {
    font-size: clamp(1.5rem, 4vw, 2rem);
    font-weight: 800;
    color: #fff;
    margin-bottom: 0.75rem;
}

.df-success p {
    color: var(--df-muted);
    line-height: 1.65;
    margin-bottom: 1.25rem;
}

.df-success__actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

@media (min-width: 480px) {
    .df-success__actions {
        flex-direction: row;
        justify-content: center;
        flex-wrap: wrap;
    }

    .df-success__actions .df-btn {
        width: auto;
        min-width: 200px;
    }
}

@media (max-width: 575.98px) {
    .df-topbar__name { display: none; }
    .df-card__body { padding: 1.25rem 1rem; }
}
