/*
 * GambleZen Casino - Lunar Neon Garden design system
 * Fonts: Sora (display) + Manrope (body)
 */

:root {
    --background: #0c0a1a;
    --foreground: #f0edf7;
    --card: #191430;
    --card-foreground: #f0edf7;
    --popover: #191430;
    --popover-foreground: #f0edf7;
    --primary: #7c3aed;
    --primary-foreground: #ffffff;
    --secondary: #241d40;
    --secondary-foreground: #f0edf7;
    --muted: #2a2348;
    --muted-foreground: #b9b0d4;
    --accent: #22d3ee;
    --accent-foreground: #0c0a1a;
    --destructive: #ea0d33;
    --destructive-foreground: #ffffff;
    --border: #332a52;
    --input: #332a52;
    --ring: #7c3aed;

    /* Spacing rhythm (8px grid) */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2rem;
    --space-xl: 3.5rem;
    --section-gap: 3.5rem;
    --content-pad: 1.25rem;

    --radius: 16px;
    --radius-sm: 10px;
    --max-width: 1200px;
    --header-h: 64px;

    --font-display: "Sora", sans-serif;
    --font-body: "Manrope", sans-serif;

    --glow-violet: 0 0 24px rgba(168, 85, 247, 0.45);
    --glow-turquoise: 0 0 24px rgba(34, 211, 238, 0.5);
    --transition: 250ms ease-out;
}

/* Single dark theme; keep parity so no theme toggle is needed */
.dark {
    --background: #0c0a1a;
    --foreground: #f0edf7;
    --card: #191430;
    --card-foreground: #f0edf7;
    --primary: #7c3aed;
    --primary-foreground: #ffffff;
    --secondary: #241d40;
    --secondary-foreground: #f0edf7;
    --muted: #2a2348;
    --muted-foreground: #b9b0d4;
    --accent: #22d3ee;
    --accent-foreground: #0c0a1a;
    --border: #332a52;
}

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

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 { max-width: 100%; overflow-x: auto; }

p, li, td, th { overflow-wrap: break-word; }

input, textarea, select { max-width: 100%; }

section { overflow: clip; }

/* ============================================
   BASE / TYPOGRAPHY
   ============================================ */
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 17px;
    line-height: 1.6;
    color: var(--foreground);
    background: var(--background);
    background-image:
        radial-gradient(1200px 600px at 80% -10%, rgba(168, 85, 247, 0.12), transparent 60%),
        radial-gradient(900px 500px at -10% 20%, rgba(34, 211, 238, 0.10), transparent 55%);
    background-attachment: fixed;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
    font-family: var(--font-display);
    letter-spacing: -0.02em;
    line-height: 1.2;
    margin: 0 0 var(--space-sm);
    color: var(--foreground);
}

h1 { font-size: clamp(1.875rem, 5vw, 2.5rem); font-weight: 800; }
h2 { font-size: clamp(1.5rem, 4vw, 1.875rem); font-weight: 700; }
h3 { font-size: clamp(1.25rem, 3vw, 1.375rem); font-weight: 600; }

p { margin: 0 0 1.625rem; }
p:last-child { margin-bottom: 0; }

a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }

ul, ol { padding-left: 1.25rem; }

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

.skip-link {
    position: absolute; left: -999px; top: 0; z-index: 2000;
    background: var(--primary); color: var(--primary-foreground);
    padding: 0.75rem 1rem; border-radius: var(--radius-sm);
}
.skip-link:focus { left: 1rem; top: 1rem; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* Body-copy links inside dark card surfaces use accent for AA contrast */
.callout a, .text-block a, .pullquote a, .faq-item__answer a, .trust-item a {
    color: var(--accent);
}

/* ============================================
   LAYOUT HELPERS
   .container - centered content column
   .section - vertical rhythm wrapper
   ============================================ */
.container {
    width: 100%;
    max-width: var(--max-width);
    margin-inline: auto;
    padding-inline: var(--content-pad);
}

.section { padding-block: var(--section-gap); }

.section__head { max-width: 760px; margin-bottom: var(--space-lg); }
.section__head--center { margin-inline: auto; text-align: center; }
.section__eyebrow {
    display: inline-block;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.8125rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: var(--space-xs);
}
.section__lead { color: var(--muted-foreground); font-size: 1.0625rem; }

.text-block { max-width: 760px; margin-inline: auto; }
.text-block p { color: var(--foreground); }

@media (min-width: 1024px) {
    :root { --section-gap: 5rem; --content-pad: 2rem; }
}

/* ============================================
   BUTTONS
   .btn--primary - electric violet, turquoise halo
   .btn--ghost - outlined
   .btn--lg - large hero/CTA size
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-height: 48px;
    padding: 0.75rem 1.5rem;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1rem;
    border-radius: 999px;
    border: 1px solid transparent;
    cursor: pointer;
    text-decoration: none;
    transition: transform var(--transition), box-shadow var(--transition), background var(--transition), border-color var(--transition);
    text-align: center;
}
.btn:hover { text-decoration: none; }

.btn--primary {
    background: var(--primary);
    color: var(--primary-foreground);
    box-shadow: var(--glow-violet);
}
.btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 0 4px rgba(34, 211, 238, 0.28), 0 0 30px rgba(34, 211, 238, 0.4);
}

.btn--ghost {
    background: transparent;
    color: var(--foreground);
    border-color: var(--border);
}
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); }

.btn--lg { min-height: 56px; padding: 1rem 2.25rem; font-size: 1.0625rem; }

/* ============================================
   HEADER + NAV
   ============================================ */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(12, 10, 26, 0.82);
    border-bottom: 1px solid var(--border);
}
@media (min-width: 768px) {
    .site-header { backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
}

.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-md);
    max-width: var(--max-width);
    margin-inline: auto;
    padding: 0.75rem var(--content-pad);
    min-height: var(--header-h);
}

