/* ========== RESET & THEME ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg: #f0f0f0;
    --surface: #fff;
    --text: #111;
    --muted: #6b7280;
    /* --primary: #ed254e; */
    --primary: #fa0032;
    --primary-600: #930000;
    --border: #e5e7eb;
    --radius: 12px;
    --shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
    font-synthesis-weight: none;
    --icon-unchecked: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 -960 960 960"><path d="M200-120q-33 0-56.5-23.5T120-200v-560q0-33 23.5-56.5T200-840h560q33 0 56.5 23.5T840-760v560q0 33-23.5 56.5T760-120H200Zm0-80h560v-560H200v560Z" fill="%23e3e3e3"/></svg>');
    --icon-checked: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 -960 960 960"><path d="m424-312 282-282-56-56-226 226-114-114-56 56 170 170ZM200-120q-33 0-56.5-23.5T120-200v-560q0-33 23.5-56.5T200-840h560q33 0 56.5 23.5T840-760v560q0 33-23.5 56.5T760-120H200Zm0-80h560v-560H200v560Zm0-560v560-560Z" fill="%23e3e3e3"/></svg>');
}

html, body {
    height: 100%;
    max-height: 900px;
}

html {
    font-family:
        "Poppins",
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Roboto,
        Oxygen,
        Ubuntu,
        sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}
*, *::before, *::after {
    font-family: inherit;
}

button, input, select, textarea {
    font: inherit;
}

body {
    font-family:
        "Poppins",
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Roboto,
        Oxygen,
        Ubuntu,
        sans-serif;
    color: var(--text);
    padding: 10px;
}

/* ========== LAYOUT ========== */
.container {
    width: 100%;
    max-width: 640px;
    border-radius: 25px;
    box-shadow: var(--shadow);
    display: block;
    margin: 0 auto;
    background-color: white;
}
.hero {
    position: relative;
    width: 100%;
    height: 763px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: center;
    padding: 2em 1em 0.5em;
    border-radius: var(--radius);
    background: url("images/homekn.png") no-repeat;
    background-size: contain;
    background-position: center top;
}
.hero-title h1 {
    font-size: clamp(2rem, 6vw, 3.2rem);
    font-weight: 600;
    color: white;
    z-index: 5;
    position: relative;
    line-height: 0.9em;
    top: 20vh;
    width: 19ch;
    margin: 0 auto;
}
.hero-title p {
    color: white;
    margin-top: 2.5em;
    z-index: 55;
    position: relative;
    top: 50px;
    font-size: 1.1em;
    font-weight: 600;
}
.square {
    width: 640px;
    height: 870px;
    transition: transform 0.8s ease-in-out;
    position: absolute;
    left: 0%;
    top: 0%;
}
.square.red {
    background: var(--primary);
    z-index: 2;
    clip-path: polygon(
        100% 0%,
        20% 0%,
        0% 20%,
        0% 80%,
        20% 100%,
        100% 100%,
        100% 60%,
        90% 50%,
        100% 40%
    );
}
.square.blue {
    /* background: var(--primary); */
    background: var(--primary-600);
    transform: rotate(45deg) translateY(45%) translateX(45%);
    z-index: 1;
}
.small {
    display: block;
    font-size: 0.8em;
}
.big {
    font-size: 1.5em;
    font-weight: 700;
    line-height: 0.8em;
    letter-spacing: -3px;
}
.smally {
    font-weight: 300;
    font-size: 0.75em;
    line-height: 1em;
    display: block;
}
.hero-btn {
    position: relative;
    z-index: 2;
    font-size: 3rem;
    border: none;
    background: var(--primary);
    color: #fff;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.2s ease;
    bottom: 14vh;
    z-index: 99999;
    animation: pulse alternate infinite ease-in 1.8s;
    border-radius: 30px;
    padding: 0.2em 0.5em;
}
@keyframes pulse {
    from {
        transform: scale(0.7);
    }
    to {
        transform: scale(1);
    }
}
/* .hero-btn:hover {
    transform: scale(1.15);
} */
/* #heroStartBtn::before {
    content: "";
    width: 163px;
    height: 163px;
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(45deg);
    background-color: white;
    opacity: 0.4;
} */
#heroStartBtnDebug {
    position: absolute;
    top: 0;
    z-index: 5;
    margin: 10px auto;
    left: 50%;
    transform: translate(-50%);
    opacity: 0;
}
#heroStartBtn {
    position: absolute;
    top: 0;
    z-index: 5;
    margin: 10px auto;
    left: 50%;
    transform: translate(-50%);
    opacity: 0;
    width: 100%;
    height: 100%;
}
.hero-text {
    font-size: clamp(0.85em, 4vw, 1.25em);
    color: white;
    z-index: 5;
    position: relative;
    bottom: 15px;
}
.hero-text p {
    bottom: 15vh;
    position: relative;
    font-weight: 600;
}
.hero-text img {
    width: 150px;
}

