/* Premium Mobile Game Landing — homepage only (body.home) */
body.home {
  --rummy-green: #064e3b;
  --rummy-green-dark: #033528;
  --rummy-green-light: #0a6b50;
  --rummy-gold: #fbbf24;
  --rummy-gold-soft: #fcd34d;
  --rummy-gold-dark: #d97706;
  --rummy-ivory: #f5faf7;
  --rummy-white: #ffffff;
  --space-4: 4px;
  --space-8: 8px;
  --space-12: 12px;
  --space-16: 16px;
  --space-20: 20px;
  --space-24: 24px;
  --space-32: 32px;
  --space-40: 40px;
  --space-48: 48px;
  --space-64: 64px;
  --radius-4: 4px;
  --radius-8: 8px;
  --radius-12: 12px;
  --radius-16: 16px;
  --radius-20: 20px;
  --radius-24: 24px;
  --shadow-card: 0 8px 20px rgba(0, 0, 0, .32);
  --shadow-floating: 0 14px 36px rgba(0, 0, 0, .4);
  --shadow-modal: 0 24px 56px rgba(0, 0, 0, .48);
  --border-primary: 1px solid rgba(245, 250, 247, .2);
  --border-secondary: 1px solid rgba(10, 107, 80, .5);
  --border-subtle: 1px solid rgba(245, 250, 247, .1);
  --border-gold: 2px solid var(--rummy-gold);
  --primary: var(--rummy-green);
  --primary-2: var(--rummy-green-light);
  --primary-3: var(--rummy-green-dark);
  --gold: var(--rummy-gold);
  --gold-2: var(--rummy-gold-soft);
  --gold-3: var(--rummy-gold-dark);
  --dark: #071a14;
  --dark-2: #0c2a20;
  --cream: var(--rummy-ivory);
  --muted: #a7c4b6;
  --white: var(--rummy-white);
  --radius: var(--radius-16);
  --radius-lg: var(--radius-24);
  --shadow: 0 12px 32px rgba(0, 0, 0, .28);
  --shadow-lg: var(--shadow-modal);
  --glow: 0 0 28px rgba(251, 191, 36, .4);
  --ease: .3s ease;
  --max: 1200px;
  background:
    radial-gradient(ellipse at 88% -8%, rgba(251, 191, 36, .14), transparent 42%),
    radial-gradient(ellipse at 8% 18%, rgba(6, 78, 59, .55), transparent 44%),
    var(--dark);
  color: var(--cream);
  font-family: system-ui, "Segoe UI", "Noto Sans", "Helvetica Neue", sans-serif;
  overflow-x: clip;
  width: 100%;
  max-width: 100%;
}

body.home .wrap {
  width: min(100% - 32px, var(--max));
}

/* ---------- Header ---------- */
body.home .lp-header {
  min-height: 64px;
  background: linear-gradient(180deg, rgba(6, 78, 59, .98), rgba(3, 53, 40, .96));
  border-bottom: 1px solid rgba(251, 191, 36, .22);
  backdrop-filter: blur(12px);
}

body.home .header-row {
  min-height: 64px;
  gap: 10px;
  flex-wrap: nowrap;
}

body.home .logo {
  color: var(--white);
  font-weight: 800;
  order: 1;
  flex-shrink: 0;
}

body.home .logo-mark {
  background: none;
  box-shadow: none;
}

body.home .logo-mark.logo-emblem {
  width: 52px;
  height: 52px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .22);
  border-radius: 10px;
}

body.home .nav {
  order: 2;
  flex: 1;
  justify-content: center;
  gap: 2px;
}

body.home .nav a {
  color: rgba(245, 250, 247, .92);
  font-weight: 600;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  /* Size locked for PC in style.css ≥768; mobile set in max-width:767 block */
  transition: background var(--ease), color var(--ease);
}

body.home .nav a:hover,
body.home .nav a[aria-current="page"] {
  background: rgba(251, 191, 36, .14);
  color: var(--gold-2);
}

body.home .nav-play {
  order: 3;
  box-sizing: border-box;
  min-width: 0;
  margin-right: 0;
  flex-shrink: 0;
  background: linear-gradient(180deg, var(--gold-2), var(--gold) 48%, var(--gold-3));
  color: #1a1204;
  border: 1px solid rgba(255, 236, 180, .5);
  box-shadow: 0 8px 20px rgba(251, 191, 36, .3);
  font-weight: 800;
  /* Height/pad/font locked in style.css ≥768 */
}

body.home .nav-play:hover {
  color: #1a1204;
  filter: brightness(1.06);
  transform: translateY(-1px);
}

