/* ============================================
   REALZ CASINO - POP-ART COMIC DESIGN SYSTEM
   Lichtenstein meets Ancient Egypt
   ============================================ */

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

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

body {
    margin: 0;
    font-family: "Rubik", system-ui, -apple-system, "Segoe UI", sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--foreground);
    background: var(--background);
    background-image:
        radial-gradient(circle at 10% 0%, rgba(255, 200, 61, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 90% 100%, rgba(255, 46, 77, 0.08) 0%, transparent 40%);
    overflow-x: hidden;
    min-height: 100vh;
}

img, video, iframe, embed, object, svg { max-width: 100%; height: auto; display: block; }
[class*="grid"] > *, [class*="flex"] > * { min-width: 0; }
pre, code { max-width: 100%; overflow-x: auto; }
.table-wrapper { max-width: 100%; overflow-x: auto; }
p, li, td, th { overflow-wrap: break-word; }
input, textarea, select { max-width: 100%; font: inherit; }
section { overflow: clip; }

/* ============================================
   TYPOGRAPHY - Bangers + Bowlby One + Rubik
   ============================================ */
h1, h2, h3, h4, h5, h6 {
    font-family: "Bangers", "Impact", sans-serif;
    font-weight: 400;
    letter-spacing: 0.04em;
    line-height: 1.1;
    text-transform: uppercase;
    margin: 0 0 0.6em;
    color: var(--papyrus);
    -webkit-text-stroke: 1px var(--ink);
}

h1 { font-size: clamp(2.4rem, 7vw + 0.5rem, 4.5rem); color: var(--gold); }
h2 { font-size: clamp(1.8rem, 4.5vw + 0.5rem, 3.25rem); }
h3 { font-size: clamp(1.4rem, 2.5vw + 0.5rem, 2.25rem); }
h4 { font-size: clamp(1.15rem, 1.5vw + 0.5rem, 1.5rem); }

p { margin: 0 0 1.25rem; }

a { color: var(--gold); text-decoration: none; transition: color .2s; }
a:hover, a:focus-visible { color: var(--crimson); text-decoration: underline; text-underline-offset: 4px; }

strong { font-weight: 700; color: var(--gold); }

::selection { background: var(--gold); color: var(--ink); }

.skip-link {
    position: absolute; top: -40px; left: 8px; background: var(--gold);
    color: var(--ink); padding: 10px 16px; font-weight: 700; z-index: 9999;
    border: 3px solid var(--ink); border-radius: 4px;
}
.skip-link:focus { top: 8px; }

/* ============================================
   LAYOUT - Container + Sections
   ============================================ */
.container, .header-inner, .footer-inner, .footer-bar-inner,
.cta-banner-inner, .stat-strip-inner, .trust-row-inner {
    width: 100%;
    max-width: 1240px;
    margin-inline: auto;
    padding-inline: 20px;
}

@media (min-width: 1024px) {
    .container, .header-inner, .footer-inner, .footer-bar-inner,
    .cta-banner-inner, .stat-strip-inner, .trust-row-inner {
        padding-inline: 32px;
    }
}

main { display: block; padding-top: 76px; }
@media (min-width: 1024px) { main { padding-top: 88px; } }

section { padding-block: clamp(48px, 8vw, 96px); }

.section-title {
    text-align: center;
    color: var(--gold);
    margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
}

.section-kicker {
    display: inline-block;
    font-family: "Bangers", sans-serif;
    background: #b8132e;
    color: #fff;
    padding: 6px 16px;
    border: 3px solid var(--ink);
    border-radius: 4px;
    transform: rotate(-2deg);
    margin-bottom: 1rem;
    letter-spacing: 0.05em;
    font-size: 1.25rem;
    font-weight: 400;
}

