/* =================================================================
   Maha Games — Design System
   Palette: emerald teal (brand) · sunshine gold (accent) · coral warm
   Fonts:   DM Serif Display (display) + Manrope (body)
   Mood:    playful, vibrant, light, editorial
   ================================================================= */

:root {
  /* Colors */
  --brand:         #009174;
  --brand-dark:    #006b55;
  --brand-light:   #2fc296;
  --brand-deep:    #0a3328;

  --accent:        #f5b50b;   /* sunshine gold */
  --accent-warm:   #e85d34;   /* coral orange */
  --accent-soft:   #ffe3a8;   /* pale gold wash */
  --accent-rose:   #f84b6c;   /* playful pink-red for kickers */

  --bg:            #fffdf6;   /* warm cream page bg */
  --bg-card:       #ffffff;
  --bg-elevated:   #fff4d9;   /* pale yellow surface */
  --bg-panel:      #082018;   /* deep teal near-black footer */
  --bg-tint:       #ecf6f1;   /* mint tint for splits */

  --text:          #0e2a24;
  --text-muted:    #4d5f5b;
  --text-dim:      #78867f;
  --text-invert:   #fdfaf0;

  --border:        rgba(245, 181, 11, 0.22);
  --border-strong: rgba(245, 181, 11, 0.42);
  --border-soft:   rgba(14, 42, 36, 0.10);
  --border-ink:    rgba(14, 42, 36, 0.14);

  /* Typography */
  --font-body:     'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-heading:  'DM Serif Display', 'Cormorant Garamond', Georgia, serif;

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

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

  /* Shadows */
  --sh-sm:  0 1px 2px rgba(10, 40, 30, 0.06);
  --sh-md:  0 12px 26px -16px rgba(10, 40, 30, 0.22), 0 2px 6px rgba(10, 40, 30, 0.05);
  --sh-lg:  0 32px 60px -28px rgba(10, 40, 30, 0.28), 0 4px 12px rgba(10, 40, 30, 0.06);
  --sh-gold:0 18px 38px -14px rgba(245, 181, 11, 0.48);

  /* Container */
  --container: 1200px;
}

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

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

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

body {
  margin: 0;
  padding-top: 4.5rem; /* clear fixed header */
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.66;
  font-weight: 400;
  letter-spacing: 0.002em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-image:
    radial-gradient(1200px 700px at 110% -8%, rgba(245, 181, 11, 0.09), transparent 60%),
    radial-gradient(900px 520px at -12% 18%, rgba(0, 145, 116, 0.09), transparent 62%),
    radial-gradient(1000px 620px at 120% 80%, rgba(232, 93, 52, 0.07), transparent 60%);
}

body.no-scroll { overflow: hidden; }

h1, h2, h3, h4, h5 {
  font-family: var(--font-heading);
  color: var(--text);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.014em;
  margin: 0 0 0.5em;
}

h1 { font-size: clamp(2.4rem, 5.2vw, 4.4rem); }
h2 { font-size: clamp(1.85rem, 3.8vw, 3.1rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.65rem); line-height: 1.2; }
h4 { font-size: 1.05rem; letter-spacing: 0.12em; font-family: var(--font-body); text-transform: uppercase; font-weight: 700; color: var(--accent); }

p  { margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }

a  { color: var(--brand-dark); text-decoration: none; text-decoration-thickness: 1px; text-underline-offset: 3px; transition: color .18s ease; }
a:hover { color: var(--accent-warm); text-decoration: underline; }

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

ul, ol { padding-left: 1.25rem; margin: 0 0 1rem; }
li { margin-bottom: 0.4rem; }

::selection { background: var(--accent); color: var(--text); }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(1rem, 3vw, 2.25rem);
  width: 100%;
}

.kicker, .section-label, .err-kicker, .home-kicker {
  font-family: var(--font-body);
  font-size: 0.78rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--accent-warm);
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}
.section-label::before,
.home-kicker::before {
  content: "";
  width: 24px;
  height: 1px;
  background: currentColor;
  display: inline-block;
}

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

.btn-primary, .btn-secondary, .btn-ghost, .btn-accent {
  --btn-bg: var(--brand);
  --btn-fg: var(--text-invert);
  --btn-br: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.92rem 1.6rem;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.96rem;
  letter-spacing: 0.02em;
  border-radius: var(--r-pill);
  text-decoration: none !important;
  color: var(--btn-fg) !important;
  background: var(--btn-bg);
  border: 1.5px solid var(--btn-br);
  cursor: pointer;
  transition: transform .22s cubic-bezier(.2,.7,.2,1), box-shadow .22s, background .22s, color .22s;
  box-shadow: var(--sh-md);
  position: relative;
  isolation: isolate;
}

