/*
 * V.Vegas Casino Design System
 * Fixed dark Vegas theme with metallic gold, neon red, violet and cyan accents.
 */

:root {
    color-scheme: dark;
    --background: #0b0a0d;
    --background-deep: #07070a;
    --surface: #15131a;
    --surface-strong: #1d1922;
    --surface-soft: #24202a;
    --card: #19171e;
    --card-hover: #211d27;
    --foreground: #f7f3eb;
    --foreground-strong: #fffaf1;
    --muted: #302b35;
    --muted-foreground: #c2bac6;
    --border: #5e5263;
    --border-soft: #332d39;

    --primary: #f3c45d;
    --primary-bright: #ffe59a;
    --primary-deep: #a66e16;
    --primary-foreground: #171009;
    --secondary: #bb0d31;
    --secondary-foreground: #fff7f8;
    --accent: #8a31d1;
    --accent-foreground: #fffaff;
    --cyan: #32c7f2;
    --cyan-deep: #136882;
    --destructive: #c9183d;
    --destructive-foreground: #fff7f8;
    --success: #43c78a;
    --success-foreground: #071b12;

    --gold-gradient: linear-gradient(135deg, #8f5d12 0%, #f3c45d 35%, #fff0b5 52%, #c98724 78%, #7e4c0b 100%);
    --red-gradient: linear-gradient(135deg, #7f0921 0%, #d5163d 48%, #8d0926 100%);
    --neon-gradient: linear-gradient(90deg, #ff274d 0%, #ee3eb5 45%, #54d8ff 100%);
    --panel-gradient: linear-gradient(145deg, #201b25 0%, #111015 62%, #19151e 100%);
    --section-gradient: radial-gradient(circle at 50% 0%, #211527 0%, #0b0a0d 44%, #09090c 100%);

    --font-display: "Archivo", sans-serif;
    --font-body: "Inter", sans-serif;

    --text-xs: 0.875rem;
    --text-sm: 0.9375rem;
    --text-base: 1rem;
    --text-lg: clamp(1.0625rem, calc(0.3vw + 1rem), 1.25rem);
    --text-xl: clamp(1.25rem, calc(0.75vw + 1.05rem), 1.65rem);
    --text-2xl: clamp(1.65rem, calc(1.5vw + 1.1rem), 2.5rem);
    --text-3xl: clamp(2rem, calc(2.8vw + 1rem), 4.25rem);
    --text-hero: clamp(3rem, calc(7vw + 0.5rem), 7.5rem);

    --space-2xs: 0.25rem;
    --space-xs: 0.5rem;
    --space-sm: 0.75rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: clamp(2.5rem, calc(4vw + 1rem), 5rem);
    --space-3xl: clamp(4rem, calc(6vw + 1rem), 7.5rem);

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

    --shadow-card: 0 1rem 2.5rem rgba(0, 0, 0, 0.32);
    --shadow-gold: 0 0 0.75rem rgba(243, 196, 93, 0.38), 0 0 2rem rgba(243, 196, 93, 0.14);
    --shadow-red: 0 0 0.65rem rgba(255, 39, 77, 0.68), 0 0 2rem rgba(201, 24, 61, 0.38);
    --shadow-neon: -0.4rem 0 1.5rem rgba(255, 39, 77, 0.22), 0.4rem 0 1.5rem rgba(84, 216, 255, 0.2);

    --container: 76rem;
    --container-wide: 96rem;
    --header-height: 4.5rem;
    --transition: 180ms ease;
}

/* ============================================
   RESET & OVERFLOW SAFETY - Predictable layouts
   ============================================ */

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

html {
    min-width: 320px;
    scroll-behavior: smooth;
    background: var(--background);
}

body {
    min-width: 320px;
    margin: 0;
    overflow-x: clip;
    background:
        radial-gradient(circle at 15% 18%, rgba(138, 49, 209, 0.09), transparent 28rem),
        radial-gradient(circle at 85% 32%, rgba(201, 24, 61, 0.08), transparent 30rem),
        var(--background);
    color: var(--foreground);
    font-family: var(--font-body);
    font-size: var(--text-base);
    line-height: 1.68;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

body.menu-open {
    overflow: hidden;
}

img,
video,
iframe,
embed,
object,
svg {
    display: block;
    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;
    white-space: pre;
}

.table-wrapper,
[class*="table-"] {
    min-width: 0;
    max-width: 100%;
}

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

a[href^="http"],
code {
    word-break: break-word;
}

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

section {
    position: relative;
    overflow: clip;
}

details {
    height: fit-content;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

a {
    color: var(--primary-bright);
}

a:hover {
    color: var(--foreground-strong);
}

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

::selection {
    background: var(--primary);
    color: var(--primary-foreground);
}

/* ============================================
   TYPOGRAPHY - Condensed, assertive Vegas display
   ============================================ */

h1,
h2,
h3,
h4 {
    margin: 0 0 var(--space-md);
    color: var(--foreground-strong);
    font-family: var(--font-display);
    font-weight: 800;
    line-height: 1.16;
    letter-spacing: -0.025em;
}

h1 {
    font-size: var(--text-3xl);
}

h2 {
    font-size: var(--text-2xl);
}

h3 {
    font-size: var(--text-xl);
}

h4 {
    font-size: var(--text-lg);
}

p,
ul,
ol,
blockquote {
    margin-top: 0;
}

p:last-child,
ul:last-child,
ol:last-child,
blockquote:last-child {
    margin-bottom: 0;
}

strong {
    color: var(--foreground-strong);
}

.eyebrow {
    margin-bottom: var(--space-sm);
    color: var(--primary-bright);
    font-family: var(--font-display);
    font-size: var(--text-sm);
    font-weight: 800;
    letter-spacing: 0.12em;
    line-height: 1.3;
    text-transform: uppercase;
}

.gold-text {
    color: var(--primary-bright);
    text-shadow: 0 0 1.25rem rgba(243, 196, 93, 0.36);
}

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

/* ============================================
   LAYOUT - Shared containers and section rhythm
   ============================================ */

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

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

.content-narrow {
    width: min(100%, 48rem);
    margin-inline: auto;
}

.prose,
.seo-text {
    width: min(100%, 72ch);
    margin-inline: auto;
}

.prose > * + *,
.seo-text > * + * {
    margin-top: 1.1em;
}

.section,
.content-section {
    padding-block: var(--space-2xl);
    border-top: 1px solid var(--border-soft);
    background: var(--section-gradient);
}

.section--plain {
    background: var(--background);
}

.section--image {
    background-color: var(--background-deep);
    background-position: center;
    background-size: cover;
}

.section-head {
    width: min(100%, 58rem);
    margin: 0 auto var(--space-xl);
    text-align: center;
}

.section-head__title {
    margin-bottom: var(--space-sm);
}

.section-head__title::after {
    display: block;
    width: min(8rem, 35vw);
    height: 3px;
    margin: var(--space-md) auto 0;
    border-radius: var(--radius-pill);
    background: var(--neon-gradient);
    box-shadow: var(--shadow-neon);
    content: "";
}

.section-head__text {
    max-width: 70ch;
    margin-inline: auto;
    color: var(--muted-foreground);
    font-size: var(--text-lg);
}

.section-note {
    max-width: 70ch;
    margin: var(--space-lg) auto 0;
    color: var(--muted-foreground);
    font-size: var(--text-base);
    text-align: center;
}

.section-action {
    margin: var(--space-lg) 0 0;
    text-align: center;
}

.section-note__gap {
    margin-top: var(--space-xl);
}

figure {
    margin: var(--space-xl) 0 0;
}

figure img {
    width: 100%;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
}

figure figcaption {
    margin-top: var(--space-sm);
}

.divider-neon {
    width: min(20rem, 60vw);
    height: 3px;
    margin: var(--space-xl) auto;
    border: 0;
    border-radius: var(--radius-pill);
    background: var(--neon-gradient);
    box-shadow: var(--shadow-neon);
}

/* ============================================
   AMBIENT DECORATION - Edge neon from references
   ============================================ */

.neon-edges {
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    overflow: hidden;
}

.neon-edges__left,
.neon-edges__right {
    position: absolute;
    top: 24rem;
    bottom: 8rem;
    width: 2px;
    background: var(--neon-gradient);
    box-shadow: 0 0 1rem currentColor;
    opacity: 0.45;
}

.neon-edges__left {
    left: 0.5rem;
}

.neon-edges__right {
    right: 0.5rem;
}

/* ============================================
   ACCESSIBILITY - Skip and focus treatments
   ============================================ */

.skip-link {
    position: fixed;
    top: 0.5rem;
    left: 0.5rem;
    z-index: 2000;
    padding: 0.75rem 1rem;
    border-radius: var(--radius-sm);
    background: var(--primary);
    color: var(--primary-foreground);
    font-weight: 800;
    transform: translateY(-160%);
    transition: transform var(--transition);
}

.skip-link:focus {
    transform: translateY(0);
}

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

/* ============================================
   HEADER & NAVIGATION - Mobile drawer, desktop gold bar
   ============================================ */

.site-header {
    position: relative;
    z-index: 1000;
    min-height: var(--header-height);
    border-bottom: 2px solid var(--primary-deep);
    background: var(--background-deep);
}

.site-header__top {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: var(--space-sm);
    min-height: var(--header-height);
    width: min(100% - 1rem, var(--container-wide));
    margin-inline: auto;
}

.site-brand {
    display: inline-flex;
    flex-direction: column;
    justify-self: start;
    color: var(--primary);
    font-family: var(--font-display);
    line-height: 0.9;
    text-decoration: none;
    white-space: nowrap;
}

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

.site-brand__mark {
    font-size: clamp(1.25rem, calc(2vw + 0.7rem), 2.75rem);
    font-weight: 700;
    letter-spacing: -0.06em;
}

.site-brand__sub {
    align-self: flex-end;
    margin-top: 0.35rem;
    font-size: var(--text-xs);
    font-weight: 800;
    letter-spacing: 0.24em;
    text-transform: uppercase;
}

.nav-toggle {
    position: relative;
    z-index: 1001;
    display: inline-grid;
    place-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--primary);
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    width: 26px;
    height: 2px;
    border-radius: var(--radius-pill);
    background: currentColor;
    transition: transform var(--transition), opacity var(--transition);
}

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

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

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

.site-header__actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: var(--space-xs);
}

.primary-nav {
    display: none;
}

.primary-nav.is-open {
    position: fixed;
    z-index: 999;
    top: var(--header-height);
    right: 0;
    bottom: 0;
    left: 0;
    display: block;
    max-width: 100vw;
    overflow-y: auto;
    padding: var(--space-lg) var(--space-md) 6rem;
    background: var(--background);
}

.primary-nav__list {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: var(--space-xs);
    width: min(100%, 36rem);
    margin: 0 auto;
    padding: 0;
    list-style: none;
}

.primary-nav a {
    display: flex;
    align-items: center;
    min-height: 52px;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-sm);
    background: var(--surface);
    color: var(--foreground);
    font-family: var(--font-display);
    font-weight: 750;
    text-decoration: none;
}

.primary-nav a:hover,
.primary-nav a[aria-current="page"] {
    border-color: var(--primary);
    background: var(--surface-strong);
    color: var(--primary-bright);
}

/* ============================================
   BUTTONS - Gold conversion actions and red support
   ============================================ */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0.75rem 1.4rem;
    border: 2px solid transparent;
    border-radius: var(--radius-pill);
    color: var(--primary-foreground);
    font-family: var(--font-display);
    font-size: var(--text-base);
    font-weight: 850;
    line-height: 1.1;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: transform var(--transition), box-shadow var(--transition), filter var(--transition), border-color var(--transition);
}

.btn:hover {
    color: var(--primary-foreground);
    transform: translateY(-2px);
    filter: brightness(1.08);
}

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

.btn--gold {
    border-color: var(--primary-bright);
    background: var(--gold-gradient);
    box-shadow: var(--shadow-red);
}

.btn--red {
    border-color: var(--primary);
    background: var(--red-gradient);
    color: var(--secondary-foreground);
    box-shadow: var(--shadow-red);
}

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

.btn--ghost {
    border-color: var(--primary);
    background: var(--background-deep);
    color: var(--primary-bright);
}

.btn--ghost:hover {
    color: var(--foreground-strong);
    box-shadow: var(--shadow-gold);
}

.btn--sm {
    min-height: 44px;
    padding: 0.6rem 1rem;
    font-size: var(--text-sm);
}

.btn--lg {
    min-height: 56px;
    padding-inline: clamp(1.5rem, 7vw, 4rem);
    font-size: var(--text-lg);
}

.btn--block {
    width: 100%;
}

/* ============================================
   HERO - Integrated Vegas artwork and offer copy
   ============================================ */

.hero {
    isolation: isolate;
    min-height: 38rem;
    padding: var(--space-xl) 0 var(--space-2xl);
    border-bottom: 2px solid var(--primary-deep);
    background:
        radial-gradient(circle at 50% 20%, rgba(243, 196, 93, 0.14), transparent 24rem),
        radial-gradient(circle at 15% 50%, rgba(138, 49, 209, 0.18), transparent 28rem),
        linear-gradient(180deg, #090c1b 0%, #0d0a13 76%, #09090c 100%);
}

.hero::after {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: -1;
    height: 3px;
    background: var(--neon-gradient);
    box-shadow: var(--shadow-neon);
    content: "";
}

.hero__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-lg);
    align-items: center;
    width: min(100% - 2rem, var(--container-wide));
    margin-inline: auto;
}

.hero__content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.hero__offer {
    display: block;
    margin-bottom: var(--space-sm);
    color: var(--primary-bright);
    font-family: var(--font-display);
    font-size: var(--text-hero);
    font-weight: 900;
    letter-spacing: -0.06em;
    line-height: 0.9;
    text-shadow: 0 0 1rem rgba(243, 196, 93, 0.48), 0 0 3rem rgba(201, 24, 61, 0.18);
}

.hero__kicker {
    color: var(--primary);
    font-family: var(--font-display);
    font-size: var(--text-2xl);
    font-weight: 800;
}

.hero__title {
    max-width: 22ch;
    margin-inline: auto;
    font-size: var(--text-2xl);
}

.hero__text {
    max-width: 62ch;
    margin: 0 auto var(--space-lg);
    color: var(--foreground);
    font-size: var(--text-lg);
}

.hero__trust {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-xs);
    margin-top: var(--space-md);
}

.hero__art {
    position: relative;
    min-height: 21rem;
    order: -1;
}

.hero__art img[data-visual-role="hero-foreground"] {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center bottom;
    filter: drop-shadow(0 1rem 2rem rgba(0, 0, 0, 0.44));
}

.hero__scene {
    position: absolute;
    inset: auto -8% 0;
    z-index: -1;
    height: 60%;
    background: linear-gradient(180deg, transparent, rgba(11, 10, 13, 0.24)), radial-gradient(ellipse at bottom, rgba(243, 196, 93, 0.18), transparent 65%);
}

/* ============================================
   BADGES & TRUST - Licence, SSL, age and payments
   ============================================ */

.badge-pill {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0.35rem 0.75rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-pill);
    background: var(--surface);
    color: var(--muted-foreground);
    font-size: var(--text-xs);
    font-weight: 700;
    line-height: 1.2;
}

