/* ============================================
   REALZ CASINO - Egyptian Treasure Vault
   Mobile-first design system
   ============================================ */

/* ============================================
   RESET & OVERFLOW PREVENTION
   ============================================ */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
    margin: 0;
    background: var(--background);
    color: var(--foreground);
    font-family: "Rubik", system-ui, -apple-system, "Segoe UI", sans-serif;
    font-size: 17px;
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
    background-image:
        radial-gradient(ellipse 60% 40% at 20% 0%, rgba(245, 185, 66, 0.08), transparent 60%),
        radial-gradient(ellipse 50% 30% at 100% 30%, rgba(255, 122, 26, 0.06), transparent 60%),
        radial-gradient(ellipse 40% 30% at 0% 80%, rgba(13, 74, 74, 0.10), transparent 60%);
    background-attachment: fixed;
}

img, video, iframe, embed, object, svg { max-width: 100%; height: auto; }
[class*="grid"] > *, [class*="flex"] > * { min-width: 0; }

pre, code, .code-block, [class*="code"] { max-width: 100%; overflow-x: auto; }
pre code, .code-block code { display: block; min-width: 0; }

.table-wrapper, [class*="table-"] { max-width: 100%; overflow-x: auto; }

p, li, td, th { overflow-wrap: break-word; }
input, textarea, select { max-width: 100%; }

section { overflow: clip; }

a { color: var(--primary); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--primary-3); }

ul, ol { padding-left: 1.2em; }
ul.unstyled, ol.unstyled { list-style: none; padding: 0; margin: 0; }

/* Inline links inside body text - must be distinguishable without color alone */
.seo-text a,
.faq-answer a,
.callout a,
p a,
li a {
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 2px;
}

/* Skip link */
.skip-link {
    position: absolute; left: -9999px; top: 0;
    background: var(--primary); color: var(--primary-foreground);
    padding: 12px 20px; border-radius: 0 0 8px 0; z-index: 9999; font-weight: 600;
}
.skip-link:focus { left: 0; }

/* ============================================
   TYPOGRAPHY - Cinzel Decorative + Rubik
   H1 40/64, H2 30/48, H3 22/32
   ============================================ */
h1, h2, h3, h4, h5, h6 {
    font-family: "Cinzel Decorative", "Cinzel", Georgia, serif;
    font-weight: 700;
    line-height: 1.15;
    margin: 0 0 0.6em;
    color: var(--primary-3);
    letter-spacing: 0.01em;
}
h1 { font-size: clamp(2rem, 5vw + 1rem, 4rem); }
h2 { font-size: clamp(1.6rem, 3.5vw + 0.6rem, 3rem); }
h3 { font-size: clamp(1.25rem, 1.6vw + 0.6rem, 2rem); }
h4 { font-size: clamp(1.1rem, 1vw + 0.6rem, 1.4rem); }

p { margin: 0 0 1em; }
small, .caption { font-size: 15px; color: var(--foreground-muted); }

.gold-text {
    background: var(--gold-gradient-text);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    text-shadow: 0 0 30px rgba(245, 185, 66, 0.25);
    filter: drop-shadow(0 1px 0 rgba(0,0,0,0.4));
}

.eyebrow {
    display: inline-block;
    font-family: "Rubik", sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 13px;
    color: var(--accent);
    margin-bottom: 12px;
}

/* ============================================
   LAYOUT - container, sections, grids
   ============================================ */
.container {
    width: 100%;
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: var(--space-md);
}
@media (min-width: 768px) { .container { padding-inline: var(--space-lg); } }

.section { padding-block: var(--space-2xl); }
@media (min-width: 1024px) { .section { padding-block: var(--space-3xl); } }

.section-tight { padding-block: var(--space-2xl); }
.section-header { text-align: center; max-width: 760px; margin-inline: auto; margin-bottom: var(--space-xl); }
.section-header p { color: var(--foreground-muted); font-size: 18px; }

.grid { display: grid; gap: var(--space-md); }
@media (min-width: 768px) { .grid { gap: var(--space-lg); } }

.grid-2 { grid-template-columns: minmax(0, 1fr); }
.grid-3 { grid-template-columns: minmax(0, 1fr); }
.grid-4 { grid-template-columns: minmax(0, 1fr); }

@media (min-width: 768px) {
    .grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
    .grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

.text-center { text-align: center; }
.nowrap { white-space: nowrap; }

/* ============================================
   BUTTONS - gold shimmer CTAs
   ============================================ */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    min-height: 48px;
    padding: 12px 26px;
    font-family: "Rubik", sans-serif;
    font-weight: 600; font-size: 16px;
    border-radius: 999px;
    border: 2px solid transparent;
    cursor: pointer;
    text-decoration: none;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
    position: relative; overflow: hidden;
    line-height: 1;
}
.btn:focus-visible { outline: 3px solid var(--primary-3); outline-offset: 3px; }
.btn:active { transform: translateY(1px); }