body.home .nav-dl {
  order: 3;
  box-sizing: border-box;
  min-width: 0;
  margin-right: 0;
  flex-shrink: 0;
  background: rgba(0, 0, 0, .22);
  color: var(--gold-2);
  border: 1px solid rgba(251, 191, 36, .55);
  box-shadow: none;
  font-weight: 800;
}

body.home .nav-dl:hover {
  color: var(--gold-2);
  filter: brightness(1.06);
  transform: translateY(-1px);
}

body.home .nav-btn {
  order: 4;
  border-color: rgba(251, 191, 36, .55);
  color: var(--gold-2);
}

/* ---------- Buttons ---------- */
body.home .btn {
  min-height: 60px;
  min-width: 200px;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-weight: 800;
  letter-spacing: .02em;
  transition: transform var(--ease), box-shadow var(--ease), filter var(--ease);
}

body.home .btn-gold,
body.home .btn-glow {
  background: linear-gradient(180deg, var(--gold-2), var(--gold) 48%, var(--gold-3));
  color: #1a1204;
  border: 1px solid rgba(255, 236, 180, .55);
  box-shadow: var(--glow), 0 12px 28px rgba(0, 0, 0, .25);
  text-shadow: none;
}

body.home .btn-gold:hover,
body.home .btn-glow:hover {
  color: #1a1204;
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 0 36px rgba(251, 191, 36, .55), 0 16px 36px rgba(0, 0, 0, .3);
  filter: brightness(1.05);
}

body.home .btn-ghost {
  border: 2px solid rgba(251, 191, 36, .55);
  color: var(--gold-2);
  background: rgba(0, 0, 0, .22);
}

body.home .btn-ghost:hover {
  color: var(--white);
  background: rgba(251, 191, 36, .12);
  transform: translateY(-1px);
}

body.home .btn-cta-lg {
  min-width: 260px;
  min-height: 70px;
  font-size: 1.05rem;
}

/* ---------- Hero ---------- */
body.home .lp-hero {
  position: relative;
  overflow: hidden;
  padding: 40px 0 56px;
  background:
    radial-gradient(circle at 78% 18%, rgba(251, 191, 36, .16), transparent 38%),
    radial-gradient(circle at 12% 70%, rgba(6, 78, 59, .5), transparent 42%),
    linear-gradient(165deg, #0a3d30 0%, var(--dark) 52%, #04110d 100%);
}

body.home .hero-glow {
  position: absolute;
  inset: auto 10% -20% auto;
  width: min(520px, 70vw);
  height: min(520px, 70vw);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(251, 191, 36, .18), transparent 68%);
  pointer-events: none;
  filter: blur(8px);
}

body.home .hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 20px;
  align-items: center;
  grid-template-areas:
    "intro"
    "actions"
    "visual";
}

body.home .hero-intro { grid-area: intro; }
body.home .hero-visual { grid-area: visual; }
body.home .hero-actions { grid-area: actions; }