.badge-pill--age {
    border-color: var(--primary);
    color: var(--foreground-strong);
}

.trust-bar {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-sm);
    margin: 0;
    padding: 0;
    list-style: none;
}

.trust-bar__item {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    min-width: 0;
    padding: var(--space-md);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-md);
    background: var(--surface);
}

.trust-bar__icon {
    display: grid;
    flex: 0 0 44px;
    place-items: center;
    width: 44px;
    height: 44px;
    border: 1px solid var(--primary-deep);
    border-radius: 50%;
    color: var(--primary-bright);
    font-family: var(--font-display);
    font-weight: 900;
}

.trust-bar__body {
    display: flex;
    min-width: 0;
    flex-direction: column;
}

.trust-bar__body span {
    color: var(--muted-foreground);
    font-size: var(--text-sm);
}

/* ============================================
   CARDS - Reusable premium content containers
   ============================================ */

.card,
.info-card,
.feature-card,
.game-card,
.category-tile,
.bonus-tier,
.stat-highlight {
    min-width: 0;
}

.card,
.info-card,
.feature-card {
    padding: var(--space-lg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: var(--panel-gradient);
    box-shadow: var(--shadow-card);
}

.card--featured,
.info-card--featured {
    border-color: var(--primary);
    box-shadow: var(--shadow-gold);
}

.card-grid,
.feature-grid,
.game-grid,
.category-grid,
.stats-grid,
.bonus-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-md);
}

