/* =====================================================================
   Dash Rummy Casino — Editorial card-hall styling
   Personality: playful & vibrant on warm cream, crimson + gold focus
   Fonts: Fraunces (display, italic accents) + Plus Jakarta Sans (body)
   ===================================================================== */

/* ---------- Tokens ---------- */
:root {
  /* Brand — crimson card-red + warm cream */
  --brand:        #C73654;
  --brand-dark:   #2A0810;
  --brand-light:  #F4E1C9;

  /* Accent — playing-card gold */
  --accent:       #E0AE5F;
  --accent-warm:  #C77A26;
  --accent-soft:  #FBF1E1;

  /* Backgrounds */
  --bg:           #FBF7F0;
  --bg-card:      #FFFFFF;
  --bg-elevated:  #FFFAF0;
  --bg-panel:     #1A0509;
  --bg-panel-2:   #240B12;

  /* Text */
  --text:         #2A0810;
  --text-muted:   #6B5444;
  --text-dim:     #8A7560;
  --text-on-dark: #FBF1E1;

  /* Borders */
  --border:        rgba(42, 8, 16, 0.10);
  --border-strong: rgba(42, 8, 16, 0.22);
  --border-soft:   rgba(42, 8, 16, 0.04);
  --border-on-dark:rgba(251,241,225, 0.16);

  /* Type */
  --font-body:    'Plus Jakarta Sans', system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  --font-heading: 'Fraunces', Georgia, 'Times New Roman', serif;

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

  /* Shadows */
  --shadow-soft:        0 1px 2px rgba(42,8,16,0.06), 0 6px 18px rgba(42,8,16,0.05);
  --shadow-card:        0 2px 4px rgba(42,8,16,0.06), 0 14px 32px rgba(42,8,16,0.08);
  --shadow-card-hover:  0 4px 8px rgba(42,8,16,0.08), 0 22px 48px rgba(42,8,16,0.13);
  --shadow-cta:         0 12px 30px rgba(199,54,84,0.35), inset 0 1px 0 rgba(255,255,255,0.18);

  /* Layout */
  --container:       1200px;
  --container-wide:  1320px;
  --container-pad:   1.5rem;
  --header-top-h:    2.25rem;
  --header-main-h:   5.5rem;
  --header-h:        calc(var(--header-top-h) + var(--header-main-h));

  /* Motion */
  --ease: cubic-bezier(.22, 1, .36, 1);
  --t-fast: 180ms;
  --t-med:  320ms;
  --t-slow: 540ms;
}

/* ---------- Reset + base ---------- */
*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  /* Off-canvas radial atmosphere */
  background-image:
    radial-gradient(ellipse 60% 40% at 12% -5%,  rgba(224,174,95,0.18), transparent 70%),
    radial-gradient(ellipse 50% 35% at 95% 8%,   rgba(199,54,84,0.10),  transparent 70%),
    radial-gradient(ellipse 55% 50% at 50% 110%, rgba(224,174,95,0.10), transparent 70%);
  background-attachment: fixed;
  counter-reset: img-div;
  overflow-x: hidden;
}

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

button { font: inherit; cursor: pointer; }

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

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--brand-dark);
  line-height: 1.15;
  margin: 0 0 0.5em;
}
h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); font-weight: 800; }
h2 { font-size: clamp(1.85rem, 3.4vw, 2.6rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.55rem); }
h4 { font-size: 0.95rem; font-weight: 600; }

p  { margin: 0 0 1em; color: var(--text); }

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

em, i { font-family: var(--font-heading); font-style: italic; }

.kicker {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  color: var(--accent-warm);
  margin-bottom: 0.65rem;
}

.highlight {
  position: relative;
  font-family: var(--font-heading);
  font-style: italic;
  font-weight: 700;
  color: var(--brand);
  white-space: nowrap;
}
.highlight::after {
  content: "";
  position: absolute;
  inset: auto 0 0.04em 0;
  height: 0.32em;
  background: linear-gradient(90deg, rgba(224,174,95,0.45), rgba(224,174,95,0.20));
  border-radius: 999px;
  z-index: -1;
}

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--brand-dark); color: var(--accent-soft);
  padding: 0.6rem 1rem; z-index: 9999;
}
.skip-link:focus { left: 1rem; top: 1rem; }

/* ---------- Container ---------- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--container-pad);
  width: 100%;
}

/* ---------- Buttons ---------- */
.btn-primary, .btn-secondary {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  padding: 0.85rem 1.5rem;
  border-radius: var(--r-pill);
  border: 2px solid transparent;
  text-decoration: none;
  white-space: nowrap;
  transition: transform var(--t-fast) var(--ease),
              box-shadow var(--t-fast) var(--ease),
              background var(--t-fast) var(--ease),
              color var(--t-fast) var(--ease);
}
.btn-primary {
  background: linear-gradient(135deg, var(--brand) 0%, #A92541 100%);
  color: #FFF6E3;
  box-shadow: var(--shadow-cta);
}
.btn-primary:hover {
  background: linear-gradient(135deg, #D74766 0%, var(--brand) 100%);
  transform: translateY(-2px);
  color: #FFF6E3;
}
.btn-secondary {
  background: var(--bg-card);
  color: var(--brand-dark);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-soft);
}
.btn-secondary:hover {
  background: var(--accent-soft);
  border-color: var(--accent);
  transform: translateY(-2px);
  color: var(--brand-dark);
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--bg-panel);
  border-bottom: 1px solid var(--border-on-dark);
  transition: box-shadow var(--t-fast) var(--ease);
}
.site-header.is-scrolled { box-shadow: 0 8px 24px rgba(0,0,0,0.18); }

.header-top {
  background: var(--bg-panel-2);
  height: var(--header-top-h);
  display: flex; align-items: center;
  font-size: 0.78rem;
  color: rgba(251,241,225,0.78);
}
.header-top-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.header-trust { display: flex; align-items: center; gap: 0.55rem; }
.trust-dot {
  display: inline-block;
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 rgba(224,174,95,0.6);
  animation: trust-pulse 2.4s var(--ease) infinite;
}
@keyframes trust-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(224,174,95,0.55); }
  70%  { box-shadow: 0 0 0 9px rgba(224,174,95,0); }
  100% { box-shadow: 0 0 0 0 rgba(224,174,95,0); }
}
.trust-text { letter-spacing: 0.04em; }
.header-utility { display: flex; align-items: center; gap: 1.1rem; }
.header-utility a {
  color: rgba(251,241,225,0.78);
  font-weight: 500;
  letter-spacing: 0.02em;
}
.header-utility a:hover { color: var(--accent-soft); }
.lang-switch { display: inline-flex; gap: 0.35rem; padding-left: 0.6rem; border-left: 1px solid rgba(251,241,225,0.2); }
.lang-switch a { font-weight: 700; font-size: 0.75rem; letter-spacing: 0.1em; }
.lang-switch a.is-active { color: var(--accent); }

