/*
 * Millioner Casino - Design System
 * Dark luxury aesthetic with gold and premium accents
 * Mobile-first responsive layout
 */

/* ============================================
   DESIGN TOKENS
   ============================================ */
:root {
    --background: #14100d;
    --foreground: #f4ead7;
    --card: #241a13;
    --card-foreground: #f4ead7;
    --popover: #1b1410;
    --popover-foreground: #f4ead7;
    --primary: #d9b84a;
    --primary-foreground: #1a120a;
    --secondary: #6f532f;
    --secondary-foreground: #f4ead7;
    --muted: #3a2d21;
    --muted-foreground: #c7b299;
    --accent: #b3122e;
    --accent-foreground: #fff3e6;
    --destructive: #dd1d47;
    --destructive-foreground: #fff7ed;
    --border: #6b5233;
    --input: #20170f;
    --ring: #e6c65c;

    --header-height: 60px;
    --section-gap: 56px;
    --section-gap-dense: 40px;
}

/* Single dark theme - .dark identical to :root */
.dark {
    --background: #14100d;
    --foreground: #f4ead7;
    --card: #241a13;
    --card-foreground: #f4ead7;
    --popover: #1b1410;
    --popover-foreground: #f4ead7;
    --primary: #d9b84a;
    --primary-foreground: #1a120a;
    --secondary: #6f532f;
    --secondary-foreground: #f4ead7;
    --muted: #3a2d21;
    --muted-foreground: #c7b299;
    --accent: #b3122e;
    --accent-foreground: #fff3e6;
    --destructive: #dd1d47;
    --destructive-foreground: #fff7ed;
    --border: #6b5233;
    --input: #20170f;
    --ring: #e6c65c;
}

@media (min-width: 1024px) {
    :root {
        --header-height: 72px;
        --section-gap: 96px;
        --section-gap-dense: 64px;
    }
}

/* ============================================
   BASE RESET & OVERFLOW PREVENTION
   ============================================ */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-height) + 20px);
    background: var(--background);
}

body {
    margin: 0;
    font-family: "Manrope", sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--foreground);
    background: var(--background);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

section { overflow: clip; }

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

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

pre code, .code-block code {
    display: block;
    min-width: 0;
}

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

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

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

a {
    word-break: break-all;
}

/* ============================================
   TYPOGRAPHY
   Playfair Display for headings, Manrope for body
   ============================================ */
h1, h2, h3, h4, h5, h6 {
    font-family: "Playfair Display", serif;
    color: var(--foreground);
    margin: 0;
    line-height: 1.2;
}

h1 { font-size: 30px; font-weight: 700; }
h2 { font-size: 26px; font-weight: 600; line-height: 1.3; }
h3 { font-size: 21px; font-weight: 500; line-height: 1.3; }
h4 { font-size: 20px; font-weight: 600; line-height: 1.4; }

p { margin: 0 0 24px; }

a {
    color: var(--primary);
    text-decoration: none;
    transition: color 250ms ease;
}
a:hover { color: var(--ring); }

a:focus-visible,
button:focus-visible,
[tabindex]:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

@media (min-width: 1024px) {
    h1 { font-size: 52px; }
    h2 { font-size: 38px; }
    h3 { font-size: 26px; }
    body { font-size: 17px; }
}

/* ============================================
   LAYOUT CONTAINERS
   .container - 1200px text column
   .container-wide - 1320px card grids
   .section - consistent vertical rhythm
   ============================================ */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.container-wide {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 20px;
}

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

.section--dense {
    padding-top: var(--section-gap-dense);
    padding-bottom: var(--section-gap-dense);
}

.section-header {
    margin-bottom: 40px;
}
@media (min-width: 1024px) {
    .section-header { margin-bottom: 56px; }
}

.section-title {
    font-size: 26px;
    font-weight: 600;
    margin: 0 0 16px;
}
@media (min-width: 1024px) {
    .section-title { font-size: 38px; }
}

.section-subtitle {
    font-size: 17px;
    color: var(--muted-foreground);
    max-width: 720px;
    margin: 0;
}

/* ============================================
   EYEBROW LABELS
   Small uppercase gold label with wide letter-spacing
   ============================================ */
.eyebrow {
    display: block;
    font-family: "Manrope", sans-serif;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--primary);
    margin-bottom: 12px;
}

/* ============================================
   HEADER
   Sticky translucent with backdrop blur
   ============================================ */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(20, 16, 13, 0.88);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
}