.feature-card {
    position: relative;
    transition: transform var(--transition), border-color var(--transition), background var(--transition);
}

.feature-card:hover {
    border-color: var(--primary-deep);
    background: var(--card-hover);
    transform: translateY(-3px);
}

.feature-card__icon {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    margin-bottom: var(--space-md);
    border: 1px solid var(--primary-deep);
    border-radius: var(--radius-md);
    background: var(--surface-soft);
    color: var(--primary-bright);
    font-family: var(--font-display);
    font-size: var(--text-xl);
    font-weight: 900;
}

.feature-card__title {
    margin-bottom: var(--space-xs);
}

.feature-card__text {
    color: var(--muted-foreground);
}

.feature-card__link,
.category-tile__more,
.media-feature__link {
    display: inline-flex;
    margin-top: var(--space-sm);
    color: var(--primary-bright);
    font-weight: 800;
    text-underline-offset: 0.2em;
}

/* ============================================
   BONUS TIERS - Neon framed three-stage offers
   ============================================ */

.bonus-grid {
    align-items: stretch;
}

.bonus-tier {
    position: relative;
    padding: var(--space-lg);
    border: 1px solid var(--primary);
    border-radius: var(--radius-lg);
    background: linear-gradient(145deg, rgba(54, 46, 59, 0.92), rgba(17, 16, 21, 0.96));
    text-align: center;
    box-shadow: var(--shadow-card);
}

