:root {
  color: #fff4e0;
  background: #03110e;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
  --table: #061f1a;
  --table-2: #0b3a2e;
  --ruby: #2b0910;
  --ruby-2: #4f111c;
  --gold: #d8a94c;
  --gold-2: #9f7122;
  --cream: #fff4e0;
  --muted: #d8c7a1;
  --dim: #9f9278;
  --safe: #35d0a2;
  --line: rgba(245, 185, 66, 0.18);
  --surface: rgba(255, 244, 224, 0.075);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; width: 100%; }

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  width: 100%;
  position: relative;
  background:
    radial-gradient(circle at 12% 6%, rgba(216, 169, 76, 0.1), transparent 28rem),
    radial-gradient(circle at 90% 0%, rgba(79, 17, 28, 0.42), transparent 36rem),
    linear-gradient(145deg, #020b09 0%, #061a16 50%, #120508 100%);
}

body::before {
  position: fixed;
  inset: 0;
  pointer-events: none;
  content: '';
  opacity: 0.32;
  background-image:
    linear-gradient(rgba(255, 244, 224, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 244, 224, 0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(circle at top, black, transparent 76%);
}

a { color: inherit; text-decoration: none; }

.site-header,
.hero,
.trust-section,
.teenpatti-section,
.why-section,
.asset-section,
.confidence-section,
.steps-section,
.gameplay-section,
.game-section,
.rewards-section,
.safety-section,
.faq-section,
.final-cta,
.legal-page,
.site-footer {
  position: relative;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  z-index: 4;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 36px 0 10px;
}

.header-primary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
}

.header-stats {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.stat-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border: 1px solid rgba(255, 244, 224, 0.1);
  border-radius: 16px;
  background: rgba(3, 17, 14, 0.46);
  backdrop-filter: blur(18px);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.stat-chip:hover {
  transform: translateY(-2px);
  border-color: rgba(245, 185, 66, 0.24);
  background: rgba(3, 17, 14, 0.62);
}

.stat-chip--highlight {
  border-color: rgba(216, 169, 76, 0.32);
  background: linear-gradient(135deg, rgba(216, 169, 76, 0.12), rgba(159, 113, 34, 0.08));
  box-shadow: 0 8px 24px rgba(216, 169, 76, 0.12);
}

.stat-chip__icon {
  font-size: 1.5rem;
  line-height: 1;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.stat-chip__content {
  display: grid;
  gap: 2px;
}

.stat-chip__value {
  font-size: 1.1rem;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--cream);
  font-weight: 900;
}

.stat-chip__label {
  font-size: 0.68rem;
  font-weight: 750;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--dim);
  line-height: 1;
}

.brand-mark { display: inline-flex; align-items: center; gap: 12px; }

.brand-mark__symbol {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: #161006;
  background: linear-gradient(135deg, #d8a94c, #edd08b 52%, #9f7122);
  box-shadow: 0 12px 32px rgba(216, 169, 76, 0.14);
  font-weight: 950;
}

.brand-mark strong,
.brand-mark small { display: block; }
.brand-mark strong { line-height: 1; letter-spacing: -0.04em; }

.brand-mark small {
  margin-top: 3px;
  color: var(--dim);
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.legal-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px;
  border: 1px solid rgba(255, 244, 224, 0.08);
  border-radius: 999px;
  background: rgba(3, 17, 14, 0.48);
  backdrop-filter: blur(18px);
}

.legal-nav a {
  padding: 9px 14px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 750;
}

.legal-nav a:hover,
.legal-nav a[aria-current="page"] { color: var(--cream); background: rgba(255, 244, 224, 0.08); }

.section-nav-toggle {
  position: fixed;
  top: 128px;
  left: max(18px, calc((100vw - 1180px) / 2 - 116px));
  z-index: 30;
  display: inline-grid;
  gap: 1px;
  min-width: 88px;
  border: 1px solid rgba(245, 185, 66, 0.24);
  border-radius: 999px;
  padding: 9px 14px;
  color: var(--cream);
  background: rgba(3, 17, 14, 0.46);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(22px);
  cursor: pointer;
  text-align: left;
}

.section-nav-toggle span {
  color: var(--gold);
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.section-nav-toggle strong {
  font-size: 0.86rem;
  line-height: 1;
}

.site-nav {
  position: fixed;
  top: 184px;
  left: max(18px, calc((100vw - 1180px) / 2 - 116px));
  z-index: 29;
  display: grid;
  width: 168px;
  max-height: min(560px, calc(100vh - 216px));
  gap: 8px;
  overflow: auto;
  padding: 10px;
  border: 1px solid rgba(255, 244, 224, 0.1);
  border-radius: 24px;
  background: rgba(3, 17, 14, 0.46);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(22px);
  opacity: 0;
  pointer-events: none;
  transform: translate3d(-8px, -6px, 0) scale(0.96);
  transform-origin: top left;
  transition: opacity 180ms ease, transform 180ms ease;
}

.site-nav.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: translate3d(0, 0, 0) scale(1);
}

.site-nav a {
  display: flex;
  align-items: center;
  min-height: 36px;
  border: 1px solid rgba(255, 244, 224, 0.08);
  border-radius: 999px;
  padding: 0 12px;
  color: var(--muted);
  background: rgba(255, 244, 224, 0.045);
  font-size: 0.78rem;
  font-weight: 850;
  transition: color 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--cream);
  border-color: rgba(245, 185, 66, 0.3);
  background: rgba(255, 244, 224, 0.085);
  outline: none;
  transform: translateX(2px);
}

.site-nav a.is-active {
  color: #1b0e03;
  border-color: rgba(245, 185, 66, 0.56);
  background: linear-gradient(135deg, rgba(216, 169, 76, 0.94), rgba(255, 224, 160, 0.88));
  box-shadow: 0 12px 28px rgba(216, 169, 76, 0.18);
}

.hero {
  min-height: calc(100vh - 90px);
  padding: 28px 0 72px;
  overflow: hidden;
  position: relative;
}

.hero__grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.9fr);
  align-items: center;
  gap: clamp(32px, 6vw, 84px);
  min-height: calc(100vh - 158px);
}

