/* =========================================================================
   Diwa Game — site.css
   Playful & vibrant Indian online casino. Fraunces + Plus Jakarta Sans.
   Dominant gold + sharp crimson on warm cream. Tricolor swoosh signature.
   ========================================================================= */

:root {
  /* Colors */
  --brand:        #E0A82E;
  --brand-dark:   #15120D;
  --brand-light:  #F6D88A;
  --accent:       #D72651;
  --accent-warm:  #F5833F;
  --accent-soft:  #F7E3B4;
  --accent-green: #1E8A4C;

  --bg:           #FBF6EC;
  --bg-card:      #FFFDF8;
  --bg-elevated:  #FFFFFF;
  --bg-panel:     #15120D;

  --text:         #221C13;
  --text-muted:   #5E5648;
  --text-dim:     #8C8373;
  --text-on-dark: #FBF1E1;

  --border:        #E8DFCC;
  --border-strong: #D6C9AC;
  --border-soft:   #F1E9D8;

  /* Typography */
  --font-body:    'Plus Jakarta Sans', 'Noto Sans Devanagari', system-ui, sans-serif;
  --font-heading: 'Fraunces', Georgia, 'Noto Sans Devanagari', serif;

  /* Gradients */
  --grad-gold:    linear-gradient(135deg, #F6D88A, var(--brand));
  --grad-stripe:  linear-gradient(90deg, var(--brand) 0%, var(--accent-warm) 45%, var(--accent) 100%);
  --grad-tricolor: linear-gradient(90deg, var(--accent-warm) 0%, #fff 50%, var(--accent-green) 100%);

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

  /* Shadows */
  --shadow-soft:        0 2px 10px rgba(34,28,19,.06);
  --shadow-card:        0 8px 28px rgba(34,28,19,.09), 0 2px 6px rgba(34,28,19,.06);
  --shadow-card-hover:  0 22px 54px rgba(34,28,19,.17), 0 8px 18px rgba(34,28,19,.10);
  --shadow-cta:         0 12px 30px rgba(215,38,81,.30);

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

  counter-reset: img-div;
}

/* fix accidental var typo above with a safe fallback */
:root { --grad-gold: linear-gradient(135deg, #F6D88A, var(--brand)); }

/* ---------------------------------------------------------------- reset */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  counter-reset: img-div;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { font-family: var(--font-heading); font-weight: 600; line-height: 1.12; margin: 0; color: var(--text); letter-spacing: -0.01em; }
p { margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }
strong { font-weight: 700; }
em { font-style: italic; }

/* Hindi: Fraunces lacks Devanagari, fall back to a readable face */
.locale-hi { --font-heading: 'Noto Sans Devanagari', 'Fraunces', serif; }
.locale-hi h1, .locale-hi h2, .locale-hi h3 { letter-spacing: 0; line-height: 1.3; }

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 200;
  background: var(--brand-dark); color: var(--text-on-dark); padding: .75rem 1.25rem; border-radius: 0 0 var(--r-md) 0;
}
.skip-link:focus { left: 0; }

/* ---------------------------------------------------------- shared width */
/* Every bounded element shares these exact left/right edges. */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--pad-x);
}

/* ------------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-family: var(--font-body); font-weight: 700; font-size: .95rem;
  padding: .85rem 1.6rem; border-radius: var(--r-pill);
  border: 1.5px solid transparent; cursor: pointer; transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
  white-space: nowrap;
}
.btn-primary { background: var(--grad-stripe); color: #fff; box-shadow: var(--shadow-cta); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 38px rgba(215,38,81,.38); }
.btn-secondary { background: transparent; color: var(--text); border-color: var(--border-strong); }
.btn-secondary:hover { border-color: var(--brand); color: var(--brand-dark); transform: translateY(-2px); }
.btn-ghost { background: rgba(255,255,255,.12); color: var(--text-on-dark); border-color: rgba(255,255,255,.32); }
.btn-ghost:hover { background: rgba(255,255,255,.2); transform: translateY(-2px); }

.text-link { display: inline-flex; align-items: center; gap: .35rem; font-weight: 700; color: var(--accent); margin-top: .4rem; }
.text-link span { transition: transform .2s ease; }
.text-link:hover span { transform: translateX(4px); }

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

/* =====================================================================
   HEADER — sticky two-row dark
   ===================================================================== */
.site-header { position: sticky; top: 0; z-index: 100; }
.header-utility {
  background: #100E09; color: var(--text-on-dark);
  font-size: .8rem; border-bottom: 1px solid rgba(255,255,255,.06);
}
.header-utility-inner { display: flex; align-items: center; justify-content: space-between; min-height: var(--header-top-h); }
.trust-inline { margin: 0; display: flex; align-items: center; gap: .5rem; color: rgba(251,241,225,.78); font-weight: 500; }
.pulse-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 0 rgba(224,168,46,.6); animation: pulse 2.4s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(224,168,46,.55);} 70% { box-shadow: 0 0 0 8px rgba(224,168,46,0);} 100% { box-shadow: 0 0 0 0 rgba(224,168,46,0);} }
.utility-nav { display: flex; gap: 1.4rem; }
.utility-nav a { color: rgba(251,241,225,.78); font-weight: 500; transition: color .18s; }
.utility-nav a:hover { color: var(--accent-soft); }

