/* =========================================================================
   66 Lottery Casino — Design System v2
   - Flat (non-floating) sticky header
   - Container-width everywhere (header, hero, sections, footer)
   - Left-aligned text throughout
   - No full-bleed hero backgrounds — images live inside card slots
   - SVG sparkle icon replaces § ornaments
   - Simpler, modern card design with accent top border
   ========================================================================= */

:root {
  /* Brand reds */
  --brand:            #E22F2F;
  --brand-dark:       #A01818;
  --brand-light:      #FF6B6B;
  --brand-deeper:     #7A0F0F;

  /* Gold / warm accents */
  --accent:           #F7B801;
  --accent-warm:      #FF9F1C;
  --accent-soft:      #FFD0BA;
  --accent-deep:      #C98A00;

  /* Surfaces (warm cream theme) */
  --bg:               #FFF8F2;
  --bg-tint:          #FFEFE2;
  --bg-card:          #FFFFFF;
  --bg-elevated:      #FFF2E8;
  --bg-panel:         #0F0606;
  --bg-panel-soft:    #1C0D0D;

  /* Text */
  --text:             #1A0E0E;
  --text-muted:       #5B3E38;
  --text-dim:         #8A6E68;
  --text-invert:      #FFF6EE;
  --text-invert-dim:  #D4B8A8;

  /* Borders */
  --border:           rgba(226, 47, 47, 0.14);
  --border-strong:    rgba(226, 47, 47, 0.28);
  --border-soft:      rgba(26, 14, 14, 0.08);
  --border-gold:      rgba(247, 184, 1, 0.36);
  --hairline-gold:    rgba(247, 184, 1, 0.55);

  /* Typography */
  --font-body:        'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-heading:     'Fraunces', 'Cormorant Garamond', Georgia, serif;

  /* Scale */
  --fs-xs:    0.75rem;
  --fs-sm:    0.875rem;
  --fs-base:  1rem;
  --fs-lg:    1.125rem;
  --fs-xl:    1.375rem;
  --fs-2xl:   1.75rem;
  --fs-3xl:   2.25rem;
  --fs-4xl:   3rem;
  --fs-5xl:   4rem;

  /* Spacing */
  --sp-1:  0.25rem;
  --sp-2:  0.5rem;
  --sp-3:  0.75rem;
  --sp-4:  1rem;
  --sp-5:  1.5rem;
  --sp-6:  2rem;
  --sp-7:  3rem;
  --sp-8:  4rem;
  --sp-9:  5rem;

  /* Radius */
  --r-sm:  2px;
  --r-md:  6px;
  --r-lg:  10px;
  --r-xl:  16px;
  --r-pill: 999px;

  /* Shadows */
  --sh-sm:  0 1px 2px rgba(26, 14, 14, 0.06);
  --sh-md:  0 8px 24px rgba(226, 47, 47, 0.08), 0 2px 6px rgba(26, 14, 14, 0.04);
  --sh-lg:  0 24px 60px rgba(226, 47, 47, 0.12), 0 8px 24px rgba(26, 14, 14, 0.06);

  /* Layout */
  --container: 1200px;
  --gutter:    1.5rem;
  --header-h:  76px;
}

/* =========================================================================
   Reset + base
   ========================================================================= */

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

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

body {
  margin: 0;
  padding: 0;
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  background-image:
    radial-gradient(1400px 900px at 90% -5%, rgba(247, 184, 1, 0.10), transparent 60%),
    radial-gradient(1000px 700px at -5% 30%, rgba(226, 47, 47, 0.06), transparent 55%);
  background-attachment: fixed;
  min-height: 100vh;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; height: auto; }

a {
  color: var(--brand);
  text-decoration: none;
  transition: color .18s ease;
}
a:hover { color: var(--brand-dark); }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--text);
  line-height: 1.15;
  letter-spacing: -0.015em;
  margin: 0 0 var(--sp-4);
  text-align: left;
}
h1 { font-size: clamp(2rem, 4.6vw, 3.5rem); font-weight: 500; }
h2 { font-size: clamp(1.625rem, 3vw, 2.25rem); font-weight: 500; }
h3 { font-size: clamp(1.125rem, 1.6vw, 1.375rem); font-weight: 600; }
h4 { font-size: var(--fs-lg); }

p { margin: 0 0 var(--sp-4); text-align: left; }

ul, ol { margin: 0 0 var(--sp-4); padding-left: 1.15rem; text-align: left; }
li { margin-bottom: var(--sp-2); }

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

