/* ============================================================
   ALAWIN CASINO - design tokens & global styles
   Dark Arabian: deep purple surfaces, gold ornament, neon glow
   ============================================================ */

:root {
    /* Surfaces */
    --violet-950: #100626;
    --violet-900: #16082f;
    --violet-850: #1d0b3d;
    --violet-800: #26104f;
    --violet-700: #341a68;
    --violet-600: #452288;
    --indigo: #3a2aa0;

    /* Accents */
    --gold-100: #ffeec2;
    --gold-300: #ffd875;
    --gold: #f6c343;
    --gold-600: #d99a1f;
    --gold-800: #8c5f10;
    --cyan: #4fd8f2;
    --teal-glow: rgba(79, 216, 242, 0.35);

    /* Text */
    --text: #f3ecff;
    --text-muted: #cdbdf0;
    --text-dim: #b3a2d8;
    --on-gold: #2a1403;

    /* Effects */
    --glass: linear-gradient(165deg, rgba(64, 30, 128, 0.78), rgba(22, 8, 47, 0.92));
    --glass-soft: linear-gradient(165deg, rgba(74, 36, 142, 0.6), rgba(22, 8, 47, 0.82));
    --gold-line: rgba(246, 195, 67, 0.38);
    --gold-line-strong: rgba(246, 195, 67, 0.75);
    --glow-gold: 0 0 28px rgba(246, 195, 67, 0.28);
    --shadow-deep: 0 18px 45px rgba(6, 2, 18, 0.55);

    /* Type */
    --font-head: 'Baloo 2', 'Trebuchet MS', system-ui, sans-serif;
    --font-body: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;

    /* Layout */
    --container: 1200px;
    --gutter: 1.25rem;
    --radius: 18px;
    --header-bottom: 64px;
}

/* Media badge (icon glyph above a framed image) */
.media-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    margin: 0 auto 0.8rem;
    border-radius: 50%;
    color: var(--gold);
    background: radial-gradient(circle at 50% 40%, rgba(246, 195, 67, 0.32), transparent 70%);
    filter: drop-shadow(0 0 10px rgba(246, 195, 67, 0.45));
}
.media-badge .icon { width: 34px; height: 34px; }

/* ============================================
   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;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--text);
    background-color: var(--violet-950);
    background-image:
        radial-gradient(1100px 620px at 15% -5%, rgba(74, 34, 140, 0.55), transparent 65%),
        radial-gradient(900px 560px at 92% 12%, rgba(50, 26, 122, 0.5), transparent 60%),
        radial-gradient(1200px 800px at 50% 110%, rgba(38, 16, 79, 0.75), transparent 70%);
    background-attachment: fixed;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: var(--font-head);
    font-weight: 800;
    line-height: 1.12;
    margin: 0 0 0.6em;
    letter-spacing: 0.01em;
}

h1 { font-size: clamp(2rem, 6.4vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 4.4vw, 2.5rem); }
h3 { font-size: clamp(1.15rem, 2.4vw, 1.4rem); }

p { margin: 0 0 1.05em; }
ul, ol { margin: 0 0 1.1em; padding-left: 1.25rem; }
li { margin-bottom: 0.45em; }

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

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

.container {
    width: 100%;
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: var(--gutter);
}

.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 999;
    background: var(--gold);
    color: var(--on-gold);
    padding: 0.75rem 1.2rem;
    font-weight: 700;
    border-radius: 0 0 10px 0;
}
.skip-link:focus {
    left: 0;
}

/* ============================================
   HEADER + NAVIGATION
   ============================================ */

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid var(--gold-line);
    background: linear-gradient(180deg, rgba(16, 6, 38, 0.97), rgba(16, 6, 38, 0.9));
}
.site-header::before {
    content: "";
    position: absolute;
    inset: 0;
    backdrop-filter: blur(10px);
    z-index: -1;
}
.site-header::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold-600), var(--gold-300), var(--gold-600), transparent);
    opacity: 0.85;
}

.header-inner {
    max-width: var(--container);
    margin-inline: auto;
    padding: 0.65rem var(--gutter);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}