.btn-primary {
    background: var(--gold-gradient);
    color: var(--primary-foreground);
    box-shadow: var(--amber-glow), 0 6px 20px rgba(0,0,0,0.4);
    border-color: rgba(255, 216, 122, 0.6);
}
.btn-primary:hover { color: var(--primary-foreground); transform: translateY(-2px); box-shadow: var(--amber-glow-strong), 0 10px 28px rgba(0,0,0,0.5); }

.btn-ghost {
    background: transparent;
    color: var(--primary-3);
    border-color: var(--primary-2);
}
.btn-ghost:hover { background: rgba(245, 185, 66, 0.12); color: var(--primary-3); }

.btn-accent {
    background: linear-gradient(135deg, #ff9a3c, #ff7a1a 60%, #d94413);
    color: #fff;
    box-shadow: 0 0 24px rgba(255, 122, 26, 0.45), 0 6px 20px rgba(0,0,0,0.4);
    border-color: rgba(255, 154, 60, 0.55);
}

.btn-lg { min-height: 56px; padding: 16px 34px; font-size: 18px; }
.btn-block { width: 100%; }

/* Buttons must not have underlines (overrides global link rule) */
.btn, .nav-link, .info-card-link, .footer-list a, .breadcrumbs a, .pay-pill, .badge-trust,
.sticky-cta, .brand, .testimonial-card a, .stat-tile a {
    text-decoration: none;
}

/* Shimmer sweep */
.btn-shimmer::before {
    content: "";
    position: absolute; top: 0; left: -120%;
    width: 60%; height: 100%;
    background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,0.55) 50%, transparent 70%);
    transform: skewX(-20deg);
    animation: shimmer 4s ease-in-out infinite;
    pointer-events: none;
}
@keyframes shimmer {
    0%, 60%, 100% { left: -120%; }
    80% { left: 130%; }
}

/* ============================================
   HEADER - fixed, dark, brand + nav + CTAs
   ============================================ */
.site-header {
    position: fixed; top: 0; left: 0; right: 0;
    z-index: 1000;
    background: rgba(10, 8, 6, 0.92);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 4px 24px rgba(0,0,0,0.5);
}
@media (min-width: 768px) {
    .site-header { background: rgba(10, 8, 6, 0.85); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
}
body { padding-top: var(--header-h); }

.header-inner {
    max-width: var(--container);
    margin-inline: auto;
    padding: 10px var(--space-md);
    display: flex; align-items: center; justify-content: space-between; gap: var(--space-md);
    min-height: var(--header-h);
}
@media (min-width: 1024px) { .header-inner { padding: 12px var(--space-lg); } }

.brand {
    display: inline-flex; align-items: center; gap: 10px;
    text-decoration: none; color: var(--foreground);
    font-family: "Cinzel Decorative", serif; font-weight: 700;
    font-size: 20px; letter-spacing: 0.02em;
    flex-shrink: 0;
}
.brand .logo { width: 40px; height: 40px; border-radius: 50%; box-shadow: var(--amber-glow); }
.brand-name { color: var(--primary-3); }
.brand-accent { color: var(--accent); margin-left: 4px; }

@media (min-width: 1024px) {
    .brand { font-size: 24px; }
    .brand .logo { width: 48px; height: 48px; }
}

/* Nav toggle (burger) */
.nav-toggle {
    background: transparent; border: 1px solid var(--border-bright); border-radius: 10px;
    width: 44px; height: 44px;
    display: inline-flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 5px; padding: 0; cursor: pointer; z-index: 1001;
}
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--primary-3); border-radius: 2px; transition: transform .3s ease, opacity .2s ease; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (min-width: 1024px) { .nav-toggle { display: none; } }

/* Mobile drawer */
.main-nav {
    display: none;
    position: fixed;
    top: var(--header-h); left: 0; right: 0; bottom: 0;
    background: var(--background);
    background-image:
        radial-gradient(ellipse 80% 40% at 50% 0%, rgba(245, 185, 66, 0.10), transparent 70%),
        linear-gradient(180deg, var(--background-2), var(--background));
    z-index: 999;
    padding: var(--space-lg) var(--space-md) calc(var(--space-2xl) + env(safe-area-inset-bottom));
    overflow-y: auto;
    flex-direction: column;
    border-top: 1px solid var(--border);
}
.main-nav.is-open { display: flex; }

