/* =====================================================================
   Diwa Spin
   Palette : orchid violet (hue 281) on aubergine ink, gold accent sampled
             from the brand wordmark
   Type    : Playfair Display (display, italic accent) + Lexend (body)
   Ornament: "detent dashes" - three stepped violet dashes, plus an
             arrow-notch list bullet and an italic brand watermark
   Hero    : "pennant drop" archetype + payline ray fan
   ===================================================================== */

:root {
  --brand:        #C054F2;
  --brand-dark:   #8E1FC1;
  --brand-light:  #DD9EFA;

  --accent:       #FFCC44;
  --accent-warm:  #FF9A3D;
  --accent-soft:  rgba(255, 204, 68, .16);

  --bg:           #0B0711;
  --bg-card:      #140C1C;
  --bg-elevated:  #1C1226;
  --bg-panel:     #070410;

  --text:         #F3EDF8;
  --text-muted:   #BFB0CE;
  --text-dim:     #8B7C9A;
  --text-on-dark: #F3EDF8;

  --border:       rgba(192, 84, 242, .16);
  --border-strong:rgba(192, 84, 242, .34);
  --border-soft:  rgba(243, 237, 248, .08);

  --font-body:    'Lexend', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-heading: 'Playfair Display', Georgia, 'Times New Roman', serif;

  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 28px;
  --r-pill: 999px;
  --card-radius: 18px;

  --shadow-soft:       0 2px 10px rgba(0, 0, 0, .34);
  --shadow-card:       0 14px 34px rgba(0, 0, 0, .46), 0 2px 0 rgba(192, 84, 242, .07);
  --shadow-card-hover: 0 24px 56px rgba(0, 0, 0, .56), 0 2px 0 rgba(192, 84, 242, .18);
  --shadow-cta:        0 12px 28px rgba(192, 84, 242, .22);

  --container: 1200px;
  --container-wide: 1320px;

  --header-top-h: 2.25rem;
  --header-main-h: 4.5rem;
  --header-h: calc(var(--header-top-h) + var(--header-main-h));
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.72;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  background-image:
    radial-gradient(60rem 40rem at 88% -8%, rgba(192, 84, 242, .09), transparent 62%),
    radial-gradient(46rem 34rem at -10% 32%, rgba(255, 204, 68, .07), transparent 60%);
  background-attachment: fixed;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-light); }

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.16;
  margin: 0 0 .6em;
  letter-spacing: -.012em;
}
h1 { font-size: clamp(2.1rem, 1.3rem + 3.1vw, 3.5rem); }
h2 { font-size: clamp(1.65rem, 1.14rem + 1.85vw, 2.45rem); }
h3 { font-size: clamp(1.2rem, 1.03rem + .62vw, 1.48rem); }
h4 { font-size: .78rem; }
p  { margin: 0 0 1.05rem; }
p:last-child { margin-bottom: 0; }

/* italic accent word in display headings - descender clearance (D3.3) */
.highlight {
  font-style: italic;
  color: var(--brand);
  line-height: 1.12;
  padding-bottom: .1em;
  display: inline-block;
  position: relative;
}
.highlight::after {
  content: "";
  position: absolute;
  left: -.04em; right: -.04em; bottom: .1em;
  height: .3em;
  background: linear-gradient(90deg, rgba(192, 84, 242, .3), rgba(255, 204, 68, .22));
  border-radius: 2px;
  z-index: -1;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--brand); color: #0B0711;
  padding: .7rem 1.1rem; border-radius: 0 0 var(--r-md) 0; font-weight: 600;
}
.skip-link:focus { left: 0; }

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

/* ---------- ornament: detent dashes ---------- */
.kicker {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-family: var(--font-body);
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: .85rem;
}
.kicker::before {
  content: "";
  width: 30px; height: 7px;
  background:
    linear-gradient(var(--brand), var(--brand)) left center / 6px 2px no-repeat,
    linear-gradient(rgba(192, 84, 242, .66), rgba(192, 84, 242, .66)) 11px center / 8px 2px no-repeat,
    linear-gradient(rgba(192, 84, 242, .32), rgba(192, 84, 242, .32)) right center / 9px 2px no-repeat;
  flex: none;
}
.detent {
  display: block;
  width: 34px; height: 8px;
  margin-bottom: 1rem;
  background:
    linear-gradient(var(--brand), var(--brand)) left center / 7px 3px no-repeat,
    linear-gradient(rgba(192, 84, 242, .6), rgba(192, 84, 242, .6)) 12px center / 9px 3px no-repeat,
    linear-gradient(rgba(255, 204, 68, .6), rgba(255, 204, 68, .6)) right center / 10px 3px no-repeat;
}

