/* =====================================================================
   SATSANG LANDING PAGE ONLY · load after style.css and pages.css
   1. Reading line  2. Hero with a slowly moving blurred background
   3. The listening game (phone)  4. Price  5. Quotes + note
   ===================================================================== */

/* ---------- 1. a thin line at the top that fills as you read ---------- */
.read-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 60; background: var(--sindoor); transform-origin: left; transform: scaleX(0); }
@supports (animation-timeline: scroll()) {
  .read-progress { animation: readbar linear both; animation-timeline: scroll(root); }
  @keyframes readbar { to { transform: scaleX(1); } }
}
@media (prefers-reduced-motion: reduce) { .read-progress { display: none; } }
.btn-big { min-height: 58px; padding: .8rem 1.9rem; font-size: 1.12rem; }

/* ---------- 2. HERO ---------- */
.sat-hero { position: relative; overflow: hidden; isolation: isolate; padding: clamp(2.5rem, 7vw, 6rem) 0 clamp(3.5rem, 8vw, 6.5rem); }
.sat-bg { position: absolute; inset: -8%; z-index: -2; background: url("../img/s-bg.webp") center/cover; filter: saturate(.9); animation: breathe-bg 26s ease-in-out infinite alternate; }
.sat-hero::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(255, 248, 236, .94) 0%, rgba(255, 248, 236, .82) 48%, rgba(255, 248, 236, .35) 100%); }
@keyframes breathe-bg { from { transform: scale(1) translate(0, 0); } to { transform: scale(1.12) translate(-2%, 1.5%); } }
@media (max-width: 899px) { .sat-hero::before { background: rgba(255, 248, 236, .86); } }
@media (prefers-reduced-motion: reduce) { .sat-bg { animation: none; } }
.sat-hero h1 { font-size: clamp(2.3rem, 5.4vw, 4.4rem); }
.sat-hero .lead { color: var(--ink); max-width: 40ch; }
.hero-small { margin-top: 1.2rem; font-size: .95rem; color: var(--muted); }

/* ---------- 3. THE LISTENING GAME ---------- */
.game { padding: clamp(4rem, 8vw, 6.5rem) 0; }
.game-grid { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 900px) { .game-grid { grid-template-columns: 1fr 1fr; gap: 4rem; } }
.round-count { font-weight: 600; color: var(--sun); margin: 0 0 .3rem; }
.game-ask { opacity: .9; }
.reply-opts { display: grid; gap: .55rem; margin: 1rem 0 1rem; }
.reply-opt { text-align: left; border: 1.5px solid rgba(255, 248, 236, .3); background: transparent; color: var(--paper); border-radius: 999px; padding: .7rem 1.1rem; font: 500 1.02rem/1.4 var(--body); transition: background .2s, border-color .2s; }
.reply-opt:hover { border-color: var(--sun); }
.reply-opt[aria-pressed="true"] { background: var(--sun); color: var(--ink); border-color: var(--sun); }
.reply-opt.was-listen { border-color: var(--mint); }
.reply-opts.done .reply-opt:not([aria-pressed="true"]):not(.was-listen) { opacity: .4; }
.type-line { min-height: 1.6em; font: 600 1.15rem/1.45 var(--display); }
.type-line .good { color: var(--mint); }
.type-line .bad { color: var(--sun); }
.phone { width: min(340px, 100%); margin-inline: auto; background: #FBF7F0; color: var(--ink); border-radius: 36px; padding: 12px; box-shadow: 0 30px 70px rgba(0, 0, 0, .35), inset 0 0 0 8px #10202C; }
.phone-top { display: flex; align-items: center; gap: .6rem; padding: 1rem 1rem .8rem; border-bottom: 1px solid var(--line); }
.phone-top .avatar { width: 32px; height: 32px; border-radius: 50%; background: linear-gradient(135deg, var(--blush), var(--coral)); }
.phone-top b { font: 600 .95rem/1.2 var(--display); }
.chat-area { min-height: 260px; padding: 1rem .7rem 1.2rem; display: flex; flex-direction: column; gap: .55rem; }
.bubble { max-width: 85%; margin: 0; padding: .6rem .9rem; border-radius: 18px; font-size: .98rem; line-height: 1.45; animation: pop .4s var(--ease) both; }
.bubble.them { align-self: flex-start; background: var(--white); border: 1px solid var(--line); border-bottom-left-radius: 6px; }
.bubble.you { align-self: flex-end; background: var(--ink); color: var(--paper); border-bottom-right-radius: 6px; }
.bubble.you.good { background: var(--leaf); }
.bubble.typing { display: inline-flex; gap: 4px; }
.bubble.typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--muted); animation: dot 1s infinite; }
.bubble.typing i:nth-child(2) { animation-delay: .15s; } .bubble.typing i:nth-child(3) { animation-delay: .3s; }
@keyframes dot { 50% { opacity: .2; transform: translateY(-3px); } }
@keyframes pop { from { opacity: 0; transform: translateY(10px); } }
@media (prefers-reduced-motion: reduce) { .bubble { animation: none; } }

