/* ==========================================================================
   Rummy Pro · rummypros.com
   Direction: "Pro League". Midnight navy ground, parrot green actions and one
   tangerine accent, slanted plates and chevron rank marks taken from the
   wordmark's PRO plate. Image-led, borderless surfaces.
   ========================================================================== */

:root {
  --brand: #46C22B;
  --brand-dark: #2C8F18;
  --brand-light: #8DE86E;
  --accent: #FF8A1F;
  --accent-warm: #FFB454;
  --accent-soft: rgba(255, 138, 31, .14);

  --bg: #070B24;
  --bg-card: #0F1642;
  --bg-elevated: #17205A;
  --bg-panel: #0B1034;
  --ink: #070B24;

  --text: #EEF2FF;
  --text-muted: #AEB8E0;
  --text-dim: #7C88B8;
  --text-on-dark: #FFFFFF;

  --border: rgba(140, 160, 255, .16);
  --border-strong: rgba(140, 160, 255, .32);
  --border-soft: rgba(140, 160, 255, .08);

  --font-body: 'DM Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-heading: 'Kanit', 'DM Sans', system-ui, sans-serif;

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

  --shadow-soft: 0 6px 18px rgba(2, 4, 20, .35);
  --shadow-card: 0 14px 34px rgba(2, 4, 20, .45), 0 2px 6px rgba(2, 4, 20, .3);
  --shadow-card-hover: 0 22px 48px rgba(2, 4, 20, .6), 0 0 0 1px rgba(70, 194, 43, .28);
  --shadow-cta: 0 10px 26px rgba(70, 194, 43, .32);

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

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

  --ease: cubic-bezier(.16, 1, .3, 1);
  --stripe: linear-gradient(90deg, var(--brand), var(--accent));
}

