/*
 * V.VEGAS CASINO DESIGN SYSTEM
 * Fixed dark Vegas theme with gold, neon red and electric violet accents.
 */

:root {
    color-scheme: dark;
    --background: #120819;
    --background-deep: #09060d;
    --surface: #1e1029;
    --surface-raised: #291338;
    --surface-soft: #341745;
    --card: #f6f0e3;
    --card-foreground: #171018;
    --foreground: #ab8643;
    --muted: #32263a;
    --muted-foreground: #7d6489;
    --primary: #ffd45d;
    --primary-strong: #f3a51d;
    --primary-foreground: #1a1010;
    --secondary: #6d2189;
    --secondary-foreground: #ffffff;
    --accent: #ff334f;
    --accent-foreground: #16070a;
    --electric: #d32dff;
    --destructive: #d82034;
    --destructive-foreground: #ffffff;
    --success: #43d46b;
    --success-foreground: #07170c;
    --border: #6c4b70;
    --border-bright: #f2b94b;
    --focus: #fff0a6;
    --header-height: 72px;
    --container: 1200px;
    --content: 780px;
    --radius-sm: 0.5rem;
    --radius-md: 0.875rem;
    --radius-lg: 1.25rem;
    --radius-pill: 999px;
    --space-2xs: 0.25rem;
    --space-xs: 0.5rem;
    --space-sm: 0.75rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4.5rem;
    --shadow-card: 0 18px 50px rgba(5, 0, 9, 0.32);
    --shadow-gold: 0 0 0 2px rgba(255, 215, 99, 0.32), 0 0 22px rgba(255, 190, 52, 0.34);
    --shadow-red: 0 8px 0 #7e101b, 0 0 24px rgba(255, 36, 67, 0.48);
    --font-display: "Archivo", sans-serif;
    --font-body: "Inter", sans-serif;
    --font-comic: "Bangers", "Archivo", sans-serif;
}

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

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

html {
    min-width: 320px;
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-height) + 1rem);
    background: var(--background-deep);
}