body.home .hero-kicker {
  margin: 0 0 10px;
  color: var(--gold);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

body.home .lp-hero h1 {
  font-size: clamp(2rem, 6.2vw, 3.5rem);
  font-weight: 800;
  line-height: 1.12;
  margin: 0 0 14px;
  color: var(--white);
}

body.home .gold {
  color: var(--gold-2);
  text-shadow: 0 0 24px rgba(251, 191, 36, .35);
}

body.home .lead {
  color: var(--muted);
  font-size: 1.125rem;
  max-width: 52ch;
  margin: 0 0 22px;
}

body.home .hero-cta {
  margin-bottom: 18px;
}

body.home .trust-checks {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 16px;
  padding: 0;
  list-style: none;
}

body.home .trust-checks li {
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(251, 191, 36, .35);
  background: rgba(0, 0, 0, .22);
  font-size: .85rem;
  font-weight: 700;
  color: var(--cream);
}

body.home .entity {
  margin-top: 8px;
}

body.home .entity span {
  border-color: rgba(251, 191, 36, .28);
  background: rgba(0, 0, 0, .22);
}

/* Hero visual / phone */
body.home .hero-visual {
  position: relative;
  min-height: 420px;
  display: grid;
  place-items: center;
}

body.home .hero-mandala {
  position: absolute;
  width: min(280px, 70%);
  opacity: .12;
  animation: none;
  pointer-events: none;
  z-index: 0;
}

/* STEP 10 — Homepage asset layer (never blocks clicks/text) */
body.home .hero-asset-layer {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

body.home .lp-hero {
  position: relative;
}

body.home .lp-hero > .wrap {
  position: relative;
  z-index: 1;
}

body.home .hero-pattern {
  position: absolute;
  inset: 0;
  background: url("../images/felt-india-pattern.webp") center / 200px repeat;
  opacity: .07;
}

body.home .hero-corner {
  position: absolute;
  width: 56px;
  height: auto;
  opacity: .1; /* 0.08–0.15 */
}
body.home .hero-corner.tl { top: 12px; left: 12px; }
body.home .hero-corner.tr { top: 12px; right: 12px; }
body.home .hero-corner.bl { bottom: 16px; left: 16px; width: 44px; }
body.home .hero-corner.br { bottom: 16px; right: 16px; width: 44px; }
@media (max-width: 767px) {
  body.home .hero-corner { opacity: .08; width: 40px; }
  body.home .hero-corner.bl,
  body.home .hero-corner.br { width: 34px; }
}
@media (min-width: 1024px) {
  body.home .hero-corner { opacity: .14; }
}

body.home .ph-card-back,
body.home .card-back {
  background: #0c2a20 url("../rummy/cards/card-back.svg?v=1") center / cover no-repeat !important;
  border-color: rgba(251, 191, 36, .55) !important;
}

body.home .cta-emblem {
  display: block;
  width: 48px;
  height: 48px;
  margin: 0 auto 10px;
  opacity: .95;
  pointer-events: none;
}

body.home .cta-divider {
  display: block;
  width: 120px;
  height: 12px;
  margin: 0 auto 14px;
  opacity: .7;
  pointer-events: none;
}

body.home .site-footer {
  position: relative;
  overflow: hidden;
}

body.home .site-footer .footer-pattern {
  position: absolute;
  inset: 0;
  background: url("../images/felt-india-pattern.webp") center / 180px repeat;
  opacity: .06;
  pointer-events: none;
  z-index: 0;
}

body.home .site-footer > .wrap {
  position: relative;
  z-index: 1;
}

body.home .phone-hero {
  position: relative;
  z-index: 3;
  width: min(320px, 100%);
  max-width: 100%;
  margin-inline: auto;
}

body.home .phone-hero-bezel {
  border-radius: 36px;
  padding: 12px;
  background: linear-gradient(160deg, #1a2e26, #0a1612 60%, #06100c);
  border: 2px solid rgba(251, 191, 36, .35);
  box-shadow:
    0 0 40px rgba(251, 191, 36, .18),
    var(--shadow-lg),
    inset 0 0 0 1px rgba(255, 255, 255, .06);
}

body.home .phone-hero-screen {
  border-radius: 26px;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 30%, rgba(16, 120, 80, .45), transparent 50%),
    linear-gradient(180deg, #0d3d2e, #062218);
  border: 1px solid rgba(251, 191, 36, .2);
  padding: 14px 12px 16px;
  min-height: 520px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

body.home .ph-topbar {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .78rem;
  font-weight: 700;
  color: var(--cream);
}

body.home .ph-topbar img {
  border-radius: 50%;
  border: 2px solid rgba(251, 191, 36, .45);
}

body.home .ph-chip {
  margin-left: auto;
  color: var(--gold-2);
  font-size: .7rem;
}

body.home .ph-seats {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}

body.home .ph-seat {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .72rem;
  font-weight: 700;
}

body.home .ph-seat img {
  border-radius: 50%;
}

body.home .ph-timer {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: .85rem;
  color: #1a1204;
  background: linear-gradient(180deg, var(--gold-2), var(--gold));
  box-shadow: 0 0 16px rgba(251, 191, 36, .45);
}

body.home .ph-mid {
  display: flex;
  justify-content: center;
  gap: 18px;
  margin: 8px 0;
}

body.home .ph-pile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-size: .65rem;
  color: var(--muted);
}

body.home .ph-hand {
  display: flex;
  justify-content: center;
  gap: 4px;
  margin-top: auto;
  flex-wrap: nowrap;
}

body.home .ph-actions {
  display: flex;
  justify-content: center;
  gap: 8px;
}

body.home .ph-actions span {
  padding: 8px 12px;
  border-radius: 10px;
  font-size: .72rem;
  font-weight: 800;
  background: rgba(0, 0, 0, .35);
  border: 1px solid rgba(251, 191, 36, .3);
  color: var(--gold-2);
}

body.home .ph-show {
  background: linear-gradient(180deg, var(--gold-2), var(--gold)) !important;
  color: #1a1204 !important;
  border: none !important;
}

body.home .peacock-cluster {
  position: absolute;
  right: 2%;
  bottom: 6%;
  z-index: 1;
  width: 88px;
  height: 124px;
  pointer-events: none;
  animation: floatY 4.5s ease-in-out infinite;
}

body.home .hero-card-art {
  position: relative;
  z-index: 1;
  display: block;
  width: 88px;
  height: 124px;
  border-radius: 10px;
  box-shadow: var(--shadow);
  animation: none;
}

body.home .hero-float {
  position: absolute;
  z-index: 4;
  animation: floatY 3.8s ease-in-out infinite;
}

body.home .hf-as { top: 8%; left: 6%; animation-delay: -.4s; }
body.home .hf-kh { top: 18%; right: 2%; animation-delay: -1.2s; }
body.home .hf-qd { bottom: 22%; left: 2%; animation-delay: -2s; }

/* Gold orbs sit outside peacock face; cluster floats as one unit */
body.home .peacock-cluster .coin {
  z-index: 2;
  animation: none;
}

body.home .peacock-cluster .k1 {
  top: -18px;
  left: -28px;
  width: 24px;
  height: 24px;
}

body.home .peacock-cluster .k2 {
  top: -16px;
  right: -22px;
  width: 20px;
  height: 20px;
}

body.home .peacock-cluster .k3 {
  bottom: -28px;
  left: -24px;
  width: 22px;
  height: 22px;
}

body.home .coin {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #ffe08a, var(--gold) 45%, var(--gold-3));
  box-shadow: 0 0 12px rgba(251, 191, 36, .5), inset 0 0 0 2px rgba(255, 236, 180, .4);
}

/* ---------- Sections ---------- */
body.home .section {
  padding: 64px 0;
}

body.home .section.alt {
  background: linear-gradient(180deg, rgba(6, 78, 59, .18), transparent 40%, rgba(0, 0, 0, .15));
}

body.home .section-head {
  text-align: center;
  margin-bottom: 36px;
}

body.home .section-head h2 {
  margin: 0 0 10px;
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  font-weight: 800;
  color: var(--white);
  letter-spacing: -.015em;
}

body.home .section-head p {
  margin: 0 auto;
  max-width: 44ch;
  color: var(--muted);
}

body.home .section-head::after {
  content: "";
  display: block;
  width: 48px;
  height: 3px;
  margin: 16px auto 0;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

/* ---------- Demo stage ---------- */
body.home .demo-stage {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  gap: 20px;
  justify-items: center;
}

body.home .demo-felt {
  width: 100%;
  min-height: 420px;
  border-radius: var(--radius-lg);
  padding: 28px 20px 24px;
  background:
    radial-gradient(ellipse at 50% 40%, rgba(20, 110, 70, .55), transparent 55%),
    linear-gradient(160deg, #0c3d2c, #062218 55%, #041610);
  border: 1px solid rgba(251, 191, 36, .3);
  box-shadow: var(--shadow-lg), inset 0 0 60px rgba(0, 0, 0, .35);
  position: relative;
  overflow: hidden;
}

body.home .demo-players {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 20px;
}

body.home .demo-seat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-size: .85rem;
  font-weight: 700;
}

body.home .demo-seat img {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 3px solid rgba(251, 191, 36, .45);
  box-shadow: 0 0 16px rgba(251, 191, 36, .25);
  object-fit: cover;
}

body.home .demo-seat strong {
  color: var(--gold-2);
}

body.home .demo-timer {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 1.25rem;
  font-weight: 900;
  color: #1a1204;
  background: linear-gradient(180deg, var(--gold-2), var(--gold));
  box-shadow: 0 0 24px rgba(251, 191, 36, .5);
  animation: pulseGlow 2.4s ease-in-out infinite;
}

body.home .demo-center {
  display: flex;
  justify-content: center;
  gap: 28px;
  margin: 12px 0 24px;
}

body.home .demo-pile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: .75rem;
}

body.home .demo-card {
  width: 70px;
  height: 100px;
  border-radius: 10px;
  transition: transform var(--ease);
}

body.home .demo-card:hover {
  transform: translateY(-8px) scale(1.04);
}

body.home .demo-card.flip {
  animation: cardFlip 4s ease-in-out infinite;
}

body.home .demo-hand {
  display: flex;
  justify-content: center;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

body.home .demo-you {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 700;
}

body.home .demo-you img {
  border-radius: 50%;
  border: 2px solid rgba(251, 191, 36, .4);
}

body.home .demo-start {
  min-width: 240px;
}

/* ---------- Feature cards ---------- */
body.home .feature-grid {
  display: grid;
  gap: 20px;
}

body.home .intro-split {
  display: grid;
  gap: 16px;
  margin-bottom: 22px;
}

body.home .intro-split article {
  padding: 20px 22px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(251, 191, 36, .2);
  background: rgba(7, 26, 20, .6);
}

body.home .intro-split h3 {
  margin: 0 0 8px;
  color: var(--white);
}

body.home .intro-split p {
  margin: 0;
  color: var(--muted);
}

body.home .feature-card {
  padding: 32px;
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, rgba(12, 42, 32, .95), rgba(7, 26, 20, .98));
  border: 1px solid rgba(251, 191, 36, .25);
  box-shadow: var(--shadow);
  transition: transform var(--ease), box-shadow var(--ease), border-color var(--ease);
  min-height: 220px;
}

body.home .feature-card:hover {
  transform: translateY(-8px);
  border-color: rgba(251, 191, 36, .45);
  box-shadow: var(--glow), var(--shadow-lg);
}

body.home .feature-icon {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  font-size: 1.6rem;
  margin-bottom: 16px;
  background: linear-gradient(145deg, rgba(251, 191, 36, .25), rgba(6, 78, 59, .4));
  border: 1px solid rgba(251, 191, 36, .35);
  color: var(--gold-2);
}

body.home .feature-card h3 {
  margin: 0 0 8px;
  color: var(--white);
  font-size: 1.25rem;
}

body.home .feature-card p {
  margin: 0;
  color: var(--muted);
}

body.home .intro-feature-static {
  width: 100%;
  max-width: 100%;
}

body.home .intro-feature-static.feature-grid {
  display: grid;
  gap: 18px;
}

/* ---------- How to play steps ---------- */
body.home .step-grid {
  display: grid;
  gap: 18px;
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: none;
}

body.home .step-card {
  padding: 28px 24px;
  border-radius: var(--radius-lg);
  background: rgba(12, 42, 32, .85);
  border: 1px solid rgba(251, 191, 36, .22);
  min-height: 180px;
  transition: transform var(--ease), border-color var(--ease);
}

body.home .step-card:hover {
  transform: translateY(-6px);
  border-color: rgba(251, 191, 36, .4);
}

body.home .step-num {
  display: block;
  font-size: 3rem;
  font-weight: 900;
  line-height: 1;
  color: var(--gold);
  margin-bottom: 10px;
  text-shadow: 0 0 20px rgba(251, 191, 36, .35);
}

body.home .step-card h3 {
  margin: 0 0 8px;
  color: var(--white);
}

body.home .step-card p {
  margin: 0;
  color: var(--muted);
}

body.home .flow-link {
  text-align: center;
  margin: 24px 0 0;
}

body.home .howto-scroll-box {
  width: 100%;
  max-width: 100%;
}

body.home .howto-scroll-hint {
  display: none;
}

/* ---------- Modes / shots ---------- */
body.home .mode-grid {
  display: grid;
  gap: 18px;
  margin-bottom: 36px;
}

body.home .mode-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 24px;
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, rgba(12, 42, 32, .95), rgba(7, 26, 20, .98));
  border: 1px solid rgba(251, 191, 36, .22);
  transition: transform var(--ease), box-shadow var(--ease);
}

body.home .mode-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--glow);
}