html[lang="hi"] {
  --font-body: 'Hind', 'DM Sans', system-ui, sans-serif;
  --font-heading: 'Kanit', 'Hind', system-ui, sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { background: #000; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 1rem); }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.68;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
figure { margin: 0; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, h4 { font-family: var(--font-heading); line-height: 1.15; margin: 0; color: var(--text-on-dark); text-wrap: balance; }
p { margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }
a { color: var(--brand-light); text-underline-offset: .18em; }
a:hover { color: var(--accent-warm); }
ul, ol { margin: 0; padding: 0; }
:focus-visible { outline: 3px solid var(--accent-warm); outline-offset: 3px; border-radius: 4px; }

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

.skip-link {
  position: fixed; top: .5rem; left: .5rem; z-index: 300;
  padding: .7rem 1.1rem; border-radius: var(--r-pill);
  background: var(--brand); color: var(--ink); font-weight: 700; text-decoration: none;
  transform: translateY(-180%); transition: transform .2s var(--ease);
}
.skip-link:focus { transform: none; color: var(--ink); }

/* ---------- Ornament: the chevron rank mark ---------- */
.chev {
  display: inline-block; flex: none;
  width: 1.05rem; height: .78rem;
  background: var(--brand);
  clip-path: polygon(0 0, 25% 0, 50% 50%, 25% 100%, 0 100%, 25% 50%, 0 0, 45% 0, 70% 0, 95% 50%, 70% 100%, 45% 100%, 70% 50%, 45% 0);
}
.rank-rule { display: flex; align-items: center; gap: .6rem; margin: 1rem 0 1.3rem; }
.rank-rule::before {
  content: ""; flex: none; width: 1.5rem; height: .82rem; background: var(--brand);
  clip-path: polygon(0 0, 25% 0, 50% 50%, 25% 100%, 0 100%, 25% 50%, 0 0, 45% 0, 70% 0, 95% 50%, 70% 100%, 45% 100%, 70% 50%, 45% 0);
}
.rank-rule::after { content: ""; flex: 1; height: 2px; background: linear-gradient(90deg, var(--accent), rgba(255, 138, 31, 0)); }

.kicker {
  display: inline-flex; align-items: center; gap: .55rem;
  margin: 0 0 .9rem;
  font-family: var(--font-heading); font-weight: 600; font-size: .8rem;
  letter-spacing: .16em; text-transform: uppercase; color: var(--accent-warm);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .85rem 1.7rem; border: 0; border-radius: var(--r-pill);
  font-family: var(--font-heading); font-weight: 700; font-size: 1.02rem; letter-spacing: .01em;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), filter .25s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: scale(.98); }
.btn--primary { background: linear-gradient(180deg, var(--brand-light), var(--brand) 55%, var(--brand-dark)); color: var(--ink); box-shadow: var(--shadow-cta); }
.btn--primary:hover { color: var(--ink); filter: brightness(1.06); }
.btn--accent { background: linear-gradient(180deg, var(--accent-warm), var(--accent)); color: var(--ink); box-shadow: 0 10px 26px rgba(255, 138, 31, .28); }
.btn--accent:hover { color: var(--ink); filter: brightness(1.05); }
.btn--ghost { background: rgba(255, 255, 255, .08); color: var(--text-on-dark); box-shadow: inset 0 0 0 1.5px var(--border-strong); }
.btn--ghost:hover { color: var(--text-on-dark); background: rgba(255, 255, 255, .14); }
.btn--ink { background: var(--ink); color: #fff; box-shadow: 0 10px 24px rgba(7, 11, 36, .35); }
.btn--ink:hover { color: #fff; }

/* ---------- Header (sticky, two rows, pure black) ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: #000; }
.site-header::after { content: ""; display: block; height: 2px; background: var(--stripe); }
.site-header.is-scrolled { box-shadow: 0 12px 30px rgba(0, 0, 0, .55); }

.header-top { height: var(--header-top-h); background: #000; box-shadow: inset 0 -1px 0 rgba(255, 255, 255, .08); font-size: .78rem; }
.header-top-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; height: 100%; }
.header-trust { display: flex; align-items: center; gap: .55rem; margin: 0; color: var(--text-muted); letter-spacing: .04em; white-space: nowrap; }
.pulse-dot { width: .5rem; height: .5rem; border-radius: 50%; background: var(--accent-warm); box-shadow: 0 0 0 0 rgba(255, 180, 84, .7); }
.utility-nav { display: flex; gap: 1.4rem; }
.utility-nav a { color: var(--text-muted); text-decoration: none; white-space: nowrap; }
.utility-nav a:hover, .utility-nav a.active { color: var(--brand-light); }

.header-main { height: var(--header-main-h); }
.header-main-inner { display: flex; align-items: center; gap: 1.5rem; height: 100%; }
.logo { display: inline-flex; flex: none; }
.logo img { height: 44px; width: auto; object-fit: contain; }

.primary-nav { position: relative; margin-left: auto; height: 100%; display: flex; align-items: center; }
.primary-nav ul { display: flex; align-items: center; gap: .15rem; list-style: none; height: 100%; }
.primary-nav li { height: 100%; display: flex; align-items: center; }
.primary-nav ul a {
  padding: .5rem .72rem; border-radius: var(--r-sm);
  font-family: var(--font-heading); font-weight: 600; font-size: .98rem;
  color: var(--text); text-decoration: none; white-space: nowrap;
  transition: color .2s var(--ease);
}
.primary-nav ul a:hover, .primary-nav ul a.active { color: var(--brand-light); }
.nav-indicator {
  position: absolute; left: 0; bottom: 0; width: 0; height: 3px; border-radius: 3px 3px 0 0;
  background: var(--stripe); opacity: 0;
  transition: transform .35s var(--ease), width .35s var(--ease), opacity .2s;
}
.nav-extra { display: none; }
.header-cta { flex: none; padding: .62rem 1.3rem; font-size: .95rem; }

.burger { display: none; flex: none; width: 2.75rem; height: 2.75rem; padding: 0; border: 0; border-radius: var(--r-md); background: rgba(255, 255, 255, .08); cursor: pointer; position: relative; }
.burger span { position: absolute; left: .7rem; right: .7rem; height: 2px; border-radius: 2px; background: #fff; transition: transform .3s var(--ease), opacity .2s; }
.burger span:nth-child(1) { top: .95rem; }
.burger span:nth-child(2) { top: 1.31rem; }
.burger span:nth-child(3) { top: 1.67rem; }
.nav-open .burger span:nth-child(1) { transform: translateY(.36rem) rotate(45deg); }
.nav-open .burger span:nth-child(2) { opacity: 0; }
.nav-open .burger span:nth-child(3) { transform: translateY(-.36rem) rotate(-45deg); }

/* ---------- Hero: winged triptych ---------- */
.hero { position: relative; isolation: isolate; overflow: hidden; padding: 3.5rem 0 6.5rem; }
.hero-bg { position: absolute; inset: 0; z-index: -2; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .78; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(52% 64% at 50% 40%, rgba(7, 11, 36, .9), rgba(7, 11, 36, .22) 72%),
    radial-gradient(40% 50% at 8% 10%, rgba(70, 194, 43, .22), transparent 70%),
    radial-gradient(40% 50% at 94% 86%, rgba(255, 138, 31, .2), transparent 70%),
    linear-gradient(180deg, rgba(7, 11, 36, .3) 40%, var(--bg) 97%);
}
.hero-grid {
  display: grid; align-items: center; gap: 2rem;
  grid-template-columns: minmax(0, .62fr) minmax(0, 1.6fr) minmax(0, .62fr);
  grid-template-areas: "wl copy wr";
}
.hero-wing { position: relative; }
.hero-wing--l { grid-area: wl; transform: translateY(1.75rem); }
.hero-wing--r { grid-area: wr; transform: translateY(-1.75rem); }
.hero-wing-frame { border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 9 / 16; background: var(--bg-card); box-shadow: var(--shadow-card); }
.hero-wing-frame img { width: 100%; height: 100%; object-fit: cover; }
.hero-wing--l .hero-wing-frame { box-shadow: var(--shadow-card), 0 0 0 3px rgba(70, 194, 43, .55); }
.hero-wing--r .hero-wing-frame { box-shadow: var(--shadow-card), 0 0 0 3px rgba(255, 138, 31, .6); }

.hero-copy { grid-area: copy; }
.hero h1 { font-size: clamp(1.75rem, 3.1vw, 2.65rem); font-weight: 700; line-height: 1.14; letter-spacing: -.005em; }
.highlight {
  font-style: italic; font-weight: 800; color: var(--brand-light);
  line-height: 1.1; padding: 0 .14em .08em .04em;
  background: linear-gradient(transparent 64%, rgba(70, 194, 43, .3) 64%);
  border-radius: 3px;
}
.hero-sub { margin: 1.2rem 0 0; color: var(--text-muted); font-size: 1.04rem; }
.hero-ctas { position: relative; z-index: 2; display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.7rem; }

/* Foreground object: hex rank insignia, hung on the right wing's inner edge. */
.hero-badge {
  position: absolute; z-index: 1; left: -2.1rem; bottom: 2.2rem;
  width: 5.6rem; aspect-ratio: 1 / 1.12;
  display: grid; place-content: center; gap: .26rem;
  background: linear-gradient(160deg, var(--brand-light), var(--brand) 48%, var(--brand-dark));
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, .5));
}
.hero-badge i {
  display: block; width: 2.5rem; height: .82rem; background: var(--ink);
  clip-path: polygon(50% 0, 100% 62%, 100% 100%, 50% 38%, 0 100%, 0 62%);
}
.hero-badge i:nth-child(2) { opacity: .82; }
.hero-badge i:nth-child(3) { opacity: .64; }

/* ---------- Stat strip (normal flow, bridges the hero) ---------- */
.stat-strip { position: relative; z-index: 3; margin-top: -3.25rem; }
.stat-strip-grid {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  background: linear-gradient(180deg, var(--bg-elevated), var(--bg-card));
  border-radius: var(--card-radius); box-shadow: var(--shadow-card); overflow: hidden;
}
.stat { padding: 1.35rem 1.4rem; text-align: center; box-shadow: inset 1px 0 0 var(--border-soft); }
.stat:first-child { box-shadow: none; }
.stat-num { display: block; font-family: var(--font-heading); font-weight: 800; font-style: italic; font-size: clamp(1.6rem, 2.6vw, 2.2rem); line-height: 1.1; color: var(--accent-warm); }
.stat-label { display: block; margin-top: .25rem; font-size: .86rem; color: var(--text-muted); }

/* ---------- Sections ---------- */
.sec { padding: 4.5rem 0; position: relative; }
main > .sec:nth-of-type(even) { background: var(--bg-panel); }
.sec--intro { padding: 3.5rem 0 1rem; }
.sec-head h2, .home-h2 { font-size: clamp(1.55rem, 2.6vw, 2.25rem); font-weight: 700; }
.sec-head p { color: var(--text-muted); }
.sec-head { margin-bottom: 1.6rem; }

.intro-block { padding: .4rem 0 .4rem 1.5rem; box-shadow: inset 4px 0 0 var(--brand); font-size: 1.12rem; color: var(--text); }

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

.tile, .plain-card {
  position: relative; overflow: hidden;
  padding: 1.75rem 1.6rem 2rem;
  background: var(--bg-card); border-radius: var(--card-radius);
  box-shadow: var(--shadow-card);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.tile::before, .plain-card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 5px; background: var(--stripe); }
.tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-card-hover); }
.tile h3 { font-size: 1.18rem; font-weight: 700; margin-bottom: .7rem; position: relative; z-index: 1; }
.tile p, .plain-card p { color: var(--text-muted); position: relative; z-index: 1; }
.tile-mark {
  position: absolute; right: .6rem; bottom: -1.6rem; z-index: 0;
  font-family: var(--font-heading); font-style: italic; font-weight: 800; font-size: 7rem; line-height: 1;
  color: rgba(255, 255, 255, .045); pointer-events: none; user-select: none;
  transition: color .35s var(--ease);
}
.tile:hover .tile-mark, .plain-card:hover .tile-mark { color: rgba(255, 138, 31, .16); }
.plain-card { padding: 2.2rem 2.2rem 2.4rem; }
.plain-card p { font-size: 1.04rem; }

