/*
 * WildRobin Casino - Design System
 * Premium forest-rogue aesthetic: dark near-black backgrounds,
 * emerald neon + luminous gold accents, Cinzel display + Manrope body.
 * No theme toggle - single dark theme per brief.
 */

/* ============================================
   DESIGN TOKENS
   Dark theme only (brief: no theme switcher)
   ============================================ */
:root {
    /* Backgrounds */
    --bg-near-black: #0a0f0a;
    --bg-charcoal: #141a14;
    --bg-card: #1a211a;
    --bg-card-hover: #222a22;

    /* Foregrounds */
    --fg-cream: #f5f0e6;
    --fg-cream-muted: #d4cfc4;
    --fg-sage: #9ba89b;
    --fg-sage-dim: #7a857a;

    /* Accents */
    --emerald: #10b981;
    --emerald-bright: #34d399;
    --emerald-glow: rgba(16, 185, 129, 0.4);
    --emerald-dim: rgba(16, 185, 129, 0.15);
    --gold: #fbbf24;
    --gold-bright: #fcd34d;
    --gold-glow: rgba(251, 191, 36, 0.35);
    --gold-dim: rgba(251, 191, 36, 0.12);

    /* Borders */
    --border-muted: #2d3528;
    --border-emerald: rgba(16, 185, 129, 0.3);
    --border-gold: rgba(251, 191, 36, 0.3);

    /* Typography */
    --font-display: "Cinzel", Georgia, serif;
    --font-body: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

    /* Spacing scale (8px base grid) */
    --space-xs: 4px;
    --space-sm: 8px;
    --space-md: 16px;
    --space-lg: 24px;
    --space-xl: 40px;
    --space-2xl: 64px;
    --space-3xl: 80px;

    /* Layout */
    --max-width: 1200px;
    --header-height: 64px;

    /* Transitions */
    --transition: 300ms ease-out;

    /* Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
}

/* Override scaffold light-mode tokens with dark values */
:root {
    --background: #0a0f0a;
    --foreground: #f5f0e6;
    --card: #1a211a;
    --card-foreground: #f5f0e6;
    --popover: #1a211a;
    --popover-foreground: #f5f0e6;
    --primary: #10b981;
    --primary-foreground: #0a0f0a;
    --secondary: #1e293b;
    --secondary-foreground: #f5f0e6;
    --muted: #2d3528;
    --muted-foreground: #9ba89b;
    --accent: #fbbf24;
    --accent-foreground: #0a0f0a;
    --destructive: #ea0d33;
    --destructive-foreground: #ffffff;
    --border: #2d3528;
    --input: #1a211a;
    --ring: #10b981;
}

/* Make .dark identical to :root (no theme toggle) */
.dark {
    --background: #0a0f0a;
    --foreground: #f5f0e6;
    --card: #1a211a;
    --card-foreground: #f5f0e6;
    --popover: #1a211a;
    --popover-foreground: #f5f0e6;
    --primary: #10b981;
    --primary-foreground: #0a0f0a;
    --secondary: #1e293b;
    --secondary-foreground: #f5f0e6;
    --muted: #2d3528;
    --muted-foreground: #9ba89b;
    --accent: #fbbf24;
    --accent-foreground: #0a0f0a;
    --destructive: #ea0d33;
    --destructive-foreground: #ffffff;
    --border: #2d3528;
    --input: #1a211a;
    --ring: #10b981;
}

/* ============================================
   RESET & BASE
   ============================================ */
*, *::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(--fg-cream);
    background: var(--bg-near-black);
    overflow-x: hidden;
    min-height: 100vh;
}

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

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

a:hover {
    color: var(--gold-bright);
}

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

ul, ol {
    list-style: none;
}

/* ============================================
   TYPOGRAPHY SYSTEM
   Cinzel for display headings, Manrope for body
   ============================================ */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    color: var(--fg-cream);
    line-height: 1.2;
    letter-spacing: -0.01em;
}

