/* ============================================
   DRAGONIA CASINO - DESIGN SYSTEM
   Mobile-first, dark-fantasy aesthetic
   ============================================ */

/* ============================================
   1. RESET & BOX MODEL
   ============================================ */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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

body {
    background-color: var(--background);
    color: var(--foreground);
    font-family: "Nunito Sans", system-ui, -apple-system, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
}

/* ============================================
   2. OVERFLOW PREVENTION
   ============================================ */
img, video, iframe, embed, object, svg {
    max-width: 100%;
    height: auto;
}

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

pre, code, .code-block {
    max-width: 100%;
    overflow-x: auto;
}

.table-wrapper {
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

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

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

section {
    overflow: clip;
}

/* ============================================
   3. TYPOGRAPHY SYSTEM
   Cinzel Decorative for display/headlines
   Nunito Sans for body text
   ============================================ */

/* Display / Hero Headlines */
.font-display {
    font-family: "Cinzel Decorative", serif;
}

h1, h2, h3, h4, h5, h6 {
    font-family: "Cinzel Decorative", serif;
    font-weight: 700;
    line-height: 1.2;
    color: var(--foreground);
}

/* H1: 32px mobile → 52px desktop */
h1 {
    font-size: clamp(1.75rem, 5vw + 0.5rem, 3.25rem);
    letter-spacing: 0.02em;
}

/* H2: 26px mobile → 38px desktop */
h2 {
    font-size: clamp(1.5rem, 3.5vw + 0.5rem, 2.375rem);
    letter-spacing: 0.015em;
}

/* H3: 20px mobile → 26px desktop */
h3 {
    font-size: clamp(1.125rem, 2vw + 0.5rem, 1.625rem);
    font-weight: 600;
    letter-spacing: 0.01em;
}

/* H4: 18px mobile → 20px desktop */
h4 {
    font-size: clamp(1rem, 1.5vw + 0.25rem, 1.25rem);
    font-weight: 600;
}

p {
    font-size: 1rem;
    line-height: 1.65;
    margin-bottom: 1.25rem;
}

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

a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.2s ease-out;
}

a:hover {
    color: #ffc04d;
    text-decoration: underline;
}

ul, ol {
    padding-left: 1.5rem;
}

li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

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

/* Stat numbers in gold */
.stat-number {
    font-family: "Cinzel Decorative", serif;
    font-size: clamp(2rem, 6vw + 1rem, 3rem);
    color: var(--primary);
    font-weight: 700;
    line-height: 1;
}

/* Gold text utility */
.text-gold {
    color: var(--primary);
}

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

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

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

/* ============================================
   4. LAYOUT SYSTEM
   Max-width containers, grid utilities
   ============================================ */

.container {
    width: 100%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    padding-right: 1rem;
}

@media (min-width: 768px) {
    .container {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}

@media (min-width: 1024px) {
    .container {
        padding-left: 2rem;
        padding-right: 2rem;
    }
}

.container--narrow {
    max-width: 760px;
}

.container--medium {
    max-width: 900px;
}

/* Section spacing */
.section {
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
    position: relative;
}

@media (min-width: 1024px) {
    .section {
        padding-top: 6rem;
        padding-bottom: 6rem;
    }
}

.section--tight {
    padding-top: 2rem;
    padding-bottom: 2rem;
}

@media (min-width: 1024px) {
    .section--tight {
        padding-top: 3rem;
        padding-bottom: 3rem;
    }
}

.section--dark {
    background-color: var(--background);
}

.section--card {
    background-color: var(--card);
}

/* ============================================
   5. DRAGON SCALE TEXTURE
   CSS-only diagonal scale texture overlay
   ============================================ */

.dragon-scale-bg {
    position: relative;
}

.dragon-scale-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        repeating-linear-gradient(
            60deg,
            transparent,
            transparent 18px,
            rgba(245, 166, 35, 0.04) 18px,
            rgba(245, 166, 35, 0.04) 19px
        ),
        repeating-linear-gradient(
            -60deg,
            transparent,
            transparent 18px,
            rgba(245, 166, 35, 0.04) 18px,
            rgba(245, 166, 35, 0.04) 19px
        );
    pointer-events: none;
    z-index: 0;
}

.dragon-scale-bg > * {
    position: relative;
    z-index: 1;
}

/* ============================================
   6. BUTTON SYSTEM
   Primary (gold), Ghost (outline), Danger (crimson)
   ============================================ */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-family: "Nunito Sans", sans-serif;
    font-weight: 700;
    font-size: 1rem;
    line-height: 1;
    padding: 0.875rem 2rem;
    min-height: 48px;
    border-radius: 8px;
    border: 2px solid transparent;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s ease-out;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}

.btn:hover {
    text-decoration: none;
    transform: translateY(-2px);
}

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

/* Primary: Molten Gold */
.btn-primary {
    background: linear-gradient(135deg, #f5a623 0%, #e8940f 100%);
    color: #0d0e1a;
    border-color: #f5a623;
    font-weight: 800;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #ffc04d 0%, #f5a623 100%);
    color: #0d0e1a;
    box-shadow: 0 8px 32px rgba(245, 166, 35, 0.45);
}

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

.btn-ghost:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(245, 166, 35, 0.08);
}

/* Crimson secondary */
.btn-crimson {
    background: transparent;
    color: var(--secondary);
    border-color: var(--secondary);
}

.btn-crimson:hover {
    background: var(--secondary);
    color: var(--foreground);
}

/* Small */
.btn-sm {
    font-size: 0.875rem;
    padding: 0.625rem 1.25rem;
    min-height: 40px;
}

/* Full width */
.btn-full {
    width: 100%;
}

/* Pulsing CTA animation - gold ring every 4s */
@keyframes cta-pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(245, 166, 35, 0); }
    50% { box-shadow: 0 0 0 12px rgba(245, 166, 35, 0); }
    25% { box-shadow: 0 0 0 6px rgba(245, 166, 35, 0.35); }
}

.btn-pulse {
    animation: cta-pulse 4s ease-out infinite;
}

/* ============================================
   7. HEADER
   Fixed sticky navigation
   ============================================ */

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--header-height);
    background-color: rgba(13, 14, 26, 0.97);
    border-bottom: 1px solid var(--border);
}

@supports (backdrop-filter: blur(12px)) {
    @media (min-width: 769px) {
        .site-header {
            background-color: rgba(13, 14, 26, 0.88);
            backdrop-filter: blur(12px);
            -webkit-backdrop-filter: blur(12px);
        }
    }
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
    height: 100%;
}