/* Animations */
.hero.animate .square.red {
    transform: translateX(120vh); /*rotate(45deg)*/
}
.hero.animate .square.blue {
    transform: translateY(120vh); /* translateX(0%) rotate(45deg) */
}
.hero.animate .hero-title,
.hero.animate .hero-text {
    opacity: 0;
    transition: opacity 0.4s ease;
    color: white;
}
.expert img {
    display: block;
    margin: 1em auto 0;
    object-fit: cover;
    height: 170px;
    width: 170px;
    border-radius: 50%;
    object-position: 0 -24px;
}
.expert {
    display: flex;
    justify-content: center;
    gap: 2em;
}
.expert a {
    text-decoration: none;
}
.expert a:hover {
    text-decoration: underline 2px;
    color: var(--primary-600) !important;
}
#resultsSection .expert img {
    display: none;
    margin-top: 1em;
}
#resultsSection .expert {
    margin-top: 2em;
}
figcaption {
    line-height: 1.1em;
    text-align: center;
    color: var(--muted);
    margin-top: 10px;
    font-weight: 600;
    font-size: 1.1em;
}
figcaption span {
    font-size: 0.8em;
    font-weight: 300;
}
#authSection {
    padding-top: 0.1em;
}
#authSection,
.qualifio_iframe_wrapper {
    overflow: visible !important;
    height: auto !important;
    min-height: 600px; /* Ajuste selon ton besoin */
}
.qualifio_iframe_wrapper iframe {
    width: 100% !important;
    min-height: 600px !important;
    display: block !important;
    border: none;
}
.auth-section2 {
    padding-bottom: 1em;
    background: var(--bg);
    border-radius: var(--radius);
    margin: 1em;
    border: 1px solid var(--border);
}

.auth-section p {
    padding: 1em;
}

#quizSection, #resultsSection {
    padding: 1em;
}

/* Timer circulaire + libellé */
.timer {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 auto;
    max-width: max-content;
}
.timer-circle {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid var(--primary-600);
    background: conic-gradient(
        var(--primary) 360deg,
        #fff 0
    ); /* rempli au départ */
    transition: background 0.25s linear;
}
.timer-text {
    font-weight: 700;
    min-width: 120px;
    text-align: center;
}

/* ========== BUTTONS ========== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 999px;
    border: 0;
    cursor: pointer;
    font-weight: 600;
    transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
    margin: 2em auto 0;
    display: block;
    font-family:
        "Poppins",
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Roboto,
        Oxygen,
        Ubuntu,
        sans-serif;
}
.btn-primary {
    background: var(--primary);
    color: #fff;
    /*     box-shadow: 0 8px 18px rgba(237, 37, 78, 0.25); */
}
/* .btn-primary:hover:not(:disabled) {
    transform: translateY(-5px) scale(1.2);
    box-shadow: 0 3px 1px rgba(237, 37, 78, 0.5);
} */
.btn:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

#nextBtn {
    margin: 0 auto;
}
#nextBtn::after {
    content: "→";
    font-size: 2em;
    line-height: 0;
}

