/* ── Dictio Psychology Quiz — Stylesheet v1.2 ── */

:root {
    --dq-color:       #7a4a6a;
    --dq-color-light: #ddc8d8;
}

/* ── Wrapper ── */
.dq-wrap {
    max-width: 640px;
    margin: 0 auto;
    padding: 3rem 1.25rem 6rem;
    font-family: 'DM Sans', sans-serif;
    color: #111;
}

/* ── Cover ── */
.dq-cover {
    border-top: 3px solid var(--dq-color);
    padding-top: 1.25rem;
}
.dq-cover-top {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 1.25rem;
}
.dq-cover-section {
    font-size: 10px;
    letter-spacing: .2em;
    font-weight: 500;
    color: var(--dq-color);
    text-transform: uppercase;
    text-decoration: none;
    transition: opacity .15s;
}
.dq-cover-section:hover { opacity: .7; }
.dq-cover-issue {
    font-size: 10px;
    letter-spacing: .1em;
    color: #bbb;
    font-weight: 300;
}
.dq-cover-h {
    font-family: 'DM Serif Display', serif;
    font-size: 48px;
    line-height: 1.05;
    color: #111;
    margin-bottom: 1.25rem;
    letter-spacing: -.5px;
}
.dq-cover-h em {
    font-style: italic;
    color: var(--dq-color);
}
.dq-cover-deck {
    display: grid;
    grid-template-columns: auto 2px 1fr;
    gap: 0 1.25rem;
    align-items: start;
}
.dq-cover-stat {
    text-align: right;
}
.dq-cover-stat-l {
    font-size: 9px;
    letter-spacing: .14em;
    color: #999;
    text-transform: uppercase;
    font-weight: 400;
    margin-bottom: 4px;
}
.dq-cover-stat-n {
    font-family: 'DM Serif Display', serif;
    font-size: 52px;
    line-height: .9;
    color: #111;
    letter-spacing: -1px;
}
.dq-cover-stat-from {
    font-size: 9px;
    letter-spacing: .08em;
    color: #bbb;
    font-weight: 300;
    margin-top: 5px;
}
.dq-cover-rule {
    background: var(--dq-color-light);
    width: 2px;
    align-self: stretch;
}
.dq-cover-sub {
    font-size: 13px;
    color: #555;
    line-height: 1.75;
    font-weight: 300;
    padding-top: 4px;
}
.dq-tags {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    margin-top: 1.25rem;
}
.dq-tag {
    font-size: 9px;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--dq-color);
    border: 0.5px solid var(--dq-color-light);
    padding: 3px 8px;
    font-weight: 400;
    text-decoration: none;
    transition: all .15s;
}
.dq-tag:hover {
    background: var(--dq-color-light);
    color: var(--dq-color);
}

/* ── Love button ── */
.dq-cover-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 1.25rem;
}
.dq-love {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: none;
    border: none;
    padding: 0;
    color: #bbb;
    font-family: 'DM Sans', sans-serif;
    font-size: 13px;
    letter-spacing: .06em;
    cursor: pointer;
    transition: all .18s;
    flex-shrink: 0;
}
.dq-love svg {
    fill: none;
    stroke: #bbb;
    stroke-width: 1.5;
    transition: all .18s;
    width: 16px;
    height: 16px;
}
.dq-love:hover { color: var(--dq-color); }
.dq-love:hover svg { stroke: var(--dq-color); }
.dq-love.dq-loved { color: var(--dq-color); }
.dq-love.dq-loved svg { fill: var(--dq-color); stroke: var(--dq-color); }
.dq-love:disabled { cursor: default; opacity: .6; }

/* ── Garis pembatas header dan pertanyaan ── */
.dq-prog-strip {
    border-top: 3px solid var(--dq-color);
    margin-top: 1.75rem;
    margin-bottom: 2rem;
}
.dq-prog-track { display: none; }
.dq-prog-n     { display: none; }

/* ── Pertanyaan ── */
.dq-qc {
    position: relative;
    border-top: 0.5px solid var(--dq-color-light);
    padding: 2rem 0;
    overflow: hidden;
}

