/*
 * Millioner Casino - Design System
 * Luxury dark-gold aesthetic, mobile-first, single fixed dark theme
 */

:root {
    --background: #14100C;
    --foreground: #F3EBDD;
    --card: #2A211A;
    --card-foreground: #F3EBDD;
    --popover: #1B1510;
    --popover-foreground: #F3EBDD;
    --primary: #D4AF37;
    --primary-light: #F5D76E;
    --primary-foreground: #14100C;
    --secondary: #2A211A;
    --secondary-foreground: #F3EBDD;
    --muted: #33291F;
    --muted-foreground: #B8A98C;
    --accent: #C23B4E;
    --accent-foreground: #FFFFFF;
    --border: #6B5638;
    --border-light: #8B7349;
    --input: #1B1510;
    --ring: #F5D76E;

    /* Typography */
    --font-display: "Playfair Display", Georgia, serif;
    --font-body: "Manrope", system-ui, sans-serif;

    /* Spacing - 8px base grid */
    --space-xs: 4px;
    --space-sm: 8px;
    --space-md: 16px;
    --space-lg: 24px;
    --space-xl: 32px;
    --space-2xl: 48px;
    --space-3xl: 72px;
    --space-4xl: 120px;

    /* Radius */
    --radius: 16px;
    --radius-sm: 8px;

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

    /* Gradients */
    --gold-gradient: linear-gradient(135deg, #D4AF37 0%, #F5D76E 50%, #D4AF37 100%);
    --gold-text-gradient: linear-gradient(135deg, #F5D76E 0%, #D4AF37 100%);

    /* Shadows */
    --shadow-glow: 0 0 24px rgba(212, 175, 55, 0.3);
    --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.4);
}

/* ============================================
   RESET & BASE
   ============================================ */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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

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

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

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

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

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

section {
    overflow: clip;
}

/* ============================================
   SKIP LINK
   ============================================ */
.skip-link {
    position: absolute;
    top: -100px;
    left: 0;
    background: var(--primary);
    color: var(--primary-foreground);
    padding: 12px 24px;
    font-weight: 600;
    z-index: 9999;
    border-radius: 0 0 var(--radius-sm) 0;
}

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

/* ============================================
   TYPOGRAPHY SYSTEM
   ============================================ */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.01em;
    color: var(--foreground);
}

h1 {
    font-size: 30px;
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: var(--space-lg);
}

h2 {
    font-size: 26px;
    font-weight: 600;
    margin-bottom: var(--space-lg);
}

h3 {
    font-size: 21px;
    font-weight: 600;
    margin-bottom: var(--space-md);
}

h4 {
    font-family: var(--font-body);
    font-size: 18px;
    font-weight: 500;
    margin-bottom: var(--space-sm);
}

p {
    margin-bottom: var(--space-lg);
}

/* Gold gradient H1 only */
h1.gold-text {
    background: var(--gold-text-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

h2.gold-text {
    background: var(--gold-text-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

@media (min-width: 768px) {
    h1 { font-size: 42px; }
    h2 { font-size: 32px; }
    h3 { font-size: 24px; }
    h4 { font-size: 20px; }
}

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

/* ============================================
   LAYOUT WRAPPERS
   ============================================ */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

.container-narrow {
    max-width: 760px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

.section-padding {
    padding-top: var(--space-3xl);
    padding-bottom: var(--space-3xl);
}

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

/* ============================================
   HEADER
   ============================================ */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(20, 16, 12, 0.96);
    border-bottom: 1px solid var(--border);
}

.header-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-md);
}

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

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

.brand-icon {
    flex-shrink: 0;
}

.site-brand__text {
    white-space: nowrap;
}

/* Keep the mobile header inside small viewports:
   icon-only brand + compact padding so CTAs and the
   menu toggle all fit within 375px. */
@media (max-width: 639px) {
    .header-inner {
        padding: 0 var(--space-md);
    }
    .site-brand__text {
        display: none;
    }
}

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

.primary-nav .nav-list {
    display: flex;
    align-items: center;
    gap: var(--space-xl);
    list-style: none;
}

.primary-nav .nav-list a {
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 15px;
    color: var(--foreground);
    transition: color var(--transition);
    white-space: nowrap;
}

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

.primary-nav .nav-ctas {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    margin-left: var(--space-md);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    flex-shrink: 0;
}

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

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--primary);
    border-radius: 2px;
    transition: all var(--transition);
    margin: 0 auto;
}

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

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

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