h1 {
    font-size: clamp(28px, 5vw, 48px);
    font-weight: 700;
    line-height: 1.15;
}

h2 {
    font-size: clamp(24px, 4vw, 36px);
    font-weight: 600;
    line-height: 1.25;
}

h3 {
    font-size: clamp(20px, 3vw, 26px);
    font-weight: 500;
}

h4 {
    font-size: clamp(18px, 2.5vw, 20px);
    font-weight: 500;
}

p {
    margin-bottom: 28px;
}

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

/* ============================================
   SKIP LINK
   ============================================ */
.skip-link {
    position: absolute;
    top: -100px;
    left: 0;
    background: var(--emerald);
    color: var(--bg-near-black);
    padding: 12px 24px;
    font-weight: 600;
    z-index: 9999;
    transition: top var(--transition);
}

.skip-link:focus {
    top: 0;
}

/* ============================================
   LAYOUT WRAPPERS
   ============================================ */
.wrap {
    max-width: var(--max-width);
    margin: 0 auto;
    padding-left: var(--space-lg);
    padding-right: var(--space-lg);
}

.section {
    padding-top: var(--space-2xl);
    padding-bottom: var(--space-2xl);
    overflow: clip;
}

@media (min-width: 1024px) {
    .section {
        padding-top: var(--space-3xl);
        padding-bottom: var(--space-3xl);
    }
}

/* ============================================
   HEADER
   Sticky frosted-glass header with brand + nav + CTAs
   ============================================ */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--bg-near-black);
    border-bottom: 1px solid var(--border-muted);
    min-height: var(--header-height);
    display: flex;
    align-items: center;
}

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

.site-brand {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    color: var(--fg-cream);
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 20px;
    flex-shrink: 0;
}

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

.site-brand__icon {
    color: var(--gold);
    display: flex;
    flex-shrink: 0;
}

.site-brand__icon svg {
    width: 32px;
    height: 32px;
}

/* ============================================
   PRIMARY NAVIGATION
   Desktop: horizontal inline. Mobile: slide-in drawer.
   ============================================ */
.primary-nav {
    display: none;
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg-near-black);
    z-index: 999;
    overflow-y: auto;
    flex-direction: column;
    padding: var(--space-lg);
}

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

.primary-nav__list {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-bottom: var(--space-lg);
}

.primary-nav__link {
    display: flex;
    align-items: center;
    min-height: 48px;
    padding: 12px var(--space-md);
    color: var(--fg-cream);
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 18px;
    border-bottom: 1px solid var(--border-muted);
    transition: color var(--transition), background var(--transition);
}

.primary-nav__link:hover {
    color: var(--emerald-bright);
    background: var(--emerald-dim);
}

.primary-nav__actions {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    margin-top: auto;
}

.primary-nav__actions .btn {
    text-align: center;
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Desktop nav: inline horizontal */
@media (min-width: 1024px) {
    .primary-nav {
        display: flex;
        position: static;
        flex-direction: row;
        align-items: center;
        background: transparent;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        padding: 0;
        overflow: visible;
        gap: var(--space-lg);
    }

    .primary-nav__list {
        flex-direction: row;
        gap: var(--space-lg);
        margin-bottom: 0;
    }

    .primary-nav__link {
        border-bottom: none;
        padding: 8px 4px;
        min-height: auto;
        font-size: 16px;
        position: relative;
    }

    .primary-nav__link::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        height: 2px;
        background: var(--emerald);
        transform: scaleX(0);
        transition: transform var(--transition);
    }

    .primary-nav__link:hover::after {
        transform: scaleX(1);
    }

    .primary-nav__actions {
        flex-direction: row;
        gap: var(--space-md);
        margin-top: 0;
    }

    .primary-nav__actions .btn {
        min-height: auto;
        padding: 10px 24px;
    }
}

/* ============================================
   MOBILE MENU TOGGLE (Hamburger)
   ============================================ */