.header-inner {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 16px;
    height: var(--header-height);
    display: flex;
    align-items: center;
    gap: 16px;
}

.site-brand {
    font-family: "Playfair Display", serif;
    font-size: 20px;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
    white-space: nowrap;
    letter-spacing: -0.02em;
    margin-right: auto;
}
.site-brand:hover { color: var(--ring); }

/* ============================================
   PRIMARY NAVIGATION (Desktop)
   Hidden on mobile, shown at 1024px+
   ============================================ */
.primary-nav { display: none; }

.header-actions { display: none; }

@media (min-width: 1024px) {
    .header-inner { padding: 0 32px; gap: 32px; }
    .site-brand { margin-right: auto; font-size: 22px; }

    .primary-nav { display: block; }
    .primary-nav__list {
        list-style: none;
        display: flex;
        gap: 4px;
        margin: 0;
        padding: 0;
    }
    .primary-nav__list a {
        display: flex;
        align-items: center;
        padding: 8px 16px;
        color: var(--foreground);
        font-size: 15px;
        font-weight: 500;
        text-decoration: none;
        border-radius: 8px;
        transition: color 250ms ease, background 250ms ease;
    }
    .primary-nav__list a:hover { color: var(--primary); }
    .primary-nav__list a[aria-current="page"] { color: var(--primary); }

    .header-actions {
        display: flex;
        align-items: center;
        gap: 12px;
    }
}

/* ============================================
   MOBILE MENU TOGGLE (Hamburger)
   ============================================ */
.mobile-menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.mobile-menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--primary);
    border-radius: 2px;
    transition: transform 300ms ease, opacity 300ms ease;
}

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

/* ============================================
   MOBILE NAV DRAWER
   Fixed slide-in panel from the right
   ============================================ */
.mobile-nav {
    position: fixed;
    top: var(--header-height);
    right: 0;
    bottom: 0;
    width: 100%;
    max-width: 420px;
    background: var(--background);
    z-index: 999;
    transform: translateX(100%);
    transition: transform 300ms ease;
    overflow-y: auto;
    padding: 24px 20px;
    display: flex;
    flex-direction: column;
}

.mobile-nav.is-open { transform: translateX(0); }

.mobile-nav__list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mobile-nav__list a {
    display: flex;
    align-items: center;
    min-height: 48px;
    padding: 0 16px;
    color: var(--foreground);
    text-decoration: none;
    font-size: 18px;
    font-weight: 500;
    border-radius: 8px;
    transition: background 250ms ease, color 250ms ease;
}
.mobile-nav__list a:hover,
.mobile-nav__list a[aria-current="page"] {
    background: var(--muted);
    color: var(--primary);
}

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

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

/* ============================================
   MOBILE NAV OVERLAY
   ============================================ */
.mobile-nav-overlay {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: opacity 300ms ease, visibility 300ms ease;
}

.mobile-nav-overlay.is-open {
    opacity: 1;
    visibility: visible;
}

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

/* ============================================
   BUTTONS
   .btn-primary - gold filled with shimmer on hover
   .btn-ghost - transparent with bronze border
   .btn-text - text link button
   .btn-lg - larger size for hero and CTA
   ============================================ */
.btn-primary {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    background: var(--primary);
    color: var(--primary-foreground);
    border: none;
    border-radius: 8px;
    font-family: "Manrope", sans-serif;
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    cursor: pointer;
    min-height: 48px;
    overflow: hidden;
    transition: background 250ms ease, transform 250ms ease, box-shadow 250ms ease;
}

.btn-primary::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.18), transparent);
    transition: left 600ms ease;
    pointer-events: none;
}

.btn-primary:hover {
    background: var(--ring);
    color: var(--primary-foreground);
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(217, 184, 74, 0.3);
}
.btn-primary:hover::after { left: 100%; }

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

.btn-ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    background: transparent;
    color: var(--foreground);
    border: 1px solid var(--border);
    border-radius: 8px;
    font-family: "Manrope", sans-serif;
    font-weight: 500;
    font-size: 16px;
    text-decoration: none;
    cursor: pointer;
    min-height: 48px;
    transition: border-color 250ms ease, color 250ms ease;
}

.btn-ghost:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.btn-text {
    display: inline-flex;
    align-items: center;
    color: var(--primary);
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    padding: 8px 0;
    transition: color 250ms ease;
}
.btn-text:hover { color: var(--ring); }

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

