/* ============================================
   CasinoLab Casino - Alchemic Fantasy Design System
   Mobile-first, dark-only, GSAP-friendly
   ============================================ */

/* Reset & Box Sizing */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: "Inter Tight", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--foreground);
    background: var(--background);
    background-image:
        radial-gradient(ellipse at 15% 10%, rgba(0, 255, 136, 0.08), transparent 50%),
        radial-gradient(ellipse at 85% 90%, rgba(123, 47, 255, 0.10), transparent 55%),
        radial-gradient(ellipse at 50% 50%, rgba(13, 17, 23, 1), rgba(13, 17, 23, 1));
    background-attachment: fixed;
    min-height: 100vh;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

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

/* ============================================
   TYPOGRAPHY
   Cinzel Decorative for headings (alchemic manuscripts)
   Inter Tight for body
   ============================================ */
h1, h2, h3, h4, h5, h6 {
    font-family: "Cinzel Decorative", "Cinzel", Georgia, serif;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: 0.02em;
    margin: 0 0 0.6em;
    color: var(--foreground);
}
h1 { font-size: clamp(1.85rem, 6vw + 0.5rem, 3.5rem); }
h2 { font-size: clamp(1.55rem, 4vw + 0.5rem, 2.6rem); }
h3 { font-size: clamp(1.2rem, 2vw + 0.5rem, 1.75rem); font-weight: 600; }
h4 { font-size: 1.15rem; }
p { margin: 0 0 1.25rem; color: var(--foreground); }
p + p { margin-top: 0; }
a { color: var(--primary); text-decoration: none; transition: color .2s ease; }
a:hover, a:focus-visible { color: #6effb3; text-decoration: underline; }
strong { font-weight: 700; color: var(--foreground); }
small { font-size: 0.875rem; color: var(--muted-foreground); }

.eyebrow {
    font-family: "Cinzel Decorative", serif;
    font-size: 0.78rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--primary);
    margin: 0 0 0.6rem;
    display: inline-block;
}

@media (min-width: 1024px) {
    body { font-size: 17px; }
}

/* ============================================
   LAYOUT - Container & Section
   ============================================ */
.container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 20px;
}
.container-narrow { max-width: 880px; }
@media (min-width: 768px) { .container { padding: 0 32px; } }

section { padding: 64px 0; }
@media (min-width: 1024px) { section { padding: 112px 0; } }

.section-title { text-align: center; margin-bottom: 0.5em; }
.section-subtitle {
    text-align: center;
    color: var(--muted-foreground);
    max-width: 720px;
    margin: 0 auto 2.5rem;
    font-size: 1.05rem;
}

.skip-link {
    position: absolute; top: -40px; left: 0;
    background: var(--primary); color: #0d1117;
    padding: 8px 16px; z-index: 9999;
    font-weight: 700;
}
.skip-link:focus { top: 0; color: #0d1117; }
.skip-link:hover { color: #0d1117; text-decoration: none; }

/* ============================================
   BUTTONS - Alchemic Potion Buttons
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    min-height: 48px;
    font-family: "Cinzel Decorative", serif;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    border-radius: 999px;
    border: 1.5px solid transparent;
    cursor: pointer;
    transition: transform .25s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow .25s ease, background .25s ease;
    text-decoration: none;
    white-space: nowrap;
    position: relative;
}
.btn-lg { padding: 18px 36px; min-height: 56px; font-size: 1.05rem; }
.btn-sm { padding: 10px 18px; min-height: 40px; font-size: 0.85rem; }
.btn-block { width: 100%; }

.btn-primary {
    background: linear-gradient(135deg, #00ff88 0%, #00d472 100%);
    color: var(--primary-foreground);
    border-color: rgba(0, 255, 136, 0.6);
    box-shadow: 0 0 0 0 rgba(0, 255, 136, 0.5), 0 8px 28px rgba(0, 255, 136, 0.25);
}
.btn-primary:hover, .btn-primary:focus-visible {
    transform: translateY(-2px);
    color: var(--primary-foreground);
    text-decoration: none;
    box-shadow: 0 0 0 8px rgba(0, 255, 136, 0.15), 0 14px 36px rgba(0, 255, 136, 0.4);
}

.btn-ghost {
    background: transparent;
    color: var(--foreground);
    border-color: var(--border);
}
.btn-ghost:hover, .btn-ghost:focus-visible {
    background: rgba(255, 255, 255, 0.06);
    color: var(--primary);
    border-color: var(--primary);
    text-decoration: none;
}

.btn-secondary {
    background: linear-gradient(135deg, #7b2fff 0%, #5a1fcc 100%);
    color: #fff;
    border-color: rgba(123, 47, 255, 0.6);
}

/* Pulsing green alchemic glow */
@keyframes pulse-alchemy {
    0%, 100% { box-shadow: 0 0 0 0 rgba(0, 255, 136, 0.55), 0 8px 28px rgba(0, 255, 136, 0.3); }
    50% { box-shadow: 0 0 0 12px rgba(0, 255, 136, 0), 0 12px 36px rgba(0, 255, 136, 0.45); }
}
.btn-pulse { animation: pulse-alchemy 1.8s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce) { .btn-pulse { animation: none; } }

/* ============================================
   HEADER - Fixed top, alchemic glass
   ============================================ */
.site-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    background: rgba(13, 17, 23, 0.88);
    border-bottom: 1px solid rgba(0, 255, 136, 0.18);
    height: var(--header-h-mobile);
}
@media (min-width: 1024px) {
    .site-header {
        height: var(--header-h-desktop);
        backdrop-filter: blur(14px);
        -webkit-backdrop-filter: blur(14px);
    }
}
body { padding-top: var(--header-h-mobile); }
@media (min-width: 1024px) { body { padding-top: var(--header-h-desktop); } }

.header-inner {
    height: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}
@media (min-width: 768px) { .header-inner { padding: 0 32px; } }

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--foreground);
    flex-shrink: 0;
}
.brand:hover { text-decoration: none; }
.brand-logo { display: inline-flex; filter: drop-shadow(0 0 8px rgba(0, 255, 136, 0.4)); }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name {
    font-family: "Cinzel Decorative", serif;
    font-weight: 900;
    font-size: 1.1rem;
    letter-spacing: 0.05em;
    color: var(--foreground);
}
.brand-tag {
    font-size: 0.65rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--primary);
    margin-top: 2px;
}
@media (min-width: 768px) {
    .brand-name { font-size: 1.25rem; }
    .brand-tag { font-size: 0.7rem; }
}

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