/* =========================================================================
   Buttons
   ========================================================================= */

.btn-primary, .btn-secondary, .btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .85rem 1.5rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--fs-base);
  letter-spacing: .01em;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: var(--r-md);
  cursor: pointer;
  transition: transform .16s ease, box-shadow .22s ease, background .22s ease, color .22s ease;
  line-height: 1;
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
  color: var(--text-invert) !important;
  box-shadow: 0 8px 22px rgba(226, 47, 47, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.14);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(226, 47, 47, 0.34);
  color: var(--text-invert) !important;
}
.btn-secondary {
  background: var(--accent);
  color: var(--text) !important;
  border-color: var(--accent-deep);
  box-shadow: 0 6px 18px rgba(247, 184, 1, 0.24);
}
.btn-secondary:hover {
  background: var(--accent-warm);
  color: var(--text) !important;
  transform: translateY(-2px);
}
.btn-ghost {
  background: transparent;
  color: var(--brand) !important;
  border-color: var(--border-strong);
}
.btn-ghost:hover {
  border-color: var(--brand);
  background: rgba(226, 47, 47, 0.06);
  color: var(--brand-dark) !important;
}

/* =========================================================================
   Header — flat, sticky, container-width
   ========================================================================= */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg-card);
  border-bottom: 1px solid var(--border);
  transition: box-shadow .22s ease, background .22s ease;
}
.site-header.is-scrolled {
  box-shadow: 0 6px 22px rgba(26, 14, 14, 0.06);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: saturate(160%) blur(6px);
  -webkit-backdrop-filter: saturate(160%) blur(6px);
}

.header-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-5);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  flex-shrink: 0;
}
.brand-mark {
  height: 40px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
}

.nav {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1.8rem;
  flex: 1;
  justify-content: center;
}
.nav a {
  color: var(--text);
  font-weight: 500;
  font-size: .94rem;
  padding: .3rem 0;
  letter-spacing: .01em;
  transition: color .18s ease;
  position: relative;
}
.nav a:hover, .nav a.active { color: var(--brand); }
.nav a.active::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  bottom: -.35rem;
  height: 2px;
  background: linear-gradient(90deg, var(--brand), var(--accent));
  border-radius: 2px;
}
.nav-indicator {
  position: absolute;
  bottom: -.35rem;
  left: 0;
  height: 2px;
  width: 0;
  background: linear-gradient(90deg, var(--brand), var(--accent));
  border-radius: 2px;
  transition: left .3s cubic-bezier(.4,.2,.2,1), width .3s cubic-bezier(.4,.2,.2,1);
  pointer-events: none;
}

.header-aside {
  display: flex;
  align-items: center;
  gap: .8rem;
  flex-shrink: 0;
}
.header-cta {
  padding: .65rem 1.1rem;
  font-size: .9rem;
}

/* Mobile toggle */
.menu-toggle {
  display: none;
  background: transparent;
  border: 0;
  width: 44px; height: 44px;
  cursor: pointer;
  padding: 0;
  position: relative;
}
.menu-toggle span {
  display: block;
  position: absolute;
  left: 10px; right: 10px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform .3s ease, top .3s ease, opacity .2s ease;
}
.menu-toggle span:nth-child(1) { top: 14px; }
.menu-toggle span:nth-child(2) { top: 21px; }
.menu-toggle span:nth-child(3) { top: 28px; }
.menu-toggle.open span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

/* =========================================================================
   SVG icon helpers
   ========================================================================= */

.icon {
  display: inline-block;
  width: 1em;
  height: 1em;
  vertical-align: middle;
  fill: currentColor;
}
.icon-sparkle {
  width: 32px;
  height: 32px;
  color: var(--accent);
  margin-bottom: 1rem;
}
.icon-sparkle--sm { width: 20px; height: 20px; }

/* =========================================================================
   Hero — homepage split content + media card, container-width
   ========================================================================= */