/* ============================================
   BUTTONS - Comic-style chunky CTAs
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 26px;
    font-family: "Bangers", sans-serif;
    font-size: 1.05rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-decoration: none;
    border: 3px solid var(--ink);
    border-radius: 6px;
    cursor: pointer;
    min-height: 48px;
    transition: transform .18s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow .18s, background .18s;
    box-shadow: 4px 4px 0 var(--ink);
    color: var(--ink);
    background: var(--gold);
    line-height: 1;
}

.btn:hover, .btn:focus-visible {
    transform: translate(-2px, -2px);
    box-shadow: 6px 6px 0 var(--ink);
    text-decoration: none;
    color: var(--ink);
}

.btn:active { transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--ink); }

.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold:hover { background: #ffd566; }

.btn-outline {
    background: transparent;
    color: var(--gold);
    border-color: var(--gold);
    box-shadow: 4px 4px 0 var(--gold-deep);
}
.btn-outline:hover { background: var(--gold); color: var(--ink); }

.btn-ghost {
    background: transparent;
    color: var(--papyrus);
    border-color: var(--papyrus);
    box-shadow: 3px 3px 0 var(--ink);
}
.btn-ghost:hover { background: var(--papyrus); color: var(--ink); }

.btn-accent { background: var(--crimson); color: #fff; }
.btn-accent:hover { background: #ff5872; color: #fff; }

.btn-sm { padding: 10px 18px; font-size: .95rem; min-height: 40px; }
.btn-xl { padding: 18px 36px; font-size: 1.4rem; min-height: 56px; }

.btn-pulse { animation: btnPulse 4s ease-in-out infinite; }
@keyframes btnPulse {
    0%, 100% { box-shadow: 4px 4px 0 var(--ink), 0 0 0 0 rgba(255, 200, 61, 0.6); }
    50% { box-shadow: 4px 4px 0 var(--ink), 0 0 0 14px rgba(255, 200, 61, 0); }
}

/* ============================================
   HEADER - Sticky with chunky bottom border
   ============================================ */
.site-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    background: var(--night);
    border-bottom: 4px solid var(--gold);
    box-shadow: 0 4px 0 var(--ink);
    z-index: 1000;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 72px;
}
@media (min-width: 1024px) { .header-inner { min-height: 84px; } }

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--papyrus);
    flex-shrink: 0;
}
.brand:hover { text-decoration: none; color: var(--gold); }

.brand-mark { display: inline-flex; }
.brand-text { display: inline-flex; flex-direction: column; line-height: 1; font-family: "Bangers", sans-serif; letter-spacing: 0.06em; }
.brand-name { font-size: 1.5rem; color: var(--gold); }
.brand-sub { font-size: 0.85rem; color: var(--papyrus); }

.menu-toggle {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 48px; height: 48px;
    background: var(--gold);
    border: 3px solid var(--ink);
    border-radius: 6px;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
    box-shadow: 3px 3px 0 var(--ink);
}
.menu-toggle span {
    display: block; width: 100%; height: 3px; background: var(--ink); border-radius: 2px;
    transition: transform .25s, opacity .2s;
}
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.main-nav { display: none; }

.nav-list {
    list-style: none; padding: 0; margin: 0;
    display: flex; flex-direction: column; gap: 4px;
}
.nav-link {
    display: flex; align-items: center;
    min-height: 56px;
    padding: 12px 20px;
    color: var(--papyrus);
    font-family: "Bangers", sans-serif;
    font-size: 1.4rem;
    letter-spacing: 0.05em;
    border: 3px solid transparent;
    border-radius: 6px;
    text-decoration: none;
}
.nav-link:hover, .nav-link:focus-visible { color: var(--ink); background: var(--gold); border-color: var(--ink); text-decoration: none; }

.nav-actions { display: flex; gap: 12px; padding: 16px 20px 8px; flex-wrap: wrap; }
.nav-actions .btn { flex: 1; min-width: 130px; }

/* Mobile drawer */
.main-nav#main-nav.is-open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 76px;
    left: 0; right: 0; bottom: 0;
    background: var(--night);
    border-top: 4px solid var(--gold);
    z-index: 999;
    overflow-y: auto;
    padding: 16px 12px 32px;
}