/* Theme toggle - alchemic light switch */
.theme-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    background: transparent;
    border: 1px solid var(--border);
    border-radius: 999px;
    color: var(--primary);
    cursor: pointer;
    transition: border-color .25s ease, background .25s ease, transform .25s ease;
    position: relative;
    flex-shrink: 0;
    margin-left: 4px;
}
.theme-toggle:hover, .theme-toggle:focus-visible {
    border-color: var(--primary);
    background: rgba(0, 255, 136, 0.08);
    transform: rotate(15deg);
}
.theme-toggle-icon {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    line-height: 1;
    transition: opacity .25s ease, transform .35s ease;
}
.theme-toggle-sun { opacity: 0; transform: rotate(-90deg) scale(0.6); color: var(--accent); }
.theme-toggle-moon { opacity: 1; transform: rotate(0) scale(1); }
.theme-toggle[aria-pressed="true"] .theme-toggle-sun { opacity: 1; transform: rotate(0) scale(1); }
.theme-toggle[aria-pressed="true"] .theme-toggle-moon { opacity: 0; transform: rotate(90deg) scale(0.6); }

/* Light theme overrides - parchment laboratory */
.theme-light {
    --background: #f4ecd8;
    --background-elevated: #ede2c4;
    --foreground: #1a1f2c;
    --card: #fbf5e3;
    --card-foreground: #1a1f2c;
    --popover: #fbf5e3;
    --popover-foreground: #1a1f2c;
    --primary: #00a657;
    --primary-foreground: #ffffff;
    --secondary: #4a1fcc;
    --secondary-foreground: #ffffff;
    --muted: #e2d5b3;
    --muted-foreground: #4b5363;
    --accent: #b8860b;
    --accent-foreground: #ffffff;
    --border: #d6c79c;
    --input: #f0e6cc;
    --ring: #00a657;
}
.theme-light body,
body.theme-light {
    background-image:
        radial-gradient(ellipse at 15% 10%, rgba(0, 166, 87, 0.10), transparent 50%),
        radial-gradient(ellipse at 85% 90%, rgba(74, 31, 204, 0.10), transparent 55%),
        radial-gradient(ellipse at 50% 50%, #f4ecd8, #f4ecd8);
}
.theme-light .site-header {
    background: rgba(244, 236, 216, 0.92);
    border-bottom-color: rgba(0, 166, 87, 0.25);
}
.theme-light .main-nav {
    background: var(--background);
}

/* Main nav */
.main-nav {
    display: none;
    position: fixed;
    top: var(--header-h-mobile);
    left: 0; right: 0; bottom: 0;
    background: var(--background);
    background-image:
        radial-gradient(ellipse at 50% 0%, rgba(0, 255, 136, 0.12), transparent 60%),
        radial-gradient(ellipse at 100% 100%, rgba(123, 47, 255, 0.15), transparent 60%);
    padding: 32px 24px 48px;
    overflow-y: auto;
    z-index: 999;
    flex-direction: column;
    gap: 24px;
}
.main-nav.is-open { display: flex; }
.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 16px;
    font-family: "Cinzel Decorative", serif;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--foreground);
    border-radius: 12px;
    border: 1px solid transparent;
    transition: all .2s ease;
}
.nav-link:hover, .nav-link:focus-visible {
    background: rgba(0, 255, 136, 0.08);
    color: var(--primary);
    border-color: rgba(0, 255, 136, 0.25);
    text-decoration: none;
}
.nav-cta-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: auto;
}
.nav-cta-group .btn { width: 100%; }