/* ---------- buttons: three CTA variants ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  white-space: nowrap;
  font-family: var(--font-body);
  font-size: .95rem;
  font-weight: 600;
  letter-spacing: .01em;
  padding: .82rem 1.55rem;
  border-radius: var(--r-pill);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform .18s cubic-bezier(.16, 1, .3, 1), box-shadow .18s, background .18s, color .18s, border-color .18s;
}
.btn:active { transform: translateY(1px) scale(.985); }

/* variant 1: lime fill, ink label */
.btn-primary {
  background: linear-gradient(180deg, var(--brand-light), var(--brand) 52%, var(--brand-dark));
  color: #190B21;
  box-shadow: var(--shadow-cta);
}
.btn-primary:hover { color: #190B21; transform: translateY(-2px); box-shadow: 0 18px 38px rgba(192, 84, 242, .3); }

/* variant 2: ink fill, lime hairline */
.btn-ghost {
  background: rgba(11, 7, 17, .62);
  color: var(--brand-light);
  border-color: var(--border-strong);
}
.btn-ghost:hover { background: rgba(192, 84, 242, .12); color: var(--brand-light); transform: translateY(-2px); }

/* variant 3: rose rail on ink */
.btn-dark {
  background: #0B0711;
  color: #FFEFC4;
  border-color: var(--accent);
  box-shadow: 0 10px 26px rgba(255, 204, 68, .2);
}
.btn-dark:hover { background: var(--accent); color: #1B1304; transform: translateY(-2px); }

/* =====================================================================
   HEADER
   ===================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: var(--bg-panel);
  border-bottom: 1px solid var(--border-soft);
  transition: box-shadow .25s;
}
.site-header.is-scrolled { box-shadow: 0 10px 30px rgba(0, 0, 0, .6); }

.header-top {
  background: #05020C;
  border-bottom: 1px solid var(--border-soft);
}
.header-top-inner {
  min-height: var(--header-top-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.trust-line {
  margin: 0;
  font-size: .72rem;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--text-dim);
  display: inline-flex;
  align-items: center;
  gap: .5rem;
}
.live-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent-warm);
  box-shadow: 0 0 0 0 rgba(255, 204, 68, .6);
  animation: pulse-dot 2.4s ease-out infinite;
  flex: none;
}
@keyframes pulse-dot {
  0%   { box-shadow: 0 0 0 0 rgba(255, 204, 68, .5); }
  70%  { box-shadow: 0 0 0 7px rgba(255, 204, 68, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 204, 68, 0); }
}
.utility-nav ul {
  display: flex; gap: 1.2rem; margin: 0; padding: 0; list-style: none;
}
.utility-nav a {
  font-size: .74rem;
  letter-spacing: .06em;
  color: var(--text-dim);
  text-transform: uppercase;
  font-weight: 500;
}
.utility-nav a:hover { color: var(--brand); }

.header-main-inner {
  min-height: var(--header-main-h);
  display: flex;
  align-items: center;
  gap: 1.6rem;
}
.brand { flex: none; display: flex; align-items: center; }
/* R6: wide wordmark, never an icon crop */
.brand img {
  height: 42px;
  width: auto;
  object-fit: contain;
  border-radius: 6px;
}

.primary-nav { position: relative; margin-left: auto; }
.primary-nav ul {
  display: flex; gap: 1.45rem; margin: 0; padding: 0; list-style: none;
}
.primary-nav a {
  display: inline-block;
  padding: .35rem 0;
  font-size: .92rem;
  font-weight: 500;
  color: var(--text-muted);
}
.primary-nav a:hover, .primary-nav a.active { color: var(--text); }
.nav-indicator {
  position: absolute;
  bottom: -2px; left: 0;
  height: 2px; width: 0;
  background: linear-gradient(90deg, var(--brand), var(--accent));
  border-radius: 2px;
  opacity: 0;
  transition: transform .3s cubic-bezier(.16, 1, .3, 1), width .3s cubic-bezier(.16, 1, .3, 1), opacity .2s;
  pointer-events: none;
}
.header-cta { flex: none; padding: .62rem 1.25rem; font-size: .88rem; }

.burger {
  display: none;
  flex: none;
  width: 44px; height: 44px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  position: relative;
}
.burger span {
  position: absolute;
  left: 11px;
  width: 20px; height: 2px;
  background: var(--brand);
  border-radius: 2px;
  transition: transform .26s cubic-bezier(.16, 1, .3, 1), opacity .2s;
}
.burger span:nth-child(1) { top: 17px; }
.burger span:nth-child(2) { top: 25px; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }

.mobile-nav {
  position: fixed;
  inset: var(--header-h) 0 0;
  background: rgba(7, 4, 16, .97);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  z-index: 55;
  overflow-y: auto;
  padding: 2rem 0 3rem;
}
.mobile-nav[hidden] { display: none; }
.mobile-nav-list { list-style: none; margin: 0 0 1.4rem; padding: 0; }
.mobile-nav-list li { border-bottom: 1px solid var(--border-soft); }
.mobile-nav-list a {
  display: block;
  padding: .95rem .2rem;
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--text);
}
.mobile-nav-list--small a {
  font-family: var(--font-body);
  font-size: .95rem;
  color: var(--text-muted);
  padding: .7rem .2rem;
}
.mobile-nav .btn { width: 100%; margin-top: .6rem; }
body.nav-open { overflow: hidden; }

/* =====================================================================
   HERO - "pennant drop"
   copy column left, a tall V-notched art pennant hanging from the band's
   top edge on the right, payline rays fanning out of the notch tip
   ===================================================================== */
.hero {
  position: relative;
  isolation: isolate;
  padding: 3.4rem 0 0;
  overflow: hidden;
}
.hero-art {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: .34;
  z-index: -2;
}
.hero::before {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(104deg, rgba(11, 7, 17, .96) 24%, rgba(11, 7, 17, .74) 52%, rgba(11, 7, 17, .5) 100%),
    linear-gradient(180deg, rgba(7, 4, 16, .9), transparent 34%, rgba(11, 7, 17, .94));
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, .6fr);
  gap: 2.6rem;
  align-items: start;
  padding-bottom: 5.4rem;
}
.hero-copy { padding-top: 1.2rem; }
.hero h1 { margin-bottom: 1rem; }
.hero-lede {
  font-size: 1.08rem;
  color: var(--text-muted);
  margin-bottom: 1.6rem;
}
.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
  margin-top: 1.4rem;
}