.site-brand {
    display: inline-flex;
    flex-direction: column;
    line-height: 1;
    text-decoration: none;
    flex-shrink: 0;
}
.site-brand__name {
    font-family: var(--font-head);
    font-weight: 800;
    font-size: 1.45rem;
    letter-spacing: 0.02em;
    color: var(--gold-300);
    background: linear-gradient(180deg, var(--gold-100), var(--gold-600));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 2px 6px rgba(246, 195, 67, 0.3));
}
.site-brand__sub {
    font-size: 0.72rem;
    letter-spacing: 0.34em;
    text-transform: uppercase;
    color: var(--gold-300);
    font-weight: 700;
}
.site-brand--footer {
    margin-bottom: 0.8rem;
}

.nav-toggle {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    border: 1px solid var(--gold-line);
    background: rgba(52, 26, 104, 0.6);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
}
.nav-toggle__bars,
.nav-toggle__bars::before,
.nav-toggle__bars::after {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--gold-300);
    border-radius: 2px;
    position: relative;
    transition: transform 0.22s ease, opacity 0.18s ease;
}
.nav-toggle__bars::before,
.nav-toggle__bars::after {
    content: "";
    position: absolute;
    left: 0;
}
.nav-toggle__bars::before { top: -7px; }
.nav-toggle__bars::after { top: 7px; }

.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { transform: translateY(-7px) rotate(-45deg); }

.site-nav {
    position: fixed;
    top: var(--header-bottom);
    left: 0;
    right: 0;
    bottom: 0;
    height: auto;
    display: none;
    overflow-y: auto;
    padding: 1.1rem var(--gutter) 2.5rem;
    background: var(--violet-950);
    border-top: 1px solid var(--gold-line);
    z-index: 99;
}
.site-nav.is-open { display: block; }

.site-nav__list {
    list-style: none;
    margin: 0 0 1.4rem;
    padding: 0;
}
.site-nav__list a {
    display: flex;
    align-items: center;
    min-height: 48px;
    padding: 0.35rem 0.25rem;
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--text);
    text-decoration: none;
    border-bottom: 1px solid rgba(246, 195, 67, 0.16);
}
.site-nav__list a:hover { color: var(--gold-300); }

.site-nav__actions {
    display: grid;
    gap: 0.7rem;
}
.site-nav__actions .btn { width: 100%; }

.header-actions {
    display: none;
    align-items: center;
    gap: 0.6rem;
}
.header-login {
    color: var(--text);
    font-weight: 700;
    text-decoration: none;
    padding: 0.5rem 0.4rem;
}
.header-login:hover { color: var(--gold-300); }

body.nav-open { overflow: hidden; }

/* ============================================
   BUTTONS
   ============================================ */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-height: 48px;
    padding: 0.8rem 1.6rem;
    border-radius: 999px;
    font-family: var(--font-head);
    font-weight: 800;
    font-size: 1rem;
    letter-spacing: 0.015em;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    border: 1px solid transparent;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
}
.btn:hover { transform: translateY(-2px); }