@media (min-width: 1024px) {
    .mobile-toggle { display: none; }
    .main-nav {
        display: flex !important;
        position: static;
        background: none;
        padding: 0;
        flex-direction: row;
        align-items: center;
        gap: 32px;
        overflow: visible;
    }
    .nav-list { flex-direction: row; gap: 8px; }
    .nav-link {
        min-height: 40px;
        padding: 8px 14px;
        font-size: 0.95rem;
        border-radius: 999px;
    }
    .nav-cta-group { flex-direction: row; margin-top: 0; gap: 10px; }
    .nav-cta-group .btn { width: auto; }
}

/* Disable backdrop-filter on mobile to prevent fixed-children containment trap */
@media (max-width: 1023px) {
    .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; }
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
    position: relative;
    background: linear-gradient(180deg, transparent, rgba(11, 14, 20, 0.95) 30%, #07090d);
    border-top: 1px solid rgba(0, 255, 136, 0.22);
    margin-top: 64px;
    overflow: clip;
}
.footer-decor {
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.08;
    font-family: "Cinzel Decorative", serif;
    font-size: 6rem;
    color: var(--primary);
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
}
.footer-inner {
    position: relative;
    max-width: 1240px;
    margin: 0 auto;
    padding: 56px 20px 24px;
    display: grid;
    gap: 40px;
}
@media (min-width: 768px) {
    .footer-inner { padding: 72px 32px 32px; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 32px; }
}
.footer-col h3.footer-title {
    font-size: 0.95rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 16px;
}
.footer-tag { color: var(--muted-foreground); font-size: 0.95rem; margin-top: 16px; max-width: 380px; }
.footer-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-list a { color: var(--muted-foreground); font-size: 0.95rem; }
.footer-list a:hover { color: var(--primary); }

.payment-row, .license-row {
    list-style: none; padding: 0; margin: 0;
    display: flex; flex-wrap: wrap; gap: 8px;
}
.pay-badge {
    display: inline-flex;
    padding: 6px 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--muted-foreground);
    letter-spacing: 0.05em;
}
.license-row { flex-direction: column; gap: 10px; }
.license-badge {
    display: flex;
    align-items: baseline;
    gap: 10px;
    padding: 8px 12px;
    background: rgba(0, 255, 136, 0.04);
    border: 1px solid rgba(0, 255, 136, 0.2);
    border-radius: 8px;
}
.license-badge strong {
    font-family: "Cinzel Decorative", serif;
    color: var(--primary);
    font-size: 0.9rem;
}
.license-badge span { font-size: 0.78rem; color: var(--muted-foreground); }
.responsible {
    font-size: 0.78rem;
    color: var(--muted-foreground);
    margin-top: 14px;
    line-height: 1.5;
}
.footer-bottom {
    position: relative;
    border-top: 1px solid var(--border);
    padding: 20px;
    text-align: center;
}
.footer-bottom p {
    margin: 0;
    font-size: 0.85rem;
    color: var(--muted-foreground);
}

/* ============================================
   CTA BANNER - Hero & section conversion blocks
   ============================================ */
