/* Bollywood quiz PPT page: styles for this page only.
   Shared light-theme styles (fonts, colours, header, FAQ, footer) are in /assets/light-pages.css. */

.wrap { max-width: 900px; margin: 0 auto; padding: 0 20px; }
.hero { display: grid; grid-template-columns: 1.1fr .9fr; gap: 28px; align-items: center; padding: 22px 0 10px; }
h1 { margin: 0 0 12px; font-family: "Shrikhand", cursive; font-weight: 400; font-size: clamp(2rem, 5.5vw, 2.9rem); line-height: 1.08; }
.lede { margin: 0 0 20px; color: var(--muted); }
.actions { display: flex; flex-wrap: wrap; gap: 12px 18px; align-items: center; }
.btn {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 13px 22px; border-radius: 999px; border: 0;
    background: var(--marigold); color: var(--ink); font-weight: 700; font-size: 1rem; text-decoration: none; cursor: pointer;
    box-shadow: 0 4px 0 #c9852a; transition: transform .15s, box-shadow .15s;
  }
.btn svg { width: 20px; height: 20px; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(3px); box-shadow: 0 1px 0 #c9852a; }
.btn.dark { background: var(--ink); color: var(--card); box-shadow: 0 4px 0 #000; }
.text-link { font-weight: 600; text-decoration: underline; text-decoration-color: var(--marigold); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.fine { margin: 10px 0 0; font-size: .88rem; color: var(--muted); }
.hero-art { width: 100%; max-width: 380px; justify-self: center; }
section.block { margin: 56px 0 0; }
h2 { margin: 0 0 6px; font-family: "Shrikhand", cursive; font-weight: 400; font-size: clamp(1.5rem, 4vw, 1.9rem); line-height: 1.15; }
.sub { margin: 0 0 22px; color: var(--muted); max-width: 620px; }
/* deck preview */
.slides { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 0; padding: 0; list-style: none; }
.slides li { margin: 0; }
.slides img { display: block; width: 100%; height: auto; border-radius: 10px; box-shadow: var(--shadow); transition: transform .25s; }
.slides li:hover img { transform: translateY(-4px) rotate(-1deg); }
.slides span { display: block; margin-top: 6px; font-size: .85rem; color: var(--muted); }
.inside { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 24px; margin: 24px 0 0; padding: 0; list-style: none; }
.inside li { display: flex; gap: 10px; align-items: flex-start; }
.tick { flex: none; width: 22px; height: 22px; margin-top: 3px; border-radius: 50%; background: var(--marigold-soft); display: grid; place-items: center; }
.tick svg { width: 12px; height: 12px; color: var(--ink); }
/* browser steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 0; padding: 0; list-style: none; counter-reset: s; }
.steps li { padding: 20px; background: var(--card); border-radius: 18px; box-shadow: var(--shadow); }
.steps svg { width: 44px; height: 44px; margin-bottom: 10px; }
.steps h3 { margin: 0 0 4px; font-size: 1.1rem; }
.steps p { margin: 0; color: var(--muted); font-size: .98rem; }
.after-steps { margin-top: 20px; }
/* comparison */
.compare { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--card); border-radius: 18px; box-shadow: var(--shadow); overflow: hidden; font-size: .98rem; }
.compare th, .compare td { padding: 13px 16px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare tr:last-child td { border-bottom: 0; }
.compare thead th { background: var(--marigold-soft); font-weight: 700; }
.compare tbody th { font-weight: 600; color: var(--muted); width: 28%; }
footer { margin: 56px 0 0; padding: 26px 0 40px; border-top: 1px solid var(--line); font-size: .92rem; color: var(--muted); }
/* hero motion: projector flips between a question and its answer */
.beam { animation: beam 3s ease-in-out infinite; }
@keyframes beam { 0%, 100% { opacity: .35; } 50% { opacity: .6; } }
.twinkle.t2 { animation-delay: .8s; }
.btn .arrow { transition: transform .2s; }
.btn:hover .arrow { transform: translateY(2px); }
/* pains */
.pains { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 0; padding: 0; list-style: none; }
.pains li { padding: 20px; background: var(--card); border-radius: 18px; box-shadow: var(--shadow); }
.pains svg { width: 44px; height: 44px; margin-bottom: 10px; }
.pains h3 { margin: 0 0 4px; font-size: 1.1rem; }
.pains p { margin: 0; color: var(--muted); font-size: .98rem; }
.steps { counter-reset: s; }
.steps li { position: relative; }
.steps li::before { counter-increment: s; content: counter(s); position: absolute; top: 18px; right: 18px; width: 30px; height: 30px; border-radius: 50%; background: var(--marigold-soft); display: grid; place-items: center; font-weight: 700; font-size: .9rem; }
/* board mockup */
.board-wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 28px; align-items: center; }
.board-wrap > * { min-width: 0; }
.board-grid > * { min-width: 0; }
.board { padding: 14px; border-radius: 18px; background: var(--rani); box-shadow: var(--shadow); }
.board-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.board-grid .head { padding: 6px 2px; text-align: center; font-size: .72rem; font-weight: 700; color: #fff; text-transform: uppercase; letter-spacing: .04em; line-height: 1.2; }
.board-grid .tile { aspect-ratio: 4 / 3; border-radius: 8px; background: var(--marigold); display: grid; place-items: center; font-family: "Shrikhand", cursive; font-size: clamp(.9rem, 2.4vw, 1.25rem); color: var(--ink); transition: transform .2s; }
.board-grid .tile:hover { transform: scale(1.06); }
.board-grid .tile.done { background: rgba(255,255,255,.18); color: transparent; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 18px; padding: 0; list-style: none; }
.chips li { padding: 6px 14px; border-radius: 999px; background: var(--card); box-shadow: var(--shadow); font-weight: 600; font-size: .95rem; }
.facts { display: flex; gap: 22px; margin: 0; }
.facts div { font-size: .95rem; color: var(--muted); }
.facts b { display: block; font-family: "Shrikhand", cursive; font-weight: 400; font-size: 1.8rem; line-height: 1.1; color: var(--ink); }
.end { margin: 56px 0 0; padding: 32px 24px; border-radius: 24px; background: var(--marigold-soft); text-align: center; }
.end p { margin: 6px auto 18px; color: var(--muted); max-width: 480px; }
/* hero motion: tiles light up one after another */
.hl { animation: light 4.5s infinite; }
@keyframes light { 0%, 100% { fill: #E9A23B; } 6%, 14% { fill: #FFFCF6; } 20% { fill: #E9A23B; } }
/* tip jar (light theme) */
.tipjar { margin: 56px auto 0; max-width: 460px; padding: 32px 28px 26px; border-radius: 24px; background: var(--card); box-shadow: var(--shadow); text-align: center; scroll-margin-top: 20px; }
.tipjar h2 { margin-bottom: 12px; }
.tipjar p.body { margin: 0 0 10px; color: var(--muted); }
.tipjar p.body strong { color: var(--ink); font-weight: 600; }
.tj-stage { position: relative; width: 240px; height: 250px; margin: 14px auto 0; }
.tj-wrap { position: absolute; inset: 0; transform-origin: 120px 250px; }
.tj-back, .tj-pile, .tj-front { position: absolute; left: 40px; bottom: 0; width: 160px; height: 180px; pointer-events: none; }
.tj-back { z-index: 1; }
.tj-pile { z-index: 2; }
.tj-front { z-index: 4; }
.tj-coin { position: absolute; left: 97px; top: 4px; width: 46px; height: 46px; z-index: 3; padding: 0; border: 0; border-radius: 50%; background: none; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.tj-face { position: relative; display: grid; place-items: center; width: 100%; height: 100%; border-radius: 50%;
    background: linear-gradient(145deg, #ffd978 0%, #f2c14e 45%, #d9a23a 100%);
    box-shadow: inset 0 0 0 2px rgba(184,134,43,.55), inset 0 0 0 6px rgba(255,255,255,.12), 0 6px 14px rgba(42,29,23,.22);
    color: rgba(110,72,10,.85); font: 500 20px/1 "Mukta", sans-serif; }
.tj-coin.idle::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 1.5px solid rgba(233,162,59,.7); animation: tjpulse 2s ease-out infinite; }
.tj-coin.idle .tj-face { animation: tjfloat 2.6s ease-in-out infinite; }
@keyframes tjfloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }
@keyframes tjpulse { 0% { transform: scale(.9); opacity: .9; } 100% { transform: scale(1.35); opacity: 0; } }
.tj-ripple { position: absolute; z-index: 5; left: 120px; top: 92px; width: 70px; height: 14px; margin: -7px 0 0 -35px; border: 1.5px solid var(--marigold); border-radius: 50%; pointer-events: none; }
.tj-status { min-height: 3.4em; margin-top: 12px; }
.tj-hint { margin: 0; font-size: .92rem; color: var(--muted); }
.tj-thanks { margin: 0; font-size: 1.15rem; font-weight: 700; color: var(--terracotta); }
.tj-fallback { margin: 2px 0 0; font-size: .9rem; color: var(--muted); }
.tj-fallback a { color: var(--ink); text-underline-offset: 3px; }
[hidden] { display: none !important; }
@media (max-width: 720px) {
    .pains { grid-template-columns: 1fr; }
    .board-wrap { grid-template-columns: 1fr; }
    .board { padding: 10px; }
    .board-grid { gap: 5px; }
    .board-grid .head { font-size: .6rem; letter-spacing: 0; overflow-wrap: anywhere; }
  }
@media (max-width: 720px) {
    .hero { grid-template-columns: 1fr; }
    .hero-art { order: -1; max-width: 300px; }
    .slides { grid-template-columns: repeat(2, 1fr); }
    .inside, .steps { grid-template-columns: 1fr; }
    .compare { font-size: .9rem; }
    .compare th, .compare td { padding: 11px 10px; }
  }
.end .fine { margin: 14px auto 0; }
