/* ==========================================================================
   PORTSIDE CLUB — HIZLI VITRIN & STATIC SUBPAGES DESIGN SYSTEM (web/vitrin.css)
   1:1 Design Token Parity with lib/design/tokens.dart (PortRoyalColors & Spacing)
   Zero External Origins · Compositor-Only Motion · Strict CSP Compliant
   ========================================================================== */

@font-face {
  font-family: "Bodoni Moda";
  src: url("/assets/assets/fonts/Bodoni_Moda/BodoniModa%5Bopsz,wght%5D.ttf") format("truetype");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Barlow";
  src: url("/assets/assets/fonts/Barlow/Barlow-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Barlow";
  src: url("/assets/assets/fonts/Barlow/Barlow-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Barlow";
  src: url("/assets/assets/fonts/Barlow/Barlow-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Barlow";
  src: url("/assets/assets/fonts/Barlow/Barlow-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "IBM Plex Mono";
  src: url("/assets/assets/fonts/IBM_Plex_Mono/IBMPlexMono-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "IBM Plex Mono";
  src: url("/assets/assets/fonts/IBM_Plex_Mono/IBMPlexMono-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("/assets/assets/fonts/Inter/Inter-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: dark;

  /* --- Core Night Yacht Palette (PortRoyalColors) --- */
  --ink: #0b1822;              /* Page ground (16.5:1 with parchment) */
  --ink-lift: #173a5c;         /* Ambient zenith navy glow */
  --deck: #12263a;             /* Raised seats, cards, bento panels */
  --deck-elevated: #162f48;    /* Hover lift on deck surfaces */
  --felt: #164273;             /* Sea-felt table cloth (9.3:1 with parchment) */
  --felt-edge: #2a65a3;        /* Inner chalk/ring line on cloth */
  --felt-shade: #0d2c4e;       /* Vignette rim of sea-felt */
  --mahogany: #4b2817;         /* Varnished wood rail (decorative frame only) */
  --mahogany-light: #5f3722;   /* Lit top bevel of mahogany rail */
  --mahogany-dark: #2e170c;    /* Outer shadow bevel of mahogany rail */

  /* --- Brass Primary Action & Accents --- */
  --brass: #d6ae57;            /* Signature naval brass (8.6:1 on ink) */
  --brass-light: #edcf86;      /* Lit top gradient stop on primary CTA */
  --brass-dark: #b08734;       /* Shaded bottom gradient stop */
  --brass-edge: #7d5c20;       /* Tactile 1px bottom bevel */
  --on-brass: #2a1e08;         /* Crisp dark espresso text on brass fill */

  /* --- Gelcoat Typography & Rules --- */
  --parchment: #f6f5f0;        /* Gelcoat ivory primary text */
  --card-face: #f7f6f1;        /* Playing card ivory face */
  --card-edge: #d9cfb8;        /* Playing card bevel border */
  --card-ink: #1c1c1c;         /* Spade/Club ink on card face */
  --card-red: #b3261e;         /* Heart/Diamond crimson (6.1:1 on card-face) */
  --muted: #a9bacb;            /* Secondary body copy (9.1:1 on ink) */
  --mist: #8c9fb2;             /* Tertiary metadata/captions (>= 13px, 5.7:1 on deck) */
  --line: #2a4866;             /* Hairline borders on cards & controls */
  --line-soft: #1c3550;        /* Subtle section dividers & header rule */
  --highlight: rgba(246, 245, 240, 0.10); /* 1px top specular catchlight */

  /* --- Maritime Signals --- */
  --signal: #1f4f8f;           /* Burgee Signal Blue */
  --signal-ink: #8db3e8;       /* Text links on ink/deck (7.1:1 on deck) */
  --kelp: #66c79c;             /* Verified / Fair / Online state (8.8:1 on ink) */
  --crimson: #b3261e;          /* Port light / 5-chip fill */
  --starboard: #1f7a55;        /* Starboard light / 25-chip fill */
  --ember: #f08a80;            /* Responsible play alert accent */
  --chart-line: rgba(132, 171, 226, 0.085); /* Sea-chart bathymetric contour stroke */

  /* --- Typography Stacks --- */
  --font-display: "Bodoni Moda", Didot, "Bodoni 72", Georgia, serif;
  --font-ui: "Barlow", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --font-card: "Inter", "Barlow", system-ui, sans-serif;

  /* --- PortRoyalSpacing Scale & Layout Rhythm --- */
  --space-xxs: 4px;
  --space-xs: 8px;
  --space-sm: 12px;
  --space-md: 16px;
  --space-lg: 20px;
  --space-xl: 24px;
  --space-xxl: 32px;
  --space-section: clamp(64px, 8vw, 112px);
  --container-max: 1160px;
  --gutter: clamp(16px, 4vw, 32px);

  /* --- Radii & Elevation (PortRoyalElevation) --- */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-pill: 999px;
  --shadow-raised: 0 10px 20px rgba(0, 0, 0, 0.30), inset 0 1px 0 var(--highlight);
  --shadow-floating: 0 22px 44px rgba(0, 0, 0, 0.50), inset 0 1px 0 var(--highlight);
  --shadow-pressed: 0 3px 6px rgba(0, 0, 0, 0.25);

  /* --- Physics-Based Spring & Compositor Timing --- */
  --ease-out-quart: cubic-bezier(0.22, 1, 0.36, 1);
  --spring: var(--ease-out-quart);
  --dur-fast: 180ms;
  --dur-med: 320ms;
  --dur-slow: 560ms;
}

/* Upgrade to true damped-harmonic linear() spring where supported */
@supports (transition-timing-function: linear(0, 1)) {
  :root {
    --spring: linear(
      0, 0.009, 0.035 2.1%, 0.141, 0.281 6.7%, 0.723 12.9%, 0.938 16.7%,
      1.017, 1.077, 1.121, 1.149 24.3%, 1.159, 1.163, 1.161, 1.154 29.9%,
      1.129 32.8%, 1.051 39.6%, 1.017 43.1%, 0.991, 0.977 51%, 0.974 53.8%,
      0.975 57.1%, 0.997 69.8%, 1.003 76.9%, 1.004 83.8%, 1
    );
  }
}

/* ==========================================================================
   1. DUAL-SURFACE GATE & SUBPAGE DOCUMENT FLOW
   ========================================================================== */

/* When in Showcase mode on `/`: hide #splash completely and unlock natural document scrolling */
html[data-surface="vitrin"],
html[data-surface="vitrin"] body {
  height: auto;
  min-height: 100%;
  overflow-x: clip;
  overflow-y: auto;
  scroll-padding-top: 84px;
}

html[data-surface="vitrin"],
html:not([data-surface]) {
  scroll-behavior: smooth;
}

html[data-surface="vitrin"] #splash {
  display: none;
}

/* When in App mode: lock viewport height for Flutter CanvasKit and hide #vitrin */
html[data-surface="app"],
html[data-surface="app"] body {
  height: 100%;
  overflow: hidden;
}

html[data-surface="app"] #vitrin {
  display: none;
}

/* Static SEO & Legal Subpages (which omit splash.css) */
html:not([data-surface]),
html:not([data-surface]) body {
  margin: 0;
  min-height: 100%;
  background: var(--ink);
  color: var(--parchment);
  overflow-x: clip;
}

/* ==========================================================================
   2. CROSS-DOCUMENT VIEW TRANSITIONS (MPA Continuity)
   ========================================================================== */

@view-transition {
  navigation: auto;
}

::view-transition-old(root) {
  animation: 220ms ease-out both vt-fade-out;
}

::view-transition-new(root) {
  animation: 280ms var(--ease-out-quart) both vt-fade-in;
}

@keyframes vt-fade-out {
  to {
    opacity: 0;
  }
}

@keyframes vt-fade-in {
  from {
    opacity: 0;
  }
}

/* ==========================================================================
   3. BASE SHELL, BACKDROP, CONTAINERS & ACCESSIBLE FOCUS
   ========================================================================== */

#vitrin,
.subpage-shell,
#vitrin *,
#vitrin *::before,
#vitrin *::after,
.subpage-shell *,
.subpage-shell *::before,
.subpage-shell *::after {
  box-sizing: border-box;
}

#vitrin,
.subpage-shell {
  position: relative;
  min-height: 100dvh;
  background: radial-gradient(ellipse 85% 52% at 50% 0%, var(--ink-lift) 0%, var(--ink) 68%);
  color: var(--parchment);
  font-family: var(--font-ui);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.subpage-shell {
  display: flex;
  flex-direction: column;
}

.subpage-shell > main {
  flex: 1 0 auto;
}

.sea-chart-backdrop,
.sea-chart-bg {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.container {
  position: relative;
  z-index: 1;
  width: min(var(--container-max), 100% - (var(--gutter) * 2));
  margin-inline: auto;
}

.container-narrow {
  width: min(780px, 100% - (var(--gutter) * 2));
}

#vitrin :focus-visible,
.subpage-shell :focus-visible {
  outline: 2px solid var(--brass-light);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 200;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  background: var(--brass);
  color: var(--on-brass);
  font-family: var(--font-ui);
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  translate: 0 -180%;
  transition: translate var(--dur-fast) var(--ease-out-quart);
}

.skip-link:focus-visible {
  translate: 0 0;
}

/* ==========================================================================
   4. TYPOGRAPHY & OPTICAL DISCIPLINE
   ========================================================================== */

.eyebrow,
.coord-tag {
  margin: 0 0 var(--space-sm);
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brass);
}

.section-header {
  max-width: 680px;
  margin-bottom: clamp(32px, 5vw, 48px);
}

.section-title {
  margin: 0 0 var(--space-md);
  font-family: var(--font-display);
  font-optical-sizing: auto;
  font-size: clamp(1.85rem, 3.4vw, 2.75rem);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.01em;
  color: var(--parchment);
}

.section-subtitle {
  margin: 0;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--muted);
}

/* ==========================================================================
   5. TACTILE NAVAL BRASS, GHOST & MOTION CONTROLS
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  font-family: var(--font-ui);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition:
    translate var(--dur-fast) var(--spring),
    background-color var(--dur-fast) ease-out,
    border-color var(--dur-fast) ease-out,
    color var(--dur-fast) ease-out;
}

.btn-lg {
  min-height: 52px;
  padding: 12px 28px;
  font-size: 1.03rem;
}

.btn-sm {
  min-height: 40px;
  padding: 8px 16px;
  font-size: 0.875rem;
}

.btn-brass,
.btn.btn-brass {
  background: linear-gradient(180deg, var(--brass-light) 0%, var(--brass) 52%, var(--brass-dark) 100%);
  color: var(--on-brass);
  border: 1px solid var(--brass-light);
  box-shadow: 0 2px 0 var(--brass-edge), 0 12px 28px rgba(0, 0, 0, 0.42);
  text-decoration: none;
}

.btn-brass:hover {
  translate: 0 -1.5px;
}

.btn-brass:active {
  translate: 0 1px;
  box-shadow: var(--shadow-pressed);
}

.btn-ghost,
.btn.btn-ghost {
  background: rgba(18, 38, 58, 0.72);
  color: var(--parchment);
  border: 1px solid var(--line);
  text-decoration: none;
}

.btn-ghost:hover {
  background: var(--deck-elevated);
  border-color: var(--brass);
  translate: 0 -1px;
}

.btn-ghost:active {
  translate: 0 1px;
}

.btn-text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 40px;
  padding: 6px 4px;
  font-family: var(--font-ui);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--signal-ink);
  text-decoration: none;
  transition: color var(--dur-fast) ease-out;
}

.btn-text-link:hover {
  color: var(--brass-light);
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* ==========================================================================
   6. STICKY GLASS-DECK HEADER & NAVIGATION
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 24, 34, 0.86);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line-soft);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-block-size: 64px;
  padding-block: 8px;
}

/* The club's one mark, as in the app: "Portside" in parchment, ".Club" in
   brass, over "LIVE GAMES" (the user, Nov 2026: one brand everywhere). */
.burgee-brand {
  display: inline-flex;
  align-items: center;
  color: var(--parchment);
  text-decoration: none;
  flex-shrink: 0;
  view-transition-name: club-burgee;
}

.brand-text {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  line-height: 1;
}

.brand-name {
  font-family: var(--font-display);
  font-optical-sizing: auto;
  font-size: 1.625rem;
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: 0.01em;
  white-space: nowrap;
  color: var(--parchment);
  /* Legible on any ground: a soft dark halo under the letters. */
  filter: drop-shadow(0 1px 1px rgba(5, 8, 15, 0.7)) drop-shadow(0 0 10px rgba(5, 8, 15, 0.55));
}

.brand-club {
  display: inline-block;
  color: var(--brass);
}

.brand-sub {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  /* The trailing letter-space, given back so the line sits centred. */
  margin-inline-end: -0.3em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--brass);
  filter: drop-shadow(0 1px 1px rgba(5, 8, 15, 0.7));
}

/* The entrance: once per browser session, on the first page of the visit
   (vitrin-boot.js sets html.brand-intro and takes it off when it is over),
   never under reduced motion or with motion paused. CSS animations that
   have ended cost nothing. */
html.brand-intro .site-header .brand-name,
html.brand-intro .site-header .brand-club {
  color: transparent;
  background-repeat: no-repeat;
  background-size: 300% 100%;
  background-position: 100% 0;
  -webkit-background-clip: text;
  background-clip: text;
}

html.brand-intro .site-header .brand-name {
  background-image: linear-gradient(105deg, var(--parchment) 0 40%, #fffaf0 47%, #ffffff 50%, #fffaf0 53%, var(--parchment) 60% 100%);
  animation:
    brand-rise 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) 0.35s backwards,
    brand-sheen 0.7s ease-in-out 1.3s backwards;
}

html.brand-intro .site-header .brand-club {
  background-image: linear-gradient(105deg, var(--brass) 0 40%, #ffe9b0 47%, #fff6dc 50%, #ffe9b0 53%, var(--brass) 60% 100%);
  transform-origin: 0 100%;
  animation:
    brand-club-drop 0.55s cubic-bezier(0.34, 1.56, 0.64, 1) 0.92s backwards,
    brand-sheen 0.7s ease-in-out 1.3s backwards;
}

html.brand-intro .site-header .brand-sub {
  animation: brand-tag-in 0.75s cubic-bezier(0.2, 0.7, 0.2, 1) 1.4s backwards;
}

@keyframes brand-rise {
  from {
    opacity: 0;
    transform: translateY(0.45em);
    clip-path: inset(0 100% 0 0);
    filter: blur(8px);
  }
  to {
    opacity: 1;
    transform: none;
    clip-path: inset(0 0 0 0);
    filter: blur(0);
  }
}

@keyframes brand-club-drop {
  from {
    opacity: 0;
    transform: translateY(-0.6em) scale(0.7);
  }
}

@keyframes brand-sheen {
  from {
    background-position: 100% 0;
  }
  to {
    background-position: 0 0;
  }
}

@keyframes brand-tag-in {
  from {
    opacity: 0;
    letter-spacing: 1.1em;
    margin-inline-end: -1.1em;
  }
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  font-size: 0.915rem;
  font-weight: 500;
  white-space: nowrap;
  color: var(--muted);
  text-decoration: none;
  transition:
    color var(--dur-fast) ease-out,
    background-color var(--dur-fast) ease-out;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--parchment);
  background: rgba(246, 245, 240, 0.06);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

@media (max-width: 980px) {
  .site-nav {
    display: none;
  }
}

@media (max-width: 520px) {
  .header-inner {
    gap: 8px;
    min-block-size: 56px;
  }

  .brand-name {
    font-size: 1.3125rem;
  }

  .brand-sub {
    font-size: 0.6875rem;
    letter-spacing: 0.24em;
    margin-inline-end: -0.24em;
  }

  .header-actions {
    gap: 6px;
  }

  .site-header .btn-sm {
    min-height: 36px;
    min-block-size: 36px;
    padding: 6px 11px;
    font-size: 0.8125rem;
    white-space: nowrap;
  }
}

/* ==========================================================================
   6B. LIVE EVENT & CROSS-PLATFORM RIBBON + MARINA TIERS & CLUB ECONOMY
   ========================================================================== */

.live-event-strip {
  position: relative;
  z-index: 1;
  background: rgba(18, 38, 58, 0.78);
  border-bottom: 1px solid var(--line-soft);
  font-size: 0.84rem;
}

.live-event-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 20px;
  padding-block: 8px;
}

.live-event-item,
.live-sync-meta {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  color: var(--muted);
}

.live-event-item strong {
  color: var(--parchment);
  font-weight: 600;
}

.live-sync-meta span {
  color: var(--parchment);
}

.live-pulse-dot {
  inline-size: 8px;
  block-size: 8px;
  border-radius: 50%;
  background: var(--kelp);
  box-shadow: 0 0 0 3px rgba(102, 199, 156, 0.2);
  flex-shrink: 0;
}

.live-tag {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  color: var(--brass);
}

.marina-tiers-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--space-md);
  margin-block-end: var(--space-xxl);
}

@media (max-width: 980px) {
  .marina-tiers-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .marina-tiers-grid {
    grid-template-columns: 1fr;
  }
}

.tier-card {
  background: linear-gradient(180deg, rgba(22, 66, 115, 0.28) 0%, var(--deck) 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  box-shadow: var(--shadow-raised);
  font-variant-numeric: tabular-nums;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.tier-card-vip {
  border-color: rgba(214, 174, 87, 0.55);
  background: linear-gradient(180deg, rgba(75, 40, 23, 0.42) 0%, var(--deck) 100%);
}

.tier-index {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  color: var(--brass);
  text-transform: uppercase;
}

.tier-name {
  margin: 6px 0 12px;
  font-family: var(--font-display);
  font-optical-sizing: auto;
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1.2;
  color: var(--parchment);
}

.tier-stat-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  padding-block: 7px;
  border-top: 1px solid var(--line-soft);
  font-size: 0.875rem;
  color: var(--muted);
}

.tier-stat-row strong {
  color: var(--parchment);
  font-weight: 600;
}

.tier-note {
  margin: 10px 0 0;
  padding-top: 8px;
  border-top: 1px solid var(--line-soft);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  color: var(--mist);
}

.economy-perks-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-lg);
}