/* the pennant: hangs from the top edge, V notch at the foot */
.hero-pennant {
  position: relative;
  margin-top: -3.4rem;
  align-self: start;
}
.hero-pennant-art {
  position: relative;
  height: 430px;
  overflow: hidden;
  background: var(--bg-elevated);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 58px), 50% 100%, 0 calc(100% - 58px));
  box-shadow: 0 28px 60px rgba(0, 0, 0, .62);
}
.hero-pennant-art img {
  width: 100%; height: 100%; object-fit: cover;
}
.hero-pennant-art::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(192, 84, 242, .14), transparent 36%, rgba(7, 4, 16, .72));
}
/* twin rails clamping the pennant head */
.hero-pennant::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--brand), var(--accent));
  z-index: 2;
}

/* payline ray fan springing from the notch tip */
.payline-rays {
  position: absolute;
  left: 50%;
  bottom: -2px;
  width: 0; height: 0;
  z-index: 3;
}
.payline-rays i {
  position: absolute;
  left: 0; bottom: 0;
  display: block;
  width: 108px; height: 1px;
  transform-origin: 0 50%;
  background: linear-gradient(90deg, rgba(192, 84, 242, .85), rgba(192, 84, 242, 0));
}
.payline-rays i::after {
  content: "";
  position: absolute;
  right: 18px; top: -3px;
  width: 7px; height: 7px;
  background: var(--brand);
  transform: rotate(45deg);
  opacity: .9;
}
.payline-rays i:nth-child(1) { transform: rotate(204deg); }
.payline-rays i:nth-child(2) { transform: rotate(228deg); width: 86px; }
.payline-rays i:nth-child(3) { transform: rotate(270deg); width: 64px; }
.payline-rays i:nth-child(4) { transform: rotate(312deg); width: 86px; }
.payline-rays i:nth-child(5) { transform: rotate(336deg); }
.payline-rays i:nth-child(2)::after,
.payline-rays i:nth-child(4)::after { background: var(--accent); }