.hero__content {
  max-width: 720px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.eyebrow {
  margin: 0 0 20px;
  color: var(--gold);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero__intro-card {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 40px;
  padding: 32px 36px;
  border: 1px solid rgba(255, 244, 224, 0.12);
  border-radius: 24px;
  background: rgba(3, 17, 14, 0.52);
  backdrop-filter: blur(18px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.hero__description {
  margin: 0;
  padding-bottom: 8px;
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.15rem);
  line-height: 1.7;
  letter-spacing: 0.01em;
}

.hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  padding: 12px 0;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 14px;
  border: 1px solid rgba(53, 208, 162, 0.24);
  border-radius: 999px;
  background: rgba(53, 208, 162, 0.08);
  color: #bff6df;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  transition: all 180ms ease;
}

.hero__badge svg {
  flex-shrink: 0;
  stroke-width: 2.5;
  filter: drop-shadow(0 2px 6px rgba(53, 208, 162, 0.3));
}

.hero__badge--featured {
  border-color: rgba(216, 169, 76, 0.38);
  background: linear-gradient(135deg, rgba(216, 169, 76, 0.16), rgba(159, 113, 34, 0.1));
  color: var(--gold);
  box-shadow: 0 8px 20px rgba(216, 169, 76, 0.15);
}

.hero__badge--featured svg {
  fill: currentColor;
  stroke: none;
  filter: drop-shadow(0 2px 6px rgba(216, 169, 76, 0.4));
  animation: badge-star-pulse 2.5s ease-in-out infinite;
}

.hero__badge:hover {
  transform: translateY(-2px);
  border-color: rgba(53, 208, 162, 0.4);
  box-shadow: 0 8px 24px rgba(53, 208, 162, 0.2);
}

.hero__badge--featured:hover {
  border-color: rgba(216, 169, 76, 0.5);
  box-shadow: 0 10px 28px rgba(216, 169, 76, 0.25);
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--gold);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.section-heading h2,
.final-cta h2 {
  margin: 0;
  color: var(--cream);
  letter-spacing: -0.075em;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  padding: 16px 0;
  margin-top: 8px;
}

.button {
  display: inline-flex;
  min-height: 56px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0 28px;
  font-size: 1rem;
  font-weight: 900;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.button:hover { transform: translateY(-2px); }

.button--primary {
  position: relative;
  color: #1b0e03;
  background: linear-gradient(135deg, var(--gold), #ffe0a0 50%, var(--gold-2));
  box-shadow: 0 18px 48px rgba(245, 185, 66, 0.24);
  animation: button-float-glow 4s ease-in-out infinite;
}

.button--primary::after {
  content: '';
  position: absolute;
  inset: -8px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(245, 185, 66, 0.3) 0%, transparent 70%);
  opacity: 0;
  z-index: -1;
  animation: button-aura-pulse 4s ease-in-out infinite;
}

.button--secondary {
  border: 1px solid rgba(245, 185, 66, 0.38);
  color: var(--cream);
  background: rgba(255, 244, 224, 0.06);
}

.button--play:hover,
.button--play:focus-visible {
  box-shadow: 0 0 0 1px rgba(255, 224, 160, 0.38), 0 20px 54px rgba(245, 185, 66, 0.34);
  transform: translateY(-2px) scale(1.02);
  outline: none;
}

.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 16px 0 0;
  margin: 0;
  list-style: none;
}

.hero__trust li {
  border: 1px solid rgba(53, 208, 162, 0.22);
  border-radius: 999px;
  padding: 9px 14px;
  color: #bff6df;
  background: rgba(53, 208, 162, 0.07);
  font-size: 0.84rem;
  font-weight: 800;
}

.hero__visual { display: grid; place-items: center; }

.hero-visual-stack {
  position: relative;
  width: min(440px, 88vw);
  aspect-ratio: 11 / 14;
  min-height: 560px;
  perspective: 1400px;
  max-width: 100%;
}

.hero-motion {
  position: relative;
  z-index: 2;
  min-height: 100%;
  height: 100%;
  width: 100%;
  overflow: hidden;
  border: 1px solid rgba(245, 185, 66, 0.2);
  border-radius: 34px;
  background: rgba(3, 17, 14, 0.52);
  box-shadow: 0 34px 88px rgba(0, 0, 0, 0.46), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  isolation: isolate;
  transform: translate3d(var(--scene-shift-x, 0px), var(--scene-shift-y, 0px), 0) rotateX(var(--scene-rotate-x, 0deg)) rotateY(var(--scene-rotate-y, 0deg));
  transform-style: preserve-3d;
  transition: opacity 220ms ease, filter 220ms ease, transform 320ms ease-out;
}

.hero-motion img,
.hero-motion__card,
.hero-motion__chip,
.hero-motion__cluster {
  position: absolute;
  pointer-events: none;
  user-select: none;
}

.hero-motion img,
.hero-motion__card,
.hero-motion__chip,
.hero-motion__cluster {
  will-change: translate, transform, opacity;
  transition: translate 180ms ease-out, transform 220ms ease-out;
  translate: calc(var(--parallax-x, 0px) * var(--depth, 0)) calc(var(--parallax-y, 0px) * var(--depth, 0));
}

.hero-motion img {
  display: block;
  max-width: none;
}

.hero-motion__bg {
  inset: -8%;
  z-index: 0;
  width: 116%;
  height: 116%;
  object-fit: cover;
  --depth: 0.05;
  animation: hero-bg-drift 12s ease-in-out infinite;
}

.hero-motion__orb {
  z-index: 1;
  width: 34%;
  opacity: 0.72;
  mix-blend-mode: screen;
  animation: orb-breathe 3.8s ease-in-out infinite;
  --depth: 0.06;
}

.hero-motion__orb--gold { top: 11%; right: 20%; }
.hero-motion__orb--ruby { right: 13%; bottom: 13%; animation-delay: -1.6s; }

.hero-motion__cluster {
  inset: 0;
  z-index: 3;
  transform: translate3d(var(--cluster-x, 0px), var(--cluster-y, 0px), 0);
}

.hero-motion__card {
  z-index: 1;
  width: 32%;
  --depth: 0.2;
}

.hero-motion__card img {
  position: relative;
  width: 100%;
  filter: drop-shadow(0 24px 34px rgba(0, 0, 0, 0.32));
}

.hero-motion__card--heart { top: 15%; left: 38%; }
.hero-motion__card--spade { top: 29%; left: 22%; }
.hero-motion__card--diamond { right: 19%; bottom: 18%; }

.hero-motion__card--heart img { animation: card-drop-in 800ms cubic-bezier(0.2, 0.9, 0.24, 1.08) both, hero-card-float-heart 5.8s ease-in-out 900ms infinite; }
.hero-motion__card--spade img { animation: card-spin-in 800ms cubic-bezier(0.2, 0.9, 0.24, 1.08) 80ms both, hero-card-float-spade 6.4s ease-in-out 980ms infinite; }
.hero-motion__card--diamond img { animation: card-rise-in 800ms cubic-bezier(0.2, 0.9, 0.24, 1.08) 140ms both, hero-card-float-diamond 6s ease-in-out 1040ms infinite; }

.hero-motion__chip {
  z-index: 2;
  width: 19%;
  --depth: 0.4;
}

.hero-motion__chip img {
  position: relative;
  width: 100%;
  filter: drop-shadow(0 18px 26px rgba(0, 0, 0, 0.28));
  animation: chip-float 4.8s ease-in-out infinite;
}

.hero-motion__chip--gold-01 { top: 18%; left: 18%; }
.hero-motion__chip--gold-02 { right: 14%; top: 39%; animation-delay: -1.7s; }
.hero-motion__chip--emerald { left: 27%; bottom: 16%; animation-delay: -3s; }

.aurora {
  position: absolute;
  inset: -140px -16vw auto;
  z-index: 0;
  height: 680px;
  overflow: hidden;
  opacity: 0.7;
  pointer-events: none;
}
  pointer-events: none;
  filter: blur(4px);
}

.aurora__orb {
  position: absolute;
  width: 44vw;
  height: 44vw;
  min-width: 320px;
  min-height: 320px;
  border-radius: 999px;
  opacity: 0.24;
  mix-blend-mode: screen;
  animation: aurora-drift 16s ease-in-out infinite alternate;
}

.aurora__orb--gold { left: 6%; top: 12%; background: var(--gold); }
.aurora__orb--ruby { right: 0; top: 4%; background: #b01f35; animation-delay: -5s; }
.aurora__orb--emerald { left: 38%; top: 26%; background: var(--safe); animation-delay: -9s; }

.trust-section { padding: 42px 0 78px; }

.teenpatti-section,
.why-section,
.asset-section,
.confidence-section,
.steps-section,
.gameplay-section,
.game-section,
.rewards-section,
.safety-section,
.faq-section,
.final-cta { padding: 78px 0; }

/* Teen Patti Section */
.teenpatti-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 64px);
  align-items: center;
  margin-top: 48px;
}

