/*
 * Alawin Casino - Design System
 * Single fixed dark theme (Arabian-nights palette: deep violet, gold, turquoise neon).
 * Mobile-first: base = mobile, min-width 768px = tablet, 1024px = desktop.
 */

/* ============================================
   DESIGN TOKENS
   ============================================ */

:root {
    /* Surfaces */
    --bg: #12082c;
    --bg-deep: #0b0520;
    --bg-soft: #1a0e3d;
    --surface: #1d1040;
    --surface-2: #261558;
    --card: #20134a;

    /* Text */
    --fg: #f4f0ff;
    --fg-muted: #c3b7e4;
    --fg-subtle: #a99cd0;

    /* Accents */
    --gold: #f2b63d;
    --gold-deep: #c98f17;
    --violet: #8b5cf6;
    --violet-deep: #5b2fbf;
    --turquoise: #2dd4c8;
    --turquoise-deep: #0f9d94;

    /* Action tokens (verified contrast pairs) */
    --primary: #f0b93c;
    --primary-foreground: #221103;
    --secondary: #2a1759;
    --secondary-foreground: #f4f0ff;
    --accent: #2dd4c8;
    --accent-foreground: #032825;
    --destructive: #e05363;
    --destructive-foreground: #2b050a;

    /* Lines & rings */
    --line: rgba(242, 182, 61, 0.22);
    --line-soft: rgba(255, 255, 255, 0.09);
    --ring: #2dd4c8;

    /* Typography */
    --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
    --font-display: "Barlow Condensed", "Inter", system-ui, sans-serif;

    /* Rhythm */
    --space-xs: 0.5rem;
    --space-sm: 0.75rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2.5rem;
    --space-2xl: 4rem;
    --space-3xl: 6rem;

    --radius-sm: 0.5rem;
    --radius-md: 0.875rem;
    --radius-lg: 1.25rem;
    --radius-full: 999px;

    --shadow-card: 0 10px 30px rgba(4, 1, 18, 0.45);
    --shadow-glow-gold: 0 6px 28px rgba(242, 182, 61, 0.35);
    --shadow-glow-teal: 0 0 32px rgba(45, 212, 200, 0.28);

    --container: 72rem;
    --header-height: 4.25rem;
}

/* ============================================
   OVERFLOW PREVENTION - Safety Net
   ============================================ */

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

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

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

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

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

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

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

details {
    height: fit-content;
}

:where(p, li, blockquote, figcaption, dd, .prose, .seo-text, article)
  a:not([class]) {
    text-decoration: underline;
    text-underline-offset: 0.15em;
}

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

section {
    overflow: clip;
}

/* ============================================
   BASE
   ============================================ */

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.65;
    color: var(--fg);
    background:
        radial-gradient(60rem 34rem at 85% -8%, rgba(139, 92, 246, 0.22), transparent 60%),
        radial-gradient(50rem 30rem at -10% 30%, rgba(45, 212, 200, 0.10), transparent 55%),
        var(--bg);
    -webkit-font-smoothing: antialiased;
    overflow-x: clip;
}

h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.12;
    letter-spacing: 0.01em;
    margin: 0 0 var(--space-md);
    color: var(--fg);
}

h1 { font-size: clamp(2rem, calc(3.2vw + 1.1rem), 3.4rem); }
h2 { font-size: clamp(1.55rem, calc(1.8vw + 0.9rem), 2.4rem); }
h3 { font-size: clamp(1.2rem, calc(0.9vw + 0.9rem), 1.55rem); }
h4 { font-size: 1.1rem; }

p {
    margin: 0 0 var(--space-md);
    max-width: 68ch;
}

ul, ol {
    margin: 0 0 var(--space-md);
    padding-left: 1.35rem;
}

li { margin-bottom: 0.4rem; }

a {
    color: var(--turquoise);
    text-decoration-color: rgba(45, 212, 200, 0.55);
}

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

:focus-visible {
    outline: 3px solid var(--ring);
    outline-offset: 3px;
    border-radius: var(--radius-sm);
}

::selection {
    background: var(--gold);
    color: #221103;
}

.container {
    width: min(100% - 2rem, var(--container));
    margin-inline: auto;
}