.header-main {
  background: var(--bg-panel);
  border-bottom: 1px solid rgba(255,255,255,.07);
  transition: min-height .22s ease, box-shadow .22s ease;
}
.header-main-inner { display: flex; align-items: center; gap: 1.5rem; min-height: var(--header-main-h); }
.is-scrolled .header-main { box-shadow: 0 8px 26px rgba(0,0,0,.28); }
.is-scrolled .header-main-inner { min-height: 4.5rem; }
.brand { display: inline-flex; align-items: center; flex-shrink: 0; }
.brand-logo { height: 64px; width: auto; object-fit: contain; transition: height .22s ease; }
.is-scrolled .brand-logo { height: 52px; }

.primary-nav { position: relative; display: flex; align-items: center; gap: 1.65rem; margin-left: auto; }
.primary-nav > a { color: rgba(251,241,225,.82); font-weight: 600; font-size: .95rem; padding: .35rem 0; position: relative; transition: color .18s; }
.primary-nav > a:hover, .primary-nav > a.active { color: #fff; }
.nav-indicator {
  position: absolute; bottom: -2px; height: 2.5px; width: 0; border-radius: 2px;
  background: var(--grad-stripe); transition: left .28s cubic-bezier(.65,.05,.36,1), width .28s cubic-bezier(.65,.05,.36,1); opacity: 0;
}
.header-actions { display: flex; align-items: center; gap: .85rem; flex-shrink: 0; margin-left: .5rem; }
.header-cta { padding: .65rem 1.3rem; font-size: .9rem; }

/* mobile burger */
.nav-toggle { display: none; flex-direction: column; gap: 5px; width: 44px; height: 44px; align-items: center; justify-content: center; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); border-radius: var(--r-md); cursor: pointer; }
.nav-toggle-bar { width: 22px; height: 2px; background: var(--text-on-dark); border-radius: 2px; transition: transform .25s ease, opacity .2s ease; }
.nav-open .nav-toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle-bar:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* mobile overlay nav */
.mobile-nav {
  position: fixed; inset: 0; z-index: 99;
  background: rgba(16,14,9,.86); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transition: opacity .3s ease, visibility .3s ease;
}
.mobile-nav.open { opacity: 1; visibility: visible; }
.mobile-nav-inner { display: flex; flex-direction: column; gap: 1.1rem; text-align: center; padding: 2rem; }
.mobile-nav-inner a { color: var(--text-on-dark); font-family: var(--font-heading); font-size: 1.65rem; font-weight: 600; }
.mobile-nav-inner a:hover { color: var(--brand); }
.mobile-cta { margin-top: 1rem; align-self: center; }