/* R4b rich tiles */
.floor-grid--rich { grid-template-columns: minmax(0, 1fr); }
.floor-grid--rich .tile { padding: 2.4rem; }
.floor-grid--rich .tile h3 { font-size: 1.35rem; }
.tile-kicker {
  position: relative; z-index: 1;
  margin: 1.6rem 0 1rem; padding-top: .95rem; border-top: 2px solid var(--brand);
  font-size: .78rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--brand-light);
}
.sub-cards { position: relative; z-index: 1; list-style: none; display: grid; gap: .75rem; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 1rem 0; }
.sub-cards li {
  position: relative; padding: 1rem 1.15rem 1rem 1.45rem;
  background: var(--bg); border: 1px solid var(--border); border-radius: var(--r-md);
  color: var(--text-muted);
}
.sub-cards li::before { content: ""; position: absolute; left: 0; top: .7rem; bottom: .7rem; width: 3px; border-radius: 3px; background: linear-gradient(180deg, var(--brand), var(--accent)); }
.sub-cards.is-ordered { list-style: decimal inside; }
.sub-cards.is-ordered li::marker { color: var(--accent-warm); font-family: var(--font-heading); font-weight: 700; }

/* Feature check-list */
.feature-check-list { list-style: none; display: grid; gap: .8rem; margin: 1.1rem 0; }
.feature-check-list li { position: relative; padding-left: 2.35rem; color: var(--text); }
.feature-check-list li::before {
  content: ""; position: absolute; left: 0; top: .12rem; width: 1.5rem; height: 1.5rem; border-radius: 50%;
  background: linear-gradient(180deg, var(--accent-warm), var(--accent));
}
.feature-check-list li::after {
  content: ""; position: absolute; left: .5rem; top: .42rem; width: .42rem; height: .72rem;
  border: solid var(--ink); border-width: 0 2.5px 2.5px 0; transform: rotate(42deg);
}
.feature-check-list.is-ordered { list-style: decimal; padding-left: 1.5rem; }
.feature-check-list.is-ordered li { padding-left: .5rem; }
.feature-check-list.is-ordered li::before, .feature-check-list.is-ordered li::after { content: none; }
.feature-check-list.is-ordered li::marker { color: var(--accent-warm); font-family: var(--font-heading); font-weight: 700; font-size: 1.1rem; }

