/*
 * V.VEGAS CASINO - DESIGN SYSTEM
 * Fixed dark Vegas theme with gold, neon red and electric violet accents.
 * Mobile-first; enhancements at 768px, 1024px and 1280px.
 */

:root {
    color-scheme: dark;

    /* Core palette */
    --background: #0b0a10;
    --background-elevated: #111019;
    --surface: #171620;
    --surface-2: #201e2a;
    --surface-3: #292634;
    --foreground: #f7f3eb;
    --muted: #27242f;
    --muted-foreground: #c2bbc9;
    --border: #5b4b36;
    --border-strong: #b88a4d;

    /* Actions - all token pairs meet AA contrast */
    --primary: #f3bd5b;
    --primary-foreground: #171006;
    --primary-hover: #ffd37a;
    --secondary: #312d3e;
    --secondary-foreground: #f7f3eb;
    --accent: #a7143b;
    --accent-foreground: #fff7f9;
    --accent-blue: #4f76ff;
    --accent-violet: #8c50ff;
    --destructive: #b4233f;
    --destructive-foreground: #fff8fa;
    --success: #41c78a;
    --success-foreground: #061a11;

    /* Gold system */
    --gold-50: #fff5dc;
    --gold-100: #ffe3a8;
    --gold-300: #f3bd5b;
    --gold-500: #c98d37;
    --gold-700: #80531e;
    --gold-gradient: linear-gradient(135deg, #9d6527 0%, #f5c76a 42%, #ffe3a0 58%, #b7782d 100%);
    --gold-text-gradient: linear-gradient(180deg, #ffe3a0 0%, #e2a64a 72%, #a86d26 100%);
    --neon-gradient: linear-gradient(90deg, #ff315f 0%, #e12763 38%, #8c50ff 72%, #4f76ff 100%);

    /* Type */
    --font-display: "Poppins", Arial, sans-serif;
    --font-body: "Inter", Arial, sans-serif;
    --text-xs: 0.875rem;
    --text-sm: 0.9375rem;
    --text-base: 1rem;
    --text-lg: 1.125rem;
    --text-xl: 1.25rem;
    --text-2xl: clamp(1.5rem, calc(2vw + 1rem), 2.25rem);
    --text-3xl: clamp(1.9rem, calc(3vw + 0.7rem), 3.25rem);
    --text-hero: clamp(2.1rem, calc(4.4vw + 0.5rem), 4.9rem);

    /* Spacing */
    --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;
    --space-section: clamp(3.75rem, 8vw, 7.5rem);

    /* Geometry */
    --container: 76rem;
    --container-wide: 90rem;
    --header-height: 4.5rem;
    --radius-sm: 0.5rem;
    --radius-md: 0.875rem;
    --radius-lg: 1.25rem;
    --radius-xl: 1.75rem;
    --radius-pill: 999px;

    /* Shadows */
    --shadow-sm: 0 8px 24px rgba(0, 0, 0, 0.24);
    --shadow-card: 0 18px 48px rgba(0, 0, 0, 0.34);
    --shadow-gold: 0 0 0 1px rgba(243, 189, 91, 0.38), 0 0 22px rgba(243, 189, 91, 0.22);
    --shadow-neon: 0 0 32px rgba(220, 30, 79, 0.2), 0 0 56px rgba(79, 118, 255, 0.12);

    --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
    --transition: 180ms var(--ease);
}

/* ============================================
   RESET & OVERFLOW - Predictable, safe layout
   ============================================ */

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

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

body {
    min-width: 320px;
    margin: 0;
    overflow-x: hidden;
    background:
        radial-gradient(circle at 8% 12%, rgba(167, 20, 59, 0.1), transparent 24rem),
        radial-gradient(circle at 92% 26%, rgba(79, 118, 255, 0.09), transparent 28rem),
        var(--background);
    color: var(--foreground);
    font-family: var(--font-body);
    font-size: var(--text-base);
    line-height: 1.7;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

main {
    min-height: 55vh;
}

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

img {
    font-style: italic;
}

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

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

button {
    border: 0;
}

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

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

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

[class*="grid"] > *,
[class*="flex"] > *,
.card,
.info-card,
.game-card,
.review-card {
    min-width: 0;
}

section {
    position: relative;
    overflow: clip;
}

details {
    height: fit-content;
}

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

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

/* Visually hidden text remains available to assistive technology. */
.sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.skip-link {
    position: fixed;
    top: 0.75rem;
    left: 0.75rem;
    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);
}

/* ============================================
   TYPOGRAPHY - Strong gold display hierarchy
   ============================================ */

h1,
h2,
h3,
h4 {
    margin: 0 0 0.65em;
    color: var(--foreground);
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.18;
    letter-spacing: -0.025em;
    text-wrap: balance;
}

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

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

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

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

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

p {
    max-width: 72ch;
    margin-bottom: 1.2em;
}

.lead {
    max-width: 64ch;
    color: var(--muted-foreground);
    font-size: var(--text-lg);
    line-height: 1.72;
}

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

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

.section-intro {
    max-width: 68ch;
    margin-bottom: var(--space-xl);
    color: var(--muted-foreground);
    font-size: var(--text-lg);
}

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

.text-center p,
.text-center .section-intro {
    margin-right: auto;
    margin-left: auto;
}

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

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

/* ============================================
   LAYOUT - Containers, bands and reading flow
   ============================================ */

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

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

.content-section {
    padding-block: var(--space-section);
}

.content-section--compact {
    padding-block: clamp(2.75rem, 6vw, 5rem);
}

.content-section--elevated {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.018), transparent 46%),
        var(--background-elevated);
}

.content-section--neon::before,
.content-section--neon::after {
    position: absolute;
    z-index: 0;
    width: 36rem;
    height: 3px;
    content: "";
    background: var(--neon-gradient);
    border-radius: var(--radius-pill);
    filter: drop-shadow(0 0 8px currentColor);
    transform: rotate(-38deg);
}

.content-section--neon::before {
    top: 3rem;
    left: -19rem;
}

.content-section--neon::after {
    right: -20rem;
    bottom: 3rem;
}

.content-section--neon > * {
    position: relative;
    z-index: 1;
}

.prose {
    max-width: 74ch;
}

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

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

.prose li + li {
    margin-top: 0.55rem;
}

.grid-2,
.grid-3,
.grid-4,
.card-grid,
.stats-grid,
.review-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-lg);
    align-items: start;
}

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