.mobile-menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    background: transparent;
    border: 1px solid var(--border-muted);
    border-radius: var(--radius-sm);
    cursor: pointer;
    z-index: 1001;
    flex-shrink: 0;
    padding: 10px;
    transition: border-color var(--transition);
}

.mobile-menu-toggle:hover {
    border-color: var(--emerald);
}

.mobile-menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--fg-cream);
    border-radius: 2px;
    transition: transform var(--transition), opacity var(--transition);
}

.mobile-menu-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.mobile-menu-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

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

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 16px;
    padding: 12px 28px;
    border-radius: var(--radius-sm);
    border: 1px solid transparent;
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
    min-height: 44px;
    line-height: 1.4;
}

.btn--login {
    background: transparent;
    color: var(--fg-cream);
    border-color: var(--border-muted);
}

.btn--login:hover {
    border-color: var(--emerald);
    color: var(--emerald-bright);
}

.btn--register {
    background: var(--emerald);
    color: var(--bg-near-black);
    font-weight: 700;
}

.btn--register:hover {
    background: var(--emerald-bright);
    color: var(--bg-near-black);
    box-shadow: 0 0 20px var(--emerald-glow);
}

.btn--cta {
    background: var(--emerald);
    color: var(--bg-near-black);
    font-weight: 700;
    font-size: 18px;
    padding: 16px 40px;
    border: 2px solid var(--gold);
    box-shadow: 0 0 16px var(--emerald-glow);
    animation: cta-pulse 2.5s ease-in-out infinite;
}

.btn--cta:hover {
    background: var(--emerald-bright);
    box-shadow: 0 0 32px var(--emerald-glow), 0 0 16px var(--gold-glow);
    transform: translateY(-2px);
}

@keyframes cta-pulse {
    0%, 100% { box-shadow: 0 0 16px var(--emerald-glow); }
    50% { box-shadow: 0 0 28px var(--emerald-glow), 0 0 8px var(--gold-glow); }
}

/* ============================================
   HERO SECTION
   Full-bleed dark forest background with model imagery
   Diagonal emerald light-beam gradient
   ============================================ */
.hero {
    position: relative;
    overflow: clip;
    background: var(--bg-near-black);
    padding: var(--space-2xl) 0;
    min-height: 520px;
    display: flex;
    align-items: center;
}

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

.hero__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.45;
}

.hero__beam {
    position: absolute;
    top: -50%;
    right: -20%;
    width: 60%;
    height: 200%;
    background: linear-gradient(135deg, transparent 40%, var(--emerald-dim) 50%, transparent 60%);
    transform: rotate(-15deg);
    z-index: 1;
    pointer-events: none;
}

.hero__inner {
    position: relative;
    z-index: 2;
    max-width: var(--max-width);
    width: 100%;
    margin: 0 auto;
    padding: 0 var(--space-lg);
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-xl);
    align-items: center;
}

.hero__content {
    max-width: 600px;
}

.hero__title {
    font-size: clamp(28px, 6vw, 48px);
    font-weight: 700;
    color: var(--fg-cream);
    margin-bottom: var(--space-md);
    line-height: 1.15;
}

.hero__text {
    font-size: 18px;
    color: var(--fg-sage);
    margin-bottom: var(--space-xl);
    line-height: 1.6;
}

.hero__model {
    display: none;
    justify-self: end;
}

.hero__model img {
    max-height: 560px;
    object-fit: contain;
    filter: drop-shadow(0 0 30px var(--emerald-glow));
}

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

@media (min-width: 1024px) {
    .hero__inner {
        grid-template-columns: 1.2fr 1fr;
    }

    .hero__model {
        display: block;
    }
}

/* ============================================
   SECTION HEADING
   Shared heading style with bow-arrow divider
   ============================================ */
.section-heading {
    text-align: center;
    margin-bottom: var(--space-xl);
}