/* ============================================
   GOLD FRAME & GLOW
   Signature thin double gold hairline frame
   Outer 1px bronze border, inner 2px gold border offset by 8px
   ============================================ */
.gold-frame {
    position: relative;
    border: 1px solid var(--border);
    border-radius: 12px;
}

.gold-frame::before {
    content: '';
    position: absolute;
    inset: 8px;
    border: 2px solid var(--primary);
    border-radius: 8px;
    pointer-events: none;
    opacity: 0.4;
    transition: opacity 250ms ease;
}

.gold-frame:hover::before { opacity: 0.7; }

/* ============================================
   CARDS - Content containers
   .info-card - base with padding, double frame, hover lift
   .info-card-grid - responsive grid wrapper
   ============================================ */
.info-card {
    position: relative;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 20px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 250ms ease, box-shadow 250ms ease, border-color 250ms ease;
}

.info-card::before {
    content: '';
    position: absolute;
    inset: 8px;
    border: 2px solid var(--primary);
    border-radius: 8px;
    pointer-events: none;
    opacity: 0.2;
    transition: opacity 250ms ease;
}

.info-card:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 8px 30px rgba(217, 184, 74, 0.12);
    border-color: var(--primary);
}

.info-card:hover::before { opacity: 0.55; }

.info-card__image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.info-card__badge {
    position: absolute;
    top: 16px;
    right: 16px;
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    z-index: 2;
}
.info-card__badge--vip { background: var(--accent); color: var(--accent-foreground); }
.info-card__badge--xl { background: var(--primary); color: var(--primary-foreground); }
.info-card__badge--hot { background: var(--accent); color: var(--accent-foreground); }

.info-card__content {
    display: flex;
    flex-direction: column;
    flex: 1;
    position: relative;
    z-index: 1;
}

.info-card__title {
    margin-bottom: 12px;
}

.info-card__body {
    color: var(--muted-foreground);
    margin-bottom: 20px;
}

.info-card__cta {
    align-self: flex-start;
    margin-top: auto;
}

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

/* Card grid */
.info-card-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

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

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

/* ============================================
   HERO - Full-bleed banner sections
   ============================================ */
.hero {
    position: relative;
    padding: 80px 0;
    overflow: clip;
}

.hero__bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    z-index: 0;
}

.hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(20, 16, 13, 0.72) 0%, rgba(20, 16, 13, 0.92) 100%);
    z-index: 0;
}