.btn-primary {
  --btn-bg: linear-gradient(120deg, var(--brand) 0%, var(--brand-light) 100%);
  --btn-fg: #fdfaf0;
  box-shadow: 0 12px 30px -10px rgba(0, 145, 116, 0.55), 0 2px 6px rgba(10, 40, 30, .08);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 42px -10px rgba(0, 145, 116, 0.65), var(--sh-gold);
}

.btn-secondary {
  --btn-bg: transparent;
  --btn-fg: var(--text);
  --btn-br: var(--text);
}
.btn-secondary:hover {
  --btn-bg: var(--text);
  --btn-fg: var(--bg);
  transform: translateY(-2px);
}

.btn-accent {
  --btn-bg: linear-gradient(120deg, var(--accent) 0%, #f9c639 100%);
  --btn-fg: #2a1a02;
  box-shadow: var(--sh-gold);
}
.btn-accent:hover { transform: translateY(-2px); }

.btn-ghost {
  --btn-bg: transparent;
  --btn-fg: var(--brand-dark);
  --btn-br: transparent;
  box-shadow: none;
  padding: 0.4rem 0;
  text-decoration: underline !important;
  text-underline-offset: 6px;
  text-decoration-thickness: 1.5px;
  text-decoration-color: var(--accent);
}
.btn-ghost:hover { --btn-fg: var(--accent-warm); }

/* =================================================================
   Dark sticky header (container-aligned)
   ================================================================= */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: var(--bg-panel);
  border-bottom: 1px solid rgba(245, 181, 11, 0.18);
  box-shadow: 0 10px 28px -20px rgba(0, 0, 0, 0.55);
  transition: background .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.site-header::before {
  /* thin gold hairline accent at bottom edge */
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, var(--accent) 28%, var(--accent-warm) 50%, var(--accent) 72%, transparent 100%);
  opacity: .55;
  pointer-events: none;
}
.site-header.is-scrolled {
  background: var(--brand-deep);
  box-shadow: 0 14px 34px -18px rgba(0, 0, 0, 0.75);
}

.header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.25rem;
  padding-top: 0.7rem;
  padding-bottom: 0.7rem;
  min-height: 4.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  flex-shrink: 0;
}
.brand-mark {
  height: 38px;
  width: auto;
  object-fit: contain;
  display: block;
}
.site-header.is-scrolled .brand-mark { height: 34px; }

.nav {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.15rem;
}

.nav a,
.nav .nav-trigger {
  position: relative;
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 600;
  color: rgba(253, 250, 240, 0.82);
  padding: 0.55rem 0.9rem;
  border-radius: var(--r-pill);
  transition: color .18s ease;
  letter-spacing: 0.01em;
  text-decoration: none;
}
.nav a:hover,
.nav .nav-trigger:hover,
.nav .nav-trigger[aria-expanded="true"] { color: var(--accent); text-decoration: none; }
.nav a.active { color: var(--accent); }

/* Dropdown trigger (button) */
.nav .nav-trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  background: transparent;
  border: 0;
  cursor: pointer;
}
.nav .nav-trigger .nav-caret {
  font-size: 0.7rem;
  transform: translateY(1px);
  transition: transform .2s ease;
}
.nav .nav-trigger[aria-expanded="true"] .nav-caret { transform: translateY(1px) rotate(180deg); }

/* Dropdown menu panel */
.nav-group { position: relative; }
.nav-menu {
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 50%;
  transform: translate(-50%, -6px);
  min-width: 220px;
  padding: 0.5rem;
  background: var(--brand-deep);
  border: 1px solid rgba(245, 181, 11, 0.22);
  border-radius: var(--r-sm);
  box-shadow: 0 18px 38px -14px rgba(0, 0, 0, 0.55);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease, visibility .2s;
  z-index: 110;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}
.nav-menu::before {
  /* little gold hairline connector */
  content: "";
  position: absolute;
  top: -0.5rem; left: 0; right: 0;
  height: 0.5rem;
}
.nav-menu a {
  padding: 0.6rem 0.85rem;
  border-radius: var(--r-sm);
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(253, 250, 240, 0.88);
  white-space: nowrap;
}
.nav-menu a:hover {
  background: rgba(245, 181, 11, 0.1);
  color: var(--accent);
}
.nav-group:hover .nav-menu,
.nav-group:focus-within .nav-menu,
.nav-group[data-open="true"] .nav-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.nav-indicator {
  position: absolute;
  bottom: 0.1rem;
  left: 0;
  height: 2px;
  width: 0;
  background: linear-gradient(90deg, var(--accent) 0%, var(--accent-warm) 100%);
  border-radius: 2px;
  opacity: 0;
  pointer-events: none;
  transition: left .28s cubic-bezier(.2,.7,.2,1), width .28s cubic-bezier(.2,.7,.2,1), opacity .2s;
}
.nav:hover .nav-indicator,
.nav:focus-within .nav-indicator { opacity: 1; }