.feature-check-list--plain {
  padding: 2rem 2.2rem; border-radius: var(--card-radius);
  background: linear-gradient(135deg, rgba(255, 138, 31, .16), rgba(70, 194, 43, .07) 70%), var(--bg-card);
  border-left: 4px solid var(--accent);
  box-shadow: var(--shadow-card);
}
.feature-check-list--plain p { color: var(--text-muted); }
.feature-check-list--plain--wide ul.feature-check-list, .check-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 2rem; }
.check-cols--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* Split layout */
.split-layout { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 2.5rem; align-items: center; }
.split-copy p { color: var(--text-muted); }
.split-media img, .art-frame img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-xl); box-shadow: var(--shadow-card); }

/* R5b image divider: contained figure + aside */
.image-divider { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, .65fr); gap: 1.5rem; margin: 3.5rem 0; align-items: stretch; }
.image-divider-media img { width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-xl); border: 1px solid var(--border-soft); box-shadow: var(--shadow-soft); }
.image-divider-aside {
  display: flex; flex-direction: column; justify-content: flex-end; gap: .5rem;
  padding: 2rem 1.8rem; border-radius: var(--r-xl);
  background: linear-gradient(160deg, var(--bg-elevated), var(--bg-card));
}
.image-divider-aside .chev { width: 2.1rem; height: 1.5rem; margin-bottom: auto; background: var(--accent); }
.aside-kicker { font-size: .76rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--accent-warm); }
.aside-title { font-family: var(--font-heading); font-weight: 700; font-size: 1.2rem; line-height: 1.25; color: #fff; text-decoration: none; }
.aside-title:hover { color: var(--brand-light); }
.image-divider-aside .rank-rule { margin: .6rem 0 0; }

/* ---------- FAQ ---------- */
.faq-list { display: grid; gap: .8rem; }
.faq-item { border: 1px solid var(--border); border-radius: var(--r-md); background: var(--bg-card); transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s; }
.faq-item[open] { transform: translateY(-2px); box-shadow: var(--shadow-card); border-color: var(--border-strong); }
.faq-item summary {
  position: relative; list-style: none; cursor: pointer;
  padding: 1.15rem 3.6rem 1.15rem 1.4rem;
  font-family: var(--font-heading); font-weight: 600; font-size: 1.08rem; color: #fff;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; position: absolute; right: 1.1rem; top: 50%;
  width: 1.75rem; height: 1.75rem; margin-top: -.875rem; border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--font-body); font-size: 1.25rem; font-weight: 500; line-height: 1;
  color: var(--accent-warm); box-shadow: inset 0 0 0 1.5px var(--accent);
  transition: transform .35s var(--ease), background .3s;
}
.faq-item[open] summary::after { transform: rotate(45deg); background: var(--accent-soft); }
.faq-answer { padding: 0 1.4rem 1.3rem; color: var(--text-muted); }