.site-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    font-family: var(--font-display);
}
.site-brand__mark {
    display: grid;
    place-items: center;
    width: 34px; height: 34px;
    border-radius: 50%;
    font-weight: 800;
    color: #fff;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    box-shadow: var(--glow-violet);
}
.site-brand__text {
    font-weight: 800;
    font-size: 1.25rem;
    color: var(--foreground);
    letter-spacing: -0.02em;
}
.site-brand:hover { text-decoration: none; }

.nav-toggle {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 48px; height: 48px;
    padding: 12px;
    background: transparent;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    cursor: pointer;
    z-index: 1001;
}
.nav-toggle span {
    display: block;
    height: 2px;
    width: 100%;
    background: var(--foreground);
    border-radius: 2px;
    transition: transform var(--transition), opacity var(--transition);
}
.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); }

/* Mobile drawer (default hidden) */
.primary-nav {
    display: none;
    position: fixed;
    top: var(--header-h);
    left: 0; right: 0; bottom: 0;
    z-index: 999;
    flex-direction: column;
    gap: var(--space-md);
    padding: var(--space-lg) var(--content-pad);
    background: var(--background);
    border-top: 1px solid var(--border);
    overflow-y: auto;
}
.primary-nav.is-open { display: flex; }

.primary-nav__list {
    list-style: none;
    margin: 0; padding: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.25rem;
}
.primary-nav__list a {
    display: flex;
    align-items: center;
    min-height: 48px;
    padding: 0.5rem 0.75rem;
    color: var(--foreground);
    font-family: var(--font-display);
    font-weight: 600;
    border-radius: var(--radius-sm);
}
.primary-nav__list a:hover { text-decoration: none; background: var(--secondary); color: var(--accent); }

.primary-nav__actions {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

@media (min-width: 1024px) {
    .nav-toggle { display: none; }
    .primary-nav {
        display: flex;
        position: static;
        flex-direction: row;
        align-items: center;
        gap: var(--space-lg);
        padding: 0;
        background: transparent;
        border: 0;
        overflow: visible;
    }
    .primary-nav__list { flex-direction: row; gap: var(--space-sm); }
    .primary-nav__list a { min-height: 44px; }
    .primary-nav__actions { flex-direction: row; }
    .primary-nav__actions .btn { min-height: 44px; padding-block: 0.5rem; }
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
    margin-top: var(--section-gap);
    background: var(--card);
    border-top: 1px solid var(--border);
}
.site-footer__inner {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-lg);
    max-width: var(--max-width);
    margin-inline: auto;
    padding: var(--space-xl) var(--content-pad);
}
.site-footer__title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--foreground);
    margin-bottom: var(--space-sm);
}
.site-footer__note { color: var(--muted-foreground); font-size: 0.9375rem; }
.site-footer__links, .site-footer__badges, .payment-badges {
    list-style: none; margin: 0; padding: 0;
    display: flex; flex-direction: column; gap: 0.5rem;
}
.site-footer__links a { color: var(--muted-foreground); }
.site-footer__links a:hover { color: var(--accent); text-decoration: none; }