/* =====================================================================
   HERO
   ===================================================================== */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(1100px 520px at 88% -10%, rgba(224,168,46,.18), transparent 60%),
    radial-gradient(900px 500px at -5% 110%, rgba(215,38,81,.12), transparent 55%),
    var(--bg);
  border-bottom: 1px solid var(--border-soft);
}
.hero-orb { position: absolute; border-radius: 50%; filter: blur(70px); z-index: 0; pointer-events: none; }
.hero-orb--a { width: 460px; height: 460px; right: -8%; top: -18%; background: radial-gradient(circle, rgba(224,168,46,.38), transparent 70%); }
.hero-orb--b { width: 380px; height: 380px; left: -10%; bottom: -22%; background: radial-gradient(circle, rgba(215,38,81,.24), transparent 70%); }
.hero-inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 3.2rem; align-items: center;
  padding-block: clamp(2.6rem, 5vw, 4.8rem) clamp(4rem, 7vw, 6.5rem);
}
.hero-content .kicker { display: inline-flex; align-items: center; gap: .5rem; }
.hero-content h1 {
  font-size: clamp(2.3rem, 5vw, 3.85rem); line-height: 1.04; margin: 0 0 1.2rem; font-weight: 600;
}
.highlight { position: relative; font-style: italic; color: var(--brand-dark); white-space: nowrap; }
.highlight::after {
  content: ""; position: absolute; left: -2px; right: -2px; bottom: .08em; height: .42em; z-index: -1;
  background: linear-gradient(90deg, rgba(224,168,46,.5), rgba(245,131,63,.45)); border-radius: 3px; transform: rotate(-1.2deg);
}
.hero-content .lead { font-size: 1.12rem; color: var(--text-muted); max-width: 40ch; margin-bottom: 1.8rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-bottom: 1.8rem; }
.hero-proof { display: flex; align-items: center; gap: .8rem; font-size: .9rem; color: var(--text-muted); }
.hero-proof .stack { display: inline-flex; }
.hero-proof .chip { width: 30px; height: 30px; border-radius: 50%; border: 2px solid var(--bg); margin-left: -10px; background: var(--grad-stripe); }
.hero-proof .chip:first-child { margin-left: 0; background: linear-gradient(135deg, var(--accent-warm), var(--brand)); }
.hero-proof .chip:nth-child(3) { background: linear-gradient(135deg, var(--accent), var(--accent-warm)); }
.hero-proof strong { color: var(--text); }

/* hero feature image */
.hero-figure { position: relative; justify-self: center; width: 100%; max-width: 460px; }
.hero-figure-frame {
  position: relative; border-radius: var(--r-xl); padding: 10px;
  background: linear-gradient(150deg, rgba(224,168,46,.85), rgba(215,38,81,.55) 55%, rgba(30,138,76,.4));
  box-shadow: 0 30px 70px rgba(34,28,19,.28), 0 10px 24px rgba(34,28,19,.16);
  animation: heroFloat 6s ease-in-out infinite;
}
.hero-figure-frame img,
.hero-figure-fallback {
  display: block; width: 100%; aspect-ratio: 1040 / 1180; object-fit: cover;
  border-radius: calc(var(--r-xl) - 8px); background: #15120D;
}
.hero-figure-fallback { background: radial-gradient(circle at 40% 30%, #2a2113, #15120D 70%); }
.hero-badge {
  position: absolute; left: -18px; bottom: 24px; z-index: 3;
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  width: 104px; height: 104px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff6df, var(--brand) 78%);
  border: 4px solid var(--bg); box-shadow: 0 14px 30px rgba(224,168,46,.5); color: var(--brand-dark);
}
.hero-badge .num { font-family: var(--font-heading); font-weight: 700; font-size: 1.7rem; line-height: 1; }
.hero-badge .lbl { font-size: .6rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; margin-top: .15rem; padding: 0 .4rem; }
.hero-chip {
  position: absolute; right: -14px; top: 26px; z-index: 3;
  display: flex; align-items: center; gap: .55rem;
  background: var(--bg-elevated); border: 1px solid var(--border); border-radius: var(--r-pill);
  padding: .6rem .95rem; box-shadow: var(--shadow-card); animation: heroFloat 6s ease-in-out infinite .8s;
}
.hero-chip-icon { color: var(--brand); font-size: 1.1rem; }
.hero-chip-text { font-size: .82rem; color: var(--text-muted); }
.hero-chip-text strong { color: var(--text); }
@keyframes heroFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* hero-bridge stat strip — normal flow, overlaps hero */
.hero-bridge { position: relative; z-index: 2; margin-top: -3.25rem; }
.hero-stats-strip {
  display: grid; grid-template-columns: repeat(4, minmax(0,1fr));
  background: var(--bg-panel); border-radius: var(--r-lg);
  box-shadow: var(--shadow-card-hover); overflow: hidden;
}
.stat-tile { padding: 1.5rem 1.25rem; text-align: center; border-right: 1px solid rgba(255,255,255,.08); position: relative; }
.stat-tile::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--grad-stripe); opacity: .8; }
.stat-tile:last-child { border-right: none; }
.stat-num { display: block; font-family: var(--font-heading); font-weight: 700; font-size: 2rem; color: var(--brand); line-height: 1; }
.stat-label { display: block; margin-top: .45rem; font-size: .8rem; color: rgba(251,241,225,.72); text-transform: uppercase; letter-spacing: .06em; }

/* =====================================================================
   SECTIONS & SECTION HEAD
   ===================================================================== */
