/* कसीनो पैराडाइज़ — landing + privacy. Same ivory & gold world as the app (src/theme/app.css). */

/* ───────── Fonts (self-hosted, same files the app ships) ───────── */
@font-face {
  font-family: 'Mukta';
  font-weight: 400;
  font-display: swap;
  src: url('assets/fonts/mukta-devanagari-400-normal.woff2') format('woff2');
  unicode-range: U+0900-097F, U+1CD0-1CF9, U+200C-200D, U+20A8, U+20B9, U+25CC, U+A830-A839, U+A8E0-A8FF;
}
@font-face {
  font-family: 'Mukta';
  font-weight: 400;
  font-display: swap;
  src: url('assets/fonts/mukta-latin-400-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2190-2193, U+2212;
}
@font-face {
  font-family: 'Mukta';
  font-weight: 600;
  font-display: swap;
  src: url('assets/fonts/mukta-devanagari-600-normal.woff2') format('woff2');
  unicode-range: U+0900-097F, U+1CD0-1CF9, U+200C-200D, U+20A8, U+20B9, U+25CC, U+A830-A839, U+A8E0-A8FF;
}
@font-face {
  font-family: 'Mukta';
  font-weight: 600;
  font-display: swap;
  src: url('assets/fonts/mukta-latin-600-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2190-2193, U+2212;
}
@font-face {
  font-family: 'Mukta';
  font-weight: 800;
  font-display: swap;
  src: url('assets/fonts/mukta-devanagari-800-normal.woff2') format('woff2');
  unicode-range: U+0900-097F, U+1CD0-1CF9, U+200C-200D, U+20A8, U+20B9, U+25CC, U+A830-A839, U+A8E0-A8FF;
}
@font-face {
  font-family: 'Mukta';
  font-weight: 800;
  font-display: swap;
  src: url('assets/fonts/mukta-latin-800-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2190-2193, U+2212;
}
@font-face {
  font-family: 'Yatra One';
  font-weight: 400;
  font-display: swap;
  src: url('assets/fonts/yatra-one-devanagari-400-normal.woff2') format('woff2');
  unicode-range: U+0900-097F, U+1CD0-1CF9, U+200C-200D, U+20A8, U+20B9, U+25CC, U+A830-A839, U+A8E0-A8FF;
}
@font-face {
  font-family: 'Yatra One';
  font-weight: 400;
  font-display: swap;
  src: url('assets/fonts/yatra-one-latin-400-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2190-2193, U+2212;
}

/* ───────── Tokens ───────── */
:root {
  --bg: #faf5ea;
  --surface: #fffcf5;
  --surface-2: #f4ead3;
  --text: #2b2214;
  --muted: #6b5e4b;
  --line: rgba(168, 130, 46, 0.24);
  --gold: #d9b45a;
  --gold-2: #f3d98b;
  --gold-deep: #a8822e;
  /* gold that is safe as text on ivory (≥4.5:1); the lighter app gold is kept for large display type */
  --accent: #85600f;
  --accent-display: #a37a22;
  --scrim: 34, 24, 10;
  --radius: 18px;
  --shadow: 0 10px 28px rgba(122, 92, 28, 0.12);
  --shadow-lift: 0 26px 60px rgba(122, 92, 28, 0.22);
  --font: 'Mukta', 'Noto Sans Devanagari', system-ui, -apple-system, sans-serif;
  --display: 'Yatra One', 'Mukta', serif;
  --gutter: clamp(20px, 5vw, 48px);
  --wrap: 1120px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scrollbar-color: var(--gold-deep) var(--surface-2);
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
}
a:hover {
  color: var(--text);
}
::selection {
  background: var(--gold-2);
  color: var(--text);
}
:focus-visible {
  outline: 2px solid var(--gold-deep);
  outline-offset: 3px;
  border-radius: 6px;
}
h1,
h2,
h3,
p,
ul,
ol,
dl,
dd,
figure {
  margin: 0;
}
ul,
ol {
  padding: 0;
  list-style: none;
}
.wrap {
  width: min(100% - 2 * var(--gutter), var(--wrap));
  margin-inline: auto;
}
.display {
  font-family: var(--display);
  font-weight: 400;
  font-synthesis: none;
  color: var(--accent-display);
  letter-spacing: 0.005em;
}
.skip {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 50;
  background: var(--text);
  color: var(--bg);
  padding: 10px 16px;
  border-radius: 10px;
  font-weight: 600;
}
.skip:focus,
.skip:hover {
  top: 12px;
  color: var(--bg);
}

/* ───────── Top bar ───────── */
.top {
  position: relative;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-block: 18px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text);
  min-width: 0;
}
.brand img {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(122, 92, 28, 0.25);
  flex-shrink: 0;
}
.brand span {
  font-family: var(--display);
  font-size: 1.375rem;
  line-height: 1.2;
  color: var(--accent);
  white-space: nowrap;
}
.nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 3vw, 30px);
  font-weight: 600;
  font-size: 1rem;
}
.nav a {
  color: var(--text);
  text-decoration: none;
  padding-block: 6px;
}
.nav a:hover {
  color: var(--accent);
}
.nav a[aria-current='page'] {
  color: var(--accent);
}
/* phones: the brand needs the room, so only the privacy link stays in the bar */
@media (max-width: 519px) {
  .nav a[href*='#'] {
    display: none;
  }
}

/* ───────── Buttons ───────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 56px;
  padding: 12px 26px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--gold-2), var(--gold) 55%, var(--gold-deep));
  color: #1d1505;
  font: inherit;
  font-weight: 800;
  font-size: 1.0625rem;
  line-height: 1.3;
  text-decoration: none;
  box-shadow: 0 8px 22px rgba(201, 162, 74, 0.35);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.btn svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}
a.btn:hover {
  color: #1d1505;
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(201, 162, 74, 0.45);
}
a.btn:active {
  transform: translateY(0);
}
/* until the App Store link is filled in, the button says "coming soon" and does nothing */
.btn[aria-disabled='true'] {
  background: var(--surface-2);
  color: var(--muted);
  box-shadow: none;
  border: 1px solid var(--line);
  cursor: default;
}
.cta-note {
  margin-top: 14px;
  font-size: 0.9375rem;
  color: var(--muted);
}

/* ───────── Hero ───────── */
.hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  border-radius: 0 0 clamp(26px, 4vw, 44px) clamp(26px, 4vw, 44px);
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(250, 245, 234, 0.62) 0%, rgba(250, 245, 234, 0.9) 52%, var(--bg) 100%),
    url('assets/img/hero.webp') center top / cover;
}
.hero > * {
  position: relative;
}
.hero-grid {
  display: grid;
  gap: 36px;
  padding-top: clamp(20px, 5vw, 56px);
}
.hero h1 {
  font-size: clamp(2.5rem, 6.4vw, 4.5rem);
  line-height: 1.22;
  font-weight: 800;
  text-wrap: balance;
}
.hero h1 .display {
  display: block;
  font-size: 1.04em;
}
.lede {
  margin-top: 18px;
  font-size: clamp(1.125rem, 1.6vw, 1.3125rem);
  line-height: 1.65;
  color: var(--muted);
  max-width: 34em;
}
.hero-cta {
  margin-top: 28px;
}
.phones {
  position: relative;
  width: min(88%, 380px);
  margin-inline: auto;
  aspect-ratio: 380 / 440;
}
.phone {
  position: relative;
  border-radius: 13.5% / 6.2%;
  padding: 2.6%;
  background: #1d1505;
  box-shadow: var(--shadow-lift), inset 0 0 0 1px rgba(243, 217, 139, 0.35);
}
.phone img {
  width: 100%;
  border-radius: 11.4% / 5.25%;
  background: var(--bg);
}
/* dynamic island */
.phone::after {
  content: '';
  position: absolute;
  top: 2.5%;
  left: 50%;
  width: 28%;
  aspect-ratio: 3.4;
  transform: translateX(-50%);
  border-radius: 99px;
  background: #0b0803;
}
.phones .phone {
  position: absolute;
  width: 62%;
}
.phones .phone.back {
  left: 0;
  top: 9%;
  transform: rotate(-7deg);
}
.phones .phone.front {
  right: 0;
  top: 0;
  transform: rotate(3deg);
}
@media (prefers-reduced-motion: no-preference) {
  .phones .phone.back {
    animation: settle-back 0.9s var(--ease) both;
  }
  .phones .phone.front {
    animation: settle-front 0.9s 0.08s var(--ease) both;
  }
}
@keyframes settle-back {
  from {
    opacity: 0;
    transform: translate(18%, 7%) rotate(0deg);
  }
}
@keyframes settle-front {
  from {
    opacity: 0;
    transform: translate(-8%, 9%) rotate(0deg);
  }
}
@media (min-width: 880px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
    align-items: center;
    gap: 48px;
    padding-top: clamp(24px, 4vw, 48px);
  }
  .phones {
    width: min(100%, 470px);
    aspect-ratio: 470 / 600;
    margin-bottom: -70px;
  }
  .hero-copy {
    padding-bottom: 72px;
  }
}