.header-main {
  height: var(--header-main-h);
  display: flex; align-items: center;
}
.header-main-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.25rem;
}
.brand { display: inline-flex; align-items: center; }
.brand-logo {
  height: 64px; width: auto;
  max-width: 240px;
  object-fit: contain;
  display: block;
}
.brand-logo--footer { height: 56px; max-width: 220px; }

.primary-nav {
  position: relative;
  display: flex; align-items: center; gap: 0.35rem;
  margin-left: auto; margin-right: 1rem;
}
.primary-nav a {
  position: relative;
  padding: 0.55rem 0.95rem;
  border-radius: var(--r-pill);
  color: rgba(251,241,225,0.85);
  font-weight: 600;
  font-size: 0.93rem;
  letter-spacing: 0.01em;
  transition: color var(--t-fast) var(--ease);
}
.primary-nav a:hover, .primary-nav a.active { color: var(--accent-soft); }
.nav-indicator {
  position: absolute;
  bottom: 6px;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--brand));
  border-radius: 2px;
  transition: left var(--t-med) var(--ease), width var(--t-med) var(--ease), opacity var(--t-fast) var(--ease);
  opacity: 0;
  pointer-events: none;
}

.header-actions { display: flex; align-items: center; gap: 0.6rem; }
.header-cta { padding: 0.65rem 1.1rem; font-size: 0.9rem; }

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid rgba(251,241,225,0.18);
  width: 44px; height: 44px;
  border-radius: var(--r-md);
  flex-direction: column; align-items: center; justify-content: center;
  gap: 5px;
  padding: 0;
}
.nav-toggle-line {
  width: 18px; height: 2px;
  background: var(--accent-soft);
  border-radius: 2px;
  transition: transform var(--t-fast) var(--ease), opacity var(--t-fast) var(--ease);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav overlay */
.mobile-nav {
  position: fixed; inset: var(--header-h) 0 0 0;
  background: rgba(26,5,9,0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  z-index: 90;
  transform: translateY(-12px);
  opacity: 0;
  pointer-events: none;
  transition: transform var(--t-med) var(--ease), opacity var(--t-fast) var(--ease);
  overflow-y: auto;
}
.mobile-nav.is-open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 2.4rem var(--container-pad) 3rem;
  display: flex; flex-direction: column; gap: 1.5rem;
  color: var(--accent-soft);
}
.mobile-nav-inner .kicker { color: var(--accent); }
.mobile-nav-inner nav {
  display: flex; flex-direction: column;
  border-top: 1px solid rgba(251,241,225,0.12);
}
.mobile-nav-inner a {
  padding: 1rem 0;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--accent-soft);
  border-bottom: 1px solid rgba(251,241,225,0.10);
}
.mobile-nav-inner a.lang-link { color: var(--accent); font-style: italic; }
.mobile-cta { align-self: flex-start; margin-top: 0.5rem; padding: 0.95rem 1.6rem; }

body.nav-open { overflow: hidden; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: clamp(3rem, 6vw, 5rem) 0 4rem;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  z-index: -1;
  opacity: 1;
  filter: saturate(1.08);
  overflow: hidden;
}
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-bg::after {
  /* light dark vignette: keeps the image dominant while giving text enough
     contrast on the left half */
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(20,8,12,0.65) 0%, rgba(20,8,12,0.40) 45%, rgba(20,8,12,0.10) 100%),
    linear-gradient(180deg, rgba(20,8,12,0.10) 0%, rgba(20,8,12,0.35) 100%);
}

/* When a hero-bg is present, the hero needs its own dark-ground text colors
   so we don't recolor non-hero kickers/h1s on the rest of the page. */
.hero { color: var(--accent-soft); }
.hero .kicker { color: var(--accent); }
.hero h1 { color: var(--accent-soft); }
.hero .highlight { color: var(--accent); }
.hero .highlight::after {
  background: linear-gradient(90deg, rgba(199,54,84,0.55), rgba(224,174,95,0.30));
}
.hero .lead { color: rgba(251,241,225,0.90); }

