/*
 * Jack Casino - Design System
 * Crypto-noir aesthetic: dark carbon surfaces, neon green/blue/gold accents,
 * trading-terminal data density fused with neon casino glamour.
 *
 * Fonts: Space Grotesk (display) + IBM Plex Sans (body)
 * Theme: single fixed dark theme, no toggle
 */

/* ============================================
   DESIGN TOKENS
   All colors, spacing, and typography variables.
   ============================================ */

:root {
    --background: #0b0e14;
    --foreground: #e8edf5;
    --card: #141926;
    --card-foreground: #e8edf5;
    --popover: #0f1420;
    --popover-foreground: #e8edf5;
    --primary: #22e584;
    --primary-foreground: #06120c;
    --secondary: #3b8dff;
    --secondary-foreground: #07101f;
    --muted: #26324a;
    --muted-foreground: #9aa6bc;
    --accent: #f5b942;
    --accent-foreground: #171005;
    --destructive: #ff6b5e;
    --destructive-foreground: #170605;
    --border: #2a364e;
    --input: #101624;
    --ring: #3b8dff;

    --font-display: "Space Grotesk", sans-serif;
    --font-body: "IBM Plex Sans", sans-serif;

    --header-height: 64px;
    --max-width: 1280px;
    --prose-width: 720px;

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;

    --transition: 250ms ease-out;
}

.dark {
    --background: #0b0e14;
    --foreground: #e8edf5;
    --card: #141926;
    --card-foreground: #e8edf5;
    --popover: #0f1420;
    --popover-foreground: #e8edf5;
    --primary: #22e584;
    --primary-foreground: #06120c;
    --secondary: #3b8dff;
    --secondary-foreground: #07101f;
    --muted: #26324a;
    --muted-foreground: #9aa6bc;
    --accent: #f5b942;
    --accent-foreground: #171005;
    --destructive: #ff6b5e;
    --destructive-foreground: #170605;
    --border: #2a364e;
    --input: #101624;
    --ring: #3b8dff;
}


/* ============================================
   RESET & BASE
   Box-sizing, media constraints, overflow safety.
   ============================================ */

*,
*::before,
*::after {
    box-sizing: border-box;
}

* {
    margin: 0;
    padding: 0;
}

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

body {
    font-family: var(--font-body);
    font-size: 17px;
    line-height: 1.6;
    color: var(--foreground);
    background: var(--background);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

img, video, iframe, embed, object, svg {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--secondary);
    text-decoration: none;
    transition: color var(--transition);
}

a:hover {
    color: var(--primary);
}

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

ul, ol {
    list-style: none;
}

section {
    overflow: clip;
}

/* ============================================
   TYPOGRAPHY SYSTEM
   Space Grotesk for display, IBM Plex Sans for body.
   Mobile-first with progressive scaling.
   ============================================ */

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: var(--foreground);
}

h1 {
    font-size: 30px;
    font-weight: 700;
}

h2 {
    font-size: 26px;
    font-weight: 600;
}

h3 {
    font-size: 20px;
    font-weight: 600;
}

h4 {
    font-size: 19px;
    font-weight: 500;
}

h5, h6 {
    font-size: 17px;
    font-weight: 500;
}

p {
    margin-bottom: 24px;
}

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

.kicker {
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--primary);
    display: inline-block;
    margin-bottom: 12px;
}

.text-muted {
    color: var(--muted-foreground);
}

.text-accent {
    color: var(--accent);
}

.text-primary {
    color: var(--primary);
}

.text-secondary {
    color: var(--secondary);
}

@media (min-width: 768px) {
    h1 { font-size: 38px; }
    h2 { font-size: 30px; }
    h3 { font-size: 22px; }
}

@media (min-width: 1024px) {
    h1 { font-size: 48px; }
    h2 { font-size: 36px; }
    h3 { font-size: 24px; }
}


/* ============================================
   LAYOUT UTILITIES
   Container, section spacing, prose width.
   ============================================ */