/* ---------- Inner page hero ---------- */
.page-hero { padding: 1.75rem 0 0; }
.page-banner {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; align-items: flex-end; min-height: 23rem;
  border-radius: var(--r-xl); background: var(--bg-card); box-shadow: var(--shadow-card);
}
.page-banner-art { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.page-banner::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(7, 11, 36, .95) 0%, rgba(7, 11, 36, .8) 44%, rgba(7, 11, 36, .1) 100%);
}
.page-banner-copy { padding: 2.4rem 2.6rem 2.5rem; width: 100%; }
.page-banner h1 { font-size: clamp(1.65rem, 3vw, 2.5rem); font-weight: 700; }
.crumb ol { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; margin-bottom: 1rem; font-size: .86rem; color: var(--text-dim); }
.crumb li + li::before { content: "/"; margin-right: .5rem; color: var(--text-dim); }
.crumb a { color: var(--text-muted); text-decoration: none; }
.crumb a:hover { color: var(--brand-light); }
.page-meta { margin-top: 1.1rem; font-size: .88rem; color: var(--text-dim); }
.page-meta-author { color: var(--accent-warm); font-weight: 600; }

/* ---------- Homepage sections ---------- */
.home-split { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: 3rem; align-items: center; }
.home-split--rev .art-frame { order: 2; }
.home-split p { color: var(--text-muted); }
.art-frame { position: relative; isolation: isolate; padding: 0 1rem 1rem 0; }
.art-frame::before { content: ""; position: absolute; z-index: -1; inset: 1.4rem 0 0 1.4rem; border-radius: var(--r-xl); background: linear-gradient(135deg, var(--brand), var(--brand-dark)); }
.home-split--rev .art-frame::before { background: linear-gradient(135deg, var(--accent-warm), var(--accent)); }
.home-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.5rem; }

.statement { position: relative; overflow: hidden; }
.statement-mark {
  position: absolute; right: -1rem; top: 50%; transform: translateY(-50%);
  font-family: var(--font-heading); font-style: italic; font-weight: 800; font-size: clamp(8rem, 22vw, 19rem); line-height: 1;
  color: rgba(255, 255, 255, .035); pointer-events: none; user-select: none;
}
.statement-grid { position: relative; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
.statement-grid p { margin: 0; padding: 1.5rem 0 0; font-size: 1.14rem; color: var(--text); box-shadow: inset 0 3px 0 var(--brand); }
.statement-grid p + p { box-shadow: inset 0 3px 0 var(--accent); }

.secure-top { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 3rem; align-items: center; }
.secure-top p { color: var(--text-muted); }
.security-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; margin-top: 2.25rem; }
.secure-cell {
  position: relative; overflow: hidden; padding: 1.5rem 1.4rem 1.6rem;
  border-radius: var(--card-radius); background: var(--bg-card); box-shadow: var(--shadow-card);
  font-family: var(--font-heading); font-weight: 600; font-size: 1.08rem; color: #fff; line-height: 1.3;
}
.secure-cell::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 5px; background: var(--stripe); }
.secure-rank { display: grid; gap: .2rem; width: 2.2rem; margin-bottom: 1rem; }
.secure-rank i { display: block; height: .62rem; background: var(--brand); clip-path: polygon(50% 0, 100% 62%, 100% 100%, 50% 38%, 0 100%, 0 62%); }
.secure-rank i:nth-child(2) { background: var(--accent); }