body.home .mode-media {
  width: 72px;
  height: 72px;
  margin-bottom: 14px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(251, 191, 36, .28);
}

body.home .mode-thumb {
  width: 72px;
  height: 72px;
  object-fit: cover;
}

body.home .mode-card h3 {
  margin: 0 0 6px;
  color: var(--white);
}

body.home .mode-card > p:not(.mode-actions) {
  flex: 1 1 auto;
  color: var(--muted);
  margin: 0 0 14px;
}

body.home .mode-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-top: auto;
}

body.home .mode-actions .btn {
  min-height: 44px;
  min-width: 0;
  padding: 10px 16px;
}

body.home .shot-carousel {
  width: 100%;
  max-width: 100%;
}

body.home .shot-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(200px, 78vw);
  gap: 14px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  padding-bottom: 8px;
  margin-inline: 0;
  max-width: 100%;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

body.home .shot-rail::-webkit-scrollbar {
  display: none;
}

body.home .shot-card {
  scroll-snap-align: start;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(251, 191, 36, .2);
  background: rgba(0, 0, 0, .25);
}

body.home .shot-img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  display: block;
}

body.home .shot-dots {
  display: none;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
}

body.home .shot-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(251, 191, 36, .28);
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
}

body.home .shot-dot.is-active {
  background: var(--gold, #fbbf24);
  transform: scale(1.2);
}

body.home .shot-card h3 {
  margin: 0;
  padding: 12px 14px;
  font-size: .95rem;
  color: var(--cream);
}

/* ---------- Why practise (fact cards, not testimonials) ---------- */
body.home .review-grid {
  display: grid;
  gap: 18px;
}

body.home .review-card {
  padding: 24px;
  min-height: 200px;
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, rgba(12, 42, 32, .95), rgba(7, 26, 20, .98));
  border: 1px solid rgba(251, 191, 36, .22);
  box-shadow: var(--shadow);
  transition: transform var(--ease);
}

