/* ============================================
   ICE FISHING CASINO - Nordic Fantasy Design System
   Mobile-first, dark-only, epic viking aesthetic
   ============================================ */

/* ============================================
   OVERFLOW PREVENTION
   ============================================ */
*, *::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; min-width: 0; }

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

html { scroll-behavior: smooth; }

/* ============================================
   BASE TYPOGRAPHY
   Cinzel Decorative for headings (viking rune feel)
   Rubik for body (clean, mobile-legible)
   ============================================ */
body {
    margin: 0;
    font-family: "Rubik", -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 17px;
    line-height: 1.6;
    color: var(--foreground);
    background: var(--background);
    background-image:
        radial-gradient(ellipse 80% 50% at 15% 0%, rgba(58, 184, 230, 0.12), transparent 60%),
        radial-gradient(ellipse 70% 40% at 85% 10%, rgba(122, 255, 201, 0.08), transparent 60%),
        radial-gradient(ellipse 90% 60% at 50% 100%, rgba(245, 184, 0, 0.06), transparent 70%);
    background-attachment: fixed;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
    font-family: "Cinzel Decorative", "Rubik", serif;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.02em;
    margin: 0 0 var(--space-sm);
    color: var(--foreground);
    text-shadow: 0 2px 20px rgba(245, 184, 0, 0.15);
}

h1 { font-size: clamp(1.75rem, 5vw + 0.5rem, 2.75rem); font-weight: 900; }
h2 { font-size: clamp(1.5rem, 3vw + 0.5rem, 2.125rem); font-weight: 700; }
h3 { font-size: clamp(1.25rem, 2vw + 0.5rem, 1.5rem); font-weight: 700; }
h4 { font-size: clamp(1.05rem, 1vw + 0.75rem, 1.2rem); font-weight: 600; }

p { margin: 0 0 var(--space-sm); color: var(--foreground); }
p + p { margin-top: var(--space-sm); }

a {
    color: var(--primary-bright);
    text-decoration: none;
    transition: color 180ms ease;
}
a:hover { color: var(--accent-bright); }

/* Links inside paragraphs/list items get an underline for a11y distinguishability */
p a, li p a, .faq-answer a, .content-zone p a, .internal-link-hub p a {
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}
p a:hover, li p a:hover, .faq-answer a:hover, .content-zone p a:hover, .internal-link-hub p a:hover {
    text-decoration-thickness: 2px;
}

strong { color: var(--accent-bright); font-weight: 600; }

small { font-size: 0.875rem; color: var(--muted-foreground); }

::selection { background: var(--accent); color: var(--accent-foreground); }

/* ============================================
   ACCESSIBILITY
   ============================================ */
.skip-link {
    position: absolute;
    top: -100px;
    left: 8px;
    padding: 12px 20px;
    background: var(--accent);
    color: var(--accent-foreground);
    font-weight: 600;
    border-radius: var(--radius-sm);
    z-index: 9999;
    transition: top 200ms;
}
.skip-link:focus { top: 8px; }

:focus-visible {
    outline: 2px solid var(--primary-bright);
    outline-offset: 3px;
    border-radius: 4px;
}

/* ============================================
   LAYOUT CONTAINERS
   ============================================ */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--space-sm);
}

@media (min-width: 768px) {
    .container { padding: 0 var(--space-lg); }
}

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

/* ============================================
   HEADER & NAVIGATION
   Fixed, frosted, opaque-on-mobile
   ============================================ */
.site-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    height: var(--header-h);
    background: rgba(10, 22, 40, 0.92);
    border-bottom: 1px solid var(--border);
    z-index: 1000;
}

@media (min-width: 1024px) {
    .site-header {
        background: rgba(10, 22, 40, 0.75);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
    }
}

.header-inner {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--space-sm);
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-sm);
}

/* ============================================
   THEME TOGGLE (header icon button)
   ============================================ */
.theme-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin-left: auto;
    border: 1px solid var(--border);
    border-radius: 50%;
    background: var(--card);
    color: var(--primary-bright);
    cursor: pointer;
    transition: border-color 200ms ease, color 200ms ease, box-shadow 200ms ease;
    flex-shrink: 0;
    padding: 0;
}
.theme-toggle:hover,
.theme-toggle:focus-visible {
    border-color: var(--primary-bright);
    color: var(--accent-bright);
    box-shadow: 0 0 0 3px rgba(95, 210, 255, 0.18);
    outline: none;
}
.theme-toggle .theme-icon { display: block; }
.theme-toggle .theme-icon-sun { display: none; }
[data-theme="light"] .theme-toggle .theme-icon-moon { display: none; }
[data-theme="light"] .theme-toggle .theme-icon-sun { display: block; }

@media (min-width: 1024px) {
    .theme-toggle { margin-left: 0; order: 3; }
}