.section-heading h2 {
    margin-bottom: var(--space-md);
}

.section-heading p {
    color: var(--fg-sage);
    font-size: 18px;
    max-width: 700px;
    margin: 0 auto;
}

.bow-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-md);
    margin: var(--space-lg) 0;
    color: var(--emerald);
}

.bow-divider::before,
.bow-divider::after {
    content: '';
    height: 1px;
    width: 80px;
    background: linear-gradient(90deg, transparent, var(--emerald), transparent);
}

.bow-divider__icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

/* ============================================
   INFO CARD GRID
   Versatile card grid: 2, 3, or 5 columns
   Deep charcoal cards with emerald borders
   Hover: 1.03 scale + emerald shadow + gold border glow
   ============================================ */
.info-card-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-lg);
}

@media (min-width: 768px) {
    .info-card-grid[data-columns="3"],
    .info-card-grid[data-columns="5"] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .info-card-grid[data-columns="2"] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .info-card-grid[data-columns="3"] {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .info-card-grid[data-columns="5"] {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }
}

.info-card {
    background: var(--bg-card);
    border: 1px solid var(--border-muted);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.info-card:hover {
    transform: scale(1.03);
    border-color: var(--gold);
    box-shadow: 0 12px 40px rgba(16, 185, 129, 0.2), 0 0 12px var(--gold-glow);
}

.info-card__media {
    width: 100%;
    aspect-ratio: 3 / 2;
    overflow: hidden;
    background: var(--bg-charcoal);
}

.info-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition);
}

.info-card:hover .info-card__media img {
    transform: scale(1.05);
}

.info-card__body {
    padding: var(--space-lg);
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    flex: 1;
}

.info-card__title {
    font-size: 22px;
    color: var(--fg-cream);
    font-weight: 600;
}

.info-card__text {
    color: var(--fg-sage);
    font-size: 16px;
    line-height: 1.6;
    flex: 1;
}

.info-card__text p {
    margin-bottom: var(--space-md);
}

.info-card__text p:last-child {
    margin-bottom: 0;
}

.info-card__link {
    color: var(--emerald-bright);
    font-weight: 600;
    font-size: 15px;
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    transition: color var(--transition);
    align-self: flex-start;
}

.info-card__link:hover {
    color: var(--gold-bright);
    text-decoration: underline;
    text-decoration-color: var(--gold);
}

/* ============================================
   STAT BLOCK
   Horizontal row of large gold numbers + sage labels
   Emerald dividers on desktop, stacked on mobile
   ============================================ */
.stat-block {
    display: flex;
    flex-direction: column;
    gap: var(--space-xl);
    padding: var(--space-lg) 0;
    text-align: center;
}

@media (min-width: 768px) {
    .stat-block {
        flex-direction: row;
        justify-content: center;
        align-items: center;
        gap: var(--space-xl);
        padding: var(--space-xl) 0;
    }
}

.stat-block__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
    position: relative;
    flex: 1;
    min-width: 0;
}

@media (min-width: 768px) {
    .stat-block__item:not(:last-child)::after {
        content: '';
        position: absolute;
        right: calc(var(--space-xl) * -0.5);
        top: 50%;
        transform: translateY(-50%);
        width: 1px;
        height: 60px;
        background: var(--border-emerald);
    }
}

.stat-block__number {
    font-family: var(--font-display);
    font-size: clamp(36px, 5vw, 44px);
    font-weight: 700;
    color: var(--gold);
    line-height: 1;
    text-shadow: 0 0 20px var(--gold-glow);
}

.stat-block__label {
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 500;
    color: var(--fg-sage);
}

/* ============================================
   CTA BANNER
   Full-width section with diagonal emerald beam
   ============================================ */
.cta-banner {
    position: relative;
    overflow: clip;
    background: var(--bg-near-black);
    padding: var(--space-2xl) var(--space-lg);
    text-align: center;
}