.section { padding-block: clamp(2.8rem, 5vw, 4.6rem); }
.intro-section { padding-bottom: 0; }
.section-head { max-width: 760px; margin-bottom: 2rem; }
.section-head h2 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); }
.section-sub { margin-top: .9rem; color: var(--text-muted); font-size: 1.05rem; }
.section-extra { margin-top: 1.1rem; color: var(--text-muted); }
.lead-line { font-weight: 600; color: var(--text); margin-bottom: 1.4rem; }

/* ---- universal card surface (redesigned: clean surface, heading accent,
   hover gold-ring + corner glow; no full-width top stripe) ---- */
.floor-card, .plain-card, .support-card, .bento-card, .security-tile,
.reward-card, .reward-welcome, .reward-vip, .faq-item, .rich-tile, .step-item, .split-body {
  position: relative; background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--card-radius); box-shadow: var(--shadow-card);
}
.floor-card, .plain-card, .support-card, .bento-card, .security-tile,
.reward-card, .reward-welcome, .reward-vip, .rich-tile { isolation: isolate; }

/* interactive cards */
.floor-card, .bento-card {
  padding: 1.85rem 1.7rem; overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.floor-card::after {
  content: ""; position: absolute; top: 0; right: 0; width: 132px; height: 132px; pointer-events: none;
  background: radial-gradient(circle at 100% 0, rgba(224,168,46,.20), transparent 70%);
  opacity: 0; transition: opacity .25s ease; border-radius: 0 var(--card-radius) 0 0;
}
.floor-card:hover, .bento-card:hover {
  transform: translateY(-6px); border-color: rgba(224,168,46,.6);
  box-shadow: 0 26px 56px rgba(34,28,19,.16), 0 0 0 4px rgba(224,168,46,.10);
}
.floor-card:hover::after { opacity: 1; }
.floor-card h3 {
  font-size: 1.18rem; margin-bottom: .9rem; padding-bottom: .75rem; color: var(--brand-dark); position: relative;
}
.floor-card h3::after { content: ""; position: absolute; left: 0; bottom: 0; width: 34px; height: 3px; border-radius: 3px; background: var(--grad-stripe); }
.floor-card-body { color: var(--text-muted); font-size: .97rem; }

/* floor grids — full width, columns by item count (R3) */
.floor-grid { display: grid; gap: 1.25rem; }
.floor-grid--cols-1 { grid-template-columns: 1fr; }
.floor-grid--cols-2 { grid-template-columns: repeat(2, 1fr); }
.floor-grid--cols-3 { grid-template-columns: repeat(3, 1fr); }
.floor-grid--cols-4 { grid-template-columns: repeat(4, 1fr); }

/* rich variant — full width single column, sub-cards + bold dividers (R4b) */
.floor-grid--rich { grid-template-columns: 1fr; gap: 1.25rem; }
.rich-tile { padding: 2.2rem 2.2rem; }
.rich-title {
  font-size: 1.3rem; color: var(--brand-dark); padding-top: 1rem; margin-bottom: 1rem;
  border-top: 2px solid var(--brand); display: inline-block;
}
.rich-body p { color: var(--text-muted); }
.rich-list { display: grid; gap: .7rem; margin: 1rem 0; }
.rich-item {
  background: var(--bg); border: 1px solid var(--border-soft); border-radius: var(--r-md);
  padding: 1rem 1.15rem 1rem 1.45rem; position: relative; color: var(--text); font-size: .96rem;
}
.rich-item::before { content: ""; position: absolute; left: 0; top: 10px; bottom: 10px; width: 3px; border-radius: 3px; background: linear-gradient(180deg, var(--brand), var(--accent)); }

/* plain card (editorial centered, full width) */
.plain-card { padding: 2rem 2.1rem; color: var(--text-muted); }
.plain-card--flush { margin-top: 1.25rem; }
.plain-card p { color: var(--text-muted); }
.rg-note { margin-top: 1.1rem; font-size: .92rem; color: var(--text-dim); }

/* intro block — full width */
.intro-block {
  font-family: var(--font-heading); font-size: clamp(1.15rem, 2.2vw, 1.5rem); font-weight: 500;
  line-height: 1.5; color: var(--text); font-style: italic;
  padding-left: 1.5rem; border-left: 4px solid var(--brand);
}

/* feature check-list — gold ticks */
.feature-check-list { display: grid; gap: .75rem; }
.feature-check-list li { position: relative; padding-left: 2.1rem; color: var(--text); }
.feature-check-list li::before {
  content: "✓"; position: absolute; left: 0; top: 1px; width: 1.4rem; height: 1.4rem; border-radius: 50%;
  background: var(--grad-stripe); color: #fff; font-size: .8rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.feature-check-list--plain {
  background: linear-gradient(180deg, rgba(246,216,138,.16), rgba(246,216,138,.04));
  border: 1px solid var(--border); border-left: 4px solid var(--brand);
  border-radius: var(--r-md); padding: 1.5rem 1.6rem;
}

/* split layout — image + body, full width */
.split-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem; align-items: stretch; }
.split-media { border-radius: var(--card-radius); overflow: hidden; box-shadow: var(--shadow-card); border: 1px solid var(--border); }
.split-media img { width: 100%; height: 100%; min-height: 280px; object-fit: cover; }
.split-body { padding: 2rem 2.1rem; }
.split-title { font-size: 1.3rem; color: var(--brand-dark); margin-bottom: 1.1rem; }
.split-body .feature-check-list { margin-bottom: 1.1rem; }
.split-body .btn { margin-top: 1.1rem; }

