/* Ramayana guide + Hindi home (Nov 2026). Same palette and fonts as site.css, but a light, text-first page. */
@font-face { font-family: "Lilita One"; src: url("/fonts/lilita-one-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Baloo 2"; src: url("/fonts/baloo-2-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Baloo 2"; src: url("/fonts/baloo-2-latin-800-normal.woff2") format("woff2"); font-weight: 800; font-display: swap; }
:root {
  --night: #0f0820; --night-2: #1a0f33; --glass: rgba(58, 30, 104, 0.42); --glass-edge: rgba(255, 214, 120, 0.22);
  --gold: #ffc93c; --gold-hi: #fff1b0; --gold-lo: #d98a10; --saffron: #ff7a1a; --cream: #fff4dc; --mist: #cbbfe6;
  --display: "Lilita One", "Baloo 2", system-ui, sans-serif;
  --body: "Baloo 2", system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans Devanagari", "Nirmala UI", sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; color: var(--cream); background: radial-gradient(1200px 600px at 50% -10%, #2b1650 0%, var(--night) 60%) fixed, var(--night); font: 400 18px/1.65 var(--body); }
html[lang="hi"] body { font-size: 19px; line-height: 1.8; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold); }
a:hover { color: var(--gold-hi); }
.gwrap { max-width: 980px; margin: 0 auto; padding: 0 18px; }
.gbar { position: sticky; top: 0; z-index: 5; background: rgba(15, 8, 32, 0.86); backdrop-filter: blur(10px); border-bottom: 1px solid var(--glass-edge); }
.gbar .gwrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 60px; flex-wrap: wrap; }
.gbrand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: #fff; font: 400 22px/1 var(--display); }
.gbrand img { border-radius: 9px; }
.gbar nav { display: flex; align-items: center; gap: 16px; font-weight: 800; font-size: 15px; flex-wrap: wrap; }
.gbar nav a { text-decoration: none; }
.gbtn { display: inline-block; padding: 8px 16px; border-radius: 999px; text-decoration: none; color: #2a1300 !important; font-weight: 800;
  background: linear-gradient(180deg, var(--gold-hi), var(--gold) 45%, var(--gold-lo)); box-shadow: 0 4px 0 #8a4e00, 0 8px 18px rgba(0,0,0,.4); }
.gbtn:hover { filter: brightness(1.06); }
.gbtn.big { padding: 13px 26px; font-size: 19px; margin-top: 8px; }
.crumbs { margin: 22px 0 6px; font-size: 14px; color: var(--mist); }
.crumbs a { text-decoration: none; }
h1 { font: 400 clamp(32px, 5vw, 48px)/1.12 var(--display); color: var(--gold-hi); margin: 10px 0 14px; text-shadow: 0 3px 0 rgba(0,0,0,.35); }
h2 { font: 400 clamp(24px, 3.4vw, 30px)/1.2 var(--display); color: var(--gold); margin: 34px 0 8px; }
h3 { font: 400 22px/1.2 var(--display); color: var(--gold-hi); margin: 0 0 6px; }
html[lang="hi"] h1, html[lang="hi"] h2, html[lang="hi"] h3 { font-family: var(--body); font-weight: 800; }
.lede { font-size: 1.12em; color: #fff; }
.gart { overflow: hidden; }
.gfig { float: right; width: min(300px, 42%); margin: 8px 0 16px 22px; }
.gfig img { border-radius: 18px; border: 1px solid var(--glass-edge); box-shadow: 0 14px 40px rgba(0,0,0,.5); }
.ggame { clear: both; margin: 30px 0 10px; padding: 20px 22px; border-radius: 20px; background: var(--glass); border: 1px solid var(--glass-edge); }
.ggame h2 { margin-top: 0; }
.note { font-size: 14px; color: var(--mist); }
.grel { margin: 26px 0 30px; }
.gcards { list-style: none; padding: 0; margin: 12px 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 14px; }
.gcards a { display: grid; grid-template-columns: 64px 1fr; grid-template-rows: auto 1fr; column-gap: 12px; padding: 12px; height: 100%;
  border-radius: 16px; background: var(--glass); border: 1px solid var(--glass-edge); text-decoration: none; color: var(--cream); }
.gcards a:hover { border-color: var(--gold); }
.gcards img { grid-row: 1 / span 2; width: 64px; height: 64px; object-fit: cover; border-radius: 12px; }
.gcards b { color: var(--gold-hi); font-size: 17px; line-height: 1.2; }
.gcards span { font-size: 14px; line-height: 1.35; color: var(--mist); }
.ghero { text-align: center; margin: 24px 0 10px; }
.ghero img { border-radius: 22px; border: 1px solid var(--glass-edge); box-shadow: 0 20px 50px rgba(0,0,0,.55); margin: 0 auto 8px; }
.fine { font-size: 14px; color: var(--mist); }
.glist { padding-left: 1.2em; }
.gtwo { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.gtwo > div { padding: 16px 18px; border-radius: 18px; background: var(--glass); border: 1px solid var(--glass-edge); }
.gfoot { margin-top: 40px; padding: 26px 0 40px; border-top: 1px solid var(--glass-edge); font-size: 14px; color: var(--mist); }
@media (max-width: 640px) {
  .gfig { float: none; width: 70%; margin: 6px auto 14px; }
  .gtwo { grid-template-columns: 1fr; }
  .gbar nav { gap: 10px; font-size: 14px; }
}

/* YouTube Short on a story page (17 Nov): thumbnail first, the player loads on tap. */
.gshort { margin: 28px 0; }
.gshort-frame { position: relative; width: min(100%, 300px); aspect-ratio: 9 / 16; border-radius: 16px; overflow: hidden; background: #000; margin: 12px 0 8px; box-shadow: 0 6px 24px rgba(0, 0, 0, 0.45); }
.gshort-play { display: block; width: 100%; height: 100%; padding: 0; border: 0; background: #000; cursor: pointer; position: relative; }
.gshort-play img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gshort-play::before { content: ""; position: absolute; left: 50%; top: 50%; width: 72px; height: 72px; margin: -36px 0 0 -36px; border-radius: 50%; background: rgba(0, 0, 0, 0.6); box-shadow: 0 0 0 3px #ffd36a; }
.gshort-play::after { content: ""; position: absolute; left: 50%; top: 50%; margin: -14px 0 0 -8px; border-style: solid; border-width: 14px 0 14px 24px; border-color: transparent transparent transparent #ffd36a; }
.gshort iframe { width: 100%; height: 100%; border: 0; display: block; }
/* Playable level on story pages (19 Nov) — same frame as the Shorts, gold "play" button over the poster */
.gplay { margin: 28px 0; }
.gplay-frame { position: relative; width: min(100%, 320px); aspect-ratio: 9 / 16; border-radius: 16px; overflow: hidden; background: #2a1a40; margin: 12px 0 8px; box-shadow: 0 6px 24px rgba(0, 0, 0, 0.45); }
.gplay-go { display: block; width: 100%; height: 100%; padding: 0; border: 0; background: #2a1a40; cursor: pointer; position: relative; }
.gplay-go img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gplay-go::before { content: ""; position: absolute; left: 50%; top: 50%; width: 80px; height: 80px; margin: -40px 0 0 -40px; border-radius: 50%; background: rgba(0, 0, 0, 0.6); box-shadow: 0 0 0 3px #ffd36a; }
.gplay-go::after { content: ""; position: absolute; left: 50%; top: 50%; margin: -16px 0 0 -9px; border-style: solid; border-width: 16px 0 16px 28px; border-color: transparent transparent transparent #ffd36a; }
.gplay iframe { width: 100%; height: 100%; border: 0; display: block; }