.bonus-tier::before {
    position: absolute;
    inset: -1px;
    z-index: -1;
    border-radius: inherit;
    background: var(--neon-gradient);
    filter: blur(8px);
    opacity: 0.28;
    content: "";
}

.bonus-tier--violet {
    border-color: var(--accent);
}

.bonus-tier--cyan {
    border-color: var(--cyan);
}

.bonus-tier__label {
    margin-bottom: var(--space-sm);
    color: var(--muted-foreground);
    font-size: var(--text-sm);
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.bonus-tier__percent {
    margin-bottom: 0;
    color: var(--primary-bright);
    font-family: var(--font-display);
    font-size: clamp(2.75rem, calc(5vw + 1rem), 5.25rem);
    font-weight: 900;
    letter-spacing: -0.06em;
    line-height: 1;
    text-shadow: 0 0 1.2rem rgba(243, 196, 93, 0.36);
}

.bonus-tier__spins {
    margin-bottom: var(--space-md);
    color: var(--primary);
    font-family: var(--font-display);
    font-size: var(--text-xl);
    font-weight: 800;
}

.bonus-tier__text,
.bonus-tier__note {
    color: var(--muted-foreground);
}

.bonus-tier__note {
    margin-top: var(--space-sm);
    font-size: var(--text-sm);
}

/* ============================================
   CATEGORY & GAME CARDS - Visual catalogue tiles
   ============================================ */

.category-tile,
.game-card {
    overflow: hidden;
    border: 1px solid var(--primary-deep);
    border-radius: var(--radius-lg);
    background: var(--card);
    box-shadow: var(--shadow-card);
}

.category-tile {
    padding-bottom: var(--space-md);
}

.category-tile__link {
    display: block;
    color: var(--foreground-strong);
    text-decoration: none;
}

.category-tile__img,
.game-card__img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    background: var(--surface-soft);
}