/* ============================================
   HEADER & NAVIGATION - Opaque mobile drawer
   ============================================ */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    height: var(--header-height);
    border-bottom: 1px solid rgba(243, 189, 91, 0.28);
    background: var(--background);
}

.site-header__inner {
    display: flex;
    width: min(100% - 1.25rem, var(--container-wide));
    height: 100%;
    margin-inline: auto;
    align-items: center;
    gap: 0.6rem;
}

.site-brand {
    display: inline-flex;
    min-width: 0;
    color: var(--primary);
    align-items: center;
    gap: 0.45rem;
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
}

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

.site-brand__mark {
    display: none;
    flex: 0 0 auto;
}

.site-brand__text {
    display: flex;
    flex-direction: column;
    font-size: clamp(1.35rem, 7vw, 1.75rem);
    letter-spacing: -0.07em;
    white-space: nowrap;
}

.site-brand__sub {
    margin-top: 0.13rem;
    font-size: 0.58rem;
    letter-spacing: 0.24em;
    text-align: right;
    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: flex;
    max-width: 100vw;
    padding: 1.25rem 1rem 2rem;
    overflow-y: auto;
    background: var(--background);
    flex-direction: column;
    align-items: stretch;
}

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

.primary-nav__list a {
    display: flex;
    min-height: 3rem;
    padding: 0.75rem 0.9rem;
    border-bottom: 1px solid rgba(243, 189, 91, 0.18);
    color: var(--foreground);
    align-items: center;
    font-family: var(--font-display);
    font-weight: 650;
    text-decoration: none;
}

.primary-nav__list a:hover,
.primary-nav__list a[aria-current="page"] {
    color: var(--primary);
}

.primary-nav__actions {
    margin-top: auto;
    padding-top: var(--space-lg);
}

.primary-nav__actions .btn {
    width: 100%;
}

.header-cta {
    margin-left: auto;
    padding-inline: 0.85rem;
    font-size: 0.875rem;
}

.nav-toggle {
    position: relative;
    z-index: 1001;
    display: inline-flex;
    width: 2.75rem;
    height: 2.75rem;
    padding: 0.65rem;
    border: 1px solid rgba(243, 189, 91, 0.48);
    border-radius: var(--radius-sm);
    background: var(--surface);
    cursor: pointer;
    flex: 0 0 auto;
    flex-direction: column;
    justify-content: center;
    gap: 0.28rem;
}

.nav-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--primary);
    border-radius: var(--radius-pill);
    transform-origin: center;
    transition: transform var(--transition), opacity var(--transition);
}

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

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

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

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