.bento-floor {
  display: grid; gap: 1.25rem; margin-top: 2rem;
  grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: 15.5rem;
  grid-template-areas: "table table live" "table table slots" "crash fish lottery";
}
.game-tile {
  display: flex; flex-direction: column; overflow: hidden;
  border-radius: var(--card-radius); background: var(--bg-card); box-shadow: var(--shadow-card);
  color: #fff; text-decoration: none;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.game-tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-card-hover); color: #fff; }
.game-tile img { flex: 1 1 0; min-height: 0; width: 100%; height: auto; object-fit: cover; transition: transform .6s var(--ease); }
.game-tile:hover img { transform: scale(1.04); }
.game-tile-cap { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: .8rem; padding: .9rem 1.15rem; background: var(--bg-card); font-family: var(--font-heading); font-weight: 700; font-size: 1.05rem; }
.game-tile-cap .chev { background: var(--accent); }
.game-tile--table { grid-area: table; }
.game-tile--live { grid-area: live; }
.game-tile--slots { grid-area: slots; }
.game-tile--crash { grid-area: crash; }
.game-tile--fish { grid-area: fish; }
.game-tile--lottery { grid-area: lottery; }
.game-tile--table .game-tile-cap { font-size: 1.3rem; padding: 1.1rem 1.4rem; }

.device-banner {
  position: relative; isolation: isolate; overflow: hidden;
  display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 2.5rem; align-items: center;
  padding: 2.8rem;
  border-radius: var(--r-xl); box-shadow: var(--shadow-card);
  background:
    radial-gradient(60% 90% at 100% 0%, rgba(70, 194, 43, .22), transparent 70%),
    radial-gradient(50% 80% at 0% 100%, rgba(255, 138, 31, .16), transparent 70%),
    linear-gradient(135deg, var(--bg-elevated), var(--bg-card));
}
.device-banner > img { width: 100%; height: auto; aspect-ratio: 5 / 4; object-fit: cover; border-radius: var(--r-lg); box-shadow: var(--shadow-card); }
.device-banner p { color: var(--text-muted); }

.steps-grid { list-style: decimal inside; display: grid; gap: 1.25rem; grid-template-columns: repeat(6, minmax(0, 1fr)); margin: 1.8rem 0; }
.steps-grid li {
  grid-column: span 2; position: relative; overflow: hidden;
  padding: 1.6rem 1.5rem 1.7rem; border-radius: var(--card-radius);
  background: var(--bg-card); box-shadow: var(--shadow-card); color: var(--text-muted);
}
.steps-grid li:nth-child(n+4) { grid-column: span 3; }
.steps-grid li::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 5px; background: var(--stripe); }
.steps-grid li::marker { font-family: var(--font-heading); font-style: italic; font-weight: 800; font-size: 1.5rem; color: var(--accent-warm); }
.steps-grid strong, .pop-name { font-family: var(--font-heading); font-weight: 700; color: #fff; }
.steps-note { color: var(--text-muted); }

.rewards-bento {
  display: grid; gap: 1.25rem; margin-top: 2rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-areas: "rummy rummy tp" "rummy rummy holdem" "poker events events";
}
.pop-cell { display: flex; flex-direction: column; overflow: hidden; border-radius: var(--card-radius); background: var(--bg-card); box-shadow: var(--shadow-card); }
.pop-cell img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.pop-cell p { margin: 0; padding: 1.15rem 1.35rem 1.4rem; color: var(--text-muted); }
.pop-name { display: block; font-size: 1.15rem; margin-bottom: .2rem; }
.pop-cell--rummy { grid-area: rummy; }
.pop-cell--rummy img { flex: 1 1 0; min-height: 0; aspect-ratio: auto; }
.pop-cell--rummy .pop-name { font-size: 1.5rem; }
.pop-cell--rummy p { font-size: 1.06rem; padding: 1.4rem 1.6rem 1.7rem; }
.pop-cell--tp { grid-area: tp; }
.pop-cell--holdem { grid-area: holdem; }
.pop-cell--poker { grid-area: poker; }
.pop-cell--events { grid-area: events; flex-direction: row; align-items: stretch; background: linear-gradient(120deg, var(--bg-elevated), var(--bg-card)); }
.pop-cell--events img { width: 55%; flex: none; aspect-ratio: auto; height: 100%; }
.pop-cell--events p { align-self: center; }

.support-card {
  position: relative; isolation: isolate; overflow: hidden;
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 2.5rem; align-items: center;
  padding: 3rem; border-radius: var(--r-xl);
  background: linear-gradient(135deg, var(--bg-elevated), var(--bg-card) 65%); box-shadow: var(--shadow-card);
}
.support-card p { color: var(--text-muted); font-size: 1.08rem; }
.support-mark {
  position: absolute; z-index: -1; left: 1.5rem; bottom: -3.6rem;
  font-family: var(--font-heading); font-style: italic; font-weight: 800; font-size: clamp(9rem, 20vw, 16rem); line-height: 1;
  color: rgba(255, 255, 255, .04); pointer-events: none; user-select: none;
}
.support-card img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-lg); }

/* ---------- Footer (pure black) ---------- */
.site-footer { margin-top: 7rem; padding-bottom: 2rem; background: #000; }
.footer-cta {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; align-items: center; justify-content: space-between; gap: 2rem;
  margin-top: -4.25rem; padding: 2.4rem 2.6rem;
  border-radius: var(--r-xl); color: var(--ink);
  background: linear-gradient(115deg, var(--accent-warm), var(--accent) 62%, #F26D00);
  box-shadow: 0 22px 50px rgba(255, 138, 31, .22);
}
.site-footer .container > .footer-cta { transform: translateY(-4.25rem); margin-top: 0; margin-bottom: -4.25rem; }
.footer-cta h2 { font-size: clamp(1.4rem, 2.4vw, 2rem); color: var(--ink); }
.footer-cta p { margin: .5rem 0 0; color: rgba(7, 11, 36, .86); font-weight: 500; }
.footer-cta-mark {
  position: absolute; z-index: -1; right: -1rem; bottom: -2.2rem;
  font-family: var(--font-heading); font-style: italic; font-weight: 800; font-size: clamp(5rem, 13vw, 10rem); line-height: 1; white-space: nowrap;
  color: rgba(7, 11, 36, .09); pointer-events: none; user-select: none;
}
.footer-cta .btn { flex: none; }

.footer-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: 2.5rem; padding: 3.5rem 0 2.5rem; }
.footer-brand p { margin: 1.1rem 0 1.2rem; color: var(--text-muted); font-size: .95rem; }
.pay-pills, .trust-pills { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; }
.pay-pills li { padding: .32rem .8rem; border-radius: var(--r-pill); background: rgba(255, 255, 255, .08); font-size: .8rem; font-weight: 600; color: var(--text); }
.footer-col h3 { display: flex; align-items: center; gap: .6rem; margin-bottom: 1rem; font-style: italic; font-weight: 700; font-size: 1.12rem; }
.footer-col h3::before { content: ""; width: 1.4rem; height: 3px; border-radius: 3px; background: var(--accent); }
.footer-col ul { list-style: none; display: grid; gap: .55rem; }
.footer-col a { color: var(--text-muted); text-decoration: none; font-size: .96rem; }
.footer-col a:hover { color: var(--brand-light); }
.trust-pills { padding: 1.5rem 0; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1), inset 0 -1px 0 rgba(255, 255, 255, .1); }
.trust-pills li { display: inline-flex; align-items: center; gap: .5rem; padding: .4rem .95rem; border-radius: var(--r-pill); background: rgba(255, 255, 255, .06); font-size: .84rem; font-weight: 600; color: var(--text); }
.footer-base { display: grid; grid-template-columns: minmax(0, .5fr) minmax(0, 1.5fr); gap: 2rem; padding-top: 1.5rem; font-size: .84rem; color: var(--text-dim); }
.footer-base p { margin: 0; }

