/* Jantar Mantar — jm.gurushree.pro. Night sky above, sunset stone below,
   gold on top: the colours of the logo. */

:root {
  --night: #0d1433;
  --night-2: #16204d;
  --dusk: #3a1f4f;
  --sun: #ffb23e;
  --gold: #f6c453;
  --gold-2: #e39a1f;
  --stone: #d9772c;
  --ink: #fdf6e8;
  --muted: #c9c3d9;
  --card: rgba(255, 255, 255, 0.06);
  --line: rgba(246, 196, 83, 0.28);
  --r: 20px;
  --font: 'Mukta', 'Mukta Vaani', system-ui, sans-serif;
}
:lang(gu) { --font: 'Mukta Vaani', 'Mukta', system-ui, sans-serif; }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background:
    radial-gradient(1200px 600px at 50% -10%, #25306e 0%, transparent 60%),
    linear-gradient(180deg, var(--night) 0%, var(--night-2) 45%, var(--dusk) 80%, #4a2330 100%);
  background-attachment: fixed;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; }
h1, h2 { font-family: 'Cinzel', var(--font); letter-spacing: .02em; }
:lang(hi) h1, :lang(hi) h2, :lang(gu) h1, :lang(gu) h2 { font-family: var(--font); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 4.5vw, 2.6rem); text-align: center; }
p { margin: 0 0 1em; }
.muted { color: var(--muted); }

/* ── nav ─────────────────────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 10px clamp(14px, 4vw, 40px);
  background: rgba(13, 20, 51, .78);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav__brand { display: flex; align-items: center; gap: 10px; color: var(--gold); text-decoration: none;
  font-family: 'Cinzel', serif; font-weight: 800; font-size: 1.05rem; }
.nav__brand img { border-radius: 10px; }
.lang { display: flex; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; }
.lang button { background: none; border: 0; color: var(--muted); font: 600 .85rem var(--font);
  padding: 6px 11px; cursor: pointer; }
.lang button[aria-pressed="true"] { background: var(--gold); color: var(--night); }

/* ── buttons ─────────────────────────────────────────── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  text-decoration: none; border-radius: 999px; font-weight: 800; cursor: pointer; border: 0; }
.btn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.4;
  stroke-linecap: round; stroke-linejoin: round; }
.btn--gold { color: #2a1405; background: linear-gradient(180deg, #ffe08a, var(--gold) 45%, var(--gold-2));
  box-shadow: 0 10px 30px -8px rgba(246, 196, 83, .7), inset 0 1px 0 rgba(255, 255, 255, .6); }
.btn--gold:hover { filter: brightness(1.06); transform: translateY(-1px); }
.btn--lg { padding: 16px 30px; font-size: 1.1rem; }
.btn { transition: transform .15s, filter .15s; }

/* ── hero ────────────────────────────────────────────── */
.hero { position: relative; text-align: center; padding: 34px 18px 56px; overflow: hidden; }
.hero__logo { position: relative; width: min(300px, 72vw); aspect-ratio: 1; margin: 6px auto 22px; }
.hero__logo img { position: relative; width: 100%; height: 100%; border-radius: 22%;
  box-shadow: 0 24px 60px -24px rgba(255, 150, 40, .55); }

.hero h1 { font-size: clamp(2rem, 7vw, 3.6rem); }
.hero h1 em { font-style: normal; color: var(--gold); text-shadow: 0 0 30px rgba(246, 196, 83, .5); }
.hero__sub { max-width: 560px; margin: 0 auto 22px; color: var(--muted); font-size: 1.1rem; }
.hero__meta { margin-top: 12px; font-size: .9rem; color: var(--muted); }

.stats { display: flex; justify-content: center; gap: clamp(18px, 6vw, 56px); list-style: none;
  padding: 0; margin: 34px 0 0; }
.stats strong { display: block; font-family: 'Cinzel', serif; font-size: 1.8rem; color: var(--gold); }
.stats span { color: var(--muted); font-size: .9rem; }