.nav-list {
    list-style: none; padding: 0; margin: 0 0 var(--space-lg);
    display: flex; flex-direction: column; align-items: stretch; gap: 4px;
}
.nav-link {
    display: flex; align-items: center;
    min-height: 52px;
    padding: 12px 16px;
    color: var(--foreground);
    font-weight: 500; font-size: 18px;
    border-radius: 12px;
    border: 1px solid transparent;
}
.nav-link:hover, .nav-link:focus-visible {
    color: var(--primary-3);
    background: rgba(245, 185, 66, 0.08);
    border-color: var(--border);
}

.nav-ctas {
    display: flex; flex-direction: column; gap: 12px; margin-top: auto;
}
.nav-ctas .btn { width: 100%; }

.nav-mascot {
    margin-top: var(--space-lg); text-align: center;
    pointer-events: none;
}
.nav-mascot img { animation: bob 3s ease-in-out infinite; max-height: 180px; width: auto; }

@keyframes bob {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

@media (min-width: 1024px) {
    .main-nav {
        display: flex !important;
        position: static; flex-direction: row; align-items: center; gap: var(--space-lg);
        padding: 0; background: none; border: none; overflow: visible;
        flex: 1; justify-content: flex-end;
    }
    .nav-list { flex-direction: row; gap: 4px; margin: 0; }
    .nav-link { font-size: 16px; min-height: 44px; padding: 10px 16px; }
    .nav-ctas { flex-direction: row; gap: 10px; margin-top: 0; }
    .nav-ctas .btn { width: auto; }
    .nav-mascot { display: none; }
}

/* ============================================
   FOOTER - 4-col with mascot
   ============================================ */
.site-footer {
    background: linear-gradient(180deg, var(--background-2), #050403);
    border-top: 2px solid var(--border-bright);
    padding: var(--space-2xl) 0 var(--space-md);
    margin-top: var(--space-2xl);
    position: relative;
}
.footer-inner {
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: var(--space-md);
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-xl);
}
@media (min-width: 768px) { .footer-inner { grid-template-columns: repeat(2, 1fr); padding-inline: var(--space-lg); } }
@media (min-width: 1024px) { .footer-inner { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: var(--space-2xl); } }

.footer-tagline { color: var(--foreground-muted); font-size: 15px; margin: 12px 0 16px; max-width: 360px; }
.footer-mascot { display: block; margin-top: 8px; }

.footer-heading {
    font-family: "Cinzel Decorative", serif;
    color: var(--primary-3);
    font-size: 18px;
    margin: 0 0 16px;
    letter-spacing: 0.04em;
}
.footer-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-list a { color: var(--foreground-muted); font-size: 15px; }
.footer-list a:hover { color: var(--primary-3); }

.payment-grid {
    list-style: none; padding: 0; margin: 0 0 16px;
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px;
}
.pay-pill {
    display: flex; align-items: center; justify-content: center;
    min-height: 36px; padding: 6px 8px;
    border: 1px solid var(--border); border-radius: 8px;
    background: var(--card);
    color: var(--foreground-muted); font-size: 12px; font-weight: 600;
    text-align: center;
}

.trust-row { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.badge-trust {
    display: inline-flex; align-items: center;
    padding: 6px 12px;
    background: rgba(245, 185, 66, 0.1);
    border: 1px solid var(--primary-2);
    color: var(--primary-3);
    border-radius: 999px;
    font-size: 12px; font-weight: 600;
}
.badge-18 { background: rgba(217, 68, 19, 0.15); border-color: var(--accent-2); color: #ffb89a; }

.footer-bottom {
    max-width: var(--container);
    margin: var(--space-xl) auto 0;
    padding: var(--space-md);
    border-top: 1px solid var(--border);
    text-align: center;
    color: var(--foreground-muted);
    font-size: 13px;
}

/* ============================================
   STICKY MOBILE CTA - always-visible Registrieren bar
   ============================================ */
.sticky-cta {
    position: fixed;
    left: 12px; right: 12px;
    bottom: calc(12px + env(safe-area-inset-bottom));
    z-index: 998;
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    padding: 14px 22px; min-height: 56px;
    background: var(--gold-gradient);
    color: var(--primary-foreground);
    font-weight: 700; font-size: 16px;
    border-radius: 999px;
    box-shadow: var(--amber-glow-strong), 0 8px 28px rgba(0,0,0,0.55);
    text-decoration: none;
    animation: pulseGlow 2.4s ease-in-out infinite;
}
.sticky-cta:hover { color: var(--primary-foreground); }
.sticky-cta-arrow { font-size: 22px; }
@keyframes pulseGlow {
    0%, 100% { box-shadow: 0 0 24px rgba(245, 185, 66, 0.45), 0 8px 28px rgba(0,0,0,0.55); }
    50% { box-shadow: 0 0 50px rgba(245, 185, 66, 0.85), 0 8px 28px rgba(0,0,0,0.55); }
}
@media (min-width: 1024px) { .sticky-cta { display: none; } }

/* ============================================
   CARTOUCHE - golden hieroglyph frame (used on cards & banners)
   .cartouche - rounded gold-bordered surface
   .scarab-corner - corner glyph accents
   ============================================ */
.cartouche {
    position: relative;
    background: linear-gradient(180deg, var(--card-2), var(--card));
    border: 1px solid var(--primary-2);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    box-shadow: var(--shadow-card);
}
@media (min-width: 768px) { .cartouche { padding: var(--space-xl); } }

.cartouche::before {
    content: "";
    position: absolute; inset: 4px;
    border-radius: calc(var(--radius-lg) - 4px);
    border: 1px solid rgba(245, 185, 66, 0.18);
    pointer-events: none;
}

.scarab-corner {
    position: absolute; width: 14px; height: 14px;
    background: radial-gradient(circle, var(--primary-3) 0%, var(--primary-2) 60%, transparent 70%);
    border-radius: 50%;
    box-shadow: 0 0 8px rgba(245, 185, 66, 0.7);
    pointer-events: none;
}
.scarab-tl { top: 10px; left: 10px; }
.scarab-tr { top: 10px; right: 10px; }
.scarab-bl { bottom: 10px; left: 10px; }
.scarab-br { bottom: 10px; right: 10px; }

/* ============================================
   COMPONENT - cta_banner
   ============================================ */
.cta-banner { margin-block: var(--space-lg); overflow: hidden; }
.cta-banner-glow {
    position: absolute; inset: 0;
    background: radial-gradient(ellipse 60% 70% at 50% 50%, rgba(245, 185, 66, 0.18), transparent 70%);
    pointer-events: none;
}
.cta-banner-grid {
    position: relative; z-index: 1;
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-lg);
    align-items: center;
    text-align: center;
}
@media (min-width: 768px) {
    .cta-banner-grid { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); text-align: left; }
}
.cta-banner-content { padding: var(--space-sm) 0; }
.cta-banner-headline { font-size: clamp(1.6rem, 3vw + 0.6rem, 2.4rem); margin-bottom: 12px; }
.cta-banner-bonus { display: flex; flex-wrap: wrap; gap: 12px; align-items: baseline; justify-content: center; margin: 0 0 16px; }
@media (min-width: 768px) { .cta-banner-bonus { justify-content: flex-start; } }
.bonus-number {
    font-family: "Cinzel Decorative", serif;
    font-weight: 900; font-size: clamp(3rem, 6vw + 1rem, 4.5rem);
    line-height: 1; letter-spacing: 0.01em;
}
.bonus-suffix { font-size: 18px; color: var(--foreground); font-weight: 600; }
.cta-banner-body { color: var(--foreground-muted); font-size: 17px; margin-bottom: 20px; max-width: 56ch; margin-inline: auto; }
@media (min-width: 768px) { .cta-banner-body { margin-inline: 0; } }
.cta-banner-microcopy { color: var(--foreground-muted); font-size: 13px; margin-top: 12px; }
.cta-banner-mascot { display: flex; justify-content: center; }
.cta-banner-mascot img { max-width: 280px; width: 100%; height: auto; animation: bob 3s ease-in-out infinite; filter: drop-shadow(0 12px 24px rgba(0,0,0,0.55)); }
@media (min-width: 768px) { .cta-banner-mascot img { max-width: 320px; transform: translateX(8%); } }

/* ============================================
   COMPONENT - info_card
   ============================================ */
.info-card {
    display: flex; flex-direction: column; gap: 16px;
    padding: var(--space-lg);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
    min-width: 0;
}
.info-card:hover {
    transform: translateY(-4px);
    border-color: var(--primary-3);
    box-shadow: var(--amber-glow), 0 14px 36px rgba(0,0,0,0.6);
}
.info-card-media {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    background: linear-gradient(135deg, #2a1d10, #1a130a);
    border: 1px solid var(--border);
    aspect-ratio: 16 / 11;
    display: flex; align-items: center; justify-content: center;
}
.info-card-img { width: 100%; height: 100%; object-fit: cover; display: block; }
.info-card-icon { font-size: 56px; line-height: 1; color: var(--primary-3); }
.info-card-badge {
    position: absolute; top: 10px; left: 10px;
    background: var(--accent);
    color: var(--accent-foreground);
    font-size: 12px; font-weight: 700;
    padding: 4px 10px; border-radius: 999px;
    text-transform: uppercase; letter-spacing: 0.06em;
    box-shadow: 0 2px 8px rgba(0,0,0,0.4);
}
.info-card-body { display: flex; flex-direction: column; gap: 8px; flex: 1; }
.info-card-title { font-size: 22px; margin: 0; }
.info-card-desc { color: var(--foreground); font-size: 15.5px; margin: 0; }
.info-card-meta { color: var(--foreground-muted); font-size: 14px; margin: 0; }
.info-card-link {
    display: inline-flex; align-items: center; gap: 6px;
    margin-top: auto; padding-top: 8px;
    color: var(--primary-3); font-weight: 600; font-size: 15px;
    border-bottom: 1px solid transparent;
    align-self: flex-start;
}
.info-card-link:hover { border-bottom-color: var(--primary-3); }

/* ============================================
   COMPONENT - stat_block
   ============================================ */
.stat-block-wrap { padding-block: var(--space-lg); }
.stat-block-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-md);
}
@media (min-width: 768px) { .stat-block-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; } }