/* ============================================
   LIGHT THEME OVERRIDES
   Brighter Nordic daylight palette. Dark is brand default.
   ============================================ */
[data-theme="light"] {
    --background: #eef4fb;
    --background-alt: #ffffff;
    --foreground: #0a1628;
    --card: #ffffff;
    --card-elevated: #f5f9fd;
    --card-foreground: #0a1628;
    --primary: #0e7fb0;
    --primary-bright: #0099cc;
    --primary-foreground: #ffffff;
    --secondary: #d8e6f3;
    --secondary-foreground: #0a1628;
    --muted: #e2ecf6;
    --muted-foreground: #41607c;
    --accent: #c98a00;
    --accent-bright: #e8a516;
    --accent-foreground: #0a1628;
    --aurora: #2db58a;
    --aurora-glow: rgba(45, 181, 138, 0.28);
    --rune: rgba(14, 127, 176, 0.45);
    --rune-bright: rgba(14, 127, 176, 0.85);
    --gold-glow: rgba(201, 138, 0, 0.32);
    --border: #c2d4e6;
    --border-bright: #0099cc;
    --input: #ffffff;
    --ring: #0099cc;
    --destructive: #b31212;
}

[data-theme="light"] body {
    background-image:
        radial-gradient(ellipse 80% 50% at 15% 0%, rgba(0, 153, 204, 0.10), transparent 60%),
        radial-gradient(ellipse 70% 40% at 85% 10%, rgba(45, 181, 138, 0.08), transparent 60%),
        radial-gradient(ellipse 90% 60% at 50% 100%, rgba(201, 138, 0, 0.06), transparent 70%);
}

[data-theme="light"] .site-header {
    background: rgba(238, 244, 251, 0.94);
    border-bottom-color: var(--border);
}

@media (min-width: 1024px) {
    [data-theme="light"] .site-header {
        background: rgba(238, 244, 251, 0.78);
    }
}

@media (min-width: 768px) { .header-inner { padding: 0 var(--space-lg); } }

body { padding-top: var(--header-h); }

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--foreground);
    font-weight: 700;
    text-decoration: none;
}

.logo {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--accent) 0%, var(--secondary) 70%);
    padding: 4px;
    box-shadow: 0 0 18px var(--gold-glow);
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.05;
}
.brand-name {
    font-family: "Cinzel Decorative", serif;
    font-size: 1.05rem;
    color: var(--foreground);
    letter-spacing: 0.04em;
}
.brand-sub {
    font-family: "Cinzel Decorative", serif;
    font-size: 0.75rem;
    color: var(--accent);
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

/* Nav */
.site-nav {
    display: none;
}

@media (min-width: 1024px) {
    .site-nav {
        display: flex;
        align-items: center;
        gap: var(--space-lg);
    }
    .nav-list {
        display: flex;
        gap: var(--space-md);
        list-style: none;
        margin: 0; padding: 0;
    }
    .nav-link {
        color: var(--foreground);
        font-weight: 500;
        font-size: 0.95rem;
        padding: 8px 4px;
        position: relative;
        transition: color 180ms;
    }
    .nav-link::after {
        content: '';
        position: absolute;
        bottom: 2px; left: 0; right: 0;
        height: 2px;
        background: linear-gradient(90deg, transparent, var(--accent), transparent);
        transform: scaleX(0);
        transition: transform 220ms ease;
    }
    .nav-link:hover { color: var(--accent-bright); }
    .nav-link:hover::after { transform: scaleX(1); }
    .nav-cta-group { display: flex; gap: 10px; }
}

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

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

/* Mobile drawer */
@media (max-width: 1023.98px) {
    .site-nav {
        position: fixed;
        top: var(--header-h);
        left: 0; right: 0; bottom: 0;
        display: none;
        flex-direction: column;
        padding: var(--space-lg);
        background: var(--background);
        background-image:
            radial-gradient(ellipse 60% 40% at 50% 0%, rgba(122, 255, 201, 0.12), transparent 60%),
            radial-gradient(ellipse 80% 50% at 50% 100%, rgba(58, 184, 230, 0.15), transparent 70%);
        overflow-y: auto;
        z-index: 999;
    }
    .site-nav.is-open { display: flex; }

    .nav-list {
        list-style: none;
        margin: 0 0 var(--space-lg);
        padding: 0;
        display: flex;
        flex-direction: column;
    }
    .nav-list li {
        border-bottom: 1px solid var(--border);
    }
    .nav-link {
        display: flex;
        align-items: center;
        min-height: 56px;
        font-family: "Cinzel Decorative", serif;
        font-size: 1.2rem;
        color: var(--foreground);
        padding: 4px 0;
    }
    .nav-link:hover { color: var(--accent-bright); }
    .nav-cta-group {
        display: flex;
        flex-direction: column;
        gap: var(--space-sm);
        margin-top: auto;
    }
    .nav-cta-group .btn { width: 100%; }
}

.menu-backdrop { display: none; }

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    padding: 12px 24px;
    font-family: "Rubik", sans-serif;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    border-radius: var(--radius-pill);
    border: 2px solid transparent;
    cursor: pointer;
    text-decoration: none;
    transition: transform 180ms ease, box-shadow 240ms ease, background 200ms ease;
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-bright) 100%);
    color: var(--accent-foreground);
    box-shadow: 0 4px 20px var(--gold-glow), inset 0 1px 0 rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.15);
}
.btn-primary:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 32px rgba(245, 184, 0, 0.55), 0 0 40px var(--rune-bright), inset 0 1px 0 rgba(255,255,255,0.35);
    color: var(--accent-foreground);
}