.economy-perk-card {
  padding: var(--space-xl);
  border-radius: var(--radius-md);
  background: rgba(18, 38, 58, 0.82);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-raised);
  font-variant-numeric: tabular-nums;
}

.economy-perk-tag {
  display: inline-block;
  margin-bottom: var(--space-xs);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--kelp);
}

.economy-perk-title {
  margin: 0 0 var(--space-xs);
  font-family: var(--font-display);
  font-optical-sizing: auto;
  font-size: 1.32rem;
  font-weight: 500;
  line-height: 1.2;
  color: var(--parchment);
}

.economy-perk-copy {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.62;
  color: var(--muted);
}

.economy-perk-copy strong {
  color: var(--parchment);
  font-weight: 600;
}

@media (max-width: 767px) {
  .economy-perks-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   7. HERO SECTION & PURE CSS/SVG MIDNIGHT BLACKJACK RAIL
   ========================================================================== */

.hero {
  position: relative;
  z-index: 1;
  padding-block: clamp(44px, 7vw, 92px) clamp(56px, 8vw, 104px);
  border-bottom: 1px solid var(--line-soft);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  align-items: center;
  gap: clamp(32px, 5vw, 56px);
}

.port-starboard,
.nav-lights {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.light-port,
.port-dot,
.light-starboard,
.starboard-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  display: inline-block;
}

.light-port,
.port-dot {
  background: var(--crimson);
  box-shadow: 0 0 8px rgba(179, 38, 30, 0.7);
}

.light-starboard,
.starboard-dot {
  background: var(--starboard);
  box-shadow: 0 0 8px rgba(31, 122, 85, 0.7);
}

.hero-title {
  margin: 0 0 var(--space-lg);
  font-family: var(--font-display);
  font-optical-sizing: auto;
  font-size: clamp(2.35rem, 4.8vw, 4.1rem);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.015em;
  color: var(--parchment);
}

.hero-lead {
  margin: 0 0 var(--space-xxl);
  max-width: 58ch;
  font-size: clamp(1.03rem, 1.4vw, 1.15rem);
  line-height: 1.65;
  color: var(--muted);
}

.hero-cta-group,
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-md);
  margin-bottom: var(--space-xl);
}