/* ───────── Sections ───────── */
section {
  padding-block: clamp(64px, 9vw, 120px);
}
h2 {
  font-size: clamp(2rem, 4.2vw, 3.125rem);
  line-height: 1.25;
  font-weight: 800;
  text-wrap: balance;
}
h2.display {
  font-weight: 400;
  font-size: clamp(2.125rem, 4.6vw, 3.375rem);
  line-height: 1.3;
}
.sub {
  margin-top: 14px;
  color: var(--muted);
  font-size: 1.125rem;
  max-width: 36em;
}

/* regions rail — the same photo cards as "क्षेत्र चुनें" in the app */
.regions {
  padding-bottom: 0;
}
.rail {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  margin-top: 32px;
  padding: 4px max(var(--gutter), (100vw - var(--wrap)) / 2) 22px;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: max(var(--gutter), (100vw - var(--wrap)) / 2);
  scrollbar-width: none;
}
.rail::-webkit-scrollbar {
  display: none;
}
.rail > * {
  flex: 0 0 auto;
  scroll-snap-align: start;
}
.region {
  position: relative;
  width: clamp(230px, 26vw, 300px);
  aspect-ratio: 26 / 17;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  color: #fff;
}
.region img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.region::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 32%, rgba(var(--scrim), 0.9));
}
.region b {
  position: absolute;
  z-index: 1;
  left: 16px;
  right: 16px;
  bottom: 13px;
  font-size: 1.1875rem;
  line-height: 1.3;
}