.hero {
  padding: clamp(1.5rem, 2.5vw, 2.25rem) 0 clamp(1rem, 1.5vw, 1.5rem);
  position: relative;
  background-image:
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='56' height='56' viewBox='0 0 56 56'><g fill='%23C98A00' opacity='0.13'><path d='M28 8 L30 24 L44 28 L30 32 L28 48 L26 32 L12 28 L26 24 Z'/></g></svg>"),
    radial-gradient(900px 600px at 5% 5%, rgba(247, 184, 1, 0.22), transparent 55%),
    radial-gradient(800px 560px at 100% 100%, rgba(226, 47, 47, 0.12), transparent 55%),
    linear-gradient(180deg, #FFEFE2 0%, #FFF8F2 70%, #FFE9D4 100%);
  background-size: 56px 56px, 100% 100%, 100% 100%, 100% 100%;
  background-repeat: repeat, no-repeat, no-repeat, no-repeat;
  border-bottom: 1px solid var(--border-soft);
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.hero-content { text-align: left; max-width: 600px; }
.hero .kicker {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .35rem .75rem;
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .2em;
  color: var(--accent-deep);
  border: 1px solid var(--accent);
  border-radius: var(--r-pill);
  margin-bottom: 1.4rem;
  background: rgba(247, 184, 1, 0.1);
}
.hero .kicker .icon { width: 14px; height: 14px; color: var(--accent-deep); }
.hero h1 {
  color: var(--text);
  font-size: clamp(2.25rem, 4.4vw, 3.5rem);
  line-height: 1.05;
  margin-bottom: 1.25rem;
}
.hero h1 em {
  font-style: italic;
  font-weight: 400;
  color: var(--brand);
  background: linear-gradient(135deg, var(--brand) 0%, var(--accent-warm) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero .lead {
  color: var(--text-muted);
  font-size: clamp(1rem, 1.35vw, 1.125rem);
  line-height: 1.65;
  margin-bottom: 1.75rem;
  max-width: 560px;
}
.hero-actions {
  display: flex;
  gap: .8rem;
  flex-wrap: wrap;
}

/* Hero media — image card on the right */
.hero-media {
  position: relative;
  aspect-ratio: 4 / 5;
  border: 1px solid var(--border-gold);
  border-top: 3px solid var(--accent);
  border-radius: var(--r-md);
  overflow: hidden;
  background:
    radial-gradient(600px 400px at 30% 20%, rgba(247, 184, 1, 0.4), transparent 60%),
    linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 60%, var(--brand-deeper) 100%);
  box-shadow: var(--sh-lg);
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hero-media .hero-media-fallback {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  padding: 2rem;
  color: var(--text-invert);
}
.hero-media .hero-media-fallback .big-number {
  font-family: var(--font-heading);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(6rem, 12vw, 10rem);
  line-height: 0.9;
  color: var(--accent);
  letter-spacing: -0.03em;
  margin-bottom: .5rem;
  opacity: .95;
}
.hero-media .hero-media-fallback .big-number-sub {
  font-size: .85rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255, 246, 238, 0.8);
}

/* Floating stat chip on hero-media */
.hero-media-chip {
  position: absolute;
  bottom: 1.25rem;
  left: 1.25rem;
  right: 1.25rem;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(6px);
  border: 1px solid var(--border);
  border-top: 2px solid var(--accent);
  border-radius: var(--r-md);
  padding: 1rem 1.1rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  box-shadow: var(--sh-md);
}
.hero-media-chip .dot {
  flex-shrink: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #2ecc71;
  box-shadow: 0 0 0 0 rgba(46, 204, 113, 0.5);
  animation: pulse 1.8s infinite;
}
.hero-media-chip .chip-copy { line-height: 1.35; }
.hero-media-chip .chip-label {
  font-size: .68rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--text-dim);
  display: block;
}
.hero-media-chip .chip-value {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--text);
}

@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(46, 204, 113, 0.55); }
  70%  { box-shadow: 0 0 0 10px rgba(46, 204, 113, 0); }
  100% { box-shadow: 0 0 0 0 rgba(46, 204, 113, 0); }
}

/* Hero stat strip — container-width, below hero */
.hero-bridge {
  padding: clamp(.75rem, 1.5vw, 1.25rem) 0 clamp(.5rem, 1vw, 1rem);
}
.hero-stats-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-top: 3px solid var(--accent);
  border-radius: var(--r-md);
  overflow: hidden;
  box-shadow: var(--sh-md);
}
.stat-tile {
  padding: 1.35rem 1rem;
  text-align: left;
  border-right: 1px solid var(--border-soft);
}
.stat-tile:last-child { border-right: 0; }
.stat-tile .stat-num {
  display: block;
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  color: var(--brand);
  line-height: 1;
  margin-bottom: .35rem;
}
.stat-tile .stat-num em { font-style: italic; color: var(--accent-deep); }
.stat-tile .stat-label {
  display: block;
  font-size: .7rem;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--text-dim);
}