@media (min-width: 768px) {
    .header-inner {
        padding: 0 1.5rem;
    }
}

/* Logo */
.header-logo {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    text-decoration: none;
    flex-shrink: 0;
}

.header-logo:hover {
    text-decoration: none;
}

.logo-img {
    width: 36px;
    height: 36px;
    object-fit: contain;
}

@media (min-width: 768px) {
    .logo-img {
        width: 40px;
        height: 40px;
    }
}

.logo-text {
    font-family: "Cinzel Decorative", serif;
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--foreground);
    letter-spacing: 0.03em;
    line-height: 1;
}

@media (min-width: 768px) {
    .logo-text {
        font-size: 1.25rem;
    }
}

.logo-accent {
    color: var(--primary);
}

/* Desktop Navigation */
.desktop-nav {
    display: none;
}

@media (min-width: 1024px) {
    .desktop-nav {
        display: flex;
        align-items: center;
    }
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.nav-link {
    display: block;
    padding: 0.5rem 0.875rem;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--muted-foreground);
    text-decoration: none;
    border-radius: 6px;
    transition: color 0.2s ease-out, background-color 0.2s ease-out;
    white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
    background-color: rgba(245, 166, 35, 0.08);
    text-decoration: none;
}

/* Header Actions */
.header-actions {
    display: none;
    align-items: center;
    gap: 0.625rem;
    flex-shrink: 0;
}

@media (min-width: 768px) {
    .header-actions {
        display: flex;
    }
}

/* Hamburger Toggle */
.hamburger-btn {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
    border-radius: 6px;
    transition: background-color 0.2s ease-out;
    flex-shrink: 0;
    z-index: 1001;
}

.hamburger-btn:hover {
    background-color: rgba(245, 166, 35, 0.1);
}

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

.hamburger-line {
    display: block;
    width: 22px;
    height: 2px;
    background-color: var(--foreground);
    border-radius: 2px;
    transform-origin: center;
    transition: transform 0.25s ease-out, opacity 0.25s ease-out, background-color 0.25s ease-out;
}

/* Hamburger → X animation */
.hamburger-btn[aria-expanded="true"] .hamburger-line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.hamburger-btn[aria-expanded="true"] .hamburger-line:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.hamburger-btn[aria-expanded="true"] .hamburger-line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ============================================
   8. MOBILE NAV DRAWER
   Full-height slide-in from right
   ============================================ */

.mobile-nav {
    display: none;
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--background);
    z-index: 999;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    transform: translateX(100%);
    transition: transform 0.3s ease-out;
}

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

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

.mobile-nav-inner {
    display: flex;
    flex-direction: column;
    padding: 1.5rem 1rem;
    min-height: 100%;
    gap: 1rem;
}

.mobile-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.mobile-nav-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-height: 56px;
    padding: 0.75rem 1rem;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--foreground);
    text-decoration: none;
    border-radius: 10px;
    border: 1px solid var(--border);
    background-color: var(--card);
    transition: all 0.2s ease-out;
}

.mobile-nav-link:hover {
    color: var(--primary);
    border-color: var(--primary);
    background-color: rgba(245, 166, 35, 0.08);
    text-decoration: none;
}

.mobile-nav-cta {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px solid var(--border);
    margin-top: 0.5rem;
}

.mobile-nav-footer {
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
}

.mobile-nav-disclaimer {
    font-size: 0.75rem;
    color: var(--muted-foreground);
    text-align: center;
    line-height: 1.5;
    margin: 0;
}

/* Nav overlay for closing on outside click */
.nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 998;
    top: var(--header-height);
}

.nav-overlay.is-active {
    display: block;
}

/* ============================================
   9. HERO SECTIONS
   Full-bleed dark hero with particles
   ============================================ */

.hero {
    position: relative;
    min-height: 100svh;
    display: flex;
    align-items: center;
    background-color: var(--background);
    padding-top: calc(var(--header-height) + 2rem);
    padding-bottom: 3.5rem;
    overflow: clip;
}

.hero--medium {
    min-height: 60svh;
}

.hero--compact {
    min-height: 45svh;
}

.hero--minimal {
    min-height: auto;
    padding-top: calc(var(--header-height) + 3rem);
    padding-bottom: 3rem;
}

.hero-inner {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    text-align: center;
}

@media (min-width: 768px) {
    .hero-inner {
        padding: 0 1.5rem;
    }
}

/* Hero background gradient */
.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 50% at 50% 0%, rgba(245, 166, 35, 0.1) 0%, transparent 60%),
        radial-gradient(ellipse 60% 40% at 100% 50%, rgba(192, 57, 43, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse 60% 40% at 0% 50%, rgba(0, 200, 83, 0.04) 0%, transparent 50%);
    pointer-events: none;
    z-index: 1;
}

/* Dragon scale texture on hero */
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        repeating-linear-gradient(
            60deg,
            transparent,
            transparent 22px,
            rgba(245, 166, 35, 0.03) 22px,
            rgba(245, 166, 35, 0.03) 23px
        ),
        repeating-linear-gradient(
            -60deg,
            transparent,
            transparent 22px,
            rgba(245, 166, 35, 0.03) 22px,
            rgba(245, 166, 35, 0.03) 23px
        );
    pointer-events: none;
    z-index: 1;
}

/* Particle canvas */
#hero-particles {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}

.hero-eyebrow {
    display: inline-block;
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--primary);
    background: rgba(245, 166, 35, 0.12);
    border: 1px solid rgba(245, 166, 35, 0.3);
    padding: 0.375rem 1rem;
    border-radius: 999px;
    margin-bottom: 1.25rem;
}

.hero-title {
    margin-bottom: 1rem;
    color: var(--foreground);
}

.hero-title-accent {
    color: var(--primary);
    display: block;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--muted-foreground);
    max-width: 600px;
    margin: 0 auto 2rem;
    line-height: 1.6;
}

.hero-bonus-callout {
    font-family: "Cinzel Decorative", serif;
    font-size: clamp(2rem, 6vw + 0.5rem, 3.5rem);
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 0.5rem;
    text-shadow: 0 0 40px rgba(245, 166, 35, 0.4);
}

.hero-actions {
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
    align-items: center;
    margin-top: 2rem;
}

@media (min-width: 480px) {
    .hero-actions {
        flex-direction: row;
        justify-content: center;
    }
}