/* hero-proof chip — flip to glassy dark */
.hero-proof {
  background: rgba(20,8,12,0.45);
  border-color: rgba(251,241,225,0.18);
  color: var(--accent-soft);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.hero-proof strong { color: var(--accent); }
.hero-proof .chip { border-color: rgba(20,8,12,0.6); }

/* secondary button stays readable on dark */
.hero .btn-secondary {
  background: rgba(251,241,225,0.10);
  color: var(--accent-soft);
  border-color: rgba(251,241,225,0.22);
}
.hero .btn-secondary:hover {
  background: rgba(251,241,225,0.18);
  color: var(--accent-soft);
  border-color: var(--accent);
}
.hero-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--container-pad);
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.hero-content { position: relative; }
.hero-content h1 { margin-bottom: 1rem; }
.hero-content .lead {
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  color: var(--text-muted);
  max-width: 36em;
  margin-bottom: 2rem;
}
.hero-actions {
  display: flex; flex-wrap: wrap; gap: 0.75rem;
  margin-bottom: 1.6rem;
}
.hero-proof {
  display: inline-flex; align-items: center; gap: 0.7rem;
  padding: 0.55rem 0.95rem 0.55rem 0.6rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-pill);
  box-shadow: var(--shadow-soft);
  font-size: 0.86rem;
  color: var(--text-muted);
}
.hero-proof .stack { display: inline-flex; }
.hero-proof .chip {
  width: 26px; height: 26px;
  border-radius: 50%;
  border: 2px solid var(--bg-card);
  background:
    linear-gradient(135deg, var(--accent), var(--brand));
  margin-left: -8px;
}
.hero-proof .chip:first-child { margin-left: 0; background: linear-gradient(135deg, var(--brand), #A92541); }
.hero-proof .chip:nth-child(2) { background: linear-gradient(135deg, var(--accent-warm), var(--accent)); }
.hero-proof .chip:nth-child(3) { background: linear-gradient(135deg, var(--brand-dark), var(--brand)); }
.hero-proof strong { color: var(--brand-dark); }

/* Hero art (right column) */
.hero-art {
  position: relative;
  aspect-ratio: 1 / 1;
  width: 100%;
  max-width: 460px;
  margin: 0 auto;
}
.hero-art-spark {
  position: absolute;
  font-family: var(--font-heading);
  font-style: italic;
  color: var(--accent);
  filter: drop-shadow(0 2px 6px rgba(224,174,95,0.4));
  pointer-events: none;
  animation: sparkle 4s ease-in-out infinite;
}
.hero-art-spark--a { top: 6%; left: 8%; font-size: 1.6rem; animation-delay: 0s; }
.hero-art-spark--b { top: 30%; right: 6%; font-size: 2rem; color: var(--brand); animation-delay: 1s; }
.hero-art-spark--c { bottom: 12%; left: 18%; font-size: 1.4rem; animation-delay: 2.1s; }
@keyframes sparkle {
  0%,100% { transform: scale(1)   rotate(0deg);   opacity: 0.6; }
  50%     { transform: scale(1.2) rotate(15deg);  opacity: 1; }
}
/* Foreground image frame — uses image's natural aspect ratio, no stretch */
.hero-art-frame {
  position: relative;
  display: inline-block;
  max-width: 100%;
  border-radius: var(--r-xl);
  overflow: visible;            /* let the chip hang past the bottom */
  background: transparent;
  transition: transform var(--t-med) var(--ease);
}
.hero-art-frame img {
  display: block;
  max-width: 100%;
  width: auto;
  height: auto;
  border-radius: var(--r-xl);   /* keep image corners rounded */
}
.hero:hover .hero-art-frame {
  transform: translateY(-4px);
}

.hero-art-chip {
  position: absolute;
  /* anchor at image's bottom-right, then push down by half its own height
     so the chip sits half-on, half-off the image edge */
  bottom: 0;
  right: clamp(0.6rem, 4%, 2rem);
  transform: translateY(50%) rotate(-8deg);
  width: clamp(108px, 32%, 168px);
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 30%, #F4D294, var(--accent) 60%, var(--accent-warm) 100%);
  border: 6px solid var(--bg);
  box-shadow:
    0 18px 38px -8px rgba(199,54,84,0.35),
    0 6px 16px -6px rgba(42,8,16,0.25);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center;
  color: var(--brand-dark);
  font-family: var(--font-heading);
  z-index: 3;
}
.hero:hover .hero-art-chip {
  transform: translateY(50%) rotate(-4deg);
}
.hero-art-chip .num { font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 800; line-height: 1; }
.hero-art-chip .lbl { font-family: var(--font-body); font-size: 0.62rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; margin-top: 0.25rem; }

/* ---------- Hero-bridge stat strip ---------- */
.hero-bridge {
  position: relative;
  margin-top: -3.25rem;
  margin-bottom: clamp(2rem, 5vw, 4rem);
  z-index: 5;
}
.hero-stats-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  background: var(--bg-card);
  border-radius: var(--card-radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}
.hero-stats-strip > * {
  padding: 1.4rem 1.5rem;
  border-right: 1px solid var(--border);
  display: flex; flex-direction: column; gap: 0.25rem;
}
.hero-stats-strip > *:last-child { border-right: none; }
.hero-stats-strip .stat-num {
  font-family: var(--font-heading);
  font-size: clamp(1.7rem, 2.6vw, 2.1rem);
  font-weight: 800;
  color: var(--brand);
  letter-spacing: -0.01em;
  line-height: 1;
}
.hero-stats-strip .stat-num em { font-style: italic; color: var(--accent-warm); }
.hero-stats-strip .stat-label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ---------- Sections (general) ---------- */
section { position: relative; }
main > section,
main > .hero-bridge + section,
main > .hero-bridge,
.section { padding: 0; }
.site-section {
  padding: clamp(1.2rem, 2vw, 2rem) 0;
}
.site-section + .site-section { padding-top: 0; }
.section-head {
  margin-bottom: 1.4rem;
  max-width: 56ch;
}
.section-head h2 { margin-bottom: 0.6rem; }
.section-sub {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 60ch;
}

/* Universal card style — applied to many components */
.card-base, .plain-card, .support-card,
.floor-grid--rich .floor-tile,
.floor-grid--cols-1 .floor-tile,
.floor-grid--cols-2 .floor-tile,
.floor-grid--cols-3 .floor-tile,
.floor-grid--cols-4 .floor-tile,
.bento-cell,
.security-tile,
.rewards-cell,
.split-layout .split-text-card {
  position: relative;
  background: var(--bg-card);
  border-radius: var(--card-radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
  padding: 1.8rem 1.9rem;
  overflow: hidden;
  transition: transform var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease);
}
.card-base::before, .plain-card::before, .support-card::before,
.floor-grid--rich .floor-tile::before,
.floor-grid--cols-1 .floor-tile::before,
.floor-grid--cols-2 .floor-tile::before,
.floor-grid--cols-3 .floor-tile::before,
.floor-grid--cols-4 .floor-tile::before,
.bento-cell::before,
.security-tile::before,
.rewards-cell::before {
  content: "";
  position: absolute; inset: 0 0 auto 0;
  height: 5px;
  background: linear-gradient(90deg, var(--accent) 0%, var(--brand) 100%);
}
.card-base::after, .plain-card::after, .support-card::after,
.bento-cell.has-watermark::after,
.security-tile::after {
  content: attr(data-watermark);
  position: absolute;
  bottom: -0.4rem; right: 0.6rem;
  font-family: var(--font-heading);
  font-style: italic;
  font-weight: 800;
  font-size: clamp(4rem, 9vw, 7.5rem);
  letter-spacing: -0.04em;
  color: rgba(199,54,84,0.05);
  pointer-events: none;
  line-height: 0.85;
  transition: color var(--t-med) var(--ease);
  white-space: nowrap;
}
.card-base:hover, .plain-card:hover, .support-card:hover,
.floor-grid--rich .floor-tile:hover,
.floor-grid--cols-1 .floor-tile:hover,
.floor-grid--cols-2 .floor-tile:hover,
.floor-grid--cols-3 .floor-tile:hover,
.floor-grid--cols-4 .floor-tile:hover,
.bento-cell:hover,
.security-tile:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-card-hover);
}
.card-base:hover::after, .plain-card:hover::after, .support-card:hover::after,
.bento-cell.has-watermark:hover::after,
.security-tile:hover::after { color: rgba(224,174,95,0.10); }