.stat-tile {
    text-align: center;
    padding: var(--space-lg) var(--space-md);
    border-radius: var(--radius-md);
    background: var(--card);
    border: 1px solid var(--border);
}
@media (min-width: 768px) {
    .stat-tile { background: transparent; border: none; border-radius: 0; border-right: 1px solid var(--border); }
    .stat-tile:last-child { border-right: none; }
}
.stat-icon { font-size: 24px; color: var(--accent); margin-bottom: 6px; }
.stat-number {
    font-family: "Cinzel Decorative", serif;
    font-weight: 900;
    font-size: clamp(2.4rem, 4vw + 1rem, 4.5rem);
    line-height: 1;
    margin-bottom: 8px;
}
.stat-label { color: var(--foreground); font-weight: 600; font-size: 15px; }
.stat-source { color: var(--foreground-muted); font-size: 12px; margin-top: 4px; }

/* ============================================
   COMPONENT - faq_accordion
   ============================================ */
.faq-section { max-width: 800px; margin-inline: auto; padding-block: var(--space-lg); position: relative; }
.faq-header { display: flex; align-items: flex-end; justify-content: center; gap: var(--space-md); margin-bottom: var(--space-lg); position: relative; }
.faq-heading { text-align: center; flex: 1; margin: 0; }
.faq-mascot { width: 90px; height: auto; flex-shrink: 0; animation: bob 3s ease-in-out infinite; }
@media (max-width: 767px) { .faq-mascot { display: none; } }