/* =========================================================================
   Page hero (inner pages) — container-width, flat, left-aligned
   ========================================================================= */

.page-hero {
  padding: clamp(2rem, 5vw, 3.25rem) 0 clamp(1.75rem, 4vw, 2.5rem);
  border-bottom: 1px solid var(--border-soft);
  background: linear-gradient(180deg, var(--bg-elevated) 0%, var(--bg) 100%);
}
.page-hero .container {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.page-hero-content { text-align: left; }
.page-hero h1 {
  color: var(--text);
  margin-bottom: 1rem;
  max-width: 720px;
}
.page-hero .subtitle {
  color: var(--text-muted);
  font-size: clamp(1rem, 1.3vw, 1.1rem);
  max-width: 640px;
  line-height: 1.6;
  margin: 0;
}
.breadcrumb {
  display: flex;
  gap: .45rem;
  font-size: .74rem;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--text-dim);
  margin-bottom: 1.1rem;
}
.breadcrumb a { color: var(--accent-deep); }
.breadcrumb a:hover { color: var(--brand); }
.breadcrumb span.sep { color: rgba(26, 14, 14, 0.25); }

.page-hero-media {
  aspect-ratio: 4 / 3;
  background:
    radial-gradient(500px 300px at 30% 20%, rgba(247, 184, 1, 0.4), transparent 60%),
    linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
  border: 1px solid var(--border-gold);
  border-top: 3px solid var(--accent);
  border-radius: var(--r-md);
  overflow: hidden;
  box-shadow: var(--sh-md);
  position: relative;
}
.page-hero-media img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.page-hero-media .big-number {
  position: absolute;
  right: 1.25rem;
  bottom: .5rem;
  font-family: var(--font-heading);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(4.5rem, 9vw, 7rem);
  line-height: 1;
  color: var(--accent);
  letter-spacing: -0.03em;
  opacity: .9;
}

/* =========================================================================
   Sections
   ========================================================================= */

section { padding: clamp(1rem, 1.8vw, 1.5rem) 0; position: relative; }

.home-section-head {
  max-width: 760px;
  margin: 0 0 var(--sp-4);
  text-align: left;
}
.section-label {
  display: inline-block;
  font-size: .74rem;
  text-transform: uppercase;
  letter-spacing: .22em;
  color: var(--accent-deep);
  margin-bottom: .75rem;
  font-weight: 600;
}
.section-heading { font-size: clamp(1.625rem, 3vw, 2.25rem); margin-bottom: .75rem; }
.section-intro {
  font-size: clamp(1rem, 1.2vw, 1.05rem);
  color: var(--text-muted);
  line-height: 1.65;
  max-width: 660px;
  margin: 0;
}

.section-head { text-align: left; max-width: 820px; margin: 0 0 2rem; }
.section-head h2 { margin-bottom: .75rem; }
.section-head p { color: var(--text-muted); max-width: 720px; margin: 0; font-size: 1rem; }

/* Intro block — left-aligned, container-width */
.intro-block {
  max-width: 820px;
  margin: 0;
  text-align: left;
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.75;
}
.intro-block p { margin-bottom: 1.1rem; }
.intro-block p:last-child { margin-bottom: 0; }

/* =========================================================================
   Floor grid (H3 subsection tiles) — simpler modern cards
   ========================================================================= */

.floor-grid {
  display: grid;
  gap: 1.1rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.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)); }

.floor-tile {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-top: 3px solid var(--accent);
  border-radius: var(--r-md);
  padding: 1.75rem 1.5rem;
  transition: transform .2s ease, box-shadow .22s ease, border-color .22s ease;
  text-align: left;
}
.floor-tile:hover {
  transform: translateY(-3px);
  box-shadow: var(--sh-md);
  border-color: var(--border-gold);
}
.floor-tile h3 {
  color: var(--text);
  margin-bottom: .6rem;
  font-size: 1.2rem;
}
.floor-tile p {
  color: var(--text-muted);
  font-size: .95rem;
  margin-bottom: 0;
  line-height: 1.6;
}
.floor-tile p + p { margin-top: .8rem; }
.floor-tile ul, .floor-tile ol { color: var(--text-muted); padding-left: 1.1rem; font-size: .95rem; }

/* Tile copy — paragraph with bold label at start */
.tile-copy { color: var(--text-muted); font-size: .96rem; line-height: 1.6; margin: 0; text-align: left; }
.tile-copy strong {
  display: block;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.2rem;
  color: var(--text);
  margin-bottom: .4rem;
  letter-spacing: -0.01em;
}