.header-aside {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.header-cta {
  padding: 0.6rem 1.1rem;
  font-size: 0.86rem;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(245, 181, 11, 0.35);
  border-radius: var(--r-pill);
  background: transparent;
  cursor: pointer;
  position: relative;
}
.menu-toggle span {
  display: block;
  position: absolute;
  left: 11px;
  right: 11px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
  transition: transform .25s ease, opacity .25s ease, top .25s ease;
}
.menu-toggle span:nth-child(1) { top: 14px; }
.menu-toggle span:nth-child(2) { top: 20px; }
.menu-toggle span:nth-child(3) { top: 26px; }
.menu-toggle.is-open span:nth-child(1) { top: 20px; transform: rotate(45deg); }
.menu-toggle.is-open span:nth-child(2) { opacity: 0; }
.menu-toggle.is-open span:nth-child(3) { top: 20px; transform: rotate(-45deg); }

/* =================================================================
   Hero — centered editorial layout
   ================================================================= */

.hero {
  position: relative;
  padding: clamp(3.5rem, 8vw, 5.5rem) 0 clamp(3rem, 6vw, 4.5rem);
  overflow: hidden;
  isolation: isolate;
  text-align: center;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(900px 640px at 20% 0%,  rgba(245, 181, 11, 0.22), transparent 60%),
    radial-gradient(820px 600px at 100% 20%, rgba(0, 145, 116, 0.18), transparent 60%),
    radial-gradient(700px 520px at 50% 110%, rgba(232, 93, 52, 0.14), transparent 60%);
}
.hero::after {
  /* faint dotted pattern */
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: radial-gradient(rgba(14, 42, 36, 0.09) 1px, transparent 1px);
  background-size: 24px 24px;
  background-position: 12px 12px;
  mask-image: radial-gradient(ellipse 72% 60% at 50% 50%, rgba(0,0,0,0.6), transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 72% 60% at 50% 50%, rgba(0,0,0,0.6), transparent 75%);
  pointer-events: none;
}

/* Decorative "chip" ornaments (rings) */
.hero-chip {
  position: absolute;
  border-radius: 50%;
  z-index: -1;
  pointer-events: none;
  opacity: 0.85;
}
.hero-chip--a {
  width: 110px; height: 110px;
  top: 12%; left: 6%;
  background: radial-gradient(circle at 30% 30%, rgba(245, 181, 11, 0.9), rgba(245, 181, 11, 0));
  box-shadow: 0 10px 30px -10px rgba(245, 181, 11, 0.6);
}
.hero-chip--b {
  width: 140px; height: 140px;
  top: 18%; right: 7%;
  background: radial-gradient(circle at 40% 40%, rgba(0, 145, 116, 0.6), rgba(0, 145, 116, 0));
}
.hero-chip--c {
  width: 80px; height: 80px;
  bottom: 10%; left: 18%;
  background: radial-gradient(circle at 30% 30%, rgba(232, 93, 52, 0.55), rgba(232, 93, 52, 0));
}
.hero-chip--d {
  width: 60px; height: 60px;
  bottom: 28%; right: 16%;
  background: radial-gradient(circle at 30% 30%, rgba(248, 75, 108, 0.45), rgba(248, 75, 108, 0));
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero .kicker {
  margin-bottom: 1.2rem;
  justify-content: center;
}
.hero h1 {
  font-size: clamp(2.2rem, 5.4vw, 4.4rem);
  margin: 0 auto 1.2rem;
  max-width: 20ch;
  line-height: 1.05;
}
.hero h1 em {
  font-style: italic;
  color: var(--accent-warm);
  font-family: var(--font-heading);
}
.hero h1 .hero-dash {
  color: var(--accent);
  font-style: italic;
  padding: 0 0.1em;
}
.hero .lead {
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  color: var(--text-muted);
  max-width: 620px;
  margin: 0 auto 1.8rem;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  justify-content: center;
  margin-bottom: 2.75rem;
}

/* Quickmarks row (replaces the old bridge stat strip) */
.hero-quickmarks {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  max-width: 820px;
  margin: 0 auto 2rem;
  gap: 0;
  padding: 1.15rem 0.5rem;
  border-top: 1px solid var(--border-ink);
  border-bottom: 1px solid var(--border-ink);
}
.quickmark {
  padding: 0 1rem;
  text-align: center;
  border-right: 1px dashed var(--border-ink);
}
.quickmark:last-child { border-right: 0; }
.quickmark-num {
  display: block;
  font-family: var(--font-heading);
  font-size: clamp(1.15rem, 1.8vw, 1.5rem);
  color: var(--brand-dark);
  line-height: 1.1;
  margin-bottom: 0.2rem;
}
.quickmark-num em { color: var(--accent-warm); font-style: italic; }
.quickmark-label {
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 700;
}

/* Hero rail — horizontal pill row of game categories */
.hero-rail {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  max-width: 820px;
  margin: 0 auto;
}
.hero-rail a {
  display: inline-flex;
  align-items: center;
  padding: 0.48rem 1rem;
  border-radius: var(--r-pill);
  background: var(--bg-card);
  border: 1px solid var(--border-ink);
  color: var(--text) !important;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: border-color .18s ease, color .18s ease, background .18s ease, transform .18s ease;
}
.hero-rail a:hover {
  border-color: var(--accent);
  color: var(--brand-dark) !important;
  background: var(--accent-soft);
  transform: translateY(-1px);
}

/* =================================================================
   Home section head
   ================================================================= */

.home-section { padding: var(--gap-9) 0; position: relative; }
.home-section:nth-child(even) { background: linear-gradient(180deg, transparent 0%, rgba(236, 246, 241, 0.55) 50%, transparent 100%); }

.home-section-head {
  text-align: center;
  max-width: 780px;
  margin: 0 auto var(--gap-7);
}
.home-section-head .section-label { justify-content: center; color: var(--accent-warm); margin-bottom: 0.9rem; }
.section-heading {
  font-size: clamp(1.9rem, 4vw, 3rem);
  margin-bottom: 0.9rem;
}
.section-heading em { font-style: italic; color: var(--accent-warm); }
.section-intro {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 640px;
  margin: 0 auto;
}

/* =================================================================
   Intro block (leftover lede paragraphs, § mark)
   ================================================================= */

.intro-block {
  padding: var(--gap-8) 0 var(--gap-7);
}
.intro-block .container { max-width: 820px; }
.intro-glyph {
  font-family: var(--font-heading);
  font-size: 3rem;
  color: var(--accent);
  text-align: center;
  display: block;
  line-height: 1;
  margin-bottom: 1rem;
}
.intro-block p {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 1.2rem;
  line-height: 1.75;
  text-align: center;
}
.intro-block p:first-of-type::first-letter {
  font-family: var(--font-heading);
  font-size: 3em;
  float: left;
  line-height: 0.9;
  margin: 0.1em 0.12em 0 0;
  color: var(--accent-warm);
}

/* =================================================================
   Floor grid (H3 cards)
   ================================================================= */

.floor-grid {
  display: grid;
  gap: 1.5rem;
}
.floor-grid--cols-1 { grid-template-columns: 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 {
  --mono: "★";
  position: relative;
  padding: 2rem 1.6rem 1.8rem;
  background: var(--bg-card);
  border: 1px solid var(--border-ink);
  border-top: 2px solid var(--accent);
  border-radius: var(--r-sharp);
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.floor-tile::before {
  content: attr(data-mono);
  position: absolute;
  right: -0.35em;
  bottom: -0.35em;
  font-family: var(--font-heading);
  font-style: italic;
  font-size: clamp(6rem, 14vw, 10rem);
  line-height: 0.8;
  color: rgba(245, 181, 11, 0.16);
  pointer-events: none;
  letter-spacing: -0.04em;
}
.floor-tile:hover {
  transform: translateY(-3px);
  box-shadow: var(--sh-lg);
  border-color: var(--border-strong);
}
.floor-tile h3 {
  font-size: clamp(1.2rem, 1.6vw, 1.45rem);
  margin-bottom: 0.75rem;
  position: relative;
}
.floor-tile p {
  color: var(--text-muted);
  font-size: 0.97rem;
  position: relative;
}

/* =================================================================
   Split layout (feature-list with image)
   ================================================================= */

.split-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: center;
}
.split-layout--reverse .split-media { order: 2; }

.split-media {
  position: relative;
  border-radius: var(--r-sharp);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  box-shadow: var(--sh-lg);
  border: 1px solid var(--border);
}
.split-media::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(8, 32, 24, .35) 100%);
  z-index: 1;
  pointer-events: none;
}
.split-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.split-media::after {
  content: "";
  position: absolute;
  left: -1px; top: -1px;
  width: 60px; height: 60px;
  border-top: 2px solid var(--accent);
  border-left: 2px solid var(--accent);
  z-index: 2;
}

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

.feature-check-list {
  list-style: none;
  padding: 1.5rem 1.6rem;
  margin: 1rem 0 0;
  background: linear-gradient(135deg, rgba(255, 244, 217, 0.6) 0%, rgba(255, 253, 246, 0.4) 100%);
  border-left: 3px solid var(--accent);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
}
.feature-check-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 0.55rem 0;
  margin: 0;
  border-bottom: 1px dashed var(--border-ink);
  color: var(--text);
  font-size: 0.98rem;
}
.feature-check-list li:last-child { border-bottom: 0; }
.feature-check-list li::before {
  content: "✓";
  flex-shrink: 0;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent) 0%, #f9c639 100%);
  color: #2a1a02;
  font-weight: 900;
  font-size: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  margin-top: 2px;
  box-shadow: 0 4px 10px -3px rgba(245, 181, 11, 0.6);
}