/* Dragon mascot float animation */
@keyframes dragon-float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-8px); }
}

.dragon-mascot {
    animation: dragon-float 6s ease-in-out infinite;
    max-width: 280px;
    width: 100%;
}

@media (min-width: 1024px) {
    .dragon-mascot {
        max-width: 420px;
    }
}

/* Hero two-column layout on desktop */
.hero-two-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2.5rem;
    text-align: center;
}

@media (min-width: 1024px) {
    .hero-two-col {
        flex-direction: row;
        text-align: left;
        gap: 3rem;
    }
    .hero-two-col .hero-content {
        flex: 1;
    }
    .hero-two-col .hero-media {
        flex: 1;
        display: flex;
        justify-content: flex-end;
        align-items: center;
    }
    .hero-two-col .hero-actions {
        justify-content: flex-start;
    }
    .hero-two-col .hero-subtitle {
        margin-left: 0;
        margin-right: 0;
    }
}

/* Urgency ribbon */
.urgency-ribbon {
    display: inline-block;
    background: linear-gradient(135deg, var(--secondary) 0%, #e74c3c 100%);
    color: #fff;
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.375rem 1.25rem;
    border-radius: 4px;
    margin-bottom: 1rem;
}

/* ============================================
   10. STAT BADGE ROW (Component)
   Trust/social proof horizontal scrollable row
   ============================================ */

.stat-badge-row {
    display: flex;
    gap: 0.75rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 1rem 0;
    justify-content: flex-start;
    /* FIX: keyboard accessible scrollable region */
    outline: none;
}

.stat-badge-row::-webkit-scrollbar {
    display: none;
}

@media (min-width: 768px) {
    .stat-badge-row {
        justify-content: center;
        flex-wrap: wrap;
        overflow-x: visible;
    }
}

.stat-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: var(--card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 0.75rem 1rem;
    min-width: 100px;
    min-height: 44px;
    flex-shrink: 0;
    text-align: center;
    gap: 0.25rem;
    transition: border-color 0.2s ease-out;
}

.stat-badge:hover {
    border-color: var(--primary);
}

.stat-badge-icon {
    font-size: 1.25rem;
    line-height: 1;
    margin-bottom: 0.125rem;
}

.stat-badge-value {
    font-family: "Cinzel Decorative", serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
}

.stat-badge-label {
    font-size: 0.75rem;
    color: #c0c3d4;
    white-space: nowrap;
    font-weight: 600;
}

/* ============================================
   11. BONUS CARDS (Component)
   Casino bonus/promo cards
   ============================================ */

.bonus-cards-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

@media (min-width: 768px) {
    .bonus-cards-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1.5rem;
    }
}

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

/* 4-card grid variant (2x2 on tablet) */
.bonus-cards-grid--4 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

@media (min-width: 768px) {
    .bonus-cards-grid--4 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1.5rem;
    }
}

.bonus-card {
    background-color: var(--card);
    border-radius: 14px;
    border: 1px solid var(--border);
    padding: 1rem;
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: transform 0.2s ease-out, box-shadow 0.2s ease-out, border-color 0.2s ease-out;
}

/* Crimson streak top-border accent */
.bonus-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--secondary) 0%, rgba(192, 57, 43, 0.3) 100%);
    border-radius: 14px 14px 0 0;
}

.bonus-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(245, 166, 35, 0.2);
    border-color: rgba(245, 166, 35, 0.4);
}

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

/* Bonus badge top-right */
.bonus-badge {
    display: inline-block;
    font-size: 0.6875rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0.25rem 0.625rem;
    border-radius: 4px;
    margin-bottom: 0.75rem;
    align-self: flex-start;
}

.bonus-badge--crimson {
    background: var(--secondary);
    color: #fff;
}

.bonus-badge--gold {
    background: var(--primary);
    color: var(--primary-foreground);
}

.bonus-badge--emerald {
    background: var(--accent);
    color: var(--accent-foreground);
}

.bonus-badge--muted {
    background: var(--muted);
    color: var(--muted-foreground);
}

.bonus-card-body {
    flex: 1;
}

.bonus-card-icon {
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
    line-height: 1;
}

.bonus-card-title {
    font-family: "Cinzel Decorative", serif;
    font-size: clamp(1.25rem, 3vw, 1.75rem);
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.bonus-card-desc {
    font-size: 0.9375rem;
    color: var(--foreground);
    margin-bottom: 1rem;
    line-height: 1.55;
}

/* Bonus terms list */
.bonus-terms-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
}

.bonus-term-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8125rem;
    padding: 0.375rem 0;
    border-bottom: 1px solid var(--border);
    gap: 0.5rem;
}

.bonus-term-item:last-child {
    border-bottom: none;
}

.bonus-term-label {
    color: var(--muted-foreground);
    font-weight: 600;
    flex-shrink: 0;
}

.bonus-term-value {
    color: var(--foreground);
    font-weight: 700;
    text-align: right;
}

.bonus-card-footer {
    margin-top: 1rem;
}

/* Featured single bonus card */
.bonus-card--featured {
    max-width: 680px;
    margin: 0 auto;
}

/* ============================================
   12. PAYMENT METHOD GRID (Component)
   Payment logos grid
   ============================================ */

.payment-grid {
    display: grid;
    /* FIX: 5 columns on mobile so 10 items = 2 even rows */
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.75rem;
}

@media (min-width: 480px) {
    .payment-grid {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }
}

@media (min-width: 768px) {
    .payment-grid {
        /* FIX: 5 columns so 10 items = 2 even rows of 5 */
        grid-template-columns: repeat(5, minmax(0, 1fr));
        gap: 0.75rem;
    }
}

@media (min-width: 1024px) {
    .payment-grid {
        /* FIX: 5 columns for even 2 rows of 5 from 10 items */
        grid-template-columns: repeat(5, minmax(0, 1fr));
        gap: 1rem;
    }
}

.payment-tile {
    background-color: var(--card);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 0.5rem 0.25rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    min-height: 56px;
    cursor: default;
    transition: transform 0.2s ease-out, border-color 0.2s ease-out;
    text-align: center;
}

.payment-tile:hover {
    transform: scale(1.05);
    border-color: var(--primary);
}

.payment-tile-icon {
    font-size: 1.25rem;
    line-height: 1;
}

.payment-tile-name {
    font-size: 0.625rem;
    font-weight: 700;
    color: var(--foreground);
    text-align: center;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 100%;
}