body.home .review-card:hover {
  transform: translateY(-6px);
}

body.home .review-top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

body.home .review-top h3 {
  margin: 0;
  font-size: 1.05rem;
  color: var(--gold);
  font-weight: 800;
}

body.home .review-card p {
  margin: 0;
  color: var(--muted);
}

/* ---------- Final CTA ---------- */
body.home .lp-cta {
  padding: 72px 0;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(251, 191, 36, .2), transparent 52%),
    radial-gradient(circle at 80% 80%, rgba(6, 78, 59, .45), transparent 40%),
    linear-gradient(180deg, #0a3d30, #04110d);
  border-block: 1px solid rgba(251, 191, 36, .22);
  position: relative;
  overflow: hidden;
}

body.home .lp-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 50%, rgba(251, 191, 36, .06), transparent 28%);
  pointer-events: none;
}

body.home .final-cta-inner {
  display: grid;
  gap: 28px;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 1;
}

body.home .cta-copy h2 {
  margin: 0 0 10px;
  font-size: clamp(1.7rem, 3.5vw, 2.4rem);
  color: var(--white);
  letter-spacing: -.015em;
}

body.home .btn-glow {
  animation: pulseGlow 2.8s ease-in-out infinite;
}

body.home .cta-copy p {
  margin: 0 0 22px;
  color: var(--muted);
}