.trust-strip {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  font-size: 0.875rem;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  color: var(--mist);
}

.trust-strip li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.trust-strip li::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--brass);
  flex-shrink: 0;
}

/* Midnight Blackjack Rail Artwork */
.hero-table-card,
.hero-table-art {
  margin: 0;
  position: relative;
}

.mahogany-rail {
  position: relative;
  padding: 16px;
  border-radius: 26px;
  background: linear-gradient(165deg, var(--mahogany-light) 0%, var(--mahogany) 55%, var(--mahogany-dark) 100%);
  border: 1px solid rgba(237, 207, 134, 0.26);
  box-shadow: var(--shadow-floating);
}

/* 4 recessed brass corner rivets */
.mahogany-rail::before {
  content: "";
  position: absolute;
  inset: 9px;
  pointer-events: none;
  background-image:
    radial-gradient(circle at 6px 6px, #e9cb85 0 2.5px, transparent 3px),
    radial-gradient(circle at calc(100% - 6px) 6px, #e9cb85 0 2.5px, transparent 3px),
    radial-gradient(circle at 6px calc(100% - 6px), #e9cb85 0 2.5px, transparent 3px),
    radial-gradient(circle at calc(100% - 6px) calc(100% - 6px), #e9cb85 0 2.5px, transparent 3px);
}

.sea-felt-surface {
  position: relative;
  min-height: 356px;
  padding: 26px 24px 20px;
  border-radius: 16px;
  background: radial-gradient(circle at 50% 35%, var(--felt) 0%, var(--felt-shade) 100%);
  border: 1.5px solid var(--felt-edge);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
}

/* Subtle betting arc inside sea-felt */
.sea-felt-surface::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -120px;
  width: 420px;
  height: 320px;
  translate: -50% 0;
  border-radius: 50%;
  border: 1px solid rgba(214, 174, 87, 0.18);
  pointer-events: none;
}

.felt-watermark {
  position: relative;
  z-index: 1;
  font-family: var(--font-mono);
  font-size: clamp(9.5px, 1.02vw, 11px);
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-align: center;
  white-space: nowrap;
  color: rgba(214, 174, 87, 0.62);
  max-inline-size: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hero-hand-float {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-block: 18px 14px;
  will-change: translate, rotate;
}

.playing-card {
  width: 114px;
  height: 162px;
  padding: 10px 12px;
  border-radius: 10px;
  background: var(--card-face);
  border: 1px solid var(--card-edge);
  color: var(--card-ink);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.44);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  font-family: var(--font-card);
  font-weight: 700;
  user-select: none;
}

.card-left {
  rotate: -6deg;
}

.card-right {
  rotate: 5deg;
  margin-left: -26px;
}

.card-corner {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  align-self: flex-start;
  line-height: 1;
  font-size: 1.15rem;
}

.card-corner small {
  font-size: 0.85rem;
  margin-top: 2px;
}

.card-corner-bottom {
  align-self: flex-end;
  rotate: 180deg;
}

.card-pip {
  align-self: center;
  font-size: 2.5rem;
  line-height: 1;
  color: var(--card-ink);
}

.card-pip-ace {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1.5px solid var(--brass);
  background: rgba(214, 174, 87, 0.12);
  font-size: 2.15rem;
}

.chip-stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-left: 16px;
  gap: 0;
}

.brass-chip-svg {
  display: block;
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.45));
}