/* Plain editorial card */
.plain-card {
  max-width: 100%;
  margin: 0;
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-top: 3px solid var(--accent);
  border-radius: var(--r-md);
  padding: 2rem clamp(1.5rem, 3vw, 2.25rem);
  text-align: left;
  box-shadow: var(--sh-sm);
}
.plain-card p {
  color: var(--text-muted);
  font-size: 1.025rem;
  line-height: 1.75;
}
.plain-card p:last-child { margin-bottom: 0; }

/* =========================================================================
   Split layout (image + feature list)
   ========================================================================= */

.split-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: center;
  max-width: 100%;
  margin: 0;
}
.split-layout--reverse { direction: rtl; }
.split-layout--reverse > * { direction: ltr; }
.split-media {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border-gold);
  border-top: 3px solid var(--accent);
  border-radius: var(--r-md);
  aspect-ratio: 4 / 5;
  box-shadow: var(--sh-md);
  background:
    radial-gradient(400px 300px at 30% 20%, rgba(247, 184, 1, 0.35), transparent 60%),
    linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
}
.split-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.split-media:hover img { transform: scale(1.03); }

.split-content { text-align: left; }
.split-content h2 { margin-bottom: 1rem; }
.split-content > p { color: var(--text-muted); margin-bottom: 1.25rem; line-height: 1.7; }

.feature-check-list, .feature-check-list--plain {
  list-style: none;
  padding: 1.5rem 1.6rem;
  margin: 0;
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-left: 3px solid var(--accent);
  border-radius: var(--r-md);
}
.feature-check-list--plain {
  max-width: 100%;
  margin: 1.5rem 0 0;
}
.feature-check-list li, .feature-check-list--plain li {
  position: relative;
  padding-left: 2.1rem;
  margin-bottom: .9rem;
  color: var(--text);
  font-size: 1rem;
  line-height: 1.6;
  text-align: left;
}
.feature-check-list li::before, .feature-check-list--plain li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .3rem;
  width: 1.4rem;
  height: 1.4rem;
  background:
    linear-gradient(135deg, var(--accent) 0%, var(--accent-warm) 100%)
    no-repeat center/50% 50%;
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><circle cx='12' cy='12' r='11' fill='black'/></svg>") center/cover;
          mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><circle cx='12' cy='12' r='11' fill='black'/></svg>") center/cover;
  border-radius: 50%;
}
.feature-check-list li::after, .feature-check-list--plain li::after {
  content: "";
  position: absolute;
  left: .35rem;
  top: .56rem;
  width: .7rem;
  height: .42rem;
  border-left: 2px solid var(--text);
  border-bottom: 2px solid var(--text);
  transform: rotate(-45deg);
}
.feature-check-list li:last-child, .feature-check-list--plain li:last-child { margin-bottom: 0; }

/* Image divider — container-width (inside .container), NOT full-bleed */
.image-divider { padding: 0; }
.image-divider-inner {
  position: relative;
  width: 100%;
  aspect-ratio: 21 / 9;
  max-width: var(--container);
  margin: 0 auto;
  overflow: hidden;
  border-radius: var(--r-md);
  border: 1px solid var(--border-soft);
  border-top: 3px solid var(--accent);
  box-shadow: var(--sh-md);
}
.image-divider-inner img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 40%;
}

/* =========================================================================
   Home bespoke sections
   ========================================================================= */