.payment-tile-detail {
    font-size: 0.5625rem;
    color: var(--muted-foreground);
    text-align: center;
}

/* ============================================
   13. FAQ ACCORDION (Component)
   Expandable question/answer pairs
   ============================================ */

.faq-accordion {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.faq-item {
    border-bottom: 1px solid var(--border);
}

.faq-item:first-child {
    border-top: 1px solid var(--border);
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-height: 56px;
    padding: 1rem 0;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    gap: 1rem;
    transition: color 0.2s ease-out;
}

.faq-question-text {
    font-family: "Nunito Sans", sans-serif;
    font-size: 1rem;
    font-weight: 700;
    /* FIX: use var(--foreground) = #f0eee8 which meets 4.5:1 on #0d0e1a */
    color: var(--foreground);
    line-height: 1.4;
    flex: 1;
    min-width: 0;
}

@media (min-width: 768px) {
    .faq-question-text {
        font-size: 1.0625rem;
    }
}

.faq-question:hover .faq-question-text,
.faq-question[aria-expanded="true"] .faq-question-text {
    color: var(--primary);
}

.faq-chevron {
    flex-shrink: 0;
    color: var(--primary);
    transition: transform 0.2s ease-out;
    display: flex;
    align-items: center;
}

.faq-question[aria-expanded="true"] .faq-chevron {
    transform: rotate(180deg);
}

.faq-answer {
    overflow: hidden;
}

.faq-answer[hidden] {
    display: none;
}

.faq-answer-inner {
    padding: 0 0 1.25rem;
    font-size: 0.9375rem;
    color: var(--muted-foreground);
    line-height: 1.65;
    animation: faq-open 0.3s ease-out;
}

.faq-answer-inner p {
    color: var(--muted-foreground);
    font-size: 0.9375rem;
    margin-bottom: 0.75rem;
}

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

.faq-answer-inner a {
    color: var(--primary);
    /* FIX: underline to distinguish from surrounding muted text */
    text-decoration: underline;
    text-decoration-color: rgba(245, 166, 35, 0.5);
}

.faq-answer-inner a:hover {
    text-decoration-color: var(--primary);
}

.faq-answer-inner ul {
    padding-left: 1.25rem;
    margin-top: 0.5rem;
}

.faq-answer-inner li {
    margin-bottom: 0.375rem;
    font-size: 0.9375rem;
    color: var(--muted-foreground);
}

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

/* FAQ Section group label */
.faq-group-label {
    font-family: "Cinzel Decorative", serif;
    font-size: 1.125rem;
    /* FIX: use var(--foreground) = #f0eee8 for high contrast; accent with left border */
    color: var(--foreground);
    margin-bottom: 0.75rem;
    padding-left: 1rem;
    border-left: 3px solid var(--secondary);
}

/* Gold accent span inside group label */
.faq-group-label .faq-label-accent {
    color: var(--primary);
}

/* FAQ support link - distinguishable from surrounding muted text */
.faq-support-link {
    color: var(--primary);
    text-decoration: underline;
    text-decoration-color: rgba(245, 166, 35, 0.5);
    font-weight: 700;
}

.faq-support-link:hover {
    color: #ffc04d;
    text-decoration-color: #ffc04d;
}

/* ============================================
   14. GAME CARDS
   Casino game thumbnail cards
   ============================================ */

.game-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
}

@media (min-width: 480px) {
    .game-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1rem;
    }
}

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

@media (min-width: 1024px) {
    .game-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 1.25rem;
    }
}

.game-card {
    background-color: var(--card);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    transition: transform 0.2s ease-out, box-shadow 0.2s ease-out, border-color 0.2s ease-out;
    min-width: 0;
}

.game-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(245, 166, 35, 0.25);
    border-color: rgba(245, 166, 35, 0.5);
}

.game-card-thumb {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    display: block;
    background-color: var(--muted);
}

.game-card-thumb-placeholder {
    width: 100%;
    aspect-ratio: 4/3;
    background: linear-gradient(135deg, var(--muted) 0%, var(--card) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--primary);
}

.game-card-info {
    padding: 0.625rem 0.75rem;
}

.game-card-title {
    font-family: "Nunito Sans", sans-serif;
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--foreground);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 0.125rem;
}