.obsidian-chip-svg {
  display: block;
  margin-top: -18px;
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.45));
}

.table-status-bar {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 12px;
  padding: 10px 14px;
  border-radius: var(--radius-md);
  background: rgba(11, 24, 34, 0.72);
  border: 1px solid rgba(132, 171, 226, 0.22);
}

.status-pill-kelp {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: rgba(102, 199, 156, 0.14);
  border: 1px solid rgba(102, 199, 156, 0.42);
  color: var(--kelp);
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.06em;
}

.status-seat-meta {
  font-size: 0.8125rem;
  font-variant-numeric: tabular-nums;
  color: var(--muted);
}

@keyframes deck-sway {
  from {
    translate: 0 0;
    rotate: 0deg;
  }
  to {
    translate: 0 -5px;
    rotate: 0.6deg;
  }
}

@keyframes compass-drift {
  from {
    rotate: 0deg;
  }
  to {
    rotate: 360deg;
  }
}

.hero-hand-float {
  animation: deck-sway 7.5s ease-in-out infinite alternate;
}

.compass-ring {
  transform-box: fill-box;
  transform-origin: center;
  animation: compass-drift 36s linear infinite;
}

@media (max-width: 960px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-table-card,
  .hero-table-art {
    max-width: 560px;
  }
}

@media (max-width: 480px) {
  .hero-cta-group .btn,
  .hero-actions .btn {
    width: 100%;
  }

  .playing-card {
    width: 98px;
    height: 142px;
  }
}

/* ==========================================================================
   8. BELOW-THE-FOLD SECTIONS & CONTENT-VISIBILITY BUDGET
   ========================================================================== */

.section-block {
  position: relative;
  z-index: 1;
  padding-block: var(--space-section);
  border-bottom: 1px solid var(--line-soft);
}

/* Strictly below-the-fold only; NEVER applied to .site-header or .hero */
.section-deferred {
  content-visibility: auto;
  contain-intrinsic-size: auto none auto 620px;
}

.site-footer {
  position: relative;
  z-index: 1;
  content-visibility: auto;
  contain-intrinsic-size: auto none auto 340px;
  background: rgba(8, 18, 27, 0.88);
  padding-block: clamp(48px, 6vw, 76px) clamp(32px, 4vw, 48px);
}

/* ==========================================================================
   9. SALOON GAMES BENTO GRID (#games)
   ========================================================================== */

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

.bento-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: var(--space-lg);
  padding: clamp(24px, 3.5vw, 32px);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(22, 47, 72, 0.72) 0%, var(--deck) 100%);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-raised);
  transition:
    translate var(--dur-med) var(--spring),
    border-color var(--dur-fast) ease-out;
}

/* Pre-rendered elevated shadow on pseudo-element; only opacity animates on compositor */
.bento-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: var(--shadow-floating);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--dur-med) ease-out;
}

.bento-card:hover,
.bento-card:focus-within {
  border-color: rgba(214, 174, 87, 0.55);
  translate: 0 -3px;
}

.bento-card:hover::after,
.bento-card:focus-within::after {
  opacity: 1;
}

.bento-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-md);
}

.bento-eyebrow {
  margin: 0 0 var(--space-xs);
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brass);
}

.card-title {
  margin: 0 0 var(--space-sm);
  font-family: var(--font-display);
  font-optical-sizing: auto;
  font-size: clamp(1.45rem, 2.2vw, 1.75rem);
  font-weight: 500;
  line-height: 1.15;
  color: var(--parchment);
}

.card-copy {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.62;
}

.bento-emblem {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: rgba(11, 24, 34, 0.6);
  border: 1px solid var(--line);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.bento-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-sm) var(--space-md);
  padding-top: var(--space-md);
  border-top: 1px solid var(--line-soft);
}

@media (max-width: 767px) {
  .bento-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   10. PRIVATE YACHT TABLE FLOW (#private-tables)
   ========================================================================== */

.private-steps,
.steps-grid {
  margin: 0 0 var(--space-xxl);
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-xl);
}

.step-card {
  padding: var(--space-xl);
  border-radius: var(--radius-md);
  background: rgba(18, 38, 58, 0.78);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-raised);
}

.step-number {
  display: inline-block;
  margin-bottom: var(--space-sm);
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brass);
}

.step-title {
  margin: 0 0 var(--space-xs);
  font-family: var(--font-display);
  font-optical-sizing: auto;
  font-size: 1.3rem;
  font-weight: 500;
  line-height: 1.2;
  color: var(--parchment);
}

.step-copy {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

.invite-preview-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md) var(--space-xl);
  padding: var(--space-lg) var(--space-xl);
  border-radius: var(--radius-lg);
  background: radial-gradient(circle at 25% 50%, var(--felt) 0%, var(--felt-shade) 100%);
  border: 1.5px solid var(--felt-edge);
  box-shadow: var(--shadow-raised);
}

.invite-pill-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
}

.invite-url-pill {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  background: rgba(11, 24, 34, 0.78);
  border: 1px solid rgba(214, 174, 87, 0.38);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--parchment);
}

.invite-code-tag {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.12em;
  color: var(--brass-light);
}