.btn--primary {
    background: linear-gradient(180deg, var(--gold-100) 0%, var(--gold) 45%, var(--gold-600) 100%);
    color: var(--on-gold);
    border-color: rgba(255, 238, 194, 0.85);
    box-shadow: 0 8px 22px rgba(217, 154, 31, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.5);
}
.btn--primary:hover {
    color: var(--on-gold);
    box-shadow: 0 12px 30px rgba(246, 195, 67, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.btn--ghost {
    background: rgba(52, 26, 104, 0.55);
    color: var(--gold-300);
    border-color: var(--gold-line-strong);
}
.btn--ghost:hover {
    background: rgba(69, 34, 136, 0.75);
    color: var(--gold-100);
}

.btn--sm { min-height: 44px; padding: 0.5rem 1.05rem; font-size: 0.92rem; }
.btn--lg { min-height: 56px; padding: 0.95rem 2.1rem; font-size: 1.08rem; }
.btn__icon { width: 20px; height: 20px; }

.icon { width: 24px; height: 24px; display: block; }

/* ============================================
   RIBBON DIVIDER (signature gold arabesque)
   ============================================ */

.ribbon {
    position: relative;
    width: 100%;
    height: 46px;
    line-height: 0;
    pointer-events: none;
}
.ribbon svg { width: 100%; height: 100%; display: block; }
.ribbon__sweep {
    fill: none;
    stroke: var(--gold);
    stroke-width: 5;
    stroke-linecap: round;
    filter: drop-shadow(0 0 6px rgba(246, 195, 67, 0.5));
}
.ribbon__sweep--thin { stroke: var(--gold-300); stroke-width: 2.4; opacity: 0.9; }
.ribbon__sweep--faint { stroke: var(--gold-600); stroke-width: 1.6; opacity: 0.7; }
.ribbon__curl {
    fill: none;
    stroke: var(--gold-300);
    stroke-width: 2.2;
    opacity: 0.9;
}
.ribbon--flip svg { transform: scaleY(-1); }

/* ============================================
   SECTION SHELL
   ============================================ */

.section {
    position: relative;
    padding-block: 3rem;
}
.section--scene {
    isolation: isolate;
}
.scene-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
}
.scene-veil {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(180deg, rgba(14, 5, 34, 0.88), rgba(14, 5, 34, 0.7) 45%, rgba(14, 5, 34, 0.92));
}
.section-inner {
    position: relative;
    z-index: 2;
}

.section-head { margin-bottom: 1.8rem; }
.section-head--center { text-align: center; }
.section-head--left { text-align: left; }

.kicker {
    margin: 0 0 0.5rem;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--gold-300);
}

.section-title {
    background: linear-gradient(180deg, var(--gold-100), var(--gold) 60%, var(--gold-600));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: var(--gold-300);
    margin-bottom: 0.5rem;
}

.section-rule {
    display: block;
    width: 160px;
    max-width: 60%;
    height: 3px;
    border-radius: 3px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    margin: 0 0 1rem;
}
.section-head--center .section-rule { margin-inline: auto; }

.section-lead {
    color: var(--text-muted);
    max-width: 62ch;
    font-size: 1.03rem;
}
.section-head--center .section-lead { margin-inline: auto; }

.prose { max-width: 70ch; }
.prose a { color: var(--gold-300); }
.prose--wide { max-width: 100%; }

.lead {
    font-size: 1.08rem;
    color: var(--text-muted);
}

/* ============================================
   HERO
   ============================================ */

.hero {
    position: relative;
    isolation: isolate;
    display: flex;
    align-items: center;
    padding-block: 2.4rem 3.2rem;
    min-height: 78vh;
}
.hero .scene-veil {
    background:
        linear-gradient(180deg, rgba(14, 5, 34, 0.72) 0%, rgba(14, 5, 34, 0.35) 38%, rgba(14, 5, 34, 0.92) 100%);
}
.hero__grid {
    position: relative;
    z-index: 2;
    display: grid;
    gap: 1.75rem;
    align-items: center;
}
.hero__copy h1 {
    text-shadow: 0 6px 24px rgba(8, 3, 22, 0.8);
}
.hero__copy p { color: var(--text); max-width: 46ch; }
.hero__ribbon {
    position: absolute;
    left: 0;
    right: 0;
    bottom: -2px;
    z-index: 3;
}

/* Ogee arch panel */
.arch {
    position: relative;
    background: var(--glass);
    border: 2px solid var(--gold);
    border-radius: 120px 120px 22px 22px;
    box-shadow: var(--shadow-deep), var(--glow-gold);
    padding: 0.4rem;
}
.arch::before {
    content: "";
    position: absolute;
    inset: 6px;
    border: 1px solid rgba(246, 195, 67, 0.55);
    border-radius: 112px 112px 16px 16px;
    pointer-events: none;
}
.arch__gem {
    position: absolute;
    top: -11px;
    left: 50%;
    width: 20px;
    height: 20px;
    transform: translateX(-50%) rotate(45deg);
    background: linear-gradient(135deg, var(--gold-100), var(--gold-600));
    border-radius: 4px;
    box-shadow: 0 0 14px rgba(246, 195, 67, 0.7);
}
.arch__inner {
    padding: 2.4rem 1.4rem 1.6rem;
    text-align: center;
}
.arch__inner > :last-child { margin-bottom: 0; }