.btn-ghost {
    background: transparent;
    color: var(--foreground);
    border: 1.5px solid var(--primary);
    box-shadow: inset 0 0 0 1px transparent;
}
.btn-ghost:hover {
    background: rgba(58, 184, 230, 0.08);
    border-color: var(--primary-bright);
    color: var(--primary-bright);
    transform: translateY(-2px);
}

.btn-xl {
    min-height: 58px;
    padding: 16px 40px;
    font-size: 1.125rem;
}

.btn-pulse {
    animation: pulse-rune 2.4s ease-in-out infinite;
}

@keyframes pulse-rune {
    0%, 100% {
        box-shadow: 0 4px 20px var(--gold-glow), 0 0 0 0 rgba(95, 210, 255, 0.6), inset 0 1px 0 rgba(255,255,255,0.3);
    }
    50% {
        box-shadow: 0 8px 28px rgba(245, 184, 0, 0.55), 0 0 0 14px rgba(95, 210, 255, 0), 0 0 36px var(--rune-bright), inset 0 1px 0 rgba(255,255,255,0.35);
    }
}

@media (prefers-reduced-motion: reduce) {
    .btn-pulse { animation: none; }
    * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* ============================================
   RUNE BORDERS & DECORATIVE FRAMES
   Applied to many blocks - signature element
   ============================================ */
.rune-frame {
    position: relative;
    border: 1px solid var(--rune);
    border-radius: var(--radius-lg);
    background: linear-gradient(180deg, var(--card) 0%, var(--card-elevated) 100%);
    box-shadow: 0 0 0 1px rgba(58, 184, 230, 0.1), 0 20px 60px rgba(0, 0, 0, 0.4);
}

.rune-corner {
    position: absolute;
    width: 42px;
    height: 42px;
    pointer-events: none;
    opacity: 0.7;
    background:
        linear-gradient(90deg, var(--rune-bright), transparent) top/100% 1.5px no-repeat,
        linear-gradient(0deg, var(--rune-bright), transparent) left/1.5px 100% no-repeat;
    filter: drop-shadow(0 0 6px var(--rune-bright));
}
.rune-corner-tl { top: 10px; left: 10px; }
.rune-corner-tr { top: 10px; right: 10px; transform: scaleX(-1); }
.rune-corner-bl { bottom: 10px; left: 10px; transform: scaleY(-1); }
.rune-corner-br { bottom: 10px; right: 10px; transform: scale(-1, -1); }

/* ============================================
   HERO SECTIONS
   ============================================ */
.hero {
    position: relative;
    padding: var(--space-2xl) 0 var(--space-xl);
    overflow: clip;
    isolation: isolate;
}

@media (min-width: 1024px) {
    .hero { padding: var(--space-3xl) 0; }
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(ellipse 60% 50% at 70% 30%, rgba(122, 255, 201, 0.25), transparent 60%),
        radial-gradient(ellipse 70% 60% at 20% 80%, rgba(58, 184, 230, 0.25), transparent 65%),
        radial-gradient(ellipse 80% 40% at 50% 0%, rgba(245, 184, 0, 0.1), transparent 70%);
    animation: aurora-drift 18s ease-in-out infinite alternate;
}

@keyframes aurora-drift {
    0% { transform: translate3d(0, 0, 0) scale(1); }
    100% { transform: translate3d(-3%, 2%, 0) scale(1.08); }
}

.hero-inner {
    display: grid;
    gap: var(--space-lg);
    align-items: center;
}

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

.hero-eyebrow {
    display: inline-block;
    padding: 6px 14px;
    margin-bottom: var(--space-sm);
    font-family: "Cinzel Decorative", serif;
    font-size: 0.8rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--accent-bright);
    background: rgba(245, 184, 0, 0.1);
    border: 1px solid var(--accent);
    border-radius: var(--radius-pill);
}

.hero h1 {
    font-size: clamp(2rem, 6vw + 0.5rem, 3.5rem);
    line-height: 1.1;
    margin-bottom: var(--space-md);
}