.game-card-provider {
    font-size: 0.6875rem;
    color: var(--muted-foreground);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Game badges */
.game-badge {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    font-size: 0.625rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
    line-height: 1.3;
}

.game-badge--jackpot {
    background: var(--accent);
    color: var(--accent-foreground);
}

.game-badge--new {
    background: var(--secondary);
    color: #fff;
}

.game-badge--hot {
    background: var(--primary);
    color: var(--primary-foreground);
}

.game-rtp-badge {
    position: absolute;
    bottom: 0.5rem;
    left: 0.5rem;
    font-size: 0.625rem;
    font-weight: 700;
    background: rgba(0, 200, 83, 0.15);
    color: var(--accent);
    border: 1px solid rgba(0, 200, 83, 0.3);
    padding: 0.15rem 0.4rem;
    border-radius: 4px;
}

/* Hover play overlay */
.game-card-overlay {
    position: absolute;
    inset: 0;
    background: rgba(13, 14, 26, 0.75);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.2s ease-out;
    border-radius: 12px;
}

.game-card:hover .game-card-overlay {
    opacity: 1;
}

.game-card-play-btn {
    background: linear-gradient(135deg, #f5a623 0%, #e8940f 100%);
    color: #0d0e1a;
    font-weight: 800;
    font-size: 0.875rem;
    padding: 0.625rem 1.25rem;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
}

/* ============================================
   15. SECTION HEADINGS & CONTENT PATTERNS
   ============================================ */

.section-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

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

.section-header h2 {
    margin-bottom: 0.75rem;
}

.section-header p {
    font-size: 1.0625rem;
    color: var(--muted-foreground);
    max-width: 600px;
    margin: 0 auto;
}

/* Section divider */
.section-divider {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 3px;
    margin: 1rem auto;
}

/* ============================================
   16. VIP PROGRAM STYLES
   ============================================ */

.vip-tiers {
    display: grid;
    /* FIX: on mobile use 2 cols then grow, avoids horizontal scroll cutoff */
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
}

@media (min-width: 480px) {
    .vip-tiers {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (min-width: 768px) {
    .vip-tiers {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }
}

/* FIX: last item (5th in 2-col layout = row of 1) should span 2 to fill */
@media (max-width: 479px) {
    .vip-tier-card:last-child:nth-child(odd) {
        grid-column: span 2;
    }
}

.vip-tier-card {
    background-color: var(--card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1rem 0.75rem;
    text-align: center;
    transition: border-color 0.2s ease-out;
}

.vip-tier-card--active,
.vip-tier-card:hover {
    border-color: var(--primary);
    box-shadow: 0 0 20px rgba(245, 166, 35, 0.15);
}

.vip-tier-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.vip-tier-name {
    font-family: "Cinzel Decorative", serif;
    font-size: 0.875rem;
    color: var(--primary);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.vip-tier-benefits {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 0.75rem;
    color: var(--muted-foreground);
    text-align: left;
}

.vip-tier-benefits li {
    margin-bottom: 0.25rem;
    font-size: 0.75rem;
    padding-left: 1rem;
    position: relative;
}

.vip-tier-benefits li::before {
    content: '✓';
    color: var(--accent);
    position: absolute;
    left: 0;
    font-weight: 700;
}

/* ============================================
   17. PROVIDER LOGOS SECTION
   ============================================ */

.providers-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
}

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

@media (min-width: 768px) {
    .providers-grid {
        grid-template-columns: repeat(6, minmax(0, 1fr));
        gap: 1rem;
    }
}

@media (min-width: 1024px) {
    .providers-grid {
        gap: 1.25rem;
    }
}

.provider-tile {
    background-color: var(--card);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 0.875rem 0.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.375rem;
    min-height: 70px;
    transition: transform 0.2s ease-out, border-color 0.2s ease-out;
    cursor: default;
}

.provider-tile:hover {
    transform: scale(1.05);
    border-color: rgba(245, 166, 35, 0.4);
}

.provider-tile-icon {
    font-size: 1.5rem;
    line-height: 1;
}

.provider-tile-name {
    font-size: 0.625rem;
    font-weight: 700;
    color: var(--muted-foreground);
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

/* ============================================
   18. TABS (Game Filter)
   ============================================ */

.tab-bar {
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 0.25rem;
}

.tab-bar::-webkit-scrollbar {
    display: none;
}

.tab-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    flex-shrink: 0;
    height: 44px;
    padding: 0 1rem;
    font-family: "Nunito Sans", sans-serif;
    font-size: 0.875rem;
    font-weight: 700;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: transparent;
    color: var(--muted-foreground);
    cursor: pointer;
    transition: all 0.2s ease-out;
    white-space: nowrap;
}

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

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

/* ============================================
   19. DATA TABLES
   Responsive styled tables
   ============================================ */

.data-table-wrapper {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: 12px;
    border: 1px solid var(--border);
    outline: none;
}

.data-table-wrapper:focus {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

.data-table {
    width: 100%;
    min-width: 500px;
    border-collapse: collapse;
    font-size: 0.875rem;
}

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

.data-table thead th {
    font-family: "Nunito Sans", sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--primary);
    padding: 0.875rem 1rem;
    text-align: left;
    border-bottom: 1px solid var(--border);
    white-space: nowrap;
}

.data-table tbody tr {
    border-bottom: 1px solid var(--border);
    transition: background-color 0.15s ease-out;
}

.data-table tbody tr:nth-child(even) {
    background-color: rgba(22, 24, 41, 0.5);
}

.data-table tbody tr:hover {
    background-color: rgba(245, 166, 35, 0.05);
}

.data-table tbody tr:last-child {
    border-bottom: none;
}

.data-table td {
    padding: 0.75rem 1rem;
    color: var(--foreground);
    line-height: 1.4;
    vertical-align: middle;
}

.data-table td strong {
    font-weight: 700;
}

/* Fast indicator */
.speed-fast {
    color: var(--accent);
    font-weight: 700;
}

.speed-medium {
    color: var(--primary);
}

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

/* Highlighted recommended column */
.table-highlight-col {
    background-color: rgba(245, 166, 35, 0.07);
}

/* ============================================
   19b. RESPONSIBLE GAMING PAGE
   ============================================ */

.responsible-hero {
    background: linear-gradient(180deg, #0d0e1a 0%, #0f1020 100%);
}

/* Links within responsible gaming article body text -
   must be visually distinguishable from surrounding text
   without relying on color alone (WCAG 1.4.1) */
.responsible-article a.responsible-link {
    color: var(--primary);
    text-decoration: underline;
    text-decoration-color: var(--primary);
    text-underline-offset: 2px;
}

.responsible-article a.responsible-link:hover {
    color: #ffc04d;
    text-decoration-color: #ffc04d;
}

/* ============================================
   20. CALLOUT BOXES & ENGAGEMENT PATTERNS
   ============================================ */

/* Summary / TL;DR box */
.summary-box {
    background-color: var(--card);
    border-left: 4px solid var(--primary);
    border-radius: 0 10px 10px 0;
    padding: 1.25rem 1.5rem;
    margin-bottom: 2rem;
}

.summary-box .summary-title {
    font-family: "Cinzel Decorative", serif;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

/* Callout / highlight box */
.callout-box {
    background-color: rgba(245, 166, 35, 0.06);
    border: 1px solid rgba(245, 166, 35, 0.25);
    border-left: 4px solid var(--primary);
    border-radius: 0 10px 10px 0;
    padding: 1rem 1.25rem;
    margin: 1.5rem 0;
}

.callout-box--crimson {
    background-color: rgba(192, 57, 43, 0.06);
    border-color: rgba(192, 57, 43, 0.25);
    border-left-color: var(--secondary);
}

.callout-box--emerald {
    background-color: rgba(0, 200, 83, 0.06);
    border-color: rgba(0, 200, 83, 0.25);
    border-left-color: var(--accent);
}

/* Stat highlight (large number + label) */
.stat-highlight {
    text-align: center;
    padding: 1.5rem;
}

.stat-highlight-number {
    font-family: "Cinzel Decorative", serif;
    font-size: clamp(2.5rem, 8vw, 4rem);
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
    display: block;
}

.stat-highlight-label {
    font-size: 1rem;
    color: var(--muted-foreground);
    margin-top: 0.375rem;
    display: block;
}

/* Pull quote */
.pull-quote {
    border-left: 4px solid var(--primary);
    padding: 1rem 1.5rem;
    margin: 2rem 0;
    font-size: 1.125rem;
    font-style: italic;
    color: var(--foreground);
    line-height: 1.6;
    background-color: rgba(245, 166, 35, 0.04);
    border-radius: 0 8px 8px 0;
}

.pull-quote cite {
    display: block;
    font-size: 0.875rem;
    font-style: normal;
    color: var(--muted-foreground);
    margin-top: 0.5rem;
}

/* Details / summary expandable */
details.expandable {
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

/* Impressum / Legal text pages */
.legal-content h2 {
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.legal-content p {
    margin-bottom: 1rem;
}

/* ============================================
   ANIMATE ON SCROLL
   FIX: opacity stays at 1 always so text contrast
   is never reduced by a parent opacity value.
   Only transform animates to provide the visual
   slide-in effect without affecting color contrast.
   ============================================ */

.animate-on-scroll {
    opacity: 1;
    transform: translateY(20px);
    transition: transform 0.3s ease-out;
    transition-delay: var(--delay, 0ms);
}

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

/* ============================================
   EXPANDABLE DETAILS
   ============================================ */

details.expandable summary {
    padding: 1rem 1.25rem;
    cursor: pointer;
    font-weight: 700;
    color: var(--foreground);
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 48px;
    user-select: none;
}

details.expandable summary::-webkit-details-marker {
    display: none;
}

details.expandable summary::after {
    content: '▼';
    font-size: 0.75rem;
    color: var(--primary);
    transition: transform 0.2s ease-out;
}

details.expandable[open] summary::after {
    transform: rotate(180deg);
}

details.expandable .details-content {
    padding: 0 1.25rem 1rem;
    color: var(--muted-foreground);
    font-size: 0.9375rem;
    line-height: 1.6;
}

/* CTA section band */
.cta-section {
    background: linear-gradient(135deg, rgba(245, 166, 35, 0.1) 0%, rgba(192, 57, 43, 0.08) 100%);
    border-top: 1px solid rgba(245, 166, 35, 0.2);
    border-bottom: 1px solid rgba(245, 166, 35, 0.2);
    padding: 3.5rem 1rem;
    text-align: center;
}

@media (min-width: 1024px) {
    .cta-section {
        padding: 5rem 2rem;
    }
}

.cta-section h2 {
    margin-bottom: 0.75rem;
    font-size: clamp(1.5rem, 4vw, 2.25rem);
}

.cta-section p {
    color: var(--muted-foreground);
    margin-bottom: 2rem;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}

.cta-section .btn {
    min-width: 240px;
}

.cta-subtext {
    font-size: 0.8125rem;
    color: var(--muted-foreground);
    margin-top: 0.75rem;
}

/* Trust badges row (footer-style) */
.trust-row {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    padding: 1.5rem 0;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--muted-foreground);
    white-space: nowrap;
}

/* Social proof / review cards */
.review-card {
    background-color: var(--card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.25rem;
}

.review-stars {
    color: var(--primary);
    font-size: 1rem;
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
}

.review-text {
    font-size: 0.9375rem;
    color: var(--foreground);
    line-height: 1.55;
    font-style: italic;
    margin-bottom: 0.75rem;
}

.review-author {
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--muted-foreground);
}

/* ============================================
   21. FOOTER
   ============================================ */

.site-footer {
    background-color: #0a0b15;
    border-top: 1px solid var(--border);
    margin-top: 0;
}

.footer-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 768px) {
    .footer-inner {
        padding: 0 1.5rem;
    }
}

/* Footer Top */
.footer-top {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding: 2rem 0;
    border-bottom: 1px solid var(--border);
}

@media (min-width: 768px) {
    .footer-top {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
}

.footer-section-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--muted-foreground);
    margin-bottom: 0.75rem;
}

.footer-logos-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.footer-payment-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--muted-foreground);
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 0.375rem 0.75rem;
    white-space: nowrap;
}

.footer-trust-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
}

.footer-trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--foreground);
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 0.5rem 0.875rem;
}

.trust-badge-icon {
    font-size: 1rem;
}

.footer-18plus {
    background: var(--secondary);
    border-color: var(--secondary);
    font-size: 1rem;
    font-weight: 900;
    font-family: "Cinzel Decorative", serif;
}

/* Footer Links */
.footer-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2rem;
    padding: 2.5rem 0;
    border-bottom: 1px solid var(--border);
}