.hero__content {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero__title {
    font-size: 30px;
    font-weight: 700;
    margin: 0 0 16px;
    max-width: 720px;
}

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

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

@media (min-width: 768px) {
    .hero__bg { object-position: center 25%; }
}

@media (min-width: 1024px) {
    .hero { padding: 120px 0 80px; }
    .hero__title { font-size: 52px; }
    .hero__subtitle { font-size: 20px; }
}

/* ============================================
   CTA BANNER - Full-width conversion section
   Warmer dark brown-black background so gold pops
   ============================================ */
.cta-banner {
    padding: 56px 20px;
    background: #1a130e;
    border-top: 1px solid var(--border);
}

.cta-banner__inner {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    padding: 48px 24px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: var(--card);
}

.cta-banner__glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(217, 184, 74, 0.08), transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.cta-banner__heading {
    font-size: 26px;
    font-weight: 600;
    color: var(--foreground);
    margin: 0 0 16px;
    position: relative;
    z-index: 1;
}

.cta-banner__subtext {
    font-size: 17px;
    color: var(--muted-foreground);
    margin: 0 0 32px;
    position: relative;
    z-index: 1;
}

.cta-banner__button {
    position: relative;
    z-index: 1;
}

.cta-banner__microcopy {
    font-size: 14px;
    color: var(--muted-foreground);
    margin: 16px 0 0;
    line-height: 1.5;
    position: relative;
    z-index: 1;
}

@media (min-width: 1024px) {
    .cta-banner { padding: 96px 20px; }
    .cta-banner__heading { font-size: 38px; }
    .cta-banner__inner { padding: 56px 32px; }
}

/* ============================================
   FAQ ACCORDION - Expandable Q&A panels
   Uses native <details>/<summary> - zero JS required
   ============================================ */
.faq-accordion {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    transition: border-color 250ms ease;
}

.faq-item:hover { border-color: var(--primary); }

.faq-question {
    list-style: none;
    cursor: pointer;
    padding: 20px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    font-family: "Manrope", sans-serif;
    font-weight: 600;
    font-size: 17px;
    color: var(--foreground);
    transition: color 250ms ease;
}

.faq-question::-webkit-details-marker { display: none; }
.faq-question:hover { color: var(--primary); }

.faq-chevron {
    flex-shrink: 0;
    color: var(--primary);
    transition: transform 300ms ease;
}

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

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

.faq-answer p { margin: 0; }

/* ============================================
   STATS & WINNERS - Full-width band
   ============================================ */
.stats-band {
    background: #1a130e;
    padding: 48px 20px;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.stats-band__inner {
    max-width: 1320px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: center;
}

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

.stat-highlight {
    text-align: center;
}

.stat-highlight__number {
    font-family: "Playfair Display", serif;
    font-size: 48px;
    font-weight: 700;
    color: var(--primary);
    display: block;
    line-height: 1;
    margin-bottom: 8px;
}

.stat-highlight__label {
    font-size: 14px;
    color: var(--muted-foreground);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

@media (min-width: 1024px) {
    .stat-highlight__number { font-size: 56px; }
}

/* Jackpot counter */
.jackpot-counter {
    text-align: center;
    padding: 16px 0;
}

.jackpot-counter__amount {
    font-family: "Playfair Display", serif;
    font-size: 48px;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 8px;
}

.jackpot-counter__label {
    font-size: 14px;
    color: var(--muted-foreground);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

@media (min-width: 1024px) {
    .jackpot-counter__amount { font-size: 56px; }
}

/* Winners feed - horizontal scroll with snap */
.winners-feed {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding: 8px 0;
    margin-top: 32px;
}

.winner-card {
    flex: 0 0 auto;
    min-width: 180px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 16px;
    scroll-snap-align: start;
}

.winner-card__game {
    font-size: 14px;
    color: var(--muted-foreground);
    margin-bottom: 4px;
}

.winner-card__amount {
    font-family: "Playfair Display", serif;
    font-size: 24px;
    font-weight: 600;
    color: var(--primary);
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
    background: #1a130e;
    border-top: 1px solid var(--border);
    padding: 48px 20px 24px;
}

.footer-inner {
    max-width: 1320px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
}

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

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

.footer-col__title {
    font-family: "Playfair Display", serif;
    font-size: 16px;
    font-weight: 600;
    color: var(--foreground);
    margin: 0 0 16px;
}

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

.footer-links a {
    color: var(--muted-foreground);
    font-size: 15px;
    text-decoration: none;
    transition: color 250ms ease;
}
.footer-links a:hover { color: var(--primary); }

.footer-compliance {
    font-size: 14px;
    color: var(--muted-foreground);
    line-height: 1.5;
    margin: 0 0 8px;
}

.footer-license {
    font-size: 14px;
    color: var(--muted-foreground);
    line-height: 1.5;
    margin: 0;
}

.footer-bottom {
    max-width: 1320px;
    margin: 32px auto 0;
    padding-top: 24px;
    border-top: 1px solid var(--border);
    text-align: center;
}

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

/* ============================================
   ENGAGEMENT PATTERNS
   ============================================ */

/* Callout / highlight box */
.callout {
    background: var(--card);
    border-left: 3px solid var(--primary);
    padding: 20px 24px;
    border-radius: 0 12px 12px 0;
    margin: 24px 0;
}

.callout__title {
    font-family: "Manrope", sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: var(--primary);
    margin: 0 0 8px;
}

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

/* Pull quote */
.pull-quote {
    font-family: "Playfair Display", serif;
    font-style: italic;
    font-size: 24px;
    color: var(--foreground);
    padding-left: 32px;
    border-left: 3px solid var(--primary);
    margin: 32px 0;
    line-height: 1.4;
}

.pull-quote__author {
    font-family: "Manrope", sans-serif;
    font-style: normal;
    font-size: 14px;
    color: var(--muted-foreground);
    margin-top: 12px;
}

@media (min-width: 1024px) {
    .pull-quote { font-size: 28px; }
}

/* Summary / TL;DR box */
.summary-box {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 24px;
    margin: 24px 0;
}

.summary-box__title {
    font-family: "Manrope", sans-serif;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--primary);
    margin: 0 0 12px;
}

/* ============================================
   CRO PATTERNS
   ============================================ */

/* Trust badges row */
.trust-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.trust-badge {
    background: var(--muted);
    color: var(--muted-foreground);
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
}

/* Comparison table */
.comparison-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--card);
    border-radius: 12px;
    overflow: hidden;
    margin: 24px 0;
}

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

.comparison-table th {
    background: var(--muted);
    color: var(--primary);
    font-family: "Playfair Display", serif;
    font-weight: 600;
    font-size: 16px;
}

.comparison-table .recommended {
    background: rgba(217, 184, 74, 0.08);
}

/* ============================================
   STEP GUIDE - Numbered step-by-step
   ============================================ */
.step-guide {
    counter-reset: step;
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin: 24px 0;
}

.step-guide__item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.step-guide__number {
    counter-increment: step;
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--card);
    border: 1px solid var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: "Playfair Display", serif;
    font-weight: 700;
    color: var(--primary);
    font-size: 18px;
}