.feature-check-list--plain {
  max-width: 820px;
  margin: 1.5rem auto;
}

/* =================================================================
   Plain editorial card
   ================================================================= */

.plain-card {
  max-width: 820px;
  margin: 0 auto;
  padding: clamp(2rem, 4vw, 3.25rem) clamp(1.5rem, 3vw, 2.5rem);
  background: var(--bg-card);
  border: 1px solid var(--border-ink);
  border-top: 2px solid var(--accent);
  border-radius: var(--r-sharp);
  text-align: center;
  position: relative;
  box-shadow: var(--sh-sm);
}
.plain-card p {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 auto 1rem;
}
.plain-card h2 { margin-bottom: 1rem; }

/* =================================================================
   Image divider (21:9)
   ================================================================= */

.image-divider {
  position: relative;
  width: 100%;
  aspect-ratio: 21 / 9;
  overflow: hidden;
  border-top: 1px solid var(--border-strong);
  margin: 2.5rem 0;
}
.image-divider img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}
.image-divider::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8,32,24,.08) 0%, rgba(8,32,24,.32) 100%);
}

/* =================================================================
   Bespoke home sections
   ================================================================= */

/* home-intro */
.home-intro {
  text-align: center;
  padding: var(--gap-8) 0;
}
.home-intro .container { max-width: 760px; }
.home-intro .intro-glyph { font-size: 4rem; margin-bottom: 0.5rem; }
.home-intro p {
  font-size: 1.15rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 1.1rem;
}

