/* Rahu-Ketu Transit 2026 — palette: night indigo #160c2b, maroon #7a1430, gold #f5c542, cream #fff6e0 */

:root {
  --night: #160c2b;
  --night-2: #221340;
  --card: #2b1850;
  --maroon: #7a1430;
  --gold: #f5c542;
  --gold-2: #ffdf7e;
  --cream: #fff6e0;
  --muted: #d9cdea;
  --good: #49d18a;
  --care: #ff7a6b;
  --steady: #a99bc4;
  --radius: 16px;
  --r: 72px;
  --r2: 44px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100dvh;
  background: var(--night);
  color: var(--cream);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", sans-serif;
  font-size: 16px;
  line-height: 1.5;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--gold-2); }

h1, h2, h3 { line-height: 1.2; margin: 0 0 0.5rem; }

h2 { font-size: 1.5rem; }

.sky {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(1px 1px at 20% 30%, #fff8 50%, transparent 51%),
    radial-gradient(1px 1px at 70% 12%, #fff9 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 85% 60%, #ffe9a8 50%, transparent 51%),
    radial-gradient(1px 1px at 40% 80%, #fff7 50%, transparent 51%),
    radial-gradient(1px 1px at 10% 70%, #fff8 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 55% 45%, #fff6 50%, transparent 51%),
    radial-gradient(ellipse at 50% -10%, #4a1d6b 0%, transparent 60%),
    radial-gradient(ellipse at 100% 100%, #5a0f27 0%, transparent 55%),
    var(--night);
}

.page {
  max-width: 480px;
  margin: 0 auto;
  padding-bottom: 96px;
}

/* Ticker and mantra bands */
.ticker, .mantra {
  overflow: hidden;
  white-space: nowrap;
}

.ticker {
  background: var(--maroon);
  font-size: 0.82rem;
  padding: 6px 0;
}

.mantra {
  background: linear-gradient(90deg, #3a1a00, #6b3b00, #3a1a00);
  color: var(--gold-2);
  padding: 8px 0;
  font-size: 0.95rem;
  border-top: 1px solid rgba(245, 197, 66, 0.4);
  border-bottom: 1px solid rgba(245, 197, 66, 0.4);
}

.ticker__track, .mantra__track { display: inline-block; }

.ticker__track span, .mantra__track span { display: inline-block; padding: 0 1.5rem; }

.ticker__track span::before { content: "॥ "; color: var(--gold); }

/* Hero */
.hero__media { position: relative; margin: 0; }

.hero__media img { width: 100%; }

.chip {
  position: absolute;
  top: 10px;
  left: 10px;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
}

.chip--live { background: #c4102a; color: #fff; }

.hero__body { padding: 18px 16px 8px; }

.eyebrow {
  margin: 0 0 4px;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
}

.hero h1 { font-size: 1.6rem; }

.hero h1 em { font-style: normal; color: var(--gold); }

.hero__sub { color: var(--muted); margin: 0 0 16px; }

.countdown {
  background: rgba(122, 20, 48, 0.55);
  border: 1px solid rgba(245, 197, 66, 0.35);
  border-radius: var(--radius);
  padding: 12px;
  margin-bottom: 16px;
  text-align: center;
}

.countdown__label { margin: 0 0 6px; font-size: 0.85rem; color: var(--muted); }

.countdown__row { display: flex; justify-content: center; gap: 8px; }

.countdown__cell {
  min-width: 58px;
  background: var(--night);
  border-radius: 10px;
  padding: 6px 4px;
}

.countdown__cell span {
  display: block;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--gold);
  font-variant-numeric: tabular-nums;
}

.countdown__cell small { font-size: 0.72rem; color: var(--muted); }

.trust-line { text-align: center; font-size: 0.85rem; color: var(--muted); margin: 10px 0 0; }

.trust-line strong { color: var(--cream); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 10px 18px;
  border-radius: 12px;
  font-weight: 800;
  font-size: 1rem;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  font-family: inherit;
}

.btn--block { display: flex; width: 100%; }

.btn--gold {
  background: linear-gradient(180deg, var(--gold-2), var(--gold));
  color: #2a1200;
  box-shadow: 0 6px 20px rgba(245, 197, 66, 0.3);
}

.btn--ghost {
  background: transparent;
  color: var(--gold-2);
  border: 1.5px solid var(--gold);
}

/* Sections */
.section { padding: 28px 16px 8px; }

.hint { color: var(--muted); font-size: 0.9rem; margin: 0 0 14px; }

.is-hidden { display: none !important; }

.rounded { border-radius: var(--radius); margin: 14px 0; width: 100%; }

/* Rashi picker */
.rashi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.rashi {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  min-height: 92px;
  padding: 10px 4px;
  background: var(--card);
  color: var(--cream);
  border: 1.5px solid rgba(245, 197, 66, 0.25);
  border-radius: 14px;
  font-family: inherit;
  cursor: pointer;
  transition: transform 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}

.rashi:active { transform: scale(0.96); }

.rashi.is-on {
  background: linear-gradient(180deg, #5a1a52, var(--maroon));
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(245, 197, 66, 0.25);
}

.rashi__glyph { font-size: 1.7rem; line-height: 1.1; color: var(--gold); }

.rashi__name { font-weight: 700; font-size: 0.95rem; }

.rashi__en { font-size: 0.75rem; color: var(--muted); }

/* Result */
.result {
  margin: 20px 10px 0;
  padding: 22px 14px 18px;
  background: linear-gradient(180deg, rgba(43, 24, 80, 0.95), rgba(34, 19, 64, 0.95));
  border: 1px solid rgba(245, 197, 66, 0.35);
  border-radius: 22px;
  scroll-margin-top: 60px;
}

.result__en { color: var(--muted); font-weight: 400; font-size: 1.1rem; }

.wheel-wrap { display: flex; flex-direction: column; align-items: center; gap: 14px; margin: 12px 0 18px; }

.wheel {
  position: relative;
  width: 272px;
  height: 272px;
}

.wheel__ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1.5px solid rgba(245, 197, 66, 0.45);
  background: radial-gradient(circle, rgba(122, 20, 48, 0.35) 0%, rgba(22, 12, 43, 0.2) 70%);
}

.wheel__ring--inner {
  inset: 56px;
  border-style: dashed;
  border-color: rgba(245, 197, 66, 0.3);
  background: none;
}

.wheel__signs { position: absolute; inset: 0; }

.sign {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 40px;
  height: 40px;
  margin: -20px 0 0 -20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: transform 0.7s ease;
}

.sign__glyph { font-size: 1.1rem; color: var(--muted); line-height: 1; }

.sign__house { font-size: 0.62rem; color: var(--steady); }

.sign.is-self { background: var(--gold); }

.sign.is-self .sign__glyph, .sign.is-self .sign__house { color: #2a1200; font-weight: 800; }

.sign.is-rahu { box-shadow: 0 0 0 2px #ff9d5c; }

.sign.is-ketu { box-shadow: 0 0 0 2px #8fd3ff; }

.wheel__arm {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 0;
  height: 0;
}

.wheel__arm.is-gliding { transition: transform 1.8s cubic-bezier(0.4, 0, 0.2, 1); }

.token {
  position: absolute;
  left: 0;
  top: calc(var(--r2) * -1 - 13px);
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  white-space: nowrap;
}

.wheel__arm.is-gliding .token { transition: transform 1.8s cubic-bezier(0.4, 0, 0.2, 1); }

.token--rahu { background: #ff9d5c; color: #2a1200; box-shadow: 0 0 14px #ff9d5c; }

.token--ketu { background: #8fd3ff; color: #06223a; box-shadow: 0 0 14px #8fd3ff; }

.wheel__core {
  position: absolute;
  inset: 102px;
  border-radius: 50%;
  background: var(--night);
  border: 1px solid rgba(245, 197, 66, 0.4);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.wheel__you { font-size: 0.65rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.1em; }

.wheel__core-name { font-size: 0.85rem; font-weight: 800; color: var(--gold); }

.houses { display: flex; gap: 10px; width: 100%; }

.house {
  flex: 1;
  border-radius: 14px;
  padding: 10px;
  text-align: center;
  background: var(--night-2);
}

.house--rahu { border: 1.5px solid #ff9d5c; }

.house--ketu { border: 1.5px solid #8fd3ff; }

.house__planet { display: block; font-size: 0.8rem; font-weight: 700; color: var(--muted); }

.house__num { display: block; font-size: 1.6rem; font-weight: 800; }

.house--rahu .house__num { color: #ff9d5c; }

.house--ketu .house__num { color: #8fd3ff; }

.house__label { font-size: 0.75rem; color: var(--muted); }

.verdict {
  border-radius: 14px;
  padding: 12px 14px;
  margin-bottom: 18px;
  background: var(--night-2);
  border-left: 5px solid var(--steady);
}

.verdict.is-fav { border-left-color: var(--good); }

.verdict.is-mixed { border-left-color: var(--gold); }

.verdict.is-hard { border-left-color: var(--care); }

.verdict__badge {
  display: inline-block;
  font-weight: 800;
  font-size: 0.85rem;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--steady);
  color: #160c2b;
}

.is-fav .verdict__badge { background: var(--good); }

.is-mixed .verdict__badge { background: var(--gold); }

.is-hard .verdict__badge { background: var(--care); }

.verdict__text { margin: 8px 0 0; font-size: 0.95rem; }

.result h2 { font-size: 1.6rem; }

.sub-title { font-size: 1.05rem; color: var(--gold-2); margin-top: 6px; }

















/* Recommendation */
.reco__tag {
  display: inline-block;
  margin: 0 0 10px;
  font-weight: 800;
  font-size: 0.85rem;
  color: #2a1200;
  background: var(--gold);
  padding: 4px 12px;
  border-radius: 999px;
}





/* Family */
.family { margin-top: 22px; }

.family__chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }

.fchip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1.5px solid var(--steady);
  background: var(--night-2);
  color: var(--cream);
  font-family: inherit;
  font-size: 0.9rem;
  cursor: pointer;
}

.fchip.is-fav { border-color: var(--good); }

.fchip.is-mixed { border-color: var(--gold); }

.fchip.is-hard { border-color: var(--care); }

.fchip__glyph { color: var(--gold); }

.family__note {
  margin: 0 0 12px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(122, 20, 48, 0.6);
  font-size: 0.92rem;
}

/* Seva cards */
.seva {
  background: var(--card);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(245, 197, 66, 0.25);
}

.seva--featured { border: 2px solid var(--gold); box-shadow: 0 10px 30px rgba(245, 197, 66, 0.18); }

.seva img { width: 100%; }

.seva__body { padding: 12px 14px 14px; }

.seva__tag { font-size: 0.75rem; font-weight: 700; color: var(--gold); }

.seva__name { font-size: 1.1rem; margin: 4px 0 6px; }

.seva__lines { margin: 0 0 10px; padding-left: 18px; font-size: 0.88rem; color: var(--muted); }

.seva__lines li { margin-bottom: 3px; }

.seva__price { display: flex; align-items: baseline; gap: 8px; margin: 0 0 10px; flex-wrap: wrap; }

.seva__price strong { font-size: 1.5rem; color: var(--gold-2); }

.seva__price s { color: var(--muted); }

.seva__off {
  font-size: 0.78rem;
  font-weight: 800;
  background: var(--good);
  color: #062b17;
  padding: 2px 8px;
  border-radius: 999px;
}

.seva-rail {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 10px;
  margin: 0 -16px;
  padding-left: 16px;
  padding-right: 16px;
}

.seva-rail .seva {
  flex: 0 0 82%;
  scroll-snap-align: center;
  display: flex;
  flex-direction: column;
}

.seva-rail .seva__body { display: flex; flex-direction: column; flex: 1; }

.seva-rail .seva__lines { flex: 1; }

/* Scale section */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 10px 0 12px; }

.stat {
  text-align: center;
  background: var(--card);
  border-radius: 14px;
  padding: 12px 4px;
  border: 1px solid rgba(245, 197, 66, 0.3);
}

.stat__num {
  display: block;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--gold);
  font-variant-numeric: tabular-nums;
}

.stat__label { font-size: 0.78rem; color: var(--muted); }

.split { list-style: none; padding: 0; margin: 0; font-size: 0.9rem; color: var(--muted); }

.split li { padding: 6px 0; }

.split strong { display: block; color: var(--cream); }

.venues { display: flex; flex-direction: column; gap: 10px; }

.venue {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 12px;
  border-radius: 14px;
  background: var(--night-2);
  font-size: 0.88rem;
}

.venue span:last-child { color: var(--muted); }

.venue__mode {
  align-self: flex-start;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--steady);
  color: #160c2b;
}

.venue__mode--live { background: #c4102a; color: #fff; }

/* What you get */
.gets { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }

.gets li {
  background: var(--card);
  border-radius: 14px;
  padding: 12px;
  font-size: 0.88rem;
}

.gets__icon { display: block; font-size: 1.4rem; margin-bottom: 4px; }

/* Story */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 12px; }

.duo__item { background: var(--card); border-radius: 14px; padding: 12px; font-size: 0.85rem; color: var(--muted); }

.duo__item strong { display: block; color: var(--gold); font-size: 1rem; }

.story, .faq {
  background: var(--card);
  border-radius: 14px;
  margin-bottom: 8px;
  padding: 0 14px;
}

.story summary, .faq summary {
  min-height: 48px;
  display: flex;
  align-items: center;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

.story summary::-webkit-details-marker, .faq summary::-webkit-details-marker { display: none; }

.story summary::after, .faq summary::after { content: "+"; margin-left: auto; color: var(--gold); font-size: 1.3rem; padding-left: 8px; }

.story[open] summary::after, .faq[open] summary::after { content: "–"; }

.story p, .faq p { margin: 0 0 12px; color: var(--muted); font-size: 0.92rem; }

.story__ref { font-style: italic; }

/* Proof */
.pulse { display: flex; align-items: center; gap: 8px; color: var(--good); font-weight: 700; margin: 0; }

.pulse__dot { width: 10px; height: 10px; border-radius: 50%; background: var(--good); }

.reviews {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  margin: 0 -16px;
  padding: 0 16px 8px;
}

.review {
  flex: 0 0 80%;
  scroll-snap-align: center;
  margin: 0;
  background: var(--card);
  border-radius: 14px;
  padding: 14px;
}

.review img { width: 48px; height: 48px; border-radius: 50%; }

.review blockquote { margin: 8px 0; font-size: 0.92rem; }

.review figcaption { font-weight: 700; color: var(--gold); font-size: 0.88rem; }

.rating { text-align: center; font-size: 0.85rem; color: var(--muted); }

.rating strong { color: var(--gold); }

.promise {
  margin: 20px 16px 0;
  border: 1.5px solid var(--good);
  border-radius: var(--radius);
  padding: 18px 16px;
  background: rgba(73, 209, 138, 0.08);
}

.promise p { margin: 0 0 8px; }

.promise__small { font-size: 0.82rem; color: var(--muted); }

.footer {
  padding: 24px 16px;
  font-size: 0.88rem;
  color: var(--muted);
  text-align: center;
}

.footer__small { font-size: 0.75rem; }

/* Bottom bar */
.bottombar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: rgba(22, 12, 43, 0.97);
  border-top: 1px solid rgba(245, 197, 66, 0.4);
}

.bottombar__info { flex: 1; display: flex; flex-direction: column; min-width: 0; }

.bottombar__label { font-size: 0.75rem; color: var(--muted); }

.bottombar__price { font-weight: 800; color: var(--gold-2); }

.bottombar__price s { font-weight: 400; color: var(--muted); font-size: 0.85rem; }

.bottombar .btn { padding: 10px 16px; white-space: nowrap; }



@media (min-width: 720px) {
  .page {
    margin-top: 24px;
    border-radius: 24px;
    overflow: hidden;
    background: rgba(22, 12, 43, 0.6);
    box-shadow: 0 20px 80px rgba(0, 0, 0, 0.5);
  }
  .bottombar { max-width: 480px; margin: 0 auto; border-radius: 16px 16px 0 0; }
}

@media (prefers-reduced-motion: no-preference) {
  .ticker__track { animation: scroll-x 40s linear infinite; }
  .mantra__track { animation: scroll-x 30s linear infinite; }
  .pulse__dot { animation: pulse 1.6s ease-in-out infinite; }
  .btn--gold { animation: glow 2.6s ease-in-out infinite; }
  .reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
  .reveal.is-in { opacity: 1; transform: none; }
  .result:not(.is-hidden) { animation: rise 0.5s ease; }
  .wheel__ring { animation: spin 90s linear infinite; }
}

@keyframes scroll-x {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(73, 209, 138, 0.7); }
  50% { box-shadow: 0 0 0 8px rgba(73, 209, 138, 0); }
}

@keyframes glow {
  0%, 100% { box-shadow: 0 6px 20px rgba(245, 197, 66, 0.25); }
  50% { box-shadow: 0 6px 28px rgba(245, 197, 66, 0.55); }
}

@keyframes rise {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: none; }
}

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

/* ---------- v2 additions ---------- */

/* 18-month highlight */
.span18 {
  display: flex;
  gap: 14px;
  align-items: center;
  margin: 6px 0 16px;
  padding: 14px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(245, 197, 66, 0.18), rgba(122, 20, 48, 0.55));
  border: 1.5px solid var(--gold);
}

.span18__big {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1;
  color: var(--gold);
}

.span18__big strong { font-size: 3.2rem; font-weight: 900; }

.span18__big span { font-size: 0.8rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em; }

.span18__body { flex: 1; min-width: 0; }

.span18__title { margin: 0; font-weight: 800; font-size: 1.05rem; }

.span18__sub { margin: 4px 0 8px; font-size: 0.88rem; color: var(--muted); }

.span18__bar {
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  overflow: hidden;
}

.span18__fill {
  display: block;
  height: 100%;
  width: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #ff9d5c, var(--gold), #8fd3ff);
}

.span18__ends { display: flex; justify-content: space-between; margin: 4px 0 0; font-size: 0.72rem; color: var(--muted); }

/* Area cards */
.areas { display: flex; flex-direction: column; gap: 10px; margin-bottom: 22px; }

.area {
  padding: 12px;
  border-radius: 14px;
  background: var(--night-2);
  border-left: 4px solid var(--steady);
}

.area.is-good { border-left-color: var(--good); }

.area.is-care { border-left-color: var(--care); }

.area__head { display: flex; align-items: center; gap: 8px; }

.area__icon { font-size: 1.1rem; }

.area__label { flex: 1; font-weight: 800; }

.area__word {
  font-size: 0.75rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--steady);
  color: #160c2b;
  white-space: nowrap;
}

.is-good .area__word { background: var(--good); }

.is-care .area__word { background: var(--care); }

.area__bar { height: 6px; margin: 8px 0; border-radius: 999px; background: rgba(255, 255, 255, 0.1); overflow: hidden; }

.area__fill { display: block; height: 100%; width: 0; border-radius: 999px; background: var(--steady); transition: width 0.9s ease; }

.is-good .area__fill { background: linear-gradient(90deg, #2fa96a, var(--good)); }

.is-care .area__fill { background: linear-gradient(90deg, #e0453a, var(--care)); }

.area__line { margin: 0; font-size: 0.95rem; }

/* Featured seva */
.seva__inc { list-style: none; padding: 0; margin: 4px 0 12px; display: flex; flex-direction: column; gap: 6px; }

.seva__inc li { padding-left: 26px; position: relative; font-size: 0.92rem; }

.seva__inc li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--gold);
  color: #2a1200;
  font-size: 0.72rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
}

.rail-nav { display: flex; justify-content: flex-end; gap: 8px; margin-top: 4px; }

.rail-nav__btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid var(--gold);
  background: transparent;
  color: var(--gold-2);
  font-size: 1.1rem;
  cursor: pointer;
}

.footer__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 14px; margin: 8px 0; }

.footer__links a { display: inline-block; padding: 10px 2px; }

.btn--link {
  background: none;
  color: var(--muted);
  text-decoration: underline;
  padding: 10px 6px;
}

.btn:disabled { opacity: 0.7; cursor: wait; }

body.is-locked { overflow: hidden; }

/* Booking sheet */
.sheet { position: fixed; inset: 0; z-index: 50; display: flex; align-items: flex-end; justify-content: center; }

.sheet__backdrop { position: absolute; inset: 0; background: rgba(8, 4, 18, 0.72); }

.sheet__panel {
  position: relative;
  width: 100%;
  max-width: 480px;
  max-height: 92dvh;
  overflow-y: auto;
  background: var(--night-2);
  border-radius: 22px 22px 0 0;
  border-top: 2px solid var(--gold);
  padding: 16px 16px 24px;
}

.sheet__head { display: flex; align-items: flex-start; gap: 10px; }

.sheet__head > div { flex: 1; min-width: 0; }

.sheet__seva { margin: 0; font-weight: 800; }

.sheet__price { margin: 2px 0 0; color: var(--gold-2); font-weight: 800; font-size: 1.2rem; }

.sheet__price s { color: var(--muted); font-weight: 400; font-size: 0.9rem; }

.sheet__close {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 0;
  background: rgba(255, 255, 255, 0.08);
  color: var(--cream);
  font-size: 1.1rem;
  cursor: pointer;
}

.steps { display: flex; gap: 6px; list-style: none; padding: 0; margin: 14px 0; }

.steps__dot {
  flex: 1;
  font-size: 0.72rem;
  color: var(--muted);
  text-align: center;
  padding-top: 8px;
  border-top: 4px solid rgba(255, 255, 255, 0.12);
}

.steps__dot.is-on { border-top-color: var(--gold); color: var(--cream); }

.steps__dot.is-current { font-weight: 800; }

.step { border: 0; margin: 0; padding: 0; min-width: 0; }

.step__title { font-size: 1.15rem; font-weight: 800; margin-bottom: 12px; padding: 0; }

.step__row { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 14px; }

.field { display: flex; flex-direction: column; gap: 4px; margin-bottom: 12px; font-size: 0.9rem; font-weight: 700; }

.field input, .field select, .field textarea, .member__rel {
  width: 100%;
  min-height: 48px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1.5px solid rgba(245, 197, 66, 0.35);
  background: var(--night);
  color: var(--cream);
  font: inherit;
  font-size: 16px;
  font-weight: 400;
}

.field select, .member__rel { appearance: auto; }

.field input:focus, .field select:focus, .field textarea:focus, .member__rel:focus {
  outline: 2px solid var(--gold);
  outline-offset: 1px;
}

.field input:disabled { opacity: 0.5; }

.field .is-bad { border-color: var(--care); }

.field--short { max-width: 180px; }

.field__err { min-height: 0; color: #ffb3aa; font-weight: 600; font-size: 0.82rem; }

.check { display: flex; gap: 10px; align-items: center; margin: -4px 0 12px; font-size: 0.88rem; min-height: 44px; }

.check input { width: 22px; height: 22px; accent-color: var(--gold); flex: none; }

.sankalpa {
  margin: 4px 0 16px;
  padding: 12px;
  border-radius: 12px;
  background: linear-gradient(135deg, #3a1a00, #5a2e00);
  border: 1px solid rgba(245, 197, 66, 0.5);
}

.sankalpa__label { margin: 0 0 4px; font-size: 0.75rem; color: var(--gold); text-transform: uppercase; letter-spacing: 0.08em; font-weight: 800; }

.sankalpa__text { margin: 0; font-style: italic; color: var(--gold-2); }

.family-list { display: flex; flex-direction: column; gap: 4px; margin-bottom: 10px; }

.member { display: grid; grid-template-columns: minmax(0, 1fr) 44px; gap: 6px 8px; align-items: end; }

.member__field { margin-bottom: 0; grid-column: 1 / 2; }

.member__rel { grid-column: 1 / 2; margin-bottom: 8px; }

.member__rm {
  grid-column: 2 / 3;
  grid-row: 1 / 2;
  width: 44px;
  height: 48px;
  border-radius: 12px;
  border: 0;
  background: rgba(255, 122, 107, 0.18);
  color: #ffb3aa;
  cursor: pointer;
}

.review-list { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 8px 12px; margin: 0 0 14px; font-size: 0.92rem; }

.review-list dt { color: var(--muted); }

.review-list dd { margin: 0; overflow-wrap: anywhere; }

.pay-note { font-size: 0.82rem; color: var(--muted); text-align: center; margin: 0 0 8px; }

.fine { font-size: 0.78rem; color: var(--muted); text-align: center; }

@media (min-width: 380px) {
  .member { grid-template-columns: minmax(0, 1fr) 120px 44px; }
  .member__rel { grid-column: 2 / 3; grid-row: 1 / 2; margin-bottom: 0; }
  .member__rm { grid-column: 3 / 4; }
}

@media (min-width: 720px) {
  .sheet { align-items: center; }
  .sheet__panel { border-radius: 22px; border: 2px solid var(--gold); }
}

@media (prefers-reduced-motion: no-preference) {
  .span18__fill { animation: fill18 2.4s ease-out both; }
  .sheet:not(.is-hidden) .sheet__panel { animation: rise 0.3s ease; }
}

@keyframes fill18 {
  from { width: 0; }
  to { width: 100%; }
}



/* ---------- v3: Graha Shanti brand, compact first screen and reading, seva list ---------- */

/* Compact first screen so the Rashi button sits above the fold */

.hero__body { padding: 12px 16px 6px; }

.hero h1 { font-size: 1.45rem; margin-bottom: 10px; }

.span18 { padding: 10px 12px; margin: 0 0 12px; gap: 12px; }

.span18__big strong { font-size: 2.4rem; }

.span18__title { font-size: 0.92rem; font-weight: 700; margin: 0; }

.btn--big { min-height: 54px; font-size: 1.05rem; margin-bottom: 14px; }

.countdown { padding: 8px; }

.countdown__cell span { font-size: 1.25rem; }

/* Bottom bar appears only when sevas are on screen */
.bottombar { transform: translateY(110%); transition: transform 0.3s ease; }

.bottombar.is-shown { transform: none; }

/* Compact transit reading: verdict first, small wheel beside the houses */
.result { margin: 16px 10px 0; padding: 16px 14px; scroll-margin-top: 64px; }

.result h2 { font-size: 1.45rem; }

.verdict { margin: 8px 0 12px; }

.wheel-wrap { flex-direction: row; align-items: center; gap: 12px; margin: 0 0 14px; }

.wheel { width: 176px; height: 176px; flex: none; }

.wheel__ring--inner { inset: 36px; }

.wheel__core { inset: 62px; }

.wheel__core-name { font-size: 0.72rem; }

.sign { width: 26px; height: 26px; margin: -13px 0 0 -13px; }

.sign__glyph { font-size: 0.85rem; }

.token { font-size: 0.62rem; padding: 2px 6px; top: calc(var(--r2) * -1 - 10px); }

.houses { flex-direction: column; gap: 8px; min-width: 0; }

.house { padding: 8px; }

.house__planet { font-size: 0.72rem; }

.house__num { font-size: 1.3rem; }

.area__line { font-size: 0.93rem; }

.areas { margin-bottom: 16px; }

/* Paripurna combo */
.combo {
  border: 2px solid var(--gold);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--card);
  box-shadow: 0 10px 30px rgba(245, 197, 66, 0.15);
  margin-top: 8px;
}

.combo img { width: 100%; }

.combo__body { padding: 12px 14px 14px; }

.combo__tag { font-size: 0.75rem; font-weight: 800; color: var(--gold); }

.combo__name { font-size: 1.15rem; margin: 4px 0 6px; }

.combo__text { margin: 0 0 8px; font-size: 0.93rem; color: var(--muted); }

.combo__text strong { color: var(--cream); }

.combo__save { margin: -4px 0 10px; font-size: 0.85rem; color: var(--good); font-weight: 700; }

.list-head {
  margin: 20px 0 10px;
  padding-left: 10px;
  border-left: 3px solid var(--gold);
  font-weight: 700;
}

/* Individual sevas, top to bottom */
.seva-list { display: flex; flex-direction: column; gap: 12px; }

.item {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--night-2);
  border: 1.5px solid rgba(255, 255, 255, 0.12);
  transition: border-color 0.2s ease, opacity 0.2s ease;
}

.item.is-on { border-color: rgba(245, 197, 66, 0.7); }

.item:not(.is-on) { opacity: 0.8; }

.item__media { position: relative; }

.item__media img { width: 100%; }

.item__num {
  position: absolute;
  left: 10px;
  top: 10px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--gold);
  color: #2a1200;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
}

.item__mode {
  position: absolute;
  right: 10px;
  top: 10px;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(22, 12, 43, 0.85);
  color: var(--cream);
}

.item__mode.is-live { background: #c4102a; color: #fff; }

.item__body { padding: 12px 14px 14px; }

.item__focus {
  display: inline-block;
  margin: 0 0 6px;
  font-size: 0.78rem;
  font-weight: 800;
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(73, 209, 138, 0.18);
  color: var(--good);
}

.item__name { font-size: 1.05rem; margin: 0 0 2px; }

.item__venue { margin: 0 0 6px; font-size: 0.82rem; color: var(--muted); }

.item__why { margin: 0 0 8px; font-weight: 700; color: var(--gold-2); font-size: 0.93rem; }

.item__details { margin: 0 0 12px; padding-left: 18px; font-size: 0.9rem; color: var(--muted); }

.item__details li { margin-bottom: 4px; }

.item__foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; }

.item__price { margin: 0; display: flex; gap: 8px; align-items: baseline; }

.item__price strong { font-size: 1.25rem; color: var(--gold-2); }

.item__price s { color: var(--muted); font-size: 0.88rem; }

.pick {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1.5px solid var(--gold);
  font-weight: 800;
  cursor: pointer;
}

.item.is-on .pick { background: var(--gold); color: #2a1200; }

.pick input { width: 20px; height: 20px; accent-color: #2a1200; margin: 0; }

.nudge {
  display: block;
  width: 100%;
  min-height: 48px;
  margin-top: 12px;
  padding: 10px 14px;
  border-radius: 12px;
  border: 1.5px dashed var(--good);
  background: rgba(73, 209, 138, 0.1);
  color: var(--cream);
  font: inherit;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
}

.bottombar .btn:disabled { opacity: 0.5; cursor: not-allowed; }

/* ---------- v3.1: clean header, clickable hero CTA, immersive layer ---------- */

.brand {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  justify-content: center;
  padding: 0 14px;
  background: rgba(22, 12, 43, 0.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(245, 197, 66, 0.18);
}

.brand__home {
  display: flex;
  align-items: center;
  gap: 6px;
  width: 100%;
  max-width: 480px;
  min-height: 48px;
  text-decoration: none;
  color: var(--cream);
}

.brand__name { font-weight: 800; font-size: 1.02rem; color: var(--gold); letter-spacing: 0.01em; }

.brand__by { font-size: 0.75rem; color: var(--muted); }

.brand__logo { width: 72px; height: auto; display: block; margin-top: 1px; }

/* Policy pages reuse the brand look */
.doc__top { display: flex; align-items: center; gap: 6px; flex-wrap: nowrap; text-decoration: none; }
.doc__top .brand__by img { width: 72px; }

/* Hero: full image, embers */
.hero__media { overflow: hidden; }

.hero__media img { width: 100%; height: auto; }

.embers { position: absolute; inset: 0; pointer-events: none; }

.embers i {
  position: absolute;
  bottom: -10px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: radial-gradient(circle, #ffe08a, #ff9d5c 60%, transparent 70%);
  opacity: 0;
}

.embers i:nth-child(1) { left: 12%; }
.embers i:nth-child(2) { left: 28%; animation-delay: 1.2s !important; }
.embers i:nth-child(3) { left: 45%; animation-delay: 2.1s !important; }
.embers i:nth-child(4) { left: 63%; animation-delay: 0.6s !important; }
.embers i:nth-child(5) { left: 78%; animation-delay: 1.7s !important; }
.embers i:nth-child(6) { left: 90%; animation-delay: 2.8s !important; }

/* Hero call to action: a clear, tappable card */
.cta {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 14px;
  padding: 10px 12px;
  min-height: 64px;
  border-radius: 16px;
  text-decoration: none;
  color: #2a1200;
  background: linear-gradient(180deg, #ffe58f, var(--gold));
  box-shadow: 0 8px 0 #b8860b, 0 14px 28px rgba(245, 197, 66, 0.35);
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}

.cta:active { transform: translateY(6px); box-shadow: 0 2px 0 #b8860b, 0 6px 14px rgba(245, 197, 66, 0.3); }

.cta__glyph {
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--night);
  color: var(--gold);
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cta__text { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.2; }

.cta__text strong { font-size: 1.05rem; }

.cta__text small { font-size: 0.78rem; font-weight: 600; opacity: 0.8; margin-top: 2px; }

.cta__arrow {
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #2a1200;
  color: var(--gold);
  font-size: 1.6rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-bottom: 3px;
}

/* Twinkling sky */
.sky { overflow: hidden; }

.star {
  position: absolute;
  width: 2px;
  height: 2px;
  border-radius: 50%;
  background: #fff;
  opacity: 0.5;
}

.star--big { width: 3px; height: 3px; background: #ffe9a8; }

/* Rashi tiles */
.rashi { position: relative; overflow: hidden; }

.rashi::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 30%, rgba(245, 197, 66, 0.25), transparent 60%);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.rashi:hover::after, .rashi:focus-visible::after, .rashi.is-on::after { opacity: 1; }

/* Reading overlay */
.reading {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: rgba(14, 7, 30, 0.92);
  backdrop-filter: blur(4px);
}

.reading__orbit {
  position: relative;
  width: 170px;
  height: 170px;
}

.reading__orbit::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1.5px dashed rgba(245, 197, 66, 0.55);
}

.reading__rahu, .reading__ketu {
  position: absolute;
  left: 50%;
  top: 50%;
  margin: -12px 0 0 -26px;
  width: 52px;
  text-align: center;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 4px 0;
  border-radius: 999px;
}

.reading__rahu { background: #ff9d5c; color: #2a1200; box-shadow: 0 0 18px #ff9d5c; transform: rotate(0deg) translateY(-85px); }

.reading__ketu { background: #8fd3ff; color: #06223a; box-shadow: 0 0 18px #8fd3ff; transform: rotate(180deg) translateY(-85px) rotate(-180deg); }

.reading__glyph { margin: -118px 0 70px; font-size: 2.6rem; color: var(--gold); }

.reading__text { margin: 0; font-weight: 700; color: var(--gold-2); min-height: 1.5em; }

/* Chant */
.chant { text-align: center; }

.chant__mantra { font-size: 1.15rem; color: var(--gold-2); margin: 8px 0 4px; line-height: 1.7; }

.chant__roman { font-size: 0.85rem; color: var(--muted); font-style: italic; margin: 0 0 18px; }

.diya {
  position: relative;
  width: 150px;
  height: 150px;
  margin: 0 auto 14px;
  display: block;
  border: 0;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 60%, #5a2e00, #2a1200 70%);
  cursor: pointer;
  color: var(--cream);
  font: inherit;
  -webkit-tap-highlight-color: transparent;
}

.diya__ring {
  --p: 0;
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  background: conic-gradient(var(--gold) calc(var(--p) * 1%), rgba(255, 255, 255, 0.1) 0);
  -webkit-mask: radial-gradient(circle, transparent 69px, #000 70px);
  mask: radial-gradient(circle, transparent 69px, #000 70px);
  transition: background 0.3s ease;
}

.diya__flame {
  position: absolute;
  left: 50%;
  top: 30px;
  width: 26px;
  height: 46px;
  margin-left: -13px;
  border-radius: 50% 50% 50% 50% / 65% 65% 35% 35%;
  background: radial-gradient(circle at 50% 70%, #fff6c2, #ffcc33 40%, #ff7a1a 75%, transparent 76%);
  filter: drop-shadow(0 0 14px #ffb347);
  transform-origin: 50% 100%;
}

.diya__count { position: absolute; left: 0; right: 0; bottom: 30px; font-weight: 800; font-size: 1.05rem; }

.diya.is-done { box-shadow: 0 0 40px rgba(255, 179, 71, 0.6); }

.chant__done { margin: 0 0 12px; color: var(--good); font-weight: 700; }

@media (prefers-reduced-motion: no-preference) {
  .embers i { animation: rise-ember 4.5s ease-in infinite; }
  .star { animation: twinkle 3s ease-in-out infinite; }
  .hero__media img { animation: kenburns 18s ease-in-out infinite alternate; }
  .cta { animation: nudge-cta 2.4s ease-in-out infinite; }
  .cta:active { animation: none; }
  .cta__arrow { animation: arrow-bob 1.2s ease-in-out infinite; }
  .cta__glyph.is-flip { animation: flip 0.5s ease; }
  .rashi { animation: tile-in 0.45s ease both; }
  .reading__orbit::before { animation: spin 3s linear infinite; }
  .reading__rahu, .reading__ketu { animation: glow-tok 0.8s ease-in-out infinite alternate; }
  .reading__glyph { animation: pop 0.5s ease; }
  .diya__flame { animation: flicker 1.4s ease-in-out infinite; }
  .diya.is-pulse { animation: diya-pulse 0.6s ease; }
}

@keyframes rise-ember {
  0% { transform: translateY(0) scale(1); opacity: 0; }
  15% { opacity: 1; }
  100% { transform: translateY(-160px) translateX(14px) scale(0.4); opacity: 0; }
}

@keyframes twinkle { 0%, 100% { opacity: 0.15; } 50% { opacity: 0.9; } }

@keyframes kenburns { from { transform: scale(1); } to { transform: scale(1.06); } }

@keyframes nudge-cta { 0%, 86%, 100% { transform: none; } 90% { transform: translateY(-3px); } 94% { transform: none; } 97% { transform: translateY(-2px); } }

@keyframes arrow-bob { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(3px); } }

@keyframes flip { from { transform: rotateY(90deg); } to { transform: rotateY(0); } }

@keyframes tile-in { from { opacity: 0; transform: translateY(12px) scale(0.96); } to { opacity: 1; transform: none; } }

@keyframes pop { 0% { transform: scale(0.4); } 70% { transform: scale(1.12); } 100% { transform: scale(1); } }

@keyframes flicker {
  0%, 100% { transform: scaleY(1) rotate(-1deg); }
  50% { transform: scaleY(1.08) rotate(2deg); }
}

@keyframes diya-pulse { 0% { transform: scale(1); } 40% { transform: scale(0.94); } 100% { transform: scale(1); } }

@keyframes glow-tok { from { filter: brightness(1); } to { filter: brightness(1.35); } }

/* Reviews */
.review-dots { display: flex; justify-content: center; gap: 6px; margin: 4px 0 14px; }
.review-dots .dot { width: 7px; height: 7px; border-radius: 50%; background: rgba(255, 255, 255, 0.25); transition: width 0.2s ease, background 0.2s ease; }
.review-dots .dot.is-on { width: 20px; border-radius: 999px; background: var(--gold); }
.review blockquote::before { content: "\201C"; display: block; font-size: 2rem; line-height: 0.6; color: var(--gold); margin-bottom: 6px; }
.regulars { list-style: none; padding: 0; margin: 0 0 14px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.regulars li { background: var(--card); border-radius: 14px; padding: 10px 12px; display: flex; flex-direction: column; border: 1px solid rgba(245, 197, 66, 0.2); }
.regulars strong { font-size: 1.4rem; color: var(--gold); line-height: 1.1; }
.regulars span { font-size: 0.8rem; color: var(--muted); }

/* Organising line in hero */
.organise {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  margin: -2px 0 12px;
  padding: 8px 10px;
  border-radius: 12px;
  background: rgba(196, 16, 42, 0.22);
  border: 1px solid rgba(255, 122, 107, 0.45);
  font-size: 0.88rem;
  line-height: 1.4;
}

.organise strong { color: var(--gold-2); }

.organise__fire { font-size: 1.1rem; line-height: 1.2; }

.bottombar__label { line-height: 1.25; }

@media (prefers-reduced-motion: no-preference) {
  .organise__fire { animation: flicker 1.4s ease-in-out infinite; display: inline-block; }
}

.span18__org { display: block; margin-top: 4px; font-weight: 600; color: var(--cream); }
.span18__org strong { color: var(--gold-2); }
.hero h1 { font-size: 1.4rem; margin-bottom: 8px; }
.hero__body .eyebrow { margin-bottom: 2px; }

/* v3.4: light header that stands apart from the dark page; one-line hero */
.brand {
  background: #fff6e0;
  border-bottom: 2px solid var(--gold);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
  backdrop-filter: none;
}

.brand__name { color: #7a1430; }

.brand__by { color: #6b5a4a; }

.doc__top {
  background: #fff6e0;
  padding: 8px 12px;
  border-radius: 12px;
  border: 2px solid var(--gold);
  display: inline-flex;
}

.doc__top .brand__name { color: #7a1430; }

.doc__top .brand__by { color: #6b5a4a; }

.hero h1.hero__line {
  font-size: 1.12rem;
  font-weight: 700;
  line-height: 1.4;
  margin: 2px 0 12px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(196, 16, 42, 0.22);
  border: 1px solid rgba(255, 122, 107, 0.45);
}

.hero__line strong { color: var(--gold-2); }