.offer-rows {
    list-style: none;
    margin: 0 0 1.2rem;
    padding: 0;
    text-align: left;
}
.offer-rows li {
    display: flex;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.55rem 0;
    border-bottom: 1px solid rgba(246, 195, 67, 0.22);
    font-size: 0.97rem;
    color: var(--text-muted);
    margin: 0;
}
.offer-rows li:last-child { border-bottom: none; }
.offer-rows b { color: var(--gold-300); font-weight: 700; white-space: nowrap; }

.microcopy {
    font-size: 0.85rem;
    color: var(--text-dim);
    margin-top: 0.8rem;
}

/* ============================================
   GRIDS & CARDS
   ============================================ */

.grid { display: grid; gap: 1.2rem; }
.grid--2, .grid--3, .grid--4 { grid-template-columns: minmax(0, 1fr); }
.grid--start { align-items: start; }

.glass {
    background: var(--glass);
    border: 1px solid var(--gold-line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-deep);
}

/* Three wishes */
.wishes {
    position: relative;
}
.wishes__ribbon {
    position: absolute;
    inset: 12% 0 auto;
    z-index: 0;
    opacity: 0.55;
    pointer-events: none;
}
.wish {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 1.4rem 1.1rem;
}
.wish__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 66px;
    height: 66px;
    margin-bottom: 0.8rem;
    color: var(--gold);
    border-radius: 50%;
    background: radial-gradient(circle at 50% 45%, rgba(246, 195, 67, 0.28), transparent 68%);
    filter: drop-shadow(0 0 10px rgba(246, 195, 67, 0.35));
}
.wish__icon .icon { width: 38px; height: 38px; }
.wish__title { color: var(--text); margin-bottom: 0.45rem; }
.wish__text { color: var(--text-muted); font-size: 0.98rem; }
.wish__link {
    font-weight: 700;
    color: var(--gold-300);
    text-decoration: underline;
    text-underline-offset: 0.2em;
}

/* Mechanic plates */
.plate {
    display: flex;
    gap: 0.9rem;
    align-items: flex-start;
    padding: 1.15rem 1.2rem;
    background: var(--glass);
    border: 1px solid var(--gold-line-strong);
    border-radius: 60px 18px 60px 18px;
    box-shadow: var(--shadow-deep);
    position: relative;
    z-index: 2;
}
.plate__icon {
    flex: 0 0 auto;
    width: 46px;
    height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--gold);
    border: 1px solid var(--gold-line-strong);
    background: rgba(24, 10, 52, 0.85);
    box-shadow: 0 0 16px rgba(246, 195, 67, 0.25);
}
.plate__title { margin-bottom: 0.35rem; color: var(--gold-300); }
.plate__body p { margin: 0; color: var(--text-muted); font-size: 0.97rem; }
.plate__badge {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.7rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 0.15rem 0.5rem;
    border-radius: 999px;
    background: rgba(79, 216, 242, 0.18);
    border: 1px solid rgba(79, 216, 242, 0.5);
    color: #bff0fb;
    vertical-align: middle;
}

/* Tiles */
.tile {
    padding: 1.2rem 1.1rem;
    background: linear-gradient(170deg, rgba(74, 36, 142, 0.72), rgba(20, 8, 44, 0.92));
    border: 1px solid var(--gold-line-strong);
    border-radius: 16px;
    box-shadow: var(--shadow-deep);
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.tile:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-deep), 0 0 26px rgba(246, 195, 67, 0.3);
}
.tile__icon {
    display: inline-flex;
    color: var(--gold);
    margin-bottom: 0.6rem;
}
.tile__icon .icon { width: 32px; height: 32px; }
.tile__title { color: var(--text); margin-bottom: 0.4rem; }
.tile__text { color: var(--text-muted); font-size: 0.96rem; margin-bottom: 0.5rem; }
.tile__meta {
    margin: 0;
    font-size: 0.85rem;
    color: var(--gold-300);
    font-weight: 700;
    letter-spacing: 0.04em;
}

/* Rows with gold hairlines */
.rows {
    background: var(--glass-soft);
    border: 1px solid var(--gold-line);
    border-radius: var(--radius);
    padding: 0.4rem 1.1rem;
}
.row {
    display: flex;
    gap: 0.85rem;
    align-items: flex-start;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(246, 195, 67, 0.22);
}
.row:last-child { border-bottom: none; }
.row__icon { color: var(--gold); flex: 0 0 auto; }
.row__title { font-size: 1.05rem; margin-bottom: 0.25rem; color: var(--gold-300); }
.row__body p { margin: 0; color: var(--text-muted); font-size: 0.97rem; }