/* ---------- Plain card ---------- */
.plain-card {
  margin: 0 auto 2rem;
  padding: clamp(1.8rem, 3vw, 2.6rem);
}
.plain-card > :last-child { margin-bottom: 0; }

/* ---------- Floor-grid cols-N (R3) ---------- */
.floor-grid {
  display: grid;
  gap: 1.2rem;
  margin-bottom: 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 h3 {
  font-size: 1.25rem;
  margin-bottom: 0.6rem;
}
.floor-tile p { color: var(--text-muted); font-size: 0.96rem; }
.floor-tile p:last-child { margin-bottom: 0; }
.floor-tile ul, .floor-tile ol { color: var(--text-muted); font-size: 0.96rem; }

/* ---------- Floor-grid--rich (R4b) ---------- */
.floor-grid--rich {
  grid-template-columns: 1fr;
  gap: 1.4rem;
}
.floor-grid--rich .floor-tile {
  padding: 2.4rem 2.4rem 2.2rem;
}
.floor-grid--rich .floor-tile h3 {
  font-size: 1.45rem;
  margin-bottom: 1rem;
  padding-bottom: 0.8rem;
  border-bottom: 1px solid var(--border);
}
.floor-grid--rich .floor-tile h4 {
  display: block;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brand-dark);
  border-top: 2px solid var(--brand);
  padding-top: 1rem;
  margin: 1.4rem 0 0.85rem;
}
.floor-grid--rich .floor-tile h4:first-child { margin-top: 0; }
.floor-grid--rich .floor-tile ul,
.floor-grid--rich .floor-tile ol {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
}
.floor-grid--rich .floor-tile li {
  position: relative;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 0.95rem 1.15rem 0.95rem 1.55rem;
  margin-bottom: 0.7rem;
  color: var(--text);
  font-size: 0.96rem;
  line-height: 1.55;
  overflow: hidden;
}
.floor-grid--rich .floor-tile li::before {
  content: "";
  position: absolute; left: 0; top: 0; bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--accent), var(--brand));
}
.floor-grid--rich .floor-tile p { color: var(--text-muted); }
.floor-grid--rich .floor-tile > p:last-child { margin-bottom: 0; }

/* ---------- Split layout ---------- */
.split-layout {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 2.2rem;
  align-items: stretch;
  margin-bottom: 1.5rem;
}
.split-layout--reverse { grid-template-columns: 1fr 1.05fr; }
.split-layout--reverse .split-image { order: -1; }
.split-image {
  position: relative;
  border-radius: var(--card-radius);
  overflow: hidden;
  min-height: 320px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
}
.split-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.split-image::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(26,5,9,0.35) 100%);
  pointer-events: none;
}
.split-text-card { padding: clamp(1.8rem, 3vw, 2.6rem); }
.split-text-card h2, .split-text-card h3 { margin-top: 0; }
.split-text-card > :last-child { margin-bottom: 0; }
.split-text-card ul, .split-text-card ol {
  list-style: none;
  padding: 0;
  margin: 1.2rem 0 0;
}
.split-text-card ul li, .split-text-card ol li {
  position: relative;
  padding: 0.6rem 0 0.6rem 1.8rem;
  border-bottom: 1px dashed var(--border);
  color: var(--text);
}
.split-text-card ul li::before, .split-text-card ol li::before {
  content: "";
  position: absolute; left: 0; top: 0.85rem;
  width: 1.1rem; height: 1.1rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-warm));
  box-shadow: inset 0 0 0 3px var(--bg-card);
}
.split-text-card ul li:last-child, .split-text-card ol li:last-child { border-bottom: none; }

/* ---------- Feature check-list ---------- */
.feature-check-list--plain {
  list-style: none;
  padding: 1.4rem 1.6rem 1.4rem 1.6rem;
  margin: 0 0 1.5rem;
  background: linear-gradient(135deg, rgba(244,225,201,0.55), rgba(251,247,240,0.85));
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent);
  border-radius: var(--r-lg);
}
.feature-check-list--plain li {
  position: relative;
  padding: 0.6rem 0 0.6rem 2rem;
  border-bottom: 1px dashed var(--border);
  color: var(--text);
}
.feature-check-list--plain li:last-child { border-bottom: none; }
.feature-check-list--plain li::before {
  content: "✓";
  position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  width: 1.4rem; height: 1.4rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-warm));
  color: var(--brand-dark);
  font-weight: 800;
  font-size: 0.78rem;
  display: inline-flex; align-items: center; justify-content: center;
}

/* ---------- Intro block ---------- */
.intro-block {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--card-radius);
  padding: clamp(1.6rem, 2.4vw, 2.2rem);
  font-size: 1.05rem;
  color: var(--text);
  margin-bottom: 1.5rem;
  position: relative;
  overflow: hidden;
}
.intro-block::before {
  content: "";
  position: absolute; top: 0; left: 0; bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, var(--accent), var(--brand));
}
.intro-block > :last-child { margin-bottom: 0; }

/* ---------- Image divider (R5b — contained, NOT full-bleed) ---------- */
.image-divider {
  counter-increment: img-div;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 1.6rem;
  align-items: stretch;
  margin: 0 0 1.5rem;
}
.image-divider .img-card {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--r-xl);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
}
.image-divider .img-card img { width: 100%; height: 100%; object-fit: cover; }
.image-divider .img-aside {
  display: flex; flex-direction: column; justify-content: center;
  padding: 1rem 0;
  position: relative;
}
.image-divider .img-aside::before {
  content: counter(img-div, decimal-leading-zero);
  font-family: var(--font-heading);
  font-style: italic;
  font-weight: 800;
  font-size: clamp(3.6rem, 8vw, 6rem);
  color: var(--accent);
  line-height: 0.85;
  margin-bottom: 0.6rem;
  letter-spacing: -0.04em;
}
.image-divider .img-kicker {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  color: var(--accent-warm);
  margin-bottom: 0.5rem;
}
.image-divider h3 {
  font-size: clamp(1.4rem, 2vw, 1.7rem);
  margin: 0;
  color: var(--brand-dark);
}