.cta-banner__beam {
    position: absolute;
    top: -50%;
    left: 10%;
    width: 80%;
    height: 200%;
    background: linear-gradient(135deg, transparent 35%, var(--emerald-dim) 50%, transparent 65%);
    transform: rotate(-12deg);
    pointer-events: none;
}

.cta-banner__inner {
    position: relative;
    z-index: 1;
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-md);
}

.cta-banner__headline {
    font-size: clamp(24px, 4vw, 36px);
    font-weight: 700;
    color: var(--fg-cream);
    max-width: 800px;
}

.cta-banner__text {
    font-size: 17px;
    color: var(--fg-sage);
    max-width: 600px;
}

.cta-banner__micro {
    font-size: 14px;
    color: var(--fg-sage-dim);
    font-weight: 500;
    margin-top: var(--space-sm);
}

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

/* ============================================
   FAQ ACCORDION
   Native <details>/<summary> with emerald accent borders
   Rotating bow-arrow icon, smooth expand
   ============================================ */
.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border-muted);
    border-left: 3px solid var(--emerald);
    border-radius: var(--radius-sm);
    overflow: hidden;
    transition: border-color var(--transition), box-shadow var(--transition);
}

.faq-item[open] {
    border-color: var(--emerald);
    box-shadow: 0 0 16px var(--emerald-dim);
}

.faq-item__question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-md);
    padding: 20px;
    cursor: pointer;
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 600;
    color: var(--fg-cream);
    list-style: none;
    transition: background var(--transition);
}

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

.faq-item__question:hover {
    background: var(--bg-card-hover);
}

.faq-item__question-text {
    flex: 1;
    min-width: 0;
}

.faq-item__icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    color: var(--emerald);
    transition: transform var(--transition);
}

.faq-item[open] .faq-item__icon {
    transform: rotate(180deg);
}

.faq-item__answer {
    padding: 0 20px 20px;
    color: var(--fg-sage);
    font-size: 17px;
    line-height: 1.6;
}

.faq-item__answer p {
    margin-bottom: var(--space-md);
}

.faq-item__answer p:last-child {
    margin-bottom: 0;
}

@media (min-width: 1024px) {
    .faq-item__question {
        padding: 24px;
        font-size: 20px;
    }

    .faq-item__answer {
        padding: 0 24px 24px;
    }
}

/* ============================================
   CALLOUT BOX
   Emerald-bordered highlight for tips/warnings/notes
   ============================================ */
.callout {
    background: var(--bg-card);
    border: 1px solid var(--border-muted);
    border-left: 3px solid var(--gold);
    border-radius: var(--radius-sm);
    padding: var(--space-lg);
    margin: var(--space-xl) 0;
}

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

.callout__title {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 600;
    color: var(--fg-cream);
    margin-bottom: var(--space-sm);
}

.callout__body {
    color: var(--fg-sage);
    font-size: 16px;
    line-height: 1.6;
}

.callout__body p {
    margin-bottom: var(--space-md);
}

.callout__body p:last-child {
    margin-bottom: 0;
}

/* ============================================
   SUMMARY / TL;DR BOX
   Bordered container for key takeaways
   ============================================ */
.summary-box {
    background: var(--bg-card);
    border: 1px solid var(--border-emerald);
    border-radius: var(--radius-md);
    padding: var(--space-xl);
    margin: var(--space-xl) 0;
}

.summary-box__title {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 600;
    color: var(--gold);
    margin-bottom: var(--space-md);
}

.summary-box ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.summary-box li {
    color: var(--fg-cream-muted);
    font-size: 16px;
    padding-left: 28px;
    position: relative;
    line-height: 1.6;
}

.summary-box li::before {
    content: '➤';
    position: absolute;
    left: 0;
    color: var(--emerald);
    font-size: 14px;
}

/* ============================================
   PULL QUOTE
   Oversized quote text breaking content flow
   ============================================ */