.payment-badges {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.5rem;
}
.payment-badges li {
    padding: 0.35rem 0.7rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    color: var(--muted-foreground);
    background: var(--secondary);
    text-align: center;
}
.site-footer__badges { flex-direction: row; gap: 0.5rem; }
.license-badge, .age-badge {
    padding: 0.4rem 0.8rem;
    border-radius: var(--radius-sm);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.85rem;
}
.license-badge { border: 1px solid var(--accent); color: var(--accent); }
.age-badge { background: var(--destructive); color: var(--destructive-foreground); }

.site-brand--footer .site-brand__text { font-size: 1.125rem; }
.site-brand--footer { margin-bottom: var(--space-sm); }

.site-footer__bottom {
    border-top: 1px solid var(--border);
    padding: var(--space-md) var(--content-pad);
    text-align: center;
}
.site-footer__bottom p { margin: 0; color: var(--muted-foreground); font-size: 0.875rem; }

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

/* ============================================
   HERO - full-bleed lunar neon banner
   ============================================ */
.hero {
    position: relative;
    padding-block: var(--section-gap);
    background:
        radial-gradient(700px 500px at 75% 30%, rgba(168, 85, 247, 0.22), transparent 60%),
        radial-gradient(600px 400px at 15% 80%, rgba(34, 211, 238, 0.16), transparent 60%);
}
.hero__inner {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-lg);
    align-items: center;
    max-width: var(--max-width);
    margin-inline: auto;
    padding-inline: var(--content-pad);
}
.hero__content { max-width: 620px; }
.hero__title { margin-bottom: var(--space-md); }
.hero__subtitle {
    color: var(--muted-foreground);
    font-size: 1.125rem;
    margin-bottom: var(--space-lg);
}
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--space-sm); }
.hero__media { position: relative; }
.hero__media img {
    width: 100%;
    border-radius: var(--radius);
    box-shadow: var(--glow-violet);
}

@media (min-width: 1024px) {
    .hero__inner { grid-template-columns: 1.1fr 0.9fr; gap: var(--space-xl); }
}

/* ============================================
   GRIDS - responsive card layouts
   ============================================ */
.grid { display: grid; gap: var(--space-md); grid-template-columns: 1fr; }
@media (min-width: 768px) { .grid--2, .grid--3, .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)); }
}

/* ============================================
   GAME CARD
   ============================================ */
.game-card {
    display: flex;
    flex-direction: column;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.game-card:hover {
    transform: scale(1.03);
    border-color: var(--primary);
    box-shadow: var(--glow-violet);
}
.game-card__media { position: relative; }
.game-card__media img { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.game-card__badge {
    position: absolute; top: 0.75rem; left: 0.75rem;
    background: var(--accent); color: var(--accent-foreground);
    font-family: var(--font-display); font-weight: 700; font-size: 0.75rem;
    padding: 0.25rem 0.6rem; border-radius: 999px;
}
.game-card__body { display: flex; flex-direction: column; gap: 0.5rem; padding: var(--space-md); }
.game-card__title { font-size: 1.125rem; margin: 0; color: var(--foreground); }
.game-card__provider { margin: 0; color: var(--muted-foreground); font-size: 0.9rem; }
.game-card__cta { margin-top: 0.5rem; align-self: flex-start; }

/* ============================================
   BONUS CARD
   ============================================ */
.bonus-card {
    position: relative;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: clamp(1.25rem, 4vw, 2rem);
    overflow: hidden;
    transition: transform var(--transition), box-shadow var(--transition);
    text-align: center;
}
.bonus-card:hover { transform: translateY(-4px); box-shadow: var(--glow-violet); }
.bonus-card__orb {
    position: absolute;
    width: 260px; height: 260px;
    top: -80px; left: 50%; transform: translateX(-50%);
    background: radial-gradient(circle, rgba(168, 85, 247, 0.5), rgba(34, 211, 238, 0.25) 55%, transparent 70%);
    filter: blur(10px);
    pointer-events: none;
}
.bonus-card__content { position: relative; z-index: 1; }
.bonus-card__percent {
    display: block;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(2.75rem, 9vw, 3.75rem);
    line-height: 1;
    color: var(--accent);
    text-shadow: var(--glow-turquoise);
    margin-bottom: 0.5rem;
}
.bonus-card__label { font-family: var(--font-display); font-weight: 700; margin: 0 0 0.25rem; }
.bonus-card__spins { color: var(--foreground); margin: 0 0 0.5rem; font-weight: 600; }
.bonus-card__terms { color: var(--muted-foreground); font-size: 0.85rem; margin: 0 0 var(--space-md); }
.bonus-card__cta { width: 100%; }

/* ============================================
   STAT HIGHLIGHT
   ============================================ */
.stat-highlight {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-md);
    text-align: center;
}
.stat-highlight__block {
    padding: var(--space-md);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--card);
}
.stat-highlight__number {
    display: block;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(2.25rem, 7vw, 3rem);
    line-height: 1;
    color: var(--accent);
    text-shadow: var(--glow-turquoise);
    margin-bottom: 0.5rem;
}
.stat-highlight__label { display: block; color: var(--foreground); font-weight: 600; }
.stat-highlight__note { display: block; color: var(--muted-foreground); font-size: 0.8rem; margin-top: 0.25rem; }

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