/* home-floor — uniform 3-column grid, equal heights */
.home-floor {
  background:
    radial-gradient(600px 380px at 90% 10%, rgba(245, 181, 11, 0.08), transparent 60%),
    radial-gradient(500px 380px at 5% 90%, rgba(0, 145, 116, 0.06), transparent 60%);
}
.home-floor-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  align-items: stretch;
}
.home-floor-grid .floor-tile {
  display: flex;
  flex-direction: column;
  padding: 2.25rem 1.75rem 2rem;
  min-height: 300px;
}
.home-floor-grid .floor-tile h3 {
  font-size: 1.3rem;
  margin-bottom: 0.85rem;
}
.home-floor-grid .floor-tile p {
  color: var(--text-muted);
  font-size: 0.97rem;
  line-height: 1.65;
}
.floor-tile-kicker {
  font-family: var(--font-body);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--accent-warm);
  margin-bottom: 0.8rem;
  position: relative;
  z-index: 1;
}

/* home-live */
.home-live { background: linear-gradient(180deg, transparent 0%, rgba(236, 246, 241, 0.45) 100%); }

/* home-secure */
.security-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.4rem;
}
.security-card {
  position: relative;
  padding: 2.25rem 1.4rem 1.75rem;
  background: var(--bg-card);
  border: 1px solid var(--border-ink);
  border-radius: var(--r-sharp);
  text-align: center;
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease;
}
.security-card:hover { transform: translateY(-3px); box-shadow: var(--sh-md); }
.security-card .accred-corner {
  position: absolute;
  width: 18px;
  height: 18px;
  border-color: var(--accent);
  border-style: solid;
  border-width: 0;
  transition: width .25s ease, height .25s ease;
}
.security-card .accred-corner--tl { top: 8px; left: 8px; border-top-width: 2px; border-left-width: 2px; }
.security-card .accred-corner--tr { top: 8px; right: 8px; border-top-width: 2px; border-right-width: 2px; }
.security-card .accred-corner--bl { bottom: 8px; left: 8px; border-bottom-width: 2px; border-left-width: 2px; }
.security-card .accred-corner--br { bottom: 8px; right: 8px; border-bottom-width: 2px; border-right-width: 2px; }
.security-card:hover .accred-corner { width: 26px; height: 26px; }
.security-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, transparent 35%, rgba(245, 181, 11, 0.12) 50%, transparent 65%);
  transform: translateX(-100%);
  transition: transform .6s ease;
}
.security-card:hover::after { transform: translateX(100%); }
.security-card .sec-icon {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 2.4rem;
  color: var(--accent-warm);
  display: block;
  margin-bottom: 0.7rem;
}
.security-card h3 { font-size: 1.15rem; margin-bottom: 0.35rem; }
.security-card p { color: var(--text-muted); font-size: 0.9rem; }