@media (max-width: 900px) {
  .private-steps,
  .steps-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   11. FAIR PLAY & LEDGER INTEGRITY (#fairness)
   ========================================================================== */

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

.pillar-card {
  padding: var(--space-xl);
  border-radius: var(--radius-md);
  background: var(--deck);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-raised);
}

.pillar-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: var(--space-md);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: rgba(102, 199, 156, 0.12);
  border: 1px solid rgba(102, 199, 156, 0.34);
  color: var(--kelp);
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pillar-badge-ember {
  background: rgba(240, 138, 128, 0.12);
  border-color: rgba(240, 138, 128, 0.36);
  color: var(--ember);
}

.pillar-title {
  margin: 0 0 var(--space-sm);
  font-family: var(--font-display);
  font-optical-sizing: auto;
  font-size: 1.32rem;
  font-weight: 500;
  line-height: 1.2;
  color: var(--parchment);
}

.pillar-copy {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.62;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

@media (max-width: 900px) {
  .pillars-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   12. NATIVE EXCLUSIVE FAQ ACCORDION (#faq)
   ========================================================================== */

.faq-list {
  border-top: 1px solid var(--line-soft);
}

.faq-item {
  border-bottom: 1px solid var(--line-soft);
}

.faq-item > summary {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0.85ch;
  padding-block: 20px;
  font-family: var(--font-ui);
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--parchment);
  cursor: pointer;
  transition: color var(--dur-fast) ease-out;
}

.faq-item > summary:hover {
  color: var(--brass-light);
}

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

/* Custom rotating brass chevron placed right before label text for low-vision clarity */
.faq-item > summary::before {
  content: "";
  inline-size: 0.65em;
  block-size: 0.65em;
  flex-shrink: 0;
  border-right: 2px solid var(--brass);
  border-bottom: 2px solid var(--brass);
  rotate: -45deg;
}

.faq-item[open] > summary::before {
  rotate: 45deg;
}

.faq-item > summary::before {
  transition: rotate var(--dur-fast) var(--ease-out-quart);
}

.faq-item::details-content {
  interpolate-size: allow-keywords;
  overflow: clip;
  contain: layout;
}

.faq-item:not([open])::details-content {
  block-size: 0;
}

.faq-item::details-content {
  transition: block-size, content-visibility, display;
  transition-duration: 0.26s;
  transition-timing-function: var(--ease-out-quart);
  transition-behavior: allow-discrete;
}

.faq-answer {
  padding: 0 0 22px 1.65em;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.65;
}

.faq-answer p {
  margin: 0;
}

.faq-answer p + p {
  margin-top: var(--space-sm);
}

.faq-answer a {
  color: var(--signal-ink);
  text-underline-offset: 3px;
}

.faq-answer a:hover {
  color: var(--brass-light);
}

/* ==========================================================================
   13. SCROLL-DRIVEN ENTRY REVEALS + INTERSECTIONOBSERVER FALLBACK
   ========================================================================== */

@supports ((animation-timeline: view()) and (animation-range: entry)) {
  @keyframes card-rise {
    from {
      opacity: 0;
      translate: 0 24px;
    }
    to {
      opacity: 1;
      translate: 0 0;
    }
  }

  .reveal-card {
    animation: card-rise auto var(--ease-out-quart) both;
    animation-timeline: view();
    animation-range: entry 8% cover 26%;
  }
}

html.io-reveal-ready .reveal-card:not(.is-visible) {
  opacity: 0;
  translate: 0 20px;
}

html.io-reveal-ready .reveal-card {
  transition:
    opacity var(--dur-slow) var(--ease-out-quart),
    translate var(--dur-slow) var(--spring);
}

html.io-reveal-ready .reveal-card.is-visible {
  opacity: 1;
  translate: 0 0;
}

/* ==========================================================================
   14. CLUB FOOTER & R18+ SOCIAL CASINO CHARTER (5-Column Master Matrix)
   ========================================================================== */

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(4, minmax(0, 1fr));
  gap: clamp(24px, 3.5vw, 36px);
  padding-bottom: clamp(32px, 5vw, 48px);
  border-bottom: 1px solid var(--line-soft);
}

.footer-brand-tagline,
.footer-tagline {
  margin: var(--space-md) 0 0;
  max-width: 30ch;
  font-size: 0.95rem;
  color: var(--muted);
}

.footer-heading {
  margin: 0 0 var(--space-md);
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brass);
}

.footer-links {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 0.9375rem;
  color: var(--muted);
  text-decoration: none;
  transition: color var(--dur-fast) ease-out;
}

.footer-links a:hover {
  color: var(--parchment);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.legal-charter {
  margin-top: var(--space-xl);
  padding: var(--space-md) var(--space-lg);
  border-radius: var(--radius-md);
  background: rgba(18, 38, 58, 0.55);
  border: 1px solid var(--line-soft);
  font-size: 0.84rem;
  line-height: 1.6;
  color: var(--mist);
}

.legal-charter strong {
  color: var(--parchment);
  font-weight: 600;
}

.footer-bottom {
  margin-top: var(--space-lg);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-sm) var(--space-lg);
  font-size: 0.8125rem;
  color: var(--mist);
}

@media (max-width: 1020px) {
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 540px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   15. STATIC SUBPAGE TEMPLATE PRIMITIVES (/games/* & Legal Charter Pages)
   (.subpage-shell, .breadcrumb-nav, .prose-deck, .payout-table, .cta-banner-felt, .legal-meta)
   ========================================================================== */

.subpage-main {
  padding-block: clamp(32px, 5vw, 64px) clamp(64px, 8vw, 104px);
}

/* Breadcrumb Navigation */
.breadcrumb-nav {
  margin-bottom: var(--space-xl);
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  color: var(--mist);
}

.breadcrumb-nav ol,
.breadcrumb-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.breadcrumb-nav li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.breadcrumb-nav li + li::before {
  content: "/";
  color: var(--line);
}

.breadcrumb-nav a {
  color: var(--signal-ink);
  text-decoration: none;
  transition: color var(--dur-fast) ease-out;
}

.breadcrumb-nav a:hover {
  color: var(--brass-light);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.breadcrumb-nav [aria-current="page"] {
  color: var(--parchment);
}

/* Legal & Editorial Metadata Strip */
.legal-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 20px;
  margin: 0 0 var(--space-xxl);
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  background: rgba(18, 38, 58, 0.68);
  border: 1px solid var(--line-soft);
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  font-variant-numeric: tabular-nums;
  color: var(--mist);
}

.legal-meta strong {
  color: var(--parchment);
  font-weight: 500;
}

/* Editorial Prose Deck (.prose-deck) */
.prose-deck {
  width: min(740px, 100%);
  margin-inline: auto;
  color: var(--muted);
  font-size: 1.03125rem;
  line-height: 1.68;
}

.prose-deck h1 {
  margin: 0 0 var(--space-lg);
  font-family: var(--font-display);
  font-optical-sizing: auto;
  font-size: clamp(2.1rem, 4.2vw, 3.25rem);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.015em;
  color: var(--parchment);
}

.prose-deck .prose-lead {
  font-size: clamp(1.08rem, 1.45vw, 1.18rem);
  line-height: 1.65;
  color: var(--parchment);
  opacity: 0.92;
  margin-bottom: var(--space-xxl);
}

.subpage-faq {
  margin-top: clamp(40px, 5vw, 56px);
}

.prose-deck h2 {
  margin: clamp(36px, 5vw, 52px) 0 var(--space-md);
  padding-top: var(--space-sm);
  font-family: var(--font-display);
  font-optical-sizing: auto;
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  font-weight: 500;
  line-height: 1.18;
  letter-spacing: -0.01em;
  color: var(--parchment);
}

.prose-deck h3 {
  margin: var(--space-xxl) 0 var(--space-xs);
  font-family: var(--font-ui);
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--parchment);
}

.prose-deck p {
  margin: 0 0 var(--space-lg);
}

/* Scope prose link styling strictly to inline editorial links, excluding buttons */
.prose-deck a:not(.btn) {
  color: var(--signal-ink);
  text-decoration-line: underline;
  text-decoration-color: rgba(141, 179, 232, 0.45);
  text-underline-offset: 3px;
  transition: color var(--dur-fast) ease-out, text-decoration-color var(--dur-fast) ease-out;
}

.prose-deck a:not(.btn):hover {
  color: var(--brass-light);
  text-decoration-color: var(--brass-light);
}

.prose-deck strong {
  color: var(--parchment);
  font-weight: 600;
}

.prose-deck ul,
.prose-deck ol {
  margin: 0 0 var(--space-xl);
  padding-left: 1.4rem;
}

.prose-deck li {
  margin-bottom: 10px;
}

.prose-deck li::marker {
  color: var(--brass);
}

.prose-deck code {
  padding: 2px 6px;
  border-radius: 5px;
  background: rgba(18, 38, 58, 0.9);
  border: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 0.88em;
  color: var(--brass-light);
}

.prose-deck blockquote {
  margin: var(--space-xl) 0;
  padding: var(--space-md) var(--space-xl);
  border-left: 3px solid var(--brass);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  background: rgba(18, 38, 58, 0.68);
  color: var(--parchment);
}

.prose-deck blockquote p:last-child {
  margin-bottom: 0;
}

.prose-deck hr {
  border: 0;
  border-top: 1px solid var(--line-soft);
  margin-block: var(--space-xxl);
}

/* Payout & Rules Schedule Tables (.payout-table-wrap & .payout-table) */
.payout-table-wrap {
  width: 100%;
  margin: var(--space-xl) 0 var(--space-xxl);
  overflow-x: auto;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: var(--deck);
  box-shadow: var(--shadow-raised);
}

.payout-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--deck);
  font-family: var(--font-ui);
  font-size: 0.95rem;
  font-variant-numeric: tabular-nums;
  text-align: left;
}