.category-tile__title {
    display: block;
    padding: var(--space-md) var(--space-md) var(--space-xs);
    font-family: var(--font-display);
    font-size: var(--text-xl);
    font-weight: 850;
}

.category-tile__text,
.category-tile__more {
    margin-right: var(--space-md);
    margin-left: var(--space-md);
}

.category-tile__text,
.game-card__text {
    color: var(--muted-foreground);
}

.game-card__body {
    padding: var(--space-md);
}

.game-card__title {
    margin-bottom: var(--space-2xs);
}

.game-card__tag {
    display: inline-flex;
    margin-bottom: var(--space-sm);
    padding: 0.2rem 0.55rem;
    border: 1px solid var(--primary-deep);
    border-radius: var(--radius-pill);
    color: var(--primary-bright);
    font-size: var(--text-xs);
    font-weight: 800;
}

/* ============================================
   LOGO & PAYMENT GRIDS - Static, finite trust marks
   ============================================ */

.logo-grid,
.pay-marks {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-sm);
    margin: 0;
    padding: 0;
    list-style: none;
}

.logo-grid__item,
.pay-marks li {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0.55rem 0.75rem;
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-sm);
    background: var(--surface);
    color: var(--muted-foreground);
    font-family: var(--font-display);
    font-weight: 750;
    text-align: center;
}

.logo-grid--provider .logo-grid__item {
    min-height: 64px;
    font-size: var(--text-lg);
    letter-spacing: -0.03em;
}

/* ============================================
   MEDIA FEATURE - Framed live-table editorial split
   ============================================ */

.media-feature {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    overflow: hidden;
    border: 1px solid var(--primary);
    border-radius: var(--radius-lg);
    background: var(--panel-gradient);
    box-shadow: var(--shadow-neon);
}

.media-feature__media img {
    width: 100%;
    height: 100%;
    min-height: 18rem;
    object-fit: cover;
}

.media-feature__body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: var(--space-lg);
}

.media-feature__list {
    display: grid;
    gap: var(--space-md);
    margin: 0;
    padding: 0;
    list-style: none;
}

.media-feature__list li {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: baseline;
    gap: var(--space-md);
    border-bottom: 1px solid var(--border-soft);
    padding-bottom: var(--space-sm);
}

.media-feature__value {
    color: var(--primary-bright);
    font-family: var(--font-display);
    font-size: var(--text-2xl);
    font-weight: 900;
}