.step-guide__number::before { content: counter(step); }

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

.step-guide__title {
    font-family: "Manrope", sans-serif;
    font-weight: 600;
    font-size: 17px;
    color: var(--foreground);
    margin: 0 0 8px;
}

/* ============================================
   PROVIDER LOGOS - Muted monochrome strip
   ============================================ */
.provider-logos {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: center;
    margin: 24px 0;
}

.provider-logo {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 16px 24px;
    color: var(--muted-foreground);
    font-weight: 600;
    font-size: 16px;
    transition: border-color 250ms ease, color 250ms ease;
}

.provider-logo:hover {
    border-color: var(--primary);
    color: var(--foreground);
}

/* ============================================
   PROSE - SEO text sections
   Max 72 characters per line for readability
   ============================================ */
.prose {
    max-width: 720px;
    margin: 0 auto;
}

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

.prose a {
    color: var(--primary);
    text-decoration: underline;
    text-decoration-color: var(--secondary);
    transition: text-decoration-color 250ms ease;
}

.prose a:hover { text-decoration-color: var(--primary); }

/* ============================================
   ANIMATIONS
   .animate-on-scroll - fade and rise on viewport entry
   Stagger delays for grid children
   ============================================ */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 600ms ease, transform 600ms ease;
}

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

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

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

/* ============================================
   HOMEPAGE - HERO FRAME
   Gold frame inset for hero content
   ============================================ */
.hero__frame {
    padding: 32px 24px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: rgba(20, 16, 13, 0.6);
}
.hero__frame::before {
    inset: 8px;
}
.hero__microcopy {
    font-size: 14px;
    color: var(--muted-foreground);
    margin: 16px 0 0;
    line-height: 1.5;
}

/* ============================================
   HOMEPAGE - BONUS CRAB FEATURE
   Two-column layout with transparent image
   ============================================ */