.hero p.lead {
    font-size: clamp(1.05rem, 1.5vw + 0.5rem, 1.25rem);
    color: var(--muted-foreground);
    margin-bottom: var(--space-lg);
    max-width: 58ch;
}

.hero-ctas {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
    margin-bottom: var(--space-md);
}

.hero-visual {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.6), 0 0 0 1px var(--rune);
}
.hero-visual img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 4/5;
    object-fit: cover;
}

.hero-jackpot-ticker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 18px;
    background: rgba(10, 22, 40, 0.6);
    border: 1px solid var(--accent);
    border-radius: var(--radius-pill);
    font-family: "Cinzel Decorative", serif;
    color: var(--accent-bright);
    box-shadow: 0 0 24px rgba(245, 184, 0, 0.3);
    margin-top: var(--space-sm);
}
.hero-jackpot-ticker::before {
    content: '';
    display: inline-block;
    width: 10px; height: 10px;
    border-radius: 50%;
    background: var(--aurora);
    box-shadow: 0 0 10px var(--aurora);
    animation: pulse-dot 1.6s ease-in-out infinite;
}
@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.7); }
}

/* ============================================
   INFO CARDS
   ============================================ */
.card-grid {
    display: grid;
    gap: var(--space-md);
    grid-template-columns: 1fr;
}
@media (min-width: 640px) {
    .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-md); }
}
@media (min-width: 1024px) {
    .card-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-lg); }
    .card-grid.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .card-grid.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.info-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    background: linear-gradient(180deg, var(--card) 0%, var(--card-elevated) 100%);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: transform 260ms ease, border-color 260ms ease, box-shadow 260ms ease;
}
.info-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-lg);
    pointer-events: none;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
}
.info-card:hover {
    transform: translateY(-6px) rotate(-0.5deg);
    border-color: var(--rune-bright);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 0 1px var(--rune-bright), 0 0 28px rgba(95, 210, 255, 0.2);
}

.card-image {
    position: relative;
    aspect-ratio: 16/10;
    overflow: hidden;
    background: radial-gradient(ellipse at center, rgba(122, 255, 201, 0.12), var(--secondary) 70%);
}
.card-image img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 400ms ease;
}
.info-card:hover .card-image img { transform: scale(1.05); }
.card-glow {
    position: absolute;
    inset: auto -20% -30% -20%;
    height: 60%;
    background: radial-gradient(ellipse at center top, var(--aurora-glow), transparent 70%);
    pointer-events: none;
}

.card-body {
    padding: var(--space-md);
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex-grow: 1;
}

.card-tag {
    font-family: "Cinzel Decorative", serif;
    font-size: 0.72rem;
    color: var(--aurora);
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

.card-title {
    font-family: "Cinzel Decorative", serif;
    font-size: 1.25rem;
    color: var(--foreground);
    margin: 0;
}

.card-desc {
    color: var(--muted-foreground);
    font-size: 0.95rem;
    margin: 0;
    flex-grow: 1;
}

.card-badge {
    position: absolute;
    top: 14px; right: 14px;
    z-index: 2;
    padding: 6px 12px;
    font-family: "Cinzel Decorative", serif;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--accent-foreground);
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-bright) 100%);
    border: 1.5px solid rgba(95, 210, 255, 0.5);
    border-radius: var(--radius-sm);
    box-shadow: 0 4px 14px var(--gold-glow);
}

.card-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: auto;
    padding-top: var(--space-xs);
    color: var(--accent-bright);
    font-weight: 600;
    font-size: 0.95rem;
    transition: gap 180ms ease, color 180ms ease;
}
.card-link:hover {
    color: var(--accent);
    gap: 12px;
}

.card-rune {
    opacity: 0.45;
}

/* ============================================
   STAT HIGHLIGHTS
   ============================================ */
.stat-row {
    display: grid;
    gap: var(--space-sm);
    grid-template-columns: 1fr;
}
@media (min-width: 640px) {
    .stat-row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-md); }
}
@media (min-width: 1024px) {
    .stat-row { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-md); }
    .stat-row.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.stat-highlight {
    position: relative;
    padding: var(--space-md) var(--space-sm);
    text-align: center;
    background: linear-gradient(180deg, var(--card) 0%, var(--card-elevated) 100%);
    border: 1px solid var(--rune);
    border-radius: var(--radius-md);
    overflow: hidden;
}
.stat-highlight::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, var(--aurora-glow), transparent 60%);
    opacity: 0.4;
    pointer-events: none;
}

.stat-number {
    display: block;
    font-family: "Cinzel Decorative", serif;
    font-size: clamp(2rem, 5vw + 0.5rem, 3rem);
    font-weight: 900;
    color: var(--accent-bright);
    text-shadow: 0 0 24px var(--gold-glow), 0 2px 0 rgba(0,0,0,0.3);
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    display: block;
    color: var(--foreground);
    font-weight: 500;
    font-size: 0.95rem;
    line-height: 1.4;
    margin-bottom: 6px;
}