.cta-banner {
    position: relative;
    padding: 64px 0;
    background:
        radial-gradient(ellipse at 10% 30%, rgba(0, 255, 136, 0.15), transparent 50%),
        radial-gradient(ellipse at 90% 70%, rgba(123, 47, 255, 0.20), transparent 50%),
        linear-gradient(135deg, #0a0e15 0%, #131826 50%, #0e0a1c 100%);
    border-block: 1px solid rgba(0, 255, 136, 0.18);
    isolation: isolate;
}
.cta-banner-bg {
    position: absolute; inset: 0; pointer-events: none; z-index: 0; overflow: hidden;
}
.cta-banner-bg .formula {
    position: absolute;
    font-family: "Cinzel Decorative", serif;
    font-size: 1.25rem;
    color: rgba(0, 255, 136, 0.18);
    letter-spacing: 0.1em;
    animation: drift 18s ease-in-out infinite;
}
.formula-1 { top: 12%; left: 6%; }
.formula-2 { top: 60%; right: 8%; animation-delay: -6s; }
.formula-3 { bottom: 15%; left: 35%; animation-delay: -12s; font-size: 1.5rem; }
@keyframes drift {
    0%, 100% { transform: translate(0, 0); opacity: 0.18; }
    50% { transform: translate(20px, -16px); opacity: 0.35; }
}
.cta-banner-bg .glow {
    position: absolute;
    width: 300px; height: 300px;
    border-radius: 50%;
    filter: blur(80px);
}
.glow-left { top: -50px; left: -50px; background: rgba(0, 255, 136, 0.25); }
.glow-right { bottom: -80px; right: -80px; background: rgba(123, 47, 255, 0.3); }

.cta-banner-inner {
    position: relative; z-index: 1;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 32px;
}
@media (min-width: 768px) { .cta-banner-inner { padding: 0 32px; } }
@media (min-width: 1024px) {
    .cta-banner { padding: 112px 0; }
    .cta-banner-inner { flex-direction: row; text-align: left; gap: 56px; }
    .cta-banner-text { flex: 1; }
    .cta-banner-media { flex: 1; max-width: 520px; }
    .cta-banner-default .cta-banner-inner { flex-direction: row-reverse; }
}
.cta-banner-media img {
    width: 100%;
    height: auto;
    border-radius: 24px;
    filter: drop-shadow(0 20px 60px rgba(0, 255, 136, 0.25));
}
.cta-eyebrow {
    font-family: "Cinzel Decorative", serif;
    font-size: 0.85rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--primary);
    margin: 0 0 14px;
}
.cta-title {
    font-size: clamp(2rem, 7vw + 0.5rem, 3.75rem);
    margin: 0 0 16px;
    background: linear-gradient(135deg, #f5f7fa 0%, #c6f4dd 50%, #00ff88 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 2px 30px rgba(0, 255, 136, 0.15);
}
.cta-subtitle {
    color: var(--muted-foreground);
    font-size: clamp(1rem, 1.5vw + 0.5rem, 1.2rem);
    max-width: 580px;
    margin: 0 auto 28px;
}
@media (min-width: 1024px) { .cta-subtitle { margin: 0 0 32px; } }
.cta-micro {
    font-size: 0.78rem;
    color: var(--muted-foreground);
    margin-top: 16px;
    opacity: 0.85;
}

/* ============================================
   GAME CARD - Slot/category cards
   ============================================ */
.games-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}
@media (min-width: 640px) { .games-grid { gap: 20px; } }
@media (min-width: 768px) { .games-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .games-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; } }