.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

.container--narrow {
    max-width: var(--prose-width);
}

.section {
    padding: 56px 0;
}

.section--tight {
    padding: 40px 0;
}

.section--cta {
    padding-top: 120px;
}

@media (min-width: 768px) {
    .container {
        padding: 0 40px;
    }
    .section {
        padding: 80px 0;
    }
}

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


/* ============================================
   HEADER & NAVIGATION
   Sticky header with blurred carbon-glass background.
   Desktop: brand left, centered nav, actions right.
   Mobile: brand left, hamburger right, drawer below.
   Note: backdrop-filter is desktop-only - on mobile it would
   create a containing block that traps the fixed nav drawer.
   ============================================ */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    height: var(--header-height);
    background: rgba(11, 14, 20, 0.85);
    border-bottom: 1px solid var(--border);
}

.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
    gap: 16px;
}

.site-brand {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--foreground);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.site-brand:hover {
    color: var(--primary);
}

.site-brand__text {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.primary-nav {
    display: none;
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--background);
    z-index: 999;
    overflow-y: auto;
    padding: 24px;
    flex-direction: column;
}

.primary-nav.is-open {
    display: flex;
}

.primary-nav__list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.primary-nav__list li {
    border-bottom: 1px solid var(--border);
}

.primary-nav__list a {
    display: flex;
    align-items: center;
    min-height: 52px;
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 500;
    color: var(--foreground);
    padding: 12px 0;
}

.primary-nav__list a:hover {
    color: var(--primary);
}

.primary-nav__actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 24px;
}

.primary-nav__actions .btn {
    width: 100%;
    text-align: center;
}

.site-header__actions {
    display: none;
    align-items: center;
    gap: 12px;
}

.mobile-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    background: none;
    border: none;
    cursor: pointer;
    flex-shrink: 0;
    padding: 0;
}

.mobile-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--foreground);
    border-radius: 2px;
    transition: transform var(--transition), opacity var(--transition);
    margin: 0 auto;
}

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

@media (min-width: 1024px) {
    .site-header {
        -webkit-backdrop-filter: blur(12px);
        backdrop-filter: blur(12px);
    }

    .site-header__inner {
        display: grid;
        grid-template-columns: auto 1fr auto;
        align-items: center;
        gap: 24px;
        padding: 0 40px;
    }

    .primary-nav {
        display: flex;
        position: static;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        gap: 32px;
        background: none;
        overflow: visible;
        padding: 0;
        justify-self: center;
    }

    .primary-nav__list {
        flex-direction: row;
        gap: 32px;
    }

    .primary-nav__list li {
        border-bottom: none;
    }

    .primary-nav__list a {
        min-height: auto;
        font-size: 16px;
        padding: 0;
        color: var(--muted-foreground);
    }

    .primary-nav__list a:hover {
        color: var(--primary);
    }

    .primary-nav__actions {
        display: none;
    }

    .site-header__actions {
        display: flex;
    }

    .mobile-toggle {
        display: none;
    }
}


/* ============================================
   BUTTONS
   Primary (volt green fill), Ghost (outline), sizes.
   ============================================ */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 600;
    line-height: 1;
    padding: 14px 24px;
    border-radius: var(--radius-sm);
    border: 1px solid transparent;
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
    min-height: 48px;
    white-space: nowrap;
}

.btn--primary {
    background: var(--primary);
    color: var(--primary-foreground);
    border-color: var(--primary);
}

.btn--primary:hover {
    background: #1bc26e;
    color: var(--primary-foreground);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(34, 229, 132, 0.3);
}

.btn--primary:active {
    transform: translateY(0);
}

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

.btn--ghost:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-2px);
}

.btn--lg {
    min-height: 52px;
    font-size: 18px;
    padding: 16px 32px;
}

.btn--full {
    width: 100%;
}

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

.btn--accent:hover {
    background: #e0a838;
    color: var(--accent-foreground);
    transform: translateY(-2px);
}