/* ---------- stat strip: normal flow, pulled up over the hero floor ---------- */
.stat-strip {
  position: relative;
  z-index: 4;
  margin-top: -3.25rem;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--card-radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.stat-cell {
  background: var(--bg-card);
  padding: 1.5rem 1.35rem;
}
.stat-value {
  display: block;
  font-family: var(--font-heading);
  font-size: clamp(1.7rem, 1.3rem + 1.3vw, 2.3rem);
  font-weight: 800;
  line-height: 1.1;
  background: linear-gradient(180deg, var(--brand-light), var(--brand) 60%, var(--brand-dark));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat-label {
  display: block;
  margin-top: .35rem;
  font-size: .78rem;
  line-height: 1.45;
  color: var(--text-dim);
}

/* =====================================================================
   INNER PAGE HERO
   ===================================================================== */
.page-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 3.6rem 0 5.6rem;
}
.page-hero-art {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: .46;
  z-index: -2;
}
.page-hero::before {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(100deg, rgba(11, 7, 17, .94) 26%, rgba(11, 7, 17, .52) 78%, rgba(11, 7, 17, .34) 100%),
    linear-gradient(180deg, rgba(7, 4, 16, .8), transparent 42%, rgba(11, 7, 17, .94));
}
.crumbs {
  font-size: .78rem;
  color: var(--text-dim);
  margin-bottom: 1rem;
  letter-spacing: .02em;
}
.crumbs a { color: var(--brand); }
.crumbs span[aria-hidden] { margin: 0 .35rem; opacity: .6; }
.page-hero-sub {
  font-size: 1.06rem;
  color: var(--text-muted);
  margin-bottom: .9rem;
}
.page-meta {
  font-size: .78rem;
  color: var(--text-dim);
  margin-bottom: 0;
  letter-spacing: .02em;
}
.page-meta-author { color: var(--brand); font-weight: 500; }

/* =====================================================================
   BUILDER SECTIONS
   ===================================================================== */
.builder-section { padding: 3.6rem 0; }
.builder-section + .builder-section { padding-top: 1.2rem; }

.section-head { margin-bottom: 1.8rem; }
.section-head h2 { margin-bottom: 0; }

.intro-block {
  background: linear-gradient(180deg, rgba(192, 84, 242, .07), rgba(192, 84, 242, .02));
  border-left: 3px solid var(--brand);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  padding: 1.3rem 1.5rem;
  margin-bottom: 2rem;
  color: var(--text-muted);
}

/* ---------- cards ---------- */
.floor-tile, .plain-card, .support-card, .split-copy, .faq-item, .bento-cell {
  position: relative;
}
.floor-tile, .plain-card {
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--card-radius);
  padding: 1.7rem 1.6rem 1.8rem;
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: transform .25s cubic-bezier(.16, 1, .3, 1), box-shadow .25s, border-color .25s;
}
.floor-tile::before, .plain-card::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--brand), var(--accent-warm) 55%, var(--accent));
}
.floor-tile:hover, .plain-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
  border-color: var(--border);
}
.floor-tile p, .plain-card p { color: var(--text-muted); }
.floor-tile h3 { color: var(--text); }

/* italic brand watermark */
.tile-mark {
  position: absolute;
  right: .55rem; bottom: -.25rem;
  font-family: var(--font-heading);
  font-style: italic;
  font-weight: 800;
  font-size: 4.6rem;
  line-height: 1;
  color: rgba(192, 84, 242, .07);
  pointer-events: none;
  transition: color .3s;
}
.floor-tile:hover .tile-mark, .plain-card:hover .tile-mark { color: rgba(255, 204, 68, .14); }

/* ---------- R3 grids ---------- */
.floor-grid { display: grid; gap: 1.3rem; }
.floor-grid--cols-1 { grid-template-columns: minmax(0, 1fr); }
.floor-grid--cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.floor-grid--cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.floor-grid--cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* ---------- R4b rich tiles ---------- */
.floor-grid--rich { grid-template-columns: minmax(0, 1fr); gap: 1.4rem; }
.floor-grid--rich .floor-tile { padding: 2.4rem; }
.floor-grid--rich .floor-tile h4 {
  margin: 1.6rem 0 1rem;
  padding-top: 1rem;
  border-top: 2px solid var(--brand);
  font-family: var(--font-body);
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--brand);
}
.floor-grid--rich .tile-list,
.tile-list {
  list-style: none;
  margin: 1.15rem 0 0;
  padding: 0;
  display: grid;
  gap: .7rem;
}
.tile-list li {
  position: relative;
  background: var(--bg);
  border: 1px solid var(--border-soft);
  border-radius: var(--r-md);
  padding: 1rem 1.15rem 1rem 1.45rem;
  color: var(--text-muted);
  overflow: hidden;
}
.tile-list li::before {
  content: "";
  position: absolute; left: 0; top: 0; bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--brand), var(--accent));
}
ol.tile-list { list-style: decimal; padding-left: 1.4rem; }
ol.tile-list li::before { display: none; }
ol.tile-list li { padding-left: 1.15rem; }
ol.tile-list::marker, ol.tile-list li::marker { color: var(--brand); }