.payout-table caption {
  padding: 14px 18px;
  text-align: left;
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brass);
  border-bottom: 1px solid var(--line);
}

.payout-table th,
.payout-table td {
  padding: 13px 18px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.payout-table thead th {
  background: rgba(11, 24, 34, 0.55);
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--parchment);
}

.payout-table tbody tr:last-child th,
.payout-table tbody tr:last-child td {
  border-bottom: none;
}

.payout-table tbody tr:hover {
  background: var(--deck-elevated);
}

.payout-table td strong,
.payout-table tbody th {
  color: var(--parchment);
  font-weight: 600;
}

/* Bottom Conversion Card (.cta-banner-felt) */
.cta-banner-felt {
  width: min(740px, 100%);
  margin: clamp(40px, 6vw, 64px) auto 0;
  padding: clamp(26px, 4vw, 38px);
  border-radius: var(--radius-lg);
  background: radial-gradient(circle at 50% 30%, var(--felt) 0%, var(--felt-shade) 100%);
  border: 2px solid var(--mahogany-light);
  outline: 1.5px solid var(--felt-edge);
  outline-offset: -8px;
  box-shadow: var(--shadow-floating);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-md);
}

.cta-banner-felt .eyebrow {
  margin-bottom: 0;
}

.cta-banner-felt h2,
.cta-banner-felt h3 {
  margin: 0;
  font-family: var(--font-display);
  font-optical-sizing: auto;
  font-size: clamp(1.5rem, 2.6vw, 1.95rem);
  font-weight: 500;
  line-height: 1.15;
  color: var(--parchment);
}

.cta-banner-felt p {
  margin: 0;
  max-width: 58ch;
  font-size: 0.98rem;
  line-height: 1.62;
  color: var(--parchment);
  opacity: 0.9;
}

.cta-banner-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-md);
  margin-top: var(--space-xs);
}

@media (max-width: 480px) {
  .cta-banner-actions {
    width: 100%;
  }

  .cta-banner-actions .btn {
    width: 100%;
  }
}

/* ==========================================================================
   16. RESPONSIVE ACCESSIBLE DATA TABLES (.table-wrapper & .data-table)
   ========================================================================== */

.table-wrapper {
  overflow-x: auto;
  max-inline-size: 100%;
  margin-block: var(--space-lg);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--deck);
  box-shadow: var(--shadow-raised);
  container-type: inline-size;
}

.table-wrapper:focus-visible {
  outline: 2px solid var(--brass-light);
  outline-offset: 3px;
}

.data-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 0.92rem;
  font-variant-numeric: tabular-nums;
}

.data-table caption {
  padding: 14px 16px;
  text-align: left;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brass);
  border-bottom: 1px solid var(--line-soft);
}

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

.data-table thead th {
  position: sticky;
  inset-block-start: 0;
  z-index: 1;
  background: #152d45;
  color: var(--parchment);
  font-weight: 600;
}

.data-table tbody tr:last-child th,
.data-table tbody tr:last-child td {
  border-bottom: none;
}

.data-table tbody th {
  color: var(--parchment);
  font-weight: 600;
  background: var(--deck);
}

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

.data-table td strong {
  color: var(--parchment);
  font-weight: 600;
}

/* ==========================================================================
   17. 18+ AGE & PLAY-FOR-FUN CHARTER MODAL DIALOG (<dialog id="age-gate-dialog">)
   ========================================================================== */

.age-dialog {
  padding: 0;
  border: none;
  border-radius: 22px;
  background: transparent;
  color: var(--parchment);
  max-inline-size: min(560px, calc(100vw - 32px));
  max-block-size: calc(100dvh - 32px);
  box-shadow: var(--shadow-floating);
  opacity: 0;
  transition-property: opacity, transform, display, overlay;
  transition-duration: 0.26s;
  transition-timing-function: var(--ease-out-quart);
  transition-behavior: allow-discrete;
}

.age-dialog {
  transform: scale(0.95) translateY(8px);
}

.age-dialog[open] {
  opacity: 1;

  @starting-style {
    opacity: 0;
  }

  transform: scale(1) translateY(0);

  @starting-style {
    transform: scale(0.95) translateY(8px);
  }

}

/* Mandatory scroll-chaining containment (Modern Web Guidance `prevent-page-scroll-under-modal-dialog`) */
.age-dialog:modal {
  overscroll-behavior: contain;
}

.age-dialog::backdrop {
  overflow: hidden;
  overscroll-behavior: contain;
  background-color: rgba(6, 13, 20, 0);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition-property: background-color, display, overlay;
  transition-duration: 0.26s;
  transition-timing-function: ease-out;
  transition-behavior: allow-discrete;
}

.age-dialog[open]::backdrop {
  background-color: rgba(6, 13, 20, 0.78);

  @starting-style {
    background-color: rgba(6, 13, 20, 0);
  }
}

.age-dialog-rail {
  padding: 10px;
  border-radius: 22px;
  background: linear-gradient(160deg, var(--mahogany-light) 0%, var(--mahogany) 55%, var(--mahogany-dark) 100%);
  border: 1px solid rgba(237, 207, 134, 0.3);
}