.btn {
    display: inline-flex;
    min-height: 3rem;
    padding: 0.75rem 1.25rem;
    border: 1px solid transparent;
    border-radius: var(--radius-md);
    color: var(--foreground);
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 750;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: color var(--transition), background var(--transition), border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}

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

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

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

.btn--gold:hover {
    color: var(--primary-foreground);
    box-shadow: 0 0 0 1px var(--gold-100), 0 0 30px rgba(243, 189, 91, 0.42);
}

.btn--ghost {
    border-color: rgba(243, 189, 91, 0.58);
    background: var(--surface);
    color: var(--foreground);
}

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

.btn--sm {
    min-height: 2.75rem;
    padding: 0.625rem 1rem;
    font-size: 0.9375rem;
}

.btn--lg {
    min-height: 3.5rem;
    padding: 0.9rem 1.6rem;
    font-size: var(--text-lg);
}

/* ============================================
   BREADCRUMBS - Compact contextual navigation
   ============================================ */

.breadcrumbs {
    padding-block: 1rem;
}

.breadcrumbs__list {
    display: flex;
    margin: 0;
    padding: 0;
    color: var(--muted-foreground);
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem;
    font-size: var(--text-sm);
    list-style: none;
}

.breadcrumbs__item:not(:last-child)::after {
    margin-left: 0.35rem;
    color: var(--primary);
    content: "/";
}

.breadcrumbs a {
    color: var(--gold-100);
}

/* ============================================
   HEROES - Integrated Vegas composition
   page-hero supports framed editorial media on subpages
   ============================================ */

.hero {
    isolation: isolate;
    min-height: calc(100svh - var(--header-height));
    background:
        radial-gradient(circle at 76% 32%, rgba(79, 118, 255, 0.2), transparent 24rem),
        radial-gradient(circle at 20% 80%, rgba(225, 39, 99, 0.24), transparent 24rem),
        linear-gradient(115deg, #090810 0%, #0f0c18 56%, #0b1022 100%);
}

.hero::before,
.hero::after {
    position: absolute;
    z-index: -1;
    width: 42rem;
    height: 4px;
    content: "";
    background: var(--neon-gradient);
    border-radius: var(--radius-pill);
    filter: drop-shadow(0 0 10px rgba(255, 49, 95, 0.8));
}

.hero::before {
    bottom: 12%;
    left: -16rem;
    transform: rotate(25deg);
}

.hero::after {
    right: -18rem;
    bottom: 8%;
    transform: rotate(-18deg);
}

.hero__inner {
    display: grid;
    min-height: calc(100svh - var(--header-height));
    padding-block: 2rem;
    grid-template-columns: minmax(0, 1fr);
    align-items: center;
    gap: 1rem;
}

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

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

.hero__lead {
    color: #e5dfe8;
    font-size: var(--text-lg);
}

.hero__actions {
    display: flex;
    margin: 1.5rem 0 0.65rem;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.hero__note,
.page-hero__note {
    margin-bottom: 0;
    color: var(--muted-foreground);
    font-size: var(--text-sm);
}

.hero__visual {
    position: relative;
    z-index: 1;
    min-height: 19rem;
    align-self: end;
}

.hero__visual img[data-visual-role="hero-foreground"] {
    position: absolute;
    right: 50%;
    bottom: 0;
    width: min(32rem, 100%);
    max-height: 100%;
    object-fit: contain;
    object-position: bottom center;
    filter: drop-shadow(0 24px 30px rgba(0, 0, 0, 0.55));
    transform: translateX(50%);
}

.page-hero {
    padding-block: clamp(2.75rem, 7vw, 6.5rem);
    border-bottom: 1px solid rgba(243, 189, 91, 0.2);
    background:
        radial-gradient(circle at 82% 18%, rgba(79, 118, 255, 0.18), transparent 25rem),
        radial-gradient(circle at 5% 92%, rgba(167, 20, 59, 0.22), transparent 24rem),
        var(--background-elevated);
}

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

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

.page-hero__lead {
    max-width: 62ch;
    color: #ded7e2;
    font-size: var(--text-lg);
}

.page-hero__actions {
    margin: 1.5rem 0 0.75rem;
}

.page-hero__media {
    position: relative;
    margin: 0;
}

.page-hero__media::before {
    position: absolute;
    inset: -1px;
    z-index: -1;
    content: "";
    background: var(--neon-gradient);
    border-radius: calc(var(--radius-xl) + 1px);
    filter: blur(10px);
    opacity: 0.32;
}

.page-hero__media img {
    width: 100%;
    aspect-ratio: 1 / 1;
    border: 1px solid rgba(243, 189, 91, 0.55);
    border-radius: var(--radius-xl);
    object-fit: cover;
    box-shadow: var(--shadow-card);
}

/* ============================================
   CARDS - Premium content containers
   ============================================ */

.card,
.info-card,
.review-card,
.stat-highlight,
.sitemap-entry {
    border: 1px solid rgba(243, 189, 91, 0.38);
    border-radius: var(--radius-lg);
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.035), transparent 54%),
        var(--surface);
    box-shadow: var(--shadow-sm);
}