/* text + phone rows */
.split {
  display: grid;
  gap: 40px;
  align-items: center;
}
.split .phone {
  width: min(72%, 290px);
  margin-inline: auto;
}
.duo {
  position: relative;
  width: min(100%, 420px);
  margin-inline: auto;
  aspect-ratio: 420 / 560;
}
.duo .phone {
  position: absolute;
  width: 60%;
  margin: 0;
}
.duo .phone:first-child {
  left: 0;
  top: 0;
}
.duo .phone:last-child {
  right: 0;
  bottom: 0;
}
@media (min-width: 880px) {
  .split {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(40px, 7vw, 96px);
  }
  .split.media-left > .media {
    order: -1;
  }
}

/* dashed "key — value" rows, as on the casino page */
.facts {
  margin-top: 28px;
  border-bottom: 1px dashed var(--line);
}
.facts > div {
  display: grid;
  grid-template-columns: minmax(7.5em, 11em) minmax(0, 1fr);
  gap: 4px 20px;
  padding-block: 13px;
  border-top: 1px dashed var(--line);
}
.facts dt {
  font-weight: 800;
}
.facts dd {
  color: var(--muted);
}
@media (max-width: 479px) {
  .facts > div {
    grid-template-columns: 1fr;
  }
}

/* tools: a typographic index + a rail of real screens */
.tools {
  background: var(--surface);
  border-block: 1px solid var(--line);
}
.index {
  margin-top: 30px;
  display: grid;
  gap: 0 clamp(32px, 6vw, 80px);
}
.index li {
  display: flex;
  flex-direction: column;
  padding-block: 15px;
  border-top: 1px dashed var(--line);
}
.index b {
  font-size: 1.1875rem;
  font-weight: 800;
  line-height: 1.4;
}
.index span {
  color: var(--muted);
}
@media (min-width: 720px) {
  .index {
    grid-template-columns: 1fr 1fr;
  }
}
.screens .phone {
  width: clamp(190px, 21vw, 232px);
}
.screens figcaption {
  margin-top: 14px;
  text-align: center;
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--muted);
}
.screens {
  margin-top: 44px;
  padding-bottom: 8px;
}