.stat-source {
    display: block;
    color: var(--muted-foreground);
    font-size: 0.75rem;
    letter-spacing: 0.05em;
}

.stat-icon {
    display: inline-block;
    font-size: 1.5rem;
    margin-bottom: 6px;
}

.stat-scale {
    position: absolute;
    top: 8px; right: 8px;
    width: 16px; height: 16px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--primary-bright) 20%, transparent 70%);
    opacity: 0.6;
}

/* ============================================
   TRUST BADGES ROW
   ============================================ */
.trust-row {
    padding: var(--space-md) var(--space-sm);
    background: var(--card);
    border-top: 1px solid var(--rune);
    border-bottom: 1px solid var(--rune);
    border-radius: var(--radius-md);
}

.trust-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-sm);
    list-style: none;
    margin: 0; padding: 0;
    justify-items: center;
    align-items: center;
}

@media (min-width: 640px) { .trust-list { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .trust-list { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: var(--space-md); } }

.trust-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 10px 14px;
    min-height: 48px;
    min-width: 0;
    color: var(--muted-foreground);
    transition: color 220ms, transform 220ms;
    text-align: center;
}
.trust-item:hover {
    color: var(--foreground);
    transform: translateY(-2px);
    filter: drop-shadow(0 0 8px var(--aurora-glow));
}

.trust-icon {
    font-size: 1.5rem;
}

.trust-label {
    font-family: "Cinzel Decorative", serif;
    font-size: 0.95rem;
    letter-spacing: 0.08em;
    color: var(--foreground);
}

.trust-sub {
    font-size: 0.72rem;
    color: var(--muted-foreground);
}

.trust-caption {
    text-align: center;
    color: var(--muted-foreground);
    font-size: 0.85rem;
    margin: var(--space-md) 0 0;
}

/* ============================================
   CTA BANNER COMPONENT
   ============================================ */
.cta-banner {
    position: relative;
    display: block;
    padding: var(--space-2xl) var(--space-sm);
    margin: var(--space-xl) 0;
    background:
        radial-gradient(ellipse 60% 80% at 100% 0%, var(--aurora-glow), transparent 60%),
        linear-gradient(180deg, var(--card) 0%, var(--secondary) 100%);
    border-top: 1.5px solid var(--rune-bright);
    border-bottom: 1.5px solid var(--rune-bright);
    border-radius: var(--radius-lg);
    overflow: clip;
}

@media (min-width: 1024px) {
    .cta-banner { padding: var(--space-3xl) var(--space-lg); }
}