.card,
.info-card,
.review-card,
.stat-highlight {
    padding: var(--space-lg);
}

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

.info-card {
    height: 100%;
}

.info-card__icon {
    display: inline-grid;
    width: 3rem;
    height: 3rem;
    margin-bottom: 1rem;
    border: 1px solid rgba(243, 189, 91, 0.45);
    border-radius: 50%;
    background: rgba(243, 189, 91, 0.08);
    color: var(--primary);
    place-items: center;
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 800;
}

.info-card__title {
    color: var(--gold-100);
}

.info-card__text {
    margin-bottom: 0;
    color: var(--muted-foreground);
}

.info-card__link {
    margin: 1rem 0 0;
}

.game-card {
    overflow: hidden;
    border: 1px solid rgba(243, 189, 91, 0.48);
    border-radius: var(--radius-lg);
    background: var(--surface);
    box-shadow: var(--shadow-card);
    transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}

.game-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-gold);
    transform: translateY(-4px);
}

.game-card__img {
    width: 100%;
    aspect-ratio: 5 / 4;
    object-fit: cover;
}

.game-card__body {
    padding: 1rem 1.1rem 1.2rem;
    text-align: center;
}

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

.game-card__meta {
    margin: 0;
    color: var(--primary);
    font-size: var(--text-sm);
    font-weight: 700;
}

.media-figure {
    margin: 0;
}

.media-figure img {
    width: 100%;
    border: 1px solid rgba(243, 189, 91, 0.45);
    border-radius: var(--radius-lg);
    object-fit: cover;
    box-shadow: var(--shadow-card);
}

.media-figure figcaption {
    margin-top: 0.65rem;
    color: var(--muted-foreground);
    font-size: var(--text-sm);
}

/* ============================================
   ENGAGEMENT - Summary, callout, stats, quote
   ============================================ */

.tldr {
    margin-block: var(--space-xl);
    padding: 1.25rem;
    border: 1px solid rgba(243, 189, 91, 0.52);
    border-left: 4px solid var(--primary);
    border-radius: var(--radius-md);
    background: linear-gradient(90deg, rgba(243, 189, 91, 0.1), rgba(243, 189, 91, 0.025));
    box-shadow: var(--shadow-sm);
}

.tldr__title,
.callout__title {
    margin-bottom: 0.45rem;
    color: var(--gold-100);
    font-family: var(--font-display);
    font-weight: 750;
}

.tldr__intro {
    margin-bottom: 0.75rem;
}

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

.tldr__list li + li {
    margin-top: 0.35rem;
}

.callout {
    display: flex;
    margin-block: var(--space-xl);
    padding: 1.15rem;
    border: 1px solid rgba(79, 118, 255, 0.55);
    border-left: 4px solid var(--accent-blue);
    border-radius: var(--radius-md);
    background: rgba(79, 118, 255, 0.08);
    gap: 0.9rem;
}

.callout--tip {
    border-color: rgba(65, 199, 138, 0.62);
    border-left-color: var(--success);
    background: rgba(65, 199, 138, 0.08);
}

.callout--warning {
    border-color: rgba(243, 189, 91, 0.62);
    border-left-color: var(--primary);
    background: rgba(243, 189, 91, 0.09);
}

.callout--danger {
    border-color: rgba(180, 35, 63, 0.68);
    border-left-color: var(--destructive);
    background: rgba(180, 35, 63, 0.1);
}

.callout__icon {
    display: grid;
    width: 2.25rem;
    height: 2.25rem;
    border: 1px solid currentColor;
    border-radius: 50%;
    color: var(--gold-100);
    flex: 0 0 auto;
    place-items: center;
    font-weight: 800;
}

.callout__text {
    margin: 0;
}