.pull-quote {
    font-family: var(--font-display);
    font-style: italic;
    font-size: clamp(22px, 3.5vw, 28px);
    color: var(--fg-cream);
    text-align: center;
    padding: var(--space-xl) var(--space-lg);
    border-top: 1px solid var(--border-emerald);
    border-bottom: 1px solid var(--border-emerald);
    margin: var(--space-xl) 0;
    line-height: 1.4;
}

.pull-quote cite {
    display: block;
    font-family: var(--font-body);
    font-style: normal;
    font-size: 16px;
    color: var(--fg-sage);
    margin-top: var(--space-md);
}

/* ============================================
   TRUST BADGES ROW
   Horizontal arrangement of payment/method badges
   ============================================ */
.trust-badges {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md);
    justify-content: center;
    align-items: center;
    padding: var(--space-lg) 0;
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
}

.trust-badge {
    background: var(--bg-card);
    border: 1px solid var(--border-muted);
    border-radius: var(--radius-sm);
    padding: 12px 20px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 15px;
    color: var(--fg-sage);
    transition: border-color var(--transition), color var(--transition), box-shadow var(--transition);
}

.trust-badge:hover {
    border-color: var(--emerald);
    color: var(--fg-cream);
    box-shadow: 0 0 12px var(--emerald-dim);
}

/* ============================================
   COMPARISON TABLE
   Styled table with highlighted recommended column
   ============================================ */
.table-wrapper {
    overflow-x: auto;
    max-width: 100%;
    -webkit-overflow-scrolling: touch;
    margin: var(--space-xl) 0;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 500px;
}

.comparison-table th,
.comparison-table td {
    padding: 16px;
    text-align: left;
    border-bottom: 1px solid var(--border-muted);
    font-size: 16px;
    color: var(--fg-cream-muted);
}

.comparison-table th {
    font-family: var(--font-display);
    font-weight: 600;
    color: var(--fg-cream);
    background: var(--bg-card);
}

.comparison-table tr:hover td {
    background: var(--bg-card);
}

.comparison-table .col-highlight {
    background: var(--emerald-dim);
    border-left: 2px solid var(--emerald);
    border-right: 2px solid var(--emerald);
}

.comparison-table .col-highlight th {
    color: var(--gold);
    border-top: 2px solid var(--emerald);
}

/* ============================================
   TEXT CONTENT BLOCK
   Full-width SEO text section with comfortable reading
   ============================================ */
.text-block {
    max-width: 800px;
    margin: 0 auto;
}

.text-block h2 {
    margin-bottom: var(--space-lg);
}

.text-block h3 {
    margin-top: var(--space-xl);
    margin-bottom: var(--space-md);
    color: var(--fg-cream);
}

.text-block p {
    color: var(--fg-cream-muted);
    font-size: 17px;
    line-height: 1.6;
    margin-bottom: 28px;
}

.text-block p:last-child {
    margin-bottom: 0;
}

.text-block strong {
    color: var(--fg-cream);
    font-weight: 600;
}

.text-block a {
    color: var(--emerald-bright);
    font-weight: 500;
    text-decoration: underline;
    text-decoration-color: var(--emerald-dim);
    transition: color var(--transition), text-decoration-color var(--transition);
}

.text-block a:hover {
    color: var(--gold-bright);
    text-decoration-color: var(--gold);
}

.text-block ul,
.text-block ol {
    list-style: none;
    margin: var(--space-lg) 0;
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.text-block li {
    color: var(--fg-cream-muted);
    font-size: 17px;
    line-height: 1.6;
    padding-left: 28px;
    position: relative;
}

.text-block li::before {
    content: '➤';
    position: absolute;
    left: 0;
    color: var(--emerald);
    font-size: 14px;
}

.text-block ol {
    counter-reset: step-counter;
}

.text-block ol li {
    counter-increment: step-counter;
    padding-left: 40px;
}

.text-block ol li::before {
    content: counter(step-counter);
    font-family: var(--font-display);
    font-weight: 700;
    color: var(--gold);
    font-size: 16px;
    width: 24px;
    text-align: center;
}

/* ============================================
   TWO-COLUMN LAYOUT
   For text + image/card side-by-side sections
   ============================================ */
.two-col {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-xl);
    align-items: center;
}