/* ========== QUIZ ========== */
.quiz-section {
    display: none;
}
.progress-bar {
    height: 8px;
    background: var(--border);
    border-radius: 999px;
    overflow: hidden;
    margin-bottom: 10px;
}
.progress-fill {
    height: 100%;
    width: 0;
    background: linear-gradient(
        135deg,
        var(--primary) 30%,
        var(--primary-600) 100%
    );
    transition: width 0.3s ease;
}

.question-card {
    padding: 24px;
    border-radius: var(--radius);
}
.question-title {
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 16px;
    letter-spacing: 0.2px;
}

/* ========== OPTIONS (QCM) ========== */
/* .options {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.option-label {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border-radius: var(--radius);
    background: #f1f2f4;
    border: 1px solid transparent;
    transition: background 0.15s ease, color 0.15s ease, transform 0.12s ease;
    cursor: pointer;
} */
.options {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
.options.has-images {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
    justify-items: center;
}
.option-label {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border-radius: var(--radius);
    background: #f1f2f4;
    border: 1px solid var(--border);
    transition: background 0.15s ease, color 0.15s ease, transform 0.12s ease;
    cursor: pointer;
    flex: 1 1 calc(50% - 12px);
    min-width: 300px;
}
.option-label.has-image {
    min-width: min-content;
    flex-direction: column;
}
.option-label.has-image img {
    transition: filter 0.2s ease;
}

.option-label.has-image:has(input[type="radio"]:checked) img {
    filter: brightness(0) invert(1);
}
/* .option-label:hover {
    transform: scale(1.015);
    box-shadow: 0 2px 1px rgba(0, 0, 0, 0.3);
} */
.option-label input[type="radio"] {
    width: 20px;
    height: 20px;
    accent-color: var(--primary-600);
    border: 0px solid var(--primary-600);
}

.option-label:has(input[type="radio"]:checked),
.option-label.is-selected {
    background: var(--primary);
    color: #fff;
    border: 1px solid var(--primary-600);
}

/* ========== FIND-LETTER ========== */
.letter-sequence {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    font-size: 2rem;
    user-select: none;
}
.letter-sequence span {
    min-width: 48px;
    flex: 1 1 calc(33% - 12px);
    padding: 10px 12px;
    text-align: center;
    background: #f1f2f4;
    border-radius: var(--radius);
    transition: transform 0.12s ease, background 0.12s ease, color 0.12s ease;
    border: 1px solid var(--border);
}
/* .letter-sequence span:hover {
    transform: scale(1.06);
    box-shadow: 0 2px 1px rgba(0, 0, 0, 0.3);
} */
.letter-sequence span.selected,
.letter-sequence span.is-selected {
    background: var(--primary);
    color: #fff;
    border: 1px solid var(--primary-600);
}

/* ========== RECALL (PILLS) ========== */
.read-text {
    font-size: 1.1em;
    background: var(--bg);
    border: 1px solid var(--border);
    padding: 1em;
    border-radius: var(--radius);
}

.memorize-list {
    font-size: 1.6em;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2em;
    margin: 0 auto;
    width: 100%;
    background: var(--bg);
    padding: 1em;
    border-radius: var(--radius);
    border: 1px solid var(--border);
}

.pill-group {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.pill {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1 1 calc(50% - 12px);
    min-height: 52px;
    padding: 12px 16px;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: #f1f2f4;
    font-weight: inherit;
    cursor: pointer;
    transition:
        transform 0.12s ease,
        background 0.15s ease,
        color 0.15s ease,
        box-shadow 0.15s ease;
}
/* .pill:hover {
    transform: scale(1.02);
    box-shadow: 0 2px 1px rgba(0, 0, 0, 0.3);
} */

.pill input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    inset: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}
.pill:has(input[type="checkbox"]:focus-visible) {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

.pill-icon {
    width: 24px;
    height: 24px;
    flex: 0 0 24px;
    background: currentColor;
    -webkit-mask: var(--icon-unchecked) no-repeat center / contain;
    mask: var(--icon-unchecked) no-repeat center / contain;
}
.pill:has(input[type="checkbox"]:checked) .pill-icon {
    -webkit-mask: var(--icon-checked) no-repeat center / contain;
    mask: var(--icon-checked) no-repeat center / contain;
}

.pill-text {
    line-height: 1;
}

.pill:has(input[type="checkbox"]:checked) {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary-600);
}

/* ========== SLIDER ========== */
input[type="range"] {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 6px;
    background: #e5e7eb;
    border-radius: 999px;
    outline: none;
}
input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: var(--primary);
    border: 3px solid #fff;
    box-shadow: 0 0px 8px rgb(237, 37, 78, 0.5);
    cursor: pointer;
}
input[type="range"]::-moz-range-thumb {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: var(--primary);
    border: 3px solid #fff;
    box-shadow: 0 0px 8px rgb(237, 37, 78, 0.5);
    cursor: pointer;
}