/* Callout */
.callout {
    display: flex;
    gap: 1rem;
    padding: 1.25rem 1.2rem;
    background: linear-gradient(160deg, rgba(38, 16, 79, 0.95), rgba(16, 6, 38, 0.95));
    border: 1px solid var(--gold-line);
    border-left: 5px solid var(--gold);
    border-radius: 14px;
    box-shadow: inset 0 2px 18px rgba(0, 0, 0, 0.45);
}
.callout__icon { color: var(--gold); flex: 0 0 auto; }
.callout__icon .icon { width: 30px; height: 30px; }
.callout__title { color: var(--gold-300); margin-bottom: 0.45rem; }
.callout__body > :last-child { margin-bottom: 0; }
.callout__body p, .callout__body li { color: var(--text-muted); }
.callout--cyan {
    border-left-color: var(--cyan);
    box-shadow: inset 0 2px 18px rgba(0, 0, 0, 0.45), 0 0 24px var(--teal-glow);
}
.callout--cyan .callout__icon { color: var(--cyan); }

/* Integrated (frameless) artwork */
.art {
    position: relative;
    display: block;
    margin-inline: auto;
    width: min(320px, 78vw);
    height: auto;
}
.art-wrap {
    position: relative;
    display: flex;
    justify-content: center;
    padding: 1rem 0;
}
.art-wrap::before {
    content: "";
    position: absolute;
    inset: 12% 8%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(246, 195, 67, 0.32), rgba(79, 216, 242, 0.18) 45%, transparent 72%);
    filter: blur(14px);
    z-index: 0;
}
.art-wrap .art { position: relative; z-index: 1; }

/* Framed media */
.framed {
    border: 2px solid var(--gold);
    border-radius: 70px 70px 14px 14px;
    padding: 6px;
    background: rgba(24, 10, 52, 0.7);
    box-shadow: var(--shadow-deep), var(--glow-gold);
    overflow: hidden;
}
.framed img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 64px 64px 10px 10px;
}
.framed--rect { border-radius: 16px; }
.framed--rect img { border-radius: 12px; }

/* Chips */
.chip-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(84px, 1fr));
    gap: 0.9rem;
}
.chip { text-align: center; }
.chip__disc {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    color: var(--gold-300);
    background: radial-gradient(circle at 50% 30%, rgba(69, 34, 136, 0.95), rgba(18, 7, 42, 0.95));
    border: 1px solid var(--gold-line-strong);
    box-shadow: 0 0 14px rgba(246, 195, 67, 0.2);
    margin-bottom: 0.4rem;
}
.chip__label {
    display: block;
    font-size: 0.875rem;
    color: var(--text-muted);
    line-height: 1.3;
}

/* Tables */
.table-wrapper {
    border: 1px solid var(--gold-line);
    border-radius: 14px;
    background: var(--glass-soft);
}
table.data {
    width: 100%;
    border-collapse: collapse;
    min-width: 560px;
    font-size: 0.95rem;
}
table.data caption {
    text-align: left;
    padding: 0.9rem 1rem 0.2rem;
    color: var(--text-dim);
    font-size: 0.9rem;
}
table.data th,
table.data td {
    padding: 0.8rem 1rem;
    text-align: left;
    border-bottom: 1px solid rgba(246, 195, 67, 0.18);
}
table.data thead th {
    color: var(--on-gold);
    background: linear-gradient(180deg, var(--gold-300), var(--gold-600));
    font-family: var(--font-head);
    font-weight: 800;
}
table.data tbody tr:nth-child(even) { background: rgba(69, 34, 136, 0.28); }
table.data tbody td { color: var(--text-muted); }
table.data tbody th { color: var(--text); font-weight: 700; }