@media (min-width: 768px) {
    .footer-links {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

/* Footer column titles use <p> element for correct heading order,
   styled to match the original h4 visual appearance */
.footer-col-title {
    font-family: "Cinzel Decorative", serif;
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1rem;
    letter-spacing: 0.03em;
    /* Reset p defaults that conflict */
    line-height: 1.2;
}

.footer-link-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-link {
    font-size: 0.875rem;
    color: var(--muted-foreground);
    text-decoration: none;
    transition: color 0.2s ease-out;
}

.footer-link:hover {
    color: var(--primary);
    text-decoration: none;
}

.footer-description {
    font-size: 0.8125rem;
    color: var(--muted-foreground);
    line-height: 1.6;
    margin-bottom: 0.75rem;
}

.footer-license {
    font-size: 0.75rem;
    color: var(--muted-foreground);
    line-height: 1.6;
}

/* Footer Bottom */
.footer-bottom {
    padding: 1.5rem 0 2rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    align-items: center;
}

.footer-copyright {
    font-size: 0.8125rem;
    color: var(--muted-foreground);
    margin: 0;
}

.footer-disclaimer {
    font-size: 0.8125rem;
    color: var(--muted-foreground);
    max-width: 640px;
    line-height: 1.55;
    margin: 0;
}

.footer-disclaimer strong {
    color: var(--foreground);
}

/* FIX: footer inline links need underline to be distinguishable from surrounding muted text */
.footer-link-inline {
    color: var(--primary);
    text-decoration: underline;
    text-decoration-color: rgba(245, 166, 35, 0.5);
}

.footer-link-inline:hover {
    text-decoration-color: var(--primary);
    color: #ffc04d;
}

.footer-bottom-badges {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.footer-bottom-badge {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--muted-foreground);
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 0.25rem 0.625rem;
}

/* ============================================
   22. SCROLL ANIMATIONS
   ============================================ */

/* Note: .animate-on-scroll is already defined above in the ANIMATE ON SCROLL section.
   Keeping stagger children here for reference - they use the same class. */

/* Stagger children */
.stagger-children .animate-on-scroll:nth-child(1) { transition-delay: 0ms; }
.stagger-children .animate-on-scroll:nth-child(2) { transition-delay: 100ms; }
.stagger-children .animate-on-scroll:nth-child(3) { transition-delay: 200ms; }
.stagger-children .animate-on-scroll:nth-child(4) { transition-delay: 300ms; }
.stagger-children .animate-on-scroll:nth-child(5) { transition-delay: 400ms; }
.stagger-children .animate-on-scroll:nth-child(6) { transition-delay: 500ms; }

/* ============================================
   23. PAGE OFFSET FOR FIXED HEADER
   ============================================ */

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

/* ============================================
   24. UTILITY CLASSES
   ============================================ */

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

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-6 { margin-bottom: 3rem; }

.mt-2 { margin-top: 1rem; }
.mt-4 { margin-top: 2rem; }

.gap-2 { gap: 1rem; }
.gap-3 { gap: 1.5rem; }

.d-flex { display: flex; }
.flex-wrap { flex-wrap: wrap; }
.align-center { align-items: center; }
.justify-center { justify-content: center; }
.flex-col { flex-direction: column; }

.w-full { width: 100%; }

.hidden { display: none; }

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

/* ============================================
   25. SEO CONTENT SECTION
   Editorial text zone
   ============================================ */

.seo-content {
    max-width: 760px;
    margin: 0 auto;
    color: var(--foreground);
}

.seo-content h2 {
    margin-bottom: 1rem;
    margin-top: 2.5rem;
}

.seo-content h2:first-child {
    margin-top: 0;
}

.seo-content h3 {
    margin-bottom: 0.75rem;
    margin-top: 2rem;
    color: var(--primary);
}

.seo-content h4 {
    margin-bottom: 0.5rem;
    margin-top: 1.5rem;
    color: var(--foreground);
}

.seo-content p {
    color: var(--muted-foreground);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 1.25rem;
}

.seo-content ul,
.seo-content ol {
    padding-left: 1.5rem;
    margin-bottom: 1.25rem;
}

.seo-content li {
    color: var(--muted-foreground);
    font-size: 1rem;
    line-height: 1.65;
    margin-bottom: 0.5rem;
}

/* FIX: links in SEO content body text need underline for distinguishability */
.seo-content a {
    color: var(--primary);
    text-decoration: underline;
    text-decoration-color: rgba(245, 166, 35, 0.5);
}

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

.seo-content strong {
    color: var(--foreground);
}

.seo-content table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1.5rem;
    font-size: 0.9375rem;
}

.seo-content th {
    background-color: var(--muted);
    color: var(--primary);
    font-weight: 700;
    padding: 0.75rem 1rem;
    text-align: left;
    font-size: 0.8125rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    border: 1px solid var(--border);
}

.seo-content td {
    padding: 0.6875rem 1rem;
    border: 1px solid var(--border);
    color: var(--muted-foreground);
    vertical-align: top;
}

.seo-content tr:nth-child(even) td {
    background-color: rgba(22, 24, 41, 0.4);
}

.seo-content blockquote {
    border-left: 4px solid var(--primary);
    margin: 1.5rem 0;
    padding: 1rem 1.5rem;
    background: rgba(245, 166, 35, 0.04);
    border-radius: 0 8px 8px 0;
}

.seo-content blockquote p {
    font-size: 1.0625rem;
    font-style: italic;
    margin-bottom: 0;
}

/* ============================================
   26. LIVE INDICATORS
   ============================================ */

.live-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    background-color: var(--accent);
    border-radius: 50%;
    animation: live-pulse 2s ease-in-out infinite;
    margin-right: 0.375rem;
    flex-shrink: 0;
}