.range-wrap {
    position: relative;
    width: 90%;
    margin: 2em auto;
}
.range-wrap::before {
    content: "◄ Gedegradeerd";
    position: absolute;
    top: 35px;
    font-weight: 200;
}
.range-wrap::after {
    content: "Uitstekend ►";
    position: absolute;
    top: 35px;
    right: 0;
    font-weight: 200;
}
.range-value {
    position: absolute;
    top: 60%;
    transform: translate(-50%, -50%);
    color: #fff;
    font-weight: 700;
    pointer-events: none;
    z-index: 3;
}

.range-wrap input[type="range"] {
    --thumb-size: 40px;
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 8px;
    background: #e5e7eb;
    border-radius: 999px;
    outline: none;
}
.range-wrap input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: var(--thumb-size);
    height: var(--thumb-size);
    border-radius: 50%;
    background: var(--primary);
    border: 3px solid #fff;
    box-shadow: 0 0 8px rgba(237, 37, 78, 0.5);
    cursor: pointer;
    position: relative;
    z-index: 2;
}
.range-wrap input[type="range"]::-moz-range-thumb {
    width: var(--thumb-size);
    height: var(--thumb-size);
    border-radius: 50%;
    background: var(--primary);
    border: 3px solid #fff;
    box-shadow: 0 0 8px rgba(237, 37, 78, 0.5);
    cursor: pointer;
    position: relative;
    z-index: 2;
}

/* ========== SUITE ========== */