/* home-rewards bento */
.rewards-bento {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}
.rewards-bento .welcome-card {
  grid-column: span 2;
  grid-row: span 2;
  padding: 2.5rem;
  background: linear-gradient(135deg, #fff8d9 0%, #ffe6a8 100%);
  border: 1px solid var(--border-strong);
  border-radius: var(--r-sharp);
  position: relative;
  overflow: hidden;
}
.rewards-bento .welcome-card::before {
  content: "₹";
  position: absolute;
  right: -2rem;
  bottom: -5rem;
  font-family: var(--font-heading);
  font-size: 22rem;
  line-height: 0.7;
  color: rgba(245, 181, 11, 0.2);
  pointer-events: none;
}
.rewards-bento .welcome-card h3 { font-size: clamp(1.8rem, 2.5vw, 2.3rem); }
.rewards-bento .welcome-card p { font-size: 1.05rem; color: var(--text); position: relative; }
.rewards-bento .bonus-tile {
  padding: 1.5rem 1.4rem;
  background: var(--bg-card);
  border: 1px solid var(--border-ink);
  border-top: 2px solid var(--accent);
  border-radius: var(--r-sharp);
}
.rewards-bento .bonus-tile h3 { font-size: 1.15rem; margin-bottom: 0.45rem; }
.rewards-bento .bonus-tile p { color: var(--text-muted); font-size: 0.95rem; }
.rewards-bento .vip-strip {
  grid-column: 1 / -1;
  padding: 1.8rem 2rem;
  background: linear-gradient(120deg, var(--brand-deep) 0%, var(--brand-dark) 100%);
  color: var(--text-invert);
  border-radius: var(--r-sharp);
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 1.5rem;
  border-top: 2px solid var(--accent);
  position: relative;
  overflow: hidden;
}
.rewards-bento .vip-strip h3 { color: var(--text-invert); font-family: var(--font-heading); font-size: 1.6rem; }
.rewards-bento .vip-strip p { color: rgba(253, 250, 240, 0.78); margin: 0; max-width: 620px; }
.vip-inner { color: var(--text-invert); }

/* home-support */
.support-card {
  position: relative;
  max-width: 820px;
  margin: 0 auto;
  padding: clamp(2.5rem, 5vw, 4rem) clamp(1.5rem, 4vw, 3rem);
  background: var(--bg-card);
  border: 1px solid var(--border-ink);
  border-radius: var(--r-sharp);
  text-align: center;
  overflow: hidden;
  box-shadow: var(--sh-md);
}
.support-card::before {
  content: "24/7";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-style: italic;
  font-size: clamp(9rem, 26vw, 20rem);
  color: rgba(245, 181, 11, 0.07);
  line-height: 1;
  pointer-events: none;
  letter-spacing: -0.04em;
}
.support-card > * { position: relative; }
.support-card h2 { margin-bottom: 1rem; }
.support-card p { font-size: 1.08rem; color: var(--text-muted); max-width: 620px; margin: 0 auto 1.1rem; }
.support-card .hero-actions { justify-content: center; margin-top: 1.5rem; }

/* =================================================================
   Page hero (inner pages)
   ================================================================= */

.page-hero {
  position: relative;
  padding: clamp(4rem, 8vw, 6rem) 0 clamp(2.5rem, 5vw, 4rem);
  background:
    radial-gradient(800px 500px at 80% 10%, rgba(245, 181, 11, 0.14), transparent 62%),
    radial-gradient(700px 480px at 10% 60%, rgba(0, 145, 116, 0.10), transparent 62%);
  overflow: hidden;
}
.page-hero[data-bg]::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--page-bg) center / cover no-repeat;
  opacity: 0.18;
  z-index: -1;
}
.page-hero .container { max-width: 960px; }
.breadcrumb {
  margin-bottom: 1.2rem;
  font-size: 0.82rem;
  color: var(--text-muted);
  letter-spacing: 0.06em;
}
.breadcrumb a { color: var(--text-muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--accent-warm); }
.breadcrumb .crumb-sep { margin: 0 0.5rem; color: var(--accent); }
.page-hero h1 {
  font-size: clamp(2.2rem, 4.6vw, 3.6rem);
  margin-bottom: 1rem;
}
.page-hero h1 em { font-style: italic; color: var(--accent-warm); }
.page-hero .subtitle {
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  color: var(--text-muted);
  max-width: 720px;
}

/* =================================================================
   Content sections (inner pages, builder output)
   ================================================================= */

.content-section {
  padding: clamp(2.5rem, 5vw, 4.5rem) 0;
}
.content-section > .container > h2 {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 2rem;
}
.content-section > .container > h2 em { font-style: italic; color: var(--accent-warm); }

.content-section-intro,
.content-section-outro {
  max-width: 820px;
  margin: 0 auto 1.2rem;
  color: var(--text-muted);
  font-size: 1.05rem;
  text-align: center;
}
.content-section-outro { margin-top: 1.5rem; margin-bottom: 0; }

.content-section + .content-section {
  border-top: 1px dashed var(--border-ink);
}

/* =================================================================
   Casino Counter footer
   ================================================================= */