.skip-link {
    position: absolute;
    left: 1rem;
    top: -4rem;
    z-index: 1200;
    padding: 0.75rem 1.25rem;
    background: var(--gold);
    color: #221103;
    font-weight: 700;
    border-radius: var(--radius-sm);
    text-decoration: none;
    transition: top 0.2s ease;
}

.skip-link:focus {
    top: 0.75rem;
}

/* ============================================
   BUTTONS
   .button--primary - gradient teal→violet (matches reference CTA)
   .button--gold    - gold conversion button for CTA bands
   .button--ghost   - outline for secondary actions (Login)
   ============================================ */

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-height: 48px;
    padding: 0.75rem 1.6rem;
    border: 0;
    border-radius: var(--radius-full);
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.95rem;
    line-height: 1.2;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
    white-space: nowrap;
}

.button:hover {
    transform: translateY(-2px);
    filter: brightness(1.06);
}

.button--primary {
    background: linear-gradient(96deg, var(--turquoise) 0%, var(--violet) 100%);
    color: #ffffff;
    box-shadow: 0 6px 22px rgba(139, 92, 246, 0.4);
}

.button--primary:hover {
    color: #ffffff;
    box-shadow: 0 8px 28px rgba(45, 212, 200, 0.45);
}

.button--gold {
    background: linear-gradient(96deg, var(--gold) 0%, #e08a2e 100%);
    color: var(--primary-foreground);
    box-shadow: var(--shadow-glow-gold);
}

.button--gold:hover {
    color: var(--primary-foreground);
}

.button--ghost {
    background: transparent;
    color: var(--secondary-foreground);
    border: 1.5px solid rgba(244, 240, 255, 0.4);
}

.button--ghost:hover {
    border-color: var(--turquoise);
    color: var(--turquoise);
}

.button--lg {
    min-height: 54px;
    padding: 0.95rem 2.1rem;
    font-size: 1.05rem;
}

/* ============================================
   HEADER + PRIMARY NAVIGATION
   Drawer is an opaque fixed panel on mobile;
   inline bar from 1024px up.
   ============================================ */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(11, 5, 32, 0.94);
    border-bottom: 1px solid var(--line-soft);
}

.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-sm);
    min-height: var(--header-height);
    width: min(100% - 1.5rem, var(--container));
    margin-inline: auto;
}

.site-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    color: var(--fg);
    text-decoration: none;
    flex-shrink: 0;
}

.site-brand__mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.35rem;
    height: 2.35rem;
    border-radius: 42% 58% 55% 45%;
    background: linear-gradient(140deg, var(--violet) 0%, var(--turquoise) 100%);
    color: #ffffff;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.35rem;
    box-shadow: 0 0 16px rgba(45, 212, 200, 0.4);
}