/* home-intro — SVG sparkle + left-aligned + split grid */
.home-intro { padding-top: clamp(1.25rem, 2vw, 1.75rem); padding-bottom: clamp(.75rem, 1.5vw, 1.25rem); }
.home-intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: center;
}
.home-intro-main { text-align: left; }
.home-intro-main .home-section-head { max-width: none; margin-bottom: var(--sp-4); }
.home-intro-main .icon-sparkle { margin-bottom: .75rem; }
.home-intro .intro-copy {
  max-width: none;
  margin: .75rem 0 1.5rem;
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.7;
  text-align: left;
}
.home-intro-aside { width: 100%; }
.intro-pillars {
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-top: 3px solid var(--accent);
  border-radius: var(--r-md);
  padding: 1.25rem 1.25rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .85rem 1rem;
  box-shadow: var(--sh-sm);
}
.pillar {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  padding: .35rem 0;
}
.pillar-icon {
  flex-shrink: 0;
  width: 36px; height: 36px;
  padding: 7px;
  background: linear-gradient(135deg, rgba(247,184,1,0.16), rgba(255,159,28,0.08));
  border-radius: var(--r-sm);
  color: var(--accent-deep);
}
.pillar strong {
  display: block;
  font-family: var(--font-heading);
  font-size: .98rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: .1rem;
}
.pillar span {
  font-size: .8rem;
  color: var(--text-muted);
  line-height: 1.4;
}
@media (max-width: 900px) {
  .home-intro-grid { grid-template-columns: minmax(0, 1fr); gap: 1.75rem; }
  .intro-pillars { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  .intro-pillars { grid-template-columns: 1fr; }
}
.home-intro .intro-copy p + p { margin-top: 1rem; }

.cta-inline {
  display: flex;
  gap: .8rem;
  flex-wrap: wrap;
  justify-content: flex-start;
}

/* home-floor — bento grid */
.home-floor .bento {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: minmax(160px, auto);
  gap: 1rem;
}
.home-floor .bento .floor-tile--wide    { grid-column: span 2; }
.home-floor .bento .floor-tile--feature {
  grid-column: span 2;
  grid-row: span 2;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
  color: var(--text-invert);
  border-top-color: var(--accent);
}
.home-floor .bento .floor-tile--feature h3,
.home-floor .bento .floor-tile--feature .tile-copy strong { color: var(--text-invert); font-size: 1.8rem; }
.home-floor .bento .floor-tile--feature p,
.home-floor .bento .floor-tile--feature .tile-copy { color: rgba(255, 246, 238, 0.88); }
.home-floor .bento .floor-tile--feature .tile-copy { font-size: 1.05rem; }

/* home-games — 4-up modern grid with SVG diamond corners */
.security-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}
.security-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-top: 3px solid var(--accent);
  border-radius: var(--r-md);
  padding: 1.75rem 1.4rem;
  text-align: left;
  overflow: hidden;
  transition: transform .22s ease, box-shadow .22s ease;
}
.security-card:hover { transform: translateY(-3px); box-shadow: var(--sh-md); }
.security-card .icon-sparkle {
  width: 28px;
  height: 28px;
  color: var(--accent);
  margin-bottom: 0.75rem;
}
.security-card h3 { font-size: 1.15rem; margin-bottom: .4rem; }
.security-card p { color: var(--text-muted); font-size: .92rem; margin: 0; line-height: 1.55; }
.security-card .tile-copy strong { font-size: 1.15rem; }
.security-card .tile-copy { color: var(--text-muted); font-size: .92rem; }

/* home-rewards — bento with welcome card */
.rewards-bento {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: minmax(130px, auto);
  gap: 1rem;
}
.welcome-card {
  grid-column: span 2;
  grid-row: span 2;
  background:
    radial-gradient(500px 400px at 20% 30%, rgba(247, 184, 1, 0.45), transparent 60%),
    linear-gradient(135deg, var(--brand-dark) 0%, var(--brand-deeper) 100%);
  color: var(--text-invert);
  padding: 2.25rem 1.9rem;
  border: 1px solid var(--border-gold);
  border-top: 3px solid var(--accent);
  border-radius: var(--r-md);
  position: relative;
  overflow: hidden;
  text-align: left;
}
.welcome-card .kicker {
  display: inline-block;
  font-size: .7rem;
  text-transform: uppercase;
  letter-spacing: .2em;
  color: var(--accent);
  margin-bottom: .75rem;
}
.welcome-card__heading, .welcome-card h3 {
  color: var(--text-invert);
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  margin-bottom: .75rem;
  font-family: var(--font-heading);
  font-weight: 500;
}
.welcome-card p {
  color: rgba(255, 246, 238, 0.88);
  margin-bottom: 1.25rem;
  line-height: 1.6;
}
.reward-card {
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-top: 3px solid var(--accent);
  border-radius: var(--r-md);
  padding: 1.35rem 1.1rem;
  transition: transform .2s ease, box-shadow .22s ease;
  text-align: left;
}
.reward-card:hover { transform: translateY(-3px); box-shadow: var(--sh-md); }
.reward-card p { font-size: .94rem; color: var(--text-muted); margin: 0; line-height: 1.55; }
.welcome-card__heading { font-family: var(--font-heading); font-weight: 500; }