body.home .cta-promo {
  position: relative;
  width: min(280px, 100%);
  height: 160px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

body.home .cta-promo .cta-card {
  position: absolute;
  width: 88px;
  height: 124px;
  border-radius: 10px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, .4), 0 0 20px rgba(251, 191, 36, .2);
}

body.home .cta-promo .pcard.cta-card {
  font-size: 1.35rem;
  border-width: 2px;
}

body.home .cta-promo .pcard.cta-card .suit {
  font-size: 1.55rem;
}

body.home .cta-promo .card-back.cta-card {
  border: 2px solid #d4af37;
  background: #0c2a4a url("/assets/images/card-back-india.webp") center / cover no-repeat;
}

body.home .cta-promo .cta-c1 {
  left: 18%;
  transform: rotate(-14deg);
  z-index: 1;
}

body.home .cta-promo .cta-c2 {
  left: 50%;
  transform: translateX(-50%) rotate(2deg) translateY(-6px);
  z-index: 2;
}

body.home .cta-promo .cta-c3 {
  right: 18%;
  left: auto;
  transform: rotate(14deg);
  z-index: 3;
}

body.home .final-cta-inner .cta-row {
  justify-content: center;
}

/* ---------- FAQ ---------- */
body.home .faq details {
  background: rgba(12, 42, 32, .9);
  border: 1px solid rgba(251, 191, 36, .22);
  border-radius: var(--radius);
  padding: 4px 16px;
  margin-bottom: 12px;
  transition: border-color var(--ease);
}

body.home .faq details:hover,
body.home .faq details[open] {
  border-color: rgba(251, 191, 36, .4);
}

body.home .faq summary {
  cursor: pointer;
  font-weight: 800;
  color: var(--white);
  padding: 14px 0;
  list-style: none;
}

body.home .faq summary::-webkit-details-marker {
  display: none;
}

body.home .faq details p {
  color: var(--muted);
  padding-bottom: 14px;
  margin: 0;
}

/* ---------- Guides / footer ---------- */
body.home .seo-blurb {
  color: var(--muted);
  max-width: 62ch;
}

body.home .seo-trail {
  margin: 0 0 18px;
  padding: 14px 16px;
  border-radius: var(--radius);
  border: 1px solid rgba(251, 191, 36, .22);
  background: rgba(7, 26, 20, .55);
  overflow-x: auto;
}

body.home .seo-trail ol {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 4px;
  margin: 0;
  padding: 0;
  list-style: none;
  align-items: center;
}

body.home .seo-trail li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
}

body.home .seo-trail li:not(:last-child)::after {
  content: "→";
  color: var(--gold-2);
}

body.home .seo-trail a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 6px 8px;
}

body.home .path a {
  border-color: rgba(251, 191, 36, .25);
  background: rgba(12, 42, 32, .7);
}

body.home .site-footer {
  background: #04110d;
  border-top: 1px solid rgba(251, 191, 36, .15);
}

/* Sticky download bar styles live in mobile-system.css (sitewide mobile).
   PC hide remains in style.css (.sticky-dl { display:none } + min-width:768). */

/* ---------- Reveal ---------- */
body.home .reveal {
  opacity: 1;
  transform: none;
}

body.home .reveal.is-in {
  opacity: 1;
  transform: none;
}

/* ---------- Animations ---------- */
@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

@keyframes mandalaDrift {
  to { transform: rotate(360deg); }
}

@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 18px rgba(251, 191, 36, .4); }
  50% { box-shadow: 0 0 32px rgba(251, 191, 36, .7); }
}

