:root {
    --ink: #24160f;
    --muted: #6d584c;
    --maroon: #8d1d38;
    --maroon-deep: #4e1020;
    --gold: #b8892d;
    --gold-bright: #e8c36a;
    --cream: #f7f1e6;
    --paper: #fffdf8;
    --leaf: #1c6b43;
    --line: rgba(120, 84, 32, .16);
    --shadow: 0 22px 50px rgba(58, 12, 24, .12);
    --serif: "Tiro Devanagari Hindi", "Noto Serif Devanagari", serif;
    --display: "Cormorant Garamond", Georgia, serif;
    --sans: "Manrope", "Noto Sans Devanagari", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { overflow-x: clip; }
body {
    margin: 0;
    color: var(--ink);
    background:
        radial-gradient(820px 380px at 100% -8%, rgba(200, 146, 42, .2), transparent 58%),
        radial-gradient(640px 420px at -8% 18%, rgba(141, 29, 56, .07), transparent 52%),
        linear-gradient(180deg, #fbf7f0 0%, var(--cream) 38%, #f3eadc 100%);
    font-family: var(--sans);
    font-size: 1.02rem;
    line-height: 1.7;
}
::selection { background: #e8c36a; color: #2a0812; }
img { max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }

.skip {
    position: absolute; left: 1rem; top: -4rem;
    background: #fff; padding: .5rem 1rem; z-index: 20;
}
.skip:focus { top: 1rem; }

.topbar {
    background: linear-gradient(90deg, #2a0812, #4e1020 42%, #2a0812);
    color: #f8efe4;
    font-size: .84rem;
    letter-spacing: .03em;
    padding-top: env(safe-area-inset-top);
    border-bottom: 1px solid rgba(232, 195, 106, .55);
}
.topbar .wrap, .wrap { width: min(1180px, calc(100% - 2rem)); margin-inline: auto; }
.topbar .wrap {
    display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
    padding: .45rem 0;
}
.topbar a { color: #fff; text-decoration: none; }
.topbar a:hover { color: var(--gold-bright); }

.nav {
    position: sticky; top: 0; z-index: 30;
    background: rgba(251, 247, 240, .9);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid transparent;
}
.nav.scrolled { border-bottom-color: rgba(184, 137, 45, .35); box-shadow: 0 10px 28px rgba(42, 8, 18, .07); }
.nav-row { display: flex; align-items: center; gap: .7rem; min-height: 78px; min-width: 0; }
.brand { display: flex; align-items: center; gap: .75rem; text-decoration: none; margin-right: auto; min-width: 0; }
.brand img {
    width: 74px; height: 74px; object-fit: contain; background: transparent;
    filter: drop-shadow(0 6px 8px rgba(42, 8, 18, .22));
}
.brand strong { display: block; font-family: var(--serif); font-size: 1.25rem; font-weight: 400; line-height: 1.2; }
.brand span { display: block; color: var(--muted); font-size: .78rem; letter-spacing: .04em; }
.menu { display: flex; align-items: center; gap: .15rem; }
.menu a {
    text-decoration: none; font-weight: 700; font-size: .92rem;
    padding: .45rem .7rem; border-radius: 999px;
}
.menu a:hover { background: rgba(141, 29, 56, .08); color: var(--maroon); }
.login-link {
    background: linear-gradient(180deg, #9a2340, #6e152c) !important; color: #fff !important;
    margin-left: .4rem; box-shadow: inset 0 0 0 1px rgba(232, 195, 106, .4);
}
.login-link:hover { background: var(--maroon-deep) !important; }
.lang {
    display: inline-flex; flex-shrink: 0; border: 1px solid var(--line);
    border-radius: 999px; overflow: hidden; background: #fff;
}
.lang button {
    border: 0; background: transparent; padding: .42rem .72rem; cursor: pointer;
    font-weight: 800; font-size: .8rem; color: var(--ink);
}
.lang button.on { background: var(--maroon); color: #fff; }
html[lang="en"] [data-lang="hi"],
html[lang="hi"] [data-lang="en"] { display: none !important; }
html[lang="en"] h1,
html[lang="en"] h2,
html[lang="en"] h3,
html[lang="en"] .brand strong,
html[lang="en"] .footer strong {
    font-family: var(--display);
    font-weight: 600;
    letter-spacing: 0;
}
.burger {
    display: none; margin-left: .35rem;
    border: 1px solid var(--line); background: #fff; border-radius: 10px;
    width: 46px; height: 46px; cursor: pointer;
}
.burger span { display: block; height: 2px; margin: 5px 10px; background: var(--ink); }

.hero { padding: 2.2rem 0 1rem; }
.hero-grid {
    display: grid; grid-template-columns: 1.25fr .75fr; gap: 2.5rem; align-items: center;
}
.kicker {
    display: inline-flex; align-items: center; gap: .5rem;
    color: var(--maroon); font-weight: 800; letter-spacing: .08em;
    text-transform: uppercase; font-size: .75rem;
}
.kicker::before { content: ""; width: 28px; height: 2px; background: var(--gold); }
h1 {
    font-family: var(--serif); font-weight: 400; font-size: clamp(1.85rem, 6.2vw, 4.2rem);
    line-height: 1.15; margin: .4rem 0 .6rem; overflow-wrap: anywhere;
}
.lead { font-size: 1.15rem; color: #3d2b22; max-width: 40rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.4rem; }
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .4rem;
    text-decoration: none; border-radius: 999px; padding: .8rem 1.2rem; font-weight: 800;
    border: 1.5px solid transparent; cursor: pointer;
}
.btn { transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.btn:hover { transform: translateY(-1px); }
.btn-primary {
    background: linear-gradient(180deg, #a32644, #7a1830);
    color: #fff;
    box-shadow: 0 12px 24px rgba(141, 29, 56, .28), inset 0 1px 0 rgba(255, 255, 255, .22);
    border-color: rgba(232, 195, 106, .4);
}
.btn-primary:hover { background: linear-gradient(180deg, #8d1d38, #4e1020); }
.btn-ghost { background: rgba(255, 253, 248, .7); border-color: rgba(120, 84, 32, .28); }
.btn-ghost:hover { border-color: var(--gold); color: var(--maroon); background: #fff; }
.btn-gold {
    background: linear-gradient(180deg, #f8e3a8, #e2b657 48%, #c4922e);
    color: #3a2508;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .75), 0 10px 20px rgba(160, 110, 20, .22);
}
.btn-gold:hover { filter: brightness(1.03); }

.seal-card {
    background:
        linear-gradient(#fffdf8, #fff8ec) padding-box,
        linear-gradient(155deg, #f6e2a8, #a67c2d 42%, #f8e7b4 68%, #8d6a1f) border-box;
    border: 1.5px solid transparent;
    border-radius: 28px; padding: 1.5rem 1.4rem 1.3rem; text-align: center;
    box-shadow: var(--shadow), inset 0 0 0 7px rgba(255, 253, 248, .96);
    position: relative;
}
.seal-card img { width: min(230px, 70%); animation: float 5.5s ease-in-out infinite; }
.seal-card p { margin: .4rem 0 0; color: var(--muted); }
.fact-pills { display: flex; flex-wrap: wrap; gap: .45rem; justify-content: center; margin-top: 1rem; }
.fact-pills > span {
    background: rgba(255, 253, 248, .9); border: 1px solid rgba(184, 137, 45, .35); border-radius: 999px;
    padding: .28rem .75rem; font-size: .8rem; font-weight: 700; letter-spacing: .02em;
}

.stats {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: .8rem;
    margin: 1.6rem auto 0;
}
.stat {
    background: linear-gradient(180deg, #64182c, #3a0c18);
    color: #fff; border-radius: 18px; padding: 1.15rem 1.15rem 1rem;
    border-top: 2px solid #e2b657;
    box-shadow: 0 16px 32px rgba(42, 8, 18, .16);
}
.stat b { display: block; font-size: 1.85rem; font-family: var(--serif); font-weight: 400; color: var(--gold-bright); letter-spacing: .01em; }
.stat span { font-size: .86rem; color: #f3e4d4; }

section { padding: 4.2rem 0; }
.section-head { max-width: 680px; margin-bottom: 1.6rem; }
.section-head h2, .panel h2, .contact-copy h2 {
    font-family: var(--serif); font-weight: 400; font-size: clamp(1.8rem, 3vw, 2.6rem);
    line-height: 1.25; margin: .2rem 0 .4rem;
}
.eyebrow {
    display: flex; align-items: center; gap: .55rem;
    color: var(--gold); font-weight: 800; letter-spacing: .16em; text-transform: uppercase; font-size: .72rem;
}
.eyebrow::before { content: ""; width: 22px; height: 1px; background: currentColor; flex-shrink: 0; }

.split { display: grid; grid-template-columns: 1.15fr .85fr; gap: 1.4rem; }
.panel, .card, .person, .stream {
    background: linear-gradient(180deg, #fffdf8, #fbf6ee);
    border: 1px solid rgba(168, 124, 45, .28);
    border-radius: 22px; padding: 1.35rem 1.4rem;
    box-shadow: 0 12px 32px rgba(78, 16, 32, .05);
}
.card, .stream, .person { transition: transform .25s ease, box-shadow .25s ease; }
.card:hover, .stream:hover, .person:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(78, 16, 32, .1);
}
.panel p:last-child { margin-bottom: 0; }
.founder {
    background:
        linear-gradient(165deg, rgba(232, 195, 106, .18), transparent 28%),
        linear-gradient(180deg, #5a1428, #2c0914);
    color: #fff8ef; border: 1px solid rgba(232, 195, 106, .35);
    box-shadow: 0 18px 40px rgba(42, 8, 18, .2);
}
.founder .eyebrow { color: var(--gold-bright); }
.founder h3 { font-family: var(--serif); font-weight: 400; font-size: 1.7rem; margin: .2rem 0; }

.cards, .streams, .people { display: grid; gap: 1rem; }
.cards { grid-template-columns: repeat(3, 1fr); }
.streams { grid-template-columns: repeat(3, 1fr); }
.people { grid-template-columns: 1fr; }
.card h3, .stream h3, .person h3 { margin: .35rem 0 .3rem; font-size: 1.15rem; }
.card p, .stream p, .person p { margin: 0; color: var(--muted); }
.ico {
    width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
    background: #fff; color: var(--maroon); font-weight: 800; font-family: var(--serif);
    box-shadow: inset 0 0 0 1px rgba(184, 137, 45, .55);
}
.stream { background: linear-gradient(180deg, #fffdf8, #f4f8f2); }
.stream strong { color: var(--leaf); font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; }

.band { background: rgba(255, 253, 248, .72); border-block: 1px solid rgba(184, 137, 45, .22); }

.ranks { display: grid; grid-template-columns: 1.2fr repeat(2, 1fr); gap: 1rem; }
.rank {
    border-radius: 22px; padding: 1.35rem 1.25rem; color: #fff; min-height: 190px;
    display: flex; flex-direction: column; justify-content: flex-end;
    border: 1px solid rgba(232, 195, 106, .4);
    box-shadow: 0 16px 34px rgba(42, 8, 18, .14);
}
.rank.first { background: linear-gradient(165deg, #a32644, #4e1020 70%); }
.rank.second { background: linear-gradient(165deg, #1f7a4c, #0e3d28); }
.rank.third { background: linear-gradient(165deg, #c4922e, #6a4a0d); }
.rank em { font-style: normal; font-weight: 800; letter-spacing: .08em; font-size: .78rem; opacity: .85; }
.rank b { font-family: var(--serif); font-size: 2.4rem; font-weight: 400; line-height: 1; }
.rank span { font-size: 1.05rem; }
.table-scroll { width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: 18px; }
.score-table { width: 100%; min-width: 280px; border-collapse: collapse; margin-top: 1rem; background: #fffdf8; border-radius: 18px; overflow: hidden; box-shadow: 0 12px 30px rgba(78, 16, 32, .06); }
.score-table th, .score-table td { text-align: left; padding: .8rem 1rem; border-bottom: 1px solid var(--line); }
.score-table th { font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-bright); background: #3a0c18; }
.score-table tbody tr:nth-child(even) td { background: #fbf6ee; }
.score-table tr:last-child td { border-bottom: 0; }

.notice { color: var(--muted); }

.poster { margin: 0 0 1.4rem; }
.poster header { display: flex; justify-content: space-between; gap: 1rem; align-items: end; margin-bottom: .6rem; }
.poster header p { margin: .15rem 0 0; color: var(--muted); font-size: .92rem; }
.poster-scroll {
    overflow: auto; background: #1b100c; border-radius: 18px;
    box-shadow: var(--shadow); max-width: 100%;
    border: 1px solid rgba(184, 137, 45, .4);
    -webkit-overflow-scrolling: touch;
}
.poster-scroll img { display: block; width: 100%; max-width: 100%; height: auto; }
.poster-actions { display: flex; gap: .5rem; margin-top: .55rem; }

.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 1.2rem; }
.contact-list { list-style: none; padding: 0; margin: 1rem 0 0; }
.contact-list li { padding: .55rem 0; border-top: 1px solid var(--line); }
.contact-list a { font-weight: 800; color: var(--maroon); text-decoration: none; }
form { display: grid; gap: .7rem; }
label { font-size: .82rem; font-weight: 800; display: grid; gap: .25rem; }
input, select, textarea {
    width: 100%; max-width: 100%; border: 1px solid rgba(120, 84, 32, .28); background: #fff; border-radius: 12px;
    padding: .75rem .85rem; font-size: 16px;
}
input:focus, select:focus, textarea:focus {
    outline: none; border-color: #b8892d; box-shadow: 0 0 0 3px rgba(184, 137, 45, .2);
}
textarea { min-height: 90px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; }

.footer {
    background: linear-gradient(180deg, #3a0c18, #22070f);
    color: #f6eadf;
    padding: 2.4rem 0 calc(2.2rem + env(safe-area-inset-bottom));
    border-top: 1px solid rgba(232, 195, 106, .45);
}
.footer strong { font-family: var(--serif); font-size: 1.35rem; font-weight: 400; }
.footer .wrap { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.footer a { color: var(--gold-bright); }
.footer p { margin: .2rem 0; }

.wa {
    position: fixed; right: 1rem; bottom: calc(1rem + env(safe-area-inset-bottom)); z-index: 25;
    background: #1f8f4e; color: #fff; text-decoration: none; font-weight: 800;
    border-radius: 999px; padding: .85rem 1rem; box-shadow: 0 12px 30px rgba(20, 90, 40, .3);
}

.lightbox {
    position: fixed; inset: 0; background: rgba(16, 8, 6, .92); z-index: 50;
    display: none; flex-direction: column;
}
.lightbox.open { display: flex; }
.lightbox header {
    display: flex; justify-content: space-between; gap: .5rem; align-items: center; flex-wrap: wrap;
    color: #fff; padding: .7rem 1rem; padding-top: calc(.7rem + env(safe-area-inset-top));
}
.lightbox header > div { display: flex; flex-wrap: wrap; gap: .35rem; }
.lightbox header button, .zoom-btn {
    background: #fff; border: 0; border-radius: 999px; padding: .45rem .8rem; cursor: pointer; font-weight: 800;
}
.lightbox .stage { overflow: auto; flex: 1; padding: 0 1rem 1.5rem; }
.lightbox img { display: block; margin: 0 auto; height: auto; width: min(1400px, 100%); max-width: none; transform-origin: top center; }

.reveal { animation: rise .8s ease both; }
.d1 { animation-delay: .08s; } .d2 { animation-delay: .16s; } .d3 { animation-delay: .24s; }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes float { 50% { transform: translateY(-8px); } }

@media (max-width: 1100px) {
    .burger { display: inline-block; flex-shrink: 0; }
    .menu {
        display: none; position: absolute; left: 0; right: 0; top: 100%; z-index: 40;
        background: #fffaf3; border-bottom: 1px solid var(--line);
        flex-direction: column; align-items: stretch; padding: .4rem .75rem .8rem;
        max-height: min(70vh, 520px); overflow: auto; box-shadow: 0 16px 30px rgba(36, 22, 15, .12);
    }
    .menu.open { display: flex; }
    .menu a { min-height: 46px; display: flex; align-items: center; border-radius: 12px; }
    .login-link { margin: .35rem 0 0; text-align: center; justify-content: center; }
    .hero-grid, .split, .contact-grid { grid-template-columns: 1fr; }
    .cards, .streams, .stats { grid-template-columns: 1fr 1fr; }
    .ranks { grid-template-columns: 1fr 1fr; }
    .ranks .first { grid-column: 1 / -1; }
    .hero { padding-top: 1.2rem; }
    section { padding: 2.8rem 0; }
    .brand img { width: 58px; height: 58px; }
    .brand > div > span { display: none; }
    .brand strong { font-size: 1.05rem; }
}

@media (max-width: 640px) {
    .wrap { width: min(1180px, calc(100% - 1.25rem)); }
    .topbar .wrap { flex-direction: column; align-items: flex-start; gap: .1rem; }
    .topbar a { padding: .15rem 0; display: inline-block; }
    .nav-row { min-height: 68px; gap: .4rem; }
    .lang button { padding: .55rem .6rem; }
    .cards, .streams, .stats, .ranks, .form-row, .people { grid-template-columns: 1fr; }
    .ranks .first { grid-column: auto; }
    .hero-actions { flex-direction: column; }
    .hero-actions .btn { width: 100%; }
    .kicker { letter-spacing: .04em; font-size: .7rem; }
    .lead { font-size: 1.02rem; }
    .stat b { font-size: 1.45rem; }
    .rank { min-height: 0; }
    .rank b { font-size: 2rem; }
    .poster header { align-items: flex-start; flex-wrap: wrap; }
    .poster-actions .btn { width: 100%; }
    .footer .wrap { flex-direction: column; }
    body { padding-bottom: calc(4.2rem + env(safe-area-inset-bottom)); }
}

@media (max-width: 480px) {
    .nav-row { flex-wrap: wrap; padding: .4rem 0 .5rem; }
    .brand { flex: 1 1 100%; }
    .lang { margin-left: auto; }
    .brand img { width: 50px; height: 50px; }
    .brand strong { font-size: 1.18rem; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