@media (min-width: 1024px) {
    .primary-nav {
        display: block;
    }
    .primary-nav .nav-ctas {
        display: none;
    }
    .header-actions {
        display: flex;
    }
    .menu-toggle {
        display: none;
    }
}

/* ============================================
   MOBILE NAV DRAWER
   ============================================ */
.primary-nav.is-open {
    display: block;
    visibility: visible;
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--background);
    z-index: 999;
    overflow-y: auto;
    padding: var(--space-xl) var(--space-lg);
}

.primary-nav.is-open .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
}

.primary-nav.is-open .nav-list li {
    border-bottom: 1px solid var(--border);
}

.primary-nav.is-open .nav-list a {
    display: flex;
    align-items: center;
    min-height: 48px;
    font-size: 17px;
    padding: var(--space-sm) 0;
}

.primary-nav.is-open .nav-ctas {
    flex-direction: column;
    align-items: stretch;
    gap: var(--space-md);
    margin-top: var(--space-xl);
    margin-left: 0;
    padding-top: var(--space-xl);
    border-top: 1px solid var(--border);
}

.primary-nav.is-open .nav-ctas .btn {
    width: 100%;
    text-align: center;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 15px;
    padding: 12px 28px;
    border-radius: var(--radius-sm);
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: all var(--transition);
    min-height: 44px;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--gold-gradient);
    color: var(--primary-foreground);
    box-shadow: 0 2px 12px rgba(212, 175, 55, 0.25);
}

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

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(212, 175, 55, 0.4), var(--shadow-glow);
    color: var(--primary-foreground);
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 1px solid var(--primary);
}

.btn-outline:hover {
    background: rgba(212, 175, 55, 0.1);
    color: var(--primary-light);
}

.btn-sm {
    padding: 8px 18px;
    font-size: 14px;
    min-height: 40px;
}

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

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

@media (min-width: 768px) {
    .btn-full-mobile {
        width: auto;
    }
}

/* ============================================
   DOUBLE FRAME - Signature Element
   Thin double gold hairline with corner diamonds
   ============================================ */
.double-frame {
    position: relative;
    border: 1px solid var(--border);
    border-radius: var(--radius);
}

.double-frame::before {
    content: '';
    position: absolute;
    inset: 6px;
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: calc(var(--radius) - 4px);
    pointer-events: none;
}

.corner-diamond {
    position: absolute;
    width: 8px;
    height: 8px;
    background: var(--primary);
    transform: rotate(45deg);
    z-index: 1;
}

.corner-diamond--tl { top: -4px; left: -4px; }
.corner-diamond--tr { top: -4px; right: -4px; }
.corner-diamond--bl { bottom: -4px; left: -4px; }
.corner-diamond--br { bottom: -4px; right: -4px; }

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    position: relative;
    min-height: 520px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

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

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

.hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(20,16,12,0.92) 0%, rgba(20,16,12,0.7) 50%, rgba(20,16,12,0.5) 100%);
    z-index: 1;
}

.hero__content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--space-3xl) var(--space-lg);
    width: 100%;
}

.hero__content > .double-frame {
    padding: var(--space-2xl) var(--space-xl);
    background: rgba(20, 16, 12, 0.6);
    max-width: 640px;
}

.hero__headline {
    font-size: 30px;
    font-weight: 700;
    margin-bottom: var(--space-lg);
    line-height: 1.15;
}

.hero__subtext {
    font-size: 17px;
    color: var(--muted-foreground);
    margin-bottom: var(--space-xl);
    max-width: 60ch;
}

.hero__cta-group {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
}

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

@media (min-width: 768px) {
    .hero {
        min-height: 600px;
    }
    .hero__headline {
        font-size: 42px;
    }
    .hero__cta-group {
        flex-direction: row;
        align-items: center;
    }
}

@media (min-width: 1024px) {
    .hero {
        min-height: 680px;
    }
    .hero__headline {
        font-size: 48px;
    }
    .hero__content > .double-frame {
        padding: var(--space-3xl) var(--space-2xl);
    }
}

/* ============================================
   STAT STRIP - stat_highlight component
   ============================================ */
.stat-strip {
    width: 100%;
    background: linear-gradient(180deg, var(--muted) 0%, var(--card) 100%);
    border-top: 1px solid var(--primary);
    border-bottom: 1px solid var(--primary);
    padding: var(--space-2xl) var(--space-lg);
}

.stat-strip__inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-xl);
}

.stat-item {
    text-align: center;
    padding: var(--space-md) 0;
    position: relative;
}