.bonus-crab-feature {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 24px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 12px;
    position: relative;
    overflow: hidden;
}
.bonus-crab-feature::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 25%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(217, 184, 74, 0.06), transparent 70%);
    pointer-events: none;
    z-index: 0;
}
.bonus-crab-feature__image {
    position: relative;
    z-index: 1;
    text-align: center;
}
.bonus-crab-feature__image img {
    max-width: 280px;
    margin: 0 auto;
}
.bonus-crab-feature__content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.bonus-crab-feature__title {
    margin: 0;
}
.bonus-crab-feature__body {
    color: var(--muted-foreground);
    margin: 0 0 8px;
}
.bonus-crab-feature__list {
    list-style: none;
    padding: 0;
    margin: 0 0 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.bonus-crab-feature__list li {
    color: var(--muted-foreground);
    font-size: 15px;
    padding-left: 24px;
    position: relative;
}
.bonus-crab-feature__list li::before {
    content: '◆';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-size: 12px;
}

@media (min-width: 768px) {
    .bonus-crab-feature {
        flex-direction: row;
        align-items: center;
        padding: 40px;
    }
    .bonus-crab-feature__image {
        flex: 0 0 40%;
    }
    .bonus-crab-feature__image img {
        max-width: 100%;
    }
    .bonus-crab-feature__content {
        flex: 1;
    }
}

/* ============================================
   HOMEPAGE - WELCOME OFFER
   ============================================ */
.welcome-offer {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 24px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 12px;
    position: relative;
    overflow: hidden;
}
.welcome-offer__image {
    text-align: center;
    position: relative;
    z-index: 1;
}
.welcome-offer__image img {
    max-width: 220px;
    margin: 0 auto;
}
.welcome-offer__content {
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: relative;
    z-index: 1;
}
.welcome-offer__tiers {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.welcome-offer__tier {
    padding: 16px;
    background: var(--muted);
    border-radius: 8px;
    border-left: 3px solid var(--primary);
}
.welcome-offer__tier-title {
    margin: 0 0 4px;
    color: var(--primary);
}
.welcome-offer__tier-body {
    margin: 0;
    color: var(--muted-foreground);
}
.welcome-offer__microcopy {
    font-size: 14px;
    color: var(--muted-foreground);
    margin: 0;
    line-height: 1.5;
}

@media (min-width: 768px) {
    .welcome-offer {
        flex-direction: row;
        align-items: center;
        padding: 40px;
    }
    .welcome-offer__image {
        flex: 0 0 25%;
    }
    .welcome-offer__content {
        flex: 1;
    }
    .welcome-offer__tiers {
        flex-direction: row;
        gap: 16px;
    }
    .welcome-offer__tier {
        flex: 1;
    }
}

/* ============================================
   HOMEPAGE - VIP PREVIEW
   ============================================ */
.vip-preview {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 24px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 12px;
    position: relative;
    overflow: hidden;
}
.vip-preview__image {
    position: relative;
    z-index: 1;
}
.vip-preview__image img {
    border-radius: 8px;
    width: 100%;
}
.vip-preview__content {
    display: flex;
    flex-direction: column;
    gap: 12px;
    position: relative;
    z-index: 1;
}
.vip-preview__title {
    margin: 0;
}
.vip-preview__body {
    color: var(--muted-foreground);
    margin: 0 0 8px;
}
.vip-preview__list {
    list-style: none;
    padding: 0;
    margin: 0 0 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.vip-preview__list li {
    color: var(--muted-foreground);
    font-size: 15px;
    padding-left: 24px;
    position: relative;
}
.vip-preview__list li::before {
    content: '◆';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-size: 12px;
}

@media (min-width: 768px) {
    .vip-preview {
        flex-direction: row;
        align-items: center;
        padding: 40px;
    }
    .vip-preview__image {
        flex: 0 0 45%;
    }
    .vip-preview__content {
        flex: 1;
    }
}

/* ============================================
   HOMEPAGE - SECTION PROSE
   ============================================ */
.section-prose {
    margin-top: 40px;
}

/* ============================================
   HOMEPAGE - PROVIDER LOGOS CENTER
   ============================================ */
.provider-logos--center {
    justify-content: center;
}
.provider-logos__caption {
    margin-top: 16px;
    font-size: 14px;
}

/* ============================================
   HOMEPAGE - TRUST BADGES CENTER
   ============================================ */
.trust-badges--center {
    justify-content: center;
}

/* ============================================
   SITEMAP PAGE - Ordered page list
   Rich dark umber cards with bronze hairline border
   ============================================ */
.sitemap-list {
    list-style: none;
    counter-reset: sitemap;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.sitemap-list__item {
    counter-increment: sitemap;
    position: relative;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 20px 24px 20px 64px;
    transition: border-color 250ms ease, transform 250ms ease, box-shadow 250ms ease;
}

.sitemap-list__item::before {
    content: counter(sitemap, decimal-leading-zero);
    position: absolute;
    top: 20px;
    left: 20px;
    font-family: "Playfair Display", serif;
    font-size: 22px;
    font-weight: 700;
    color: var(--primary);
    line-height: 1.2;
}

.sitemap-list__item:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(217, 184, 74, 0.1);
}

.sitemap-list__title {
    font-size: 20px;
    font-weight: 600;
    margin: 0 0 8px;
}

.sitemap-list__title a {
    color: var(--foreground);
    text-decoration: none;
    transition: color 250ms ease;
}

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

.sitemap-list__text {
    color: var(--muted-foreground);
    font-size: 15px;
    line-height: 1.6;
    margin: 0;
}

@media (min-width: 1024px) {
    .sitemap-list__item { padding: 24px 32px 24px 76px; }
    .sitemap-list__item::before { top: 24px; left: 28px; }
}

/* ============================================
   VIP PAGE - MEMBERSHIP OVERVIEW
   Single wide card with centered content
   ============================================ */
.vip-overview {
    padding: 32px 24px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 12px;
    position: relative;
    overflow: hidden;
}
.vip-overview::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(217, 184, 74, 0.07), transparent 70%);
    pointer-events: none;
    z-index: 0;
}
.vip-overview__content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
}
.vip-overview__title { margin: 8px 0 0; }
.vip-overview__body {
    color: var(--muted-foreground);
    margin: 0 0 8px;
}
.vip-overview__list {
    list-style: none;
    padding: 0;
    margin: 0 0 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.vip-overview__list li {
    color: var(--muted-foreground);
    font-size: 15px;
    padding-left: 24px;
    position: relative;
}
.vip-overview__list li::before {
    content: '◆';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-size: 12px;
}
@media (min-width: 1024px) {
    .vip-overview { padding: 48px 40px; }
}

/* ============================================
   VIP PAGE - DAILY CASHBACK CARD
   Prominent card with large numerals
   ============================================ */
.cashback-card {
    padding: 32px 24px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 12px;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 24px;
    text-align: center;
    align-items: center;
}
.cashback-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 500px;
    height: 260px;
    background: radial-gradient(ellipse, rgba(217, 184, 74, 0.09), transparent 70%);
    pointer-events: none;
    z-index: 0;
}
.cashback-card__tiers {
    display: flex;
    flex-direction: column;
    gap: 24px;
    width: 100%;
    position: relative;
    z-index: 1;
}
.cashback-card__tier {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 20px 16px;
    background: var(--muted);
    border: 1px solid var(--border);
    border-radius: 10px;
    transition: border-color 250ms ease, transform 250ms ease;
}
.cashback-card__tier:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
}
.cashback-card__body {
    position: relative;
    z-index: 1;
    max-width: 720px;
    text-align: left;
}
.cashback-card__body p {
    color: var(--muted-foreground);
    margin: 0 0 16px;
}
.cashback-card__note {
    font-size: 14px;
    line-height: 1.5;
}
.cashback-card .btn-primary {
    position: relative;
    z-index: 1;
}
@media (min-width: 768px) {
    .cashback-card { padding: 48px 40px; }
    .cashback-card__tiers {
        flex-direction: row;
        gap: 16px;
    }
    .cashback-card__tier { flex: 1; }
}