/* ---------- 4. PRICE ---------- */
.price { background: var(--white); border-radius: var(--r-md); padding: 1.5rem 1.6rem; margin-bottom: 1rem; display: grid; gap: .5rem; justify-items: start; }
.price.main { border: 2px solid var(--sindoor); }
.price-name { font: 600 1.25rem/1.3 var(--display); margin: 0; }
.price .amount { font: 700 clamp(2.4rem, 5vw, 3.2rem)/1 var(--display); margin: 0 0 .4rem; }
.price .amount small { font: 500 1rem/1 var(--body); color: var(--muted); }
.price p { margin: 0; }

/* ---------- 5. QUOTES + NOTE ---------- */
.sq-box { min-height: 12rem; }
.sq { margin: 0; animation: pop .7s var(--ease) both; }
.sq[hidden] { display: none; }
.sq blockquote { margin: 0 0 .9rem; font: 500 clamp(1.4rem, 2.6vw, 2rem)/1.45 var(--display); }
.sq blockquote::before { content: '“'; display: block; font: 400 4rem/.4 var(--accent); color: var(--coral); margin-bottom: .6rem; }
.sq figcaption { color: var(--muted); font-weight: 600; }
.sq-dots { display: flex; gap: .4rem; margin-top: 1.2rem; }
.sq-dots button { width: 10px; height: 10px; padding: 0; border-radius: 50%; border: 8px solid transparent; box-sizing: content-box; background: rgba(34, 56, 74, .25); background-clip: content-box; }
.sq-dots button[aria-current="true"] { background-color: var(--ink); width: 24px; border-radius: 999px; }
.note { margin: 0; display: grid; gap: 1.6rem; justify-items: center; }
.note .photo-print { width: min(300px, 80%); }
.note .photo-print img { aspect-ratio: 4 / 5; }
.note-text { font: 500 clamp(1.15rem, 1.9vw, 1.35rem)/1.55 var(--display); text-align: center; max-width: 30ch; }
.note-text .sign { display: block; margin-top: .6rem; font-family: var(--accent); font-style: italic; color: var(--sindoor); }
.note-text .sign :lang(gu), .note-text .sign:lang(gu) { font-family: var(--display); font-style: normal; }
/* replies sit inside the phone, like quick replies, so message → choice → answer fit one screen */
.phone .reply-opts { margin: 0; padding: .6rem .6rem .8rem; border-top: 1px solid var(--line); gap: .45rem; }
.phone .reply-opt { color: var(--ink); border-color: rgba(34, 56, 74, .25); background: var(--white); font-size: .95rem; padding: .55rem .9rem; border-radius: 16px; }
.phone .reply-opt:hover { border-color: var(--ink); }
.phone .reply-opt[aria-pressed="true"] { background: var(--sun); border-color: var(--sun); }
.phone .reply-opt.was-listen { border-color: var(--leaf); box-shadow: inset 0 0 0 1px var(--leaf); }
.chat-area { min-height: 180px; }
@media (max-width: 899px) { .game-grid { gap: 1.5rem; } .phone { order: 2; } .game-copy { display: contents; } }
@media (max-width: 899px) { .game-copy > .type-line, .game-copy > .actions { order: 3; } }