@keyframes cardFlip {
  0%, 70%, 100% { transform: rotateY(0); }
  80% { transform: rotateY(180deg); }
  90% { transform: rotateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  body.home .reveal,
  body.home.js-ready .reveal:not(.is-in) {
    opacity: 1;
    transform: none;
    transition: none;
  }
  body.home .hero-float,
  body.home .hero-mandala,
  body.home .hero-card-art,
  body.home .peacock-cluster,
  body.home .demo-timer,
  body.home .demo-card.flip,
  body.home .btn-glow {
    animation: none !important;
  }
}

/* ---------- Responsive ---------- */
@media (max-width: 767px) {
  body.home .hero-visual {
    min-height: 0;
  }
  body.home .phone-hero {
    transform: none;
  }

  /* How To Play: three steps inside one swipeable framed box */
  body.home .howto-scroll-box {
    border: 1px solid rgba(251, 191, 36, .28);
    border-radius: var(--radius-lg);
    background: linear-gradient(160deg, rgba(7, 26, 20, .92), rgba(4, 17, 13, .98));
    box-shadow: inset 0 0 0 1px rgba(251, 191, 36, .08);
    overflow: hidden;
    padding: 0;
  }
  body.home .howto-scroll-box .step-grid {
    display: flex;
    flex-direction: column;
    gap: 0;
    height: min(360px, 56vh);
    overflow-x: hidden;
    overflow-y: auto;
    scroll-snap-type: y mandatory;
    scroll-behavior: smooth;
    overscroll-behavior-y: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: rgba(251, 191, 36, .45) transparent;
    margin: 0;
    padding: 0;
    list-style: none;
  }
  body.home .howto-scroll-box .step-card {
    flex: 0 0 min(360px, 56vh);
    height: min(360px, 56vh);
    min-height: min(360px, 56vh);
    max-height: min(360px, 56vh);
    width: 100%;
    box-sizing: border-box;
    margin: 0;
    border: 0;
    border-radius: 0;
    border-bottom: 1px solid rgba(251, 191, 36, .16);
    background: transparent;
    overflow: auto;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    transform: none;
    padding: 22px 18px 28px;
  }
  body.home .howto-scroll-box .step-card:last-child {
    border-bottom: 0;
  }
  body.home .howto-scroll-box .step-card:hover {
    transform: none;
  }
  body.home .howto-scroll-hint {
    display: block;
    text-align: center;
    font-size: .72rem;
    letter-spacing: .04em;
    color: rgba(251, 191, 36, .7);
    padding: 8px 10px 10px;
    border-top: 1px solid rgba(251, 191, 36, .16);
  }

  body.home .lp-header {
    background: #0c2a20;
    border-bottom: 0;
    box-shadow: none;
    min-height: 0;
  }
  body.home main#main {
    padding-top: 0;
  }
  body.home .lp-hero {
    padding: 2px 0 36px;
    background:
      radial-gradient(circle at 78% 18%, rgba(251, 191, 36, .14), transparent 38%),
      radial-gradient(circle at 12% 70%, rgba(6, 78, 59, .45), transparent 42%),
      linear-gradient(180deg, #0c2a20 0%, #0a3d30 18%, var(--dark) 55%, #04110d 100%);
  }
  body.home .lp-hero .crumbs {
    margin: 0 0 6px;
  }
  body.home .nav-dl,
  body.home .nav-btn,
  body.home .nav-play {
    display: none !important;
  }
  body.home .header-row {
    flex-wrap: wrap;
    padding-top: 8px;
    padding-bottom: 0;
    padding-left: 16px;
    padding-right: 78px; /* room for EN/हिं toggle */
    gap: 4px;
    box-sizing: border-box;
  }
  body.home .lang-toggle {
    display: inline-flex;
    position: absolute;
    top: 10px;
    right: 0;
    z-index: 5;
  }
  body.home .nav {
    order: 3;
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    flex: 1 0 100%;
    width: calc(100% + 16px + 78px);
    max-width: none;
    margin: 2px 0 0;
    margin-left: -16px;
    margin-right: -78px;
    padding: 2px 0 0;
    gap: 0;
    justify-content: stretch;
    box-sizing: border-box;
    min-width: 0;
  }
  body.home .nav a {
    width: 100%;
    justify-content: center;
    padding: 6px 2px;
    min-height: 34px;
    font-size: .86rem;
  }
  body.home .logo {
    max-width: none;
    font-size: 1.05rem;
    color: var(--gold);
  }
  body.home .logo-text {
    font-size: 1.05rem;
    color: var(--gold);
  }
  /* One screenshot panel at a time, centered; auto-advance via home.js */
  body.home .shot-carousel {
    overflow: hidden;
  }
  body.home .shot-rail {
    display: flex;
    align-items: stretch;
    gap: 0;
    grid-auto-columns: unset;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding-bottom: 4px;
    padding-inline: 0;
    scroll-padding-inline: 0;
  }
  body.home .shot-card {
    flex: 0 0 100%;
    width: 100%;
    max-width: none;
    scroll-snap-align: center;
    scroll-snap-stop: always;
    box-sizing: border-box;
    margin: 0;
  }
  body.home .shot-card h3 {
    text-align: center;
  }
  body.home .shot-dots {
    display: flex;
  }
  body.home .hero-grid,
  body.home .hero-intro,
  body.home .hero-actions,
  body.home .hero-visual {
    min-width: 0;
    max-width: 100%;
  }

  body.home .hero-intro {
    overflow-wrap: anywhere;
  }

  body.home .lp-hero h1 {
    font-size: clamp(1.65rem, 7.2vw, 2.2rem);
  }

  body.home .lead {
    font-size: 1.02rem;
  }

  body.home .cta-row .btn,
  body.home .demo-start {
    width: 100%;
    min-width: 0;
  }

  /* Floating cards/coins obscure the phone preview on narrow screens */
  body.home .hero-float,
  body.home .peacock-cluster {
    display: none !important;
  }

  body.home .hero-mandala {
    opacity: .14;
    width: min(240px, 64%);
  }

  body.home .hero-mandala,
  body.home .demo-timer,
  body.home .demo-card.flip,
  body.home .btn-glow,
  body.home .cta-card {
    animation: none !important;
  }

  body.home .hero-visual {
    min-height: 0;
    overflow: visible;
    width: 100%;
    max-width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 8px auto 4px;
    padding: 0;
  }

  body.home .phone-hero {
    position: relative;
    z-index: 2;
    width: min(260px, 82%);
    margin-inline: auto;
    transform: none;
  }

  body.home .phone-hero-bezel {
    border-radius: 28px;
    padding: 10px;
  }

  body.home .phone-hero-screen {
    min-height: 340px;
    border-radius: 22px;
  }

  body.home .demo-card {
    width: 48px;
    height: 70px;
  }

  body.home .demo-seat img {
    width: 48px;
    height: 48px;
  }

  body.home .demo-timer {
    width: 52px;
    height: 52px;
    font-size: 1rem;
  }

  body.home .site-footer {
    padding-bottom: 88px;
  }

  body.home .lp-hero h1 {
    font-size: 2rem;
  }

  body.home .lead {
    font-size: 1rem;
  }
}

@media (min-width: 768px) {
  /* PC home: hide redundant first-line "Home" crumb */
  body.home .lp-hero .crumbs {
    display: none;
  }

  /* Header height/slots locked in style.css ≥768 — match every other PC page */
  body.home .lp-header,
  body.home .header-row {
    min-height: 64px;
  }

  body.home .hero-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "intro visual"
      "actions visual";
    min-height: 640px;
    gap: 40px;
    align-items: center;
  }

  body.home .hero-visual {
    justify-self: center;
  }

  /* Desktop: keep decorative cards beside the preview, not over the screen */
  body.home .phone-hero {
    z-index: 3;
  }
  body.home .peacock-cluster {
    z-index: 1;
    right: -4%;
    bottom: 4%;
  }
  body.home .hero-float.hf-as { left: -2%; top: 4%; }
  body.home .hero-float.hf-kh { right: -2%; top: 12%; }
  body.home .hero-float.hf-qd { left: -4%; bottom: 18%; }

  body.home .feature-grid,
  body.home .review-grid,
  body.home .mode-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  body.home .intro-split {
    grid-template-columns: 1fr 1fr;
  }

  body.home .rules-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  body.home .step-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  body.home .final-cta-inner {
    grid-template-columns: 1.2fr .8fr;
    text-align: left;
  }

  body.home .final-cta-inner .cta-row {
    justify-content: flex-start;
  }

  body.home .cta-promo {
    margin-inline: 0 0 auto;
  }

  body.home .demo-felt {
    min-height: 500px;
    padding: 36px 32px 28px;
  }

  body.home .faq-grid {
    max-width: 820px;
    margin-inline: auto;
  }
}

@media (min-width: 1024px) {
  body.home .lp-hero {
    min-height: 720px;
    display: flex;
    align-items: center;
  }

  body.home .hero-grid {
    min-height: 640px;
  }
}

/* STEP 12 — no infinite glow / flip / float on marketing chrome */
body.home .demo-chip,
body.home .step-num,
body.home .pulse-ring,
body.home .demo-card.flip,
body.home .hero-float,
body.home .float-card {
  animation: none !important;
}

body.home .btn,
body.home .btn-gold,
body.home .nav-dl {
  min-height: 44px;
}

/* Lang size on PC is locked in style.css ≥768; keep mobile touch floor here only */
@media (max-width: 767px) {
  body.home .lang-toggle {
    min-height: 28px;
  }
}

body.home .btn,
body.home .pcard,
body.home .demo-card {
  transition-duration: .18s;
}