@keyframes live-pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.3); }
}

.live-badge {
    display: inline-flex;
    align-items: center;
    font-size: 0.6875rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent);
    background: rgba(0, 200, 83, 0.12);
    border: 1px solid rgba(0, 200, 83, 0.3);
    border-radius: 4px;
    padding: 0.2rem 0.5rem;
    gap: 0.25rem;
}

/* ============================================
   27. HIGHLIGHT PILLS (hero stats)
   ============================================ */

.pill-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.625rem;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.pill {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    height: 36px;
    padding: 0 1rem;
    border-radius: 999px;
    font-size: 0.875rem;
    font-weight: 700;
    border: 1px solid;
    white-space: nowrap;
}

.pill--gold {
    border-color: rgba(245, 166, 35, 0.4);
    color: var(--primary);
    background: rgba(245, 166, 35, 0.08);
}

.pill--crimson {
    border-color: rgba(192, 57, 43, 0.4);
    color: #e74c3c;
    background: rgba(192, 57, 43, 0.08);
}

.pill--emerald {
    border-color: rgba(0, 200, 83, 0.4);
    color: var(--accent);
    background: rgba(0, 200, 83, 0.08);
}

.pill--muted {
    border-color: var(--border);
    color: var(--muted-foreground);
    background: transparent;
}

/* ============================================
   28. BREADCRUMB
   ============================================ */

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    font-size: 0.8125rem;
    color: var(--muted-foreground);
    margin-bottom: 1.5rem;
}

.breadcrumb a {
    color: var(--muted-foreground);
    text-decoration: none;
}

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

.breadcrumb-sep {
    color: var(--border);
}

.breadcrumb-current {
    color: var(--primary);
}

/* ============================================
   29. GAMIFICATION SECTION
   Bonus Crab, challenges etc.
   ============================================ */

.gamification-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

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