/* ---------- split layout ---------- */
.split-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  gap: 2rem;
  align-items: center;
}
.split-copy {
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--card-radius);
  padding: 1.9rem 1.8rem;
  box-shadow: var(--shadow-card);
}
.split-copy p { color: var(--text-muted); }
.split-media {
  margin: 0;
  border-radius: var(--r-xl);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
  aspect-ratio: 4 / 3;
  background: var(--bg-elevated);
}
.split-media img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- feature check list ---------- */
.feature-check-list {
  list-style: none;
  margin: 1.3rem 0 0;
  padding: 1.3rem 1.4rem;
  display: grid;
  gap: .9rem;
  background: linear-gradient(135deg, rgba(192, 84, 242, .12), rgba(255, 204, 68, .05));
  border-left: 4px solid var(--brand);
  border-radius: 0 var(--r-lg) var(--r-lg) 0;
}
.feature-check-list li {
  position: relative;
  padding-left: 2.1rem;
  color: var(--text-muted);
}
.feature-check-list li::before {
  content: "";
  position: absolute;
  left: 0; top: .42em;
  width: 1.25rem; height: 1.25rem;
  border-radius: 50%;
  background: linear-gradient(180deg, var(--brand-light), var(--brand-dark));
}
.feature-check-list li::after {
  content: "";
  position: absolute;
  left: .4rem; top: .68em;
  width: .34rem; height: .62rem;
  border: solid #190B21;
  border-width: 0 2px 2px 0;
  transform: rotate(42deg);
}
.feature-check-list--plain { padding-bottom: 2rem; }

/* ---------- data tables ---------- */
.data-table-wrap {
  margin-top: 1.4rem;
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
}
.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .9rem;
  min-width: 720px;
}
.data-table th, .data-table td {
  padding: .85rem 1rem;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--border-soft);
  color: var(--text-muted);
}
.data-table thead th {
  background: rgba(192, 84, 242, .12);
  color: var(--brand-light);
  font-family: var(--font-body);
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .09em;
  text-transform: uppercase;
  white-space: nowrap;
}
.data-table tbody th[scope="row"] { color: var(--text); font-weight: 600; }
.data-table tbody tr:last-child th,
.data-table tbody tr:last-child td { border-bottom: none; }
.data-table tbody tr:hover th, .data-table tbody tr:hover td { background: rgba(192, 84, 242, .05); }

/* ---------- R5b image divider ---------- */
.image-divider { padding: 1.4rem 0 2.6rem; }
.image-divider-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr);
  gap: 1.6rem;
  align-items: center;
}
.image-divider-card {
  margin: 0;
  aspect-ratio: 4 / 3;
  border-radius: var(--r-xl);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
  background: var(--bg-elevated);
}
.image-divider-card img { width: 100%; height: 100%; object-fit: cover; }
.image-divider-aside {
  padding: 1.6rem 1.7rem;
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--card-radius);
  box-shadow: var(--shadow-soft);
}
.divider-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--text);
  margin: 0;
}

/* =====================================================================
   FAQ
   ===================================================================== */
.faq-section { padding: 3.4rem 0 4rem; }
.faq-list { display: grid; gap: .85rem; }
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--card-radius);
  overflow: hidden;
  transition: box-shadow .25s, border-color .25s, transform .25s;
}
.faq-item[open] {
  border-color: var(--border-strong);
  box-shadow: var(--shadow-card);
  transform: translateY(-2px);
}
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 1.4rem;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-heading);
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--text);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-mark {
  flex: none;
  position: relative;
  width: 1.55rem; height: 1.55rem;
  border-radius: 50%;
  border: 1.5px solid var(--border-strong);
  transition: transform .3s cubic-bezier(.16, 1, .3, 1), background .25s;
}
.faq-mark::before, .faq-mark::after {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  background: var(--brand);
  transform: translate(-50%, -50%);
}
.faq-mark::before { width: .72rem; height: 2px; }
.faq-mark::after  { width: 2px; height: .72rem; }
.faq-item[open] .faq-mark { transform: rotate(135deg); background: rgba(192, 84, 242, .14); }
.faq-a {
  padding: 0 1.4rem 1.3rem;
  color: var(--text-muted);
}

/* =====================================================================
   HOMEPAGE SECTIONS
   ===================================================================== */
.home-section { padding: 3.8rem 0; }

/* home-intro: two-column prose over a tinted panel */
.home-intro-grid {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: 2.2rem;
  align-items: start;
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--r-xl);
  padding: 2.2rem;
  box-shadow: var(--shadow-card);
}
.home-intro-grid p { color: var(--text-muted); }