/* =====================================================================
   IMAGE DIVIDER — contained two-column figure with CSS counter (R5b)
   ===================================================================== */
.image-divider {
  counter-increment: img-div;
  margin: 1rem 0; display: grid; grid-template-columns: 1.5fr 1fr; gap: 1.6rem; align-items: stretch;
}
.image-divider-card { border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--shadow-card); border: 1px solid var(--border); }
.image-divider-card img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.image-divider-aside {
  display: flex; flex-direction: column; justify-content: center; gap: .5rem;
  background: var(--bg-panel); border-radius: var(--r-xl); padding: 2rem; color: var(--text-on-dark);
}
.image-divider-num::before { content: "0" counter(img-div); font-family: var(--font-heading); font-weight: 700; font-size: 2.8rem; color: var(--brand); line-height: 1; }
.image-divider-kicker { font-size: .72rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--accent-soft); }
.image-divider-title { font-family: var(--font-heading); font-size: 1.4rem; font-weight: 600; }

/* =====================================================================
   BENTO GAME FLOOR
   ===================================================================== */
.bento-floor { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 1fr; gap: 1.25rem; }
.bento-card { padding: 1.7rem 1.6rem; transition: transform .22s ease, box-shadow .22s ease; }
.bento-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-card-hover); }
.bento-card h3 { font-size: 1.25rem; margin-bottom: .6rem; color: var(--brand-dark); }
.bento-card p { color: var(--text-muted); font-size: .96rem; }
.bento-card--feature {
  grid-row: span 2; grid-column: span 1;
  background: linear-gradient(150deg, #1d1810, #15120D); color: var(--text-on-dark);
  display: flex; flex-direction: column; justify-content: flex-end;
}
.bento-card--feature h3 { color: #fff; font-size: 1.7rem; }
.bento-card--feature p { color: rgba(251,241,225,.78); }
.bento-card--feature .text-link { color: var(--brand); }
.bento-tag {
  align-self: flex-start; margin-bottom: auto; font-size: .68rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  background: var(--grad-stripe); color: #fff; padding: .35rem .8rem; border-radius: var(--r-pill);
}

/* =====================================================================
   SECURITY GRID — art-deco 4-up
   ===================================================================== */
.security-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.security-tile { padding: 2rem 1.6rem 1.7rem; overflow: hidden; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.security-tile:hover { transform: translateY(-5px); border-color: rgba(224,168,46,.5); box-shadow: var(--shadow-card-hover); }
.security-tile::after { /* art-deco corner bracket */
  content: ""; position: absolute; top: 14px; right: 14px; width: 24px; height: 24px;
  border-top: 2px solid var(--brand); border-right: 2px solid var(--brand); border-radius: 0 8px 0 0; opacity: .6;
}
.security-index { font-family: var(--font-heading); font-weight: 700; font-size: 2.1rem; display: block; margin-bottom: .5rem; line-height: 1;
  background: var(--grad-stripe); -webkit-background-clip: text; background-clip: text; color: transparent; }
.security-tile h3 { font-size: 1.1rem; color: var(--brand-dark); margin-bottom: .55rem; }
.security-tile p { font-size: .92rem; color: var(--text-muted); }

/* =====================================================================
   STEPS RAIL
   ===================================================================== */
.steps-rail { display: grid; gap: 1.1rem; counter-reset: step; }
.step-item { display: grid; grid-template-columns: auto 1fr; gap: 1.3rem; align-items: start; padding: 1.6rem 1.8rem; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.step-item:hover { transform: translateX(4px); border-color: rgba(224,168,46,.5); box-shadow: var(--shadow-card-hover); }
.step-num {
  width: 3rem; height: 3rem; border-radius: 50%; flex-shrink: 0;
  background: var(--bg-panel); color: var(--brand); font-family: var(--font-heading); font-weight: 700; font-size: 1.4rem;
  display: flex; align-items: center; justify-content: center;
}
.step-item h3 { font-size: 1.18rem; color: var(--brand-dark); margin-bottom: .4rem; }
.step-item p { color: var(--text-muted); }
.inline-list { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .7rem; }
.inline-list li { background: var(--bg); border: 1px solid var(--border); border-radius: var(--r-pill); padding: .35rem .9rem; font-size: .88rem; font-weight: 600; }

/* =====================================================================
   REWARDS BENTO
   ===================================================================== */
.rewards-bento { display: grid; grid-template-columns: 1.3fr 1fr 1fr; grid-auto-rows: auto; gap: 1.25rem; }
.reward-welcome {
  grid-row: span 2; padding: 2.2rem; display: flex; flex-direction: column; align-items: flex-start;
  background: linear-gradient(155deg, #241a10, #15120D); color: var(--text-on-dark);
}
.reward-welcome h3 { color: #fff; font-size: 1.9rem; margin: .6rem 0 .8rem; }
.reward-welcome p { color: rgba(251,241,225,.8); margin-bottom: 1.4rem; }
.reward-welcome .btn { margin-top: auto; }
.reward-badge { font-family: var(--font-heading); font-style: italic; font-weight: 700; font-size: 1.1rem; color: var(--brand); background: rgba(224,168,46,.12); padding: .3rem .9rem; border-radius: var(--r-pill); }
.reward-card { padding: 1.5rem 1.5rem; }
.reward-card h3 { font-size: 1.12rem; color: var(--brand-dark); margin-bottom: .5rem; }
.reward-card p { color: var(--text-muted); font-size: .94rem; }
.reward-vip {
  grid-column: 2 / 4; padding: 1.7rem 1.8rem 1.7rem 2.1rem;
  background: linear-gradient(110deg, rgba(215,38,81,.07), rgba(224,168,46,.08));
  border-color: var(--border-strong); display: flex; flex-direction: column; justify-content: center; overflow: hidden;
}
.reward-vip::before { content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 5px; background: var(--grad-stripe); }
.reward-vip h3 { font-size: 1.3rem; color: var(--brand-dark); margin-bottom: .5rem; }
.reward-vip p { color: var(--text-muted); }

/* =====================================================================
   SUPPORT CARD — editorial w/ oversized watermark
   ===================================================================== */
.support-card { padding: clamp(2rem, 4vw, 3.2rem); text-align: center; overflow: hidden;
  background: radial-gradient(700px 320px at 50% -30%, rgba(224,168,46,.08), transparent 70%), var(--bg-card); }
.support-watermark {
  position: absolute; right: -2%; bottom: -22%; font-family: var(--font-heading); font-style: italic; font-weight: 700;
  font-size: clamp(8rem, 22vw, 16rem); color: rgba(224,168,46,.08); line-height: 1; pointer-events: none; z-index: 0;
}
.support-card p { position: relative; z-index: 1; max-width: 62ch; margin-inline: auto; color: var(--text-muted); font-size: 1.05rem; }
.support-actions { position: relative; z-index: 1; display: flex; gap: .9rem; justify-content: center; flex-wrap: wrap; margin-top: 1.6rem; }

/* =====================================================================
   PAGE HERO (inner pages)
   ===================================================================== */
.page-hero {
  background:
    radial-gradient(900px 380px at 92% -20%, rgba(224,168,46,.16), transparent 60%),
    var(--bg-panel);
  color: var(--text-on-dark); padding-block: clamp(2.4rem, 5vw, 3.8rem);
}
.breadcrumb { font-size: .85rem; color: rgba(251,241,225,.62); margin-bottom: 1rem; display: flex; gap: .5rem; flex-wrap: wrap; }
.breadcrumb a { color: var(--accent-soft); }
.breadcrumb a:hover { color: #fff; }
.page-hero h1 { color: #fff; font-size: clamp(1.9rem, 4vw, 3rem); max-width: 20ch; }
.page-hero .highlight { color: #fff; }
.page-hero .highlight::after { background: linear-gradient(90deg, rgba(224,168,46,.55), rgba(215,38,81,.45)); }
.page-hero-sub { margin-top: 1rem; color: rgba(251,241,225,.82); max-width: 62ch; font-size: 1.08rem; }
.page-meta { margin-top: 1rem; font-size: .85rem; color: rgba(251,241,225,.6); }
.page-meta-author { font-weight: 700; color: var(--accent-soft); }

/* =====================================================================
   FAQ
   ===================================================================== */
.faq-section { background: linear-gradient(180deg, transparent, rgba(224,168,46,.05)); }
.faq-list { display: grid; gap: .9rem; }
.faq-item { padding: 0 1.5rem; overflow: hidden; transition: box-shadow .2s ease, transform .2s ease; }
.faq-item[open] { box-shadow: var(--shadow-card-hover); transform: translateY(-1px); }
.faq-item summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.3rem 0; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-q { font-family: var(--font-heading); font-weight: 600; font-size: 1.1rem; color: var(--brand-dark); }
.faq-icon { position: relative; width: 22px; height: 22px; flex-shrink: 0; }
.faq-icon::before, .faq-icon::after { content: ""; position: absolute; background: var(--accent); border-radius: 2px; transition: transform .25s ease; }
.faq-icon::before { top: 10px; left: 0; width: 22px; height: 2.5px; }
.faq-icon::after { left: 10px; top: 0; width: 2.5px; height: 22px; }
.faq-item[open] .faq-icon::after { transform: rotate(90deg); opacity: 0; }
.faq-answer { padding: 0 0 1.4rem; color: var(--text-muted); }

/* =====================================================================
   FOOTER
   ===================================================================== */
.site-footer {
  position: relative; background: var(--bg-panel); color: var(--text-on-dark);
  margin-top: clamp(3rem, 6vw, 5rem); padding-top: clamp(2.5rem, 5vw, 4rem); padding-bottom: 2rem;
}
/* tricolor signature accent (saffron · white · emerald — from the logo swoosh) */
.footer-accent { position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--grad-tricolor); }

/* join band */
.footer-join {
  position: relative; overflow: hidden; margin-bottom: 3rem;
  display: grid; grid-template-columns: 1fr auto; gap: 1.4rem 2rem; align-items: center;
  background: linear-gradient(135deg, #241b0f, #15120D 70%);
  border: 1px solid rgba(224,168,46,.28); border-radius: var(--r-xl);
  padding: clamp(1.8rem, 4vw, 2.6rem) clamp(1.8rem, 4vw, 2.8rem);
  box-shadow: var(--shadow-card-hover);
}
.footer-join::before { content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 5px; background: var(--grad-stripe); }
.footer-join::after { content: ""; position: absolute; right: -70px; top: -70px; width: 260px; height: 260px; border-radius: 50%; background: radial-gradient(circle, rgba(224,168,46,.20), transparent 70%); pointer-events: none; }
.footer-join-text { position: relative; z-index: 1; }
.footer-join .kicker { color: var(--accent-soft); }
.footer-join h2 { color: #fff; font-size: clamp(1.55rem, 3vw, 2.25rem); }
.footer-join h2 em { font-style: italic; color: var(--brand); }
.footer-join p { color: rgba(251,241,225,.78); margin-top: .55rem; max-width: 52ch; }
.footer-join-actions { position: relative; z-index: 1; display: flex; gap: .8rem; flex-wrap: wrap; }

/* main grid: brand block + 3 link columns */
.footer-grid { display: grid; grid-template-columns: 1.35fr 2fr; gap: 2.5rem; padding-bottom: 2.5rem; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem 2rem; }
.footer-logo { height: 76px; width: auto; object-fit: contain; }
.footer-tagline { color: rgba(251,241,225,.7); font-size: .92rem; margin: 1.1rem 0 1.3rem; max-width: 40ch; }
.payment-pills { display: flex; flex-wrap: wrap; gap: .5rem; }
.pay-pill { font-size: .72rem; font-weight: 700; letter-spacing: .04em; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); border-radius: var(--r-sm); padding: .4rem .75rem; color: var(--text-on-dark); }
.footer-col-title { font-family: var(--font-heading); font-style: italic; font-size: 1.15rem; color: var(--brand); margin-bottom: 1rem; position: relative; padding-bottom: .5rem; }
.footer-col-title::after { content: ""; position: absolute; left: 0; bottom: 0; width: 28px; height: 2px; background: var(--grad-stripe); }
.footer-col ul { display: grid; gap: .6rem; }
.footer-col a { color: rgba(251,241,225,.74); font-size: .92rem; transition: color .18s, padding-left .18s; }
.footer-col a:hover { color: var(--brand); padding-left: 4px; }

/* bottom bar */
.footer-bottom { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between; padding-top: 1.6rem; }
.footer-trust { display: flex; flex-wrap: wrap; gap: .6rem; }
.trust-pill { font-size: .76rem; font-weight: 600; color: rgba(251,241,225,.8); background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-radius: var(--r-pill); padding: .45rem 1rem; }
.footer-legal { text-align: right; color: rgba(251,241,225,.55); font-size: .82rem; }
.footer-legal p { margin: .15rem 0; }
.footer-rg { font-size: .8rem; }

/* =====================================================================
   404
   ===================================================================== */
.err-404 { min-height: 64vh; display: flex; align-items: center; justify-content: center; text-align: center; padding-block: 4rem; }
.err-404-glyph { font-family: var(--font-heading); font-style: italic; font-weight: 700; font-size: clamp(8rem, 22vw, 18rem); line-height: .9;
  background: var(--grad-stripe); -webkit-background-clip: text; background-clip: text; color: transparent; }
.err-404 h1 { font-size: clamp(1.6rem, 4vw, 2.4rem); margin: .5rem 0 1rem; }
.err-404 p { color: var(--text-muted); max-width: 46ch; margin-inline: auto; margin-bottom: 1.6rem; }

/* =====================================================================
   REVEAL ANIMATION
   ===================================================================== */
/* progressive enhancement: hidden state only applies when JS is active */
.reveal { transition: opacity .55s ease, transform .55s ease; }
.js .reveal { opacity: 0; transform: translateY(18px); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.floor-grid .reveal:nth-child(2), .security-grid .reveal:nth-child(2), .bento-floor .reveal:nth-child(2) { transition-delay: .06s; }
.floor-grid .reveal:nth-child(3), .security-grid .reveal:nth-child(3), .bento-floor .reveal:nth-child(3) { transition-delay: .12s; }
.floor-grid .reveal:nth-child(4), .security-grid .reveal:nth-child(4), .bento-floor .reveal:nth-child(4) { transition-delay: .18s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .pulse-dot, .hero-figure-frame, .hero-chip { animation: none !important; }
}

/* =====================================================================
   RESPONSIVE
   ===================================================================== */
@media (max-width: 1100px) {
  .hero-inner { gap: 2rem; }
  .hero-figure { max-width: 400px; }
  .footer-grid { grid-template-columns: 1.1fr 2fr; gap: 2rem; }
  .reward-welcome { grid-row: span 2; }
}
@media (max-width: 900px) {
  .primary-nav { display: none; }
  .header-utility { display: none; }
  .nav-toggle { display: flex; }
  :root { --header-h: var(--header-main-h); }
  .nav-open { overflow: hidden; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-figure { max-width: 360px; margin-inline: auto; }
  .floor-grid--cols-3, .floor-grid--cols-4, .security-grid { grid-template-columns: repeat(2, 1fr); }
  .bento-floor { grid-template-columns: repeat(2, 1fr); }
  .bento-card--feature { grid-row: span 1; grid-column: 1 / -1; }
  .rewards-bento { grid-template-columns: 1fr 1fr; }
  .reward-welcome { grid-row: span 1; grid-column: 1 / -1; }
  .reward-vip { grid-column: 1 / -1; }
  .split-layout, .image-divider { grid-template-columns: 1fr; }
  .footer-join { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { justify-content: center; text-align: center; }
  .footer-legal { text-align: center; }
}
@media (max-width: 700px) {
  .hero-stats-strip { grid-template-columns: repeat(2, 1fr); }
  .stat-tile:nth-child(2) { border-right: none; }
  .stat-tile:nth-child(1), .stat-tile:nth-child(2) { border-bottom: 1px solid rgba(255,255,255,.08); }
}
@media (max-width: 560px) {
  :root { --pad-x: 1.1rem; }
  .floor-grid--cols-2, .floor-grid--cols-3, .floor-grid--cols-4, .security-grid, .bento-floor, .rewards-bento { grid-template-columns: 1fr; }
  .hero-content h1 { font-size: 2.1rem; }
  .highlight { white-space: normal; }
  .step-item { grid-template-columns: 1fr; gap: .8rem; }
  .footer-links { grid-template-columns: 1fr 1fr; }
  .footer-trust { gap: .5rem; }
}
@media (max-width: 480px) {
  .hero-stats-strip { grid-template-columns: 1fr; }
  .stat-tile { border-right: none; border-bottom: 1px solid rgba(255,255,255,.08); }
  .stat-tile:last-child { border-bottom: none; }
  .btn { width: 100%; }
  .hero-actions, .support-actions, .footer-join-actions { width: 100%; }
  .hero-badge { left: 8px; }
  .hero-chip { right: 8px; }
}