/* ============================================
   NEON EDGE & CARDS
   Signature 1px luminous gradient border on slate panels.
   ============================================ */

.neon-edge {
    position: relative;
    background: var(--card);
    border-radius: var(--radius-md);
}

.neon-edge::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.card {
    background: var(--card);
    border-radius: var(--radius-md);
    padding: 20px;
    position: relative;
    overflow: hidden;
    min-width: 0;
    transition: transform var(--transition), box-shadow var(--transition);
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
}

.card--pad-lg {
    padding: 32px;
}

.card__title {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--foreground);
}

.card__body {
    color: var(--muted-foreground);
    font-size: 16px;
}

@media (min-width: 1024px) {
    .card {
        padding: 32px;
    }
}


/* ============================================
   STAT BLOCK
   Grid of large hard numbers with labels.
   Count-up animation on scroll.
   ============================================ */

.stat-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

.stat-cell {
    padding: 24px 20px;
    text-align: center;
    min-width: 0;
}

.stat-cell__number {
    display: block;
    font-family: var(--font-display);
    font-size: 42px;
    font-weight: 700;
    line-height: 1.1;
    font-variant-numeric: tabular-nums;
    margin-bottom: 8px;
}

.stat-cell__number--green {
    color: var(--primary);
}

.stat-cell__number--blue {
    color: var(--secondary);
}

.stat-cell__number--gold {
    color: var(--accent);
}

.stat-cell__label {
    display: block;
    font-family: var(--font-display);
    font-size: 13px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--muted-foreground);
}

@media (min-width: 640px) {
    .stat-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .stat-cell__number {
        font-size: 48px;
    }
}

@media (min-width: 1024px) {
    .stat-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    .stat-cell__number {
        font-size: 56px;
    }
    .stat-cell {
        padding: 32px 24px;
    }
}


/* ============================================
   FAQ ACCORDION
   Expandable panels with neon gradient left edge.
   Uses native details/summary. One open at a time via JS.
   ============================================ */

.faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background: var(--card);
    border-radius: var(--radius-md);
    overflow: hidden;
    position: relative;
    transition: transform var(--transition);
}

.faq-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, var(--primary), var(--secondary));
    opacity: 0.6;
    transition: opacity var(--transition);
}

.faq-item[open]::before {
    opacity: 1;
}

.faq-item:hover {
    transform: translateY(-2px);
}

.faq-item__question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 24px;
    cursor: pointer;
    font-family: var(--font-display);
    font-size: 17px;
    font-weight: 600;
    color: var(--foreground);
    list-style: none;
    min-height: 52px;
}

.faq-item__question::-webkit-details-marker {
    display: none;
}

.faq-item__question span:first-child {
    flex: 1;
}

.faq-item__icon {
    position: relative;
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.faq-item__icon::before,
.faq-item__icon::after {
    content: '';
    position: absolute;
    background: var(--primary);
    border-radius: 2px;
    transition: transform var(--transition);
}

.faq-item__icon::before {
    top: 50%;
    left: 0;
    width: 20px;
    height: 2px;
    transform: translateY(-50%);
}

.faq-item__icon::after {
    top: 0;
    left: 50%;
    width: 2px;
    height: 20px;
    transform: translateX(-50%);
}

.faq-item[open] .faq-item__icon::after {
    transform: translateX(-50%) rotate(90deg);
    opacity: 0;
}

.faq-item__answer {
    padding: 0 24px 20px 24px;
    color: var(--muted-foreground);
    font-size: 16px;
    line-height: 1.6;
}

.faq-item__answer a {
    color: var(--primary);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.faq-item__answer a:hover {
    color: #1bc26e;
}


/* ============================================
   HOW-TO STEPS
   Numbered sequence with glowing vertical line.
   ============================================ */

.steps {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 32px;
    padding-left: 8px;
}

.steps::before {
    content: '';
    position: absolute;
    left: 23px;
    top: 24px;
    bottom: 24px;
    width: 2px;
    background: linear-gradient(180deg, var(--primary), var(--secondary));
    opacity: 0.4;
}

.step {
    display: flex;
    gap: 24px;
    align-items: flex-start;
    position: relative;
}

.step__number {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 700;
    color: var(--primary);
    background: var(--background);
    border: 2px solid var(--primary);
    border-radius: 50%;
    position: relative;
    z-index: 1;
}

.step__content {
    flex: 1;
    min-width: 0;
    padding-top: 4px;
}

.step__title {
    font-family: var(--font-display);
    font-size: 19px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--foreground);
}

.step__text {
    color: var(--muted-foreground);
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 12px;
}

.step__time {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-display);
    font-size: 13px;
    font-weight: 600;
    color: var(--secondary);
    background: rgba(59, 141, 255, 0.1);
    border: 1px solid rgba(59, 141, 255, 0.3);
    border-radius: 100px;
    padding: 4px 12px;
}

