/* Shared design values. Edit this file to change the migrated UI. */
:root {
    --fq-font-sans: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
        --fq-font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
        --fq-color-primary: #7c3aed; --fq-color-primary-dark: #6d28d9;
        --fq-color-play: #ec4899; --fq-color-multiplayer: #10b981; --fq-color-multiplayer-dark: #059669;
        --fq-color-text: #1e293b; --fq-color-text-muted: #475569; --fq-color-border: #e2e8f0;
        --fq-color-border-control: #cbd5e1; --fq-color-surface: #fff; --fq-color-surface-muted: #f8fafc;
        --fq-color-danger: #b91c1c; --fq-color-success: #15803d; --fq-color-focus: rgba(124,58,237,.2);
        --fq-space-1: .25rem; --fq-space-2: .5rem; --fq-space-3: .75rem; --fq-space-4: 1rem;
        --fq-space-5: 1.25rem; --fq-space-6: 1.5rem; --fq-space-8: 2rem; --fq-space-12: 3rem;
        --fq-radius-sm: 8px; --fq-radius-control: 12px; --fq-radius-card: 20px; --fq-radius-cta: 24px; --fq-radius-pill: 999px;
        --fq-card-gap-compact: .75rem; --fq-card-gap-default: 1.5rem; --fq-card-gap-comfortable: 2.5rem;
        --fq-section-gap-before: 4rem;
        --fq-shadow-sm: 0 4px 12px rgba(15,23,42,.06); --fq-shadow-md: 0 12px 30px rgba(15,23,42,.08);

    --fq-color-link: #5b21b6;
    --fq-color-link-hover: #45158c;
    --fq-color-link-strong: #1e40af;
    /* Previous approved footer link color: #1e40af. */
    --fq-color-footer-link: #334155;
    --fq-surface-blue-soft: #f0f9ff;
    --fq-surface-blue-gradient: linear-gradient(180deg, #f4f8ff 0%, #fbfdff 100%);
    --fq-border-blue-soft: #dbeafe;
    --fq-button-font: var(--fq-font-sans);
    --fq-button-weight: 800;
    --fq-button-gap: .5rem;
    --fq-button-primary-bg: #2563eb;
    --fq-button-primary-hover: #1d4ed8;
    --fq-button-on-solid: #fff;
    --fq-button-secondary-bg: #fff;
    --fq-button-secondary-text: #1d4ed8;
    --fq-button-secondary-border: #bfdbfe;
    --fq-button-save-bg: #1d4ed8;
    --fq-button-save-hover: #1e40af;
    --fq-button-confirm-bg: #059669;
    --fq-button-confirm-hover: #047857;
    --fq-button-next-bg: #f59e0b;
    --fq-button-radius: 14px;
    --fq-button-padding: 1rem 1.5rem;
    --fq-button-compact-radius: 12px;
    --fq-button-compact-padding: 12px 16px;
    --fq-button-compact-size: .875rem;
}

/* Compatibility names used by the homepage layout. */
:root{--n-purple:#630ed4;--n-purple-2:var(--fq-color-primary);--n-pink:var(--fq-color-play);--n-green:var(--fq-button-confirm-bg);--n-gold:var(--fq-button-next-bg);--n-ink:var(--fq-color-text);--n-muted:var(--fq-color-text-muted);--n-soft:#94a3b8;--n-line:var(--fq-color-border);--n-bg:#f9f9ff;--n-white:#fff;--n-dark:#0f172a}

:root{--fq-home-button-weight:700;--fq-home-button-size:13px;--fq-home-button-padding:10px 18px}

/* Shared hub and single-question CTA values. */
:root{
 --fq-hero-button-width:345px;
 --fq-hero-button-min-height:84px;
 --fq-hero-button-padding:.5rem 1.5rem;
 --fq-hero-button-title-size:1.35rem;
 --fq-hero-button-title-weight:900;
 --fq-hero-button-subtitle-size:.82rem;
 --fq-button-play-hover:var(--fq-button-primary-hover);
 --fq-single-button-radius:18px;
 --fq-single-button-padding:1rem 1.8rem;
 --fq-single-button-weight:900;
}

/* Category controls: shared palette and default pill geometry. */
:root{
 --fq-category-padding:.6rem 1.5rem;
 --fq-category-radius:99px;
 --fq-category-size:.95rem;
 --fq-category-weight:700;
 --fq-category-bg:#f1f5f9;
 --fq-category-text:var(--fq-color-text-muted);
 --fq-category-hover-bg:var(--fq-color-border);
 --fq-category-active-bg:#e0a500;
 --fq-category-active-text:#fff;
 --fq-category-active-weight:800;
 --fq-category-active-shadow:0 5px 15px rgba(224,165,0,.2);
}

:root{--fq-category-intent-gradient:var(--fq-category-active-bg);--fq-category-latest-active-bg:var(--fq-category-active-bg);--fq-category-latest-active-border:var(--fq-category-active-bg);--fq-category-latest-active-text:var(--fq-category-active-text)}

/* Friend, BFF, couple and joining CTA variants. */
:root{
 --fq-button-social-bg:#7537ed;
 --fq-button-social-hover:#6427dc;
 --fq-button-social-secondary-bg:#dfe7ff;
 --fq-button-social-secondary-text:#5420c6;
 --fq-button-join-gradient:linear-gradient(135deg,#4f46e5 0%,#3b82f6 100%);
 --fq-button-friend-gradient:linear-gradient(90deg,#ec4899,#f97360);
}

/* Approved content palette. Roles are shared by riddles and trivia. */
:root {
 --fq-content-link: #1d4ed8;
 --fq-content-link-hover: #1e40af;
 --fq-content-link-strong: #1e40af;
 --fq-content-surface: #f0f9ff;
 --fq-content-panel: linear-gradient(180deg,#f4f8ff,#fbfdff);
 --fq-content-border: #dbeafe;
 --fq-content-border-hover: #93c5fd;
 --fq-content-icon-gold: #e0a500;
 --fq-badge-bg: var(--fq-content-surface);
 --fq-badge-text: var(--fq-content-link);
 --fq-badge-font-weight: 700;
 --fq-button-secondary-solid-bg: #334155;
 --fq-button-secondary-solid-hover: #1e293b;
}

/* Multiplayer invitation palette, shared by image and compact banners. */
:root {
 --fq-puff-bg: var(--fq-content-panel);
 --fq-puff-border: var(--fq-content-border);
 --fq-puff-border-hover: var(--fq-content-border-hover);
 --fq-puff-text: var(--fq-color-text);
 --fq-puff-muted: var(--fq-color-text-muted);
 --fq-puff-accent: var(--fq-content-link);
 --fq-puff-accent-hover: var(--fq-content-link-hover);
 --fq-puff-icon-bg: var(--fq-content-surface);
 --fq-puff-focus: rgba(37,99,235,.3);
 --fq-puff-shadow: 0 14px 32px rgba(37,99,235,.08);
 --fq-puff-shadow-hover: 0 18px 38px rgba(37,99,235,.14);
 --fq-puff-compact-shadow: 0 5px 16px rgba(37,99,235,.08);
 --fq-puff-compact-shadow-hover: 0 9px 22px rgba(37,99,235,.14);
}

/* Reveal-answer buttons share the homepage green confirmation palette. */
:root {
 --fq-button-answer-bg: var(--fq-button-confirm-bg);
 --fq-button-answer-hover: var(--fq-button-confirm-hover);
 --fq-button-answer-shadow: 0 8px 18px rgba(5,150,105,.2);
}

/* Icons preceding curated quiz section headings. */
:root { --fq-section-icon-color: var(--fq-content-link); }

/* Copy-link actions follow the active category palette. */
:root { --fq-button-copy-bg: var(--fq-category-active-bg); }

/* True/false choices keep their meaning across category and single pages. */
:root {
 --fq-choice-true-bg:#ecfdf5;
 --fq-choice-true-border:#d1fae5;
 --fq-choice-true-text:#065f46;
 --fq-choice-true-hover:#d1fae5;
 --fq-choice-false-bg:#fff1f2;
 --fq-choice-false-border:#ffe4e6;
 --fq-choice-false-text:#9f1239;
 --fq-choice-false-hover:#ffe4e6;
}

/* Homepage Friend Quiz and Creator CTA palette. */
:root {
    --fq-home-feature-cta-bg: #dc2626;
    --fq-home-feature-cta-hover: #b91c1c;
    --fq-friend-promo-bg: linear-gradient(110deg, #f5f3ff, #fdf2f8);
}

:root { --fq-button-social-preview-gradient:linear-gradient(90deg,#7c3aed,#ec4899); }

/* Related questions: soft beige surface, shared category accent. */
:root {
    --fq-question-share-icon: #dc2626;
    --fq-related-questions-bg: linear-gradient(135deg, #fffefa 0%, #faf6e9 100%);
    --fq-related-questions-hover-bg: #fcf9ef;
    --fq-related-questions-accent: var(--fq-category-active-bg);
    --fq-leaderboard-rank-color: var(--fq-category-active-bg);
    --fq-related-questions-shadow: 0 8px 30px rgba(224, 165, 0, .05);
}