.suite-pool, .suite-slots {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin: 16px 0;
    height: 70px;
}
.suite-item {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    background: #f1f2f4;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    cursor: grab;
    transition: transform 0.2s ease, background 0.2s ease;
    border: 1px solid var(--border);
    font-size: 1.5em;
}
.suite-item.dragging {
    opacity: 1;
}
.suite-item.is-selected {
    outline: 3px solid var(--primary);
    background: #fee2e2;
}
.suite-item.drop-anim {
    animation: dropAnim 0.25s ease-out;
}
@keyframes dropAnim {
    from {
        transform: scale(0.5);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}
.suite-item.eject-anim {
    animation: ejectAnim 0.25s ease-in;
}
@keyframes ejectAnim {
    from {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
    to {
        transform: translateY(-40px) scale(0.5);
        opacity: 0;
    }
}
.suite-slot {
    width: 68px;
    height: 68px;
    border: 2px dashed var(--border);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.suite-slot.dragover {
    background: #cee6fd;
    border-color: #6cb4f8;
}
.suite-pool, .suite-slots, .suite-item {
    touch-action: none;
}
.suite-item {
    -webkit-user-select: none;
    user-select: none;
    -webkit-user-drag: none;
}

.is-dragging {
    opacity: 0.9;
    transform: scale(1.05);
    z-index: 50;
}
.is-chosen {
    opacity: 0.95;
}

/* ------ TEXTE TO FILL ------ */

.text-input {
    width: 100%;
    padding: 12px 14px;
    font-size: 1rem;
    border: 2px solid var(--border);
    border-radius: 8px;
    outline: none;
    transition: border-color 0.2s;
}
.text-input:focus {
    border-color: var(--primary);
}

/* ------ ARROW ------ */
.upsidedown-arrow {
    font-size: 3rem;
    text-align: center;
    margin: 20px 0;
    min-height: 60px;
}

.upsidedown-controls {
    display: flex;
    justify-content: center;
    gap: 20px;
}
.arrow-icon {
    background: var(--bg);
    border: 1px solid var(--border);
    width: 2em;
    border-radius: var(--radius);
    margin: 1em auto;
}

.arrow-btn {
    font-size: 3rem;
    border: none;
    background: var(--primary);
    color: #fff;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.2s ease;
    min-height: 60px;
    width: 2em;
}
/* .arrow-btn:hover {
    transform: scale(1.1);
    background: var(--primary-600);
} */

.fade-in {
    animation: fadeIn 0.5s forwards;
}
.fade-out {
    animation: fadeOut 0.1s forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.7);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}
@keyframes fadeOut {
    from {
        opacity: 1;
        transform: scale(1);
    }
    to {
        opacity: 0;
        transform: scale(0.5);
    }
}

/* ------- DISTRACTION ------- */
.prospective-grid {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin: 12px 0;
}
.prospective-btn {
    padding: 12px 20px;
    font-size: 1.6rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: #f1f2f4;
    cursor: pointer;
    transition: transform 0.12s ease;
}
/* .prospective-btn:hover {
    transform: scale(1.05);
} */
.prospective-seq {
    margin: 10px 0;
    padding: 8px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    min-height: 24px;
    text-align: center;
    font-weight: 600;
    font-size: 2em;
}
.prospective-seq::before {
    content: "Uw antwoord";
    position: relative;
    display: block;
    font-weight: 400;
    font-size: 0.5em;
}

.prospective-distract {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.prospective-distract p {
    margin-bottom: 1em;
    font-weight: 600;
}

.prospective-anim {
    display: flex;
    justify-content: space-around;
    align-items: center;
    width: 200px;
    height: 120px;
    background: var(--bg);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}

.spotdiff-wrap {
    position: relative;
    display: inline-block;
}

.spotdiff-img {
    display: block;
    max-width: 100%;
    border-radius: var(--radius);
    opacity: 1;
    transition: opacity 0.8s ease;
}

.spotdiff-img.fade-out {
    opacity: 0;
}
.spotdiff-img.fade-in {
    opacity: 1;
}

.spotdiff-canvas {
    position: absolute;
    top: 0;
    left: 0;
    cursor: crosshair;
}

.ball {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    position: relative;
    animation: bounce 2s ease-in-out infinite;
}

.ball.red {
    background: var(--primary);
    animation-delay: 0s;
}

.ball.blue {
    background: #011936;
    animation-delay: 0.5s;
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(40px);
    }
    15% {
        transform: translateX(-30px);
    }
    30% {
        transform: translateY(-40px) translateX(30px);
    }
    45% {
        transform: translateY(-10px) translateX(5px);
    }
    60% {
        transform: translateX(30px);
    }
    75% {
        transform: translateY(10px) translateX(25px);
    }
    90% {
        transform: translateY(-20px) translateX(3px);
    }
}

/* ========== NAV / RESULTS ========== */
.nav-buttons {
    display: flex;
    justify-content: flex-end;
    align-items: baseline;
}
.results-section {
    display: none;
    text-align: center;
}
.results-section h2 {
    font-size: 1.6rem;
    margin-bottom: 10px;
}
.score-display {
    font-size: 2.2rem;
    font-weight: 800;
    margin: 0 0 10px;
}
#scoreMessage {
    font-size: 1rem;
    color: #222;
    background: #f6f7f9;
    padding: 12px 16px;
    border-radius: var(--radius);
    text-align: justify;
    border: 1px solid var(--border);
}
#thanking {
    background: var(--primary);
    color: white;
    padding: 1em;
    text-align: left;
    border-radius: var(--radius);
    margin-top: 1em;
}
.thanks {
    font-size: 1.2em;
    margin-bottom: 1em;
    font-weight: bold;
}
/* ==== RESULT BAR ==== */
.result-wrap {
    margin: 0;
}
.result-meter {
    position: relative;
    height: 10px;
    border-radius: 999px;
    display: flex;
    background: #eee;
    top: 25px;
    width: 95%;
    margin: 0 auto;
}
.result-meter::before {
    content: "◄ Geruststellend";
    position: absolute;
    top: -25px;
    font-size: 0.35em;
    font-weight: 200;
}
.result-meter::after {
    content: "In de gaten houden ►";
    position: absolute;
    top: -25px;
    font-size: 0.35em;
    font-weight: 200;
    right: 0px;
}
.result-seg {
    flex: 1;
}
.result-seg.green {
    background: #00983d;
    border-radius: 50px 0 0 50px;
}
.result-seg.yellow {
    background: #f8d933;
}