/* Steps */
.steps {
    list-style: none;
    counter-reset: step;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 1rem;
}
.steps li {
    counter-increment: step;
    position: relative;
    padding: 1rem 1.1rem 1rem 4.2rem;
    background: var(--glass-soft);
    border: 1px solid var(--gold-line);
    border-radius: 14px;
    margin: 0;
}
.steps li::before {
    content: counter(step);
    position: absolute;
    left: 1rem;
    top: 1rem;
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    font-family: var(--font-head);
    font-weight: 800;
    color: var(--on-gold);
    background: linear-gradient(180deg, var(--gold-100), var(--gold-600));
    box-shadow: 0 0 16px rgba(246, 195, 67, 0.4);
}
.steps h3 { margin-bottom: 0.3rem; color: var(--gold-300); font-size: 1.08rem; }
.steps p { margin: 0; color: var(--text-muted); font-size: 0.97rem; }

/* Checklist */
.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.7rem; }
.checklist li {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    padding: 0.85rem 1rem;
    border: 1px solid var(--gold-line);
    border-radius: 12px;
    background: rgba(38, 16, 79, 0.55);
    color: var(--text-muted);
    margin: 0;
    transition: box-shadow 0.2s ease;
}
.checklist li:hover { box-shadow: 0 0 20px rgba(110, 60, 200, 0.45); }
.checklist .icon { color: var(--gold); flex: 0 0 auto; }

/* Leaderboard */
.board { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.board th, .board td {
    padding: 0.7rem 0.9rem;
    text-align: left;
    border-bottom: 1px solid rgba(246, 195, 67, 0.2);
    color: var(--text-muted);
}
.board thead th { color: var(--gold-300); font-family: var(--font-head); }
.board tbody tr:first-child td {
    background: linear-gradient(90deg, rgba(246, 195, 67, 0.22), transparent);
    color: var(--text);
    font-weight: 700;
}

/* Badge pills (providers, tags) */
.pill-row { display: flex; flex-wrap: wrap; gap: 0.6rem; padding: 0; margin: 0 0 1rem; list-style: none; }
.pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.55rem 1rem;
    border-radius: 999px;
    border: 1px solid var(--gold-line-strong);
    background: rgba(52, 26, 104, 0.6);
    color: var(--text);
    font-size: 0.92rem;
    font-weight: 600;
    margin: 0;
}
.pill .icon { width: 20px; height: 20px; color: var(--gold-300); }

.age-badge {
    display: inline-grid;
    place-items: center;
    min-width: 40px;
    padding: 0.15rem 0.5rem;
    border-radius: 999px;
    border: 1px solid var(--gold);
    color: var(--gold-300);
    font-weight: 800;
    font-size: 0.85rem;
    margin-right: 0.4rem;
}

/* FAQ */
.faq { display: grid; gap: 0.75rem; align-items: start; }
.faq-item {
    align-self: start;
    background: var(--glass-soft);
    border: 1px solid var(--gold-line);
    border-radius: 14px;
    overflow: hidden;
}
.faq-item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.1rem;
    min-height: 56px;
    cursor: pointer;
    list-style: none;
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--text);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item__marker {
    color: var(--gold);
    flex: 0 0 auto;
    transition: transform 0.2s ease;
    transform: rotate(90deg);
}
.faq-item[open] .faq-item__marker { transform: rotate(-90deg); }
.faq-item__a {
    padding: 0 1.1rem 1.1rem;
    color: var(--text-muted);
}
.faq-item__a > :last-child { margin-bottom: 0; }

/* Breadcrumbs */
.breadcrumbs { padding: 1rem 0 0; }
.breadcrumbs ol {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 0.85rem;
    color: var(--text-dim);
}
.breadcrumbs li + li::before {
    content: "›";
    margin-right: 0.4rem;
    color: var(--gold-600);
}
.breadcrumbs a { color: var(--text-muted); }

/* Updated line */
.updated {
    font-size: 0.85rem;
    color: var(--text-dim);
    margin-bottom: 1rem;
}

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