.cta-banner-inner {
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.cta-title {
    font-size: clamp(1.6rem, 4vw + 0.5rem, 2.4rem);
    color: var(--foreground);
    margin-bottom: var(--space-sm);
    text-shadow: 0 2px 20px var(--gold-glow);
}

.cta-sub {
    color: var(--muted-foreground);
    font-size: 1.05rem;
    margin-bottom: var(--space-lg);
}

.cta-micro {
    margin-top: var(--space-md);
    color: var(--muted-foreground);
    font-size: 0.8rem;
    letter-spacing: 0.02em;
}

.cta-mascot {
    position: absolute;
    right: -20px;
    bottom: -10px;
    opacity: 0.22;
    pointer-events: none;
    z-index: 0;
}
.cta-mascot img { width: 140px; height: auto; }

@media (min-width: 768px) {
    .cta-mascot { right: 20px; bottom: 20px; opacity: 0.45; }
    .cta-mascot img { width: 180px; }
}

/* ============================================
   FAQ ACCORDION
   ============================================ */
.faq-section {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.faq-heading {
    text-align: center;
    margin-bottom: var(--space-lg);
}

.faq-list {
    display: flex;
    flex-direction: column;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.faq-item {
    border-bottom: 1px solid var(--rune);
    transition: background 220ms;
}
.faq-item:last-child { border-bottom: none; }
.faq-item[open] {
    background: rgba(58, 184, 230, 0.04);
    border-left: 3px solid var(--aurora);
}

.faq-item summary {
    list-style: none;
    cursor: pointer;
    padding: var(--space-md) var(--space-sm);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-sm);
    min-height: 56px;
    user-select: none;
}
.faq-item summary::-webkit-details-marker { display: none; }

.faq-q {
    font-family: "Cinzel Decorative", serif;
    font-size: 1rem;
    color: var(--foreground);
    line-height: 1.35;
    flex-grow: 1;
}

.faq-icon {
    flex-shrink: 0;
    width: 32px; height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-size: 1.5rem;
    font-weight: 700;
    border: 1px solid var(--accent);
    border-radius: 50%;
    transition: transform 300ms ease, background 220ms;
}
.faq-item[open] .faq-icon {
    transform: rotate(45deg);
    background: var(--accent);
    color: var(--accent-foreground);
}

.faq-answer {
    padding: 0 var(--space-sm) var(--space-md);
    color: var(--foreground);
    line-height: 1.65;
    animation: faq-reveal 400ms ease-out;
}
.faq-answer p { margin-bottom: var(--space-sm); color: var(--foreground); }
.faq-answer p:last-child { margin-bottom: 0; }

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

@media (min-width: 768px) {
    .faq-item summary { padding: var(--space-md) var(--space-lg); }
    .faq-q { font-size: 1.1rem; }
    .faq-answer { padding: 0 var(--space-lg) var(--space-md); }
}

/* ============================================
   TABLES
   ============================================ */
.table-wrapper {
    margin: var(--space-md) 0;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    background: var(--card);
    overflow-x: auto;
}
.table-wrapper:focus-visible {
    outline: 2px solid var(--primary-bright);
    outline-offset: 2px;
}

table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
    min-width: 560px;
}

thead {
    background: linear-gradient(90deg, var(--secondary), var(--muted));
}

th {
    font-family: "Cinzel Decorative", serif;
    font-size: 0.88rem;
    color: var(--accent-bright);
    text-align: left;
    padding: 14px 16px;
    letter-spacing: 0.08em;
    border-bottom: 2px solid var(--rune);
}

td {
    padding: 14px 16px;
    color: var(--foreground);
    border-bottom: 1px solid var(--border);
}

tbody tr:nth-child(even) { background: rgba(58, 184, 230, 0.04); }
tbody tr:hover { background: rgba(245, 184, 0, 0.06); }
tbody tr:last-child td { border-bottom: none; }

td.highlight, tr.recommended td {
    color: var(--accent-bright);
    font-weight: 600;
}

/* ============================================
   LISTS
   ============================================ */
ul, ol {
    padding-left: 1.4em;
    margin: 0 0 var(--space-md);
    color: var(--foreground);
}

ul li::marker { color: var(--accent); }
ol li::marker { color: var(--accent); font-weight: 700; }

li { margin-bottom: 0.4em; }

.check-list {
    list-style: none;
    padding: 0;
}
.check-list li {
    position: relative;
    padding-left: 2em;
    margin-bottom: var(--space-xs);
}
.check-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    width: 24px; height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-foreground);
    background: var(--accent);
    border-radius: 50%;
    font-size: 0.85rem;
    font-weight: 700;
}

/* ============================================
   CALLOUTS & ENGAGEMENT PATTERNS
   ============================================ */
.callout {
    padding: var(--space-md) var(--space-lg);
    margin: var(--space-md) 0;
    background: rgba(58, 184, 230, 0.08);
    border-left: 4px solid var(--primary);
    border-radius: var(--radius-md);
}
.callout-accent {
    background: rgba(245, 184, 0, 0.08);
    border-left-color: var(--accent);
}
.callout-aurora {
    background: rgba(122, 255, 201, 0.08);
    border-left-color: var(--aurora);
}
.callout h4 {
    margin-bottom: 8px;
    color: var(--accent-bright);
}

.tldr-box {
    padding: var(--space-md) var(--space-lg);
    margin: var(--space-md) 0;
    background: linear-gradient(135deg, rgba(245, 184, 0, 0.12) 0%, rgba(58, 184, 230, 0.1) 100%);
    border: 1px solid var(--accent);
    border-radius: var(--radius-md);
    position: relative;
}
.tldr-box::before {
    content: 'TL;DR';
    position: absolute;
    top: -10px; left: var(--space-md);
    padding: 2px 10px;
    font-family: "Cinzel Decorative", serif;
    font-size: 0.78rem;
    letter-spacing: 0.2em;
    background: var(--accent);
    color: var(--accent-foreground);
    border-radius: var(--radius-pill);
}
.tldr-box p:last-child { margin-bottom: 0; }

blockquote {
    position: relative;
    margin: var(--space-lg) 0;
    padding: var(--space-md) var(--space-lg);
    font-family: "Cinzel Decorative", serif;
    font-size: 1.2rem;
    line-height: 1.5;
    color: var(--foreground);
    background: var(--card);
    border-left: 4px solid var(--accent);
    border-radius: var(--radius-md);
    box-shadow: 0 0 28px rgba(245, 184, 0, 0.15);
}
blockquote cite {
    display: block;
    margin-top: var(--space-sm);
    font-family: "Rubik", sans-serif;
    font-size: 0.9rem;
    font-style: normal;
    color: var(--muted-foreground);
}
blockquote cite::before { content: '- '; }