.media-feature__label {
    color: var(--muted-foreground);
}

/* ============================================
   ENGAGEMENT - Summary, callout, stats and quotes
   ============================================ */

.tldr,
.callout {
    margin-block: var(--space-lg);
    padding: var(--space-lg);
    border: 1px solid var(--primary-deep);
    border-left: 5px solid var(--primary);
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, rgba(243, 196, 93, 0.11), rgba(29, 25, 34, 0.92));
}

.tldr__title,
.callout__title {
    margin-bottom: var(--space-sm);
    color: var(--primary-bright);
    font-family: var(--font-display);
    font-size: var(--text-lg);
    font-weight: 850;
}

.tldr__list {
    margin-bottom: 0;
    padding-left: 1.25rem;
}

.tldr__list li::marker {
    color: var(--primary);
}

.callout--red {
    border-color: var(--secondary);
    border-left-color: var(--secondary);
    background: linear-gradient(135deg, rgba(201, 24, 61, 0.14), rgba(29, 25, 34, 0.94));
}

.callout--violet {
    border-color: var(--accent);
    border-left-color: var(--accent);
    background: linear-gradient(135deg, rgba(138, 49, 209, 0.15), rgba(29, 25, 34, 0.94));
}

.stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.stat-highlight {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 9rem;
    padding: var(--space-lg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: var(--panel-gradient);
    text-align: center;
}

.stat-highlight__value {
    color: var(--primary-bright);
    font-family: var(--font-display);
    font-size: clamp(2rem, calc(3vw + 1rem), 4rem);
    font-weight: 900;
    line-height: 1;
}

.stat-highlight__label {
    margin-top: var(--space-xs);
    color: var(--foreground-strong);
    font-weight: 800;
}

.stat-highlight__note {
    margin-top: var(--space-xs);
    color: var(--muted-foreground);
    font-size: var(--text-xs);
}

.pull-quote {
    position: relative;
    margin: var(--space-xl) 0;
    padding: var(--space-lg) var(--space-lg) var(--space-lg) clamp(2rem, 8vw, 4rem);
    border-block: 1px solid var(--primary-deep);
    color: var(--foreground-strong);
    font-family: var(--font-display);
    font-size: var(--text-xl);
    font-weight: 700;
    line-height: 1.4;
}

.pull-quote::before {
    position: absolute;
    top: 0.2rem;
    left: var(--space-sm);
    color: var(--primary);
    font-size: 4.5rem;
    line-height: 1;
    content: "“";
}

.pull-quote cite {
    display: block;
    margin-top: var(--space-sm);
    color: var(--muted-foreground);
    font-family: var(--font-body);
    font-size: var(--text-sm);
    font-style: normal;
    font-weight: 500;
}

/* ============================================
   TABLES - Transparent comparisons and highlighted rows
   ============================================ */

.table-wrapper {
    overflow-x: auto;
    margin-block: var(--space-lg);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: var(--surface);
}

.data-table {
    width: 100%;
    min-width: 42rem;
    border-collapse: collapse;
    font-size: var(--text-sm);
}

.data-table caption {
    padding: var(--space-md);
    color: var(--foreground-strong);
    font-family: var(--font-display);
    font-size: var(--text-lg);
    font-weight: 800;
    text-align: left;
}

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

.data-table thead th {
    border-top: 0;
    background: var(--surface-soft);
    color: var(--primary-bright);
    font-family: var(--font-display);
    font-weight: 800;
}

.data-table tbody th {
    color: var(--foreground-strong);
}

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

.data-table tr.is-highlighted > * {
    background: rgba(243, 196, 93, 0.1);
    box-shadow: inset 0 1px 0 var(--primary-deep), inset 0 -1px 0 var(--primary-deep);
}

/* ============================================
   PROCESS STEPS - Numbered KYC and activation flows
   ============================================ */

.step-list {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-md);
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: steps;
}

.step-list__item {
    position: relative;
    min-width: 0;
    padding: var(--space-lg) var(--space-lg) var(--space-lg) 5rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: var(--panel-gradient);
    counter-increment: steps;
}

.step-list__item::before {
    position: absolute;
    top: var(--space-lg);
    left: var(--space-lg);
    display: grid;
    place-items: center;
    width: 2.5rem;
    height: 2.5rem;
    border: 1px solid var(--primary);
    border-radius: 50%;
    background: var(--surface-soft);
    color: var(--primary-bright);
    font-family: var(--font-display);
    font-weight: 900;
    content: counter(steps);
}