.site-footer {
  background: var(--bg-panel);
  color: rgba(253, 250, 240, 0.75);
  margin-top: var(--gap-8);
  position: relative;
}
.footer-fret {
  width: 100%;
  height: 32px;
  background-color: var(--bg-panel);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='32' viewBox='0 0 64 32'%3E%3Cpath d='M0 16 L8 8 L16 16 L24 8 L32 16 L40 8 L48 16 L56 8 L64 16 L64 24 L56 16 L48 24 L40 16 L32 24 L24 16 L16 24 L8 16 L0 24 Z' fill='%23f5b50b' fill-opacity='0.28'/%3E%3C/svg%3E");
  background-repeat: repeat-x;
  background-position: center;
  border-top: 1px solid rgba(245, 181, 11, 0.2);
  border-bottom: 1px solid rgba(245, 181, 11, 0.14);
}

.footer-main {
  padding-top: var(--gap-8);
  padding-bottom: var(--gap-7);
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.footer-pedestal { max-width: 460px; }
.footer-pedestal .footer-logo {
  height: 42px;
  width: auto;
  object-fit: contain;
  margin-bottom: 1.1rem;
  filter: brightness(0) invert(1);
  opacity: .95;
}
.footer-pedestal p {
  color: rgba(253, 250, 240, 0.72);
  font-size: 0.98rem;
  line-height: 1.7;
  margin-bottom: 1.4rem;
}
.footer-primary-cta { padding: 0.78rem 1.4rem; font-size: 0.9rem; }

.footer-vip {
  position: relative;
  padding: 1.8rem 1.6rem;
  background: linear-gradient(140deg, rgba(245, 181, 11, 0.1) 0%, rgba(245, 181, 11, 0.02) 100%);
  border: 1px solid rgba(245, 181, 11, 0.28);
  border-radius: var(--r-sharp);
}
.footer-vip::before {
  content: "";
  position: absolute;
  left: -1.5rem;
  top: 10%;
  bottom: 10%;
  width: 1px;
  background: linear-gradient(180deg, transparent, var(--accent) 40%, var(--accent) 60%, transparent);
}
.footer-vip .footer-kicker {
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 700;
  display: block;
  margin-bottom: 0.5rem;
}
.footer-vip h4 {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  color: #fdfaf0;
  margin-bottom: 0.6rem;
  text-transform: none;
  letter-spacing: -0.01em;
}
.footer-vip p {
  color: rgba(253, 250, 240, 0.7);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}
.footer-vip .vip-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--accent) !important;
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
}
.footer-vip .vip-cta:hover { color: #fff !important; text-decoration: none; }
.footer-vip .vip-cta::after { content: "→"; font-family: var(--font-heading); }

.footer-accreditations {
  padding-bottom: var(--gap-7);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
}
.accred-badge {
  position: relative;
  padding: 1.2rem 1rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(245, 181, 11, 0.18);
  border-radius: var(--r-sharp);
  text-align: center;
  transition: border-color .25s ease, background .25s ease;
}
.accred-badge:hover { border-color: var(--accent); background: rgba(245, 181, 11, 0.06); }
.accred-badge .accred-corner {
  position: absolute;
  width: 14px; height: 14px;
  border-color: var(--accent);
  border-style: solid;
  border-width: 0;
  transition: width .25s ease, height .25s ease;
}
.accred-badge .accred-corner--tl { top: 6px; left: 6px; border-top-width: 2px; border-left-width: 2px; }
.accred-badge .accred-corner--tr { top: 6px; right: 6px; border-top-width: 2px; border-right-width: 2px; }
.accred-badge .accred-corner--bl { bottom: 6px; left: 6px; border-bottom-width: 2px; border-left-width: 2px; }
.accred-badge .accred-corner--br { bottom: 6px; right: 6px; border-bottom-width: 2px; border-right-width: 2px; }
.accred-badge:hover .accred-corner { width: 22px; height: 22px; }
.accred-badge .accred-icon {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 1.35rem;
  color: var(--accent);
  display: block;
  margin-bottom: 0.25rem;
}
.accred-badge h5 {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  color: #fdfaf0;
  margin: 0 0 0.2rem;
  letter-spacing: 0.04em;
}
.accred-badge small {
  font-size: 0.72rem;
  color: rgba(253, 250, 240, 0.55);
  letter-spacing: 0.05em;
}

.footer-bottom {
  position: relative;
  padding-top: 1.6rem;
  padding-bottom: 1.6rem;
  border-top: 1px solid rgba(245, 181, 11, 0.16);
  text-align: center;
}
.footer-bottom::before {
  content: "§";
  position: absolute;
  top: -0.9rem;
  left: 50%;
  transform: translateX(-50%);
  width: 2.25rem;
  height: 1.8rem;
  background: var(--bg-panel);
  font-family: var(--font-heading);
  font-size: 1.4rem;
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
.footer-bottom .copyright {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-variant: small-caps;
  letter-spacing: 0.08em;
  color: rgba(253, 250, 240, 0.8);
  margin: 0 0 0.35rem;
}
.footer-bottom .disclaimer {
  font-size: 0.8rem;
  font-style: italic;
  color: rgba(253, 250, 240, 0.5);
}

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

.err-404 {
  min-height: calc(92vh - 4.75rem);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(4rem, 8vw, 6rem) 0;
  position: relative;
  overflow: hidden;
}
.err-404 .container { text-align: center; max-width: 720px; }
.err-404 .err-glyph {
  font-family: var(--font-heading);
  font-size: clamp(8rem, 28vw, 18rem);
  line-height: 0.85;
  color: transparent;
  -webkit-text-stroke: 2px var(--accent);
  margin: 0.5rem 0;
  letter-spacing: -0.04em;
  font-style: italic;
}
.err-404 h1 { margin-bottom: 0.8rem; }
.err-404 .err-sub { color: var(--text-muted); margin-bottom: 1.8rem; font-size: 1.05rem; }
.err-404 .err-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 0.9rem; }

/* =================================================================
   Animations / reveal
   ================================================================= */

@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(14px);
    animation: revealIn .7s cubic-bezier(.2,.7,.2,1) both;
  }
  .reveal-delay-1 { animation-delay: 60ms; }
  .reveal-delay-2 { animation-delay: 120ms; }
  .reveal-delay-3 { animation-delay: 180ms; }
  .reveal-delay-4 { animation-delay: 240ms; }
  @keyframes revealIn { to { opacity: 1; transform: translateY(0); } }
}

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