.pull-quote {
    margin: var(--space-xl) 0;
    padding: var(--space-lg);
    text-align: center;
    font-family: "Cinzel Decorative", serif;
    font-size: clamp(1.2rem, 2vw + 0.8rem, 1.8rem);
    color: var(--accent-bright);
    border-top: 2px solid var(--rune);
    border-bottom: 2px solid var(--rune);
    text-shadow: 0 0 24px var(--gold-glow);
}

/* ============================================
   COMPARISON TABLES / RECOMMENDED
   ============================================ */
.comparison-table th.recommended,
.comparison-table td.recommended {
    background: linear-gradient(180deg, rgba(245, 184, 0, 0.15), rgba(245, 184, 0, 0.05));
    color: var(--accent-bright);
    position: relative;
}
.comparison-table th.recommended::after {
    content: '★';
    position: absolute;
    top: 4px; right: 8px;
    color: var(--accent);
}

/* ============================================
   SECTION HEADER HELPERS
   ============================================ */
.section-head {
    text-align: center;
    margin-bottom: var(--space-xl);
}
.section-eyebrow {
    display: inline-block;
    padding: 4px 14px;
    margin-bottom: var(--space-sm);
    font-family: "Cinzel Decorative", serif;
    font-size: 0.78rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--aurora);
    border: 1px solid var(--rune);
    border-radius: var(--radius-pill);
}
.section-lead {
    max-width: 64ch;
    margin: var(--space-sm) auto 0;
    color: var(--muted-foreground);
    font-size: 1.05rem;
}

/* ============================================
   TWO-COLUMN LAYOUT (hero-like content blocks)
   ============================================ */
.two-col {
    display: grid;
    gap: var(--space-lg);
    align-items: center;
}
@media (min-width: 1024px) {
    .two-col { grid-template-columns: 1fr 1fr; gap: var(--space-2xl); }
    .two-col.reverse > :first-child { order: 2; }
}

.two-col-img {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--rune);
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}
.two-col-img img {
    display: block;
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
}

/* ============================================
   STEP LIST
   ============================================ */
.steps {
    counter-reset: step;
    list-style: none;
    padding: 0;
    display: grid;
    gap: var(--space-md);
}
@media (min-width: 768px) {
    .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
    .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

.steps li {
    counter-increment: step;
    position: relative;
    padding: var(--space-lg) var(--space-md) var(--space-md);
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    margin-bottom: 0;
}
.steps li::before {
    content: counter(step);
    position: absolute;
    top: -18px; left: var(--space-md);
    width: 38px; height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: "Cinzel Decorative", serif;
    font-size: 1.2rem;
    font-weight: 900;
    color: var(--accent-foreground);
    background: linear-gradient(135deg, var(--accent), var(--accent-bright));
    border-radius: 50%;
    box-shadow: 0 0 18px var(--gold-glow);
}
.steps li h4 { margin-bottom: 6px; color: var(--accent-bright); }
.steps li p { margin-bottom: 0; font-size: 0.95rem; color: var(--muted-foreground); }

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
    margin-top: var(--space-3xl);
    background: linear-gradient(180deg, var(--background) 0%, #060f1d 100%);
    border-top: 1px solid var(--rune);
    padding: var(--space-2xl) 0 var(--space-md);
}

.footer-inner {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--space-sm);
    display: grid;
    gap: var(--space-lg);
    grid-template-columns: 1fr;
}

@media (min-width: 640px) {
    .footer-inner { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 0 var(--space-lg); }
}
@media (min-width: 1024px) {
    .footer-inner { grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: var(--space-xl); }
}

.footer-brand .brand { margin-bottom: var(--space-sm); }

.footer-tagline {
    color: var(--muted-foreground);
    font-size: 0.95rem;
    margin-bottom: var(--space-md);
    max-width: 40ch;
}

.age-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 14px;
    background: #8b0000;
    color: #ffffff;
    border-radius: var(--radius-sm);
    font-family: "Cinzel Decorative", serif;
}
.age-badge span { font-size: 1.25rem; font-weight: 900; color: #ffffff; }
.age-badge small {
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 700;
}

.footer-title {
    font-family: "Cinzel Decorative", serif;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--accent-bright);
    margin: 0 0 var(--space-sm);
    line-height: 1.3;
}