@media (min-width: 1024px) {
    .menu-toggle { display: none; }
    .main-nav {
        display: flex !important;
        position: static !important;
        flex-direction: row;
        align-items: center;
        gap: 24px;
        background: transparent;
        padding: 0;
        border: none;
    }
    .nav-list { flex-direction: row; gap: 4px; }
    .nav-link { font-size: 1.15rem; padding: 8px 14px; min-height: 44px; }
    .nav-actions { padding: 0; }
    .nav-actions .btn { flex: 0 0 auto; min-width: 0; }
    .main-nav#main-nav.is-open { position: static; padding: 0; border: none; }
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
    background: #07061a;
    color: var(--papyrus);
    border-top: 6px solid var(--gold);
    margin-top: 64px;
    background-image: var(--halftone);
    background-size: 14px 14px;
}

.footer-inner {
    display: grid;
    gap: 32px;
    grid-template-columns: 1fr;
    padding-block: 48px;
}

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

.footer-brand { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.footer-brand strong { font-family: "Bangers", sans-serif; font-size: 1.6rem; color: var(--gold); letter-spacing: 0.06em; }
.footer-blurb { color: var(--muted-foreground); max-width: 36ch; font-size: 0.95rem; }

.footer-title {
    font-family: "Bangers", sans-serif;
    color: var(--gold);
    font-size: 1.3rem;
    letter-spacing: 0.06em;
    margin-bottom: 14px;
    -webkit-text-stroke: 0.5px var(--ink);
}

.footer-list, .payment-grid { list-style: none; padding: 0; margin: 0; }
.footer-list li { margin-bottom: 10px; }
.footer-list a { color: var(--papyrus); font-size: 0.95rem; }
.footer-list a:hover { color: var(--gold); }

.payment-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}
.payment-grid li {
    background: var(--card);
    border: 2px solid var(--gold-deep);
    border-radius: 4px;
    padding: 8px 10px;
    text-align: center;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--gold);
    font-family: "Bowlby One", sans-serif;
}

.footer-bar {
    background: var(--ink);
    border-top: 3px solid var(--gold);
    padding-block: 20px;
}
.footer-bar-inner {
    display: flex; flex-direction: column; gap: 16px;
    align-items: center; text-align: center;
}
@media (min-width: 768px) { .footer-bar-inner { flex-direction: row; justify-content: space-between; text-align: left; } }

.footer-badges { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.badge-pill {
    display: inline-flex; align-items: center;
    background: var(--card);
    border: 2px solid var(--gold);
    color: var(--gold);
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 700;
    font-family: "Rubik", sans-serif;
}
.badge-age { background: var(--crimson); color: var(--ink); border-color: var(--ink); }
.copyright { font-size: 0.82rem; color: var(--muted-foreground); margin: 0; }

/* ============================================
   COMPONENT - CTA BANNER
   ============================================ */
.cta-banner {
    position: relative;
    background: var(--night);
    background-image: var(--halftone);
    background-size: 18px 18px;
    border-block: 5px solid var(--gold);
    padding-block: clamp(48px, 8vw, 88px);
    overflow: clip;
}

.cta-burst {
    position: absolute;
    width: 280px; height: 280px;
    background: radial-gradient(circle, var(--crimson) 0%, transparent 70%);
    pointer-events: none;
    opacity: 0.55;
}
.cta-burst-tl { top: -100px; left: -100px; }
.cta-burst-br { bottom: -100px; right: -100px; background: radial-gradient(circle, var(--gold) 0%, transparent 70%); }

.cta-banner-inner {
    position: relative;
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    align-items: center;
    z-index: 2;
}
@media (min-width: 768px) {
    .cta-banner-inner { grid-template-columns: 1.6fr 1fr; }
}

.cta-kicker {
    display: inline-block;
    font-family: "Bangers", sans-serif;
    background: #b8132e; color: #fff;
    padding: 6px 14px;
    border: 3px solid var(--ink);
    transform: rotate(-3deg);
    margin: 0 0 14px;
    letter-spacing: 0.06em;
    font-size: 1.25rem;
}

.cta-headline {
    font-family: "Bangers", sans-serif;
    color: var(--gold);
    font-size: clamp(2rem, 6vw, 3.6rem);
    text-transform: uppercase;
    -webkit-text-stroke: 1.5px var(--ink);
    margin: 0 0 12px;
    line-height: 1;
}

.cta-stat {
    font-family: "Bowlby One", sans-serif;
    font-size: clamp(2.5rem, 8vw, 5rem);
    color: var(--gold);
    -webkit-text-stroke: 2px var(--ink);
    text-shadow: 4px 4px 0 var(--ink);
    margin: 0 0 12px;
    line-height: 1;
}

.cta-sub { color: var(--papyrus); font-size: 1.1rem; margin-bottom: 24px; }

.cta-micro { font-size: 0.85rem; color: var(--muted-foreground); margin: 16px 0 0; }

.cta-mascot {
    justify-self: center;
    width: clamp(180px, 35vw, 280px);
    animation: bob 4s ease-in-out infinite;
}
@keyframes bob {
    0%, 100% { transform: translateY(0) rotate(-2deg); }
    50% { transform: translateY(-10px) rotate(2deg); }
}

/* ============================================
   COMPONENT - GAME CARD
   ============================================ */
.game-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}
@media (min-width: 560px) { .game-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .game-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; } }

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