/* ---------- Page hero (inner pages) — ink-black with single gold accent ---------- */
.page-hero {
  position: relative;
  padding: clamp(2.4rem, 4vw, 3.6rem) 0 clamp(1.6rem, 3vw, 2.4rem);
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(ellipse 40% 60% at 95% 10%, rgba(224,174,95,0.16), transparent 65%),
    #0E0A0C;
  color: var(--text-on-dark);
}
.page-hero::before {
  /* subtle gold pinstripe texture along the bottom */
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(224,174,95,0.6), transparent);
  pointer-events: none;
  z-index: 0;
}
.page-hero::after {
  /* Decorative italic playing-card glyph in the corner */
  content: "♦";
  position: absolute;
  top: 12%;
  right: clamp(-1rem, 4vw, 4rem);
  font-family: var(--font-heading);
  font-style: italic;
  font-weight: 800;
  font-size: clamp(8rem, 18vw, 16rem);
  color: rgba(224,174,95,0.08);
  line-height: 1;
  pointer-events: none;
  z-index: 0;
}
.page-hero .container { position: relative; }

.page-hero .breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(251,241,225,0.08);
  border: 1px solid rgba(251,241,225,0.18);
  border-radius: var(--r-pill);
  padding: 0.42rem 0.9rem;
  margin-bottom: 1.2rem;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  position: relative;
  z-index: 1;
}
.page-hero .breadcrumb a {
  color: var(--accent);
  text-decoration: none;
}
.page-hero .breadcrumb a:hover { color: var(--accent-soft); }
.page-hero .breadcrumb span { color: var(--accent-soft); }

.page-hero .kicker { display: none; } /* breadcrumb already serves as kicker */

.page-hero h1 {
  position: relative;
  z-index: 1;
  font-size: clamp(2.4rem, 5.5vw, 4rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  max-width: 22ch;
  margin: 0 0 1.1rem;
  color: var(--accent-soft);
}
.page-hero h1::before {
  /* gold dot marker on the left edge */
  content: "";
  position: absolute;
  left: -0.3rem;
  top: 0.18em;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--brand));
  box-shadow: 0 0 0 4px rgba(224,174,95,0.30);
}

.page-hero .lead {
  position: relative;
  z-index: 1;
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  color: rgba(251,241,225,0.82);
  max-width: 56ch;
  margin: 0 0 1.2rem;
  line-height: 1.55;
}

.page-meta {
  position: relative;
  z-index: 1;
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 0;
  font-size: 0.82rem;
  letter-spacing: 0.02em;
  color: rgba(251,241,225,0.6);
}
.page-meta-author {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(251,241,225,0.10);
  border: 1px solid rgba(251,241,225,0.18);
  border-radius: var(--r-pill);
  padding: 0.38rem 0.85rem 0.38rem 0.4rem;
  color: var(--accent-soft);
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(0,0,0,0.18);
}
.page-meta-author::before {
  content: "";
  display: inline-block;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--brand));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.5);
}
.page-meta time {
  font-family: var(--font-heading);
  font-style: italic;
  color: var(--accent);
  font-size: 0.92rem;
}
.page-meta > *:not(:last-child)::after {
  /* small gold dot separator */
  content: "·";
  margin-left: 0.65rem;
  color: var(--accent-warm);
  font-weight: 700;
}

/* Gold ribbon under the hero, signalling "content begins" */
.page-hero + section,
.page-hero + main,
.page-hero ~ .site-section:first-of-type {
  position: relative;
}
.page-hero::before { /* re-declared above */ }

/* Add a subtle gold ribbon line at the bottom edge of the hero */
.page-hero {
  border-bottom: 1px solid transparent;
  background-image:
    linear-gradient(90deg,
      transparent 0%,
      rgba(224,174,95,0.45) 30%,
      var(--accent) 50%,
      rgba(224,174,95,0.45) 70%,
      transparent 100%);
  background-repeat: no-repeat;
  background-size: 100% 2px;
  background-position: bottom center;
}

/* ---------- Bento floor (homepage signature) ---------- */
.bento-floor {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: minmax(180px, auto);
  gap: 1.2rem;
  margin-bottom: 1.5rem;
}
.bento-cell {
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 1.6rem 1.7rem 1.5rem;
  min-height: 200px;
  background: var(--bg-card);
}
.bento-cell .bento-tag {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-warm);
  margin-bottom: 0.5rem;
}
.bento-cell h3 {
  font-size: 1.4rem;
  margin-bottom: 0.4rem;
  color: var(--brand-dark);
}
.bento-cell p {
  font-size: 0.94rem;
  color: var(--text-muted);
  margin: 0;
}
.bento-cell--feature {
  grid-column: span 3;
  grid-row: span 2;
  background:
    radial-gradient(circle at 80% 20%, rgba(224,174,95,0.20), transparent 65%),
    linear-gradient(135deg, var(--brand-dark), #3D0F1A);
  color: var(--accent-soft);
}
.bento-cell--feature::before { background: linear-gradient(90deg, var(--accent), #F4D294); height: 6px; }
.bento-cell--feature .bento-tag { color: var(--accent); }
.bento-cell--feature h3 { color: var(--accent-soft); font-size: 1.85rem; }
.bento-cell--feature p   { color: rgba(251,241,225,0.78); }
.bento-cell--feature::after { color: rgba(224,174,95,0.12); }

.bento-cell--rummy   { grid-column: span 3; }
.bento-cell--poker   { grid-column: span 3; }
.bento-cell--teen    { grid-column: span 2; }
.bento-cell--bj      { grid-column: span 2; }
.bento-cell--more    { grid-column: span 2; }

.bento-cell.has-watermark { padding-bottom: 2.2rem; }

/* ---------- Security 4-up (art-deco) ---------- */
.security-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.2rem;
  margin-bottom: 1.5rem;
}
.security-tile {
  text-align: center;
  padding: 1.8rem 1.4rem 2rem;
  display: flex; flex-direction: column; align-items: center;
}
.security-tile .icon {
  width: 56px; height: 56px;
  margin: 0.4rem 0 0.9rem;
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 30%, rgba(255,255,255,0.5), transparent 60%),
    linear-gradient(135deg, var(--accent) 0%, var(--accent-warm) 100%);
  color: var(--brand-dark);
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-heading);
  font-style: italic;
  font-weight: 800;
  font-size: 1.6rem;
  box-shadow: 0 6px 14px rgba(224,174,95,0.35), inset 0 1px 0 rgba(255,255,255,0.4);
}
.security-tile h3 {
  font-size: 1.05rem;
  margin: 0 0 0.4rem;
}
.security-tile p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0;
}