.vip-strip {
  grid-column: span 4;
  background: linear-gradient(90deg, var(--bg-panel) 0%, var(--bg-panel-soft) 100%);
  color: var(--text-invert);
  padding: 1.5rem 1.75rem;
  border: 1px solid var(--border-gold);
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  text-align: left;
}
.vip-strip .vip-inner {
  display: flex; align-items: center; gap: 1rem; flex-wrap: wrap;
}
.vip-strip .vip-kicker {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 1.6rem;
  color: var(--accent);
  line-height: 1;
  font-weight: 500;
}
.vip-strip p { margin: 0; color: rgba(255, 246, 238, 0.85); max-width: 680px; }

/* home-support — editorial card */
.support-card {
  position: relative;
  max-width: 100%;
  margin: 0;
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-top: 3px solid var(--accent);
  border-radius: var(--r-md);
  padding: 2.5rem clamp(1.5rem, 3vw, 2.5rem);
  text-align: left;
  overflow: hidden;
}
.support-card::before {
  content: "24/7";
  position: absolute;
  top: 50%;
  right: -.5rem;
  transform: translateY(-50%);
  font-family: var(--font-heading);
  font-style: italic;
  font-size: clamp(6rem, 14vw, 10rem);
  font-weight: 500;
  color: rgba(247, 184, 1, 0.075);
  line-height: 1;
  pointer-events: none;
  z-index: 0;
  letter-spacing: -0.04em;
}
.support-card > * { position: relative; z-index: 1; }
.support-card h2 { margin-bottom: 1rem; }
.support-card p { color: var(--text-muted); font-size: 1.025rem; line-height: 1.7; max-width: 680px; margin: 0 0 1.25rem; }

/* =========================================================================
   Content-page sections (inner pages, post-hero)
   ========================================================================= */

.content-sections section { padding: clamp(1rem, 1.8vw, 1.5rem) 0; }
.content-sections section:first-child { padding-top: clamp(1rem, 1.8vw, 1.5rem); }
.content-sections section.image-divider { padding: clamp(.75rem, 1.5vw, 1.25rem) 0; }

/* =========================================================================
   Footer — flat, container-width, no ornaments
   ========================================================================= */

.site-footer {
  background: var(--bg-panel);
  color: var(--text-invert);
  margin-top: var(--sp-4);
  padding: clamp(1.5rem, 2.5vw, 2rem) 0 clamp(.75rem, 1vw, 1.25rem);
  border-top: 3px solid var(--accent);
  position: relative;
}

.footer-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.footer-main {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: clamp(1.5rem, 3vw, 2.5rem);
  align-items: flex-start;
  padding-bottom: 1.75rem;
  border-bottom: 1px solid rgba(247, 184, 1, 0.14);
}

.footer-pedestal { max-width: 360px; text-align: left; }
.footer-pedestal .brand-mark { height: 42px; filter: brightness(1.2) contrast(1.05); margin-bottom: 1rem; }
.footer-pedestal p { color: rgba(255, 246, 238, 0.72); line-height: 1.65; font-size: .92rem; margin: 0; }

.footer-col { text-align: left; }
.footer-col h4 {
  font-family: var(--font-heading);
  font-size: .82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .2em;
  color: var(--accent);
  margin: 0 0 1rem;
  text-align: left;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; text-align: left; }
.footer-col li { margin-bottom: .55rem; }
.footer-col a {
  color: rgba(255, 246, 238, 0.75);
  font-size: .92rem;
  transition: color .18s ease, padding-left .22s ease;
  text-align: left;
}
.footer-col a:hover { color: var(--accent); padding-left: .3rem; }

/* Accreditations */
.footer-accreditations {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .85rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid rgba(247, 184, 1, 0.14);
}
.accred-badge {
  background: rgba(247, 184, 1, 0.04);
  border: 1px solid rgba(247, 184, 1, 0.14);
  border-radius: var(--r-md);
  padding: 1rem .9rem;
  text-align: left;
  transition: background .22s ease, border-color .22s ease;
  display: flex;
  align-items: center;
  gap: .8rem;
}
.accred-badge:hover { background: rgba(247, 184, 1, 0.07); border-color: rgba(247, 184, 1, 0.28); }
.accred-badge .accred-icon {
  flex-shrink: 0;
  width: 32px; height: 32px;
  color: var(--accent);
}
.accred-badge strong {
  display: block;
  font-family: var(--font-heading);
  font-size: .95rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: .02em;
  margin-bottom: .15rem;
}
.accred-badge small {
  display: block;
  font-size: .72rem;
  color: rgba(255, 246, 238, 0.55);
  letter-spacing: .03em;
}