/* ============================================
   FAQ ACCORDION
   ============================================ */
.faq-accordion { max-width: var(--max-width); margin-inline: auto; display: flex; flex-direction: column; gap: 0.75rem; }
.faq-item {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    transition: box-shadow var(--transition);
}
.faq-item:hover { box-shadow: var(--glow-violet); }
.faq-item__question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-sm);
    padding: var(--space-md);
    cursor: pointer;
    font-family: var(--font-display);
    font-weight: 600;
    color: var(--foreground);
    list-style: none;
}
.faq-item__question::-webkit-details-marker { display: none; }
.faq-item__icon {
    flex-shrink: 0;
    width: 22px; height: 22px;
    position: relative;
    transition: transform var(--transition);
}
.faq-item__icon::before, .faq-item__icon::after {
    content: "";
    position: absolute;
    background: var(--accent);
    border-radius: 2px;
    top: 50%; left: 50%;
}
.faq-item__icon::before { width: 14px; height: 2px; transform: translate(-50%, -50%); }
.faq-item__icon::after { width: 2px; height: 14px; transform: translate(-50%, -50%); }
.faq-item[open] .faq-item__icon::after { transform: translate(-50%, -50%) scaleY(0); }
.faq-item__answer { padding: 0 var(--space-md) var(--space-md); }
.faq-item__answer p { color: var(--muted-foreground); font-size: 1.0625rem; }

/* ============================================
   CTA BAND
   ============================================ */
.cta-band {
    position: relative;
    padding-block: var(--section-gap);
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.28), rgba(34, 211, 238, 0.2));
    border-block: 1px solid var(--border);
    text-align: center;
}
.cta-band__orb {
    position: absolute;
    width: 320px; height: 320px;
    border-radius: 50%;
    filter: blur(30px);
    pointer-events: none;
    opacity: 0.5;
}
.cta-band__orb--one { top: -120px; left: -60px; background: radial-gradient(circle, rgba(168,85,247,0.6), transparent 70%); }
.cta-band__orb--two { bottom: -120px; right: -60px; background: radial-gradient(circle, rgba(34,211,238,0.5), transparent 70%); }
.cta-band__inner {
    position: relative;
    z-index: 1;
    max-width: 720px;
    margin-inline: auto;
    padding-inline: var(--content-pad);
}
.cta-band__heading { margin-bottom: var(--space-sm); }
.cta-band__subtext { color: var(--foreground); font-size: 1.125rem; margin-bottom: var(--space-lg); }
.cta-band__micro { color: var(--muted-foreground); font-size: 0.85rem; margin-top: var(--space-sm); margin-bottom: 0; }

/* ============================================
   PAYMENT LOGO STRIP
   ============================================ */
.payment-strip { text-align: center; }
.payment-strip__title { color: var(--muted-foreground); margin-bottom: var(--space-md); }
.payment-strip__list {
    list-style: none; margin: 0; padding: 0;
    display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-sm);
}
.payment-strip__tile {
    display: grid;
    place-items: center;
    min-height: 64px;
    min-width: 110px;
    padding: 0.75rem 1rem;
    background: var(--secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--foreground);
    font-family: var(--font-display);
    font-weight: 600;
    transition: border-color var(--transition), box-shadow var(--transition);
}
.payment-strip__tile:hover { border-color: var(--accent); box-shadow: var(--glow-turquoise); }
.payment-strip__tile img { width: auto; max-height: 40px; }

/* ============================================
   ENGAGEMENT PATTERNS
   .summary-box / .callout / .pullquote / details
   ============================================ */
.summary-box {
    background: var(--secondary);
    border: 1px solid var(--border);
    border-left: 4px solid var(--accent);
    border-radius: var(--radius-sm);
    padding: var(--space-md);
    margin-bottom: var(--space-lg);
}
.summary-box h2, .summary-box h3 { margin-top: 0; }
.summary-box p:last-child { margin-bottom: 0; }

.callout {
    background: var(--card);
    border: 1px solid var(--border);
    border-left: 4px solid var(--primary);
    border-radius: var(--radius-sm);
    padding: var(--space-md);
    margin-block: var(--space-lg);
}
.callout--accent { border-left-color: var(--accent); }
.callout p:last-child { margin-bottom: 0; }