/* ---------- Rewards bento ---------- */
.rewards-bento {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
  margin-bottom: 1.5rem;
}
.rewards-cell { padding: 1.6rem 1.7rem; background: var(--bg-card); }
.rewards-cell h3 { font-size: 1.2rem; margin-bottom: 0.4rem; }
.rewards-cell p { font-size: 0.94rem; color: var(--text-muted); margin: 0; }
.rewards-cell--welcome {
  grid-column: 1 / span 1;
  grid-row: 1 / span 2;
  background:
    radial-gradient(circle at 70% 30%, rgba(224,174,95,0.25), transparent 60%),
    linear-gradient(135deg, var(--brand) 0%, #A92541 100%);
  color: var(--accent-soft);
  display: flex; flex-direction: column; justify-content: space-between;
}
.rewards-cell--welcome::before { background: linear-gradient(90deg, var(--accent), #F4D294); height: 6px; }
.rewards-cell--welcome h3 { color: var(--accent-soft); font-size: 1.85rem; }
.rewards-cell--welcome p  { color: rgba(251,241,225,0.85); }
.rewards-cell--welcome .pill {
  display: inline-block;
  background: rgba(251,241,225,0.16);
  color: var(--accent-soft);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 0.35rem 0.7rem;
  border-radius: var(--r-pill);
  align-self: flex-start;
  margin-bottom: 1rem;
}
.rewards-cell--vip {
  grid-column: 1 / -1;
  background:
    linear-gradient(135deg, var(--brand-dark) 0%, #3D0F1A 100%);
  color: var(--accent-soft);
  padding: 1.6rem 1.9rem;
  display: flex; align-items: center; gap: 1.2rem; flex-wrap: wrap;
}
.rewards-cell--vip::before { background: linear-gradient(90deg, var(--accent), var(--brand)); height: 6px; }
.rewards-cell--vip h3 { color: var(--accent-soft); margin: 0; font-size: 1.4rem; }
.rewards-cell--vip p  { color: rgba(251,241,225,0.78); margin: 0; flex: 1 1 320px; }

/* ---------- Support card ---------- */
.support-card {
  margin: 0 auto 2rem;
  padding: clamp(2.4rem, 4vw, 3.4rem) clamp(1.8rem, 3vw, 3rem);
  text-align: center;
  position: relative;
}
.support-card .watermark {
  position: absolute;
  inset: auto 0 -0.4rem;
  font-family: var(--font-heading);
  font-style: italic;
  font-weight: 800;
  font-size: clamp(5rem, 14vw, 11rem);
  color: rgba(199,54,84,0.06);
  line-height: 0.85;
  pointer-events: none;
  white-space: nowrap;
  text-align: center;
  z-index: 0;
}
.support-card > * { position: relative; z-index: 1; }
.support-card .channels {
  display: flex; flex-wrap: wrap; gap: 0.6rem; justify-content: center;
  margin-top: 1.4rem;
  list-style: none; padding: 0;
}
.support-card .channels li {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r-pill);
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--brand-dark);
}
.support-card .channels li strong { color: var(--brand); }

/* ---------- FAQ ---------- */
.faq-section { padding: clamp(3rem, 5vw, 4.5rem) 0; }
.faq-list {
  display: grid;
  gap: 0.7rem;
}
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 0;
  transition: box-shadow var(--t-fast) var(--ease), transform var(--t-fast) var(--ease);
  overflow: hidden;
}
.faq-item[open] {
  box-shadow: var(--shadow-card);
  transform: translateY(-1px);
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 1.1rem 1.3rem;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem;
  color: var(--brand-dark);
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::marker { content: ""; }
.faq-q { flex: 1; }
.faq-icon {
  flex-shrink: 0;
  position: relative;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-warm));
  color: var(--brand-dark);
  display: inline-flex; align-items: center; justify-content: center;
  transition: transform var(--t-fast) var(--ease);
}
.faq-icon::before, .faq-icon::after {
  content: "";
  position: absolute;
  background: var(--brand-dark);
  border-radius: 2px;
}
.faq-icon::before { width: 12px; height: 2px; }
.faq-icon::after  { width: 2px;  height: 12px; transition: opacity var(--t-fast) var(--ease); }
.faq-item[open] .faq-icon { transform: rotate(135deg); }
.faq-answer {
  padding: 0 1.3rem 1.2rem;
  color: var(--text-muted);
  font-size: 0.98rem;
  line-height: 1.65;
}
.faq-answer p:last-child { margin-bottom: 0; }

/* ---------- Footer (redesigned: felt table + dealer's strip) ---------- */
.site-footer {
  position: relative;
  margin-top: clamp(3rem, 6vw, 5rem);
  background: var(--bg);
  color: var(--text);
}
.site-footer .container { padding-left: var(--container-pad); padding-right: var(--container-pad); }

