/* 7R कैसीनो — landing and privacy pages.
   Palette: night indigo, aubergine, rani pink, marigold and gold, as in the app. */
@font-face {
  font-family: 'Rozha One';
  src: url('assets/fonts/rozha-one-devanagari-400-normal.woff2') format('woff2');
  font-display: swap;
  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: 'Rozha One';
  src: url('assets/fonts/rozha-one-latin-400-normal.woff2') format('woff2');
  font-display: swap;
}
@font-face {
  font-family: 'Baloo 2';
  font-weight: 500;
  src: url('assets/fonts/baloo-2-devanagari-500-normal.woff2') format('woff2');
  font-display: swap;
  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: 'Baloo 2';
  font-weight: 500;
  src: url('assets/fonts/baloo-2-latin-500-normal.woff2') format('woff2');
  font-display: swap;
}
@font-face {
  font-family: 'Baloo 2';
  font-weight: 700;
  src: url('assets/fonts/baloo-2-devanagari-700-normal.woff2') format('woff2');
  font-display: swap;
  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: 'Baloo 2';
  font-weight: 700;
  src: url('assets/fonts/baloo-2-latin-700-normal.woff2') format('woff2');
  font-display: swap;
}

:root {
  --night: #12062b;
  --aubergine: #24104f;
  --plum: #3a1466;
  --pink: #d81b72;
  --marigold: #ff8a1f;
  --gold: #f7c948;
  --gold-light: #ffe9a6;
  --ivory: #fff6e3;
  --soft: rgba(255, 246, 227, 0.74);
  --line: rgba(247, 201, 72, 0.3);
  --display: 'Rozha One', 'Baloo 2', serif;
  --body: 'Baloo 2', system-ui, sans-serif;
  --gutter: clamp(20px, 5vw, 56px);
  --measure: 1120px;
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--night);
  color: var(--ivory);
  font-family: var(--body);
  font-weight: 500;
  font-size: 1.125rem;
  /* Devanagari needs room for marks above and below the line. */
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: var(--gold-light);
  text-underline-offset: 0.2em;
}
a:hover {
  color: var(--gold);
}
:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
  border-radius: 6px;
}
h1,
h2,
h3 {
  margin: 0;
  font-family: var(--display);
  font-weight: 400;
  line-height: 1.25;
  color: var(--gold-light);
}
h2 {
  font-size: clamp(2rem, 4.6vw, 3.1rem);
}
h3 {
  font-size: 1.45rem;
}
p {
  margin: 0;
  max-width: 62ch;
}
.wrap {
  width: min(100%, var(--measure));
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.soft {
  color: var(--soft);
}

/* ---------- top bar ---------- */
.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-block: 18px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--display);
  font-size: 1.5rem;
  color: var(--gold-light);
  text-decoration: none;
}
.brand img {
  width: 46px;
  height: 46px;
  border-radius: 11px;
  box-shadow: 0 0 0 1.5px var(--line);
}
.top nav {
  display: flex;
  gap: clamp(14px, 3vw, 30px);
  font-weight: 700;
}
.top nav a {
  text-decoration: none;
  padding-block: 6px;
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(60% 70% at 78% 62%, rgba(216, 27, 114, 0.5), transparent 70%),
    radial-gradient(50% 60% at 8% 100%, rgba(255, 138, 31, 0.26), transparent 70%),
    linear-gradient(180deg, var(--aubergine), var(--night));
}
/* The string of festival lights from the store screenshots. */
.lights {
  position: absolute;
  inset: 96px 0 auto 0;
  height: 60px;
  pointer-events: none;
  background-image:
    radial-gradient(circle, #ffe9a6 0 5px, rgba(255, 233, 166, 0.35) 6px, transparent 12px),
    radial-gradient(circle, #ff8a1f 0 5px, rgba(255, 138, 31, 0.35) 6px, transparent 12px),
    radial-gradient(circle, #ff5fa2 0 5px, rgba(255, 95, 162, 0.35) 6px, transparent 12px);
  background-size: 132px 60px;
  background-position: 0 0, 44px 14px, 88px 4px;
  background-repeat: repeat-x;
  animation: twinkle 2.6s ease-in-out infinite alternate;
}
@keyframes twinkle {
  from {
    opacity: 0.55;
  }
  to {
    opacity: 1;
  }
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: clamp(24px, 4vw, 56px);
  padding-block: clamp(84px, 11vw, 132px) clamp(56px, 8vw, 104px);
}
.hero h1 {
  font-size: clamp(2.6rem, 5.6vw, 4.3rem);
  line-height: 1.2;
  background: linear-gradient(180deg, #fff6d2 8%, var(--gold) 55%, #c98a1c 98%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.5));
}
.lead {
  margin-top: 18px;
  font-size: clamp(1.15rem, 2vw, 1.35rem);
}
.cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 28px;
  padding: 13px 26px;
  border-radius: 999px;
  background: linear-gradient(180deg, #fff3c4, var(--gold) 48%, #c68a1e);
  color: #1b0b26;
  font-weight: 700;
  font-size: 1.1rem;
  text-decoration: none;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.6);
}
.cta[aria-disabled='true'] {
  cursor: default;
}
.cta svg {
  width: 22px;
  height: 22px;
}
.fine {
  margin-top: 14px;
  font-size: 0.98rem;
  color: var(--soft);
}

/* Landscape phone, tilted like in the store screenshots and running off the page edge. */
.phone {
  position: relative;
  width: 124%;
  padding: 1.6%;
  border-radius: 9% / 19%;
  background: linear-gradient(140deg, #8d8792, #26232b 22%, #4a4551 55%, #111014);
  box-shadow: 0 40px 70px rgba(0, 0, 0, 0.6), inset 0 0 0 2px rgba(255, 255, 255, 0.2);
  transform: rotate(-5deg);
}
.phone img {
  width: 100%;
  border-radius: 7.6% / 16.4%;
}
.phone::after {
  content: '';
  position: absolute;
  left: 3%;
  top: 35%;
  width: 3.6%;
  height: 30%;
  border-radius: 999px;
  background: #000;
}

/* ---------- sections ---------- */
section {
  padding-block: clamp(56px, 8vw, 104px);
}
.intro {
  margin-top: 12px;
  color: var(--soft);
}

/* Game posters in a sideways strip, the way the lobby shows them. */
.reel {
  display: flex;
  gap: 18px;
  margin-top: 36px;
  padding: 6px var(--gutter) 22px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  /* Without this the first poster snaps flush to the edge, past the gutter. */
  scroll-padding-inline: var(--gutter);
  scrollbar-color: var(--gold) transparent;
}
.poster {
  flex: 0 0 min(64vw, 250px);
  scroll-snap-align: start;
}
.poster figure {
  margin: 0;
  padding: 3px;
  border-radius: 22px;
  background: linear-gradient(180deg, #fff3c4, var(--gold) 45%, #c68a1e);
  box-shadow: 0 14px 26px rgba(0, 0, 0, 0.5);
}
.poster img {
  width: 100%;
  aspect-ratio: 2 / 2.7;
  object-fit: cover;
  object-position: 50% 12%;
  border-radius: 19px;
}
.poster h3 {
  margin-top: 14px;
}
.poster p {
  margin-top: 4px;
  font-size: 1rem;
  color: var(--soft);
}

.look {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 36px);
  margin-top: clamp(40px, 6vw, 72px);
}
.look figure {
  margin: 0;
}
.look img {
  width: 100%;
  border-radius: 18px;
  box-shadow: 0 0 0 2px var(--line), 0 16px 30px rgba(0, 0, 0, 0.5);
}
.look figcaption {
  margin-top: 12px;
  font-size: 1rem;
  color: var(--soft);
}
.look figcaption strong {
  display: block;
  font-family: var(--display);
  font-weight: 400;
  font-size: 1.3rem;
  color: var(--gold-light);
}

.band {
  background: linear-gradient(180deg, var(--aubergine), #1a0a3c);
  border-block: 1px solid var(--line);
}
.rewards {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: start;
}
.rewards dl {
  margin: 0;
  display: grid;
  gap: 22px;
}
.rewards dt {
  font-family: var(--display);
  font-size: 1.4rem;
  color: var(--gold-light);
}
.rewards dd {
  margin: 2px 0 0;
  color: var(--soft);
}

.fair {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: clamp(20px, 4vw, 44px);
  align-items: center;
}
.age {
  width: clamp(92px, 14vw, 140px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 3px solid var(--gold);
  font-family: var(--display);
  font-size: clamp(2rem, 4.6vw, 3rem);
  color: var(--gold-light);
  background: radial-gradient(circle, rgba(216, 27, 114, 0.55), rgba(216, 27, 114, 0.08));
}
.fair p {
  margin-top: 10px;
}

.faq {
  margin-top: 28px;
  border-top: 1px solid var(--line);
}
.faq details {
  border-bottom: 1px solid var(--line);
}
.faq summary {
  cursor: pointer;
  padding: 16px 34px 16px 0;
  position: relative;
  font-weight: 700;
  list-style: none;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: '+';
  position: absolute;
  right: 4px;
  top: 50%;
  translate: 0 -50%;
  font-size: 1.6rem;
  color: var(--gold);
}
.faq details[open] summary::after {
  content: '−';
}
.faq details p {
  padding-bottom: 18px;
  color: var(--soft);
}
.contact {
  margin-top: 26px;
}

.english {
  color: var(--soft);
}
.english h2 {
  font-size: 1.6rem;
}
.english p {
  margin-top: 10px;
}

footer {
  border-top: 1px solid var(--line);
  padding-block: 28px;
  font-size: 1rem;
  color: var(--soft);
}
footer .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px 24px;
}
footer nav {
  display: flex;
  gap: 22px;
}

/* ---------- privacy page ---------- */
.doc {
  padding-block: clamp(36px, 6vw, 72px) clamp(56px, 8vw, 96px);
}
.doc h1 {
  font-size: clamp(2.3rem, 5.4vw, 3.6rem);
}
.doc h2 {
  margin-top: 40px;
  font-size: 1.65rem;
}
.doc p,
.doc ul {
  margin-top: 12px;
  max-width: 68ch;
}
.doc ul {
  padding-left: 1.2em;
}
.doc li + li {
  margin-top: 6px;
}
.doc .date {
  margin-top: 10px;
  color: var(--soft);
}
.doc .summary {
  margin-top: 26px;
  padding: 18px 22px;
  border-left: 4px solid var(--gold);
  background: rgba(58, 20, 102, 0.6);
  border-radius: 0 14px 14px 0;
}
.doc hr {
  margin-block: 56px;
  border: 0;
  border-top: 1px solid var(--line);
}
.jump {
  margin-top: 14px;
  font-weight: 700;
}

@media (max-width: 820px) {
  .hero-grid,
  .rewards {
    grid-template-columns: 1fr;
  }
  .phone {
    width: 112%;
    margin-top: 18px;
  }
  .look {
    grid-template-columns: 1fr;
  }
  .top nav a.hide-small {
    display: none;
  }
}
@media (max-width: 520px) {
  .fair {
    grid-template-columns: 1fr;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .lights {
    animation: none;
  }
}