/* Angka watermark dekoratif */
.dq-watermark {
    position: absolute;
    top: -10px;
    right: -4px;
    font-family: 'Playfair Display', 'DM Serif Display', serif;
    font-size: 110px;
    font-weight: 900;
    color: var(--dq-color);
    opacity: .08;
    line-height: 1;
    pointer-events: none;
    user-select: none;
    z-index: 0;
}
.dq-q-text {
    font-family: 'DM Serif Display', serif;
    font-size: 20px;
    line-height: 1.35;
    color: #111;
    margin-bottom: 1.25rem;
    position: relative;
    z-index: 1;
}
.dq-choices {
    display: flex;
    gap: 8px;
    position: relative;
    z-index: 1;
}
.dq-cb {
    border: 1px solid var(--dq-color-light);
    border-radius: 6px;
    padding: 9px 22px;
    font-family: 'DM Sans', sans-serif;
    font-size: 11px;
    letter-spacing: .14em;
    font-weight: 500;
    text-transform: uppercase;
    color: #888;
    background: none;
    cursor: pointer;
    transition: all .18s;
}
.dq-cb:hover:not(:disabled) {
    border-color: var(--dq-color);
    color: var(--dq-color);
}
.dq-cb:disabled { cursor: default; }
.dq-cb.dq-ok  { border-color: transparent; background: #1a4731; color: #b7f4d1; }
.dq-cb.dq-no  { border-color: transparent; background: #4a1010; color: #f9c0c0; }
.dq-cb.dq-rv  { border-color: transparent; background: #1a4731; color: #b7f4d1; }

/* ── Penjelasan — ide baru dengan background tint ── */
.dq-ex {
    display: none;
    margin-top: 1.25rem;
    position: relative;
    z-index: 1;
}
.dq-ex.dq-show {
    display: block;
}
.dq-ex-inner {
    padding: 14px 16px;
    border-radius: 4px;
}
.dq-ex.dq-ok .dq-ex-inner { background: #f0f9f4; }
.dq-ex.dq-no .dq-ex-inner { background: #fdf2f2; }
.dq-ex-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
}
.dq-ex-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    flex-shrink: 0;
}
.dq-ex.dq-ok .dq-ex-dot { background: #1a6b40; }
.dq-ex.dq-no .dq-ex-dot { background: #9b2020; }
.dq-ex-verdict {
    font-size: 10px;
    letter-spacing: .14em;
    text-transform: uppercase;
    font-weight: 500;
}
.dq-ex.dq-ok .dq-ex-verdict { color: #1a6b40; }
.dq-ex.dq-no .dq-ex-verdict { color: #9b2020; }
.dq-ex-text {
    font-size: 12px;
    line-height: 1.85;
    color: #444;
    font-weight: 300;
}
.dq-ex-text em { font-style: italic; color: #111; font-weight: 400; }
.dq-ex-ref {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 0.5px solid rgba(0,0,0,.06);
    font-size: 10px;
    line-height: 1.6;
    color: #999;
    font-weight: 300;
    letter-spacing: .02em;
    font-style: italic;
    display: flex;
    align-items: flex-start;
    gap: 7px;
}
.dq-ex-ref-icon {
    stroke: var(--dq-color);
    opacity: .5;
    flex-shrink: 0;
    margin-top: 2px;
}

/* ── Hasil ── */
.dq-result {
    display: none;
    margin-top: 3rem;
    border-top: 3px solid var(--dq-color);
    padding-top: 2rem;
}
.dq-result.dq-show { display: block; }
.dq-res-kicker {
    font-size: 10px;
    letter-spacing: .2em;
    color: var(--dq-color);
    text-transform: uppercase;
    font-weight: 500;
    margin-bottom: .75rem;
}
.dq-res-h {
    font-family: 'DM Serif Display', serif;
    font-size: 36px;
    line-height: 1.1;
    color: #111;
    margin-bottom: 2rem;
}
.dq-res-h em { font-style: italic; color: var(--dq-color); }

/* Ring score */
.dq-res-score-row {
    display: grid;
    grid-template-columns: auto 1px 1fr;
    gap: 0 1.5rem;
    align-items: center;
    margin-bottom: 2rem;
}
.dq-res-ring {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    background-image:
        radial-gradient(closest-side, #fff 80%, transparent 80% 100%),
        conic-gradient(var(--dq-color) var(--rp, 0%), var(--dq-color-light) 0);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: all .7s ease;
}
.dq-res-ring-n {
    font-family: 'DM Serif Display', serif;
    font-size: 34px;
    color: #111;
    line-height: 1;
    letter-spacing: -1px;
}
.dq-res-ring-l {
    font-size: 8px;
    letter-spacing: .12em;
    color: #999;
    text-transform: uppercase;
    margin-top: 2px;
    font-weight: 400;
}
.dq-res-vr { background: var(--dq-color-light); align-self: stretch; }
.dq-res-score-txt {
    font-size: 13px;
    color: #555;
    font-weight: 300;
    line-height: 1.7;
    margin-bottom: .75rem;
}
.dq-res-score-txt b { color: #111; font-weight: 500; }

/* Level pills */
.dq-lvls {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4px;
}
.dq-lv {
    border: 0.5px solid var(--dq-color-light);
    padding: 7px 5px;
    text-align: center;
    transition: all .2s;
    border-radius: 4px;
}
.dq-lv.dq-on {
    background: var(--dq-color);
    border-color: var(--dq-color);
}
.dq-lv-d {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--dq-color-light);
    margin: 0 auto 4px;
    transition: all .2s;
}
.dq-lv.dq-on .dq-lv-d { background: #fff; opacity: .7; }
.dq-lv-n {
    font-size: 8px;
    font-weight: 500;
    color: #555;
    line-height: 1.3;
    transition: all .2s;
}
.dq-lv.dq-on .dq-lv-n { color: #fff; }
.dq-lv-r {
    font-size: 8px;
    color: #bbb;
    margin-top: 1px;
    font-weight: 300;
    transition: all .2s;
}
.dq-lv.dq-on .dq-lv-r { color: rgba(255,255,255,.6); }

/* Percentile */
.dq-percentile {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 1.25rem 0;
    padding: 12px 0;
    border-top: 0.5px solid var(--dq-color-light);
    border-bottom: 0.5px solid var(--dq-color-light);
}
.dq-pct-bar-wrap {
    flex: 1;
    height: 1.5px;
    background: var(--dq-color-light);
    overflow: hidden;
}
.dq-pct-bar {
    height: 100%;
    background: var(--dq-color);
    border-radius: 99px;
    transition: width .8s ease;
    width: 0%;
}
.dq-pct-txt {
    font-size: 11px;
    letter-spacing: .06em;
    color: #555;
    white-space: nowrap;
    font-weight: 300;
}
.dq-pct-txt strong { color: #111; font-weight: 500; }

/* Analisis profil — card premium */
.dq-res-analysis {
    margin-top: 2rem;
    background: #faf6f8;
    border: 0.5px solid var(--dq-color-light);
    border-radius: 8px;
    padding: 16px;
    position: relative;
    overflow: hidden;
    display: flex;
    gap: 0;
}
.dq-res-a-accent {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--dq-color);
}
.dq-res-a-inner {
    padding-left: 14px;
    flex: 1;
}
.dq-res-a-kicker {
    font-size: 9px;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: #999;
    font-weight: 500;
    margin-bottom: .5rem;
}
.dq-res-a-level {
    font-family: 'DM Serif Display', serif;
    font-size: 22px;
    color: #111;
    margin-bottom: .75rem;
    line-height: 1.2;
}
.dq-res-a-desc {
    font-size: 12px;
    line-height: 1.8;
    color: #555;
    font-weight: 300;
    margin-bottom: 1rem;
}
.dq-res-a-divider {
    height: 0.5px;
    background: var(--dq-color-light);
    margin-bottom: 1rem;
}
.dq-res-a-key-l {
    font-size: 9px;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: #999;
    font-weight: 500;
    margin-bottom: .5rem;
}
.dq-res-a-key-t {
    font-family: 'DM Serif Display', serif;
    font-style: italic;
    font-size: 14px;
    line-height: 1.55;
    color: #111;
}

/* CTA buttons — 2 baris */
.dq-res-cta {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 0.5px solid var(--dq-color-light);
    display: grid;
    grid-template-columns: 1fr auto auto;
    gap: 7px;
}
.dq-cta-full {
    grid-column: 1 / -1;
}
.dq-bwa {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #c8e6c9;
    color: #2e7d32;
    padding: 11px 20px;
    border: 1px solid #a5d6a7;
    font-family: 'DM Sans', sans-serif;
    font-size: 11px;
    letter-spacing: .1em;
    text-transform: uppercase;
    font-weight: 500;
    cursor: pointer;
    transition: all .18s;
    border-radius: 8px;
    text-decoration: none;
}
.dq-bwa:hover { background: #b9deba; border-color: #81c784; color: #1b5e20; }
.dq-bwa svg  { width: 15px; height: 15px; fill: #2e7d32; flex-shrink: 0; }
.dq-bshare {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    background: var(--dq-color-light);
    color: var(--dq-color);
    padding: 11px 20px;
    border: 1px solid var(--dq-color);
    font-family: 'DM Sans', sans-serif;
    font-size: 11px;
    letter-spacing: .1em;
    text-transform: uppercase;
    font-weight: 500;
    cursor: pointer;
    transition: all .18s;
    border-radius: 8px;
}
.dq-bshare:hover { background: var(--dq-color); color: #fff; }
.dq-blove {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: #fce4ec;
    border: 1px solid #f8bbd0;
    padding: 11px 20px;
    font-family: 'DM Sans', sans-serif;
    font-size: 11px;
    letter-spacing: .1em;
    text-transform: uppercase;
    font-weight: 500;
    color: #c2185b;
    cursor: pointer;
    transition: all .18s;
    border-radius: 8px;
}
.dq-blove svg {
    fill: none;
    stroke: #c2185b;
    stroke-width: 1.5;
    transition: all .18s;
}
.dq-blove:hover,
.dq-blove.dq-loved {
    background: var(--dq-color);
    border-color: var(--dq-color);
    color: #fff;
}
.dq-blove.dq-loved svg,
.dq-blove:hover svg {
    fill: #fff;
    stroke: #fff;
}
.dq-blove:disabled { cursor: default; opacity: .7; }
.dq-brt {
    background: #fce4ec;
    border: 1px solid #f8bbd0;
    padding: 11px 20px;
    font-family: 'DM Sans', sans-serif;
    font-size: 11px;
    letter-spacing: .1em;
    text-transform: uppercase;
    font-weight: 500;
    color: #c2185b;
    cursor: pointer;
    transition: all .18s;
    border-radius: 8px;
}
.dq-brt:hover { background: #f8d0df; color: #880e4f; }

/* ── Responsive ── */
@media (max-width: 480px) {
    .dq-cover-h       { font-size: 34px; }
    .dq-cover-deck    { grid-template-columns: auto 2px 1fr; gap: 0 1rem; }
    .dq-cover-stat-n  { font-size: 36px; }
    .dq-cover-rule    { display: block; }
    .dq-watermark     { font-size: 90px; }
    .dq-q-text        { font-size: 17px; }
    .dq-res-score-row { grid-template-columns: 1fr; gap: 1.25rem 0; }
    .dq-res-vr        { display: none; }
    .dq-lvls          { grid-template-columns: repeat(2, 1fr); }
    .dq-choices       { flex-direction: column; }
    .dq-cb            { width: 100%; }
    .dq-res-cta       { grid-template-columns: 1fr 1fr; gap: 6px; }
    .dq-bwa, .dq-bshare, .dq-blove, .dq-brt {
        padding: 10px 12px;
        font-size: 10px;
    }
}