.game-card {
    position: relative;
    background: linear-gradient(180deg, #161b26 0%, #11151d 100%);
    border: 1px solid rgba(0, 255, 136, 0.22);
    border-radius: 18px;
    overflow: hidden;
    transition: transform .25s cubic-bezier(0.2, 0.8, 0.2, 1), border-color .25s, box-shadow .25s;
    display: flex;
    flex-direction: column;
}
.game-card:hover {
    transform: translateY(-6px);
    border-color: rgba(0, 255, 136, 0.6);
    box-shadow: 0 16px 40px rgba(0, 255, 136, 0.18);
}
.game-card-media {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #0a0d13;
}
.game-card-media img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
}
.game-card:hover .game-card-media img { transform: scale(1.05); }
.game-card-placeholder {
    width: 100%; height: 100%;
    display: flex; align-items: center; justify-content: center;
    font-size: 4rem; color: var(--primary); opacity: 0.4;
}
.game-card-badge {
    position: absolute;
    top: 10px; left: 10px;
    padding: 4px 10px;
    background: linear-gradient(135deg, #00ff88, #00d472);
    color: var(--primary-foreground);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border-radius: 6px;
}
.rune-corner {
    position: absolute;
    font-family: "Cinzel Decorative", serif;
    font-size: 0.8rem;
    color: rgba(0, 255, 136, 0.4);
    pointer-events: none;
}
.rune-tl { top: 8px; right: 8px; }
.rune-br { bottom: 8px; left: 8px; color: rgba(123, 47, 255, 0.5); }
.game-card-body {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}
@media (min-width: 1024px) { .game-card-body { padding: 20px; } }
.game-card-title {
    font-size: 1rem;
    margin: 0;
    line-height: 1.25;
}
.game-card-provider {
    font-size: 0.78rem;
    color: var(--muted-foreground);
    margin: 0;
    flex: 1;
}

/* ============================================
   BONUS CARD
   ============================================ */
.bonus-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
}
@media (min-width: 768px) { .bonus-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .bonus-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.bonus-card {
    position: relative;
    background: linear-gradient(160deg, #131a28 0%, #181226 100%);
    border: 1px solid rgba(0, 255, 136, 0.3);
    border-radius: 22px;
    padding: 28px 24px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 18px;
    isolation: isolate;
}
@media (min-width: 1024px) { .bonus-card { padding: 36px 32px; } }
.bonus-card-glow {
    position: absolute;
    inset: -2px;
    z-index: -1;
    background: linear-gradient(135deg, rgba(0, 255, 136, 0.5), rgba(123, 47, 255, 0.5));
    border-radius: 24px;
    opacity: 0.4;
    filter: blur(16px);
    pointer-events: none;
}
.bonus-card-featured { border-color: var(--primary); }
.bonus-card-featured .bonus-card-glow { opacity: 0.65; }
.bonus-rune {
    position: absolute;
    font-family: "Cinzel Decorative", serif;
    color: rgba(0, 255, 136, 0.12);
    font-size: 2.5rem;
    pointer-events: none;
    z-index: 0;
}
.bonus-rune.rune-1 { top: 12px; right: 16px; }
.bonus-rune.rune-2 { bottom: 60px; left: 16px; color: rgba(251, 191, 36, 0.15); font-size: 2rem; }
.bonus-rune.rune-3 { top: 50%; right: 30%; color: rgba(123, 47, 255, 0.15); }
.bonus-card-image {
    position: relative;
    z-index: 1;
    margin: -8px auto 0;
    max-width: 220px;
}
.bonus-card-image img { border-radius: 16px; }
.bonus-card-content { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 14px; }
.bonus-amount {
    font-family: "Cinzel Decorative", serif;
    font-size: clamp(2.25rem, 6vw + 0.5rem, 3.25rem);
    font-weight: 900;
    line-height: 1;
    background: linear-gradient(135deg, #00ff88 0%, #fbbf24 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 2px 24px rgba(0, 255, 136, 0.25);
    margin: 0;
}
.bonus-title { font-size: 1.35rem; margin: 0; }
.bonus-subtitle { color: var(--muted-foreground); margin: 0; font-size: 0.95rem; }
.bonus-desc { margin: 0; font-size: 0.95rem; color: var(--foreground); }
.bonus-conditions {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.bonus-conditions li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--foreground);
}
.check-rune {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px; height: 20px;
    flex-shrink: 0;
    border-radius: 50%;
    background: rgba(0, 255, 136, 0.15);
    color: var(--primary);
    font-size: 0.75rem;
    font-weight: 700;
    border: 1px solid rgba(0, 255, 136, 0.4);
}
.bonus-microcopy {
    font-size: 0.72rem;
    color: var(--muted-foreground);
    text-align: center;
    margin: 6px 0 0;
}

/* ============================================
   FEATURE ITEM
   ============================================ */
.features-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
}
@media (min-width: 640px) { .features-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 768px) { .features-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; } }
@media (min-width: 1024px) {
    .features-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
    .features-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

.feature-item {
    background: rgba(22, 27, 38, 0.7);
    border: 1px solid rgba(0, 255, 136, 0.18);
    border-radius: 16px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.feature-item:hover {
    transform: translateY(-4px);
    border-color: rgba(0, 255, 136, 0.5);
    box-shadow: 0 12px 32px rgba(0, 255, 136, 0.12);
}
.feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px; height: 56px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 255, 136, 0.18) 0%, transparent 70%);
    border: 1.5px solid rgba(0, 255, 136, 0.45);
    font-size: 1.7rem;
    color: var(--primary);
    box-shadow: 0 0 24px rgba(0, 255, 136, 0.2);
    flex-shrink: 0;
}
.feature-image {
    width: 100%;
    max-width: 160px;
    margin-bottom: 4px;
}
.feature-image img { border-radius: 12px; }
.feature-title { font-size: 1.15rem; margin: 0; }
.feature-desc { color: var(--muted-foreground); margin: 0; font-size: 0.95rem; line-height: 1.55; }
.feature-link {
    font-family: "Cinzel Decorative", serif;
    font-size: 0.85rem;
    margin-top: auto;
    letter-spacing: 0.08em;
}

/* ============================================
   STAT BLOCK
   ============================================ */
.stats-section {
    position: relative;
    padding: 56px 0;
    background:
        radial-gradient(ellipse at 50% 0%, rgba(0, 255, 136, 0.08), transparent 60%),
        linear-gradient(180deg, transparent, rgba(123, 47, 255, 0.05));
    border-block: 1px solid rgba(0, 255, 136, 0.15);
}
.stats-decor {
    position: absolute; inset: 0; pointer-events: none;
    display: flex; justify-content: space-around; align-items: center;
    opacity: 0.06;
    font-family: "Cinzel Decorative", serif;
    font-size: 6rem;
    color: var(--primary);
}
.stats-grid {
    list-style: none; padding: 0; margin: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    position: relative;
    z-index: 1;
}
@media (min-width: 768px) { .stats-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; } }