.result-seg.orange {
    background: #f59e0b;
}
.result-seg.red {
    background: var(--primary);
    border-radius: 0 50px 50px 0;
}

.result-marker {
    position: absolute;
    left: 0;
    top: -6px;
    transform: translateX(-50%);
    width: 22px;
    height: 22px;
    background: #111;
    border: 2px solid var(--border);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}
.result-marker::before {
    content: "∙";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    filter: drop-shadow(0px 0px 2px black);
}
.result-marker.green {
    background: #00983d;
}
.result-marker.orange {
    background: #f59e0b;
}
.result-marker.red {
    background: var(--primary);
}

.result-legend {
    margin-top: 40px;
    font-weight: 500;
    text-align: center;
    font-size: 0.8em;
}

/* ========== UTILS ========== */
.hidden {
    display: none !important;
}

/* ========== RESPONSIVE ========== */

@media (hover: hover) and (pointer: fine) {
    .hero-btn:hover {
        transform: scale(1.15);
    }
    .btn-primary:hover:not(:disabled) {
        transform: translateY(-5px) scale(1.2);
        box-shadow: 0 3px 1px rgba(237, 37, 78, 0.5);
    }
    .option-label:hover {
        transform: scale(1.015);
        box-shadow: 0 2px 1px rgba(0, 0, 0, 0.3);
    }
    .letter-sequence span:hover {
        transform: scale(1.06);
        box-shadow: 0 2px 1px rgba(0, 0, 0, 0.3);
    }
    .pill:hover {
        transform: scale(1.02);
        box-shadow: 0 2px 1px rgba(0, 0, 0, 0.3);
    }
    .arrow-btn:hover {
        transform: scale(1.1);
        background: var(--primary-600);
    }
    .prospective-btn:hover {
        transform: scale(1.05);
    }
}

@media (max-width: 500px) {
    button:focus,
    .btn:focus,
    input:focus,
    .option-label:focus {
        outline: none;
    }
    input,
    textarea,
    button,
    select,
    a {
        -webkit-tap-highlight-color: transparent;
    }
    body {
        padding: 0px;
        background: white;
    }
    .question-card {
        padding: 10px;
    }
    .question-title {
        font-size: 1.05rem;
    }
    .letter-sequence {
        font-size: 1.7rem;
        gap: 8px;
    }

    .pill {
        flex: 1 1 100%;
    }
    .container {
        width: 100%;
        max-width: none;
        background: transparent;
        border-radius: 0;
        box-shadow: none;
        padding: 0;
        display: block;
        margin: 0 auto;
    }
    .hero {
        height: 100dvh;
        border-radius: 0;
    }
    .hero-btn {
        font-size: 2.1rem;
        border-radius: var(--radius);
        top: -85%;
    }
    .hero-title h1 {
        font-size: clamp(1.9rem, 5vw, 3rem);
    }
    .square {
        width: 100dvw;
        height: 100dvh;
        transition: transform 0.8s ease-in-out;
        position: absolute;
        left: 0%;
        top: 0%;
    }
    .square.blue {
        transform: rotate(45deg) translateY(45%) translateX(45%);
    }
    .memorize-list {
        font-size: 1.3em;
        gap: 1.4em;
    }
    #quizSection, #resultsSection {
        padding: 5px 5px 0;
    }
    .expert img {
        height: 135px;
        width: 135px;
    }
    .expert {
        gap: 1em;
    }
}