.teenpatti-visual {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(245, 185, 66, 0.2);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
}

.teenpatti-visual img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: linear-gradient(145deg, #061f1a, #0b3a2e);
}

.teenpatti-badge {
  position: absolute;
  top: 20px;
  left: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 16px 20px;
  border: 1px solid rgba(245, 185, 66, 0.3);
  border-radius: 16px;
  background: rgba(3, 17, 14, 0.85);
  backdrop-filter: blur(18px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.teenpatti-badge__icon {
  font-size: 2rem;
  line-height: 1;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.3));
}

.teenpatti-badge strong {
  font-size: 1.1rem;
  line-height: 1;
  color: var(--gold);
  letter-spacing: -0.02em;
}

.teenpatti-badge small {
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--dim);
  line-height: 1;
}

.teenpatti-content h3 {
  margin: 0 0 16px;
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  line-height: 1.1;
  letter-spacing: -0.04em;
  color: var(--cream);
}

.teenpatti-content > p {
  margin: 0 0 32px;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.65;
}

.teenpatti-features {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 32px;
}

.teenpatti-feature {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  border: 1px solid rgba(255, 244, 224, 0.08);
  border-radius: 16px;
  background: rgba(255, 244, 224, 0.03);
  transition: all 180ms ease;
}

.teenpatti-feature:hover {
  border-color: rgba(245, 185, 66, 0.2);
  background: rgba(255, 244, 224, 0.06);
  transform: translateX(4px);
}

.teenpatti-feature__icon {
  font-size: 1.8rem;
  line-height: 1;
  flex-shrink: 0;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.teenpatti-feature strong {
  display: block;
  margin-bottom: 6px;
  font-size: 1.05rem;
  color: var(--cream);
  letter-spacing: -0.01em;
}

.teenpatti-feature p {
  margin: 0;
  color: var(--dim);
  font-size: 0.92rem;
  line-height: 1.5;
}

.teenpatti-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.teenpatti-hands {
  margin-top: 64px;
}

.teenpatti-hands h3 {
  margin: 0 0 32px;
  text-align: center;
  font-size: clamp(1.6rem, 3.5vw, 2rem);
  color: var(--cream);
  letter-spacing: -0.03em;
}

.hand-rank-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.hand-rank-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 28px 24px;
  border: 1px solid rgba(255, 244, 224, 0.1);
  border-radius: 20px;
  background: rgba(3, 17, 14, 0.46);
  text-align: center;
  transition: all 220ms ease;
}

.hand-rank-card:hover {
  border-color: rgba(245, 185, 66, 0.3);
  background: rgba(3, 17, 14, 0.62);
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
}

.hand-rank-card__icon {
  font-size: 2.2rem;
  line-height: 1;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.3));
}

.hand-rank-card strong {
  font-size: 1.05rem;
  color: var(--gold);
  letter-spacing: -0.01em;
}

.hand-rank-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

.legal-page { padding: 42px 0 78px; }

.legal-hero {
  overflow: hidden;
  border: 1px solid rgba(245, 185, 66, 0.16);
  border-radius: 34px;
  padding: clamp(30px, 6vw, 72px);
  background: radial-gradient(circle at top left, rgba(216, 169, 76, 0.16), transparent 28rem), linear-gradient(140deg, rgba(6, 31, 26, 0.92), rgba(58, 8, 19, 0.78));
}

.legal-hero--safe { background: radial-gradient(circle at top right, rgba(53, 208, 162, 0.14), transparent 30rem), linear-gradient(140deg, rgba(6, 31, 26, 0.96), rgba(58, 8, 19, 0.74)); }
.legal-hero h1 { max-width: 860px; margin: 0; color: var(--cream); font-size: clamp(2.5rem, 7vw, 5.6rem); line-height: 0.96; letter-spacing: -0.07em; }
.legal-hero p:not(.eyebrow) { max-width: 720px; margin: 22px 0 0; color: var(--muted); font-size: clamp(1rem, 2vw, 1.18rem); }
.legal-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

.game-mode-selector {
  position: relative;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 0 0 42px;
}

.mode-tabs {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.mode-tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  min-width: 200px;
  padding: 24px 32px;
  border: 1px solid rgba(255, 244, 224, 0.12);
  border-radius: 20px;
  background: rgba(3, 17, 14, 0.46);
  backdrop-filter: blur(18px);
  color: var(--muted);
  font-weight: 800;
  cursor: pointer;
  transition: all 220ms ease;
}

.mode-tab:hover {
  border-color: rgba(245, 185, 66, 0.3);
  background: rgba(3, 17, 14, 0.62);
  transform: translateY(-2px);
}

.mode-tab--active {
  border-color: rgba(245, 185, 66, 0.5);
  background: linear-gradient(135deg, rgba(216, 169, 76, 0.18), rgba(159, 113, 34, 0.12));
  box-shadow: 0 12px 32px rgba(216, 169, 76, 0.2);
  color: var(--gold);
}

.mode-tab__icon {
  font-size: 2.5rem;
  line-height: 1;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

.mode-tab__label {
  font-size: 1rem;
  letter-spacing: 0.02em;
}

.game-content {
  opacity: 1;
  transition: opacity 320ms ease;
}

.game-content[style*="display: none"] {
  display: none !important;
}

.legal-content { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 18px; }

.legal-card {
  min-height: 230px;
  border: 1px solid rgba(245, 185, 66, 0.14);
  border-radius: 22px;
  padding: 24px;
  background: linear-gradient(150deg, rgba(53, 208, 162, 0.08), transparent 42%), rgba(3, 17, 14, 0.68);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px);
}