.site-brand__copy {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.site-brand__copy strong {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    background: linear-gradient(92deg, var(--gold), #ffd98a);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.site-brand__copy small {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.34em;
    text-transform: uppercase;
    color: var(--gold);
}

.menu-toggle {
    position: relative;
    z-index: 1001;
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 46px;
    height: 46px;
    padding: 10px;
    background: var(--surface-2);
    border: 1px solid var(--line-soft);
    border-radius: var(--radius-sm);
    cursor: pointer;
    flex-shrink: 0;
}

.menu-toggle span {
    display: block;
    height: 2.5px;
    border-radius: 2px;
    background: var(--gold);
    transition: transform 0.25s ease, opacity 0.2s ease;
}

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

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

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

/* Mobile drawer (default hidden) */
.primary-nav {
    display: none;
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 999;
    background: var(--bg-deep);
    overflow-y: auto;
}

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

.primary-nav__scroll {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
    padding: var(--space-lg) var(--space-lg) var(--space-2xl);
    max-width: 30rem;
    margin-inline: auto;
}

.primary-nav__list {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.35rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.primary-nav__link {
    display: flex;
    align-items: center;
    min-height: 48px;
    padding: 0.6rem 1rem;
    border-radius: var(--radius-sm);
    color: var(--fg);
    font-weight: 600;
    text-decoration: none;
}

.primary-nav__link:hover {
    background: var(--surface-2);
    color: var(--gold);
}

.primary-nav__link.is-current {
    color: var(--gold);
    box-shadow: inset 3px 0 0 var(--gold);
}

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

@media (min-width: 768px) {
    .primary-nav__actions {
        flex-direction: row;
    }
}

/* Desktop: inline navigation */
@media (min-width: 1024px) {
    .menu-toggle {
        display: none;
    }

    .primary-nav {
        display: block;
        position: static;
        background: transparent;
        overflow: visible;
        flex: 1;
    }

    .primary-nav__scroll {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: var(--space-md);
        padding: 0;
        max-width: none;
    }

    .primary-nav__list {
        flex-direction: row;
        align-items: center;
        gap: 0.15rem;
        margin-inline: auto;
    }

    .primary-nav__link {
        min-height: 44px;
        padding: 0.45rem 0.8rem;
        font-size: 0.95rem;
    }

    .primary-nav__actions {
        gap: 0.6rem;
        flex-shrink: 0;
    }

    .primary-nav__actions .button {
        min-height: 44px;
        padding: 0.55rem 1.15rem;
        font-size: 0.9rem;
    }
}

/* ============================================
   PAGE HERO
   Split layout on desktop: copy left, framed/integrated art right.
   ============================================ */

.page-hero {
    position: relative;
    padding: var(--space-2xl) 0 var(--space-xl);
    background:
        radial-gradient(48rem 26rem at 78% 30%, rgba(139, 92, 246, 0.28), transparent 62%),
        radial-gradient(34rem 20rem at 12% 85%, rgba(45, 212, 200, 0.14), transparent 60%);
}

.page-hero__inner {
    display: flex;
    flex-direction: column;
    gap: var(--space-xl);
}

.page-hero__title {
    margin-bottom: var(--space-md);
}

.page-hero__intro {
    font-size: 1.06rem;
    color: var(--fg-muted);
    margin-bottom: var(--space-lg);
}

.kicker {
    display: inline-block;
    margin-bottom: var(--space-sm);
    padding: 0.3rem 0.9rem;
    border: 1px solid var(--line);
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--gold);
}

.page-hero__figure {
    margin: 0;
    text-align: center;
}

.page-hero__figure img {
    filter: drop-shadow(0 18px 40px rgba(4, 1, 18, 0.6));
}

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

    .page-hero__inner {
        flex-direction: row;
        align-items: center;
        gap: var(--space-2xl);
    }

    .page-hero__copy {
        flex: 1 1 52%;
    }

    .page-hero__figure {
        flex: 1 1 48%;
    }
}

/* ============================================
   SECTIONS & PROSE
   Generic vertical rhythm + readable measure.
   ============================================ */

.section {
    padding: var(--space-2xl) 0;
}

.section--alt {
    background: linear-gradient(180deg, var(--bg-soft), var(--bg));
    border-block: 1px solid var(--line-soft);
}

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

.prose > p,
.prose > ul,
.prose > ol {
    max-width: 68ch;
}

.lead {
    font-size: 1.1rem;
    color: var(--fg-muted);
}

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

.text-small {
    font-size: 0.875rem;
    color: var(--fg-subtle);
}

/* ============================================
   INFO SECTION (text + side figure)
   ============================================ */

.info-section {
    padding: var(--space-2xl) 0;
}

.info-section__inner {
    display: flex;
    flex-direction: column;
    gap: var(--space-xl);
}

.info-section__figure {
    margin: 0;
}

.info-section__figure img {
    border-radius: var(--radius-lg);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-card);
}

@media (min-width: 1024px) {
    .info-section__inner {
        flex-direction: row;
        align-items: center;
        gap: var(--space-2xl);
    }

    .info-section__copy {
        flex: 1 1 55%;
    }

    .info-section__figure {
        flex: 1 1 45%;
    }

    .info-section--reversed .info-section__figure {
        order: -1;
    }
}

/* ============================================
   CARDS - feature grid, stat grid
   ============================================ */

.feature-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-lg);
    align-items: start;
}

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

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

.feature-card {
    min-width: 0;
    padding: var(--space-lg);
    background: linear-gradient(165deg, var(--surface-2), var(--card));
    border: 1px solid var(--line-soft);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    border-color: var(--line);
    box-shadow: var(--shadow-card), var(--shadow-glow-teal);
}

.feature-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    margin-bottom: var(--space-sm);
    border-radius: var(--radius-md);
    background: rgba(45, 212, 200, 0.12);
    border: 1px solid rgba(45, 212, 200, 0.35);
    font-size: 1.4rem;
}