/* responsible gaming — the app's highlighted "feature" panel */
.care-panel {
  display: grid;
  gap: 32px;
  align-items: center;
  padding: clamp(24px, 4.5vw, 56px);
  border-radius: clamp(22px, 3vw, 32px);
  background: linear-gradient(135deg, #fff6df, #f1e0b6);
  border: 1px solid rgba(168, 130, 46, 0.38);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.care-panel h2.display {
  color: #7d5c12;
}
.care-panel p {
  margin-top: 14px;
  max-width: 34em;
}
.care-list {
  margin-top: 22px;
}
.care-list li {
  position: relative;
  padding: 9px 0 9px 24px;
  border-top: 1px dashed rgba(168, 130, 46, 0.4);
}
.care-list li::before {
  content: '';
  position: absolute;
  left: 3px;
  top: 1.15em;
  width: 8px;
  height: 8px;
  background: var(--gold-deep);
  transform: rotate(45deg);
}
.care-list b {
  font-weight: 800;
}
.care-panel .phone {
  width: min(70%, 270px);
  margin-inline: auto;
}
@media (min-width: 880px) {
  .care-panel {
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
    gap: 56px;
  }
  .care-panel .phone {
    width: min(100%, 280px);
    margin-bottom: clamp(-150px, -11vw, -90px);
    align-self: start;
  }
}

/* what the app is not */
.honest {
  padding-top: 0;
}
.honest ul {
  display: grid;
  gap: 28px;
}
.honest li {
  padding-top: 18px;
  border-top: 2px solid var(--gold);
}
.honest b {
  display: block;
  font-size: 1.3125rem;
  font-weight: 800;
  line-height: 1.35;
}
.honest span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
}
@media (min-width: 760px) {
  .honest ul {
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(28px, 4vw, 56px);
  }
}

/* closing call */
.closing {
  text-align: center;
  background:
    radial-gradient(120% 70% at 50% 20%, rgba(243, 217, 139, 0.45), transparent 70%),
    linear-gradient(180deg, var(--bg), var(--surface-2));
  border-top: 1px solid var(--line);
}
.closing img {
  width: 104px;
  height: 104px;
  margin-inline: auto;
  border-radius: 26px;
  box-shadow: 0 16px 40px rgba(122, 92, 28, 0.25);
}
.closing h2 {
  margin-top: 22px;
}
.closing .sub {
  margin-inline: auto;
}
.closing .btn {
  margin-top: 28px;
}

/* ───────── Footer ───────── */
footer {
  padding-block: 40px 56px;
  font-size: 0.9375rem;
  color: var(--muted);
  background: var(--surface-2);
}
.foot-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
  font-weight: 600;
  font-size: 1rem;
}
.foot-note {
  margin-top: 20px;
  max-width: 62em;
}
.foot-note + .foot-note {
  margin-top: 10px;
}

/* ───────── Privacy page ───────── */
.doc-head {
  max-width: 44rem;
  padding-block: clamp(28px, 6vw, 64px) 8px;
}
.doc-head h1 {
  font-size: clamp(2.25rem, 5.4vw, 3.5rem);
  line-height: 1.3;
}
.doc-meta {
  margin-top: 10px;
  color: var(--muted);
}
.doc {
  max-width: 44rem;
  padding-block: 36px clamp(56px, 8vw, 96px);
  scroll-margin-top: 16px;
}
.doc + .doc {
  border-top: 1px solid var(--line);
}
.doc > h2 {
  font-size: clamp(1.75rem, 3.6vw, 2.375rem);
}
.doc h3,
.doc .sec {
  margin-top: 36px;
  font-size: 1.3125rem;
  font-weight: 800;
  line-height: 1.4;
}
.doc p,
.doc ul {
  margin-top: 12px;
}
.doc ul {
  padding-left: 0;
}
.doc li {
  position: relative;
  padding: 5px 0 5px 24px;
}
.doc li::before {
  content: '';
  position: absolute;
  left: 3px;
  top: 0.95em;
  width: 7px;
  height: 7px;
  background: var(--gold-deep);
  transform: rotate(45deg);
}
.doc .summary {
  margin-top: 22px;
  padding: 18px 20px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.doc .summary p:first-child {
  margin-top: 0;
}