/* home-floor: bento */
.bento-floor {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
}
.bento-cell {
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--card-radius);
  padding: 1.7rem 1.6rem;
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: transform .25s cubic-bezier(.16, 1, .3, 1), box-shadow .25s;
}
.bento-cell:hover { transform: translateY(-4px); box-shadow: var(--shadow-card-hover); }
.bento-cell::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0; height: 5px;
  background: linear-gradient(90deg, var(--brand), var(--accent));
}
.bento-cell p { color: var(--text-muted); margin-bottom: 0; }
.bento-cell h3 { margin-bottom: .5rem; }
.bento-cell--wide { grid-column: span 2; }
.bento-cell--art {
  padding: 0;
  min-height: 220px;
  background: var(--bg-elevated);
}
.bento-cell--art img { width: 100%; height: 100%; object-fit: cover; }
.bento-cell--tint {
  background: linear-gradient(140deg, rgba(192, 84, 242, .14), rgba(255, 204, 68, .08)), var(--bg-card);
}

/* home-live: split with image */
.home-live-grid {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  gap: 2rem;
  align-items: center;
}
.home-live-media {
  margin: 0;
  border-radius: var(--r-xl);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
  aspect-ratio: 16 / 10;
  background: var(--bg-elevated);
}
.home-live-media img { width: 100%; height: 100%; object-fit: cover; }

/* home-secure: 4-up deco grid */
.security-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.1rem;
}
.security-cell {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--card-radius);
  padding: 1.6rem 1.4rem 1.7rem;
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}
.security-cell::after {
  content: "";
  position: absolute;
  top: -40px; right: -40px;
  width: 110px; height: 110px;
  border: 1.5px solid rgba(192, 84, 242, .2);
  transform: rotate(45deg);
}
.security-cell h3 { font-size: 1.1rem; }
.security-cell p { color: var(--text-muted); font-size: .94rem; margin-bottom: 0; }

/* home-rewards: bento with a spanning strip */
.rewards-bento {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
}
.rewards-bento .reward-lead { grid-column: span 2; }
.rewards-strip {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--card-radius);
  overflow: hidden;
}
.rewards-strip > div { background: var(--bg-card); padding: 1.4rem 1.5rem; }
.rewards-strip h3 { font-size: 1.05rem; margin-bottom: .4rem; }
.rewards-strip p { color: var(--text-muted); font-size: .92rem; margin: 0; }
.reward-figure {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  font-weight: 800;
  line-height: 1;
  color: var(--brand);
  display: block;
  margin-bottom: .5rem;
}

/* home-support: editorial card with oversized watermark */
.support-card {
  background: linear-gradient(140deg, var(--bg-card), var(--bg-panel));
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 2.6rem;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.support-card .support-mark {
  position: absolute;
  right: -.8rem; bottom: -2.4rem;
  font-family: var(--font-heading);
  font-style: italic;
  font-weight: 800;
  font-size: clamp(6rem, 16vw, 12rem);
  line-height: 1;
  color: rgba(192, 84, 242, .06);
  pointer-events: none;
  white-space: nowrap;
}
.support-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 2rem;
}
.support-grid p { color: var(--text-muted); }

/* =====================================================================
   GAME FLOOR - "tilted card deck" (D6)
   portrait poster tiles, alternating rake, straightening on hover
   ===================================================================== */
.game-deck-section { padding: 3.8rem 0; }
.game-deck {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 1rem .4rem;
  padding: 1.6rem 0 2.2rem;
}
.game-card {
  position: relative;
  display: block;
  margin: 0;
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--bg-elevated);
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-card);
  transition: transform .3s cubic-bezier(.16, 1, .3, 1), box-shadow .3s, border-color .3s;
  will-change: transform;
}
.game-card:nth-child(odd)  { transform: rotate(-2.4deg); }
.game-card:nth-child(even) { transform: rotate(2.4deg) translateY(1.15rem); }
.game-card:hover {
  transform: rotate(0deg) translateY(-.5rem) scale(1.045);
  z-index: 3;
  box-shadow: var(--shadow-card-hover);
  border-color: var(--border-strong);
}
.game-card img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}
.game-card figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 1.5rem .7rem .6rem;
  background: linear-gradient(180deg, transparent, rgba(7, 4, 16, .93));
  font-size: .74rem;
  font-weight: 500;
  line-height: 1.3;
  color: var(--text);
}
.game-deck-note {
  color: var(--text-dim);
  font-size: .85rem;
  margin: 0;
}

/* =====================================================================
   ABOUT
   ===================================================================== */