@media (min-width: 768px) {
    .step__number {
        width: 56px;
        height: 56px;
        font-size: 26px;
    }
    .steps::before {
        left: 27px;
    }
}


/* ============================================
   CTA BANNER
   Full-width conversion band with radial glow,
   neon-edge panel, primary and secondary buttons.
   ============================================ */

.cta-banner {
    position: relative;
    text-align: center;
    overflow: clip;
}

.cta-banner__glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 400px;
    max-width: 100%;
    background: radial-gradient(ellipse at center, rgba(34, 229, 132, 0.12) 0%, rgba(59, 141, 255, 0.08) 40%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.cta-banner__panel {
    position: relative;
    z-index: 1;
    max-width: 720px;
    margin: 0 auto;
    padding: 48px 24px;
    text-align: center;
}

.cta-banner__headline {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: -0.02em;
    color: var(--foreground);
    margin-bottom: 16px;
}

.cta-banner__subcopy {
    font-size: 17px;
    color: var(--muted-foreground);
    margin-bottom: 32px;
}

.cta-banner__actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.cta-banner__microcopy {
    font-size: 14px;
    color: var(--muted-foreground);
}

@media (min-width: 640px) {
    .cta-banner__actions {
        flex-direction: row;
        justify-content: center;
    }
}

@media (min-width: 1024px) {
    .cta-banner__headline {
        font-size: 36px;
    }
    .cta-banner__panel {
        padding: 64px 48px;
    }
}


/* ============================================
   HERO SECTIONS
   Full-bleed dark background with atmospheric radial glow,
   model imagery, floating crypto elements, large headline.
   ============================================ */

.hero {
    position: relative;
    min-height: 520px;
    display: flex;
    align-items: center;
    padding: 100px 0 80px;
    overflow: clip;
}

.hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(11, 14, 20, 0.75) 0%, rgba(11, 14, 20, 0.92) 100%);
    z-index: 1;
}

.hero__glow {
    position: absolute;
    width: 500px;
    height: 500px;
    max-width: 100%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(34, 229, 132, 0.15) 0%, transparent 70%);
    top: 10%;
    right: -150px;
    pointer-events: none;
    z-index: 1;
}

.hero__glow--blue {
    background: radial-gradient(circle, rgba(59, 141, 255, 0.12) 0%, transparent 70%);
    top: auto;
    bottom: 10%;
    left: -150px;
    right: auto;
}

.hero__content {
    position: relative;
    z-index: 2;
    max-width: 720px;
}

.hero__title {
    font-family: var(--font-display);
    font-size: 32px;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: var(--foreground);
    margin-bottom: 20px;
}

.hero__subtitle {
    font-size: 17px;
    color: var(--muted-foreground);
    margin-bottom: 32px;
    max-width: 600px;
}