.legal-card span {
  display: inline-flex;
  margin-bottom: 24px;
  border: 1px solid rgba(53, 208, 162, 0.24);
  border-radius: 999px;
  padding: 7px 10px;
  color: #bff6df;
  background: rgba(53, 208, 162, 0.07);
  font-size: 0.72rem;
  font-weight: 900;
}

.legal-card h2 { margin: 0; color: var(--cream); font-size: 1.25rem; letter-spacing: -0.035em; }
.legal-card p { margin: 10px 0 0; color: var(--muted); }

.site-footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: end;
  margin-bottom: 32px;
  border-top: 1px solid rgba(255, 244, 224, 0.1);
  padding: 30px 0 0;
}

.site-footer p { max-width: 620px; margin: 16px 0 0; color: var(--dim); font-size: 0.92rem; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; max-width: 560px; }
.footer-links a { border: 1px solid rgba(255, 244, 224, 0.08); border-radius: 999px; padding: 9px 12px; color: var(--muted); background: rgba(255, 244, 224, 0.045); font-size: 0.8rem; font-weight: 850; }
.footer-links a:hover,
.footer-links a[aria-current="page"] { color: var(--cream); border-color: rgba(245, 185, 66, 0.28); background: rgba(255, 244, 224, 0.08); }

.section-heading { max-width: 760px; margin-bottom: 28px; }
.section-heading--compact { max-width: 580px; }
.section-heading h2 { font-size: clamp(2.1rem, 5vw, 4.5rem); line-height: 0.98; }
.section-heading p:not(.eyebrow) { max-width: 660px; margin: 18px 0 0; color: var(--muted); font-size: 1.02rem; }