.stat-cell {
    text-align: center;
    padding: 16px;
    position: relative;
}
@media (min-width: 768px) {
    .stat-cell + .stat-cell::before {
        content: "⚗";
        position: absolute;
        left: 0; top: 50%;
        transform: translateY(-50%);
        color: rgba(0, 255, 136, 0.3);
        font-family: "Cinzel Decorative", serif;
        font-size: 1.5rem;
    }
}
.stat-number {
    display: block;
    font-family: "Cinzel Decorative", serif;
    font-weight: 900;
    font-size: clamp(2rem, 5vw + 0.5rem, 3.25rem);
    line-height: 1.1;
    background: linear-gradient(135deg, #00ff88 0%, #6effb3 60%, #fbbf24 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 2px 24px rgba(0, 255, 136, 0.2);
    margin-bottom: 8px;
}
.stat-label {
    display: block;
    color: var(--muted-foreground);
    font-size: 0.9rem;
    letter-spacing: 0.04em;
}
.stat-source {
    display: block;
    font-size: 0.72rem;
    color: var(--muted-foreground);
    opacity: 0.7;
    margin-top: 4px;
}

/* ============================================
   PROVIDER LOGOS
   ============================================ */
.providers-section {
    position: relative;
    padding: 56px 0;
    border-block: 1px solid rgba(0, 255, 136, 0.18);
    background:
        radial-gradient(ellipse at 0% 50%, rgba(0, 255, 136, 0.08), transparent 50%),
        radial-gradient(ellipse at 100% 50%, rgba(123, 47, 255, 0.08), transparent 50%);
}
.providers-decor {
    position: absolute; inset: 0; pointer-events: none;
    opacity: 0.08;
    display: flex; justify-content: space-around; align-items: center;
    font-family: "Cinzel Decorative", serif;
    font-size: 5rem; color: var(--primary);
}
.providers-grid {
    list-style: none; padding: 0; margin: 24px 0 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    position: relative;
    z-index: 1;
}
@media (min-width: 640px) { .providers-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; } }
@media (min-width: 1024px) { .providers-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 20px; } }
@media (min-width: 1280px) { .providers-grid { grid-template-columns: repeat(8, minmax(0, 1fr)); } }

.provider-tile {
    background: rgba(22, 27, 38, 0.6);
    border: 1px solid rgba(0, 255, 136, 0.2);
    border-radius: 12px;
    aspect-ratio: 2 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    transition: transform .25s ease, border-color .25s ease, filter .25s ease;
    filter: grayscale(1) brightness(0.85);
}
.provider-tile:hover {
    transform: translateY(-3px);
    border-color: var(--primary);
    filter: grayscale(0) brightness(1);
}
.provider-tile img { max-height: 60%; max-width: 90%; object-fit: contain; }
.provider-name {
    font-family: "Cinzel Decorative", serif;
    font-size: 0.85rem;
    color: var(--muted-foreground);
    text-align: center;
    line-height: 1.2;
}
.provider-tile:hover .provider-name { color: var(--primary); }

/* ============================================
   FAQ ACCORDION
   ============================================ */
.faq-section {
    position: relative;
    padding: 64px 0;
}
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item {
    background: rgba(22, 27, 38, 0.7);
    border: 1px solid var(--border);
    border-left: 3px solid transparent;
    border-radius: 14px;
    overflow: hidden;
    transition: border-color .25s ease, background .25s ease;
}
.faq-item[open] {
    border-color: rgba(0, 255, 136, 0.4);
    border-left-color: var(--primary);
    background: rgba(0, 255, 136, 0.04);
}
.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 56px;
    padding: 16px 20px;
    cursor: pointer;
    list-style: none;
    font-family: "Cinzel Decorative", serif;
    font-size: 1rem;
    font-weight: 700;
    color: var(--foreground);
}
.faq-question::-webkit-details-marker { display: none; }
.faq-q-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px; height: 28px;
    background: rgba(0, 255, 136, 0.12);
    border: 1px solid rgba(0, 255, 136, 0.4);
    border-radius: 50%;
    color: var(--primary);
    font-size: 1.1rem;
    line-height: 1;
    transition: transform .25s ease;
    flex-shrink: 0;
}
.faq-item[open] .faq-q-icon { transform: rotate(45deg); }
.faq-answer {
    padding: 0 20px 20px;
    color: var(--muted-foreground);
    font-size: 0.97rem;
    line-height: 1.65;
}
.faq-answer p { margin: 0; color: var(--foreground); }
.faq-answer p + p { margin-top: 12px; }

/* ============================================
   ENGAGEMENT PATTERNS
   ============================================ */