/* ---------- 404 ---------- */
.err { text-align: center; padding: 3rem 0 5rem; }
.err p.err-code {
  margin: 0; font-family: var(--font-heading); font-style: italic; font-weight: 800; line-height: 1;
  font-size: clamp(8rem, 22vw, 20rem); padding: 0 .1em .08em;
  background: linear-gradient(120deg, var(--brand-light), var(--brand) 40%, var(--accent)); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.err h1 { font-size: clamp(1.6rem, 3vw, 2.4rem); margin-bottom: .8rem; }
.err p { color: var(--text-muted); font-size: 1.1rem; }
.err p.err-code { color: transparent; }
.err .hero-ctas { justify-content: center; }

/* ---------- Reveal: visible by default, JS hides only below-the-fold blocks ---------- */
.reveal { transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: calc(var(--i, 0) * 60ms); }
.reveal.is-hidden { opacity: 0; transform: translateY(22px); }

@media (prefers-reduced-motion: no-preference) {
  .pulse-dot { animation: pulse 2.2s ease-out infinite; }
  .hero-badge { animation: badge-float 6s ease-in-out infinite; }
}
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(255, 180, 84, .7); } 70%, 100% { box-shadow: 0 0 0 .55rem rgba(255, 180, 84, 0); } }
@keyframes badge-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-.5rem); } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal.is-hidden { opacity: 1; transform: none; }
}

/* ==========================================================================
   Breakpoints
   ========================================================================== */
@media (max-width: 1100px) {
  .primary-nav ul a { padding: .5rem .5rem; font-size: .92rem; }
  .header-main-inner { gap: 1rem; }
  .hero-grid { grid-template-columns: minmax(0, .5fr) minmax(0, 1.6fr) minmax(0, .5fr); gap: 1.5rem; }
  .hero-badge { width: 4.6rem; left: -1.6rem; }
  .hero-badge i { width: 2rem; height: .68rem; }
  .bento-floor { grid-auto-rows: 13.5rem; }
}