.cta-band {
    position: relative;
    padding-block: 2.6rem;
    background:
        radial-gradient(600px 260px at 20% 30%, rgba(246, 195, 67, 0.16), transparent 70%),
        linear-gradient(180deg, rgba(38, 16, 79, 0.9), rgba(14, 5, 34, 0.95));
    border-top: 1px solid var(--gold-line);
    border-bottom: 1px solid var(--gold-line);
}
.cta-band__inner {
    display: grid;
    gap: 1.2rem;
    justify-items: center;
    text-align: center;
}
.cta-band__mascot {
    width: min(220px, 60vw);
    height: auto;
    filter: drop-shadow(0 12px 28px rgba(79, 216, 242, 0.35));
}
.cta-band__title {
    background: linear-gradient(180deg, var(--gold-100), var(--gold-600));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: var(--gold-300);
}
.cta-band__text { color: var(--text-muted); max-width: 58ch; }
.cta-band__note { font-size: 0.85rem; color: var(--text-dim); margin: 0.8rem 0 0; }

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

.site-footer {
    margin-top: 0;
    background: linear-gradient(180deg, rgba(14, 5, 34, 0.6), rgba(9, 3, 24, 1));
    border-top: 1px solid rgba(246, 195, 67, 0.25);
}
.footer-grid {
    display: grid;
    gap: 1.8rem;
    padding-block: 1.5rem 2.2rem;
}
.footer-col p,
.footer-col li {
    color: var(--text-muted);
    font-size: 0.93rem;
}
.footer-title {
    font-size: 1.05rem;
    color: var(--gold-300);
    margin-bottom: 0.7rem;
}
.footer-list { list-style: none; margin: 0; padding: 0; }
.footer-list li { margin-bottom: 0.55rem; }
.footer-list a { color: var(--text); text-decoration: none; }
.footer-list a:hover { color: var(--gold-300); text-decoration: underline; }
.footer-list--plain li { color: var(--text-muted); }
.footer-age { color: var(--text); font-weight: 600; }

.footer-bottom {
    border-top: 1px solid rgba(246, 195, 67, 0.2);
    padding-block: 1rem;
}
.footer-bottom__inner {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    align-items: center;
    text-align: center;
}
.footer-bottom p { margin: 0; font-size: 0.85rem; color: var(--text-dim); }
.footer-sitemap {
    color: var(--text-muted);
    font-size: 0.85rem;
    text-decoration: underline;
    text-underline-offset: 0.2em;
}

/* ============================================
   REVEAL ANIMATION (progressive enhancement)
   ============================================ */

.js-reveal [data-reveal] {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.js-reveal [data-reveal].is-visible {
    opacity: 1;
    transform: none;
}

/* ============================================
   BREAKPOINTS
   ============================================ */

@media (min-width: 768px) {
    .section { padding-block: 4rem; }
    .ribbon { height: 62px; }
    .grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .arch__inner { padding: 3rem 2rem 2rem; }
    .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .cta-band__inner {
        grid-template-columns: auto minmax(0, 1fr);
        justify-items: start;
        text-align: left;
        align-items: center;
        gap: 2rem;
    }
    .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .footer-bottom__inner {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
    .art { width: min(380px, 42vw); }
}

@media (min-width: 1024px) {
    :root { --gutter: 2rem; }

    .section { padding-block: 5rem; }
    .ribbon { height: 78px; }

    .nav-toggle { display: none; }

    .site-nav {
        position: static;
        display: flex !important;
        align-items: center;
        gap: 1.6rem;
        padding: 0;
        overflow: visible;
        background: none;
        border-top: none;
        height: auto;
    }
    .site-nav__list {
        display: flex;
        gap: 1.4rem;
        margin: 0;
    }
    .site-nav__list a {
        min-height: auto;
        border-bottom: none;
        font-size: 1rem;
        padding: 0.35rem 0;
        position: relative;
    }
    .site-nav__list a::after {
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        bottom: -4px;
        height: 2px;
        background: var(--gold);
        transform: scaleX(0);
        transition: transform 0.2s ease;
    }
    .site-nav__list a:hover::after { transform: scaleX(1); }
    .site-nav__actions { display: none; }

    .header-inner .header-actions { display: flex; }

    .grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); }

    .hero { min-height: 84vh; padding-block: 3.5rem 5rem; }
    .hero__grid {
        grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
        gap: 3rem;
    }
    .hero__copy h1 { font-size: clamp(2.6rem, 3.6vw, 3.6rem); }

    .footer-grid { grid-template-columns: 1.6fr 1fr 1.3fr 1.1fr; gap: 2.2rem; }

    .cta-band { padding-block: 3.5rem; }
    .cta-band__mascot { width: 260px; }
}