.hero__actions {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

@media (min-width: 640px) {
    .hero__actions {
        flex-direction: row;
        align-items: center;
    }
}

@media (min-width: 768px) {
    .hero {
        min-height: 600px;
        padding: 140px 0 100px;
    }
    .hero__title {
        font-size: 44px;
    }
}

@media (min-width: 1024px) {
    .hero__title {
        font-size: 48px;
    }
}


/* ============================================
   TICKER / LIVE FEED
   Horizontal scrollable strip of live items.
   Uses overflow-x: auto with scroll-snap for safety.
   ============================================ */

.ticker {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 16px 0;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: var(--border) transparent;
}

.ticker::-webkit-scrollbar {
    height: 4px;
}

.ticker::-webkit-scrollbar-track {
    background: transparent;
}

.ticker::-webkit-scrollbar-thumb {
    background: var(--border);
    border-radius: 2px;
}

.ticker__item {
    flex-shrink: 0;
    scroll-snap-align: start;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 12px 20px;
    min-width: 200px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.ticker__item--win {
    border-color: rgba(34, 229, 132, 0.3);
}

.ticker__game {
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 600;
    color: var(--foreground);
}

.ticker__amount {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 700;
    color: var(--primary);
    font-variant-numeric: tabular-nums;
}

.ticker__time {
    font-size: 12px;
    color: var(--muted-foreground);
}


/* ============================================
   GAME GRID & CARDS
   Data-dense grid of game category cards.
   ============================================ */

.game-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

.game-card {
    background: var(--card);
    border-radius: var(--radius-md);
    overflow: hidden;
    min-width: 0;
    transition: transform var(--transition), box-shadow var(--transition);
    position: relative;
}

.game-card:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
}

.game-card__image {
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
}

.game-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.game-card__body {
    padding: 16px;
}

.game-card__title {
    font-family: var(--font-display);
    font-size: 17px;
    font-weight: 600;
    color: var(--foreground);
    margin-bottom: 4px;
}

.game-card__meta {
    font-size: 14px;
    color: var(--muted-foreground);
}

@media (min-width: 640px) {
    .game-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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


/* ============================================
   BONUS TEASER
   Split layout with text and coin graphic.
   ============================================ */

.bonus-teaser {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    align-items: center;
}

.bonus-teaser__content {
    min-width: 0;
}

.bonus-teaser__image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.bonus-teaser__image img {
    max-width: 200px;
}

@media (min-width: 768px) {
    .bonus-teaser {
        grid-template-columns: 1.5fr 1fr;
    }
}


/* ============================================
   VIP RAKEBACK TIERS
   Dashboard-style progress bar visualization.
   ============================================ */

.rakeback-tiers {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.rakeback-tier {
    background: var(--card);
    border-radius: var(--radius-md);
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.rakeback-tier__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.rakeback-tier__name {
    font-family: var(--font-display);
    font-size: 17px;
    font-weight: 600;
    color: var(--foreground);
}

.rakeback-tier__value {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 700;
    color: var(--primary);
    font-variant-numeric: tabular-nums;
}

.rakeback-tier--gold .rakeback-tier__value {
    color: var(--accent);
}

.rakeback-tier--blue .rakeback-tier__value {
    color: var(--secondary);
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: var(--muted);
    border-radius: 100px;
    overflow: hidden;
}

.progress-bar__fill {
    height: 100%;
    border-radius: 100px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transition: width 1s ease-out;
}

.progress-bar__fill--gold {
    background: linear-gradient(90deg, var(--accent), #ffd966);
}


/* ============================================
   ODDS BOARD (SPORTSBOOK)
   Trading-dashboard style live odds display.
   ============================================ */

.odds-board {
    background: var(--card);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.odds-row {
    display: grid;
    grid-template-columns: 1fr auto auto auto;
    gap: 12px;
    align-items: center;
    padding: 14px 16px;
    border-bottom: 1px solid var(--border);
    font-size: 15px;
}

.odds-row:last-child {
    border-bottom: none;
}

.odds-row__match {
    font-family: var(--font-display);
    font-weight: 500;
    color: var(--foreground);
    font-size: 14px;
}

.odds-cell {
    font-family: var(--font-display);
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    background: var(--muted);
    color: var(--foreground);
    text-align: center;
    min-width: 56px;
    font-size: 14px;
}

.odds-cell--live {
    background: rgba(34, 229, 132, 0.15);
    color: var(--primary);
    border: 1px solid rgba(34, 229, 132, 0.3);
}

.odds-row__live-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 600;
    color: var(--destructive);
    text-transform: uppercase;
}

.odds-row__live-tag::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--destructive);
}


/* ============================================
   COIN BADGE GRID (PAYMENTS)
   Grayscale crypto coin badges.
   ============================================ */

.coin-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.coin-badge {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 16px;
    transition: border-color var(--transition), box-shadow var(--transition);
}

.coin-badge:hover {
    border-color: var(--primary);
    box-shadow: 0 0 16px rgba(34, 229, 132, 0.15);
}

.coin-badge__icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--muted);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 700;
    color: var(--foreground);
    flex-shrink: 0;
}

.coin-badge__logo {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    object-fit: contain;
}

.coin-badge__name {
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 600;
    color: var(--foreground);
}

.coin-badge__symbol {
    font-size: 13px;
    color: var(--muted-foreground);
}

@media (min-width: 640px) {
    .coin-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1024px) {
    .coin-grid {
        grid-template-columns: repeat(6, 1fr);
    }
}


/* ============================================
   DATA TABLE
   Styled comparison/withdrawal-speed table.
   ============================================ */

.table-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 480px;
}