/* ============================================
   VIP PAGE - RESPONSIBLE GAMING BLOCK
   Refined emerald accents for security icons
   ============================================ */
.responsible-block {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}
.responsible-block__item {
    background: var(--card);
    border: 1px solid var(--border);
    border-left: 3px solid #2e8b6f;
    border-radius: 12px;
    padding: 20px 24px;
    transition: transform 250ms ease, border-color 250ms ease;
}
.responsible-block__item:hover {
    transform: translateY(-2px);
    border-color: #2e8b6f;
}
.responsible-block__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(46, 139, 111, 0.15);
    color: #4fbf9c;
    font-weight: 700;
    font-size: 16px;
    margin-bottom: 12px;
}
.responsible-block__title {
    margin: 0 0 8px;
}
.responsible-block__text {
    color: var(--muted-foreground);
    font-size: 15px;
    margin: 0;
    line-height: 1.6;
}
@media (min-width: 768px) {
    .responsible-block { grid-template-columns: repeat(3, 1fr); gap: 24px; }
}

/* ============================================
   BONUS PAGE - WHEEL OF FORTUNE SWAY
   Gentle looping sway animation in pure CSS
   ============================================ */
.wheel-sway {
    animation: wheelSway 6s ease-in-out infinite;
    transform-origin: 50% 50%;
}

@keyframes wheelSway {
    0%, 100% { transform: rotate(-4deg); }
    50% { transform: rotate(4deg); }
}

@media (prefers-reduced-motion: reduce) {
    .wheel-sway { animation: none; }
}

/* ============================================
   BONUS PAGE - BONUS CODE CHIP
   Dashed gold chip displaying VIP bonus codes
   ============================================ */
.bonus-code {
    display: inline-block;
    font-family: "Playfair Display", serif;
    font-weight: 700;
    font-size: 18px;
    letter-spacing: 0.08em;
    color: var(--primary);
    background: var(--muted);
    border: 1px dashed var(--border);
    border-radius: 8px;
    padding: 8px 16px;
    margin: 4px 0 12px;
    transition: border-color 250ms ease, color 250ms ease;
}

.info-card:hover .bonus-code {
    border-color: var(--primary);
}

/* ============================================
   UTILITIES
   ============================================ */
.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;
}

.text-muted { color: var(--muted-foreground); }
.text-gold { color: var(--primary); }
.text-center { text-align: center; }

/* 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;
}
