/* AstroDivy — galaxy layer (18 Oct 2026, Vandan: "more galaxy like feel, use galaxy color only").
   Loads after style.css. Palette: deep space, violet, nebula magenta, ice cyan, star white.
   The logo keeps its own colours. Motion: transform/opacity only; blur is static and lighter
   than before because a moving WebGL sky sits behind every glass card. */
:root {
  --space: #05060F;
  --violet: #7C5CFF;
  --magenta: #D35BE0;
  --cyan: #46C8FF;
  --ice: #A8E4FF;
  --glass: rgba(16, 18, 48, .46);
  --glass-hi: rgba(28, 30, 72, .6);
  --glass-line: rgba(168, 190, 255, .16);
  --glass-line-hi: rgba(168, 228, 255, .5);
  --blur: blur(14px) saturate(140%);
  --glow: 0 0 0 1px rgba(124, 92, 255, .25), 0 18px 50px -18px rgba(124, 92, 255, .55);
}
html { background: var(--space); }
body {
  background:
    radial-gradient(70% 50% at 12% 4%, rgba(124, 92, 255, .30) 0%, transparent 60%),
    radial-gradient(55% 45% at 92% 30%, rgba(211, 91, 224, .14) 0%, transparent 60%),
    radial-gradient(80% 60% at 50% 108%, rgba(70, 200, 255, .14) 0%, transparent 65%),
    var(--space);
  background-attachment: fixed;
}
.galaxy { position: fixed; inset: 0; width: 100vw; height: 100vh; z-index: 0; pointer-events: none; display: block; }
.has-galaxy .sky { display: none; }
.top { background: rgba(6, 7, 22, .55); }
.demo-bar { background: rgba(0, 0, 0, .45); }