.tldr-box {
    background: linear-gradient(135deg, rgba(0, 255, 136, 0.08), rgba(123, 47, 255, 0.08));
    border: 1px solid rgba(0, 255, 136, 0.3);
    border-left: 4px solid var(--primary);
    border-radius: 14px;
    padding: 20px 24px;
    margin: 32px 0;
}
.tldr-box h3 {
    font-size: 0.85rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--primary);
    margin: 0 0 10px;
}
.tldr-box p:last-child { margin-bottom: 0; }

.callout {
    padding: 18px 22px;
    border-radius: 14px;
    background: rgba(22, 27, 38, 0.7);
    border: 1px solid var(--border);
    border-left: 4px solid var(--primary);
    margin: 28px 0;
}
.callout-warning { border-left-color: var(--accent); background: rgba(251, 191, 36, 0.05); }
.callout-info { border-left-color: var(--secondary); }
.callout strong { color: var(--primary); }

.pull-quote {
    font-family: "Cinzel Decorative", serif;
    font-size: clamp(1.3rem, 2vw + 0.8rem, 1.8rem);
    line-height: 1.35;
    color: var(--foreground);
    padding: 24px 32px;
    margin: 32px 0;
    border-left: 4px solid var(--primary);
    background: rgba(0, 255, 136, 0.04);
    border-radius: 0 14px 14px 0;
    quotes: "«" "»";
}
.pull-quote::before { content: open-quote; color: var(--primary); }
.pull-quote::after { content: close-quote; color: var(--primary); }
.pull-quote cite {
    display: block;
    font-family: "Inter Tight", sans-serif;
    font-style: normal;
    font-size: 0.9rem;
    color: var(--muted-foreground);
    margin-top: 12px;
    letter-spacing: 0.05em;
}

.stat-highlight {
    display: inline-block;
    padding: 8px 18px;
    background: rgba(0, 255, 136, 0.1);
    border: 1px solid rgba(0, 255, 136, 0.35);
    border-radius: 999px;
    font-family: "Cinzel Decorative", serif;
    color: var(--primary);
    font-weight: 700;
    margin: 4px 8px 4px 0;
}

/* Tables */
.table-wrapper { max-width: 100%; overflow-x: auto; margin: 28px 0; border-radius: 14px; border: 1px solid var(--border); }
.table-wrapper:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
table.data-table {
    width: 100%;
    border-collapse: collapse;
    background: rgba(22, 27, 38, 0.5);
    font-size: 0.95rem;
}
.data-table thead {
    background: linear-gradient(135deg, rgba(0, 255, 136, 0.15), rgba(123, 47, 255, 0.1));
}
.data-table th, .data-table td {
    padding: 14px 16px;
    text-align: left;
    border-bottom: 1px solid var(--border);
}
.data-table th {
    font-family: "Cinzel Decorative", serif;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: 0.04em;
    font-size: 0.88rem;
    text-transform: uppercase;
}
.data-table tbody tr:hover { background: rgba(0, 255, 136, 0.04); }
.data-table tr.is-recommended {
    background: rgba(0, 255, 136, 0.08);
    border-left: 3px solid var(--primary);
}

/* SEO text block */
.seo-text {
    padding: 56px 0;
    position: relative;
}
.seo-text .container-narrow { color: var(--foreground); }
.seo-text h2 { text-align: center; }
.seo-text h3 { margin-top: 2em; color: var(--primary); }
.seo-text p { color: var(--muted-foreground); font-size: 1rem; line-height: 1.75; }

/* Trust badges row */
.trust-row {
    list-style: none; padding: 0; margin: 32px auto;
    display: flex; flex-wrap: wrap; justify-content: center; gap: 12px;
    max-width: 900px;
}
.trust-row li {
    padding: 10px 18px;
    background: rgba(22, 27, 38, 0.7);
    border: 1px solid var(--border);
    border-radius: 999px;
    font-size: 0.85rem;
    color: var(--muted-foreground);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.trust-row li::before { content: "✓"; color: var(--primary); font-weight: 700; }

/* Internal link cards */
.link-cards {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
}
@media (min-width: 768px) { .link-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .link-cards-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* Bonus grid 3 col override */
.bonus-grid-3 {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
}
@media (min-width: 768px) { .bonus-grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .bonus-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* Bonus Crab feature section split layout */
.crab-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
    align-items: center;
}
@media (min-width: 1024px) {
    .crab-layout { grid-template-columns: 1fr 1.1fr; gap: 56px; }
}
.crab-media {
    text-align: center;
    position: relative;
}
.crab-media img {
    max-width: 460px;
    margin: 0 auto;
    filter: drop-shadow(0 20px 60px rgba(0, 255, 136, 0.35));
    animation: crab-float 5s ease-in-out infinite;
}
@keyframes crab-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}
@media (prefers-reduced-motion: reduce) { .crab-media img { animation: none; } }

/* SEO ordered list */
.seo-text ol {
    counter-reset: alch-step;
    list-style: none;
    padding: 0;
    margin: 20px 0;
}
.seo-text ol li {
    position: relative;
    padding: 14px 16px 14px 56px;
    margin-bottom: 12px;
    background: rgba(22, 27, 38, 0.6);
    border: 1px solid var(--border);
    border-left: 3px solid var(--primary);
    border-radius: 12px;
    counter-increment: alch-step;
    color: var(--foreground);
    line-height: 1.6;
}
.seo-text ol li::before {
    content: counter(alch-step);
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 255, 136, 0.15);
    border: 1px solid rgba(0, 255, 136, 0.5);
    border-radius: 50%;
    color: var(--primary);
    font-family: "Cinzel Decorative", serif;
    font-weight: 700;
    font-size: 0.9rem;
}