@media (max-width: 900px) {
  .utility-nav { display: none; }
  .header-top-inner { justify-content: center; }
  .burger { display: block; }
  .header-cta { margin-left: auto; }
  .primary-nav {
    position: fixed; inset: var(--header-h) 0 0 0; z-index: 99; height: auto; margin: 0;
    flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 1.5rem;
    padding: 1.75rem 1.5rem 2.5rem; overflow-y: auto;
    background: rgba(0, 0, 0, .94); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
    visibility: hidden; opacity: 0; transform: translateY(-10px);
    transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
  }
  .nav-open .primary-nav { visibility: visible; opacity: 1; transform: none; }
  .primary-nav ul { flex-direction: column; align-items: stretch; gap: 0; height: auto; }
  .primary-nav li { height: auto; display: block; box-shadow: inset 0 -1px 0 rgba(255, 255, 255, .1); }
  .primary-nav ul a { display: block; padding: 1rem .25rem; font-size: 1.3rem; }
  .nav-indicator { display: none; }
  .nav-extra { display: flex; flex-wrap: wrap; gap: .6rem; }
  .nav-extra a { padding: .5rem 1rem; border-radius: var(--r-pill); background: rgba(255, 255, 255, .08); color: var(--text); text-decoration: none; font-weight: 600; font-size: .92rem; }
  body.nav-open { overflow: hidden; }

  .hero { padding: 2.5rem 0 5.5rem; }
  .hero-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-areas: "copy copy" "wl wr"; gap: 1.5rem 1rem; }
  .hero-wing--l, .hero-wing--r { transform: none; }
  .hero-wing-frame { aspect-ratio: 4 / 3; }
  .hero-badge { left: -1.9rem; bottom: auto; top: -1.4rem; }

  .floor-grid--cols-3, .floor-grid--cols-4, .security-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split-layout, .home-split, .secure-top, .support-card, .image-divider { grid-template-columns: minmax(0, 1fr); }
  .home-split--rev .art-frame { order: 0; }
  .home-split { gap: 2rem; }
  .image-divider-aside .chev { margin-bottom: 1rem; }
  .device-banner { grid-template-columns: minmax(0, 1fr); padding: 2.4rem 2rem; }
  .bento-floor { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-areas: "table table" "live slots" "crash fish" "lottery lottery"; }
  .rewards-bento { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-areas: "rummy rummy" "tp holdem" "poker events"; }
  .pop-cell--rummy img { flex: none; aspect-ratio: 16 / 9; }
  .pop-cell--events { flex-direction: column; }
  .pop-cell--events img { width: 100%; height: auto; aspect-ratio: 16 / 9; }
  .pop-cell--events p { align-self: stretch; }
  .steps-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps-grid li, .steps-grid li:nth-child(n+4) { grid-column: span 1; }
  .steps-grid li:last-child { grid-column: 1 / -1; }
  .check-cols--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 700px) {
  .sec { padding: 3.25rem 0; }
  .stat-strip-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat:nth-child(3) { box-shadow: inset 0 1px 0 var(--border-soft); }
  .stat:nth-child(4) { box-shadow: inset 1px 0 0 var(--border-soft), inset 0 1px 0 var(--border-soft); }
  .statement-grid { grid-template-columns: minmax(0, 1fr); }
  .sub-cards { grid-template-columns: minmax(0, 1fr); }
  .floor-grid--rich .tile { padding: 1.7rem 1.4rem 2rem; }
  .page-banner { min-height: 19rem; }
  .page-banner-copy { padding: 1.8rem 1.5rem 1.9rem; }
  .page-banner::after { background: linear-gradient(90deg, rgba(7, 11, 36, .95), rgba(7, 11, 36, .78)); }
  .footer-cta { flex-direction: column; align-items: flex-start; padding: 2rem 1.6rem; }
  .footer-base { grid-template-columns: minmax(0, 1fr); gap: .8rem; }
  .support-card { padding: 2rem 1.5rem; }
  .plain-card, .feature-check-list--plain { padding: 1.7rem 1.4rem 1.9rem; }
  .feature-check-list--plain--wide ul.feature-check-list, .check-cols, .check-cols--3 { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 560px) {
  .container { padding: 0 1.15rem; }
  .floor-grid--cols-2, .floor-grid--cols-3, .floor-grid--cols-4, .security-grid { grid-template-columns: minmax(0, 1fr); }
  .bento-floor { grid-template-columns: minmax(0, 1fr); grid-auto-rows: 14rem; grid-template-areas: "table" "live" "slots" "crash" "fish" "lottery"; }
  .rewards-bento { grid-template-columns: minmax(0, 1fr); grid-template-areas: "rummy" "tp" "holdem" "poker" "events"; }
  .steps-grid { grid-template-columns: minmax(0, 1fr); }
  .hero h1 { font-size: clamp(1.5rem, 6.4vw, 1.95rem); }
  .hero-ctas .btn, .home-actions .btn { flex: 1 1 100%; }
  .header-cta { padding: .55rem 1rem; font-size: .88rem; }
  .logo img { height: 34px; }
  .footer-grid { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
  .image-divider { margin: 2.5rem 0; }
  .hero-badge { width: 4rem; left: -.6rem; top: -1.6rem; }
  .hero-badge i { width: 1.7rem; height: .58rem; }
}

@media (max-width: 480px) {
  .header-trust { font-size: .7rem; letter-spacing: .02em; }
  .stat { padding: 1.1rem .8rem; }
  .stat-label { font-size: .8rem; }
  .logo img { height: 28px; }
  .header-main-inner { gap: .55rem; }
  .header-cta { padding: .5rem .8rem; font-size: .82rem; }
  .burger { width: 2.5rem; height: 2.5rem; }
  .burger span { left: .6rem; right: .6rem; }
  .burger span:nth-child(1) { top: .83rem; }
  .burger span:nth-child(2) { top: 1.19rem; }
  .burger span:nth-child(3) { top: 1.55rem; }
  .device-banner { padding: 2rem 1.4rem; }
  .err p.err-code { font-size: clamp(8rem, 40vw, 12rem); }
}

/* Devanagari needs more leading than Latin display type. */
html[lang="hi"] h1, html[lang="hi"] h2, html[lang="hi"] h3 { line-height: 1.4; }
html[lang="hi"] .highlight { line-height: 1.4; }

@media (max-width: 360px) {
  .logo img { height: 24px; }
}