/* ── sections ────────────────────────────────────────── */
.section { padding: 60px clamp(16px, 5vw, 48px); max-width: 1080px; margin: 0 auto; }
.section--dark { max-width: none; background: rgba(0, 0, 0, .22); border-block: 1px solid rgba(255, 255, 255, .05); }
.section--dark > * { max-width: 1080px; margin-inline: auto; }
.lead { text-align: center; color: var(--muted); max-width: 620px; margin: 0 auto 28px; font-size: 1.05rem; }

/* games */
.games { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); margin-top: 26px; }
.game { padding: 22px; border-radius: var(--r); border: 1px solid var(--line); background: var(--card); }
.game--jm { background: linear-gradient(160deg, rgba(255, 61, 139, .18), rgba(123, 61, 255, .16)); }
.game--gn { background: linear-gradient(160deg, rgba(255, 179, 0, .2), rgba(224, 51, 122, .14)); }
.game h3 { font-size: 1.4rem; color: var(--gold); }
.game p { color: var(--muted); margin: 0; }
.pics, .coins { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; margin-bottom: 18px; }
.pics span { aspect-ratio: 1; background: #fffdf5; border-radius: 12px; padding: 6px; display: grid; place-items: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, .25); animation: pop .5s both; }
.coins span { aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center;
  font: 800 1rem var(--font); color: #7a4300;
  background: radial-gradient(circle at 35% 30%, #fff3a6, #ffc400 55%, #e08a00);
  box-shadow: inset 0 0 0 2px #c17a00, 0 4px 10px rgba(0, 0, 0, .3); animation: pop .5s both; }
@keyframes pop { from { transform: scale(.4); opacity: 0; } }
.pics span, .coins span { min-width: 0; }
.pics img { width: 100%; height: auto; }
body { overflow-x: hidden; }

.split { display: flex; align-items: center; gap: 12px; justify-content: center; margin-top: 22px; color: var(--muted); text-align: left; }
.chip { flex: none; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; font-weight: 800;
  color: #fff; background: radial-gradient(circle at 35% 30%, #ff8fbf, #e0337a 60%, #a01650);
  box-shadow: inset 0 0 0 3px rgba(255, 255, 255, .85), 0 3px 0 #6d0f37; }

/* steps */
.steps { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.steps li { padding: 22px; border-radius: var(--r); background: var(--card); border: 1px solid var(--line); }
.step__n { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; margin-bottom: 12px;
  font-weight: 800; color: #2a1405; background: linear-gradient(180deg, #ffe08a, var(--gold-2)); }
.steps h3 { color: var(--gold); font-size: 1.15rem; }
.steps p { color: var(--muted); margin: 0; }

/* refer */
.refer { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); margin-top: 26px; }
.refer__step { padding: 22px; border-radius: var(--r); background: var(--card); border: 1px solid var(--line); }
.refer__step b { font-size: 34px; display: block; margin-bottom: 8px; }
.refer__step h3 { color: var(--gold); }
.refer__step p { color: var(--muted); margin: 0; }

/* install */
#install { text-align: center; }
.install { text-align: left; max-width: 560px; margin: 22px auto 28px; padding-left: 1.3em; font-size: 1.05rem; }
.install li { margin-bottom: 10px; }
.install b { color: var(--gold); }

/* faq */
details { max-width: 760px; margin: 0 auto 12px !important; border: 1px solid var(--line); border-radius: 14px;
  background: var(--card); padding: 14px 18px; }
summary { cursor: pointer; font-weight: 800; color: var(--gold); }
details p { margin: 10px 0 0; color: var(--muted); }

/* footer */
.foot { text-align: center; padding: 40px 20px 60px; color: var(--muted); }
.foot img { margin: 0 auto 12px; border-radius: 12px; }

/* toast */
.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 120px); z-index: 50;
  background: var(--ink); color: var(--night); font-weight: 800; padding: 12px 20px; border-radius: 14px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .4); transition: transform .3s; max-width: 90vw; text-align: center; }
.toast.on { transform: translate(-50%, 0); }

/* scroll reveal */
[data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .6s, transform .6s; }
[data-reveal].in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  [data-reveal] { opacity: 1; transform: none; }
}