.stat-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: calc(-1 * var(--space-lg) / 2);
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 60%;
    background: var(--border);
}

.stat-number {
    display: block;
    font-family: var(--font-display);
    font-size: 44px;
    font-weight: 700;
    background: var(--gold-text-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.1;
    margin-bottom: var(--space-xs);
}

.stat-label {
    display: block;
    font-size: 15px;
    color: var(--muted-foreground);
    font-weight: 500;
}

.stat-note {
    display: block;
    font-size: 14px;
    color: var(--muted-foreground);
    margin-top: var(--space-xs);
    opacity: 0.8;
}

@media (min-width: 768px) {
    .stat-number {
        font-size: 54px;
    }
}

@media (min-width: 1024px) {
    .stat-strip__inner {
        grid-template-columns: repeat(4, 1fr);
    }
    .stat-number {
        font-size: 64px;
    }
}

/* ============================================
   INFO CARD - info_card component
   ============================================ */
.info-card {
    min-width: 0;
}

.info-card .double-frame {
    background: var(--card);
    padding: var(--space-lg);
    transition: all var(--transition);
    height: 100%;
}

.info-card:hover .double-frame {
    border-color: var(--primary);
    transform: scale(1.02);
    box-shadow: var(--shadow-card), var(--shadow-glow);
}

.info-card__image {
    border-radius: var(--radius-sm);
    overflow: hidden;
    margin-bottom: var(--space-lg);
    position: relative;
}

.info-card__image img {
    width: 100%;
    aspect-ratio: 400 / 260;
    object-fit: cover;
}

.hot-badge {
    position: absolute;
    top: var(--space-sm);
    right: var(--space-sm);
    background: var(--accent);
    color: var(--accent-foreground);
    font-size: 12px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.info-card__icon {
    font-size: 40px;
    margin-bottom: var(--space-md);
    line-height: 1;
}

.info-card__title {
    font-size: 21px;
    font-weight: 600;
    margin-bottom: var(--space-sm);
    color: var(--foreground);
}

.info-card__text {
    font-size: 16px;
    color: var(--muted-foreground);
    margin-bottom: var(--space-md);
    line-height: 1.6;
}

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

.info-card__link .arrow {
    transition: transform var(--transition);
}

.info-card__link:hover .arrow {
    transform: translateX(4px);
}

@media (min-width: 768px) {
    .info-card .double-frame {
        padding: var(--space-xl);
    }
}

/* ============================================
   CARD GRID - responsive grid for info cards
   ============================================ */
.card-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-xl);
}

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

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

@media (min-width: 1280px) {
    .card-grid--5 {
        grid-template-columns: repeat(5, 1fr);
    }
}

/* ============================================
   CTA BANNER - cta_banner component
   ============================================ */
.cta-banner {
    width: 100%;
    background: var(--popover);
    padding: var(--space-3xl) var(--space-lg);
}

.cta-banner__frame {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: var(--space-2xl) var(--space-xl);
    background: rgba(27, 21, 16, 0.5);
}

.cta-banner__frame::before {
    content: '';
    position: absolute;
    inset: 6px;
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: calc(var(--radius) - 4px);
    pointer-events: none;
}

.cta-banner__inner {
    text-align: center;
}

.cta-banner__headline {
    font-family: var(--font-display);
    font-size: 26px;
    font-weight: 700;
    margin-bottom: var(--space-md);
    background: var(--gold-text-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.cta-banner__subtext {
    font-size: 16px;
    color: var(--muted-foreground);
    margin-bottom: var(--space-xl);
}

.cta-banner__trust {
    font-size: 14px;
    color: var(--muted-foreground);
    margin-top: var(--space-lg);
    margin-bottom: 0;
}

@media (min-width: 768px) {
    .cta-banner__headline {
        font-size: 32px;
    }
    .cta-banner__frame {
        padding: var(--space-3xl) var(--space-2xl);
    }
}

/* ============================================
   FAQ ACCORDION - faq_accordion component
   ============================================ */
.faq-section {
    padding: var(--space-3xl) var(--space-lg);
}

.faq-container {
    max-width: 1200px;
    margin: 0 auto;
}

.faq-container .double-frame {
    background: var(--card);
    padding: var(--space-lg);
    overflow: hidden;
}

.faq-list {
    display: flex;
    flex-direction: column;
}

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

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

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-md);
    padding: var(--space-lg) 0;
    cursor: pointer;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 17px;
    color: var(--foreground);
    list-style: none;
    user-select: none;
}

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

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

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

.faq-answer {
    padding: 0 0 var(--space-lg) 0;
}