/* Footer bottom */
.footer-bottom {
  text-align: left;
  padding: 1.5rem 0 0;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-bottom p {
  margin: 0;
  color: rgba(255, 246, 238, 0.55);
  font-size: .82rem;
  letter-spacing: .02em;
  text-align: left;
}
.footer-bottom p.disclaimer {
  font-style: italic;
  font-size: .78rem;
  color: rgba(255, 246, 238, 0.42);
}

/* =========================================================================
   404
   ========================================================================= */

.err-404 {
  min-height: 62vh;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  text-align: left;
  padding: var(--sp-9) 0;
}
.err-404 .container { width: 100%; }
.err-404 .glyph {
  font-family: var(--font-heading);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(5rem, 14vw, 10rem);
  line-height: 1;
  background: linear-gradient(135deg, var(--brand) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 1rem;
  letter-spacing: -0.04em;
  text-align: left;
}
.err-404 h1 { margin-bottom: 1rem; max-width: 640px; }
.err-404 p { color: var(--text-muted); max-width: 560px; margin: 0 0 1.75rem; }

/* =========================================================================
   Responsive
   ========================================================================= */

@media (max-width: 1024px) {
  .footer-main { grid-template-columns: 2fr 1fr 1fr; }
  .footer-pedestal { grid-column: 1 / -1; max-width: none; margin-bottom: 1rem; }
}

@media (max-width: 900px) {
  :root { --header-h: 64px; }

  .menu-toggle { display: block; }
  .nav-indicator { display: none; }

  .nav {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(255, 248, 242, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 6rem 2rem 2rem;
    gap: 1.6rem;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity .24s ease, transform .24s ease;
    z-index: 90;
  }
  .nav.open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }
  .nav a { font-size: 1.4rem; font-family: var(--font-heading); font-weight: 500; }

  .header-cta { display: none; }

  /* Hero stacks */
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
  .hero-media { aspect-ratio: 16 / 10; }

  .page-hero .container { grid-template-columns: minmax(0, 1fr); gap: 1.5rem; }
  .page-hero-media { aspect-ratio: 16 / 10; }

  .hero-stats-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat-tile { border-bottom: 1px solid var(--border-soft); }
  .stat-tile:nth-child(2) { border-right: 0; }
  .stat-tile:nth-child(3), .stat-tile:nth-child(4) { border-bottom: 0; }

  .split-layout { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
  .split-layout--reverse { direction: ltr; }
  .split-media { aspect-ratio: 16 / 10; }

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

  .home-floor .bento,
  .rewards-bento,
  .security-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-floor .bento .floor-tile--wide,
  .home-floor .bento .floor-tile--feature { grid-column: span 2; grid-row: auto; }
  .welcome-card { grid-column: span 2; grid-row: auto; }
  .vip-strip { grid-column: span 2; }

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

@media (max-width: 560px) {
  :root { --sp-9: 3.5rem; --sp-8: 2.5rem; }

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

  .home-floor .bento,
  .rewards-bento,
  .security-grid { grid-template-columns: minmax(0, 1fr); }
  .home-floor .bento .floor-tile--wide,
  .home-floor .bento .floor-tile--feature,
  .welcome-card { grid-column: auto; }
  .vip-strip { grid-column: auto; flex-direction: column; align-items: flex-start; }

  .hero-actions, .cta-inline { flex-direction: column; align-items: stretch; width: 100%; }
  .hero-actions .btn-primary, .hero-actions .btn-secondary,
  .cta-inline .btn-primary, .cta-inline .btn-secondary, .cta-inline .btn-ghost { width: 100%; }

  .hero-stats-strip { grid-template-columns: 1fr 1fr; }

  .footer-main { grid-template-columns: 1fr; gap: 1.5rem; padding-bottom: 2rem; }
  .footer-accreditations { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Focus states */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
.btn-primary:focus-visible, .btn-secondary:focus-visible { outline-offset: 4px; }

/* Selection */
::selection { background: rgba(247, 184, 1, 0.35); color: var(--text); }

/* Skip link */
.skip-link {
  position: absolute;
  top: -100px; left: 0;
  background: var(--brand);
  color: var(--text-invert);
  padding: .6rem 1rem;
  z-index: 500;
  border-radius: 0 0 var(--r-md) 0;
}
.skip-link:focus { top: 0; }