.stat-highlight {
    display: flex;
    min-height: 10rem;
    text-align: center;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.stat-highlight__value {
    color: var(--primary);
    font-family: var(--font-display);
    font-size: clamp(2.35rem, 8vw, 4.5rem);
    font-weight: 800;
    line-height: 1;
}

.stat-highlight__label {
    margin-top: 0.6rem;
    color: var(--foreground);
    font-weight: 700;
}

.stat-highlight__source {
    margin-top: 0.4rem;
    color: var(--muted-foreground);
    font-size: var(--text-sm);
}

.pull-quote {
    position: relative;
    margin: var(--space-2xl) 0;
    padding: 1.5rem 1.25rem 1.5rem 2rem;
    border-left: 3px solid var(--primary);
    background: linear-gradient(90deg, rgba(243, 189, 91, 0.09), transparent);
}

.pull-quote::before {
    position: absolute;
    top: -0.25rem;
    left: 0.35rem;
    color: var(--primary);
    content: "“";
    font-family: Georgia, serif;
    font-size: 4rem;
    line-height: 1;
}

.pull-quote p {
    margin-bottom: 0.75rem;
    color: var(--gold-50);
    font-family: var(--font-display);
    font-size: clamp(1.25rem, 3vw, 1.8rem);
    font-style: italic;
    font-weight: 600;
    line-height: 1.45;
}

.pull-quote footer {
    color: var(--muted-foreground);
    font-size: var(--text-sm);
}

/* ============================================
   STEPS - Actionable numbered process
   ============================================ */

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

.steps__item {
    position: relative;
    min-width: 0;
    padding: 1.25rem 1.25rem 1.25rem 4.4rem;
    border: 1px solid rgba(243, 189, 91, 0.34);
    border-radius: var(--radius-md);
    background: var(--surface);
    counter-increment: vegas-step;
}

.steps__item::before {
    position: absolute;
    top: 1.15rem;
    left: 1rem;
    display: grid;
    width: 2.5rem;
    height: 2.5rem;
    border: 1px solid var(--primary);
    border-radius: 50%;
    background: rgba(243, 189, 91, 0.1);
    color: var(--primary);
    content: counter(vegas-step);
    place-items: center;
    font-family: var(--font-display);
    font-weight: 800;
}

.steps__title {
    margin-bottom: 0.4rem;
    color: var(--gold-100);
}

.steps__text {
    margin: 0;
    color: var(--muted-foreground);
}

/* ============================================
   TABLES - Scrollable, highlighted comparison
   ============================================ */

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

.table-wrapper {
    margin-block: var(--space-xl);
    border: 1px solid rgba(243, 189, 91, 0.45);
    border-radius: var(--radius-lg);
    background: var(--surface);
    box-shadow: var(--shadow-card);
}

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

.data-table caption {
    padding: 1rem;
    color: var(--gold-100);
    font-family: var(--font-display);
    font-size: var(--text-lg);
    font-weight: 750;
    text-align: left;
}

.data-table th,
.data-table td {
    padding: 0.85rem 1rem;
    border-top: 1px solid rgba(243, 189, 91, 0.18);
    text-align: left;
    vertical-align: top;
}

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

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

.data-table tbody tr:hover {
    background: rgba(243, 189, 91, 0.04);
}

.data-table .is-highlight {
    background: rgba(243, 189, 91, 0.1);
    box-shadow: inset 1px 0 rgba(243, 189, 91, 0.32), inset -1px 0 rgba(243, 189, 91, 0.32);
}

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

.faq {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 0.8rem;
    align-items: start;
}

.faq__item {
    align-self: start;
    overflow: hidden;
    border: 1px solid rgba(243, 189, 91, 0.38);
    border-radius: var(--radius-md);
    background: var(--surface);
    box-shadow: var(--shadow-sm);
}

.faq__question {
    position: relative;
    min-height: 3.5rem;
    padding: 1rem 3.25rem 1rem 1rem;
    color: var(--foreground);
    cursor: pointer;
    font-family: var(--font-display);
    font-size: var(--text-base);
    font-weight: 700;
    list-style: none;
}

.faq__question::-webkit-details-marker {
    display: none;
}

.faq__question::after {
    position: absolute;
    top: 50%;
    right: 1rem;
    display: grid;
    width: 1.75rem;
    height: 1.75rem;
    border: 1px solid rgba(243, 189, 91, 0.6);
    border-radius: 50%;
    color: var(--primary);
    content: "+";
    place-items: center;
    font-size: 1.25rem;
    line-height: 1;
    transform: translateY(-50%);
    transition: transform var(--transition);
}

.faq__item[open] .faq__question::after {
    content: "−";
    transform: translateY(-50%) rotate(180deg);
}

.faq__question:hover {
    color: var(--gold-100);
}

.faq__question:focus-visible {
    outline: 3px solid var(--primary);
    outline-offset: -4px;
}

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

.faq__answer > :last-child {
    margin-bottom: 0;
}

/* Generic authored details use the same visual language. */
details:not(.faq__item) {
    margin-block: 0.75rem;
    border: 1px solid rgba(243, 189, 91, 0.32);
    border-radius: var(--radius-md);
    background: var(--surface);
}

details:not(.faq__item) > summary {
    min-height: 3rem;
    padding: 0.8rem 1rem;
    color: var(--gold-100);
    cursor: pointer;
    font-weight: 700;
}

details:not(.faq__item) > :not(summary) {
    margin-inline: 1rem;
}

/* ============================================
   SOCIAL PROOF - Evidence-backed review cards
   ============================================ */

.review-card {
    display: flex;
    min-height: 12rem;
    flex-direction: column;
}

.review-card__text {
    position: relative;
    margin-bottom: 1.25rem;
    color: #e7e1e9;
    font-size: var(--text-lg);
    font-style: italic;
}

.review-card__meta {
    display: flex;
    margin: auto 0 0;
    color: var(--muted-foreground);
    flex-wrap: wrap;
    gap: 0.35rem 0.75rem;
    font-size: var(--text-sm);
}

.review-card__author {
    color: var(--gold-100);
    font-weight: 750;
}

.review-card__date,
.review-card__source {
    display: inline-flex;
    align-items: center;
}

.review-card__date::before,
.review-card__source::before {
    margin-right: 0.75rem;
    color: var(--border-strong);
    content: "•";
}

/* ============================================
   TRUST & PAYMENT BADGES - Discreet support rows
   ============================================ */

.trust-row,
.pay-row {
    display: flex;
    margin: 0;
    padding: 0;
    list-style: none;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.trust-row__item {
    display: flex;
    min-width: 0;
    min-height: 4.5rem;
    padding: 0.9rem 1rem;
    border: 1px solid rgba(243, 189, 91, 0.34);
    border-radius: var(--radius-md);
    background: var(--surface);
    flex: 1 1 15rem;
    flex-direction: column;
    justify-content: center;
}

.trust-row__label {
    color: var(--gold-100);
    font-family: var(--font-display);
    font-weight: 750;
}

.trust-row__text {
    margin-top: 0.25rem;
    color: var(--muted-foreground);
    font-size: var(--text-sm);
}

.pay-chip {
    display: inline-flex;
    min-height: 2.75rem;
    padding: 0.65rem 0.85rem;
    border: 1px solid rgba(243, 189, 91, 0.34);
    border-radius: var(--radius-sm);
    background: #f4f0e8;
    color: #17131a;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: var(--text-sm);
    font-weight: 750;
}

.pay-row--content {
    margin-block: var(--space-lg);
}

.pay-row__note {
    max-width: 75ch;
    margin: 0.8rem 0 0;
    color: var(--muted-foreground);
    font-size: var(--text-sm);
}

.badge {
    display: inline-flex;
    min-height: 1.75rem;
    padding: 0.15rem 0.55rem;
    border: 1px solid rgba(243, 189, 91, 0.55);
    border-radius: var(--radius-pill);
    color: var(--gold-100);
    align-items: center;
    font-size: var(--text-xs);
    font-weight: 750;
}

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

/* ============================================
   CTA BAND - Conversion close with optional scene
   ============================================ */

.cta-band {
    isolation: isolate;
    padding-block: clamp(3.5rem, 8vw, 7rem);
    background:
        radial-gradient(circle at 80% 30%, rgba(79, 118, 255, 0.18), transparent 25rem),
        radial-gradient(circle at 12% 80%, rgba(167, 20, 59, 0.24), transparent 24rem),
        #08070c;
}

.cta-band--media {
    min-height: 30rem;
}

.cta-band__bg {
    position: absolute;
    inset: 0;
    z-index: -2;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cta-band--media::after {
    position: absolute;
    inset: 0;
    z-index: -1;
    content: "";
    background: linear-gradient(90deg, rgba(6, 5, 9, 0.97) 0%, rgba(6, 5, 9, 0.87) 52%, rgba(6, 5, 9, 0.42) 100%);
}

.cta-band__inner {
    display: flex;
    max-width: 58rem;
    text-align: center;
    flex-direction: column;
    align-items: center;
}

.cta-band--media .cta-band__inner {
    margin-left: max(0px, calc((100vw - var(--container)) / 2));
    text-align: left;
    align-items: flex-start;
}

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

.cta-band__text {
    color: #ded7e2;
    font-size: var(--text-lg);
}

.cta-band__actions {
    margin: 0.6rem 0;
}

.cta-band__note {
    margin: 0.5rem 0 0;
    color: var(--muted-foreground);
    font-size: var(--text-sm);
}

/* ============================================
   SITEMAP - Neutral directory entries
   ============================================ */

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

.sitemap-entry {
    padding: 1.25rem;
}

.sitemap-entry__title {
    margin-bottom: 0.4rem;
}

.sitemap-entry__title a {
    color: var(--gold-100);
    text-decoration: none;
}

.sitemap-entry__title a:hover {
    color: var(--primary-hover);
    text-decoration: underline;
    text-underline-offset: 0.18em;
}

.sitemap-entry__text {
    margin: 0;
    color: var(--muted-foreground);
}

/* ============================================
   FOOTER - Legal, internal links and payments
   ============================================ */

.site-footer {
    border-top: 1px solid rgba(243, 189, 91, 0.35);
    background: #08070b;
}

.site-footer__inner {
    width: min(100% - 2rem, var(--container-wide));
    margin-inline: auto;
    padding-block: 3rem 1.5rem;
}

.site-footer__top {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 2rem;
}

.site-brand--footer {
    font-size: 1.2rem;
}

.site-footer__claim {
    margin: 1rem 0 0;
    color: var(--muted-foreground);
    font-size: var(--text-sm);
}

.footer-nav__title {
    margin-bottom: 0.8rem;
    color: var(--gold-100);
    font-size: var(--text-base);
    letter-spacing: 0.02em;
}

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

.footer-nav li + li,
.footer-legal__list li + li {
    margin-top: 0.55rem;
}

.footer-nav a {
    color: #ded7e2;
    text-decoration: underline;
    text-decoration-color: rgba(243, 189, 91, 0.55);
    text-underline-offset: 0.18em;
}

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

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

.footer-legal__list .badge {
    margin-right: 0.35rem;
}

.site-footer__pay {
    margin-top: 2.25rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(243, 189, 91, 0.18);
}

.site-footer__copy {
    margin: 2rem 0 0;
    padding-top: 1rem;
    border-top: 1px solid rgba(243, 189, 91, 0.18);
    color: var(--muted-foreground);
    font-size: var(--text-sm);
}

/* ============================================
   FORMS - Consistent future-safe controls
   ============================================ */

label {
    display: inline-block;
    margin-bottom: 0.35rem;
    color: var(--gold-100);
    font-weight: 700;
}

input,
textarea,
select {
    width: 100%;
    min-height: 3rem;
    padding: 0.75rem 0.9rem;
    border: 1px solid rgba(243, 189, 91, 0.4);
    border-radius: var(--radius-sm);
    background: var(--surface);
    color: var(--foreground);
}

textarea {
    min-height: 8rem;
    resize: vertical;
}

::placeholder {
    color: #b4adb9;
    opacity: 1;
}

/* ============================================
   PROGRESSIVE REVEAL - Visible without JS
   JS only adds subtle movement to below-fold cards
   ============================================ */

html.has-reveal [data-reveal="pending"] {
    opacity: 0.88;
    transform: translateY(8px);
    transition: opacity 480ms var(--ease), transform 480ms var(--ease), border-color var(--transition), box-shadow var(--transition);
}

html.has-reveal [data-reveal="shown"] {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   TABLET - Two-column content where appropriate
   ============================================ */

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

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

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

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

    .site-brand__mark {
        display: inline-block;
    }

    .site-brand__text {
        font-size: 1.75rem;
    }

    .header-cta {
        padding-inline: 1.1rem;
        font-size: 0.9375rem;
    }

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

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

    .section-split,
    .page-hero__inner {
        grid-template-columns: minmax(0, 1.08fr) minmax(18rem, 0.92fr);
    }

    .page-hero__media img {
        aspect-ratio: 4 / 5;
    }

    .hero__inner {
        min-height: 42rem;
        grid-template-columns: minmax(0, 1.02fr) minmax(20rem, 0.98fr);
        gap: 0;
    }

    .hero__visual {
        min-height: 38rem;
    }

    .hero__visual img[data-visual-role="hero-foreground"] {
        right: 0;
        width: min(45rem, 125%);
        max-width: none;
        transform: none;
    }

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

    .site-footer__top {
        grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
    }

    .footer-legal {
        grid-column: 1 / -1;
    }
}

/* ============================================
   DESKTOP - Reference-matched wide nav and hero
   ============================================ */

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

    .site-header {
        background: rgba(11, 10, 16, 0.97);
        -webkit-backdrop-filter: blur(12px);
        backdrop-filter: blur(12px);
    }

    .site-header__inner {
        gap: 1.5rem;
    }

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

    .site-brand__text {
        font-size: 2rem;
    }

    .primary-nav {
        display: flex;
        min-width: 0;
        margin-left: auto;
        align-items: center;
        gap: 1.5rem;
    }

    .primary-nav__list,
    .primary-nav__actions {
        flex-direction: row;
        align-items: center;
    }

    .primary-nav__list {
        min-width: 0;
        gap: 0.15rem;
    }

    .primary-nav__list a {
        min-height: 2.75rem;
        padding: 0.6rem 0.72rem;
        border: 0;
        border-radius: var(--radius-pill);
        font-size: 0.875rem;
        white-space: nowrap;
    }

    .primary-nav__list a:hover,
    .primary-nav__list a[aria-current="page"] {
        background: rgba(243, 189, 91, 0.08);
        box-shadow: inset 0 0 0 1px rgba(243, 189, 91, 0.45);
    }

    .primary-nav__actions {
        margin: 0;
        padding: 0;
        gap: 0.65rem;
    }

    .primary-nav__actions .btn {
        width: auto;
    }

    .header-cta {
        margin-left: 0;
    }

    .nav-toggle {
        display: none;
    }

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

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

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

    .hero {
        min-height: min(52rem, calc(100svh - var(--header-height)));
    }

    .hero__inner {
        min-height: min(52rem, calc(100svh - var(--header-height)));
        padding-block: 3.5rem 0;
        grid-template-columns: minmax(0, 0.92fr) minmax(32rem, 1.08fr);
    }

    .hero__copy {
        padding-bottom: 3rem;
    }

    .hero__lead {
        max-width: 58ch;
    }

    .hero__visual {
        min-height: min(48rem, calc(100svh - var(--header-height)));
    }

    .hero__visual img[data-visual-role="hero-foreground"] {
        right: -7%;
        width: min(59rem, 126%);
    }

    .page-hero__inner {
        grid-template-columns: minmax(0, 1.05fr) minmax(25rem, 0.75fr);
    }

    .page-hero__media img {
        max-height: 34rem;
        aspect-ratio: 5 / 4;
    }

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

    /* Numbered flows inside a narrow split column stay single-column. */
    .section-split .steps {
        grid-template-columns: minmax(0, 1fr);
    }

    .site-footer__top {
        grid-template-columns: minmax(0, 1.1fr) minmax(12rem, 0.65fr) minmax(0, 1.25fr);
    }

    .footer-legal {
        grid-column: auto;
    }

    .cta-band--media .cta-band__inner {
        max-width: 52rem;
    }
}

/* ============================================
   LARGE DESKTOP - Maximum reference density
   ============================================ */

@media (min-width: 1280px) {
    .site-header__inner {
        gap: 2rem;
    }

    .primary-nav__list {
        gap: 0.4rem;
    }

    .primary-nav__list a {
        padding-inline: 0.95rem;
        font-size: 0.94rem;
    }

    .hero__inner {
        grid-template-columns: minmax(0, 0.9fr) minmax(38rem, 1.1fr);
    }

    .hero__visual img[data-visual-role="hero-foreground"] {
        right: -10%;
        width: min(66rem, 128%);
    }

    .card,
    .info-card,
    .review-card,
    .stat-highlight {
        padding: 1.7rem;
    }
}

/* Keep compact header usable at 320px without shrinking touch targets. */
@media (max-width: 359px) {
    .site-brand__text {
        font-size: 1.22rem;
    }

    .header-cta {
        min-height: 2.75rem;
        padding-inline: 0.65rem;
        font-size: 0.8125rem;
    }

    .site-header__inner {
        gap: 0.4rem;
    }
}

/* Motion is decorative; all content remains visible with reduced motion. */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

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

    html.has-reveal [data-reveal="pending"],
    html.has-reveal [data-reveal="shown"] {
        opacity: 1;
        transform: none;
    }
}