@media (min-width: 1024px) {
    .two-col {
        grid-template-columns: 1.1fr 1fr;
    }
}

.two-col__text h2 {
    margin-bottom: var(--space-md);
}

.two-col__text p {
    color: var(--fg-cream-muted);
    font-size: 17px;
    line-height: 1.6;
    margin-bottom: 28px;
}

.two-col__text p:last-child {
    margin-bottom: 0;
}

.two-col__text ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    margin: var(--space-lg) 0;
}

.two-col__text li {
    padding-left: 28px;
    position: relative;
    color: var(--fg-cream-muted);
    font-size: 17px;
    line-height: 1.6;
}

.two-col__text li::before {
    content: '➤';
    position: absolute;
    left: 0;
    color: var(--emerald);
    font-size: 14px;
}

.two-col__media img {
    border-radius: var(--radius-md);
    width: 100%;
    object-fit: cover;
}

/* ============================================
   FOOTER
   Three-column footer collapsing to single column
   ============================================ */
.site-footer {
    background: var(--bg-charcoal);
    border-top: 1px solid var(--border-muted);
    padding: var(--space-2xl) var(--space-lg) var(--space-lg);
}

.site-footer__inner {
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-xl);
}

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

.site-footer__brand {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-md);
    color: var(--fg-cream);
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 18px;
}

.site-footer__brand-icon {
    color: var(--gold);
    display: flex;
}

.site-footer__license,
.site-footer__age {
    font-size: 14px;
    color: var(--fg-sage);
    margin-bottom: var(--space-sm);
    line-height: 1.5;
}

.site-footer__heading {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 600;
    color: var(--fg-cream);
    margin-bottom: var(--space-md);
}

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

.site-footer__links a {
    color: var(--fg-sage);
    font-size: 15px;
    transition: color var(--transition);
}

.site-footer__links a:hover {
    color: var(--emerald-bright);
}

.site-footer__payments {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
    max-width: 360px;
}

.payment-badge {
    background: var(--bg-card);
    border: 1px solid var(--border-muted);
    border-radius: var(--radius-sm);
    padding: 8px 12px;
    font-size: 13px;
    font-weight: 600;
    color: var(--fg-sage);
    transition: border-color var(--transition), color var(--transition);
}

.payment-badge:hover {
    border-color: var(--emerald);
    color: var(--fg-cream);
}

.site-footer__bottom {
    max-width: var(--max-width);
    margin: var(--space-xl) auto 0;
    padding-top: var(--space-lg);
    border-top: 1px solid var(--border-muted);
    text-align: center;
}

.site-footer__bottom p {
    font-size: 14px;
    color: var(--fg-sage-dim);
}

/* ============================================
   ANIMATIONS
   Fade-in slide-up on viewport entry with stagger
   ============================================ */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 600ms ease-out, transform 600ms ease-out;
    transition-delay: calc(var(--stagger, 0) * 100ms);
}

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

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

    .btn--cta {
        animation: none;
    }

    html {
        scroll-behavior: auto;
    }
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.text-center { text-align: center; }
.text-gold { color: var(--gold); }
.text-emerald { color: var(--emerald-bright); }
.bg-charcoal { background: var(--bg-charcoal); }
.bg-card { background: var(--bg-card); }
.rounded { border-radius: var(--radius-md); }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.hidden { display: none !important; }

/* ============================================
   VIP PAGE - ENHANCED GOLD ACCENTS
   ============================================ */