.feature-card__title {
    font-family: var(--font-body);
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.feature-card__text {
    color: var(--fg-muted);
    font-size: 0.95rem;
    margin-bottom: var(--space-sm);
}

.feature-card__link {
    display: inline-block;
    margin-top: 0.25rem;
    font-weight: 700;
}

/* Stat highlight */
.stat-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-md);
}

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

.stat-item {
    min-width: 0;
    padding: var(--space-lg) var(--space-md);
    text-align: center;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
}

.stat-item__number {
    display: block;
    font-family: var(--font-display);
    font-size: clamp(1.8rem, calc(1.4vw + 1.2rem), 2.6rem);
    font-weight: 800;
    line-height: 1;
    background: linear-gradient(96deg, var(--gold), #ffe1a1);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.stat-item__label {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.85rem;
    color: var(--fg-muted);
}

/* ============================================
   TL;DR / CALLOUT / PULL QUOTE
   ============================================ */

.tldr-box {
    min-width: 0;
    padding: var(--space-lg);
    background: rgba(45, 212, 200, 0.07);
    border: 1px solid rgba(45, 212, 200, 0.4);
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-xl);
}

.tldr-box__title {
    margin-bottom: var(--space-sm);
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--turquoise);
}

.tldr-box__list {
    margin: 0;
    padding-left: 1.25rem;
    color: var(--fg-muted);
}

.callout {
    min-width: 0;
    margin: var(--space-lg) 0;
    padding: var(--space-md) var(--space-lg);
    border-radius: var(--radius-md);
    border-left: 4px solid var(--turquoise);
    background: rgba(45, 212, 200, 0.08);
}

.callout--warn {
    border-left-color: var(--gold);
    background: rgba(242, 182, 61, 0.09);
}

.callout--tip {
    border-left-color: var(--violet);
    background: rgba(139, 92, 246, 0.12);
}

.callout__title {
    margin-bottom: 0.35rem;
    font-weight: 700;
    color: var(--fg);
}

.callout__text {
    margin: 0;
    color: var(--fg-muted);
}

.pull-quote {
    margin: var(--space-xl) 0;
    padding: var(--space-lg);
    border-left: 4px solid var(--gold);
}

.pull-quote p {
    font-family: var(--font-display);
    font-size: clamp(1.3rem, calc(1vw + 1rem), 1.8rem);
    line-height: 1.3;
    color: var(--fg);
}

.pull-quote cite {
    font-style: normal;
    font-size: 0.9rem;
    color: var(--fg-subtle);
}

/* ============================================
   FAQ - native details/summary accordion
   ============================================ */

.faq-group {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    align-items: stretch;
}

.faq-item {
    background: var(--card);
    border: 1px solid var(--line-soft);
    border-radius: var(--radius-md);
    overflow: clip;
}

.faq-item[open] {
    border-color: var(--line);
}

.faq-item__question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-md);
    min-height: 56px;
    padding: 0.9rem var(--space-lg);
    font-weight: 600;
    cursor: pointer;
    list-style: none;
}

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

.faq-item__question:hover {
    color: var(--gold);
}

.faq-item__icon {
    position: relative;
    flex-shrink: 0;
    width: 1.5rem;
    height: 1.5rem;
}

.faq-item__icon::before,
.faq-item__icon::after {
    content: "";
    position: absolute;
    inset: 50% auto auto 50%;
    width: 0.85rem;
    height: 2px;
    background: var(--gold);
    transform: translate(-50%, -50%);
    transition: transform 0.2s ease;
}

.faq-item__icon::after {
    transform: translate(-50%, -50%) rotate(90deg);
}

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

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

.faq-item__answer p {
    margin: 0;
    color: var(--fg-muted);
}

/* ============================================
   TABLES
   ============================================ */

.table-wrapper {
    min-width: 0;
    border: 1px solid var(--line-soft);
    border-radius: var(--radius-md);
    margin: var(--space-lg) 0;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 34rem;
    font-size: 0.95rem;
}

.data-table caption {
    padding: var(--space-sm) var(--space-md);
    text-align: left;
    font-weight: 600;
    color: var(--fg-muted);
}