/* buttons and accents in galaxy colours */
.btn-main { background: linear-gradient(135deg, #7C5CFF 0%, #B04BE2 58%, #3FA8FF 125%); color: #fff; box-shadow: 0 12px 30px -12px rgba(124, 92, 255, .9), inset 0 1px 0 rgba(255,255,255,.25); text-decoration: none; text-align: center; }
.btn-main:hover { filter: brightness(1.1); }
.lang button[aria-pressed="true"] { background: linear-gradient(135deg, #7C5CFF, #B04BE2); color: #fff; }
.hero-h { background: linear-gradient(100deg, #EEF2FF 0%, #EEF2FF 38%, #A8E4FF 47%, #E2A6FF 53%, #EEF2FF 62%, #EEF2FF 100%); background-size: 260% 100%;
  -webkit-background-clip: text; background-clip: text; }
.card::after, .bubble::after, .choice-btn::after, .rung::after, .steps li::after, .sc-list li::after, .trust li::after, .faq details::after, .pandit-sub::after,
.prob::after, .pcard::after, .plan::after, .safe-grid li::after {
  content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .35s;
  background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 0%), rgba(168, 228, 255, .13), transparent 60%); }
.prob:hover::after, .pcard:hover::after, .plan:hover::after, .safe-grid li:hover::after { opacity: 1; }
.portal { border-color: rgba(168, 228, 255, .55); box-shadow: 0 0 0 6px rgba(124, 92, 255, .08), 0 30px 80px rgba(2, 3, 12, .6), 0 0 110px rgba(124, 92, 255, .35); }
.rr-txt { fill: #CFE9FF; }

/* hero extras */
.hero-pills { list-style: none; margin: 4px 0 2px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; animation: rise .8s ease-out .25s both; }
.hero-pills li { display: inline-flex; align-items: center; gap: 7px; font-size: 14px; color: var(--moon); padding: 5px 12px 5px 9px; border-radius: 999px;
  background: rgba(124, 92, 255, .14); border: 1px solid rgba(168, 190, 255, .22); }
.hero-pills svg { width: 16px; height: 16px; fill: none; stroke: var(--ice); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.reader-chip { display: flex; align-items: center; gap: 10px; font-size: 14.5px; color: var(--mist); margin-top: 6px; }
.reader-chip b { color: var(--moon); font-weight: 600; }
.reader-chip a { color: var(--ice); margin-left: auto; font-size: 14px; }
.reader-chip:empty { display: none; }

/* avatars: a nebula disc with the pandit's initial, and a slow dashed orbit */
.av { position: relative; display: inline-grid; place-items: center; flex: none; border-radius: 50%; color: #fff; vertical-align: middle;
  background: radial-gradient(circle at 32% 26%, var(--a), var(--b) 68%, #0A0B24 100%); box-shadow: 0 0 24px -6px var(--a); }
.av img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; display: block; }
.av b { font-family: var(--display); font-weight: 400; line-height: 1; transform: translateY(.06em); text-shadow: 0 1px 8px rgba(0,0,0,.35); }
.av-ring { position: absolute; inset: -4px; border-radius: 50%; border: 1.5px dashed rgba(168, 228, 255, .5); animation: turn 22s linear infinite; pointer-events: none; }
.ai-badge { display: inline-block; font: 600 11px var(--text); letter-spacing: .06em; color: #0A0B24; background: var(--ice); border-radius: 999px; padding: 1px 7px; vertical-align: 3px; }

/* sections share one width and gutter */
.problems, .pandits, .safe { max-width: 1240px; margin: 0 auto; padding: clamp(56px, 8vw, 100px) clamp(16px, 4vw, 48px) 0; position: relative; }
.problems .section-lead, .pandits .section-lead { max-width: 62ch; color: var(--mist); margin-top: 10px; }

/* problems */
.prob-grid { list-style: none; padding: 0; margin: 26px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.prob { position: relative; width: 100%; height: 100%; text-align: left; cursor: pointer; color: var(--moon); font: inherit; display: grid; gap: 4px; align-content: start;
  padding: 18px 18px 16px; border-radius: var(--r-l); background: var(--glass); border: 1px solid var(--glass-line); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur);
  transition: transform .25s cubic-bezier(.2,.8,.2,1), border-color .25s, box-shadow .25s; }
.prob:hover, .prob:focus-visible { transform: translateY(-3px); border-color: var(--glass-line-hi); box-shadow: var(--glow); }
.prob svg { width: 30px; height: 30px; fill: none; stroke: var(--ice); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 6px; }
.prob b { font: 400 21px/1.25 var(--display); }
.prob span { color: var(--mist); font-size: 15px; }
.prob em { font-style: normal; display: flex; align-items: center; gap: 8px; margin-top: 10px; font-size: 13.5px; color: var(--ice); }
.prob em .av-ring { display: none; }

/* pandits */
.pan-grid { list-style: none; padding: 0; margin: 26px 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 14px; }
.pcard { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 20px; border-radius: var(--r-l); background: var(--glass); border: 1px solid var(--glass-line);
  -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); transition: transform .25s cubic-bezier(.2,.8,.2,1), border-color .25s, box-shadow .25s; }
.pcard:hover { transform: translateY(-3px); border-color: var(--glass-line-hi); box-shadow: var(--glow); }
.pcard.is-reader { border-color: var(--glass-line-hi); background: linear-gradient(150deg, rgba(124, 92, 255, .26), rgba(16, 18, 48, .5)); }
.pc-top { display: flex; gap: 14px; align-items: center; }
.pcard h3 { font-size: 21px; color: var(--moon); }
.pc-area { color: var(--ice); font-size: 14.5px; margin-top: 2px; }
.pc-style { color: var(--mist); font-size: 15px; flex: 1; }
.pc-meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 12px; font-size: 13.5px; color: var(--mist-2); border-top: 1px solid var(--glass-line); padding-top: 10px; }
.pc-rate { color: var(--moon); font-weight: 600; }
.pc-acts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.pc-acts .btn-main, .pc-acts .btn-line { min-height: 44px; padding: 8px 10px; font-size: 15px; }
.pc-acts [aria-pressed="true"] { border-color: var(--glass-line-hi); color: var(--ice); }

/* plans: every plan is a card */
.plans-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 14px; margin-top: 26px; }
.plans-grid .ladder { display: contents; }
.plan, .plans-grid .rung { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 22px 20px 20px; margin: 0; border-radius: var(--r-l);
  background: var(--glass); border: 1px solid var(--glass-line); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur);
  transition: transform .25s cubic-bezier(.2,.8,.2,1), border-color .25s, box-shadow .25s; }
.plan:hover, .plans-grid .rung:hover { transform: translateY(-3px); border-color: var(--glass-line-hi); box-shadow: var(--glow); }
.plans-grid .rung > div:first-child { display: flex; flex-direction: column; gap: 6px; flex: 1; }
.plan h3, .plans-grid .rung h3 { font-size: 22px; color: var(--moon); }
.plan .covers, .plans-grid .covers { color: var(--mist); font-size: 15px; margin: 0; flex: 1; }
.plan .meta, .plans-grid .meta { color: var(--ice); font-size: 13.5px; margin: 0; }
.plan .covers { flex: 1; }
.plans-grid .buy { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--glass-line); text-align: left; }
.plans-grid .buy .price { font: 400 30px/1 var(--display); color: var(--moon); display: inline; }
.plans-grid .buy .price small { font: 500 14px var(--text); color: var(--mist); margin-left: 2px; }
.plans-grid .buy button, .plans-grid .buy a { margin: 0; min-height: 44px; padding: 8px 16px; font-size: 15px; text-decoration: none; white-space: nowrap; }
.plans-grid .rung.big, .plan-chat { background: linear-gradient(155deg, rgba(124, 92, 255, .32), rgba(211, 91, 224, .12) 60%, rgba(16, 18, 48, .5)); border-color: var(--glass-line-hi); }
.plans-grid .rung.big .buy button { background: linear-gradient(135deg, #7C5CFF, #B04BE2); color: #fff; border: 0; }
.plan-free .price { color: var(--ice) !important; }

/* privacy */
.safe { display: grid; grid-template-columns: minmax(0, 260px) minmax(0, 1fr); gap: clamp(24px, 5vw, 64px); align-items: center; }
.safe .section-lead { color: var(--mist); margin-top: 10px; max-width: 60ch; }
.safe-art svg { width: 100%; max-width: 260px; display: block; margin: 0 auto; overflow: visible; }
.sf-o1, .sf-o2 { fill: none; stroke: rgba(168, 228, 255, .3); stroke-width: 1; }
.sf-o2 { stroke: rgba(124, 92, 255, .45); stroke-dasharray: 3 7; transform-origin: 100px 100px; animation: turn 30s linear infinite reverse; }
.sf-shield { fill: rgba(124, 92, 255, .18); stroke: var(--ice); stroke-width: 1.6; filter: drop-shadow(0 0 18px rgba(124, 92, 255, .6)); }
.sf-lock { fill: none; stroke: #fff; stroke-width: 2.4; stroke-linecap: round; }
.sf-dot { fill: var(--ice); transform-origin: 100px 100px; animation: turn 9s linear infinite; filter: drop-shadow(0 0 6px var(--ice)); }
.safe-grid { list-style: none; padding: 0; margin: 22px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.safe-grid li { position: relative; padding: 16px 18px; border-radius: var(--r-m); background: var(--glass); border: 1px solid var(--glass-line); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); }
.safe-grid b { display: block; font: 400 19px var(--display); color: var(--moon); }
.safe-grid span { display: block; color: var(--mist); font-size: 15px; margin-top: 2px; }

/* live chat window */
.chat { position: fixed; inset: 0; z-index: 55; display: flex; justify-content: flex-end; background: rgba(3, 4, 14, .6); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.chat[hidden] { display: none; }
.chat-panel { position: relative; width: min(500px, 100%); height: 100%; display: flex; flex-direction: column; background: rgba(12, 13, 36, .92); border-left: 1px solid var(--glass-line); animation: slide .28s ease-out; }
#chatBody { display: flex; flex-direction: column; height: 100%; padding: 22px clamp(16px, 4vw, 26px) 18px; gap: 10px; min-height: 0; }
.ch-head { display: flex; align-items: center; gap: 12px; padding-right: 44px; flex-wrap: wrap; }
.ch-head b { font: 400 21px var(--display); color: var(--moon); display: block; }
.ch-sub { display: flex; align-items: center; gap: 5px; font-size: 13px; color: var(--mist); }
.ch-sub svg, .ch-lock svg { width: 14px; height: 14px; fill: none; stroke: var(--ice); stroke-width: 2; flex: none; }
.meter { margin-left: auto; font: 600 13.5px var(--text); padding: 4px 10px; border-radius: 999px; font-variant-numeric: tabular-nums; }
.meter.free { background: rgba(70, 200, 255, .14); color: var(--ice); border: 1px solid rgba(70, 200, 255, .35); }
.meter.paid { background: rgba(211, 91, 224, .16); color: #F2C4FF; border: 1px solid rgba(211, 91, 224, .4); }
.ch-note { font-size: 13.5px; color: var(--mist-2); margin: 0; }
.ch-log { flex: 1; min-height: 0; overflow-y: auto; display: flex; flex-direction: column; gap: 8px; padding: 6px 2px; }
.ch-msg { max-width: 86%; padding: 10px 14px; border-radius: 16px; font-size: 16px; line-height: 1.5; animation: rise .3s ease-out; }
.ch-msg.them { align-self: flex-start; background: var(--glass-hi); border: 1px solid var(--glass-line); border-bottom-left-radius: 4px; }
.ch-msg.me { align-self: flex-end; background: linear-gradient(135deg, rgba(124, 92, 255, .55), rgba(176, 75, 226, .45)); border-bottom-right-radius: 4px; }
.ch-msg.typing { color: var(--mist); font-style: italic; }
.ch-form { display: flex; gap: 8px; }
.ch-form input { flex: 1; min-width: 0; font: 500 16px var(--text); color: var(--moon); background: var(--field); border: 1px solid var(--glass-line); border-radius: var(--r-s); padding: 10px 12px; min-height: 48px; }
.ch-form input:focus { outline: none; border-color: var(--ice); box-shadow: 0 0 0 3px rgba(70, 200, 255, .18); }
.ch-form .btn-main { padding: 8px 18px; min-height: 48px; }
.ch-lock { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--mist-2); margin: 0; }
.ch-end { align-self: flex-start; min-height: 40px; padding: 6px 14px; font-size: 14px; }
.ch-sum h2 { font-size: 30px; margin-bottom: 14px; }
.ch-sum dl { display: grid; grid-template-columns: max-content 1fr; gap: 6px 18px; margin: 0 0 12px; font-size: 16px; }
.ch-sum dt { color: var(--mist); } .ch-sum dd { margin: 0; color: var(--moon); font-weight: 600; font-variant-numeric: tabular-nums; }
.ch-sum .btn-main { width: 100%; margin-top: 10px; }

/* review popup (verified reviews only in production; marked Sample in the demo) */
.proof { position: fixed; left: 16px; bottom: 16px; z-index: 45; width: min(340px, calc(100vw - 32px)); padding: 12px 36px 12px 14px; border-radius: var(--r-m);
  background: rgba(14, 15, 40, .9); border: 1px solid var(--glass-line); box-shadow: 0 20px 50px -20px rgba(0, 0, 0, .8), 0 0 0 1px rgba(124, 92, 255, .2);
  opacity: 0; transform: translateY(14px); transition: opacity .4s ease-out, transform .4s cubic-bezier(.2,.8,.2,1); }
.proof.on { opacity: 1; transform: none; }
.proof[hidden] { display: none; }
.pf-tag { display: inline-block; font: 600 11px var(--text); letter-spacing: .05em; text-transform: uppercase; color: var(--mist-2); border: 1px dashed var(--glass-line); border-radius: 999px; padding: 0 8px; }
.pf-q { margin: 6px 0 4px; font-size: 15px; color: var(--moon); line-height: 1.45; }
.pf-who { margin: 0; font-size: 13px; color: var(--mist); }
.pf-stars { color: var(--ice); letter-spacing: 1px; margin-right: 4px; }
.pf-x { position: absolute; top: 4px; right: 4px; width: 32px; height: 32px; background: none; border: 0; color: var(--mist); font-size: 22px; line-height: 1; cursor: pointer; border-radius: 50%; }
.pf-x:hover { color: var(--moon); }
.chat-open .proof { display: none; }

/* fade-through: each card rises out of the galaxy as it scrolls into view (runs on the compositor, no JS) */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .prob-grid > li, .pan-grid > li, .plans-grid > .plan, .plans-grid .rung, .sc-list li, .trust li, .steps li, .safe-grid li, .faq details,
    .problems > h2, .pandits > h2, .reports > h2, .how > h2, .safe h2, .faq > h2, .showcase .sc-copy > h2 {
      animation: through linear both; animation-timeline: view(); animation-range: entry 0% entry 90%;
    }
  }
  /* the scroll timeline does the reveal, so the older per-section fade steps aside */
  .fx .trust:not(.in), .fx .showcase:not(.in) .sc-copy, .fx .reports:not(.in), .fx .how:not(.in), .fx .faq:not(.in), .fx .problems:not(.in), .fx .pandits:not(.in), .fx .safe:not(.in) { opacity: 1; transform: none; }
}
@keyframes through { from { opacity: 0; transform: translateY(36px) scale(.96); } to { opacity: 1; transform: none; } }
.fx .problems:not(.in), .fx .pandits:not(.in), .fx .safe:not(.in) { opacity: 0; transform: translateY(14px); }
.fx .problems, .fx .pandits, .fx .safe { transition: opacity .5s ease-out, transform .5s cubic-bezier(.2,.8,.2,1); }

@media (max-width: 900px) {
  .prob-grid { grid-template-columns: 1fr 1fr; }
  .safe { grid-template-columns: 1fr; }
  .safe-art svg { max-width: 160px; }
}
/* phones: glass becomes solid (no backdrop blur over a moving sky — saves battery and keeps 30 fps) */
@media (max-width: 640px) {
  :root { --glass: rgba(16, 18, 48, .82); --glass-hi: rgba(28, 30, 72, .88); }
  .card, .bubble, .choice-btn, .rung, .steps li, .sc-list li, .trust li, .faq details, .prob, .pcard, .plan, .safe-grid li, .top, .sheet-panel { -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }
  .prob-grid { grid-template-columns: 1fr; }
  .prob { grid-template-columns: 34px 1fr; column-gap: 12px; padding: 14px; }
  .prob svg { grid-row: span 2; margin: 2px 0 0; width: 28px; height: 28px; }
  .prob em { grid-column: 2; margin-top: 6px; }
  .safe-grid { grid-template-columns: 1fr; }
  .chat-panel { width: 100%; border-left: 0; }
  .proof { left: 10px; right: 10px; bottom: 10px; width: auto; }
  .hero-pills { justify-content: center; }
  .reader-chip { justify-content: center; flex-wrap: wrap; }
  .reader-chip a { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .av-ring, .sf-o2, .sf-dot { animation: none; }
  .proof { transition: none; }
}

/* live sky panel under the portrait (galaxy.js fills it) */
.has-galaxy .rashi-ring { display: none; }
.sky-now { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px 10px; margin: 12px auto 0; max-width: 420px; font-size: 13.5px; color: var(--mist);
  padding: 8px 12px; border-radius: 14px; background: rgba(10, 12, 34, .62); border: 1px solid var(--glass-line); position: relative; z-index: 3; }
.sky-now:empty { display: none; }
.sky-now b { color: var(--moon); font-weight: 600; }
.sk-dot { width: 8px; height: 8px; border-radius: 50%; background: #5CFFB0; box-shadow: 0 0 0 0 rgba(92, 255, 176, .6); animation: livePulse 2s ease-out infinite; flex: none; }
@keyframes livePulse { 0% { box-shadow: 0 0 0 0 rgba(92, 255, 176, .55); } 100% { box-shadow: 0 0 0 9px rgba(92, 255, 176, 0); } }
.sk-btn { background: rgba(124, 92, 255, .22); border: 1px solid rgba(168, 190, 255, .35); color: var(--ice); font: 600 13px var(--text); border-radius: 999px; padding: 4px 12px; cursor: pointer; min-height: 30px; }
.sk-btn:hover { background: rgba(124, 92, 255, .38); }
.has-galaxy .ai-tag { margin-top: 26px; }
@media (max-width: 900px) { .sky-now { display: none; } }
@media (prefers-reduced-motion: reduce) { .sk-dot { animation: none; } }

/* today's horoscope + Premium daily prediction */
.daily { max-width: 1240px; margin: 0 auto; padding: clamp(56px, 8vw, 100px) clamp(16px, 4vw, 48px) 0; display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: clamp(20px, 3vw, 36px); align-items: start; }
.daily .section-lead { color: var(--mist); margin-top: 10px; max-width: 60ch; }
.daily-today { margin: 14px 0 0; font-size: 14.5px; color: var(--ice); }
.rashi-pick { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; margin-top: 16px; }
.rashi-pick button { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 10px 4px 8px; border-radius: var(--r-m); cursor: pointer; font: 500 14px var(--text); color: var(--mist);
  background: var(--glass); border: 1px solid var(--glass-line); transition: border-color .2s, color .2s, transform .2s; min-height: 64px; }
.rashi-pick button span { font-size: 22px; line-height: 1.1; color: var(--ice); }
.rashi-pick button:hover { transform: translateY(-2px); color: var(--moon); }
.rashi-pick button[aria-checked="true"] { color: var(--moon); border-color: var(--glass-line-hi); background: linear-gradient(150deg, rgba(124, 92, 255, .35), rgba(16, 18, 48, .55)); box-shadow: var(--glow); }
.daily-card { margin-top: 14px; padding: 20px 22px; border-radius: var(--r-l); background: var(--glass); border: 1px solid var(--glass-line); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); }
.daily-card.flip { animation: through .45s cubic-bezier(.2,.8,.2,1); }
.dc-head { display: flex; gap: 14px; align-items: center; }
.dc-glyph { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; font-size: 28px; color: #fff; flex: none;
  background: radial-gradient(circle at 32% 26%, #9B6BFF, #3B2BB8 70%, #0A0B24); box-shadow: 0 0 24px -4px rgba(124, 92, 255, .8); }
.dc-head h3 { font-size: 26px; color: var(--moon); }
.dc-tag { display: inline-block; font: 600 12.5px var(--text); border-radius: 999px; padding: 1px 10px; margin-top: 2px; }
.dc-tag.good { background: rgba(92, 255, 176, .14); color: #9BFFD0; border: 1px solid rgba(92, 255, 176, .35); }
.dc-tag.gentle { background: rgba(255, 196, 107, .12); color: #FFD9A0; border: 1px solid rgba(255, 196, 107, .35); }
.dc-mood { font: 400 21px/1.35 var(--display); color: var(--moon); margin: 14px 0 10px; }
.daily-card dl { display: grid; grid-template-columns: max-content 1fr; gap: 6px 16px; margin: 0; font-size: 15.5px; }
.daily-card dt { color: var(--mist-2); } .daily-card dd { margin: 0; color: var(--moon); }
.dc-sade { margin: 12px 0 0; font-size: 14.5px; color: #F2C4FF; padding: 8px 12px; border-radius: var(--r-s); background: rgba(211, 91, 224, .12); border: 1px solid rgba(211, 91, 224, .3); }
.dc-why { margin: 12px 0 0; font-size: 13.5px; color: var(--mist-2); }
.daily .small { margin-top: 10px; }
.prem-card { position: sticky; top: 96px; padding: 24px 22px; border-radius: var(--r-l); border: 1px solid var(--glass-line-hi);
  background: linear-gradient(160deg, rgba(124, 92, 255, .34), rgba(211, 91, 224, .14) 55%, rgba(16, 18, 48, .6)); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); box-shadow: var(--glow); }
.prem-card h3 { font-size: 24px; color: var(--moon); }
.prem-card > p { color: var(--mist); font-size: 15.5px; margin: 8px 0 14px; }
.prem-sample { margin: 0 0 16px; padding: 14px 16px; border-radius: var(--r-m); background: rgba(5, 6, 15, .55); border: 1px solid var(--glass-line); }
.prem-sample figcaption { font: 600 11.5px var(--text); letter-spacing: .04em; text-transform: uppercase; color: var(--mist-2); }
.prem-sample blockquote { margin: 6px 0 0; font-size: 15.5px; color: var(--moon); line-height: 1.5; }
.prem-card .btn-main { width: 100%; }
@media (max-width: 900px) { .daily { grid-template-columns: 1fr; } .prem-card { position: static; } }
@media (max-width: 640px) {
  .rashi-pick { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .daily-card, .prem-card { -webkit-backdrop-filter: none; backdrop-filter: none; }
}
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .daily > .daily-main > h2, .daily-card, .prem-card { animation: through linear both; animation-timeline: view(); animation-range: entry 0% entry 90%; }
  }
}
.plans-grid .rung { align-items: stretch; }
.pc-acts .btn-line { line-height: 1.2; }

/* the pandit in the hero (stage.js): one steady portrait, or a real motion clip once it is made */
.breathe { animation: none; }
.pandit-vid { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .6s ease; }
.pandit-vid.ready { opacity: 1; }
.mono { position: absolute; inset: 0; display: grid; place-items: center; font: 400 clamp(64px, 12vw, 140px)/1 var(--display); color: #fff;
  background: radial-gradient(circle at 35% 30%, var(--a), transparent 62%), radial-gradient(circle at 70% 75%, var(--b), transparent 60%), #0B0C26; text-shadow: 0 4px 30px rgba(0, 0, 0, .45); }

/* problem search */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ps { margin-top: 24px; display: grid; gap: 14px; }
.ps-box { position: relative; display: flex; align-items: center; gap: 12px; padding: 0 16px 0 18px; min-height: 60px; border-radius: 999px;
  background: rgba(10, 12, 34, .72); border: 1px solid var(--glass-line-hi); box-shadow: 0 0 0 4px rgba(124, 92, 255, .12), 0 20px 50px -24px rgba(124, 92, 255, .8); }
.ps-box:focus-within { box-shadow: 0 0 0 4px rgba(70, 200, 255, .3), 0 20px 50px -20px rgba(70, 200, 255, .7); }
.ps-box svg { width: 22px; height: 22px; flex: none; fill: none; stroke: var(--ice); stroke-width: 2; stroke-linecap: round; }
.ps-box input { flex: 1; min-width: 0; background: none; border: 0; outline: 0; color: var(--moon); font: 400 18px var(--text); padding: 14px 0; }
.ps-box input::placeholder { color: rgba(184, 194, 232, .7); }
.ps-box input::-webkit-search-cancel-button { display: none; }
.ps-clear { flex: none; width: 34px; height: 34px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .1); color: var(--moon); font-size: 20px; cursor: pointer; }
.ps-pop { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0; font-size: 14px; color: var(--mist); }
.ps-pop button { font: 500 14px var(--text); color: var(--ice); background: rgba(70, 200, 255, .08); border: 1px solid rgba(70, 200, 255, .28); border-radius: 999px; padding: 6px 12px; cursor: pointer; }
.ps-pop button:hover { background: rgba(70, 200, 255, .18); }
.ps-cats { display: flex; gap: 8px; overflow-x: auto; padding: 2px 2px 8px; scrollbar-width: thin; scroll-snap-type: x proximity; }
.ps-cats button { flex: none; scroll-snap-align: start; display: inline-flex; align-items: center; gap: 7px; font: 500 14.5px var(--text); color: var(--moon); background: var(--glass);
  border: 1px solid var(--glass-line); border-radius: 999px; padding: 8px 14px; cursor: pointer; white-space: nowrap; }
.ps-cats button svg { width: 17px; height: 17px; fill: none; stroke: var(--ice); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ps-cats button i { font-style: normal; font-size: 12px; color: var(--mist); }
.ps-cats button[aria-pressed="true"] { background: linear-gradient(135deg, rgba(124, 92, 255, .55), rgba(70, 200, 255, .3)); border-color: var(--glass-line-hi); }
.ps-cats button[aria-pressed="true"] i { color: var(--moon); }
.ps-count { margin: 18px 0 0; font-size: 14px; color: var(--mist); }
.problems .prob-grid { margin-top: 10px; }
.prob .pr-cat, .pd .pr-cat { display: inline-flex; align-items: center; gap: 6px; font: 600 12px var(--text); letter-spacing: .04em; text-transform: uppercase; color: var(--ice); margin: 0 0 4px; }
.prob .pr-cat svg, .pd .pr-cat svg { width: 16px; height: 16px; margin: 0; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.prob .pr-line { color: var(--mist); font-size: 15px; }
.prob em span { color: var(--ice); font-size: 13.5px; }
.prob em .pr-go { margin-left: auto; transition: transform .2s; }
.prob:hover .pr-go { transform: translateX(4px); }
.ps-more { display: block; margin: 18px auto 0; }
.ps-none { grid-column: 1 / -1; text-align: center; padding: 28px; border-radius: var(--r-l); border: 1px dashed var(--glass-line); color: var(--mist); display: grid; justify-items: center; gap: 14px; }

/* problem detail */
.pd { position: fixed; inset: 0; z-index: 60; display: flex; justify-content: flex-end; background: rgba(3, 4, 12, .6); }
.pd[hidden] { display: none; }
.pd-panel { position: relative; width: min(560px, 100%); height: 100%; overflow-y: auto; padding: 28px 26px 40px; background: rgba(12, 13, 36, .96); border-left: 1px solid var(--glass-line);
  animation: pdIn .28s cubic-bezier(.2, .8, .2, 1); }
@keyframes pdIn { from { transform: translateX(40px); } }
.pd h2 { font: 400 30px/1.2 var(--display); color: var(--moon); margin: 4px 40px 6px 0; }
.pd h3 { font: 600 13px var(--text); letter-spacing: .06em; text-transform: uppercase; color: var(--mist); margin: 26px 0 10px; }
.pd-line { color: var(--mist); font-size: 17px; margin: 0; }
.pd-doc { margin: 14px 0 0; padding: 10px 14px; border-radius: 12px; font-size: 14.5px; color: #FFE3B0; background: rgba(242, 184, 75, .1); border: 1px solid rgba(242, 184, 75, .35); }
.pd-look { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.pd-look li { position: relative; padding: 10px 14px 10px 36px; border-radius: 12px; background: var(--glass); border: 1px solid var(--glass-line); color: var(--moon); font-size: 15.5px; }
.pd-look li::before { content: ''; position: absolute; left: 14px; top: 50%; width: 9px; height: 9px; margin-top: -4.5px; border-radius: 50%; background: radial-gradient(circle, #FFE9A8, #E4BC4C); box-shadow: 0 0 10px rgba(244, 210, 122, .8); }
.pd-ask { width: 100%; margin-top: 22px; display: grid; gap: 2px; padding: 12px 18px; }
.pd-ask small { font: 500 13px var(--text); opacity: .85; }
.pd-pandits { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.pd-pandits li { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; padding: 12px; border-radius: 16px; background: var(--glass); border: 1px solid var(--glass-line); }
.pd-pandits b { display: block; color: var(--moon); font-size: 16px; }
.pd-pandits span { display: block; color: var(--ice); font-size: 14px; }
.pd-pandits .pd-m { color: var(--mist); font-size: 12.5px; margin-top: 2px; }
.pd-pandits .ai-badge { display: inline-block; font-size: 11px; color: #0A0B24; }
.pd-pandits .btn-line { min-height: 40px; padding: 6px 14px; font-size: 14.5px; }
.pd-pandits .av-ring { display: none; }
.pd-rep { margin-top: 22px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 16px; border-radius: 16px;
  background: linear-gradient(135deg, rgba(244, 210, 122, .12), rgba(124, 92, 255, .12)); border: 1px solid rgba(244, 210, 122, .35); }
.pd-rep span { display: block; font: 600 12px var(--text); letter-spacing: .06em; text-transform: uppercase; color: #F4D27A; }
.pd-rep b { display: block; color: var(--moon); font-size: 18px; }
.pd-rep small { color: var(--mist); font-size: 13.5px; }

/* pandit filters */
.pf { margin-top: 24px; display: grid; grid-template-columns: minmax(220px, 1.4fr) repeat(3, minmax(130px, 1fr)) auto; gap: 10px; align-items: end; }
.pf .ps-box { min-height: 48px; box-shadow: none; border-color: var(--glass-line); }
.pf .ps-box input { font-size: 16px; padding: 10px 0; }
.pf-sel { display: grid; gap: 4px; font-size: 12.5px; color: var(--mist); }
.pf-sel select { min-height: 48px; border-radius: 12px; padding: 0 12px; background: rgba(10, 12, 34, .72); color: var(--moon); border: 1px solid var(--glass-line); font: 400 15.5px var(--text); }
.pf-g { display: flex; border: 1px solid var(--glass-line); border-radius: 999px; padding: 3px; background: rgba(10, 12, 34, .72); }
.pf-g button { border: 0; background: none; color: var(--mist); font: 500 14.5px var(--text); padding: 9px 14px; border-radius: 999px; cursor: pointer; min-height: 40px; }
.pf-g button[aria-pressed="true"] { background: var(--violet); color: #fff; }
.pc-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; }
.pc-tags span { font-size: 12.5px; color: var(--mist); padding: 3px 9px; border-radius: 999px; border: 1px solid var(--glass-line); }
.pc-tags .tg-m { color: #F4D27A; border-color: rgba(244, 210, 122, .4); }
.pc-top .av { box-shadow: 0 0 0 2px rgba(168, 228, 255, .4), 0 0 28px -6px var(--a); }

/* chat: looking / typing, the AI line, the paused meter */
.ch-msg.typing { display: inline-flex; align-items: center; gap: 10px; font-style: normal; font-size: 14.5px; }
.dots { display: inline-flex; gap: 4px; }
.dots b { width: 6px; height: 6px; border-radius: 50%; background: var(--ice); opacity: .35; animation: dot 1.2s infinite ease-in-out; }
.dots b:nth-child(2) { animation-delay: .15s; } .dots b:nth-child(3) { animation-delay: .3s; }
.ch-msg.typing:not(.is-typing) .dots b { animation-duration: 2.2s; }
@keyframes dot { 0%, 80%, 100% { opacity: .3; transform: none; } 40% { opacity: 1; transform: translateY(-3px); } }
.ch-ai { margin: 6px 0 0; font-size: 12.5px; color: var(--mist); }
.meter.held { opacity: .75; }

@media (max-width: 900px) {
  .pf { grid-template-columns: 1fr 1fr; }
  .pf .pf-q, .pf .pf-g { grid-column: 1 / -1; }
  .pf-g button { flex: 1; }
}
@media (max-width: 560px) {
  .ps-box { min-height: 54px; } .ps-box input { font-size: 16px; }
  .pd-panel { padding: 22px 16px 32px; }
  .pd-pandits li { grid-template-columns: auto 1fr; } .pd-pandits .btn-line { grid-column: 1 / -1; }
}
@media (prefers-reduced-motion: reduce) { .dots b { animation: none; opacity: .8; } .pd-panel { animation: none; } }
/* pandit cards, astrologer-listing layout (photo left, facts right, Call + Chat) in galaxy colours */
.pandits .pan-grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 460px), 1fr)); }
.pc2 { position: relative; display: grid; grid-template-columns: auto 1fr; gap: 18px; padding: 18px 18px 16px; border-radius: 20px;
  background: linear-gradient(160deg, rgba(28, 30, 72, .62), rgba(12, 13, 36, .55)); border: 1px solid var(--glass-line);
  transition: border-color .2s, box-shadow .2s, transform .2s; }
.pc2:hover { border-color: var(--glass-line-hi); box-shadow: var(--glow); transform: translateY(-2px); }
.pc2.is-reader { border-color: rgba(244, 210, 122, .55); box-shadow: 0 0 0 1px rgba(244, 210, 122, .25), 0 18px 50px -24px rgba(244, 210, 122, .5); }
.pc2-face { position: relative; width: 104px; height: 104px; display: grid; place-items: center; border-radius: 50%;
  background: conic-gradient(from 200deg, #F4D27A, #7C5CFF, #46C8FF, #F4D27A); padding: 3px; }
.pc2-face .av { width: 98px !important; height: 98px !important; box-shadow: 0 0 0 3px #0C0D24; }
.pc2-face .av-ring { display: none; }
.pc2-on { position: absolute; top: 6px; right: 6px; width: 16px; height: 16px; border-radius: 50%; background: #2BD46B; border: 3px solid #0C0D24; box-shadow: 0 0 10px rgba(43, 212, 107, .8); }
.pc2-seal { position: absolute; left: -4px; bottom: 2px; font: 700 12px var(--text); letter-spacing: .08em; color: #0A0B24; padding: 3px 10px; border-radius: 999px;
  background: linear-gradient(135deg, #A8E4FF, #F4D27A); box-shadow: 0 4px 12px rgba(0, 0, 0, .45); transform: rotate(-8deg); }
.pc2-body { min-width: 0; display: grid; gap: 8px; align-content: start; }
.pc2 h3 { font: 600 20px/1.2 var(--text); color: var(--moon); margin: 0; }
.pc2-area { margin: -4px 0 0; font-size: 14px; color: var(--ice); }
.pc2-facts { margin: 2px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 6px 14px; }
.pc2-facts div { display: flex; align-items: center; gap: 7px; min-width: 0; }
.pc2-facts svg { width: 17px; height: 17px; flex: none; fill: none; stroke: var(--mist); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.pc2-facts dd { margin: 0; font-size: 14.5px; color: var(--moon); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pc2-facts dd small { color: var(--mist); font-size: 12.5px; }
.pc2-rs { width: 17px; text-align: center; color: var(--mist); font-weight: 600; flex: none; }
.pc2-live { color: #7EE8A6 !important; }
.pc2-acts { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 4px; }
.pc2-btn { display: inline-flex; align-items: center; gap: 7px; min-height: 42px; padding: 0 18px; border: 0; border-radius: 999px; font: 700 15.5px var(--text); color: #fff; cursor: pointer;
  transition: filter .15s, transform .15s; }
.pc2-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.pc2-btn.b-call { background: linear-gradient(180deg, #2BD46B, #17A54E); box-shadow: 0 8px 20px -10px rgba(43, 212, 107, .9); }
.pc2-btn.b-chat { background: linear-gradient(180deg, #3D8BFF, #2563EB); box-shadow: 0 8px 20px -10px rgba(61, 139, 255, .9); }
.pc2-btn:hover { filter: brightness(1.1); transform: translateY(-1px); }
.pc2-read { margin-left: auto; background: none; border: 0; color: var(--mist); font: 500 13.5px var(--text); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; padding: 6px 2px; }
.pc2-read[aria-pressed="true"] { color: #F4D27A; text-decoration: none; }
.ch-msg.note { font-size: 14px; color: #FFE3B0; background: rgba(242, 184, 75, .1); border-color: rgba(242, 184, 75, .35); }
@media (max-width: 520px) {
  .pc2 { grid-template-columns: 1fr; justify-items: center; text-align: center; gap: 12px; }
  .pc2-body { justify-items: center; width: 100%; }
  .pc2-facts { text-align: left; width: 100%; }
  .pc2-acts { justify-content: center; } .pc2-read { margin: 0 auto; width: 100%; }
  .pc2-btn { flex: 1; justify-content: center; }
}

/* hero: gold zodiac mandala around a round pandit photo (mandala.js), sparkles and a crescent moon */
.scene.has-mandala { padding: 0; width: min(100%, 620px); }
/* the ring (164% of the photo) must fit inside its own column, never under the birth-details window: photo = 61% of
   the column, ring = 100%. The pandit's column is a little wider so his photo stays big. */
@media (min-width: 901px) { .stage.has-mandala { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); } }
.scene.has-mandala .orbit, .scene.has-mandala .rashi-ring { display: none; }
.mg-host { position: relative; width: 61%; margin: 20% auto 18%; }
.mg-host .portal { border-radius: 50%; border: 0; box-shadow: 0 0 0 3px rgba(255, 214, 120, .35), 0 0 60px rgba(255, 200, 90, .35), 0 20px 50px rgba(2, 3, 12, .6); }
/* the photo is r 150 of the SVG's r 246, so the mandala is 246/150 = 164% of the photo's size */
.mandala { position: absolute; left: -32%; top: -32%; width: 164%; height: 164%; pointer-events: none; }
.mg-ring { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; transform: rotate(var(--zodiac, 0deg)); will-change: transform;
  filter: drop-shadow(0 0 6px rgba(255, 205, 100, .55)) drop-shadow(0 0 22px rgba(255, 180, 60, .25)); }
html:not(.has-galaxy) .mg-ring { animation: turn 120s linear infinite; }
.mg-glow { position: absolute; inset: 8%; border-radius: 50%; background: radial-gradient(circle, rgba(255, 214, 110, .28) 0%, rgba(255, 190, 70, .12) 38%, rgba(124, 92, 255, .08) 60%, transparent 72%);
  animation: mgBreathe 7s ease-in-out infinite; }
.mg-glow.b { inset: 22%; background: radial-gradient(circle, rgba(255, 226, 150, .3), transparent 65%); animation-duration: 9s; animation-delay: -3s; }
@keyframes mgBreathe { 0%, 100% { transform: scale(.94); opacity: .7; } 50% { transform: scale(1.06); opacity: 1; } }
/* .scene keeps its own position (sticky on desktop, top: 96px); forcing relative here would shift it down 96px */
.stage > .scene { z-index: 1; }
.stage > .right { position: relative; z-index: 1; }
/* keep the hero words readable over the bright nebula: a soft dark glow behind the text block, never a text-shadow
   (the headline is painted through its letters, so a shadow shows through and turns it grey) */
.right::before { content: ''; position: absolute; inset: -60px -40px -40px -70px; z-index: -1; pointer-events: none;
  background: radial-gradient(ellipse 60% 55% at 42% 38%, rgba(5, 6, 15, .62), rgba(5, 6, 15, .3) 55%, transparent 78%); }
.sky-deco { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.sparkle { position: absolute; width: calc(16px * var(--k, 1)); height: calc(16px * var(--k, 1)); fill: #FFF3CC; filter: drop-shadow(0 0 6px rgba(255, 220, 140, .95));
  animation: sparkle 4.2s ease-in-out infinite; }
@keyframes sparkle { 0%, 100% { transform: scale(.25) rotate(0deg); opacity: .15; } 50% { transform: scale(1) rotate(45deg); opacity: 1; } }
.crescent { position: absolute; right: 2%; top: -8px; width: 70px; height: 70px; border-radius: 50%; box-shadow: inset -16px 9px 0 0 #F7E9C6;
  filter: drop-shadow(0 0 16px rgba(255, 228, 160, .65)); animation: crescentBob 10s ease-in-out infinite; }
@keyframes crescentBob { 0%, 100% { transform: translateY(0) rotate(-8deg); } 50% { transform: translateY(8px) rotate(-4deg); } }
@media (max-width: 900px) {
  .scene.has-mandala { width: min(82vw, 330px); margin: 0 auto; }
  .mg-host { width: 66%; margin: 22% auto 20%; }
  .crescent { width: 46px; height: 46px; top: 0; }
}
@media (prefers-reduced-motion: reduce) { .mg-glow, .sparkle, .crescent { animation: none; } .sparkle { opacity: .7; transform: none; } }

/* round avatars crop the portrait to the face (portraits are head + body + desk) */
.av-clip { position: absolute; inset: 0; border-radius: 50%; overflow: hidden; }
.av-clip img { width: 100%; height: 100%; object-fit: cover; border-radius: 0; transform: scale(1.75); transform-origin: 50% 21%; }
.pc2-face .av-clip img { transform: scale(1.5); transform-origin: 50% 24%; }

/* the new problem cards stack in one column at every width (the old icon-left phone layout does not apply) */
.problems .prob { grid-template-columns: 1fr; }
.problems .prob em { grid-column: auto; }
.sk-dot.transit { background: #A8E4FF; animation: livePulseB 2s ease-out infinite; }
@keyframes livePulseB { 0% { box-shadow: 0 0 0 0 rgba(168, 228, 255, .6); } 100% { box-shadow: 0 0 0 9px rgba(168, 228, 255, 0); } }