.about-standards {
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-left: 4px solid var(--brand);
  border-radius: 0 var(--r-xl) var(--r-xl) 0;
  padding: 2rem 2.1rem;
  box-shadow: var(--shadow-card);
}
.about-standards p { color: var(--text-muted); }

/* =====================================================================
   FOOTER
   ===================================================================== */
.site-footer {
  margin-top: 3rem;
  padding-top: 4.5rem;
  background: var(--bg-panel);
  border-top: 1px solid var(--border-soft);
  position: relative;
}
.footer-cta {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.8rem;
  flex-wrap: wrap;
  margin-top: -7.5rem;
  margin-bottom: 3rem;
  padding: 2.4rem 2.4rem;
  border-radius: var(--r-xl);
  background: linear-gradient(140deg, var(--brand-light), var(--brand) 48%, var(--brand-dark));
  box-shadow: 0 30px 70px rgba(0, 0, 0, .55);
  overflow: hidden;
}
.footer-cta-mark {
  position: absolute;
  right: -1rem; bottom: -2.2rem;
  font-family: var(--font-heading);
  font-style: italic;
  font-weight: 900;
  font-size: clamp(5rem, 13vw, 9.5rem);
  line-height: 1;
  color: rgba(25, 11, 33, .16);
  pointer-events: none;
  white-space: nowrap;
}
.footer-cta-copy { position: relative; }
.footer-cta .kicker { color: #2A0940; }
.footer-cta .kicker::before {
  background:
    linear-gradient(#2A0940, #2A0940) left center / 6px 2px no-repeat,
    linear-gradient(rgba(42, 9, 64, .6), rgba(42, 9, 64, .6)) 11px center / 8px 2px no-repeat,
    linear-gradient(rgba(42, 9, 64, .3), rgba(42, 9, 64, .3)) right center / 9px 2px no-repeat;
}
.footer-cta h2 {
  color: #190B21;
  margin: 0;
  font-size: clamp(1.35rem, 1rem + 1.4vw, 2rem);
}
.footer-cta .btn { position: relative; flex: none; }

.footer-map {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr));
  gap: 2rem;
  padding-bottom: 2.6rem;
  border-bottom: 1px solid var(--border-soft);
}
.footer-logo { height: 44px; width: auto; object-fit: contain; border-radius: 6px; }
.footer-pedestal p {
  margin-top: 1rem;
  color: var(--text-dim);
  font-size: .9rem;
}
.pay-pills {
  display: flex; flex-wrap: wrap; gap: .5rem;
  list-style: none; margin: 1.1rem 0 0; padding: 0;
}
.pay-pills li {
  font-size: .72rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--text-muted);
  border: 1px solid var(--border);
  border-radius: var(--r-pill);
  padding: .3rem .75rem;
}
.footer-col h3 {
  font-style: italic;
  font-size: 1.1rem;
  color: var(--text);
  margin-bottom: .9rem;
  position: relative;
  padding-bottom: .6rem;
}
.footer-col h3::after {
  content: "";
  position: absolute; left: 0; bottom: 0;
  width: 26px; height: 2px;
  background: var(--brand);
}
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.footer-col a { color: var(--text-muted); font-size: .92rem; }
.footer-col a:hover { color: var(--brand); }

.trust-pills {
  display: flex; flex-wrap: wrap; gap: .6rem;
  list-style: none; margin: 0; padding: 1.8rem 0 0;
}
.trust-pills li {
  font-size: .76rem;
  color: var(--text-dim);
  border: 1px solid var(--border-soft);
  border-radius: var(--r-pill);
  padding: .35rem .9rem;
}
.footer-base {
  padding: 1.6rem 0 2.4rem;
  display: grid;
  gap: .6rem;
}
.footer-base p { margin: 0; font-size: .8rem; color: var(--text-dim); }
.rg-note { line-height: 1.6; }

/* =====================================================================
   404
   ===================================================================== */