.data-table th,
.data-table td {
    padding: 0.8rem 1rem;
    text-align: left;
    border-bottom: 1px solid var(--line-soft);
}

.data-table thead th {
    background: var(--surface-2);
    color: var(--gold);
    font-weight: 700;
}

.data-table tbody tr:hover {
    background: rgba(139, 92, 246, 0.08);
}

.data-table th.is-highlight,
.data-table td.is-highlight {
    background: rgba(242, 182, 61, 0.1);
}

/* ============================================
   CTA BAND
   ============================================ */

.cta-band {
    position: relative;
    padding: var(--space-2xl) 0;
    background:
        radial-gradient(40rem 20rem at 50% 0%, rgba(242, 182, 61, 0.18), transparent 65%),
        linear-gradient(160deg, var(--bg-soft), var(--bg-deep));
    border-block: 1px solid var(--line);
    text-align: center;
}

.cta-band__glow {
    position: absolute;
    inset: auto 0 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold), var(--turquoise), transparent);
}

.cta-band__heading {
    margin-bottom: var(--space-sm);
}

.cta-band__text {
    max-width: 52ch;
    margin-inline: auto;
    color: var(--fg-muted);
    margin-bottom: var(--space-lg);
}

.cta-band__note {
    margin: var(--space-md) 0 0;
    font-size: 0.85rem;
    color: var(--fg-subtle);
    max-width: 60ch;
    margin-inline: auto;
}

/* ============================================
   PAYMENT / TRUST STRIP
   ============================================ */

.payment-strip {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-sm);
    margin: var(--space-lg) 0;
}

.payment-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0.45rem 1.1rem;
    background: var(--card);
    border: 1px solid var(--line-soft);
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--fg-muted);
    filter: saturate(0.85);
}

/* ============================================
   FOOTER
   ============================================ */

.site-footer {
    position: relative;
    margin-top: var(--space-2xl);
    padding: var(--space-2xl) 0 var(--space-xl);
    background: var(--bg-deep);
    border-top: 1px solid var(--line);
}

.site-footer__glow {
    position: absolute;
    inset: 0 0 auto;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold), var(--violet), transparent);
}

.site-footer__top {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-xl);
    margin-bottom: var(--space-xl);
}

.site-brand--footer .site-brand__copy strong {
    font-size: 1.5rem;
}

.site-footer__brand p {
    margin-top: var(--space-md);
    font-size: 0.9rem;
    color: var(--fg-muted);
}

.site-footer__nav h2,
.site-footer__payments h2 {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: var(--space-sm);
}

.site-footer__nav ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.3rem 1rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.site-footer__nav a {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    color: var(--fg-muted);
    font-size: 0.92rem;
    text-decoration: none;
}

.site-footer__nav a:hover {
    color: var(--gold);
}

.footer-payment-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.footer-payment-grid span {
    padding: 0.35rem 0.75rem;
    background: var(--card);
    border: 1px solid var(--line-soft);
    border-radius: var(--radius-sm);
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--fg-subtle);
}

.site-footer__responsibility {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
    padding: var(--space-lg);
    background: rgba(242, 182, 61, 0.06);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-xl);
}

.site-footer__responsibility p {
    margin: 0;
    font-size: 0.88rem;
    color: var(--fg-muted);
}

.age-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 2.8rem;
    height: 2.8rem;
    border: 2px solid var(--destructive);
    border-radius: 50%;
    font-weight: 800;
    color: #ff8f9c;
    font-size: 0.95rem;
}

.site-footer__bottom {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    padding-top: var(--space-lg);
    border-top: 1px solid var(--line-soft);
}

.site-footer__bottom p {
    margin: 0;
    font-size: 0.82rem;
    color: var(--fg-subtle);
}

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

    .site-footer__bottom {
        flex-direction: row;
        justify-content: space-between;
    }
}

/* ============================================
   SCROLL REVEAL (progressive enhancement only)
   Unenhanced content is always visible. JS adds
   .js to <html> before hiding below-fold targets.
   ============================================ */

.js .reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.55s ease, transform 0.55s ease;
}

.js .reveal.is-visible {
    opacity: 1;
    transform: none;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .js .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .button,
    .feature-card,
    .faq-item__icon::before,
    .faq-item__icon::after,
    .menu-toggle span {
        transition: none;
    }
}