@media (max-width: 960px) {
  .home-floor-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .security-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rewards-bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rewards-bento .welcome-card { grid-column: span 2; grid-row: auto; }
  .footer-accreditations { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .menu-toggle { display: inline-block; }
  .nav {
    position: fixed;
    inset: 0;
    flex-direction: column;
    justify-content: center;
    gap: 0.75rem;
    background: var(--bg-panel);
    padding: 2rem;
    transform: translateX(100%);
    transition: transform .35s cubic-bezier(.2,.7,.2,1);
    z-index: 90;
  }
  .nav.is-open { transform: translateX(0); }
  .nav a { font-size: 1.35rem; padding: 0.6rem 1rem; color: rgba(253, 250, 240, 0.92); }
  .nav a.active { color: var(--accent); }
  .nav-indicator { display: none; }

  /* Flatten dropdowns in the mobile overlay */
  .nav-group { width: 100%; text-align: center; }
  .nav .nav-trigger {
    font-size: 0.75rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--accent);
    padding: 0.6rem 0;
    pointer-events: none;
    display: inline-flex;
    justify-content: center;
    width: 100%;
  }
  .nav .nav-trigger .nav-caret { display: none; }
  .nav-menu {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    background: transparent;
    border: 0;
    padding: 0;
    box-shadow: none;
    min-width: 0;
    gap: 0;
  }
  .nav-menu a {
    font-size: 1.2rem;
    color: rgba(253, 250, 240, 0.92);
    white-space: normal;
  }
  .nav-menu a:hover { background: transparent; }

  .header-cta { display: none; }

  .hero-quickmarks { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem 0; }
  .quickmark:nth-child(2) { border-right: 0; }
  .quickmark:nth-child(1), .quickmark:nth-child(2) { padding-bottom: 1rem; border-bottom: 1px dashed var(--border-ink); }

  .split-layout { grid-template-columns: 1fr; }
  .split-layout--reverse .split-media { order: -1; }

  .footer-main { grid-template-columns: 1fr; gap: 2.25rem; }
  .footer-vip::before { display: none; }
}

@media (max-width: 720px) {
  .floor-grid--cols-3, .floor-grid--cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rewards-bento .vip-strip { grid-template-columns: 1fr; }
  .rewards-bento .vip-strip .btn-primary,
  .rewards-bento .vip-strip .btn-accent { justify-self: start; }
}

@media (max-width: 560px) {
  body { padding-top: 4rem; }
  .header-inner { padding-left: 0.9rem; padding-right: 0.9rem; }
  .brand-mark { height: 32px; }
  .hero-quickmarks { grid-template-columns: 1fr; }
  .quickmark { border-right: 0; border-bottom: 1px dashed var(--border-ink); padding: 0.75rem 0; }
  .quickmark:last-child { border-bottom: 0; }
  .floor-grid--cols-2, .floor-grid--cols-3, .floor-grid--cols-4 { grid-template-columns: 1fr; }
  .security-grid { grid-template-columns: 1fr; }
  .home-floor-grid { grid-template-columns: 1fr; }
  .rewards-bento { grid-template-columns: 1fr; }
  .rewards-bento .welcome-card { grid-column: auto; }
  .footer-accreditations { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  .jackpot::before { animation: none; }
}