.notfound { padding: 5rem 0 6rem; text-align: left; }
.notfound-code {
  display: block;
  font-family: var(--font-heading);
  font-style: italic;
  font-weight: 900;
  font-size: clamp(8vw, 14vw, 22vw);
  line-height: .9;
  background: linear-gradient(140deg, var(--brand-light), var(--brand) 42%, var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 1rem;
}
.notfound p { color: var(--text-muted); }
.notfound-links {
  display: flex; flex-wrap: wrap; gap: .7rem;
  margin-top: 1.8rem;
}

/* =====================================================================
   REVEALS
   ===================================================================== */
.reveal { opacity: 0; transform: translateY(22px); }
.reveal.is-visible {
  opacity: 1;
  transform: none;
  transition: opacity .6s cubic-bezier(.16, 1, .3, 1), transform .6s cubic-bezier(.16, 1, .3, 1);
}
.reveal.is-visible > * { animation: none; }
.stagger > * { opacity: 0; transform: translateY(16px); }
.stagger.is-visible > * {
  opacity: 1; transform: none;
  transition: opacity .55s cubic-bezier(.16, 1, .3, 1), transform .55s cubic-bezier(.16, 1, .3, 1);
  transition-delay: calc(var(--i, 0) * 60ms);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .reveal, .stagger > * { opacity: 1 !important; transform: none !important; }
  .game-card:nth-child(odd), .game-card:nth-child(even) { transform: none; }
}

/* =====================================================================
   BREAKPOINTS
   ===================================================================== */
@media (max-width: 1100px) {
  .primary-nav ul { gap: 1.05rem; }
  .primary-nav a { font-size: .86rem; }
  .hero-grid { grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); gap: 1.8rem; }
  .hero-pennant-art { height: 380px; }
  .game-deck { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .primary-nav, .header-cta { display: none; }
  .burger { display: block; margin-left: auto; }
  .nav-indicator { display: none; }

  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.8rem;
    padding-bottom: 5rem;
  }
  .hero-copy { padding-top: 0; }
  .hero-pennant { margin-top: 0; order: 2; }
  .hero-pennant-art {
    height: 230px;
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 38px), 50% 100%, 0 calc(100% - 38px));
  }
  .payline-rays i { width: 72px; }
  .payline-rays i:nth-child(2), .payline-rays i:nth-child(4) { width: 58px; }
  .payline-rays i:nth-child(3) { width: 44px; }

  .stat-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .floor-grid--cols-3, .floor-grid--cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split-layout, .home-live-grid, .home-intro-grid, .support-grid, .image-divider-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .bento-floor, .rewards-bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bento-cell--wide, .rewards-bento .reward-lead { grid-column: span 2; }
  .rewards-strip { grid-template-columns: minmax(0, 1fr); }
  .security-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-map { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .game-deck { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 700px) {
  .utility-nav ul { gap: .85rem; }
  .utility-nav a { font-size: .68rem; }
  .trust-line { font-size: .64rem; }
  .support-card { padding: 1.8rem 1.5rem; }
  .home-intro-grid { padding: 1.6rem; }
  .floor-grid--rich .floor-tile { padding: 1.6rem 1.4rem; }
}

@media (max-width: 560px) {
  .container { padding: 0 1.1rem; }
  .floor-grid--cols-2, .floor-grid--cols-3, .floor-grid--cols-4,
  .bento-floor, .rewards-bento, .security-grid, .footer-map {
    grid-template-columns: minmax(0, 1fr);
  }
  .bento-cell--wide, .rewards-bento .reward-lead { grid-column: span 1; }
  .stat-strip { grid-template-columns: minmax(0, 1fr); margin-top: -2.4rem; }
  .hero-grid { padding-bottom: 6.2rem; }
  .game-deck { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .9rem .5rem; }
  .game-card:nth-child(even) { translate: 0 0; transform: rotate(1.8deg) translateY(.7rem); }
  .footer-cta { padding: 1.8rem 1.5rem; }
  .btn { width: 100%; }
  .hero-cta-row .btn, .notfound-links .btn { width: auto; flex: 1 1 auto; }
}

@media (max-width: 620px) {
  .header-top-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: .15rem;
    padding-top: .35rem;
    padding-bottom: .35rem;
  }
  .utility-nav ul { flex-wrap: wrap; gap: .7rem; }
}

@media (max-width: 480px) {
  .game-deck { grid-template-columns: minmax(0, 1fr); }
  .game-card:nth-child(odd), .game-card:nth-child(even) { transform: none; }
}

/* ---------- homepage grid modifiers ---------- */
.home-intro-media { aspect-ratio: 4 / 3; margin: 0; }
.security-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.rewards-strip--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.bento-cell--art { margin: 0; }
.game-deck-section .section-head { margin-bottom: 1rem; }

/* ---------- lightbox (only mounted when a gallery exists) ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 120;
  background: rgba(5, 2, 12, .94);
  display: grid; place-items: center; padding: 2rem;
}
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 100%; max-height: 86vh; border-radius: var(--r-lg); }
.lightbox-close {
  position: absolute; top: 1.2rem; right: 1.4rem;
  width: 44px; height: 44px;
  background: transparent; color: var(--brand);
  border: 1px solid var(--border-strong); border-radius: 50%;
  font-size: 1.5rem; cursor: pointer; line-height: 1;
}

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