.game-card {
    background: var(--papyrus);
    color: var(--ink);
    border: 4px solid var(--ink);
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 6px 6px 0 var(--gold-deep);
    transition: transform .2s, box-shadow .2s;
    min-width: 0;
}
.game-card:hover { transform: translate(-4px, -4px); box-shadow: 10px 10px 0 var(--gold-deep); }

.game-card-thumb {
    position: relative;
    aspect-ratio: 16 / 10;
    background: var(--night);
    background-image: var(--halftone);
    background-size: 8px 8px;
    border-bottom: 4px solid var(--ink);
    overflow: hidden;
}
.game-card-thumb img { width: 100%; height: 100%; object-fit: cover; }

.game-thumb-fallback {
    position: absolute; inset: 0;
    display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, var(--gold) 0%, var(--crimson) 100%);
}
.thumb-letter {
    font-family: "Bangers", sans-serif;
    font-size: 5rem;
    color: var(--papyrus);
    -webkit-text-stroke: 2px var(--ink);
}

.game-tag {
    position: absolute;
    top: 12px; right: 12px;
    background: #b8132e;
    color: #fff;
    font-family: "Bangers", sans-serif;
    font-size: 1.05rem;
    letter-spacing: 0.06em;
    padding: 4px 12px;
    border: 3px solid var(--ink);
    border-radius: 4px;
    transform: rotate(4deg);
}