.pullquote {
    border: 0;
    margin: var(--space-lg) 0;
    padding: var(--space-md) var(--space-lg);
    background: var(--card);
    border-radius: var(--radius);
    box-shadow: var(--glow-violet);
    text-align: center;
}
.pullquote__figure {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(2rem, 7vw, 2.75rem);
    color: var(--accent);
    text-shadow: var(--glow-turquoise);
    display: block;
    margin-bottom: 0.5rem;
}
.pullquote p { font-size: 1.125rem; margin: 0; }
.pullquote cite { display: block; margin-top: var(--space-sm); color: var(--muted-foreground); font-style: normal; font-size: 0.9rem; }

/* Standalone details (outside faq macro) */
details.info {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: var(--space-sm) var(--space-md);
    margin-bottom: var(--space-sm);
}
details.info summary { cursor: pointer; font-family: var(--font-display); font-weight: 600; }

/* ============================================
   TABLES / COMPARISON
   ============================================ */
.table-wrapper { margin-block: var(--space-lg); border: 1px solid var(--border); border-radius: var(--radius-sm); }
.data-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 480px;
}
.data-table th, .data-table td {
    padding: 0.85rem 1rem;
    text-align: left;
    border-bottom: 1px solid var(--border);
}
.data-table thead th {
    font-family: var(--font-display);
    font-weight: 700;
    color: var(--foreground);
    background: var(--secondary);
}
.data-table tbody tr:nth-child(even) { background: rgba(255, 255, 255, 0.02); }
.data-table td { color: var(--muted-foreground); }
.data-table .is-recommended { background: rgba(34, 211, 238, 0.08); }

/* ============================================
   TRUST BADGES ROW
   ============================================ */
.trust-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-md);
    align-items: center;
}
.trust-item {
    display: flex;
    gap: var(--space-md);
    align-items: center;
    padding: var(--space-md);
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}
.trust-item img { width: 72px; height: 72px; object-fit: contain; flex-shrink: 0; }
.trust-item h3 { margin: 0 0 0.25rem; }
.trust-item p { margin: 0; color: var(--muted-foreground); font-size: 0.95rem; }
@media (min-width: 768px) { .trust-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ============================================
   TOURNAMENT / CALLOUT BAND
   ============================================ */
.feature-band {
    position: relative;
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-lg);
    align-items: center;
    padding: clamp(1.5rem, 5vw, 3rem);
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
}
.feature-band__media img { border-radius: var(--radius); width: 100%; }
.feature-band__dates {
    font-family: var(--font-display);
    font-weight: 700;
    color: var(--accent);
    margin-bottom: var(--space-sm);
}
@media (min-width: 1024px) { .feature-band { grid-template-columns: 1fr 1fr; } }

/* Category tiles */
.category-tile {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.75rem;
    padding: var(--space-lg) var(--space-md);
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}
.category-tile:hover { transform: scale(1.03); border-color: var(--primary); box-shadow: var(--glow-violet); }
.category-tile img { width: 72px; height: 72px; object-fit: contain; }
.category-tile h3 { margin: 0; }
.category-tile p { margin: 0; color: var(--muted-foreground); font-size: 0.95rem; }

/* ============================================
   MOTION / SCROLL ANIMATIONS
   ============================================ */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 500ms ease-out, transform 500ms ease-out;
}
.animate-on-scroll.is-visible { opacity: 1; transform: translateY(0); }

/* staggered children delays */
.grid .animate-on-scroll:nth-child(2) { transition-delay: 80ms; }
.grid .animate-on-scroll:nth-child(3) { transition-delay: 160ms; }
.grid .animate-on-scroll:nth-child(4) { transition-delay: 240ms; }
.stat-highlight .animate-on-scroll:nth-child(2) { transition-delay: 80ms; }
.stat-highlight .animate-on-scroll:nth-child(3) { transition-delay: 160ms; }
.stat-highlight .animate-on-scroll:nth-child(4) { transition-delay: 240ms; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .animate-on-scroll { opacity: 1; transform: none; transition: none; }
    * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

/* a11y-autofix: link-in-text-block */
/* axe link-in-text-block: inline links inside body copy must be
   distinguishable without relying on color. Scope to text containers so
   nav/button/card links (already visually distinct) keep their styling. */
:where(p, li, blockquote, figcaption, dd, .prose, .seo-text, article)
  a:not([class]) {
  text-decoration: underline;
  text-underline-offset: 0.15em;
}