@media (min-width: 1280px) {
    .section { padding-block: 5.5rem; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
    }
    .js-reveal [data-reveal] {
        opacity: 1 !important;
        transform: none !important;
    }
}

/* ============================================
   BONUSY PAGE - hero sparkle, VIP ladder, tickets
   ============================================ */

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.hero-sparkle {
    position: absolute;
    top: 14%;
    right: 4%;
    width: min(240px, 46vw);
    height: auto;
    z-index: 2;
    pointer-events: none;
    opacity: 0.85;
}

.ticket-row {
    display: flex;
    justify-content: center;
    gap: 0.7rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}
.ticket-row svg {
    width: 42px;
    height: 26px;
    color: var(--gold);
    filter: drop-shadow(0 0 6px rgba(246, 195, 67, 0.4));
}

.vip-ladder {
    display: flex;
    justify-content: center;
    margin: 1.6rem 0;
}
.vip-ladder svg {
    width: min(420px, 94vw);
    height: auto;
}

@media (min-width: 768px) {
    .hero-sparkle { top: 10%; right: 6%; width: 200px; }
}

/* ============================================
   SITEMAP PAGE - structured link list
   ============================================ */

.sitemap-list {
    list-style: none;
    margin: 0;
    padding: 0.4rem 1.1rem;
    background: var(--glass-soft);
    border: 1px solid var(--gold-line);
    border-radius: var(--radius);
}
.sitemap-list__item {
    display: flex;
    gap: 0.85rem;
    align-items: flex-start;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(246, 195, 67, 0.22);
}
.sitemap-list__item:last-child { border-bottom: none; }
.sitemap-list__icon {
    color: var(--gold);
    flex: 0 0 auto;
    margin-top: 0.2rem;
}
.sitemap-list__icon .icon { width: 20px; height: 20px; }
.sitemap-list__title {
    margin: 0 0 0.25rem;
    font-size: 1.05rem;
    font-family: var(--font-head);
}
.sitemap-list__title a {
    color: var(--gold-300);
    text-decoration: none;
}
.sitemap-list__title a:hover { text-decoration: underline; }
.sitemap-list__desc {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* ============================================
   PLATNOSCI PAGE - right-aligned hero, method cards,
   connected KYC steps, inline table clock glyphs
   ============================================ */

.payments-hero__grid { }
@media (min-width: 1024px) {
    .payments-hero__grid { grid-template-columns: 1fr; }
    .payments-hero__grid .hero__copy--right {
        margin-left: auto;
        max-width: 560px;
        text-align: left;
    }
}

.method-card {
    padding: 1.4rem 1.2rem;
    text-align: center;
    background: var(--glass);
    border: 1px solid var(--gold-line-strong);
    border-radius: var(--radius);
    box-shadow: var(--shadow-deep);
}
.method-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    margin: 0 auto 0.75rem;
    border-radius: 50%;
    color: var(--gold);
    background: radial-gradient(circle at 50% 35%, rgba(69, 34, 136, 0.9), rgba(18, 7, 42, 0.95));
    border: 1px solid var(--gold-line-strong);
    box-shadow: 0 0 16px rgba(246, 195, 67, 0.25);
}
.method-card__icon .icon { width: 30px; height: 30px; }
.method-card__title { color: var(--gold-300); margin-bottom: 0.4rem; font-size: 1.08rem; }
.method-card__text { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 0.5rem; }
.method-card__meta { margin: 0; font-size: 0.85rem; font-weight: 700; color: var(--cyan); }

.steps-wrap { position: relative; }
@media (min-width: 1024px) {
    .steps-wrap::before {
        content: "";
        position: absolute;
        top: 21px;
        left: 8%;
        right: 8%;
        height: 2px;
        background: linear-gradient(90deg, transparent, var(--gold-600), var(--gold-300), var(--gold-600), transparent);
        z-index: 0;
    }
    .steps-wrap .steps { position: relative; z-index: 1; }
}

.table-fast {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: var(--gold-300);
    font-weight: 700;
}
.table-fast .icon { width: 16px; height: 16px; }