.data-table thead {
    background: var(--muted);
}

.data-table th {
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--muted-foreground);
    padding: 14px 16px;
    text-align: left;
    border-bottom: 1px solid var(--border);
}

.data-table td {
    padding: 14px 16px;
    border-bottom: 1px solid var(--border);
    font-size: 15px;
    color: var(--foreground);
}

.data-table tbody tr:hover {
    background: var(--card);
}

.data-table .text-primary {
    font-weight: 600;
}


/* ============================================
   ENGAGEMENT PATTERNS
   Callout, summary box, pull quote.
   ============================================ */

.callout {
    background: var(--card);
    border-radius: var(--radius-md);
    padding: 24px;
    border-left: 3px solid var(--primary);
    margin: 32px 0;
}

.callout--warning {
    border-left-color: var(--accent);
}

.callout--info {
    border-left-color: var(--secondary);
}

.callout__title {
    font-family: var(--font-display);
    font-size: 17px;
    font-weight: 600;
    color: var(--foreground);
    margin-bottom: 8px;
}

.callout__body {
    color: var(--muted-foreground);
    font-size: 15px;
    line-height: 1.6;
}

.summary-box {
    background: var(--card);
    border-radius: var(--radius-md);
    padding: 24px;
    margin: 32px 0;
    position: relative;
}

.summary-box::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.summary-box__title {
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--primary);
    margin-bottom: 12px;
}

.pull-quote {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 500;
    line-height: 1.4;
    color: var(--foreground);
    padding: 24px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    margin: 32px 0;
    position: relative;
}

.pull-quote::before {
    content: '"';
    font-size: 48px;
    color: var(--primary);
    line-height: 0;
    position: relative;
    top: 16px;
    margin-right: 4px;
}

.pull-quote__author {
    display: block;
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 500;
    color: var(--muted-foreground);
    margin-top: 12px;
}

@media (min-width: 768px) {
    .callout, .summary-box {
        padding: 32px;
    }
    .pull-quote {
        font-size: 28px;
    }
}


/* ============================================
   CRO PATTERNS
   Trust badges, social proof, promo cards.
   ============================================ */

.trust-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: center;
    justify-content: center;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 10px 16px;
    font-size: 14px;
    font-weight: 500;
    color: var(--muted-foreground);
}

.trust-badge__icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.promo-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

.promo-card {
    background: var(--card);
    border-radius: var(--radius-md);
    padding: 24px;
    overflow: hidden;
    position: relative;
    transition: transform var(--transition), box-shadow var(--transition);
}