.vip-hero__title {
    background: linear-gradient(135deg, var(--fg-cream) 0%, var(--gold-bright) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.vip-hero__beam {
    background: linear-gradient(135deg, transparent 35%, var(--gold-dim) 45%, var(--emerald-dim) 55%, transparent 70%);
}

/* VIP Level Cards - escalating gold border intensity */
.vip-level-card--1 {
    border-color: var(--border-muted);
}
.vip-level-card--1:hover {
    border-color: rgba(251, 191, 36, 0.3);
}

.vip-level-card--2 {
    border-color: rgba(251, 191, 36, 0.15);
}
.vip-level-card--2:hover {
    border-color: rgba(251, 191, 36, 0.5);
}

.vip-level-card--3 {
    border-color: rgba(16, 185, 129, 0.3);
}
.vip-level-card--3:hover {
    border-color: var(--emerald);
    box-shadow: 0 12px 40px rgba(16, 185, 129, 0.2), 0 0 12px var(--emerald-glow);
}

.vip-level-card--4 {
    border-color: rgba(251, 191, 36, 0.3);
}
.vip-level-card--4:hover {
    border-color: var(--gold);
    box-shadow: 0 12px 40px rgba(251, 191, 36, 0.15), 0 0 16px var(--gold-glow);
}

.vip-level-card--5 {
    border-color: var(--gold);
    box-shadow: 0 0 12px var(--gold-dim);
}
.vip-level-card--5:hover {
    border-color: var(--gold-bright);
    box-shadow: 0 12px 40px rgba(251, 191, 36, 0.25), 0 0 24px var(--gold-glow);
}

.vip-level-card__media {
    background: linear-gradient(180deg, var(--bg-charcoal) 0%, var(--bg-card) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-lg);
}

.vip-level-card__media img {
    width: auto;
    max-width: 140px;
    height: auto;
    max-height: 140px;
    object-fit: contain;
}

.vip-level-card__title {
    color: var(--gold);
}

.vip-level-card__list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    margin-top: var(--space-md);
}

.vip-level-card__list li {
    color: var(--fg-cream-muted);
    font-size: 15px;
    line-height: 1.5;
    padding-left: 20px;
    position: relative;
}

.vip-level-card__list li::before {
    content: '➤';
    position: absolute;
    left: 0;
    color: var(--emerald);
    font-size: 12px;
}

/* VIP stats section - stronger gold glow */
.vip-stats-section .stat-block__number {
    text-shadow: 0 0 24px var(--gold-glow), 0 0 8px var(--gold-dim);
}

/* VIP level grid: 3+2 layout on desktop */
@media (min-width: 1024px) {
    .vip-level-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    .vip-level-grid .vip-level-card:nth-child(4) {
        grid-column: 1 / 2;
        grid-row: 2;
    }
    .vip-level-grid .vip-level-card:nth-child(5) {
        grid-column: 2 / 3;
        grid-row: 2;
    }
}

/* ============================================
   SITEMAP LIST
   Vertical list of page links with descriptions
   ============================================ */
.sitemap-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin: var(--space-xl) 0;
}

.sitemap-list__item {
    padding: 20px 0;
    border-bottom: 1px solid var(--border-muted);
}

.sitemap-list__item:first-child {
    padding-top: 0;
}

.sitemap-list__link {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 600;
    color: var(--emerald-bright);
    display: inline-block;
    margin-bottom: var(--space-sm);
    transition: color var(--transition);
}

.sitemap-list__link:hover {
    color: var(--gold-bright);
}

.sitemap-list__desc {
    color: var(--fg-sage);
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 0;
}

/* ============================================
   OVERFLOW SAFETY
   ============================================ */
section {
    overflow: clip;
}

[class*="grid"] > *,
[class*="flex"] > * {
    min-width: 0;
}

pre, code, .code-block, [class*="code"] {
    max-width: 100%;
    overflow-x: auto;
}

.table-wrapper,
[class*="table-"] {
    max-width: 100%;
    overflow-x: auto;
}

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

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