/* 1) Felt CTA panel */
.footer-felt {
  position: relative;
  padding: 0;
  margin: 0 var(--container-pad);
  isolation: isolate;
}
.footer-felt-inner {
  position: relative;
  margin: 0 auto;
  padding: clamp(2rem, 4vw, 3.2rem) clamp(1.6rem, 3vw, 2.8rem) clamp(2.2rem, 4vw, 3.6rem);
  background:
    radial-gradient(ellipse 70% 60% at 90% 0%,  rgba(224,174,95,0.22), transparent 65%),
    radial-gradient(ellipse 70% 80% at -5% 100%, rgba(0,0,0,0.18),     transparent 65%),
    linear-gradient(135deg, #2A0810 0%, #4A1422 60%, #2A0810 100%);
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: 0 30px 60px -20px rgba(42,8,16,0.45);
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: clamp(1.6rem, 3vw, 3rem);
  align-items: center;
  color: var(--text-on-dark);
}
/* Gold pinstripe ribbon at the top edge */
.footer-felt-inner::before {
  content: "";
  position: absolute; inset: 0 0 auto 0;
  height: 5px;
  background: linear-gradient(90deg,
    transparent 0%, var(--accent) 18%, #F4D294 50%, var(--accent-warm) 82%, transparent 100%);
}
/* Subtle scattered card-suit watermarks */
.footer-felt-inner::after {
  content: "♠   ♥   ♦   ♣";
  position: absolute;
  bottom: -1.2rem; left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-heading);
  font-style: italic;
  font-size: clamp(3rem, 8vw, 6rem);
  letter-spacing: 0.4em;
  color: rgba(224,174,95,0.05);
  white-space: nowrap;
  pointer-events: none;
  z-index: 0;
}

.footer-felt-content { position: relative; z-index: 1; }
.footer-felt-kicker {
  display: inline-block;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.7rem;
}
.footer-felt-h2 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4.2vw, 3.2rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0 0 0.7rem;
  color: var(--accent-soft);
}
.footer-felt-h2 em {
  font-family: var(--font-heading);
  font-style: italic;
  font-weight: 700;
  color: var(--accent);
}
.footer-felt-accent {
  position: relative;
  display: inline-block;
  font-style: italic;
  color: var(--bg-card);
}
.footer-felt-accent::after {
  content: "";
  position: absolute; left: -0.1em; right: -0.1em; bottom: 0.05em;
  height: 0.32em;
  background: linear-gradient(90deg, rgba(224,174,95,0.55), rgba(199,54,84,0.30));
  border-radius: 999px;
  z-index: -1;
}
.footer-felt-lead {
  color: rgba(251,241,225,0.85);
  max-width: 36em;
  margin: 0 0 1.25rem;
  font-size: 1.02rem;
}
.footer-felt-lead strong { color: var(--accent); font-weight: 700; }
.footer-felt-actions { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-bottom: 1.6rem; }
.footer-felt .btn-secondary {
  background: rgba(251,241,225,0.08);
  color: var(--accent-soft);
  border-color: rgba(251,241,225,0.18);
}
.footer-felt .btn-secondary:hover {
  background: rgba(251,241,225,0.16);
  border-color: var(--accent);
  color: var(--accent-soft);
}

/* meta row: trust + lang */
.footer-meta-row {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 1rem;
  padding-top: 1.1rem;
  border-top: 1px dashed rgba(251,241,225,0.18);
}
.footer-trust {
  display: flex; flex-wrap: wrap;
  list-style: none;
  padding: 0; margin: 0;
  gap: 0.4rem 1.2rem;
  font-size: 0.82rem;
  color: rgba(251,241,225,0.78);
  letter-spacing: 0.04em;
}
.footer-trust li { display: inline-flex; align-items: center; gap: 0.45rem; }
.dot {
  width: 7px; height: 7px; border-radius: 50%;
  display: inline-block;
}
.dot--gold { background: var(--accent); box-shadow: 0 0 0 2px rgba(224,174,95,0.18); }

.footer-lang {
  display: inline-flex; align-items: center; gap: 0.35rem;
  background: rgba(251,241,225,0.08);
  border: 1px solid rgba(251,241,225,0.18);
  padding: 0.35rem 0.8rem;
  border-radius: var(--r-pill);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
}
.footer-lang a {
  color: rgba(251,241,225,0.65);
  font-weight: 700;
}
.footer-lang a.is-active { color: var(--accent); }
.footer-lang span { color: rgba(251,241,225,0.35); }

/* Fanned cards on the right */
.footer-fan {
  position: relative;
  height: clamp(220px, 30vw, 320px);
  width: 100%;
}
.footer-card {
  position: absolute;
  top: 50%; left: 50%;
  width: clamp(110px, 14vw, 160px);
  aspect-ratio: 5 / 7;
  background: linear-gradient(180deg, #FFFDF8 0%, #FBF1E1 100%);
  border-radius: var(--r-lg);
  border: 1px solid rgba(255,255,255,0.18);
  box-shadow: 0 18px 36px -8px rgba(0,0,0,0.55), inset 0 1px 0 rgba(255,255,255,0.5);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(2.6rem, 4.5vw, 3.8rem);
  color: var(--brand-dark);
  transform-origin: bottom center;
  transition: transform var(--t-med) var(--ease);
}
.footer-card::before, .footer-card::after {
  content: attr(data-corner);
  position: absolute;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0;
  color: inherit;
}
.footer-card::before { top: 0.55rem; left: 0.65rem; }
.footer-card::after  { bottom: 0.55rem; right: 0.65rem; transform: rotate(180deg); }
.footer-card--a { transform: translate(-90%, -50%) rotate(-18deg); color: var(--brand-dark); }
.footer-card--k { transform: translate(-50%, -56%) rotate(-2deg);  color: var(--brand);     z-index: 2; }
.footer-card--q { transform: translate(-10%, -50%) rotate(14deg);  color: var(--brand);     }
.footer-felt:hover .footer-card--a { transform: translate(-95%, -54%) rotate(-22deg); }
.footer-felt:hover .footer-card--k { transform: translate(-50%, -62%) rotate(0deg);   }
.footer-felt:hover .footer-card--q { transform: translate(-5%,  -54%) rotate(18deg);  }

.footer-fan-spark {
  position: absolute;
  top: 8%; right: 8%;
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 1.6rem;
  color: var(--accent);
  filter: drop-shadow(0 0 8px rgba(224,174,95,0.45));
  animation: sparkle 4s ease-in-out infinite;
}

/* 2) Dealer's strip — link map */
.footer-deal {
  position: relative;
  padding: clamp(2.2rem, 4.5vw, 3.4rem) 0 clamp(1.4rem, 3vw, 2.2rem);
}
.footer-deal-inner {
  display: grid;
  grid-template-columns: minmax(260px, 1.2fr) repeat(3, minmax(0, 1fr));
  gap: clamp(1.4rem, 3vw, 2.6rem);
  align-items: start;
}
.footer-brand-col .brand-logo--footer { margin-bottom: 0.9rem; }
.footer-tag {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin: 0 0 1.2rem;
  max-width: 30em;
  line-height: 1.55;
}
.footer-tag em { color: var(--brand); font-weight: 600; }

.footer-pay-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  color: var(--accent-warm);
  margin-bottom: 0.55rem;
}
.footer-pay-pills {
  list-style: none;
  padding: 0; margin: 0;
  display: flex; flex-wrap: wrap;
  gap: 0.36rem;
}
.footer-pay-pills li {
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--brand-dark);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 0.32rem 0.72rem;
  border-radius: var(--r-pill);
  box-shadow: var(--shadow-soft);
  margin-bottom: 0;
}

.footer-link-cols {
  display: contents;
}