.promo-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
}

.promo-card__image {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: var(--radius-sm);
    margin-bottom: 16px;
}

.promo-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.promo-card__title {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 600;
    color: var(--foreground);
    margin-bottom: 8px;
}

.promo-card__text {
    font-size: 15px;
    color: var(--muted-foreground);
    line-height: 1.5;
}

@media (min-width: 640px) {
    .promo-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .promo-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}


/* ============================================
   SPLIT LAYOUT
   Two-column content + image layout.
   ============================================ */

.split-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    align-items: center;
}

.split-layout__image img {
    width: 100%;
    border-radius: var(--radius-md);
}

@media (min-width: 768px) {
    .split-layout {
        grid-template-columns: 1fr 1fr;
        gap: 48px;
    }
}


/* ============================================
   INLINE SEO ANCHORS
   Underlined volt green links within prose.
   Buttons are excluded so their own colors apply.
   ============================================ */

.prose a:not(.btn),
.article-content a:not(.btn) {
    color: var(--primary);
    text-decoration: underline;
    text-underline-offset: 2px;
    text-decoration-thickness: 1px;
}

.prose a:not(.btn):hover,
.article-content a:not(.btn):hover {
    color: #1bc26e;
}

.prose {
    max-width: var(--prose-width);
}

.prose p {
    margin-bottom: 24px;
}


/* ============================================
   FOOTER
   Four-column layout: brand, links, payments, legal.
   Collapses to stacked single column on mobile.
   ============================================ */

.site-footer {
    background: var(--popover);
    border-top: 1px solid var(--border);
    padding: 56px 0 32px;
}

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

.footer-col__title {
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--muted-foreground);
    margin-bottom: 16px;
}

.footer-brand .site-brand {
    font-size: 22px;
    margin-bottom: 16px;
}

.footer-license {
    font-size: 14px;
    color: var(--muted-foreground);
    margin-bottom: 8px;
}

.footer-age {
    font-size: 14px;
    color: var(--muted-foreground);
}

.footer-links ul,
.footer-legal ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a,
.footer-legal a {
    font-size: 15px;
    color: var(--muted-foreground);
}

.footer-links a:hover,
.footer-legal a:hover {
    color: var(--primary);
}

.payment-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.payment-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 48px;
    height: 36px;
    padding: 0 10px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-family: var(--font-display);
    font-size: 13px;
    font-weight: 700;
    color: var(--muted-foreground);
}

.footer-copy {
    font-size: 13px;
    color: var(--muted-foreground);
    margin-top: 16px;
}

@media (min-width: 768px) {
    .footer-inner {
        grid-template-columns: 2fr 1fr 1fr 1fr;
        gap: 40px;
    }
}


/* ============================================
   MOBILE CTA BAR
   Sticky bottom bar shown after scroll on mobile.
   ============================================ */

.mobile-cta-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--card);
    border-top: 1px solid var(--border);
    padding: 12px 24px;
    z-index: 998;
    transform: translateY(100%);
    transition: transform var(--transition);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
}

.mobile-cta-bar.is-visible {
    transform: translateY(0);
}

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


/* ============================================
   SCROLL REVEAL ANIMATIONS
   Elements with .animate-on-scroll start hidden
   and fade up when .is-visible is added by JS.
   ============================================ */

.animate-on-scroll {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    .animate-on-scroll {
        opacity: 1;
        transform: none;
        transition: none;
    }
    html {
        scroll-behavior: auto;
    }
}


/* ============================================
   UTILITY CLASSES
   ============================================ */

.text-center { text-align: center; }
.text-left { text-align: left; }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }

.grid-2 { display: grid; grid-template-columns: 1fr; gap: 16px; }
.grid-3 { display: grid; grid-template-columns: 1fr; gap: 16px; }
.grid-4 { display: grid; grid-template-columns: 1fr; gap: 16px; }

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

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

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

.hidden { display: none; }