body {
    min-width: 320px;
    margin: 0;
    overflow-x: clip;
    background:
        radial-gradient(circle at 14% 8%, rgba(122, 28, 96, 0.23), transparent 29rem),
        radial-gradient(circle at 88% 20%, rgba(63, 25, 113, 0.28), transparent 34rem),
        linear-gradient(180deg, var(--background-deep), var(--background) 16rem, #16091f 68%, var(--background-deep));
    color: var(--foreground);
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.65;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

body::before {
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    content: "";
    background-image: radial-gradient(rgba(255, 255, 255, 0.08) 0.65px, transparent 0.65px);
    background-size: 5px 5px;
    mask-image: linear-gradient(to bottom, black, transparent 78%);
}

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

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

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

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

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

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

section {
    position: relative;
    overflow: clip;
}

details {
    height: fit-content;
}

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

:where(p, li, blockquote, figcaption, dd, .prose, .seo-text, article) a:not([class]):hover {
    color: #ffffff;
}

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

/* ============================================
   TYPOGRAPHY - Dense editorial hierarchy
   ============================================ */

h1,
h2,
h3,
h4,
p,
ul,
ol,
figure,
blockquote {
    margin-top: 0;
}

h1,
h2,
h3,
h4 {
    color: var(--foreground);
    font-family: var(--font-display);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -0.035em;
}

h1 {
    font-size: clamp(2.35rem, calc(5vw + 0.7rem), 5.7rem);
}

h2 {
    font-size: clamp(1.8rem, calc(2.8vw + 0.75rem), 3.25rem);
}

h3 {
    font-size: clamp(1.25rem, calc(1.2vw + 0.9rem), 1.75rem);
}

p,
li,
td,
th {
    font-size: 1rem;
}

p {
    max-width: 75ch;
}

small,
.caption {
    font-size: 0.875rem;
}

.eyebrow {
    margin-bottom: var(--space-xs);
    color: var(--primary);
    font-family: var(--font-display);
    font-size: 0.875rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.section-title {
    max-width: 24ch;
    margin-bottom: var(--space-md);
}

.section-lead {
    max-width: 67ch;
    margin-bottom: 0;
    color: var(--muted-foreground);
    font-size: clamp(1rem, calc(0.35vw + 0.95rem), 1.18rem);
}

.section-head {
    margin-bottom: var(--space-xl);
}

.section-head--center,
.section-head--center .section-title,
.section-head--center .section-lead {
    margin-right: auto;
    margin-left: auto;
    text-align: center;
}

.text-gold {
    color: var(--primary);
    text-shadow: 0 0 18px rgba(255, 187, 54, 0.34);
}

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

.skip-link {
    position: fixed;
    top: var(--space-sm);
    left: var(--space-sm);
    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 160ms ease;
}

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

/* ============================================
   LAYOUT - Containers and document rhythm
   ============================================ */

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

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

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

.page-section + .page-section {
    border-top: 1px solid rgba(244, 185, 75, 0.18);
}

.section-panel {
    padding: clamp(1.15rem, 3vw, 2.5rem);
    border: 2px solid var(--border-bright);
    border-radius: var(--radius-md);
    background: linear-gradient(145deg, rgba(255, 249, 232, 0.98), rgba(235, 225, 205, 0.96));
    color: var(--card-foreground);
    box-shadow: var(--shadow-card);
}

.section-panel h2,
.section-panel h3,
.section-panel h4 {
    color: var(--card-foreground);
}

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

.stack-top {
    margin-top: var(--space-lg);
}

.prose {
    max-width: var(--content);
}

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

.prose h2,
.prose h3 {
    margin-top: 1.6em;
}

.prose p,
.prose li {
    color: #e2d8e6;
}

/* ============================================
   HEADER & NAVIGATION - Conversion-first shell
   ============================================ */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    min-height: var(--header-height);
    border-bottom: 1px solid rgba(255, 212, 93, 0.62);
    background: var(--background-deep);
}

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

.site-brand {
    display: inline-flex;
    flex: 0 1 auto;
    min-width: 0;
    align-items: center;
    gap: 0.4rem;
    color: var(--primary);
    line-height: 1;
    text-shadow: 0 0 16px rgba(255, 191, 48, 0.5);
}

.site-brand__mark {
    display: none;
    font-family: var(--font-comic);
    font-size: 2rem;
}

.site-brand__text {
    display: grid;
    gap: 0.12rem;
}

.site-brand__name {
    font-family: var(--font-display);
    font-size: clamp(1rem, 5vw, 1.35rem);
    font-weight: 900;
    letter-spacing: -0.04em;
    text-transform: uppercase;
    white-space: nowrap;
}

.site-brand__sub {
    font-family: var(--font-display);
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.32em;
    text-align: center;
    text-transform: uppercase;
}

.primary-nav {
    display: none;
}

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

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

.primary-nav__link {
    display: flex;
    min-height: 48px;
    align-items: center;
    padding-inline: var(--space-md);
    border-bottom: 1px solid rgba(255, 212, 93, 0.2);
    color: var(--foreground);
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 750;
    text-decoration: none;
}

.primary-nav__link:hover,
.primary-nav__link:focus-visible {
    color: var(--primary);
    background: rgba(255, 212, 93, 0.06);
}

.primary-nav__cta {
    margin-top: var(--space-xs);
}

.header-actions {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: flex-end;
    gap: 0.35rem;
}

.header-actions__register {
    display: none;
}

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

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

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

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

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

/* ============================================
   BUTTONS - Gold casino conversion controls
   ============================================ */

.btn {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    padding: 0.72rem 1.15rem;
    border: 2px solid transparent;
    border-radius: var(--radius-md);
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 850;
    line-height: 1.1;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

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

.btn:active {
    transform: translateY(1px);
}

.btn--gold {
    border-color: #ffe59b;
    background: linear-gradient(180deg, #ffe887, var(--primary) 46%, var(--primary-strong));
    color: var(--primary-foreground);
    box-shadow: var(--shadow-red);
}

.btn--gold:hover {
    box-shadow: 0 6px 0 #7e101b, 0 0 32px rgba(255, 48, 74, 0.64);
}

.btn--ghost {
    border-color: var(--primary);
    background: rgba(18, 8, 25, 0.96);
    color: var(--primary);
    box-shadow: 0 0 16px rgba(255, 196, 60, 0.18);
}

.btn--ghost:hover {
    background: rgba(255, 212, 93, 0.1);
}

.btn--sm {
    min-height: 44px;
    padding-inline: 0.75rem;
    font-size: 0.88rem;
}

.btn--lg {
    min-height: 56px;
    padding: 0.95rem clamp(1.5rem, 5vw, 3rem);
    font-size: clamp(1.05rem, 2vw, 1.35rem);
}

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

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

/* ============================================
   PAGE HERO - Integrated comic jackpot artwork
   ============================================ */

.page-hero {
    isolation: isolate;
    min-height: calc(100svh - var(--header-height));
    padding-block: clamp(2rem, 6vw, 5rem);
    border-bottom: 2px solid rgba(211, 45, 255, 0.56);
    background:
        radial-gradient(circle at 80% 45%, rgba(255, 39, 70, 0.28), transparent 24rem),
        radial-gradient(circle at 55% 45%, rgba(122, 30, 151, 0.48), transparent 30rem),
        linear-gradient(100deg, #08060b 0%, #1c0a29 58%, #310d3e 100%);
}

.page-hero::before {
    position: absolute;
    inset: 0;
    z-index: -2;
    content: "";
    background:
        repeating-conic-gradient(from 254deg at 78% 50%, rgba(255, 54, 81, 0.2) 0deg 4deg, transparent 4deg 12deg),
        radial-gradient(circle at 78% 50%, rgba(255, 213, 80, 0.32) 0 2%, transparent 2.5% 100%);
    opacity: 0.76;
}

.page-hero__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: center;
    gap: var(--space-xl);
}

.page-hero__copy {
    position: relative;
    z-index: 2;
}

.page-hero__title {
    max-width: 18ch;
    margin-bottom: var(--space-lg);
    color: var(--primary);
    text-shadow: 0 0 12px rgba(255, 47, 76, 0.68), 0 0 28px rgba(255, 179, 38, 0.28);
}

.page-hero__lead {
    max-width: 58ch;
    margin-bottom: var(--space-lg);
    color: #f1e7f5;
    font-size: clamp(1rem, calc(0.4vw + 1rem), 1.25rem);
}

.page-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
}

.page-hero__art {
    position: relative;
    z-index: 1;
    display: grid;
    min-height: 20rem;
    place-items: end center;
}

.page-hero__art img[data-visual-role="hero-foreground"] {
    width: min(100%, 46rem);
    max-height: 42rem;
    object-fit: contain;
    object-position: bottom center;
    filter: drop-shadow(0 18px 32px rgba(0, 0, 0, 0.36));
}

.page-hero__facts {
    display: flex;
    flex-wrap: wrap;
    padding: 0;
    margin: var(--space-lg) 0 0;
    gap: var(--space-xs);
    list-style: none;
}

.page-hero__facts li,
.tag {
    padding: 0.38rem 0.68rem;
    border: 1px solid rgba(255, 214, 101, 0.52);
    border-radius: var(--radius-pill);
    background: rgba(18, 8, 25, 0.8);
    color: var(--primary);
    font-size: 0.875rem;
    font-weight: 750;
}

/* ============================================
   COMIC MOTIFS - Bursts, halftones and marquee frames
   ============================================ */

.comic-burst {
    display: inline-grid;
    min-width: 7rem;
    min-height: 7rem;
    place-items: center;
    padding: 1rem;
    background: var(--primary);
    color: #15080b;
    clip-path: polygon(50% 0, 59% 27%, 79% 7%, 75% 35%, 100% 31%, 79% 51%, 100% 66%, 72% 67%, 82% 94%, 58% 77%, 49% 100%, 41% 76%, 14% 94%, 25% 66%, 0 62%, 23% 48%, 0 31%, 28% 34%, 21% 6%, 42% 27%);
    font-family: var(--font-comic);
    font-size: 1.7rem;
    letter-spacing: 0.04em;
    text-align: center;
    text-shadow: 2px 2px 0 #ffffff;
    transform: rotate(-4deg);
}

.comic-burst--red {
    background: var(--accent);
}

.comic-burst--violet {
    background: var(--electric);
}

.marquee-frame {
    padding: clamp(0.8rem, 2vw, 1.25rem);
    border: 4px solid var(--primary-strong);
    border-radius: var(--radius-lg);
    background:
        radial-gradient(circle, #ffe480 0 3px, transparent 4px) 0 0 / 23px 23px,
        linear-gradient(180deg, #9f171d, #5d0c18);
    box-shadow: 0 0 30px rgba(255, 51, 79, 0.5);
}

.marquee-frame__inner {
    padding: clamp(1.25rem, 4vw, 2.5rem);
    border: 2px solid rgba(255, 224, 128, 0.78);
    border-radius: calc(var(--radius-lg) - 0.35rem);
    background: linear-gradient(135deg, #190b24, #2b123a);
}

.marquee-frame__inner > h2 {
    margin-bottom: var(--space-md);
    color: var(--primary);
}

.marquee-frame__inner > p {
    margin-bottom: 0;
    color: #e2d8e6;
}

/* ============================================
   TRUST SIGNALS - Licence, security and 18+ rows
   ============================================ */

.trust-bar {
    padding-block: var(--space-xl);
    border-block: 1px solid rgba(255, 212, 93, 0.4);
    background: linear-gradient(180deg, rgba(29, 11, 39, 0.96), rgba(18, 8, 25, 0.98));
}

.trust-bar__title {
    margin-bottom: var(--space-lg);
    font-size: clamp(1.35rem, 3vw, 2rem);
    text-align: center;
}

.trust-badges,
.payment-row {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    justify-content: center;
    padding: 0;
    margin: 0;
    gap: var(--space-sm);
    list-style: none;
}

.trust-badge {
    display: grid;
    min-width: min(100%, 8.5rem);
    flex: 1 1 8.5rem;
    place-items: center;
    padding: var(--space-md);
    border: 1px solid rgba(255, 212, 93, 0.32);
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.04);
    text-align: center;
}

.trust-badge__icon {
    display: grid;
    width: 3rem;
    height: 3rem;
    place-items: center;
    margin-bottom: var(--space-xs);
    border: 2px solid var(--primary);
    border-radius: 50%;
    color: var(--primary);
    font-family: var(--font-display);
    font-size: 0.9rem;
    font-weight: 900;
}

.trust-badge__label {
    color: var(--foreground);
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 800;
}

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

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

.info-card,
.game-card,
.tier-card,
.stat-block,
.stat-highlight,
.rating-badge,
.social-proof-card {
    min-width: 0;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-card);
}

.info-card {
    position: relative;
    padding: var(--space-lg);
    border: 1px solid rgba(255, 212, 93, 0.5);
    background: linear-gradient(145deg, rgba(42, 19, 57, 0.98), rgba(24, 10, 34, 0.98));
}

.info-card::after {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 4rem;
    height: 4rem;
    content: "";
    background: radial-gradient(circle at bottom right, rgba(211, 45, 255, 0.3), transparent 70%);
}

.info-card__icon {
    display: grid;
    width: 3rem;
    height: 3rem;
    place-items: center;
    margin-bottom: var(--space-md);
    border-radius: 50%;
    background: var(--primary);
    color: var(--primary-foreground);
    font-family: var(--font-display);
    font-weight: 900;
}

.info-card__title {
    margin-bottom: var(--space-sm);
}

.info-card__text,
.game-card__note,
.tier-card__text {
    color: var(--muted-foreground);
}

.info-card__link,
.game-card__link {
    position: relative;
    z-index: 1;
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    color: var(--primary);
    font-weight: 800;
    text-underline-offset: 0.2em;
}

.game-card {
    overflow: hidden;
    border: 2px solid var(--border-bright);
    background: var(--card);
    color: var(--card-foreground);
}

.game-card__media {
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: #24152c;
}

.game-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 240ms ease;
}

.game-card:hover .game-card__media img {
    transform: scale(1.035);
}

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

.game-card__title {
    margin-bottom: 0.2rem;
    color: var(--card-foreground);
}

.game-card__provider {
    margin-bottom: var(--space-sm);
    color: #5d485e;
    font-size: 0.875rem;
}

.game-card .tag {
    background: #2a1236;
}

.game-card__link {
    color: #7d2708;
}

.tag-row {
    display: flex;
    flex-wrap: wrap;
    padding: 0;
    margin: 0 0 var(--space-sm);
    gap: var(--space-xs);
    list-style: none;
}

.tag--alt {
    border-color: rgba(255, 66, 93, 0.64);
    color: #ffb0bb;
}

.tier-card {
    position: relative;
    display: grid;
    grid-template-columns: minmax(5.7rem, 0.35fr) minmax(0, 1fr);
    overflow: hidden;
    border: 2px solid var(--border-bright);
    background: var(--card);
    color: var(--card-foreground);
}

.tier-card__percent {
    display: grid;
    min-height: 9rem;
    place-items: center;
    padding: var(--space-md);
    background:
        radial-gradient(circle at 50% 50%, #fff2a7 0 11%, transparent 12%),
        repeating-conic-gradient(from 0deg, #ffbd39 0deg 10deg, #f24c3f 10deg 20deg);
    color: #171018;
    font-family: var(--font-comic);
    font-size: clamp(2rem, 8vw, 4rem);
    letter-spacing: 0.02em;
    text-shadow: 2px 2px 0 #ffffff;
}

.tier-card__body {
    align-self: center;
    padding: var(--space-lg);
}

.tier-card__title {
    color: var(--card-foreground);
}

.tier-card__badge {
    grid-column: 1 / -1;
    padding: 0.5rem var(--space-md);
    background: var(--accent);
    color: var(--accent-foreground);
    font-family: var(--font-display);
    font-weight: 900;
    text-align: center;
    text-transform: uppercase;
}

.stat-block,
.stat-highlight {
    display: grid;
    place-items: center;
    padding: var(--space-xl) var(--space-md);
    border: 2px solid var(--border-bright);
    background:
        radial-gradient(circle at 50% 15%, rgba(255, 198, 64, 0.16), transparent 45%),
        linear-gradient(145deg, #2f153a, #170a22);
    text-align: center;
}

.stat-block__number,
.stat-highlight__number {
    display: block;
    color: var(--primary);
    font-family: var(--font-display);
    font-size: clamp(2.65rem, 9vw, 5.5rem);
    font-weight: 900;
    line-height: 0.95;
    text-shadow: 0 5px 0 #5e160f, 0 0 22px rgba(255, 64, 78, 0.54);
}

.stat-block__label,
.stat-highlight__label {
    margin-top: var(--space-sm);
    color: var(--foreground);
    font-family: var(--font-display);
    font-weight: 750;
}

.stat-block__note,
.stat-highlight__source {
    margin-top: var(--space-xs);
    color: var(--muted-foreground);
    font-size: 0.875rem;
}

/* ============================================
   MEDIA SPLITS - Framed editorial scenes
   ============================================ */

.media-split {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: center;
    gap: var(--space-xl);
}

.media-split__figure {
    margin: 0;
    overflow: hidden;
    border: 2px solid var(--border-bright);
    border-radius: var(--radius-md);
    background: var(--surface);
    box-shadow: var(--shadow-card);
}

.media-split__figure img {
    width: 100%;
    aspect-ratio: 16 / 11;
    object-fit: cover;
}

.media-split__title {
    margin-bottom: var(--space-md);
}

.bullet-list {
    padding-left: 1.2rem;
}

.bullet-list li::marker {
    color: var(--primary);
    font-weight: 700;
}

.section-panel .bullet-list {
    margin-bottom: 0;
}

.section-panel .bullet-list li::marker {
    color: #a8420f;
}

.section-panel > h3 + p,
.section-panel > h3 + ul,
.section-panel > h3 + ol {
    margin-top: var(--space-sm);
}

.section-panel > * + h3 {
    margin-top: var(--space-lg);
}

/* ============================================
   TABLES - Comparison and transactional data
   ============================================ */

.table-wrapper {
    overflow-x: auto;
    border: 1px solid rgba(255, 212, 93, 0.45);
    border-radius: var(--radius-md);
    background: rgba(22, 9, 31, 0.92);
    box-shadow: var(--shadow-card);
}

.data-table {
    width: 100%;
    min-width: 42rem;
    border-collapse: collapse;
    color: var(--foreground);
}

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

.data-table th,
.data-table td {
    padding: 0.9rem 1rem;
    border-top: 1px solid rgba(255, 212, 93, 0.2);
    text-align: left;
    vertical-align: top;
}

.data-table thead th {
    border-top: 0;
    background: rgba(255, 212, 93, 0.12);
    color: var(--primary);
    font-family: var(--font-display);
    font-weight: 800;
}

.data-table tbody th {
    color: var(--foreground);
    font-weight: 750;
}

.data-table tbody tr:nth-child(even) {
    background: rgba(255, 255, 255, 0.035);
}

.data-table .is-highlight {
    background: rgba(255, 212, 93, 0.16);
    box-shadow: inset 2px 0 var(--primary), inset -2px 0 var(--primary);
}

/* ============================================
   ENGAGEMENT BOXES - TL;DR, callouts and quotes
   ============================================ */

.tldr-box,
.callout,
.pull-quote {
    min-width: 0;
    padding: clamp(1.1rem, 3vw, 1.75rem);
    border-radius: var(--radius-md);
}

.tldr-box {
    border: 2px solid var(--primary);
    background: linear-gradient(135deg, rgba(255, 212, 93, 0.14), rgba(92, 25, 116, 0.2));
    box-shadow: var(--shadow-gold);
}

.tldr-box__title,
.callout__title {
    margin-bottom: var(--space-xs);
    color: var(--primary);
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 850;
}

.callout {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
    border-left: 5px solid var(--primary);
    background: var(--surface-raised);
}

.callout--warning {
    border-left-color: var(--accent);
    background: #34101b;
}

.callout--success {
    border-left-color: var(--success);
    background: #10291a;
}

.callout__icon {
    display: grid;
    width: 2.5rem;
    height: 2.5rem;
    flex: 0 0 2.5rem;
    place-items: center;
    border-radius: 50%;
    background: var(--primary);
    color: var(--primary-foreground);
    font-weight: 900;
}

.callout__body p:last-child,
.tldr-box > *:last-child {
    margin-bottom: 0;
}

.pull-quote {
    position: relative;
    margin-inline: 0;
    border-block: 2px solid var(--primary);
    color: var(--foreground);
    font-family: var(--font-display);
    font-size: clamp(1.35rem, 3vw, 2rem);
    font-weight: 700;
    line-height: 1.35;
}

.pull-quote::before {
    content: "“";
    color: var(--primary);
    font-family: Georgia, serif;
    font-size: 4rem;
    line-height: 0.5;
}

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

/* ============================================
   STEPS - Registration and process guides
   ============================================ */

.step-list {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    padding: 0;
    margin: 0;
    gap: var(--space-md);
    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 rgba(255, 212, 93, 0.42);
    border-radius: var(--radius-md);
    background: var(--surface);
    counter-increment: steps;
}

.step-list__item::before {
    position: absolute;
    top: var(--space-lg);
    left: var(--space-lg);
    display: grid;
    width: 2.7rem;
    height: 2.7rem;
    place-items: center;
    border-radius: 50%;
    background: var(--primary);
    color: var(--primary-foreground);
    content: counter(steps);
    font-family: var(--font-display);
    font-weight: 900;
    box-shadow: var(--shadow-red);
}

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

.step-list__hint {
    color: var(--primary);
    font-size: 0.875rem;
    font-weight: 700;
}

/* ============================================
   FAQ / DETAILS - Native accessible accordions
   ============================================ */

.faq-list {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
    gap: var(--space-sm);
}

.faq-item {
    align-self: start;
    border: 1px solid var(--border-bright);
    border-radius: var(--radius-sm);
    background: rgba(26, 11, 36, 0.94);
}

.faq-item summary {
    position: relative;
    min-height: 56px;
    padding: 1rem 3.4rem 1rem 1rem;
    color: var(--foreground);
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 800;
    cursor: pointer;
    list-style: none;
}

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

.faq-item summary::after {
    position: absolute;
    top: 50%;
    right: 1rem;
    display: grid;
    width: 2rem;
    height: 2rem;
    place-items: center;
    border-radius: 50%;
    background: var(--primary);
    color: var(--primary-foreground);
    content: "+";
    font-size: 1.45rem;
    line-height: 1;
    transform: translateY(-50%);
}

.faq-item[open] summary::after {
    content: "−";
}

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

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

/* ============================================
   SOCIAL PROOF - Supplied ratings and balanced verdicts
   ============================================ */

.rating-badge {
    display: grid;
    min-height: 13rem;
    place-items: center;
    align-content: center;
    padding: var(--space-lg);
    border: 5px double var(--primary);
    border-radius: 50%;
    background: radial-gradient(circle, #372741 0 56%, #1b1023 57% 100%);
    text-align: center;
    box-shadow: var(--shadow-gold);
}

.rating-badge__score {
    color: var(--foreground);
    font-family: var(--font-display);
    font-size: clamp(2.3rem, 8vw, 4.2rem);
    font-weight: 900;
    line-height: 1;
}

.rating-badge__label,
.rating-badge__source {
    color: var(--primary);
    font-size: 0.875rem;
    font-weight: 750;
}

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

.pros-cons__col {
    min-width: 0;
    padding: var(--space-lg);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: var(--surface);
}

.pros-cons__title {
    color: var(--success);
}

.pros-cons__col--con .pros-cons__title {
    color: #ff7788;
}

.pros-cons ul {
    padding-left: 1.2rem;
    margin-bottom: 0;
}

/* ============================================
   CTA BAND - Full-width marquee conversion section
   ============================================ */

.cta-band {
    padding-block: var(--space-2xl);
    background: linear-gradient(180deg, rgba(8, 6, 12, 0.74), var(--background-deep));
}

.cta-band__inner {
    padding: clamp(1.2rem, 4vw, 2.7rem);
    border: 4px solid var(--accent);
    border-radius: var(--radius-lg);
    background:
        radial-gradient(circle, #ffe074 0 3px, transparent 4px) 0 0 / 23px 23px,
        linear-gradient(180deg, #9b151d, #5a0b16);
    text-align: center;
    box-shadow: 0 0 34px rgba(255, 42, 67, 0.58);
}

.cta-band__inner::before {
    position: absolute;
    pointer-events: none;
}

.cta-band__title,
.cta-band__text,
.cta-band__note {
    margin-right: auto;
    margin-left: auto;
}

.cta-band__title {
    max-width: 24ch;
    margin-bottom: var(--space-sm);
}

.cta-band__text {
    max-width: 60ch;
    margin-bottom: var(--space-lg);
}

.cta-band__note {
    max-width: 60ch;
    margin-top: var(--space-md);
    margin-bottom: 0;
    color: #f1dbe0;
    font-size: 0.875rem;
}

/* ============================================
   BREADCRUMBS - Compact page context without home links
   ============================================ */

.breadcrumbs {
    padding-block: var(--space-md);
}

.breadcrumbs ol {
    display: flex;
    flex-wrap: wrap;
    padding: 0;
    margin: 0;
    gap: 0.45rem;
    color: var(--muted-foreground);
    list-style: none;
}

.breadcrumbs li + li::before {
    margin-right: 0.45rem;
    color: var(--primary);
    content: "/";
}

.breadcrumbs [aria-current="page"] {
    color: var(--foreground);
}

/* ============================================
   FOOTER - Navigation, payments and responsible play
   ============================================ */

.site-footer {
    padding-block: var(--space-2xl) var(--space-lg);
    border-top: 1px solid rgba(255, 212, 93, 0.36);
    background: #0b0610;
}

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

.footer-brand {
    color: var(--primary);
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 900;
}

.footer-note {
    color: #b6aabc;
}

.footer-col__title {
    margin-bottom: var(--space-md);
    color: var(--primary);
    font-size: 1.05rem;
    letter-spacing: 0.02em;
}

.footer-nav {
    padding: 0;
    margin: 0;
    list-style: none;
}

.footer-nav a {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    color: var(--foreground);
    text-underline-offset: 0.18em;
}

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

.payment-row {
    justify-content: flex-start;
}

.payment-chip {
    padding: 0.42rem 0.65rem;
    border: 1px solid #897b8f;
    border-radius: var(--radius-sm);
    color: #ded4e2;
    font-family: var(--font-display);
    font-size: 0.875rem;
    font-weight: 750;
}

.footer-legal {
    display: flex;
    align-items: flex-start;
    padding-block: var(--space-xl);
    margin-top: var(--space-xl);
    gap: var(--space-md);
    border-block: 1px solid rgba(255, 212, 93, 0.2);
}

.footer-legal p {
    margin-bottom: 0;
    color: #b6aabc;
    font-size: 0.875rem;
}

.age-badge {
    display: grid;
    width: 3.2rem;
    height: 3.2rem;
    flex: 0 0 3.2rem;
    place-items: center;
    border: 2px solid var(--foreground);
    border-radius: 50%;
    color: var(--foreground);
    font-family: var(--font-display);
    font-weight: 900;
}

.footer-bottom {
    display: flex;
    flex-direction: column;
    padding-top: var(--space-lg);
    gap: var(--space-sm);
}

.footer-bottom p {
    margin-bottom: 0;
    color: #b6aabc;
    font-size: 0.875rem;
}

.footer-bottom a {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    color: var(--foreground);
    text-underline-offset: 0.18em;
}

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

/* ============================================
   PROGRESSIVE MOTION - Cards only; content remains visible without JS
   ============================================ */

.js-reveal .motion-card {
    opacity: 0;
    transform: translateY(1rem);
    transition: opacity 420ms ease, transform 420ms ease;
}

.js-reveal .motion-card.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   TABLET ENHANCEMENTS - 768px+
   ============================================ */

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

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

    .page-section {
        padding-block: var(--space-3xl);
    }

    .content-grid,
    .card-grid,
    .game-grid,
    .stats-grid,
    .proof-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: var(--space-lg);
    }

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

    .page-hero__inner {
        grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
        gap: 0;
    }

    .page-hero__art {
        min-height: 34rem;
        margin-right: -2rem;
    }

    .media-split {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        gap: clamp(2rem, 5vw, 4rem);
    }

    .media-split--reverse .media-split__figure {
        order: 2;
    }

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

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

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

    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
    }

    .header-actions__register {
        display: inline-flex;
    }
}

/* ============================================
   DESKTOP COMPOSITION - 1024px+
   ============================================ */

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

    .site-header {
        background: rgba(9, 6, 13, 0.96);
        -webkit-backdrop-filter: blur(12px);
        backdrop-filter: blur(12px);
    }

    .site-header__inner {
        width: min(100% - 2rem, 1400px);
        gap: var(--space-lg);
    }

    .site-brand {
        order: 2;
        flex: 0 0 auto;
    }

    .site-brand__mark {
        display: inline;
    }

    .site-brand__name {
        font-size: 1.35rem;
    }

    .primary-nav {
        order: 1;
        display: block;
        min-width: 0;
        overflow-x: auto;
    }

    .primary-nav__list {
        flex-direction: row;
        align-items: center;
        max-width: none;
        margin: 0;
        gap: 0.15rem;
    }

    .primary-nav__link {
        min-height: 48px;
        padding-inline: clamp(0.5rem, 1vw, 0.85rem);
        border-bottom: 0;
        white-space: nowrap;
    }

    .primary-nav__cta {
        display: none;
    }

    .header-actions {
        order: 3;
    }

    .nav-toggle {
        display: none;
    }

    .btn--sm {
        padding-inline: 1rem;
        font-size: 0.95rem;
    }

    .page-hero {
        min-height: 46rem;
    }

    .page-hero__art {
        min-height: 42rem;
        margin-right: -4rem;
    }

    .page-hero__art img[data-visual-role="hero-foreground"] {
        width: min(110%, 52rem);
        max-width: none;
    }

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

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

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

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

    .footer-grid {
        grid-template-columns: 1.35fr 0.8fr 0.9fr 1.35fr;
    }
}

/* ============================================
   LARGE DESKTOP LIMITS - 1280px+
   ============================================ */

@media (min-width: 1280px) {
    .container {
        width: min(100% - 4rem, var(--container));
    }

    .page-hero__inner {
        width: min(100% - 4rem, 1320px);
        margin-inline: auto;
    }

    .page-hero__copy {
        padding-left: clamp(0rem, 2vw, 2rem);
    }
}

/* ============================================
   COMPACT MOBILE HEADER - 390px and below
   ============================================ */

@media (max-width: 390px) {
    .site-header__inner {
        width: calc(100% - 0.65rem);
    }

    .site-brand__name {
        font-size: 0.95rem;
    }

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

    .header-actions__register {
        display: none;
    }

    .header-actions__login {
        min-width: 62px;
        padding-inline: 0.55rem;
    }
}

/* ============================================
   REDUCED MOTION - Accessible static presentation
   ============================================ */

@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 .motion-card {
        opacity: 1;
        transform: none;
    }
}