.age-dialog-inner {
  padding: clamp(20px, 4vw, 32px);
  border-radius: 14px;
  background: radial-gradient(circle at 50% 0%, var(--ink-lift) 0%, var(--deck) 72%);
  border: 1px solid var(--line);
}

.age-dialog-title {
  margin: 8px 0 10px;
  font-family: var(--font-display);
  font-optical-sizing: auto;
  font-size: clamp(1.5rem, 3vw, 1.9rem);
  font-weight: 500;
  line-height: 1.15;
  color: var(--parchment);
}

.age-dialog-lead {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.55;
}

.age-charter-list {
  margin: 0 0 24px;
  padding: 16px 16px 16px 34px;
  border-radius: var(--radius-md);
  background: rgba(11, 24, 34, 0.65);
  border: 1px solid var(--line-soft);
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.55;
  display: grid;
  gap: 12px;
}

.age-charter-list strong {
  color: var(--parchment);
  font-weight: 600;
}

.age-charter-list a {
  color: var(--signal-ink);
  text-underline-offset: 2px;
}

.age-charter-list a:hover {
  color: var(--brass-light);
}

.age-dialog-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.age-dialog-actions .btn-brass {
  flex: 1 1 240px;
}

.age-dialog-actions .btn-ghost {
  flex: 1 1 160px;
}

/* ==========================================================================
   18. LIVE GAMEPLAY VIDEO STAGES, FEATURE CHIPS, GALLERY CAROUSEL & 15 LANGUAGES
   ========================================================================== */

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

.bento-media-stage,
.subpage-media-stage {
  margin: var(--space-md) 0 var(--space-lg);
  border-radius: var(--radius-md);
  background: rgba(11, 24, 34, 0.86);
  border: 1px solid var(--line);
  overflow: hidden;
  box-shadow: var(--shadow-raised);
}

.subpage-media-stage {
  margin: var(--space-xl) 0 var(--space-lg);
}

.video-viewport {
  position: relative;
  aspect-ratio: 16 / 9;
  background: var(--ink);
  overflow: hidden;
}

.bento-video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: var(--ink);
}

.live-video-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: rgba(11, 24, 34, 0.85);
  border: 1px solid rgba(102, 199, 156, 0.45);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--kelp);
  pointer-events: none;
}

.bento-media-caption {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 6px 12px;
  padding: 9px 14px;
  background: rgba(18, 38, 58, 0.92);
  border-top: 1px solid var(--line-soft);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--mist);
}

.feature-chip-list {
  margin: var(--space-md) 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.prose-deck ul.feature-chip-list {
  margin: 0 0 var(--space-xxl);
  padding-left: 0;
}

.feature-chip-list li {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  border-radius: var(--radius-pill);
  background: rgba(11, 24, 34, 0.72);
  border: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 500;
  color: var(--parchment);
}

.feature-chip-list li::before {
  content: "";
  inline-size: 5px;
  block-size: 5px;
  border-radius: 50%;
  background: var(--brass);
  flex-shrink: 0;
}

/* --- High-Resolution Screenshot Carousel (#screenshots) --- */
.showcase-carousel {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.carousel-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
}

.carousel-nav-buttons {
  display: flex;
  align-items: center;
  gap: 10px;
}

.carousel-nav-buttons button {
  touch-action: manipulation;
}

.carousel-markers {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.carousel-marker-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-block-size: 34px;
  min-inline-size: 34px;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  background: rgba(18, 38, 58, 0.78);
  border: 1px solid var(--line);
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 500;
  cursor: pointer;
  touch-action: manipulation;
  transition:
    background-color var(--dur-fast) ease-out,
    border-color var(--dur-fast) ease-out,
    color var(--dur-fast) ease-out;
}

.carousel-marker-btn:hover {
  color: var(--parchment);
  border-color: var(--brass);
}

/* Active slide indicator uses both color AND a 2px solid border + bold weight (WCAG 1.4.1) */
.carousel-marker-btn[aria-current="true"] {
  background: var(--brass);
  color: var(--on-brass);
  border: 2px solid var(--parchment);
  font-weight: 700;
}

.carousel-track {
  display: flex;
  gap: var(--space-xl);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  overscroll-behavior-x: contain;
  touch-action: manipulation;
  scrollbar-width: thin;
  scrollbar-color: var(--brass) var(--deck);
  padding-bottom: 6px;
}

@media (prefers-reduced-motion: no-preference) {
  .carousel-track {
    scroll-behavior: smooth;
  }
}

.carousel-slide {
  margin: 0;
  flex: 0 0 min(860px, 100%);
  scroll-snap-align: center;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(22, 47, 72, 0.85) 0%, var(--deck) 100%);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-raised);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.slide-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  background: var(--ink);
  overflow: hidden;
}

.slide-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slide-caption {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  padding: var(--space-lg) var(--space-xl);
  border-top: 1px solid var(--line-soft);
}

.slide-tag {
  display: block;
  margin-bottom: 4px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  color: var(--brass);
  text-transform: uppercase;
}

.slide-caption strong {
  display: block;
  font-size: 1.02rem;
  color: var(--parchment);
  font-weight: 600;
}

/* --- 15 Native Languages Matrix (#languages) --- */
.language-grid {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: var(--space-md);
}

.language-pill {
  padding: 14px 16px;
  border-radius: var(--radius-md);
  background: rgba(18, 38, 58, 0.82);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-raised);
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.lang-code {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--brass);
}

.lang-native {
  font-size: 1.08rem;
  font-weight: 600;
  color: var(--parchment);
}

.lang-region {
  font-size: 0.78rem;
  color: var(--mist);
}

@media (max-width: 980px) {
  .language-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .language-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* ==========================================================================
   15. CLUB SHOP & XSOLLA WEB PAYWALL SHOWCASE (#club-shop)
   ========================================================================== */

.club-shop-showcase {
  margin-top: clamp(36px, 5vw, 56px);
  padding-top: clamp(32px, 4.5vw, 48px);
  border-top: 1px solid var(--line-soft);
}

.shop-showcase-header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--space-lg) var(--space-xl);
  margin-bottom: var(--space-xl);
}

.shop-showcase-title {
  margin: 0 0 var(--space-xs);
  font-family: var(--font-display);
  font-optical-sizing: auto;
  font-size: clamp(1.65rem, 3vw, 2.35rem);
  font-weight: 500;
  line-height: 1.12;
  color: var(--parchment);
}

.shop-showcase-subtitle {
  margin: 0;
  max-width: 62ch;
  font-size: 0.98rem;
  line-height: 1.62;
  color: var(--muted);
}

.shop-showcase-subtitle strong {
  color: var(--parchment);
  font-weight: 600;
}

/* Accessible Currency Switcher Toolbar (Modern Web Guidance `toolbar`) */
.currency-toolbar-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.currency-toolbar {
  display: inline-flex;
  align-items: center;
  padding: 5px;
  border-radius: var(--radius-md);
  background: rgba(11, 24, 34, 0.84);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-raised);
}

.currency-group {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
}

.currency-btn {
  min-inline-size: 46px;
  min-block-size: 36px;
  padding: 6px 12px;
  border-radius: 8px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--mist);
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  cursor: pointer;
  touch-action: manipulation;
}