.step-list__title {
    margin-bottom: var(--space-xs);
}

.step-list__text {
    color: var(--muted-foreground);
}

/* ============================================
   ACCORDIONS - Native details/summary FAQ rows
   ============================================ */

.faq-list {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
    gap: var(--space-sm);
    width: min(100%, 68rem);
    margin-inline: auto;
}

.faq-item {
    align-self: start;
    border: 1px solid var(--primary-deep);
    border-radius: var(--radius-md);
    background: var(--surface);
    transition: border-color var(--transition), background var(--transition);
}

.faq-item[open] {
    border-color: var(--primary);
    background: var(--surface-strong);
}

.faq-item summary {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 56px;
    padding: 0.9rem 3.25rem 0.9rem 1rem;
    color: var(--foreground-strong);
    font-family: var(--font-display);
    font-size: var(--text-lg);
    font-weight: 800;
    line-height: 1.3;
    cursor: pointer;
    list-style: none;
}

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

.faq-item summary::after {
    position: absolute;
    right: 1rem;
    width: 0.75rem;
    height: 0.75rem;
    border-right: 2px solid var(--primary);
    border-bottom: 2px solid var(--primary);
    content: "";
    transform: rotate(45deg) translateY(-3px);
    transition: transform var(--transition);
}

.faq-item[open] summary::after {
    transform: rotate(225deg) translate(-2px, -2px);
}

.faq-item__answer {
    padding: 0 1rem 1rem;
    color: var(--muted-foreground);
}

.faq-item__answer > *:last-child {
    margin-bottom: 0;
}

/* ============================================
   PAGE DIRECTORY - HTML sitemap entries
   ============================================ */

.page-directory {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-md);
}

.page-directory .card h3 {
    margin-bottom: var(--space-xs);
}

.page-directory__meta {
    margin-top: var(--space-sm);
    color: var(--muted-foreground);
    font-size: var(--text-xs);
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.page-directory__note {
    margin-top: var(--space-xl);
    padding-top: var(--space-lg);
    border-top: 1px solid var(--border-soft);
    color: var(--muted-foreground);
}

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

/* ============================================
   SOCIAL PROOF - Available only for supplied evidence
   ============================================ */

.social-proof-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-md);
}

.testimonial-card {
    min-width: 0;
    padding: var(--space-lg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: var(--panel-gradient);
}

.testimonial-card blockquote {
    margin-bottom: var(--space-md);
    color: var(--foreground-strong);
    font-size: var(--text-lg);
}

.testimonial-card__source {
    color: var(--muted-foreground);
    font-size: var(--text-sm);
}

/* ============================================
   CTA BAND - High-commitment conversion section
   ============================================ */

.cta-band {
    padding-block: var(--space-2xl);
    border-block: 2px solid var(--primary-deep);
    background:
        radial-gradient(circle at 50% 50%, rgba(138, 49, 209, 0.18), transparent 36rem),
        linear-gradient(90deg, rgba(201, 24, 61, 0.18), rgba(15, 13, 19, 0.98) 28%, rgba(15, 13, 19, 0.98) 72%, rgba(50, 199, 242, 0.15));
}

.cta-band::before {
    position: absolute;
    inset: 0;
    border: 2px solid transparent;
    border-image: var(--neon-gradient) 1;
    pointer-events: none;
    content: "";
}

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

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

.cta-band__text {
    max-width: 60ch;
    margin: 0 auto var(--space-lg);
    color: var(--muted-foreground);
}

.cta-band__note {
    margin-top: var(--space-md);
    color: var(--muted-foreground);
    font-size: var(--text-sm);
}

.cta-band__badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-xs);
    margin-top: var(--space-md);
}

/* ============================================
   FOOTER - Legal, payments and restrained navigation
   ============================================ */

.site-footer {
    position: relative;
    padding-top: var(--space-2xl);
    border-top: 3px solid var(--primary-deep);
    background: var(--background-deep);
}

.site-footer::before {
    position: absolute;
    top: -3px;
    right: 0;
    left: 0;
    height: 2px;
    background: var(--neon-gradient);
    box-shadow: var(--shadow-neon);
    content: "";
}

.site-footer__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-xl);
}

.site-footer__brand {
    max-width: 42rem;
}

.site-footer__brand > p {
    margin-top: var(--space-md);
    color: var(--muted-foreground);
}

.site-footer__legal-badges {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-xs);
}

.site-footer__title {
    margin-bottom: var(--space-sm);
    font-size: var(--text-lg);
}