.footer-col {
  position: relative;
  padding-top: 0.2rem;
}
.footer-col-title {
  display: flex; align-items: center; gap: 0.5rem;
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--brand-dark);
  margin: 0 0 0.9rem;
  padding-bottom: 0.55rem;
  position: relative;
}
.footer-col-title::after {
  content: "";
  position: absolute; left: 0; bottom: 0;
  width: 28px; height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--brand));
}
.footer-col-suit {
  display: inline-flex; align-items: center; justify-content: center;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-warm));
  color: var(--brand-dark);
  font-size: 0.85rem;
  font-style: normal;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.5);
}
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 0.5rem; }
.footer-col a {
  position: relative;
  display: inline-block;
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 500;
  padding: 0.05rem 0;
  transition: color var(--t-fast) var(--ease), padding var(--t-fast) var(--ease);
}
.footer-col a::before {
  content: "→";
  position: absolute;
  left: -1.1rem; top: 0;
  opacity: 0;
  color: var(--accent);
  transition: opacity var(--t-fast) var(--ease), left var(--t-fast) var(--ease);
}
.footer-col a:hover { color: var(--brand); padding-left: 0.4rem; }
.footer-col a:hover::before { opacity: 1; left: -0.6rem; }

/* 3) Closing rail */
.footer-rail {
  position: relative;
  padding: 1.1rem 0 1.4rem;
  background: var(--brand-dark);
  color: rgba(251,241,225,0.65);
  overflow: hidden;
  isolation: isolate;
}
.footer-watermark {
  position: absolute;
  inset: auto 0 -1.4rem 0;
  text-align: center;
  font-family: var(--font-heading);
  font-style: italic;
  font-weight: 800;
  font-size: clamp(5rem, 14vw, 12rem);
  letter-spacing: -0.04em;
  line-height: 0.85;
  color: rgba(251,241,225,0.04);
  pointer-events: none;
  z-index: -1;
  white-space: nowrap;
}
.footer-rail-inner {
  display: flex; flex-wrap: wrap; gap: 0.8rem 1.6rem;
  justify-content: space-between; align-items: center;
  font-size: 0.82rem;
}
.footer-disclaimer {
  font-family: var(--font-heading);
  font-style: italic;
  color: rgba(251,241,225,0.55);
  max-width: 60ch;
}

/* Footer responsive */
@media (max-width: 1100px) {
  .footer-felt-inner { grid-template-columns: 1fr; }
  .footer-fan { order: -1; height: 240px; }
  .footer-deal-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand-col { grid-column: 1 / -1; }
}
@media (max-width: 700px) {
  .footer-deal-inner { grid-template-columns: 1fr 1fr; }
  .footer-meta-row { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 480px) {
  .footer-deal-inner { grid-template-columns: 1fr; }
  .footer-rail-inner { flex-direction: column; align-items: flex-start; }
  .footer-card { width: 96px; font-size: 2.2rem; }
}

/* ---------- 404 ---------- */
.err-404 { padding: clamp(3rem, 8vw, 6rem) 0; text-align: center; }
.err-404-inner { max-width: 760px; margin: 0 auto; }
.err-404-glyph {
  font-family: var(--font-heading);
  font-style: italic;
  font-weight: 800;
  font-size: clamp(8rem, 22vw, 18rem);
  line-height: 0.9;
  margin: 0.4rem 0 1rem;
  background: linear-gradient(135deg, var(--brand) 0%, var(--accent-warm) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: -0.04em;
}
.err-404 .hero-actions { justify-content: center; }

/* ---------- Reveal animations ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity var(--t-slow) var(--ease), transform var(--t-slow) var(--ease); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  :root { --container-pad: 1.25rem; }
  .footer-linkmap { grid-template-columns: 1.2fr 1fr 1fr; }
  .footer-linkmap .footer-col:nth-child(4) { grid-column: 2 / -1; }
}

@media (max-width: 900px) {
  .header-top { display: none; }
  .header-actions .header-cta { display: none; }
  .nav-toggle { display: inline-flex; }
  .primary-nav { display: none; }

  .brand-logo { height: 52px; max-width: 200px; }
  .brand-logo--footer { height: 48px; }

  .hero-inner { grid-template-columns: 1fr; }
  .hero-art { max-width: 360px; margin-top: 2rem; }
  .hero-stats-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-stats-strip > * { border-right: none; border-bottom: 1px solid var(--border); }
  .hero-stats-strip > *:nth-child(2n) { border-right: none; }
  .hero-stats-strip > :nth-last-child(-n+2) { border-bottom: none; }

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

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

  .image-divider { grid-template-columns: 1fr; }
  .image-divider .img-card { aspect-ratio: 16 / 10; }

  .bento-floor { grid-template-columns: repeat(2, 1fr); }
  .bento-cell--feature { grid-column: span 2; grid-row: auto; }
  .bento-cell--rummy, .bento-cell--poker, .bento-cell--teen, .bento-cell--bj, .bento-cell--more { grid-column: span 2; }

  .rewards-bento { grid-template-columns: 1fr 1fr; }
  .rewards-cell--welcome { grid-column: 1 / -1; grid-row: auto; }

  .footer-linkmap { grid-template-columns: 1fr 1fr; gap: 1.6rem; }
  .footer-brand   { grid-column: 1 / -1; }
}

@media (max-width: 700px) {
  .header-utility { gap: 0.7rem; }
  .lang-switch { display: none; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }

  .floor-grid--cols-2, .floor-grid--cols-3, .floor-grid--cols-4 { grid-template-columns: 1fr; }
  .security-grid { grid-template-columns: 1fr; }
  .rewards-bento { grid-template-columns: 1fr; }
  .rewards-cell--welcome { grid-row: auto; }

  .hero-stats-strip { grid-template-columns: 1fr; }
  .hero-stats-strip > * { border-bottom: 1px solid var(--border) !important; }
  .hero-stats-strip > :last-child { border-bottom: none !important; }

  .footer-linkmap { grid-template-columns: 1fr; }

  .footer-bottom { flex-direction: column; gap: 0.5rem; }
}

@media (max-width: 480px) {
  .btn-primary, .btn-secondary { padding: 0.78rem 1.25rem; font-size: 0.9rem; }
  .hero-art-card { width: 44%; }
  .hero-art-chip { width: 44%; }
  .footer-cta-card { padding: 1.6rem 1.3rem; }
}

/* ---------- Print ---------- */
@media print {
  .site-header, .site-footer, .footer-cta-card, .nav-toggle, .mobile-nav { display: none !important; }
  .hero-bg { display: none; }
  body { background: white; color: black; }
  a { color: black; text-decoration: underline; }
}