.currency-btn:focus-visible {
  outline: 2px solid var(--brass);
  outline-offset: 2px;
}

/* Toggled state driven strictly from ARIA attribute (`[aria-pressed="true"]`) */
.currency-btn[aria-pressed="true"] {
  background: var(--brass);
  color: var(--on-brass);
  border-color: rgba(246, 245, 240, 0.55);
  font-weight: 700;
  box-shadow: 0 2px 10px rgba(214, 174, 87, 0.28);
}

@media (hover: hover) {
  .currency-btn:not([aria-pressed="true"]):hover {
    color: var(--parchment);
    border-color: rgba(214, 174, 87, 0.45);
    background: rgba(214, 174, 87, 0.1);
  }
}

@media (prefers-reduced-motion: no-preference) {
  .currency-btn {
    transition:
      background-color var(--dur-fast) ease-out,
      border-color var(--dur-fast) ease-out,
      color var(--dur-fast) ease-out;
  }
}

@media (pointer: coarse) {
  .currency-btn {
    min-inline-size: 52px;
    min-block-size: 44px;
  }
}

@media (forced-colors: active) {
  .currency-toolbar {
    border-color: ButtonText;
  }

  .currency-btn {
    border-color: transparent;
    color: ButtonText;
  }

  .currency-btn[aria-pressed="true"] {
    background: Highlight;
    color: HighlightText;
    border-color: Highlight;
    forced-color-adjust: none;
  }
}

/* Hero One-Time Starter Package Card */
.shop-packages-region {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.shop-hero-card {
  container-type: inline-size;
  display: grid;
  grid-template-columns: minmax(220px, 310px) minmax(0, 1.2fr) auto auto;
  align-items: center;
  gap: var(--space-lg) var(--space-xl);
  padding: clamp(18px, 2.5vw, 24px);
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(214, 174, 87, 0.18) 0%, rgba(18, 38, 58, 0.92) 55%, var(--deck) 100%);
  border: 1.5px solid rgba(214, 174, 87, 0.62);
  box-shadow: var(--shadow-raised);
  font-variant-numeric: tabular-nums;
}

.shop-hero-media,
.shop-pack-media {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: var(--radius-md);
  border: 1px solid rgba(214, 174, 87, 0.32);
  background: var(--ink);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.36);
}

.shop-hero-media img,
.shop-pack-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (prefers-reduced-motion: no-preference) {
  .shop-hero-media img,
  .shop-pack-media img {
    transition: scale var(--dur-med) var(--spring);
  }
}

@media (hover: hover) {
  .shop-hero-card:hover .shop-hero-media img,
  .shop-pack-card:hover .shop-pack-media img {
    scale: 1.04;
  }
}

.shop-badge-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: var(--space-xs);
}

.shop-badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 9px;
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.shop-badge-brass {
  background: rgba(214, 174, 87, 0.18);
  border: 1px solid rgba(214, 174, 87, 0.52);
  color: var(--brass);
}

.shop-badge-kelp {
  background: rgba(102, 199, 156, 0.14);
  border: 1px solid rgba(102, 199, 156, 0.42);
  color: var(--kelp);
}

.shop-hero-name {
  margin: 0 0 6px;
  font-family: var(--font-display);
  font-optical-sizing: auto;
  font-size: clamp(1.5rem, 2.4vw, 1.85rem);
  font-weight: 500;
  line-height: 1.15;
  color: var(--parchment);
}

.shop-hero-desc {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--muted);
}

.shop-hero-desc strong {
  color: var(--parchment);
  font-weight: 600;
}

.shop-hero-metrics {
  text-align: right;
}

.shop-chips-figure {
  margin: 0;
  font-size: clamp(1.45rem, 2.2vw, 1.8rem);
  font-weight: 700;
  line-height: 1.12;
  color: var(--parchment);
}

.shop-chips-figure span {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--mist);
}

.shop-chips-breakdown {
  margin: 4px 0 0;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: var(--kelp);
}

.shop-cta-btn,
.shop-pack-cta {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-variant-numeric: tabular-nums;
}

.shop-price-tag {
  padding: 2px 8px;
  border-radius: 6px;
  background: rgba(11, 24, 34, 0.24);
  font-family: var(--font-mono);
  font-size: 0.85em;
  font-weight: 700;
  white-space: nowrap;
}

.btn-ghost .shop-price-tag {
  background: rgba(214, 174, 87, 0.16);
  color: var(--brass);
}

/* 4-Pack Responsive Card Grid with Subgrid Row Alignment (Modern Web Guidance `card`) */
.shop-packs-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--space-lg);
}

.shop-pack-card {
  container-type: inline-size;
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  gap: 12px;
  padding: var(--space-lg);
  border-radius: var(--radius-md);
  background: rgba(18, 38, 58, 0.84);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-raised);
  font-variant-numeric: tabular-nums;
}

.shop-pack-content {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.shop-pack-content .shop-pack-desc {
  margin-top: 6px;
}

.shop-pack-card-vip {
  border-color: rgba(214, 174, 87, 0.55);
  background: linear-gradient(180deg, rgba(75, 40, 23, 0.36) 0%, var(--deck) 100%);
}

.shop-pack-card-whale {
  border-color: rgba(235, 200, 118, 0.72);
  background: linear-gradient(180deg, rgba(24, 36, 52, 0.94) 0%, rgba(10, 18, 28, 0.98) 100%);
}

.shop-pack-header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.shop-pack-name {
  margin: 0;
  font-family: var(--font-display);
  font-optical-sizing: auto;
  font-size: 1.32rem;
  font-weight: 500;
  line-height: 1.2;
  color: var(--parchment);
}

.shop-pack-desc {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.52;
  color: var(--muted);
}

.shop-pack-footer {
  padding-top: 10px;
  border-top: 1px solid var(--line-soft);
}

.shop-pack-cta {
  width: 100%;
}

@container (max-width: 240px) {
  .shop-pack-cta {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    gap: 6px;
  }
}

@container (max-width: 680px) {
  .shop-hero-metrics {
    text-align: left;
  }
}

/* Paywall & Responsible Play Compliance Bar */
.shop-compliance-bar {
  margin-top: var(--space-lg);
  padding: 16px 20px;
  border-radius: var(--radius-md);
  background: rgba(11, 24, 34, 0.74);
  border: 1px solid var(--line-soft);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md) var(--space-xl);
}

.shop-compliance-copy {
  margin: 0;
  flex: 1 1 480px;
  font-size: 0.85rem;
  line-height: 1.55;
  color: var(--mist);
}

.shop-compliance-copy strong {
  color: var(--parchment);
  font-weight: 600;
}

.shop-compliance-links {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-lg);
}

@media (max-width: 1080px) {
  .shop-hero-card {
    grid-template-columns: minmax(220px, 300px) minmax(0, 1fr);
    align-items: center;
  }

  .shop-hero-metrics {
    text-align: left;
  }

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

@media (max-width: 820px) {
  .shop-hero-card {
    grid-template-columns: 1fr;
    align-items: flex-start;
  }

  .shop-hero-metrics {
    text-align: left;
  }

  .currency-toolbar-wrap {
    align-items: flex-start;
  }
}

@media (max-width: 560px) {
  .shop-packs-grid {
    grid-template-columns: 1fr;
  }

  .shop-cta-btn {
    width: 100%;
  }
}