.site-footer__nav ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.site-footer__nav a {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    color: var(--muted-foreground);
    text-decoration: none;
}

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

.site-footer__pay .pay-marks {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.site-footer__bottom {
    display: grid;
    gap: var(--space-sm);
    margin-top: var(--space-xl);
    padding-block: var(--space-lg);
    border-top: 1px solid var(--border-soft);
    color: var(--muted-foreground);
    font-size: var(--text-sm);
}

/* ============================================
   SCROLL REVEAL - Progressive enhancement only
   ============================================ */

.js-reveal-ready [data-reveal].is-reveal-pending {
    opacity: 0;
    transform: translateY(1.25rem);
}

.js-reveal-ready [data-reveal] {
    transition: opacity 520ms ease, transform 520ms ease;
}

.js-reveal-ready [data-reveal].is-revealed {
    opacity: 1;
    transform: none;
}

/* ============================================
   SMALL MOBILE - Keep 320px header usable
   ============================================ */

@media (max-width: 359px) {
    .site-header__top {
        gap: 0.25rem;
    }

    .site-brand__mark {
        font-size: 1.1rem;
    }

    .site-brand__sub {
        font-size: 0.75rem;
    }

    .site-header__actions .btn--red {
        padding-inline: 0.65rem;
        font-size: 0.8125rem;
    }
}

@media (max-width: 479px) {
    .site-header__actions .btn--ghost {
        display: none;
    }
}

/* ============================================
   TABLET - Two-column cards and broader spacing
   ============================================ */

@media (min-width: 768px) {
    :root {
        --header-height: 5.25rem;
    }

    .container,
    .container-wide {
        width: min(100% - 3rem, var(--container));
    }

    .container-wide {
        width: min(100% - 3rem, var(--container-wide));
    }

    .card-grid,
    .feature-grid,
    .game-grid,
    .category-grid,
    .bonus-grid,
    .step-list,
    .social-proof-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .trust-bar {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

    .media-feature {
        grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    }

    .site-footer__grid {
        grid-template-columns: minmax(0, 1.4fr) minmax(12rem, 0.7fr) minmax(0, 1fr);
    }
}

/* ============================================
   DESKTOP - Reference geometry and gold navigation
   ============================================ */

@media (min-width: 1024px) {
    :root {
        --header-height: 7.25rem;
    }

    .site-header {
        position: relative;
    }

    .site-header__top {
        grid-template-columns: minmax(0, 1fr) auto;
        min-height: 4.6rem;
        width: min(100% - 3rem, var(--container-wide));
    }

    .nav-toggle {
        display: none;
    }

    .site-brand__mark {
        font-size: 2.75rem;
    }

    .site-header__actions {
        gap: var(--space-md);
    }

    .site-header__actions .btn {
        min-width: 9rem;
    }

    .primary-nav,
    .primary-nav.is-open {
        position: static;
        display: block;
        max-width: none;
        overflow: visible;
        padding: 0;
        background: var(--gold-gradient);
    }

    .primary-nav__list {
        flex-direction: row;
        align-items: center;
        justify-content: center;
        gap: 0;
        width: min(100% - 2rem, var(--container-wide));
    }

    .primary-nav a {
        min-height: 2.65rem;
        padding: 0.55rem 1.35rem;
        border: 0;
        border-radius: 0;
        background: transparent;
        color: var(--primary-foreground);
        font-size: var(--text-sm);
    }

    .primary-nav a:hover,
    .primary-nav a[aria-current="page"] {
        background: rgba(255, 255, 255, 0.2);
        color: var(--primary-foreground);
    }

    .hero {
        min-height: 43rem;
        padding-block: var(--space-2xl);
    }

    .hero__inner {
        grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.25fr);
        gap: 0;
    }

    .hero__art {
        order: 0;
        min-height: 36rem;
    }

    .hero__content {
        text-align: center;
    }

    .hero__title {
        max-width: 28ch;
    }

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

    .category-grid {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }

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

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

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

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

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

    .logo-grid {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }

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

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

    .neon-edges__left,
    .neon-edges__right {
        width: 3px;
        opacity: 0.65;
    }
}

/* ============================================
   WIDE DESKTOP - Density matching long homepage
   ============================================ */

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

    .hero__inner {
        width: min(100% - 4rem, var(--container-wide));
    }
}

/* ============================================
   REDUCED MOTION - Preserve content visibility
   ============================================ */

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

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }

    .js-reveal-ready [data-reveal].is-reveal-pending,
    .js-reveal-ready [data-reveal].is-revealed {
        opacity: 1;
        transform: none;
    }
}
