/* ============================================================================
   RPG Heroes – FAQ (faq.css)
   High-end Enterprise Design für die Hilfe-Seite.
   Wird ausschließlich von /faq geladen (pageStyles).
   ============================================================================ */

:root {
    --faq-gold: #d6ad62;
    --faq-gold-hot: #fde68a;
    --faq-amber: #f59e0b;
    --faq-ink: #e7eaf0;
    --faq-muted: #8d98aa;
}

/* ─── HERO ─────────────────────────────────────────────────────────── */
.faq-hero {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    border: 1px solid rgba(214, 173, 98, .2);
    border-radius: 1.75rem;
    padding: 2.5rem 2rem 2rem;
    margin-bottom: 2rem;
    background:
        radial-gradient(ellipse at 20% 0%, rgba(245, 158, 11, .14), transparent 55%),
        radial-gradient(ellipse at 85% 100%, rgba(217, 119, 6, .08), transparent 50%),
        radial-gradient(ellipse at 50% 50%, rgba(6, 182, 212, .04), transparent 65%),
        linear-gradient(165deg, rgba(20, 12, 4, .98), rgba(15, 23, 42, .96));
    box-shadow: inset 0 1px 0 rgba(255,255,255,.06), 0 28px 64px rgba(0,0,0,.45);
}
.faq-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(214, 173, 98, .04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(214, 173, 98, .04) 1px, transparent 1px);
    background-size: 32px 32px;
    mask-image: radial-gradient(ellipse at 45% 40%, black 0%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse at 45% 40%, black 0%, transparent 75%);
}
.faq-hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 8%;
    right: 8%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(245, 158, 11, .7), transparent);
    z-index: 2;
}
.faq-hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .4rem .85rem;
    border: 1px solid rgba(245, 158, 11, .3);
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(245, 158, 11, .12), rgba(217, 119, 6, .06));
    color: var(--faq-gold-hot);
    font-size: .6rem;
    font-weight: 800;
    letter-spacing: .22em;
    text-transform: uppercase;
    box-shadow: 0 0 22px rgba(245, 158, 11, .08), inset 0 1px 0 rgba(255,255,255,.06);
}
.faq-live-dot {
    width: .45rem;
    height: .45rem;
    border-radius: 50%;
    background: #f59e0b;
    box-shadow: 0 0 10px rgba(245, 158, 11, .8);
    animation: faq-live-pulse 2s ease-in-out infinite;
}
.faq-hero-title {
    font-family: 'Cinzel', 'Cinzel Fallback', serif;
    font-weight: 800;
    font-size: clamp(2rem, 5vw, 3.2rem);
    letter-spacing: .01em;
    background: linear-gradient(135deg, #fff 0%, #fde68a 25%, #f59e0b 55%, #d97706 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    text-shadow: 0 0 36px rgba(245, 158, 11, .2);
    line-height: 1.08;
}
.faq-hero-subtitle {
    color: #a8b0bf;
    font-size: .92rem;
    line-height: 1.6;
    max-width: 34rem;
}

/* ─── Hero Stats ──────────────────────────────────────────────────── */
.faq-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .7rem;
    margin-top: 1.4rem;
}
@media (min-width: 768px) {
    .faq-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.faq-stat {
    padding: .75rem .85rem;
    border: 1px solid rgba(245, 158, 11, .15);
    border-radius: .85rem;
    background: linear-gradient(155deg, rgba(20, 12, 4, .85), rgba(15, 23, 42, .85));
    box-shadow: inset 0 1px 0 rgba(255,255,255,.04);
}
.faq-stat-label {
    display: flex;
    align-items: center;
    gap: .35rem;
    color: #9ca3af;
    font-size: .55rem;
    font-weight: 800;
    letter-spacing: .15em;
}
.faq-stat-value {
    margin-top: .3rem;
    font-family: 'Cinzel', 'Cinzel Fallback', serif;
    font-size: 1.15rem;
    font-weight: 800;
    color: #f8fafc;
    line-height: 1;
}
.faq-stat-suffix { color: #f59e0b; font-size: .65rem; font-weight: 600; }

/* ─── Hero Scroll Art ─────────────────────────────────────────────── */
.faq-scroll-stage {
    position: relative;
    width: clamp(200px, 28vw, 280px);
    aspect-ratio: 1;
    margin: 0 auto;
    display: grid;
    place-items: center;
    isolation: isolate;
}
.faq-scroll-glow {
    position: absolute;
    inset: -12%;
    background: radial-gradient(circle, rgba(245, 158, 11, .2), transparent 60%);
    filter: blur(20px);
    animation: faq-glow 3.5s ease-in-out infinite;
}
.faq-orb-float {
    position: absolute;
    width: .45rem;
    height: .45rem;
    border-radius: 50%;
    background: radial-gradient(circle, #fde68a, #f59e0b);
    box-shadow: 0 0 10px rgba(245, 158, 11, .7);
    pointer-events: none;
    opacity: 0;
}
.faq-orb-float--1 { top: 16%; left: 20%; animation: faq-orb 3s ease-in-out infinite; }
.faq-orb-float--2 { top: 14%; right: 16%; animation: faq-orb 3s ease-in-out infinite .6s; }
.faq-orb-float--3 { bottom: 22%; left: 14%; animation: faq-orb 3s ease-in-out infinite 1.2s; }
.faq-orb-float--4 { bottom: 18%; right: 18%; animation: faq-orb 3s ease-in-out infinite 1.8s; }

/* ─── Animationen ─────────────────────────────────────────────────── */
@keyframes faq-live-pulse {
    0%, 100% { opacity: .5; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.15); }
}
@keyframes faq-glow {
    0%, 100% { opacity: .5; transform: scale(1); }
    50% { opacity: .85; transform: scale(1.06); }
}
@keyframes faq-orb {
    0% { opacity: 0; transform: translateY(0) scale(.5); }
    25% { opacity: .8; transform: translateY(-12px) scale(1); }
    100% { opacity: 0; transform: translateY(-28px) scale(.5); }
}

@media (prefers-reduced-motion: reduce) {
    .faq-live-dot, .faq-scroll-glow, .faq-orb-float { animation: none !important; }
}
@media (max-width: 640px) {
    .faq-hero { padding: 1.5rem 1.25rem 1.25rem; border-radius: 1.25rem; }
    .faq-scroll-stage { width: 160px; }
}