.faq-answer p {
    font-size: 17px;
    line-height: 1.6;
    color: var(--muted-foreground);
    margin-bottom: 0;
}

@media (min-width: 768px) {
    .faq-container .double-frame {
        padding: var(--space-xl);
    }
}

/* ============================================
   SECTION HEADING
   ============================================ */
.section-heading {
    text-align: center;
    margin-bottom: var(--space-2xl);
}

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

.section-heading p {
    color: var(--muted-foreground);
    max-width: 70ch;
    margin: 0 auto;
    font-size: 17px;
}

/* ============================================
   CONTENT BLOCKS - text + image layouts
   ============================================ */
.content-block {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--space-3xl) var(--space-lg);
}

.content-block__text {
    max-width: 70ch;
}

.content-block__text p {
    margin-bottom: var(--space-lg);
    color: var(--foreground);
}

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

/* Two-column layout: text + image */
.two-col {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
    align-items: center;
}

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

.two-col__image {
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
}

.two-col__image img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

/* ============================================
   TABLE - comparison/terms tables
   ============================================ */
.table-wrapper {
    overflow-x: auto;
    min-width: 0;
    max-width: 100%;
    border-radius: var(--radius);
    border: 1px solid var(--border);
}

.terms-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 16px;
    min-width: 480px;
}

.terms-table th,
.terms-table td {
    padding: var(--space-md) var(--space-lg);
    text-align: left;
    border-bottom: 1px solid var(--border);
}

.terms-table th {
    background: var(--muted);
    color: var(--primary);
    font-weight: 600;
    font-family: var(--font-body);
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.terms-table td {
    color: var(--foreground);
}

.terms-table tr:last-child td {
    border-bottom: none;
}

.terms-table tr:hover td {
    background: rgba(212, 175, 55, 0.05);
}

/* ============================================
   CALLOUT / HIGHLIGHT BOX
   ============================================ */
.callout {
    border-left: 3px solid var(--primary);
    background: var(--card);
    padding: var(--space-lg) var(--space-xl);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    margin: var(--space-xl) 0;
}

.callout p {
    margin-bottom: 0;
    color: var(--muted-foreground);
}

.callout strong {
    color: var(--primary);
}

/* ============================================
   SUMMARY / TL;DR BOX
   ============================================ */
.summary-box {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: var(--space-xl);
    margin: var(--space-xl) 0;
}

.summary-box h3 {
    color: var(--primary);
    margin-bottom: var(--space-md);
}

.summary-box ul {
    list-style: none;
    padding: 0;
}

.summary-box li {
    padding: var(--space-xs) 0 var(--space-xs) var(--space-lg);
    position: relative;
    color: var(--foreground);
}

.summary-box li::before {
    content: '◆';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-size: 12px;
    top: 6px;
}

/* ============================================
   PULL QUOTE
   ============================================ */
.pull-quote {
    font-family: var(--font-display);
    font-size: 22px;
    font-style: italic;
    line-height: 1.4;
    color: var(--foreground);
    border-left: 3px solid var(--primary);
    padding: var(--space-lg) var(--space-xl);
    margin: var(--space-2xl) 0;
    max-width: 70ch;
}

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

/* ============================================
   PAYMENT LOGOS / TRUST STRIP
   ============================================ */
.payment-logos {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
}

.pay-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 14px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 600;
    color: var(--muted-foreground);
    white-space: nowrap;
}

/* ============================================
   PROVIDER BADGE STRIP
   ============================================ */
.provider-strip {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md);
    justify-content: center;
}

.provider-badge {
    padding: var(--space-sm) var(--space-lg);
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--primary);
    font-weight: 600;
    font-size: 15px;
    transition: all var(--transition);
}

.provider-badge:hover {
    border-color: var(--primary);
    color: var(--primary-light);
    transform: translateY(-2px);
}

/* ============================================
   VIP TIER BADGES
   ============================================ */
.vip-tiers {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
}

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

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

.vip-tier {
    text-align: center;
    padding: var(--space-lg);
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: all var(--transition);
}

.vip-tier:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-card);
}