.game-card-body { padding: 16px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.game-card-body .btn-outline {
    background: var(--ink);
    color: var(--gold);
    border-color: var(--ink);
    box-shadow: 4px 4px 0 var(--gold-deep);
}
.game-card-body .btn-outline:hover { background: var(--gold); color: var(--ink); border-color: var(--ink); }
.game-title {
    font-family: "Bangers", sans-serif;
    color: var(--ink);
    font-size: 1.4rem;
    margin: 0;
    -webkit-text-stroke: 0;
    letter-spacing: 0.04em;
}
.game-meta { color: #5c4a2a; font-size: 0.88rem; margin: 0; }
.game-meta strong { color: var(--ink); }
.game-card-body .btn { margin-top: auto; align-self: flex-start; }

/* ============================================
   COMPONENT - STAT STRIP
   ============================================ */
.stat-strip {
    background: var(--card);
    background-image: var(--halftone);
    background-size: 14px 14px;
    border-block: 4px solid var(--gold);
    padding-block: clamp(40px, 6vw, 72px);
}

.stat-strip-inner {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}
@media (min-width: 640px) { .stat-strip-inner { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .stat-strip-inner { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.stat-item {
    text-align: center;
    padding: 16px;
    border: 3px solid var(--gold-deep);
    border-radius: 8px;
    background: rgba(0,0,0,0.2);
}
.stat-number {
    display: block;
    font-family: "Bowlby One", sans-serif;
    font-size: clamp(2.6rem, 7vw, 4.5rem);
    color: var(--gold);
    -webkit-text-stroke: 1.5px var(--ink);
    text-shadow: 3px 3px 0 var(--ink);
    line-height: 1;
}
.stat-label {
    display: block;
    font-family: "Bangers", sans-serif;
    font-size: 1.3rem;
    color: var(--papyrus);
    margin-top: 8px;
    letter-spacing: 0.05em;
}
.stat-note {
    display: block;
    font-size: 0.82rem;
    color: var(--muted-foreground);
    margin-top: 4px;
}

/* ============================================
   COMPONENT - FAQ ACCORDION
   ============================================ */
.faq-section { padding-block: clamp(48px, 8vw, 96px); }
.faq-list { display: flex; flex-direction: column; gap: 14px; max-width: 880px; margin: 0 auto; }

.faq-item {
    background: var(--papyrus);
    color: var(--ink);
    border: 4px solid var(--ink);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 4px 4px 0 var(--gold-deep);
}

.faq-q {
    list-style: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 22px;
    font-family: "Bangers", sans-serif;
    font-size: 1.2rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--ink);
    min-height: 56px;
}
.faq-q::-webkit-details-marker { display: none; }

.faq-icon {
    display: inline-flex; align-items: center; justify-content: center;
    width: 32px; height: 32px;
    background: var(--gold);
    border: 3px solid var(--ink);
    border-radius: 6px;
    font-family: "Bowlby One", sans-serif;
    color: var(--ink);
    font-size: 1.3rem;
    line-height: 1;
    transition: transform .2s;
    flex-shrink: 0;
}

.faq-item[open] .faq-icon { transform: rotate(45deg); background: var(--crimson); color: #fff; }
.faq-item[open] { border-left-width: 8px; border-left-color: var(--crimson); }

.faq-a {
    padding: 0 22px 20px;
    border-top: 2px dotted var(--muted);
    padding-top: 16px;
    color: #1a1a1a;
}
.faq-a p { margin: 0 0 1rem; }
.faq-a p:last-child { margin-bottom: 0; }

/* ============================================
   COMPONENT - TESTIMONIALS
   ============================================ */
.testimonials { padding-block: clamp(48px, 8vw, 96px); }

.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}
@media (min-width: 768px) { .testimonials-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.testimonial-card {
    position: relative;
    background: var(--papyrus);
    color: var(--ink);
    border: 4px solid var(--ink);
    border-radius: 10px;
    padding: 24px 22px 22px;
    margin: 0;
    box-shadow: 6px 6px 0 var(--crimson);
    background-image: var(--halftone);
    background-size: 10px 10px;
    background-position: top right;
}

.testimonial-tail {
    position: absolute;
    bottom: -16px; left: 32px;
    width: 28px; height: 28px;
    background: var(--papyrus);
    border-right: 4px solid var(--ink);
    border-bottom: 4px solid var(--ink);
    transform: rotate(45deg);
}

.testimonial-card blockquote {
    margin: 0 0 16px;
    font-family: "Rubik", sans-serif;
    font-size: 1.05rem;
    font-style: italic;
    color: var(--ink);
    line-height: 1.5;
}

.testimonial-card figcaption {
    display: flex; align-items: center; gap: 12px;
    border-top: 2px dotted var(--muted);
    padding-top: 14px;
}

.t-avatar {
    width: 48px; height: 48px;
    display: inline-flex; align-items: center; justify-content: center;
    background: var(--gold);
    border: 3px solid var(--ink);
    border-radius: 50%;
    font-family: "Bangers", sans-serif;
    font-size: 1.5rem;
    color: var(--ink);
    flex-shrink: 0;
}

.t-meta { display: flex; flex-direction: column; line-height: 1.3; font-size: 0.9rem; color: #3d3015; }
.t-meta strong { color: var(--ink); font-family: "Bangers", sans-serif; font-size: 1.1rem; letter-spacing: 0.04em; font-weight: 400; }
.stars { color: var(--gold-deep); letter-spacing: 2px; font-size: 0.95rem; }

/* ============================================
   COMPONENT - TRUST BADGE ROW
   ============================================ */
.trust-row {
    background: var(--card);
    background-image: var(--halftone);
    background-size: 12px 12px;
    border-block: 3px solid var(--gold-deep);
    padding-block: 32px;
}

.trust-row-inner {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}
@media (min-width: 640px) { .trust-row-inner { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .trust-row-inner { grid-template-columns: repeat(8, minmax(0, 1fr)); } }

.trust-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 14px 8px;
    background: var(--night);
    border: 3px solid var(--ink);
    border-radius: 8px;
    text-align: center;
    box-shadow: 3px 3px 0 var(--gold-deep);
}
.trust-icon {
    display: inline-flex; align-items: center; justify-content: center;
    width: 36px; height: 36px;
    background: var(--gold);
    color: var(--ink);
    border: 2px solid var(--ink);
    border-radius: 50%;
    font-family: "Bowlby One", sans-serif;
    font-size: 1.1rem;
}
.trust-label { font-size: 0.78rem; color: var(--papyrus); font-weight: 500; line-height: 1.2; }

/* ============================================
   ENGAGEMENT PATTERNS
   ============================================ */

/* Summary / TL;DR box */
.tldr-box {
    background: var(--card);
    border: 4px solid var(--gold);
    border-left-width: 10px;
    border-radius: 8px;
    padding: 20px 24px;
    margin-block: 24px;
    box-shadow: 4px 4px 0 var(--ink);
}
.tldr-box h3, .tldr-box .tldr-title {
    font-family: "Bangers", sans-serif;
    color: var(--gold);
    margin: 0 0 8px;
    font-size: 1.2rem;
    letter-spacing: 0.06em;
}
.tldr-box p:last-child { margin-bottom: 0; }

/* Callout / highlight box */
.callout {
    background: var(--card);
    border: 3px solid var(--crimson);
    border-radius: 8px;
    padding: 18px 22px;
    margin-block: 20px;
    box-shadow: 4px 4px 0 var(--ink);
    position: relative;
}
.callout-icon {
    display: inline-block;
    background: #b8132e;
    color: #fff;
    font-family: "Bangers", sans-serif;
    padding: 4px 12px;
    border: 2px solid var(--ink);
    border-radius: 4px;
    margin-bottom: 10px;
    transform: rotate(-2deg);
    font-weight: 700;
    letter-spacing: 0.05em;
}
.callout p:last-child { margin-bottom: 0; }

/* Stat highlight */
.stat-highlight {
    display: inline-block;
    text-align: center;
    padding: 12px 20px;
    background: var(--night);
    border: 3px solid var(--gold);
    border-radius: 8px;
    margin: 12px 8px;
}
.stat-highlight .num {
    display: block;
    font-family: "Bowlby One", sans-serif;
    color: var(--gold);
    font-size: 2rem;
    line-height: 1;
}
.stat-highlight .lbl { font-size: 0.85rem; color: var(--papyrus); }

/* Pull quote */
.pull-quote {
    font-family: "Bangers", sans-serif;
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    color: var(--gold);
    border-left: 6px solid var(--crimson);
    padding: 12px 0 12px 24px;
    margin: 32px 0;
    line-height: 1.2;
    -webkit-text-stroke: 0.5px var(--ink);
    letter-spacing: 0.03em;
}
.pull-quote cite {
    display: block;
    margin-top: 10px;
    font-family: "Rubik", sans-serif;
    font-size: 0.95rem;
    color: var(--muted-foreground);
    font-style: normal;
}

/* Comparison table */
.compare-table-wrap { max-width: 100%; overflow-x: auto; margin-block: 24px; }
.compare-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: var(--card);
    border: 4px solid var(--ink);
    border-radius: 8px;
    overflow: hidden;
    min-width: 480px;
}
.compare-table th, .compare-table td {
    padding: 12px 14px;
    text-align: left;
    border-bottom: 2px solid var(--muted);
    font-size: 0.95rem;
}
.compare-table thead th {
    background: var(--night);
    font-family: "Bangers", sans-serif;
    color: var(--gold);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border-bottom: 3px solid var(--gold);
}
.compare-table tbody tr:last-child td { border-bottom: none; }
.compare-table .recommended { background: rgba(255, 200, 61, 0.12); }
.compare-table .recommended td:first-child { border-left: 4px solid var(--gold); }

/* Section text wrapper */
.prose {
    max-width: 760px;
    margin: 0 auto;
    color: var(--papyrus);
}
.prose p, .prose li { font-size: 1.02rem; line-height: 1.7; }
.prose ul, .prose ol { padding-left: 24px; margin-bottom: 1.25rem; }
.prose li { margin-bottom: 8px; }
.prose h2, .prose h3 { color: var(--gold); margin-top: 1.8em; }
.prose a { text-decoration: underline; text-underline-offset: 3px; }
.callout a { text-decoration: underline; text-underline-offset: 3px; font-weight: 700; }

/* Hero */
.hero {
    position: relative;
    background: var(--night);
    background-image:
        radial-gradient(circle at 20% 20%, rgba(255, 46, 77, 0.18), transparent 45%),
        radial-gradient(circle at 80% 80%, rgba(255, 200, 61, 0.18), transparent 45%),
        var(--halftone);
    background-size: auto, auto, 16px 16px;
    border-bottom: 5px solid var(--gold);
    padding-block: clamp(48px, 8vw, 96px);
    overflow: clip;
}
.hero-inner {
    display: grid;
    gap: 32px;
    grid-template-columns: 1fr;
    align-items: center;
}
@media (min-width: 900px) { .hero-inner { grid-template-columns: 1.3fr 1fr; gap: 48px; } }
.hero h1 {
    font-size: clamp(2.5rem, 8vw, 5.2rem);
    -webkit-text-stroke: 2px var(--ink);
    text-shadow: 4px 4px 0 var(--ink);
    color: var(--gold);
    margin-bottom: 16px;
}
.hero-lead { font-size: 1.15rem; color: var(--papyrus); margin-bottom: 24px; max-width: 56ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 20px; }
.hero-mini { font-size: 0.9rem; color: var(--muted-foreground); }
.hero-art {
    aspect-ratio: 1;
    width: 100%;
    max-width: 460px;
    margin: 0 auto;
    border: 5px solid var(--ink);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 8px 8px 0 var(--crimson);
    background: var(--card);
}
.hero-art img { width: 100%; height: 100%; object-fit: cover; }

/* Internal link bar */
.link-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    margin-block: 24px;
}
@media (min-width: 600px) { .link-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .link-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.link-card {
    display: block;
    background: var(--card);
    border: 3px solid var(--gold);
    border-radius: 8px;
    padding: 16px 18px;
    color: var(--papyrus);
    box-shadow: 4px 4px 0 var(--ink);
    transition: transform .2s, box-shadow .2s;
    text-decoration: none;
}
.link-card:hover { transform: translate(-3px, -3px); box-shadow: 7px 7px 0 var(--ink); text-decoration: none; }
.link-card strong { display: block; font-family: "Bangers", sans-serif; color: var(--gold); font-size: 1.2rem; margin-bottom: 4px; letter-spacing: 0.04em; }
.link-card span { font-size: 0.92rem; color: var(--muted-foreground); }

/* Animation utility */
.animate-on-scroll { opacity: 0; transform: translateY(20px); transition: opacity .6s, transform .6s cubic-bezier(0.34, 1.56, 0.64, 1); }
.animate-on-scroll.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
    .cta-mascot, .btn-pulse { animation: none !important; }
}

/* Focus visible */
:focus-visible {
    outline: 3px solid var(--gold);
    outline-offset: 3px;
    border-radius: 4px;
}

/* ============================================
   GOLD REDIRECT STUB PAGE
   ============================================ */
.gold-redirect {
    padding-top: 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--night);
    background-image:
        radial-gradient(circle at 15% 20%, rgba(255, 46, 77, 0.25), transparent 45%),
        radial-gradient(circle at 85% 80%, rgba(255, 200, 61, 0.25), transparent 45%),
        var(--halftone);
    background-size: auto, auto, 16px 16px;
    overflow: clip;
    position: relative;
    padding: 24px 16px;
}

.gold-stage {
    position: relative;
    width: 100%;
    max-width: 640px;
    padding: 0;
}

.gold-burst {
    position: absolute;
    width: 320px; height: 320px;
    pointer-events: none;
    opacity: 0.55;
    z-index: 0;
}
.gold-burst-tl { top: -140px; left: -140px; background: radial-gradient(circle, var(--crimson) 0%, transparent 70%); }
.gold-burst-br { bottom: -140px; right: -140px; background: radial-gradient(circle, var(--gold) 0%, transparent 70%); }
.gold-burst-tr { top: -100px; right: -120px; width: 220px; height: 220px; background: radial-gradient(circle, var(--gold-deep) 0%, transparent 70%); }

.gold-panel {
    position: relative;
    z-index: 2;
    background: var(--card);
    border: 5px solid var(--gold);
    border-radius: 14px;
    padding: 32px 24px 28px;
    text-align: center;
    box-shadow: 8px 8px 0 var(--ink);
    background-image: var(--halftone);
    background-size: 14px 14px;
}
@media (min-width: 768px) { .gold-panel { padding: 48px 40px 40px; } }

.gold-kicker {
    display: inline-block;
    font-family: "Bangers", sans-serif;
    background: #b8132e;
    color: #fff;
    padding: 6px 16px;
    border: 3px solid var(--ink);
    border-radius: 4px;
    transform: rotate(-3deg);
    margin: 0 0 18px;
    letter-spacing: 0.06em;
    font-size: 1.2rem;
}

.gold-headline {
    font-family: "Bangers", sans-serif;
    color: var(--gold);
    font-size: clamp(2.2rem, 7vw, 3.8rem);
    -webkit-text-stroke: 2px var(--ink);
    text-shadow: 4px 4px 0 var(--ink);
    margin: 0 0 14px;
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.gold-sub {
    color: var(--papyrus);
    font-size: 1.05rem;
    margin: 0 0 24px;
    line-height: 1.5;
}

.gold-mascots {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 12px;
    margin: 8px auto 20px;
    max-width: 380px;
}
.gold-pharaoh, .gold-crab {
    width: 50%;
    max-width: 170px;
    height: auto;
}
.gold-pharaoh { animation: bob 4s ease-in-out infinite; }
.gold-crab { animation: bob 4s ease-in-out infinite reverse; }

.gold-loader {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 20px;
    background: var(--night);
    border: 3px solid var(--ink);
    border-radius: 999px;
    margin: 8px 0 18px;
}
.gold-dot {
    display: inline-block;
    width: 14px; height: 14px;
    background: var(--gold);
    border: 2px solid var(--ink);
    border-radius: 50%;
    animation: goldPulse 1.2s ease-in-out infinite;
}
.gold-dot:nth-child(2) { animation-delay: 0.2s; background: var(--crimson); }
.gold-dot:nth-child(3) { animation-delay: 0.4s; }

@keyframes goldPulse {
    0%, 80%, 100% { transform: scale(0.7); opacity: 0.6; }
    40% { transform: scale(1.15); opacity: 1; }
}

.gold-micro {
    font-size: 0.85rem;
    color: var(--muted-foreground);
    margin: 0;
    letter-spacing: 0.02em;
}

.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;
}
=======