.trust-grid,
.feature-grid,
.asset-grid,
.policy-grid,
.testimonial-grid,
.mode-grid,
.reward-grid,
.safety-grid,
.gameplay-flow { display: grid; gap: 16px; }
.trust-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.trust-grid--summary { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.feature-grid--summary { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.asset-grid { grid-template-columns: minmax(320px, 0.92fr) minmax(0, 1.08fr); align-items: stretch; }
.policy-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.testimonial-grid,
.feature-grid,
.reward-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.mode-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.safety-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.gameplay-flow { grid-template-columns: repeat(5, minmax(0, 1fr)); }

.trust-showcase,
.confidence-layout,
.rewards-layout {
  display: grid;
  gap: 18px;
  align-items: center;
}

.trust-showcase {
  grid-template-columns: minmax(0, 0.88fr) minmax(280px, 0.72fr);
  margin-bottom: 18px;
  border: 1px solid rgba(245, 185, 66, 0.14);
  border-radius: 26px;
  padding: clamp(20px, 4vw, 34px);
  background:
    radial-gradient(circle at top left, rgba(53, 208, 162, 0.12), transparent 24rem),
    linear-gradient(145deg, rgba(53, 208, 162, 0.08), rgba(255, 244, 224, 0.04)),
    rgba(3, 17, 14, 0.66);
  backdrop-filter: blur(18px);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.trust-showcase__copy h3 {
  margin: 0;
  color: var(--cream);
  font-size: clamp(1.5rem, 3vw, 2.4rem);
  line-height: 1.02;
  letter-spacing: -0.05em;
}

.trust-showcase__copy p:not(.asset-label) {
  margin: 14px 0 0;
  color: var(--muted);
}

.trust-showcase__image,
.confidence-visual,
.reward-visual,
.app-shot img,
.final-cta__bg,
.app-icon {
  display: block;
  width: 100%;
}

.trust-showcase__image,
.confidence-visual,
.reward-visual {
  border: 1px solid rgba(245, 185, 66, 0.14);
  border-radius: 24px;
  background: rgba(3, 17, 14, 0.52);
  box-shadow: 0 22px 62px rgba(0, 0, 0, 0.26);
  transition: transform 260ms ease, border-color 260ms ease, box-shadow 260ms ease, filter 260ms ease;
}

.trust-showcase__image {
  min-height: 100%;
  object-fit: cover;
  animation: visual-float-gentle 7.2s ease-in-out infinite;
}

.trust-item,
.feature-card,
.download-card,
.policy-card,
.testimonial-card,
.mode-card,
.reward-card,
.safety-card,
.faq-item,
.step-card,
.gameplay-card {
  border: 1px solid rgba(245, 185, 66, 0.14);
  background: linear-gradient(150deg, rgba(255, 244, 224, 0.11), rgba(255, 244, 224, 0.045)), rgba(3, 17, 14, 0.7);
  backdrop-filter: blur(18px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.trust-item { min-height: 166px; border-radius: 22px; padding: 18px; }

.trust-item span,
.feature-card span,
.safety-card span,
.gameplay-card span {
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(245, 185, 66, 0.24);
  border-radius: 16px;
  color: var(--gold);
  background: rgba(245, 185, 66, 0.08);
  font-weight: 950;
}

.trust-item span { width: 44px; height: 44px; margin-bottom: 18px; font-size: 0.78rem; }
.feature-card span,
.safety-card span,
.gameplay-card span { width: 54px; height: 54px; margin-bottom: 28px; font-size: 1.02rem; }

.trust-item h3,
.feature-card h3,
.download-card h3,
.policy-card h3,
.mode-card h3,
.reward-card h3,
.safety-card h3,
.step-card h3,
.gameplay-card h3 { margin: 0; color: var(--cream); letter-spacing: -0.035em; }

.trust-item p,
.feature-card p,
.download-card p,
.policy-card p,
.testimonial-card p,
.mode-card p,
.reward-card p,
.safety-card p,
.step-card p,
.faq-item p,
.gameplay-card p { color: var(--muted); }
.trust-item p,
.feature-card p,
.gameplay-card p { margin: 8px 0 0; color: var(--dim); font-size: 0.9rem; }

.feature-card,
.download-card,
.policy-card,
.testimonial-card,
.gameplay-card { height: 100%; min-height: 220px; border-radius: 20px; padding: 24px; transition: transform 200ms ease, border-color 200ms ease, filter 200ms ease; }

.asset-grid { align-items: stretch; }
.download-card { display: grid; grid-template-columns: 86px 1fr; gap: 20px; min-height: 100%; align-items: start; border-radius: 28px; padding: clamp(22px, 4vw, 34px); background: radial-gradient(circle at top left, rgba(216, 169, 76, 0.16), transparent 18rem), rgba(3, 17, 14, 0.72); }
.policy-card { min-height: 178px; background: linear-gradient(150deg, rgba(53, 208, 162, 0.08), transparent 42%), rgba(3, 17, 14, 0.68); }
.testimonial-card { min-height: 178px; }
.app-icon { width: 74px; height: 74px; border: 1px solid rgba(245, 185, 66, 0.28); border-radius: 18px; object-fit: cover; background: linear-gradient(135deg, #d8a94c, #fff1bc 58%, #9f7122); box-shadow: 0 18px 42px rgba(216, 169, 76, 0.16); }
.asset-label { margin: 0 0 10px; color: var(--safe); font-size: 0.74rem; font-weight: 900; letter-spacing: 0.16em; text-transform: uppercase; }
.asset-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.policy-card span { display: inline-flex; margin-bottom: 18px; border: 1px solid rgba(53, 208, 162, 0.24); border-radius: 999px; padding: 7px 10px; color: #bff6df; background: rgba(53, 208, 162, 0.07); font-size: 0.72rem; font-weight: 900; }
.policy-grid,
.testimonial-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.download-card h3 { margin: 0; color: var(--cream); letter-spacing: -0.04em; font-size: 1.85rem; }
.download-card p { margin: 10px 0 0; color: var(--muted); }
.asset-screens {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  align-items: end;
  margin-top: 24px;
}

.app-shot {
  margin: 0;
  border: 1px solid rgba(245, 185, 66, 0.14);
  border-radius: 26px;
  padding: 12px 12px 14px;
  background:
    linear-gradient(180deg, rgba(255, 244, 224, 0.06), rgba(255, 244, 224, 0.02)),
    rgba(3, 17, 14, 0.66);
  box-shadow: 0 22px 54px rgba(0, 0, 0, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.app-shot img {
  aspect-ratio: 9 / 16;
  border-radius: 18px;
  object-fit: cover;
}

.app-shot--lobby { transform: translateY(10px) rotate(-3deg); }
.app-shot--table { transform: translateY(-14px); }
.app-shot--rewards { transform: translateY(6px) rotate(2deg); }
.app-shot--safety { transform: translateY(-6px) rotate(3deg); }
.app-shot--lobby img { animation: screen-breathe 7.4s ease-in-out infinite; }
.app-shot--table img { animation: screen-breathe 8s ease-in-out -1s infinite; }
.app-shot--rewards img { animation: screen-breathe 7.8s ease-in-out -2.2s infinite; }
.app-shot--safety img { animation: screen-breathe 8.4s ease-in-out -3.1s infinite; }

.app-shot figcaption {
  margin-top: 10px;
  color: var(--dim);
  font-size: 0.8rem;
  font-weight: 800;
  line-height: 1.35;
}

.app-shot:hover {
  border-color: rgba(245, 185, 66, 0.3);
  box-shadow: 0 28px 66px rgba(0, 0, 0, 0.26), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.testimonial-grid { gap: 14px; }
.testimonial-card p { margin: 0 0 18px; color: var(--cream); font-size: 1.02rem; }
.testimonial-card strong,
.testimonial-card span { display: block; }
.testimonial-card strong { color: var(--gold); font-size: 0.84rem; text-transform: uppercase; letter-spacing: 0.08em; }
.testimonial-card span { margin-top: 6px; color: var(--dim); font-size: 0.86rem; }

.confidence-layout {
  grid-template-columns: minmax(0, 0.9fr) minmax(300px, 0.74fr);
  margin-bottom: 18px;
}

.confidence-visual-card {
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(245, 185, 66, 0.14);
  border-radius: 28px;
  background: rgba(3, 17, 14, 0.62);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.confidence-visual {
  max-width: 100%;
  min-height: 100%;
  object-fit: cover;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  animation: visual-float-wide 8s ease-in-out -1.8s infinite;
}

.confidence-visual-card figcaption {
  padding: 14px 18px 18px;
  color: var(--dim);
  font-size: 0.84rem;
  font-weight: 750;
  line-height: 1.5;
}

.gameplay-card { min-height: 250px; background: linear-gradient(150deg, rgba(53, 208, 162, 0.09), transparent 42%), rgba(3, 17, 14, 0.72); }

.mode-card,
.reward-card,
.safety-card { min-height: 230px; border-radius: 20px; padding: 24px; }

.mode-card { position: relative; overflow: hidden; min-height: 260px; background: linear-gradient(150deg, rgba(53, 208, 162, 0.11), transparent 42%), rgba(3, 17, 14, 0.72); transition: transform 200ms ease, border-color 200ms ease; }
.mode-card span { display: inline-flex; margin-bottom: 28px; border: 1px solid rgba(53, 208, 162, 0.22); border-radius: 999px; padding: 7px 10px; color: #bff6df; background: rgba(53, 208, 162, 0.07); font-size: 0.75rem; font-weight: 900; letter-spacing: 0.08em; text-transform: uppercase; }
.mode-card p { margin: 12px 0 28px; font-size: 0.94rem; }
.mode-card a { color: var(--gold); font-size: 0.86rem; font-weight: 900; }

.steps-list { display: grid; gap: 14px; }
.step-card { display: grid; grid-template-columns: 88px 1fr; gap: 22px; align-items: start; border-color: rgba(216, 169, 76, 0.14); border-radius: 18px; padding: 22px; background: rgba(3, 17, 14, 0.58); }
.step-card > span { color: rgba(216, 169, 76, 0.72); font-size: 2rem; font-weight: 950; line-height: 1; letter-spacing: -0.08em; }
.step-card p,
.reward-card p,
.safety-card p { margin: 8px 0 0; }

.reward-card { background: linear-gradient(150deg, rgba(216, 169, 76, 0.08), transparent 46%), rgba(3, 17, 14, 0.64); }
.reward-card small { display: block; margin-top: 26px; color: var(--dim); font-weight: 850; }

.rewards-layout {
  grid-template-columns: minmax(300px, 0.76fr) minmax(0, 1fr);
  gap: 22px;
}

.reward-visual {
  aspect-ratio: 4 / 5;
  object-fit: cover;
  animation: visual-float-gentle 7.6s ease-in-out -2.6s infinite;
}

.reward-grid--stacked {
  grid-template-columns: 1fr;
  gap: 14px;
}

.reward-grid--stacked .reward-card {
  min-height: 0;
  padding: 22px 24px;
}

.safety-panel { position: relative; overflow: hidden; border: 1px solid rgba(53, 208, 162, 0.16); border-radius: 22px; padding: clamp(28px, 5vw, 58px); background: radial-gradient(circle at right top, rgba(53, 208, 162, 0.12), transparent 34rem), linear-gradient(140deg, rgba(6, 31, 26, 0.94), rgba(58, 8, 19, 0.78)); }
.safety-panel .section-heading,
.safety-grid { position: relative; z-index: 2; }
.safety-grid { margin-top: 28px; }
.safety-card { border-color: rgba(53, 208, 162, 0.18); border-radius: 28px; background: rgba(3, 17, 14, 0.52); }
.safety-card span { border-color: rgba(53, 208, 162, 0.28); color: var(--safe); background: rgba(53, 208, 162, 0.08); }
.aurora--quiet { inset: -260px -20vw auto auto; opacity: 0.24; }

.faq-list { display: grid; gap: 12px; }
.faq-page-content { display: grid; grid-template-columns: 1fr; gap: 12px; max-width: 900px; }
.faq-item { border-color: rgba(255, 244, 224, 0.1); border-radius: 16px; background: rgba(3, 17, 14, 0.62); }
.faq-item summary { cursor: pointer; padding: 20px 22px; color: var(--cream); font-weight: 900; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { float: right; color: var(--gold); content: '+'; }
.faq-item[open] summary::after { content: '–'; }
.faq-item p { margin: 0; padding: 0 22px 20px; }

.final-cta { overflow: hidden; margin-bottom: 48px; border: 1px solid rgba(245, 185, 66, 0.16); border-radius: 44px; padding: clamp(34px, 6vw, 78px); background: radial-gradient(circle at left top, rgba(245, 185, 66, 0.16), transparent 30rem), linear-gradient(140deg, rgba(74, 16, 27, 0.86), rgba(6, 31, 26, 0.96)); text-align: center; }
.final-cta__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  height: 100%;
  object-fit: cover;
  opacity: 0.22;
  filter: saturate(0.88) contrast(1.04) blur(1px);
}
.final-cta__content { position: relative; z-index: 2; max-width: 760px; margin: 0 auto; }
.final-cta h2 { font-size: clamp(2.4rem, 6vw, 5rem); line-height: 0.95; }
.final-cta p:not(.eyebrow) { max-width: 620px; margin: 20px auto 0; color: var(--muted); }
.final-cta__actions { justify-content: center; }
.final-cta small { display: block; margin-top: 22px; color: var(--dim); font-weight: 800; }
.aurora--final { inset: -280px -18vw auto; opacity: 0.38; }

.js .reveal { opacity: 1; transform: none; }
.js .reveal.is-visible { animation: reveal-up 720ms cubic-bezier(0.22, 1, 0.36, 1) forwards; }

@keyframes card-drop-in {
  from { opacity: 0; transform: translate3d(0, -32px, 0) rotate(-10deg) scale(0.92); }
  to { opacity: 1; transform: translate3d(0, 0, 0) rotate(0deg) scale(1); }
}

@keyframes card-spin-in {
  from { opacity: 0; transform: translate3d(-44px, 12px, 0) rotate(-42deg) scale(0.9); }
  to { opacity: 1; transform: translate3d(0, 0, 0) rotate(0deg) scale(1); }
}

@keyframes card-rise-in {
  from { opacity: 0; transform: translate3d(28px, 34px, 0) rotate(24deg) scale(0.9); }
  to { opacity: 1; transform: translate3d(0, 0, 0) rotate(0deg) scale(1); }
}

@keyframes chip-float {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(0deg); }
  25% { transform: translate3d(5px, -10px, 0) rotate(6deg); }
  50% { transform: translate3d(-4px, 0, 0) rotate(-4deg); }
  75% { transform: translate3d(4px, 8px, 0) rotate(5deg); }
}

@keyframes orb-breathe {
  0%, 100% { opacity: 0.6; transform: scale(0.98); }
  50% { opacity: 1; transform: scale(1.04); }
}

@keyframes hero-bg-drift {
  0%, 100% { transform: scale(1) translate3d(0, 0, 0); }
  50% { transform: scale(1.03) translate3d(-8px, -10px, 0); }
}

@keyframes hero-card-float-heart {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(-2deg); }
  50% { transform: translate3d(-4px, -12px, 0) rotate(2deg); }
}

@keyframes hero-card-float-spade {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(-4deg); }
  50% { transform: translate3d(6px, -10px, 0) rotate(1deg); }
}

@keyframes hero-card-float-diamond {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(3deg); }
  50% { transform: translate3d(-5px, -11px, 0) rotate(-2deg); }
}

@keyframes visual-float-gentle {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(0, -8px, 0); }
}

@keyframes visual-float-wide {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(0, -10px, 0) scale(1.012); }
}

@keyframes screen-breathe {
  0%, 100% { transform: scale(1); filter: saturate(0.98); }
  50% { transform: scale(1.02); filter: saturate(1.04); }
}

@keyframes stat-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

@keyframes stat-glow {
  0%, 100% { box-shadow: 0 8px 24px rgba(216, 169, 76, 0.12); }
  50% { box-shadow: 0 8px 32px rgba(216, 169, 76, 0.24); }
}

@keyframes badge-star-pulse {
  0%, 100% { transform: scale(1) rotate(0deg); opacity: 1; }
  50% { transform: scale(1.15) rotate(5deg); opacity: 0.9; }
}

@keyframes button-float-glow {
  0%, 100% {
    transform: translateY(0);
    box-shadow: 0 18px 48px rgba(245, 185, 66, 0.24);
  }
  50% {
    transform: translateY(-3px);
    box-shadow:
      0 22px 60px rgba(245, 185, 66, 0.35),
      0 0 40px rgba(245, 185, 66, 0.15);
  }
}

@keyframes button-aura-pulse {
  0%, 100% {
    opacity: 0;
    transform: scale(0.9);
  }
  50% {
    opacity: 0.7;
    transform: scale(1.1);
  }
}

.stat-chip__value {
  animation: stat-pulse 2s ease-in-out infinite;
}

.stat-chip--highlight {
  animation: stat-glow 2.5s ease-in-out infinite;
}

.stat-chip--highlight .stat-chip__value {
  animation: stat-pulse 2s ease-in-out infinite;
}

@media (hover: hover) and (pointer: fine) {
  .feature-card:hover,
  .mode-card:hover,
  .gameplay-card:hover { border-color: rgba(245, 185, 66, 0.32); filter: drop-shadow(0 24px 46px rgba(245, 185, 66, 0.08)); transform: perspective(900px) rotateX(2deg) rotateY(-3deg) translateY(-4px); }

  .trust-showcase:hover .trust-showcase__image,
  .confidence-visual-card:hover .confidence-visual,
  .rewards-layout:hover .reward-visual {
    border-color: rgba(245, 185, 66, 0.3);
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.3);
    filter: saturate(1.02);
  }

  .trust-showcase:hover .trust-showcase__image { transform: translate3d(0, -10px, 0) scale(1.01); }
  .confidence-visual-card:hover .confidence-visual { transform: translate3d(0, -12px, 0) scale(1.018); }
  .rewards-layout:hover .reward-visual { transform: translate3d(0, -10px, 0) scale(1.012); }

  .reward-card:hover,
  .testimonial-card:hover,
  .policy-card:hover,
  .trust-item:hover {
    border-color: rgba(245, 185, 66, 0.28);
    transform: translateY(-4px);
    box-shadow: 0 24px 52px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  }

  .app-shot--lobby:hover { transform: translateY(4px) rotate(-2deg); }
  .app-shot--table:hover { transform: translateY(-18px) scale(1.01); }
  .app-shot--rewards:hover { transform: translateY(0) rotate(1deg); }
  .app-shot--safety:hover { transform: translateY(-10px) rotate(2deg); }
}

@media (max-width: 1320px) {
  .section-nav-toggle,
  .site-nav {
    left: 14px;
  }

  .site-nav {
    width: 150px;
  }

  .site-nav a {
    min-height: 34px;
    padding: 0 10px;
    font-size: 0.72rem;
  }
}

@media (max-width: 1100px) {
  .trust-grid,
  .asset-grid,
  .gameplay-flow,
  .mode-grid,
  .safety-grid,
  .legal-content { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .trust-showcase,
  .confidence-layout,
  .rewards-layout,
  .asset-screens { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .app-shot--lobby,
  .app-shot--table,
  .app-shot--rewards,
  .app-shot--safety { transform: none; }
}

@media (max-width: 980px) {
  .legal-nav { display: none; }

  .header-primary {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .header-stats {
    width: 100%;
    justify-content: space-between;
  }

  .stat-chip {
    flex: 1;
    min-width: 0;
    padding: 8px 10px;
    gap: 8px;
  }

  .stat-chip__icon {
    font-size: 1.3rem;
  }

  .stat-chip__value {
    font-size: 0.95rem;
  }

  .stat-chip__label {
    font-size: 0.62rem;
  }

  .section-nav-toggle {
    position: fixed;
    top: auto;
    right: max(14px, env(safe-area-inset-right));
    bottom: max(18px, env(safe-area-inset-bottom));
    left: auto;
    min-width: 82px;
    padding: 8px 12px;
  }

  .site-nav {
    position: fixed;
    top: auto;
    right: max(14px, env(safe-area-inset-right));
    bottom: calc(max(18px, env(safe-area-inset-bottom)) + 58px);
    left: auto;
    width: min(260px, calc(100vw - 28px));
    max-height: min(420px, calc(100dvh - 120px));
    transform: translate3d(8px, 8px, 0) scale(0.96);
    transform-origin: bottom right;
  }

  .site-nav.is-open {
    transform: translate3d(0, 0, 0) scale(1);
  }

  .hero__grid { grid-template-columns: 1fr; min-height: auto; }
  .site-footer { grid-template-columns: 1fr; align-items: start; }
  .footer-links { justify-content: flex-start; }
  .hero-visual-stack { width: 100%; min-height: 430px; }
  .hero-motion { width: 100%; min-height: 430px; }
  .hero-motion__card { width: 31%; }
  .hero-motion__chip { width: 18%; }
  .hero__visual { order: -1; }
  .feature-grid,
  .policy-grid,
  .testimonial-grid,
  .reward-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trust-showcase,
  .confidence-layout,
  .rewards-layout,
  .teenpatti-showcase { grid-template-columns: 1fr; }
  .teenpatti-visual { order: -1; }
  .asset-screens { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .app-shot--lobby,
  .app-shot--table,
  .app-shot--rewards,
  .app-shot--safety { transform: none; }

  .mode-tabs {
    flex-direction: column;
    gap: 12px;
  }

  .mode-tab {
    width: 100%;
    min-width: 0;
  }
}

@media (max-width: 640px) {
  .site-header,
  .hero,
  .trust-section,
  .teenpatti-section,
  .why-section,
  .asset-section,
  .confidence-section,
  .steps-section,
  .gameplay-section,
  .game-section,
  .rewards-section,
  .safety-section,
  .faq-section,
  .final-cta,
  .legal-page,
  .site-footer { width: min(100% - 28px, 1180px); }

  .section-nav-toggle {
    top: auto;
    right: max(10px, env(safe-area-inset-right));
    bottom: max(12px, env(safe-area-inset-bottom));
  }

  .site-nav {
    top: auto;
    right: max(10px, env(safe-area-inset-right));
    bottom: calc(max(12px, env(safe-area-inset-bottom)) + 56px);
  }

  .site-header { padding-top: 18px; }

  .eyebrow {
    margin-bottom: 16px;
  }

  .hero__intro-card {
    padding: 24px 26px;
    gap: 20px;
    margin-bottom: 28px;
  }

  .hero__description {
    font-size: 0.98rem;
    line-height: 1.65;
    padding-bottom: 4px;
  }

  .hero__badges {
    gap: 10px;
    padding: 8px 0;
  }

  .hero__badge {
    font-size: 0.72rem;
    padding: 7px 11px;
    gap: 6px;
  }

  .hero__badge svg {
    width: 14px;
    height: 14px;
  }

  .hero__actions {
    gap: 14px;
    padding: 12px 0;
    margin-top: 4px;
  }

  .button {
    min-height: 54px;
    padding: 0 26px;
  }

  .hero__trust {
    padding-top: 12px;
  }

  .stat-chip {
    flex-direction: column;
    padding: 10px 8px;
    gap: 6px;
    text-align: center;
  }

  .stat-chip__icon {
    font-size: 1.4rem;
  }

  .stat-chip__content {
    gap: 3px;
  }

  .stat-chip__value {
    font-size: 0.9rem;
  }

  .stat-chip__label {
    font-size: 0.58rem;
  }

  .hero { min-height: auto; padding: 18px 0 52px; }
  .hero__visual { margin-bottom: 16px; }

  .hero__intro-card {
    padding: 20px 22px;
    gap: 18px;
    margin-bottom: 24px;
  }

  .hero__description {
    font-size: 0.93rem;
    line-height: 1.6;
  }

  .hero__badges {
    gap: 8px;
    padding: 8px 0;
  }

  .hero__actions {
    display: grid;
    gap: 12px;
    padding: 12px 0;
  }

  .button {
    width: 100%;
    min-height: 52px;
  }
  .hero__trust,
  .trust-grid,
  .asset-grid,
  .policy-grid,
  .asset-screens,
  .testimonial-grid,
  .feature-grid,
  .gameplay-flow,
  .mode-grid,
  .reward-grid,
  .safety-grid,
  .trust-showcase,
  .confidence-layout,
  .rewards-layout,
  .legal-content { display: grid; grid-template-columns: 1fr; }
  .app-shot--lobby,
  .app-shot--table,
  .app-shot--rewards,
  .app-shot--safety { transform: none; }

  .hero-visual-stack { min-height: 276px; width: min(100%, 360px); }
  .hero-motion { min-height: 276px; border-radius: 22px; }
  .hero-motion__card { width: 33%; }
  .hero-motion__chip { width: 19%; }

  .trust-section,
  .teenpatti-section,
  .why-section,
  .asset-section,
  .confidence-section,
  .steps-section,
  .gameplay-section,
  .game-section,
  .rewards-section,
  .safety-section,
  .faq-section,
  .final-cta,
  .legal-page { padding: 52px 0; }

  .trust-section { padding: 32px 0 52px; }
  .teenpatti-section { padding: 52px 0; }

  .hand-rank-grid {
    grid-template-columns: 1fr;
  }

  .teenpatti-actions {
    display: grid;
    gap: 12px;
  }

  .teenpatti-actions .button {
    width: 100%;
  }

  .download-card { grid-template-columns: 1fr; }
  .asset-actions { display: grid; }
  .app-shot { padding: 10px 10px 12px; }
  .app-shot figcaption { font-size: 0.76rem; }
  .confidence-visual-card figcaption { padding: 12px 14px 16px; font-size: 0.78rem; }
  .reward-grid--stacked .reward-card { padding: 20px; }

  .trust-item,
  .feature-card,
  .mode-card,
  .reward-card,
  .safety-card,
  .gameplay-card,
  .legal-card { min-height: auto; }
  .legal-hero { border-radius: 22px; }
  .legal-actions,
  .footer-links { display: grid; }
  .step-card { grid-template-columns: 1fr; gap: 12px; }
  .safety-panel,
  .final-cta { border-radius: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after { scroll-behavior: auto !important; animation-duration: 1ms !important; animation-iteration-count: 1 !important; transition-duration: 1ms !important; }
  .reveal,
  .hero-motion__card,
  .hero-motion__chip,
  .hero-motion__orb { opacity: 1; filter: none; translate: none; transform: none; animation: none; }
  .trust-showcase__image,
  .confidence-visual,
  .reward-visual,
  .app-shot img { animation: none; transform: none; filter: none; }
  .aurora__orb { animation: none; }
}

/* ---------- Header wallet entry ---------- */
.header-end {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
}

.wallet-cta {
  display: inline-flex;
  flex: 0 0 auto;
  min-height: 46px;
  align-items: center;
  gap: 9px;
  border: 1px solid rgba(245, 185, 66, 0.42);
  border-radius: 999px;
  padding: 0 20px;
  color: #1b0e03;
  background: linear-gradient(135deg, var(--gold), #ffe0a0 52%, var(--gold-2));
  box-shadow: 0 12px 32px rgba(245, 185, 66, 0.22);
  font: inherit;
  font-size: 0.92rem;
  font-weight: 900;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
}

.wallet-cta svg { flex: 0 0 auto; }

.wallet-cta:hover,
.wallet-cta:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 16px 38px rgba(245, 185, 66, 0.32);
  filter: brightness(1.04);
  outline: none;
}

body.is-wallet-open { overflow: hidden; }

/* ---------- Wallet iframe modal ---------- */
.wallet-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 24px;
}

.wallet-modal[hidden] { display: none; }

.wallet-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 8, 7, 0.72);
  backdrop-filter: blur(6px);
  animation: wallet-fade 220ms ease both;
}

.wallet-modal__dialog {
  position: relative;
  display: flex;
  width: min(480px, 100%);
  height: min(780px, calc(100dvh - 48px));
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(245, 185, 66, 0.28);
  border-radius: 24px;
  background: #fffefb;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.55);
  animation: wallet-rise 260ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.wallet-modal__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 12px 12px 18px;
  border-bottom: 1px solid #e6e2d8;
  background: #fffefb;
}

.wallet-modal__title {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
  color: #120920;
  font-size: 0.95rem;
  letter-spacing: -0.01em;
}

.wallet-modal__dot {
  width: 9px;
  height: 9px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--safe);
  box-shadow: 0 0 0 4px rgba(53, 208, 162, 0.16);
}

.wallet-modal__actions {
  display: flex;
  align-items: center;
  gap: 4px;
}

.wallet-modal__open {
  padding: 8px 10px;
  border-radius: 999px;
  color: #6c6478;
  font-size: 0.76rem;
  font-weight: 750;
  white-space: nowrap;
}

.wallet-modal__open:hover { color: #120920; background: #f0eee9; }

.wallet-modal__close {
  display: grid;
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: #544e5e;
  background: #f2f0eb;
  cursor: pointer;
  transition: background 160ms ease, color 160ms ease;
}

.wallet-modal__close:hover { color: #120920; background: #e6e2d8; }

.wallet-modal__frame-wrap {
  position: relative;
  flex: 1 1 auto;
  min-height: 0;
  overflow: hidden;
  background: #fffefb;
}

.wallet-modal__frame {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  background: #fffefb;
}

.wallet-modal__loader {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 14px;
  color: #6c6478;
  font-size: 0.8rem;
  letter-spacing: 0.02em;
  background: #fffefb;
  transition: opacity 220ms ease, visibility 220ms ease;
}

.wallet-modal__loader.is-hidden {
  opacity: 0;
  visibility: hidden;
}

.wallet-modal__spinner {
  width: 28px;
  height: 28px;
  border: 3px solid rgba(216, 169, 76, 0.25);
  border-top-color: var(--gold);
  border-radius: 50%;
  animation: wallet-spin 720ms linear infinite;
}

@keyframes wallet-spin { to { transform: rotate(360deg); } }
@keyframes wallet-fade { from { opacity: 0; } }
@keyframes wallet-rise { from { opacity: 0; transform: translateY(18px) scale(0.98); } }

@media (max-width: 1100px) {
  .header-end { gap: 12px; }
  .wallet-cta { padding: 0 16px; font-size: 0.86rem; }
}

@media (max-width: 980px) {
  .header-primary {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
  }

  /* Flatten the wrapper so the stats and the wallet button can sit on different rows */
  .header-end { display: contents; }

  .wallet-cta {
    order: 2;
    width: auto;
    min-height: 46px;
    margin-left: auto;
    padding: 0 18px;
    font-size: 0.88rem;
  }

  .header-stats {
    order: 3;
    flex: 1 1 100%;
    width: 100%;
    justify-content: space-between;
  }

  .header-primary > .brand-mark { min-width: 0; }
}

/* Narrow phones: keep brand and wallet button on one row */
@media (max-width: 420px) {
  .header-primary { gap: 10px; }

  .brand-mark { gap: 9px; }

  .brand-mark__symbol { width: 38px; height: 38px; }

  .brand-mark strong { font-size: 0.95rem; }

  .brand-mark small {
    margin-top: 2px;
    font-size: 0.6rem;
    letter-spacing: 0.04em;
  }

  .wallet-cta {
    min-height: 40px;
    gap: 7px;
    padding: 0 13px;
    font-size: 0.8rem;
  }

  .wallet-cta svg { width: 16px; height: 16px; }
}

@media (max-width: 640px) {
  .wallet-modal { padding: 0; }

  .wallet-modal__dialog {
    width: 100%;
    height: 100%;
    height: 100dvh;
    border: 0;
    border-radius: 0;
  }

  .wallet-modal__bar { padding: 10px 10px 10px 16px; }
}

@media (prefers-reduced-motion: reduce) {
  .wallet-modal__backdrop,
  .wallet-modal__dialog,
  .wallet-modal__spinner { animation: none; }
}