.footer-links, .footer-badges {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-badges {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px;
}

.footer-links a {
    color: var(--muted-foreground);
    font-size: 0.92rem;
    transition: color 180ms;
}
.footer-links a:hover { color: var(--accent-bright); }

.pay-pill, .lic-pill {
    display: inline-block;
    padding: 6px 12px;
    font-size: 0.78rem;
    font-family: "Cinzel Decorative", serif;
    letter-spacing: 0.08em;
    color: var(--foreground);
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
}
.lic-pill { color: var(--aurora); border-color: var(--aurora); }
.license-badges { margin-top: 10px; }

.footer-bottom {
    max-width: var(--container-max);
    margin: var(--space-lg) auto 0;
    padding: var(--space-md) var(--space-sm) 0;
    border-top: 1px solid var(--border);
    text-align: center;
}
.copyright, .disclaimer {
    color: var(--muted-foreground);
    font-size: 0.82rem;
    line-height: 1.6;
    margin-bottom: 6px;
}
.copyright a { color: var(--primary-bright); }

/* ============================================
   STICKY MOBILE CTA
   ============================================ */
.sticky-cta-nav {
    position: fixed;
    bottom: 12px;
    left: 12px;
    right: 12px;
    z-index: 950;
    margin: 0;
    padding: 0;
}

.sticky-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 54px;
    padding: 10px 18px;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-bright) 100%);
    color: var(--accent-foreground);
    font-family: "Cinzel Decorative", serif;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    border-radius: var(--radius-pill);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5), 0 0 28px var(--gold-glow);
    animation: pulse-rune 2.6s ease-in-out infinite;
}
.sticky-cta-sub {
    font-family: "Rubik", sans-serif;
    font-weight: 400;
    font-size: 0.82rem;
    opacity: 0.9;
}

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

body { padding-bottom: 80px; }
@media (min-width: 1024px) { body { padding-bottom: 0; } }

/* ============================================
   SCROLL REVEAL ANIMATIONS
   ============================================ */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 600ms ease-out, transform 600ms cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}
.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.card-grid .animate-on-scroll:nth-child(1) { transition-delay: 0ms; }
.card-grid .animate-on-scroll:nth-child(2) { transition-delay: 80ms; }
.card-grid .animate-on-scroll:nth-child(3) { transition-delay: 160ms; }
.card-grid .animate-on-scroll:nth-child(4) { transition-delay: 240ms; }
.card-grid .animate-on-scroll:nth-child(5) { transition-delay: 320ms; }
.card-grid .animate-on-scroll:nth-child(6) { transition-delay: 400ms; }

/* ============================================
   COIN RAIN (GSAP-style, CSS only)
   ============================================ */
.coin-rain {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 100;
    overflow: hidden;
}
.coin-rain .coin {
    position: absolute;
    top: -40px;
    width: 18px; height: 18px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 30%, #ffe67a, #f5b800 60%, #8a5a00 100%);
    box-shadow: 0 0 8px var(--gold-glow);
    animation: coin-fall 2.4s cubic-bezier(0.4, 0.1, 0.8, 1) forwards;
}

@keyframes coin-fall {
    0% { transform: translateY(0) rotate(0deg); opacity: 0; }
    10% { opacity: 1; }
    100% { transform: translateY(110vh) rotate(720deg); opacity: 0.7; }
}

/* ============================================
   BITE PAGE (minimal redirect stub)
   ============================================ */
.bite-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--space-lg);
    padding: var(--space-lg);
    background:
        radial-gradient(ellipse 70% 50% at 50% 30%, rgba(58, 184, 230, 0.2), transparent 60%),
        radial-gradient(ellipse 50% 40% at 50% 80%, rgba(122, 255, 201, 0.15), transparent 60%),
        var(--background);
    text-align: center;
}
.bite-logo {
    width: 96px; height: 96px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--accent), var(--secondary));
    padding: 8px;
    animation: pulse-logo 1.6s ease-in-out infinite;
    box-shadow: 0 0 60px var(--gold-glow);
}
@keyframes pulse-logo {
    0%, 100% { transform: scale(1); box-shadow: 0 0 60px var(--gold-glow); }
    50% { transform: scale(1.08); box-shadow: 0 0 100px rgba(245, 184, 0, 0.7); }
}
.bite-text {
    font-family: "Cinzel Decorative", serif;
    font-size: 1.4rem;
    color: var(--foreground);
}
.bite-spinner {
    width: 40px; height: 40px;
    border: 3px solid var(--border);
    border-top-color: var(--accent);
    border-radius: 50%;
    animation: spin 0.9s linear infinite;
}
@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ============================================
   UTILITIES
   ============================================ */
.text-center { text-align: center; }
.text-accent { color: var(--accent-bright); }
.text-aurora { color: var(--aurora); }
.text-muted { color: var(--muted-foreground); }
.mb-sm { margin-bottom: var(--space-sm); }
.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }
.mt-lg { margin-top: var(--space-lg); }

.content-zone {
    max-width: 900px;
    margin: 0 auto;
}
.content-zone h2 { margin-top: var(--space-xl); }
.content-zone h3 { margin-top: var(--space-lg); }

.internal-link-hub {
    padding: var(--space-lg);
    background: var(--card);
    border: 1px solid var(--rune);
    border-radius: var(--radius-md);
    margin: var(--space-lg) 0;
}
.internal-link-hub a {
    font-weight: 600;
    border-bottom: 1px dashed var(--primary);
}
.internal-link-hub a:hover {
    color: var(--accent-bright);
    border-bottom-color: var(--accent);
}