.gamification-card {
    background-color: var(--card);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 1.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.gamification-card-icon {
    font-size: 3rem;
    margin-bottom: 0.75rem;
    line-height: 1;
}

.gamification-card h3 {
    margin-bottom: 0.5rem;
    font-size: 1.125rem;
}

.gamification-card p {
    font-size: 0.875rem;
    color: var(--muted-foreground);
    margin: 0;
}

/* ============================================
   30. LEGAL / IMPRESSUM STYLES
   ============================================ */

/* Links inside impressum article body paragraphs must be visually
   distinguishable from surrounding text without relying on color alone (WCAG 1.4.1) */
.container--narrow article p a,
.container--narrow article ul li a {
    color: var(--primary);
    text-decoration: underline;
    text-decoration-color: var(--primary);
    text-underline-offset: 2px;
}

.container--narrow article p a:hover,
.container--narrow article ul li a:hover {
    color: #ffc04d;
    text-decoration-color: #ffc04d;
}

.legal-content {
    max-width: 800px;
    margin: 0 auto;
}

.legal-content h2 {
    margin-bottom: 1rem;
    margin-top: 2rem;
    font-size: 1.375rem;
}

.legal-content h2:first-child {
    margin-top: 0;
}

.legal-content p {
    color: var(--muted-foreground);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.legal-content dl {
    margin-bottom: 1.5rem;
}

.legal-content dt {
    font-weight: 700;
    color: var(--muted-foreground);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 0.25rem;
}

.legal-content dd {
    color: var(--foreground);
    font-size: 1rem;
    margin-left: 0;
    margin-bottom: 0.75rem;
    padding-left: 1rem;
    border-left: 2px solid var(--border);
}

.legal-content hr {
    border: none;
    border-top: 1px solid var(--border);
    margin: 2rem 0;
}

/* ============================================
   31. RESPONSIBLE GAMBLING STYLES
   ============================================ */

.responsible-tools-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

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

.responsible-tool-card {
    background-color: var(--card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.25rem;
    text-align: center;
}

.responsible-tool-icon {
    font-size: 2rem;
    margin-bottom: 0.625rem;
    line-height: 1;
}

.responsible-tool-card h3 {
    font-size: 1rem;
    color: var(--foreground);
    margin-bottom: 0.5rem;
}

.responsible-tool-card p {
    font-size: 0.875rem;
    color: var(--muted-foreground);
    margin: 0;
}

/* Step list */
.step-list {
    list-style: none;
    padding: 0;
    margin: 0;
    position: relative;
}

.step-list::before {
    content: '';
    position: absolute;
    left: 19px;
    top: 0;
    bottom: 0;
    width: 2px;
    background-color: var(--border);
}

.step-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    position: relative;
}

.step-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: var(--primary);
    color: var(--primary-foreground);
    font-family: "Cinzel Decorative", serif;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 50%;
    flex-shrink: 0;
    z-index: 1;
}

.step-content {
    padding-top: 0.5rem;
    min-width: 0;
}

.step-title {
    font-weight: 700;
    color: var(--foreground);
    margin-bottom: 0.25rem;
    font-size: 1rem;
}

.step-desc {
    color: var(--muted-foreground);
    font-size: 0.9375rem;
    margin: 0;
}

/* External resource card */
.resource-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.resource-card {
    background-color: var(--card);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 1rem 1.25rem;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.resource-card-info h4 {
    font-size: 1rem;
    font-family: "Nunito Sans", sans-serif;
    font-weight: 700;
    color: var(--foreground);
    margin-bottom: 0.25rem;
}

.resource-card-info p {
    font-size: 0.875rem;
    color: var(--muted-foreground);
    margin: 0;
}

.resource-card-link {
    color: var(--primary);
    font-size: 0.875rem;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    flex-shrink: 0;
}

.resource-card-link:hover {
    text-decoration: underline;
}

/* ============================================
   32. CURRENCY PILLS
   ============================================ */

.currency-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    max-width: 480px;
    margin: 0 auto;
}

.currency-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.5rem 1rem;
    background-color: var(--card);
    border: 1px solid var(--border);
    border-radius: 999px;
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--foreground);
}

/* ============================================
   33. JACKPOT CALLOUT BANNER
   ============================================ */

.jackpot-callout {
    background: linear-gradient(135deg, rgba(192, 57, 43, 0.15) 0%, rgba(245, 166, 35, 0.1) 100%);
    border: 1px solid rgba(245, 166, 35, 0.25);
    border-radius: 14px;
    padding: 2rem;
    text-align: center;
    margin-bottom: 2rem;
}

.jackpot-callout h3 {
    font-family: "Cinzel Decorative", serif;
    font-size: clamp(1.25rem, 3vw, 1.75rem);
    color: var(--primary);
    animation: jackpot-text-pulse 3s ease-in-out infinite;
}

@keyframes jackpot-text-pulse {
    0%, 100% { text-shadow: 0 0 20px rgba(245, 166, 35, 0.4); }
    50% { text-shadow: 0 0 40px rgba(245, 166, 35, 0.8); }
}

/* ============================================
   34. LIVE CASINO FEATURE BAND
   ============================================ */

.live-casino-band {
    background: linear-gradient(135deg, rgba(192, 57, 43, 0.12) 0%, var(--background) 100%);
    border-top: 1px solid rgba(192, 57, 43, 0.2);
    border-bottom: 1px solid rgba(192, 57, 43, 0.2);
    padding: 3.5rem 1rem;
}

@media (min-width: 1024px) {
    .live-casino-band {
        padding: 5rem 2rem;
    }
}

.live-casino-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    align-items: center;
    text-align: center;
}

@media (min-width: 1024px) {
    .live-casino-inner {
        flex-direction: row;
        text-align: left;
        justify-content: space-between;
    }
}

.live-casino-stat {
    flex-shrink: 0;
}

.live-casino-features {
    flex: 1;
    min-width: 0;
}

.live-feature-item {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    margin-bottom: 0.625rem;
    font-size: 1rem;
    font-weight: 700;
    color: var(--foreground);
}

/* ============================================
   35. BONUS CRAB SECTION
   ============================================ */

.bonus-crab-section {
    background-color: var(--card);
    border-radius: 16px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    text-align: center;
}

@media (min-width: 768px) {
    .bonus-crab-section {
        flex-direction: row;
        text-align: left;
    }
}

.bonus-crab-mascot {
    font-size: 6rem;
    flex-shrink: 0;
    animation: dragon-float 4s ease-in-out infinite;
    line-height: 1;
}

.bonus-crab-content {
    flex: 1;
    min-width: 0;
}

.bonus-crab-features {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 1rem;
}

@media (min-width: 480px) {
    .bonus-crab-features {
        flex-direction: row;
        flex-wrap: wrap;
    }
}

.bonus-crab-feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--foreground);
}

.bonus-crab-feature-icon {
    font-size: 1.25rem;
    flex-shrink: 0;
}

/* ============================================
   36. FAQ SECTION GROUPS
   ============================================ */

.faq-section-group {
    margin-bottom: 2.5rem;
}

.faq-section-group:last-child {
    margin-bottom: 0;
}

.faq-group-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--border);
}

.faq-group-icon {
    font-size: 1.375rem;
    flex-shrink: 0;
}

/* ============================================
   37. PRINT
   ============================================ */

@media print {
    .site-header,
    .hamburger-btn,
    .mobile-nav,
    .nav-overlay,
    .hero-particles,
    .btn-pulse {
        display: none !important;
    }

    body {
        padding-top: 0;
        background: white;
        color: black;
    }
}