.vip-tier__diamond {
    width: 48px;
    height: 48px;
    margin: 0 auto var(--space-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 20px;
    color: var(--primary-foreground);
    border-radius: 8px;
    transform: rotate(45deg);
}

.vip-tier__diamond span {
    transform: rotate(-45deg);
}

.vip-tier__name {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 600;
    color: var(--foreground);
    margin-bottom: var(--space-xs);
}

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

/* Tier-specific border brightness */
.vip-tier[data-tier="1"] { border-color: #8B6914; }
.vip-tier[data-tier="2"] { border-color: #A0A0A0; }
.vip-tier[data-tier="3"] { border-color: var(--primary); }
.vip-tier[data-tier="4"] { border-color: #E5E4E2; }
.vip-tier[data-tier="5"] { border-color: var(--accent); }

.vip-tier[data-tier="1"] .vip-tier__diamond { background: #8B6914; }
.vip-tier[data-tier="2"] .vip-tier__diamond { background: #A0A0A0; }
.vip-tier[data-tier="3"] .vip-tier__diamond { background: var(--primary); }
.vip-tier[data-tier="4"] .vip-tier__diamond { background: #E5E4E2; color: var(--primary-foreground); }
.vip-tier[data-tier="5"] .vip-tier__diamond { background: var(--accent); }

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
    background: var(--popover);
    border-top: 1px solid var(--border);
    padding: var(--space-2xl) var(--space-lg) var(--space-xl);
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
}

.footer-heading {
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: var(--space-md);
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

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

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

.footer-bottom {
    max-width: 1200px;
    margin: var(--space-2xl) auto 0;
    padding-top: var(--space-lg);
    border-top: 1px solid var(--border);
}

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

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

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

/* ============================================
   SCROLL ANIMATIONS
   ============================================ */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 600ms ease-out, transform 600ms ease-out;
}

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

/* Staggered children */
.stagger > .animate-on-scroll:nth-child(1) { transition-delay: 0ms; }
.stagger > .animate-on-scroll:nth-child(2) { transition-delay: 80ms; }
.stagger > .animate-on-scroll:nth-child(3) { transition-delay: 160ms; }
.stagger > .animate-on-scroll:nth-child(4) { transition-delay: 240ms; }
.stagger > .animate-on-scroll:nth-child(5) { transition-delay: 320ms; }
.stagger > .animate-on-scroll:nth-child(6) { transition-delay: 400ms; }

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

:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
    border-radius: 4px;
}

/* ============================================
   REDUCED MOTION
   ============================================ */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .animate-on-scroll {
        opacity: 1;
        transform: none;
    }

    .stat-number {
        animation: none !important;
    }
}

/* ============================================
   SITEMAP - Seitenübersicht page list
   ============================================ */
.sitemap-frame {
    max-width: 900px;
    margin: 0 auto;
    background: var(--card);
    padding: var(--space-xl);
}

.sitemap-list {
    list-style: none;
    display: flex;
    flex-direction: column;
}

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

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

.sitemap-list__item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

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

.sitemap-list__link:hover {
    color: var(--primary-light);
}

.sitemap-list__desc {
    font-size: 16px;
    color: var(--muted-foreground);
    margin-bottom: 0;
    max-width: 70ch;
}

@media (min-width: 768px) {
    .sitemap-frame {
        padding: var(--space-2xl);
    }
    .sitemap-list__link {
        font-size: 24px;
    }
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.full-bleed { width: 100%; }

/* ============================================
   HOMEPAGE - Bonus Crab claw bob animation
   ============================================ */
@keyframes claw-bob {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

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

.bonus-crab__image img {
    max-width: 320px;
    width: 100%;
    animation: claw-bob 3s ease-in-out infinite;
    filter: drop-shadow(0 12px 24px rgba(212, 175, 55, 0.25));
}

@media (prefers-reduced-motion: reduce) {
    .bonus-crab__image img {
        animation: none;
    }
}

/* ============================================
   HOMEPAGE - Payment logo row
   ============================================ */
.payment-logo-row {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-lg);
    justify-content: center;
    align-items: center;
    margin: 0 0 var(--space-xl);
}

.payment-logo-row img {
    height: 48px;
    width: auto;
    background: #FFFFFF;
    border-radius: var(--radius-sm);
    padding: 6px 14px;
    border: 1px solid var(--border);
}

/* VIP tiers spacing on homepage preview */
.vip-tiers {
    margin-bottom: 0;
}

/* ============================================
   VIP PROGRAM PAGE - Tier badge cards
   Transparent diamond badges inside info cards
   ============================================ */
.tier-card .info-card__image img {
    aspect-ratio: 1 / 1;
    object-fit: contain;
    padding: var(--space-md);
    background: radial-gradient(circle at 50% 40%, rgba(212, 175, 55, 0.14), rgba(20, 16, 12, 0) 72%);
}

.tier-card .info-card__title,
.tier-card .info-card__text {
    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;
}
