/* ==========================================================================
   Quiz — "Hoeveel % Watje ben je?"
   ========================================================================== */
.wq-container {
    background: transparent;
    position: relative;
    min-height: 300px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

/* Progress bar — only visible during questions */
.wq-progress {
    height: 4px;
    background: rgba(255, 255, 255, 0.15);
    width: 100%;
    border-radius: 2px;
    margin-bottom: var(--w-space-md);
}

.wq-progress__fill {
    height: 100%;
    background: var(--w-yellow);
    width: 0%;
    transition: width 0.4s ease;
    border-radius: 2px;
}

/* Content area */
.wq-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 0;
}

/* Intro screen */
.wq-intro {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    text-align: center;
    gap: var(--w-space-lg);
}

.wq-intro__badge {
    font-family: var(--w-font-headline);
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    background: var(--w-yellow);
    color: var(--w-black);
    padding: 4px 14px;
    border-radius: var(--w-radius-full);
}

.wq-intro__title {
    font-family: var(--w-font-display);
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    color: var(--w-black);
    line-height: 1;
}

.wq-intro__desc {
    font-size: 1rem;
    color: var(--w-secondary);
    max-width: 300px;
}

/* Quiz body (questions) */
.wq-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: var(--w-space-lg);
}

.wq-counter {
    font-family: var(--w-font-headline);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--w-secondary);
}

.wq-question {
    font-family: var(--w-font-headline);
    font-size: clamp(1.1rem, 2.5vw, 1.4rem);
    font-weight: 700;
    color: var(--w-black);
    line-height: 1.3;
}

.wq-answers {
    display: flex;
    flex-direction: column;
    gap: var(--w-space-sm);
    margin-top: auto;
}

.wq-answer {
    width: 100%;
    padding: 14px 20px;
    background: white;
    border: 2px solid transparent;
    border-radius: var(--w-radius-full);
    font-family: var(--w-font-body);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--w-on-surface);
    text-align: left;
    cursor: pointer;
    transition: all 0.2s ease;
    animation: wqFadeUp 0.3s ease forwards;
    opacity: 0;
}

.wq-answer:hover {
    border-color: var(--w-yellow);
    background: var(--w-yellow);
    color: var(--w-black);
    transform: translateX(4px);
}

.wq-answer:active {
    transform: translateX(4px) scale(0.98);
}

/* Result screen */
.wq-result {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    text-align: center;
    gap: var(--w-space-md);
}

.wq-result__emoji {
    font-size: 3rem;
    line-height: 1;
}

.wq-result__pct {
    font-family: var(--w-font-display);
    font-size: clamp(3rem, 8vw, 5rem);
    color: var(--w-yellow);
    line-height: 1;
    text-shadow: 0 2px 0 rgba(0, 0, 0, 0.1);
}

.wq-result__title {
    font-family: var(--w-font-headline);
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--w-black);
    text-transform: uppercase;
}

.wq-result__text {
    font-size: 1rem;
    color: var(--w-secondary);
    max-width: 300px;
}

.wq-result__actions {
    display: flex;
    gap: var(--w-space-sm);
    flex-wrap: wrap;
    justify-content: flex-start;
    margin-top: var(--w-space-md);
}

/* Hidden state */
.wq-hidden {
    display: none !important;
}

/* Animations */
.wq-slide-in {
    animation: wqSlideIn 0.3s ease;
}

@keyframes wqSlideIn {
    from { opacity: 0; transform: translateX(20px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes wqFadeUp {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Dark background variant (inside about section) */
.watje-about .wq-container {
    padding-top: 0;
    background: transparent;
}

.watje-about .wq-intro__title,
.watje-about .wq-question,
.watje-about .wq-result__title {
    color: white;
}

.watje-about .wq-intro__desc,
.watje-about .wq-counter,
.watje-about .wq-result__text {
    color: rgba(255, 255, 255, 0.6);
}

.watje-about .wq-answer {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-color: rgba(255, 255, 255, 0.1);
}

.watje-about .wq-answer:hover {
    background: var(--w-yellow);
    color: var(--w-black);
    border-color: var(--w-yellow);
}

.watje-about .wq-result__pct {
    color: var(--w-yellow);
}

/* Responsive */
@media (max-width: 767px) {
    .wq-content {
        padding: var(--w-space-md) 0;
    }

    .wq-container {
        min-height: auto;
    }

    .wq-intro {
        gap: var(--w-space-md);
    }
}

/* Align quiz title with about text */
.watje-about .wq-container {
    min-height: auto;
}
.watje-about .wq-intro {
    justify-content: flex-start;
    padding-top: 0;
}