.faq-list { display: flex; flex-direction: column; gap: 10px; }
.faq-item {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: border-color .25s ease, box-shadow .25s ease;
}
.faq-item[open] { border-color: var(--primary-2); box-shadow: inset 0 0 24px rgba(245, 185, 66, 0.10); }

.faq-question {
    list-style: none;
    cursor: pointer;
    padding: 16px 20px;
    min-height: 56px;
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    font-weight: 500; color: var(--primary-3); font-size: 16.5px;
}
.faq-question::-webkit-details-marker { display: none; }
.faq-icon {
    flex-shrink: 0;
    font-size: 22px; color: var(--primary);
    transition: transform .3s ease;
}
.faq-item[open] .faq-icon { transform: rotate(180deg); }

.faq-answer {
    padding: 0 20px 18px;
    color: var(--foreground);
    font-size: 16px; line-height: 1.65;
    animation: faqFade .3s ease;
}
.faq-answer p { margin: 0 0 10px; }
.faq-answer p:last-child { margin-bottom: 0; }
.faq-answer a { color: var(--primary-3); text-decoration: underline; text-decoration-color: var(--primary-2); }

@keyframes faqFade {
    from { opacity: 0; transform: translateY(-6px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ============================================
   COMPONENT - testimonial_card
   ============================================ */
.testimonial-card {
    background: linear-gradient(180deg, #2a1f12, #1f1609);
    border-color: var(--primary-2);
    padding: var(--space-xl) var(--space-lg) var(--space-lg);
    display: flex; flex-direction: column; gap: 16px;
    position: relative;
}
.testimonial-quote-mark {
    font-family: "Cinzel Decorative", serif;
    font-size: 80px; line-height: 0.6;
    color: var(--primary-3);
    text-shadow: var(--amber-glow);
    position: absolute; top: 16px; left: 20px;
    pointer-events: none;
}
.testimonial-quote {
    font-style: italic; font-size: 18px; line-height: 1.55;
    color: var(--foreground);
    margin: 24px 0 0;
    padding-top: 20px;
    border: none;
}
.testimonial-attr { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: auto; padding-top: 14px; border-top: 1px solid var(--border); }
.testimonial-avatar {
    width: 44px; height: 44px; border-radius: 50%;
    background: var(--gold-gradient);
    color: var(--primary-foreground);
    display: flex; align-items: center; justify-content: center;
    font-weight: 800; font-family: "Cinzel Decorative", serif; font-size: 18px;
    box-shadow: 0 0 0 2px var(--primary-3);
    flex-shrink: 0;
}
.testimonial-avatar img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.testimonial-meta { flex: 1; min-width: 0; }
.testimonial-name { font-family: "Cinzel Decorative", serif; font-weight: 700; font-size: 16px; }
.testimonial-loc { color: var(--foreground-muted); font-size: 13px; }
.testimonial-rating { display: flex; gap: 2px; }
.scarab-star { color: var(--accent); font-size: 18px; line-height: 1; }

/* ============================================
   COMPONENT - provider_logos_strip
   ============================================ */
.logos-section { padding-block: var(--space-lg); position: relative; }
.logos-heading { text-align: center; font-size: clamp(1.4rem, 2vw + 0.8rem, 2rem); margin-bottom: var(--space-lg); }
.logos-strip-wrap {
    position: relative;
    background: linear-gradient(180deg, var(--card), var(--card-2));
    border-block: 1px solid var(--primary-2);
    padding: 22px var(--space-md);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}
.logos-strip-wrap::-webkit-scrollbar { display: none; }
.logos-mascot {
    position: absolute; bottom: -10px; right: 8px; pointer-events: none; z-index: 1;
}
.logos-mascot img { width: 70px; height: auto; }
@media (min-width: 768px) { .logos-mascot img { width: 100px; } }

.logos-strip {
    list-style: none; padding: 0; margin: 0;
    display: flex; gap: 36px; align-items: center; justify-content: flex-start;
    min-width: max-content;
}
@media (min-width: 1024px) { .logos-strip { justify-content: center; gap: 56px; min-width: 0; } }

.logo-item { flex-shrink: 0; }
.logo-text {
    font-family: "Cinzel Decorative", serif;
    font-weight: 700; font-size: 18px;
    color: var(--foreground-muted);
    letter-spacing: 0.04em;
    transition: color .2s ease, text-shadow .2s ease;
    white-space: nowrap;
}
.logo-item:hover .logo-text { color: var(--primary-3); text-shadow: var(--amber-glow); }

/* ============================================
   ENGAGEMENT PATTERNS
   .summary-box - TL;DR / quick facts
   .callout - tip/warning/note
   .pull-quote - oversized inline quote
   .stat-highlight - inline number + label
   ============================================ */
.summary-box {
    background: linear-gradient(135deg, rgba(245, 185, 66, 0.08), rgba(13, 74, 74, 0.10));
    border: 1px solid var(--primary-2);
    border-left: 4px solid var(--primary);
    border-radius: var(--radius-md);
    padding: var(--space-lg);
    margin-block: var(--space-lg);
}
.summary-box h3 { font-family: "Cinzel Decorative", serif; color: var(--primary-3); margin-top: 0; font-size: 20px; }
.summary-box ul { margin: 0; padding-left: 1.2em; }
.summary-box li { margin-bottom: 8px; color: var(--foreground); }

.callout {
    background: var(--card);
    border-left: 4px solid var(--accent);
    border-radius: var(--radius-sm);
    padding: 16px 20px;
    margin-block: var(--space-md);
    color: var(--foreground);
}
.callout-title { font-weight: 700; color: var(--accent); margin: 0 0 6px; font-family: "Cinzel Decorative", serif; }
.callout.callout-info { border-left-color: var(--primary); }
.callout.callout-info .callout-title { color: var(--primary-3); }
.callout.callout-warning { border-left-color: var(--accent-2); background: rgba(217, 68, 19, 0.08); }
.callout.callout-warning .callout-title { color: #ffb89a; }
.callout a { text-decoration: underline; text-decoration-color: var(--primary-2); }

.pull-quote {
    font-family: "Cinzel Decorative", serif;
    font-size: clamp(1.4rem, 2vw + 0.8rem, 2rem);
    line-height: 1.3;
    color: var(--primary-3);
    border-left: 4px solid var(--primary);
    padding: 8px 0 8px 24px;
    margin-block: var(--space-lg);
    text-shadow: 0 0 24px rgba(245, 185, 66, 0.2);
}
.pull-quote cite { display: block; font-family: "Rubik", sans-serif; font-size: 14px; color: var(--foreground-muted); margin-top: 8px; font-style: normal; }

.stat-highlight {
    display: inline-flex; flex-direction: column; align-items: center;
    padding: 12px 18px; border-radius: var(--radius-sm);
    background: var(--card); border: 1px solid var(--border);
}
.stat-highlight .num { font-family: "Cinzel Decorative", serif; font-weight: 800; font-size: 32px; color: var(--primary-3); line-height: 1; }
.stat-highlight .lbl { font-size: 13px; color: var(--foreground-muted); margin-top: 4px; }

/* details/summary expandable (used outside FAQ as well) */
.expandable {
    border: 1px solid var(--border); border-radius: var(--radius-sm);
    background: var(--card);
    margin-block: 12px;
}
.expandable > summary {
    list-style: none; cursor: pointer;
    padding: 14px 18px; min-height: 48px;
    color: var(--primary-3); font-weight: 600;
    display: flex; align-items: center; justify-content: space-between;
}
.expandable > summary::after { content: "+"; font-size: 22px; color: var(--primary); transition: transform .2s ease; }
.expandable[open] > summary::after { transform: rotate(45deg); }
.expandable > div { padding: 0 18px 16px; color: var(--foreground); }

/* ============================================
   CRO PATTERNS
   .cta-section - full-width band
   .trust-badges - logo row
   .compare-table - feature comparison
   ============================================ */
.cta-section {
    background:
        radial-gradient(ellipse 50% 80% at 50% 50%, rgba(245, 185, 66, 0.18), transparent 70%),
        linear-gradient(135deg, var(--background-2), #050403);
    border-block: 1px solid var(--primary-2);
    text-align: center;
    padding: var(--space-2xl) var(--space-md);
    margin-block: var(--space-2xl);
}
.cta-section h2 { margin-bottom: 12px; }
.cta-section .cta-sub { color: var(--foreground-muted); margin-bottom: var(--space-lg); font-size: 17px; max-width: 60ch; margin-inline: auto; }
.cta-section .cta-microcopy { color: var(--foreground-muted); font-size: 13px; margin-top: 14px; }

.trust-badges {
    list-style: none; padding: 0; margin: 0;
    display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; align-items: center;
}
.trust-badges li {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 10px 16px;
    background: var(--card); border: 1px solid var(--border);
    border-radius: 999px;
    color: var(--foreground); font-size: 14px; font-weight: 600;
}
.trust-badges .ico { color: var(--primary-3); font-size: 18px; }

.compare-table-wrapper {
    overflow-x: auto;
    margin-block: var(--space-lg);
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
}
.compare-table-wrapper:focus { outline: 2px solid var(--primary-3); outline-offset: 2px; }
.compare-table {
    width: 100%; min-width: 560px;
    border-collapse: collapse;
    background: var(--card);
    color: var(--foreground);
    font-size: 15px;
}
.compare-table th, .compare-table td {
    padding: 14px 16px; text-align: left;
    border-bottom: 1px solid var(--border);
}
.compare-table thead th {
    background: linear-gradient(180deg, #2a1d10, #1a130a);
    color: var(--primary-3);
    font-family: "Cinzel Decorative", serif;
    font-weight: 700; letter-spacing: 0.03em;
    border-bottom: 2px solid var(--primary-2);
}
.compare-table tbody tr:hover { background: rgba(245, 185, 66, 0.05); }
.compare-table .col-recommended {
    background: rgba(245, 185, 66, 0.10);
    box-shadow: inset 4px 0 0 var(--primary), inset -4px 0 0 var(--primary);
}
.compare-table .col-recommended th { background: linear-gradient(180deg, #3a2814, #261a0d); }

/* Social proof grid */
.testimonials-grid {
    display: grid; gap: var(--space-md);
    grid-template-columns: 1fr;
}
@media (min-width: 768px) { .testimonials-grid { grid-template-columns: repeat(2, 1fr); gap: var(--space-lg); } }
@media (min-width: 1024px) { .testimonials-grid { grid-template-columns: repeat(3, 1fr); } }

/* ============================================
   HERO patterns
   ============================================ */
.hero {
    position: relative;
    padding: var(--space-2xl) 0 var(--space-2xl);
    overflow: hidden;
}
.hero-inner {
    display: grid; grid-template-columns: 1fr; gap: var(--space-xl);
    align-items: center;
    position: relative; z-index: 1;
}
@media (min-width: 1024px) { .hero-inner { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: var(--space-2xl); } }

.hero h1 { margin-bottom: 20px; }
.hero p.lead { font-size: 18px; color: var(--foreground); max-width: 56ch; margin-bottom: 28px; }
.hero-cta-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.hero-bonus {
    display: inline-flex; align-items: baseline; gap: 10px; flex-wrap: wrap;
    margin-bottom: 18px;
    padding: 10px 18px;
    background: rgba(245, 185, 66, 0.10);
    border: 1px solid var(--primary-2);
    border-radius: 999px;
}
.hero-bonus .num { font-family: "Cinzel Decorative", serif; color: var(--primary-3); font-weight: 800; font-size: 28px; line-height: 1; }
.hero-bonus .txt { color: var(--foreground); font-weight: 600; font-size: 15px; }

.hero-mascot {
    display: flex; justify-content: center; position: relative;
}
.hero-mascot img { max-width: 480px; width: 100%; height: auto; animation: bob 3.4s ease-in-out infinite; filter: drop-shadow(0 18px 36px rgba(0,0,0,0.6)) drop-shadow(0 0 60px rgba(245, 185, 66, 0.25)); }

.hero::before {
    content: ""; position: absolute; inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 100% 20%, rgba(245, 185, 66, 0.18), transparent 60%),
        radial-gradient(ellipse 60% 40% at 0% 100%, rgba(255, 122, 26, 0.12), transparent 60%);
    pointer-events: none;
}

/* Coin rain particles */
.coin-rain { position: absolute; inset: 0; pointer-events: none; overflow: hidden; z-index: 0; }
.coin-rain .coin {
    position: absolute; top: -30px;
    width: 14px; height: 14px;
    background: var(--gold-gradient);
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(245, 185, 66, 0.6);
    opacity: 0.7;
    animation: fall linear infinite;
}
@keyframes fall {
    to { transform: translateY(120vh) rotate(720deg); }
}

/* ============================================
   ANIMATIONS - scroll reveal
   ============================================ */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity .6s ease, transform .6s ease;
}
.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
    .animate-on-scroll { opacity: 1; transform: none; }
}

/* ============================================
   UTILITIES
   ============================================ */
.mt-0 { margin-top: 0; } .mt-md { margin-top: var(--space-md); } .mt-lg { margin-top: var(--space-lg); } .mt-xl { margin-top: var(--space-xl); }
.mb-0 { margin-bottom: 0; } .mb-md { margin-bottom: var(--space-md); } .mb-lg { margin-bottom: var(--space-lg); } .mb-xl { margin-bottom: var(--space-xl); }

.bg-card { background: var(--card); border-radius: var(--radius-md); padding: var(--space-lg); border: 1px solid var(--border); }

/* SEO text block */
.seo-text { max-width: 820px; margin-inline: auto; color: var(--foreground); }
.seo-text h2, .seo-text h3 { margin-top: 1.6em; }
.seo-text p { margin-bottom: 1em; }
.seo-text a { color: var(--primary-3); text-decoration: underline; text-decoration-color: var(--primary-2); }
.seo-text a:hover { text-decoration-color: var(--primary-3); }

/* Breadcrumbs */
.breadcrumbs { font-size: 14px; color: var(--foreground-muted); margin-bottom: var(--space-md); }
.breadcrumbs a { color: var(--foreground-muted); }
.breadcrumbs a:hover { color: var(--primary-3); }
.breadcrumbs .sep { margin: 0 8px; opacity: 0.6; }

/* Body padding for sticky CTA on mobile */
@media (max-width: 1023px) {
    body { padding-bottom: 80px; }
}

/* ============================================
   REDIRECT STUB (/pharaoh.html)
   ============================================ */
body:has(.redirect-stub) { padding-top: 0; padding-bottom: 0; }
body:has(.redirect-stub) .sticky-cta { display: none; }

.redirect-stub {
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-lg);
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(ellipse 60% 40% at 50% 20%, rgba(245, 185, 66, 0.18), transparent 65%),
        radial-gradient(ellipse 50% 40% at 50% 100%, rgba(255, 122, 26, 0.10), transparent 70%),
        linear-gradient(180deg, var(--background-2), var(--background));
}

.redirect-inner {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 520px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-md);
}

.redirect-brand {
    text-decoration: none;
    font-size: 22px;
    margin-bottom: var(--space-sm);
}
.redirect-brand .logo { width: 56px; height: 56px; }

.redirect-mascot img {
    max-width: 280px;
    width: 100%;
    height: auto;
    animation: bob 3s ease-in-out infinite;
    filter: drop-shadow(0 16px 32px rgba(0,0,0,0.6)) drop-shadow(0 0 50px rgba(245, 185, 66, 0.3));
}

.redirect-headline {
    font-size: clamp(1.6rem, 3vw + 0.8rem, 2.4rem);
    margin: 0;
}

.ankh-spinner {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    border: 3px solid rgba(245, 185, 66, 0.18);
    border-top-color: var(--primary-3);
    box-shadow: var(--amber-glow);
    animation: ankhSpin 1.2s linear infinite;
    margin: 8px 0;
}
.ankh-glyph {
    font-size: 32px;
    color: var(--primary-3);
    text-shadow: var(--amber-glow);
    animation: ankhCounter 1.2s linear infinite;
}
@keyframes ankhSpin {
    to { transform: rotate(360deg); }
}
@keyframes ankhCounter {
    to { transform: rotate(-360deg); }
}

.visually-hidden {
    position: absolute;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0,0,0,0);
    white-space: nowrap; border: 0;
}

.redirect-text {
    color: var(--foreground);
    font-size: 17px;
    margin: 0;
    max-width: 44ch;
}

.redirect-microcopy {
    color: var(--foreground-muted);
    font-size: 13px;
    margin: var(--space-md) 0 0;
}