/* ============================================
   ANIMATIONS - GSAP-friendly base + CSS fallback
   ============================================ */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .7s cubic-bezier(0.2, 0.8, 0.2, 1), transform .7s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}
.animate-formula {
    opacity: 0;
    filter: blur(8px);
    transition: opacity 1s ease, filter 1s ease;
}
.animate-formula.is-visible {
    opacity: 1;
    filter: blur(0);
}
@media (prefers-reduced-motion: reduce) {
    .animate-on-scroll, .animate-formula { opacity: 1; transform: none; filter: none; }
}

/* Floating particles */
@keyframes float-spore {
    0%, 100% { transform: translateY(0) translateX(0); opacity: 0.4; }
    50% { transform: translateY(-20px) translateX(8px); opacity: 0.7; }
}

/* ============================================
   FOCUS STATES - Accessibility
   ============================================ */
:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 3px;
    border-radius: 4px;
}
button:focus-visible, a:focus-visible { outline-offset: 4px; }

/* ============================================
   COMPOUND PAGE - Redirect Stub
   ============================================ */
.redirect-stub {
    min-height: calc(100vh - var(--header-h-mobile));
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px 20px;
    text-align: center;
    background: radial-gradient(ellipse at 30% 30%, rgba(0, 255, 136, 0.15), transparent 60%),
                radial-gradient(ellipse at 70% 70%, rgba(123, 47, 255, 0.15), transparent 60%),
                #0d1117;
}
@media (min-width: 1024px) {
    .redirect-stub { min-height: calc(100vh - var(--header-h-desktop)); padding: 80px 20px; }
}
.redirect-card {
    max-width: 560px;
    margin: 0 auto;
    padding: 40px 24px;
    background: rgba(17, 22, 31, 0.7);
    border: 1px solid rgba(0, 255, 136, 0.25);
    border-radius: 24px;
    box-shadow: 0 0 60px rgba(0, 255, 136, 0.15), inset 0 0 40px rgba(123, 47, 255, 0.08);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}
.redirect-logo { display: inline-block; margin-bottom: 16px; filter: drop-shadow(0 0 18px rgba(0, 255, 136, 0.55)); }
.redirect-eyebrow {
    font-family: 'Cinzel Decorative', serif;
    font-size: 0.95rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--primary);
    margin: 8px 0 16px;
}
.redirect-stub h1 {
    font-family: 'Cinzel Decorative', serif;
    font-size: clamp(1.6rem, 4vw + 0.5rem, 2.4rem);
    margin: 0 0 16px;
    color: var(--foreground);
    line-height: 1.15;
}
.redirect-text {
    color: var(--muted-foreground);
    font-size: 1rem;
    line-height: 1.6;
    margin: 0 auto 24px;
    max-width: 460px;
}
.redirect-disclaimer {
    font-size: 0.78rem;
    color: var(--muted-foreground);
    opacity: 0.75;
    margin: 24px 0 0;
    letter-spacing: 0.04em;
}
.loader-pulse {
    display: inline-flex;
    gap: 10px;
    margin: 8px auto 4px;
    justify-content: center;
}
.loader-pulse span {
    width: 12px; height: 12px;
    border-radius: 50%;
    background: var(--primary);
    box-shadow: 0 0 18px rgba(0, 255, 136, 0.7);
    animation: loader-dot 1.4s ease-in-out infinite;
}
.loader-pulse span:nth-child(2) { animation-delay: 0.2s; }
.loader-pulse span:nth-child(3) { animation-delay: 0.4s; }
@keyframes loader-dot {
    0%, 80%, 100% { transform: scale(0.6); opacity: 0.5; }
    40% { transform: scale(1.15); opacity: 1; }
}

/* ============================================
   UTILITY
   ============================================ */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.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;
}