:root {
    --primary: #7a1230;
    --primary-dark: #4d0a1f;
    --accent: #e85d04;
    --accent-dark: #b84400;
    --gold: #f4b400;
    --gold-soft: #ffe8a3;
    --bg: #fffbf5;
    --bg-alt: #fbefdc;
    --surface: #ffffff;
    --ink: #2a1b1b;
    --muted: #7a6660;
    --line: #f0dcc2;
    --radius: 20px;
    --radius-sm: 14px;
    --shadow: 0 10px 30px rgba(122, 18, 48, 0.10), 0 2px 6px rgba(122, 18, 48, 0.06);
    --shadow-lg: 0 24px 60px rgba(77, 10, 31, 0.22);

    --grad-brand: linear-gradient(135deg, var(--primary) 0%, #a81e3e 45%, var(--accent) 100%);
    --grad-gold: linear-gradient(135deg, #ffd54a 0%, var(--gold) 50%, #f28c00 100%);
    --grad-card: linear-gradient(160deg, #ffffff 0%, #fff7ec 70%, #ffeccf 100%);
    --grad-card-warm: linear-gradient(160deg, #fff9f1 0%, #ffe9d2 100%);
    --grad-dark: linear-gradient(160deg, #3b0716 0%, var(--primary-dark) 50%, #7a1230 100%);

    --font-body: 'Poppins', 'Noto Sans Devanagari', 'Mangal', sans-serif;
    --font-display: 'Baloo 2', 'Poppins', 'Noto Sans Devanagari', sans-serif;
    --font-accent: 'Yatra One', 'Baloo 2', serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    font-family: var(--font-body);
    font-weight: 400;
    color: var(--ink);
    background: var(--bg);
    line-height: 1.75;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}
a { color: var(--primary); }
img { max-width: 100%; display: block; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 800; letter-spacing: -0.01em; line-height: 1.25; }

.container { width: min(1120px, 100% - 32px); margin: 0 auto; }

/* ---------- Header ---------- */
.site-header {
    position: sticky; top: 0; z-index: 20;
    background: rgba(255, 251, 245, 0.85);
    backdrop-filter: blur(14px) saturate(140%);
    -webkit-backdrop-filter: blur(14px) saturate(140%);
    border-bottom: 1px solid rgba(122, 18, 48, 0.08);
}
.site-header::after { content: ""; display: block; height: 3px; background: var(--grad-gold); }
.nav-wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 10px 0; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--primary); min-width: 0; }
.brand-mark { font-size: 1.9rem; flex: none; filter: drop-shadow(0 2px 4px rgba(0,0,0,0.15)); }
.brand-text { display: flex; flex-direction: column; line-height: 1.2; min-width: 0; }
.brand-text strong { font-family: var(--font-display); font-weight: 800; font-size: 1rem; line-height: 1.2; }
.brand-text small { color: var(--muted); font-size: 0.75rem; font-weight: 500; }
.nav { display: flex; gap: 6px; flex-wrap: wrap; }
.nav a { text-decoration: none; font-weight: 600; font-size: 0.95rem; color: var(--ink); padding: 8px 14px; border-radius: 999px; transition: background .15s, color .15s; }
.nav a:hover { background: var(--gold-soft); color: var(--primary); }
.nav-toggle { display: none; }
.nav-burger { display: none; }

/* ---------- Hero ---------- */
.hero {
    position: relative; overflow: hidden;
    background:
        radial-gradient(ellipse at 10% 10%, rgba(255, 213, 74, 0.35), transparent 50%),
        radial-gradient(ellipse at 90% 90%, rgba(255, 140, 0, 0.45), transparent 55%),
        radial-gradient(ellipse at 70% 20%, rgba(255, 255, 255, 0.10), transparent 40%),
        var(--grad-dark);
    color: #fff;
    text-align: center;
    padding: 80px 0 96px;
}
.hero::before {
    content: ""; position: absolute; inset: 0; pointer-events: none;
    background-image: radial-gradient(rgba(255,255,255,0.12) 1px, transparent 1px);
    background-size: 26px 26px; opacity: 0.35;
    mask-image: linear-gradient(180deg, rgba(0,0,0,0.9), transparent 70%);
    -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,0.9), transparent 70%);
}
.hero-inner { position: relative; }
.hero-inner.has-image { display: grid; grid-template-columns: 1.25fr 1fr; gap: 48px; align-items: center; text-align: left; }
.hero-inner.has-image .hero-actions { justify-content: flex-start; }
.hero-image { position: relative; }
.hero-image::before {
    content: ""; position: absolute; inset: -18px; border-radius: 32px;
    background: conic-gradient(from 180deg, var(--gold), var(--accent), #ff4d8d, var(--gold));
    filter: blur(28px); opacity: 0.55; z-index: 0;
}
.hero-image img { position: relative; z-index: 1; width: 100%; max-width: 400px; margin: 0 auto; border-radius: 26px; box-shadow: var(--shadow-lg); border: 3px solid rgba(255,255,255,0.75); background: #fff; }
.hero-kicker { font-family: var(--font-accent); color: var(--gold); font-size: 1.05rem; margin: 0 0 16px; opacity: 0.95; }
.hero h1 { font-size: clamp(2rem, 4.6vw, 3.4rem); margin: 0 0 14px; text-shadow: 0 4px 18px rgba(0,0,0,0.35); }
.hero-est { display: inline-block; font-size: 0.95rem; margin: 0 0 12px; padding: 6px 16px; border-radius: 999px; background: rgba(255,255,255,0.14); border: 1px solid rgba(255,255,255,0.25); color: var(--gold-soft); font-weight: 600; backdrop-filter: blur(6px); }
.hero-address { margin: 0 0 4px; opacity: 0.9; font-weight: 500; }
.hero-founder { margin: 0 0 16px; color: var(--gold); font-weight: 500; }
.hero-tagline { font-size: 1.15rem; margin: 0 0 30px; opacity: 0.95; font-weight: 500; }
.hero-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

.btn {
    display: inline-block; padding: 13px 28px; border-radius: 999px;
    font-weight: 700; text-decoration: none; border: 2px solid transparent;
    cursor: pointer; font-family: var(--font-body); font-size: 0.98rem;
    transition: transform .18s, box-shadow .18s, background .18s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--grad-gold); color: var(--primary-dark); box-shadow: 0 10px 24px rgba(244, 180, 0, 0.35); }
.btn-primary:hover { box-shadow: 0 14px 30px rgba(244, 180, 0, 0.45); }
.btn-outline { background: rgba(255,255,255,0.10); color: #fff; border-color: rgba(255,255,255,0.6); backdrop-filter: blur(6px); }
.btn-outline:hover { background: rgba(255,255,255,0.2); }

/* ---------- Sections ---------- */
.section { padding: 72px 0; scroll-margin-top: 84px; }
#top { scroll-margin-top: 84px; }
.section-alt { background: linear-gradient(180deg, #fff6e8 0%, var(--bg-alt) 100%); }
.section-title {
    font-size: clamp(1.7rem, 3.2vw, 2.4rem); margin: 0 0 10px; text-align: center;
    background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.section-title::after {
    content: ""; display: block; width: 64px; height: 5px; background: var(--grad-gold);
    margin: 14px auto 0; border-radius: 999px;
}
.section-sub { text-align: center; color: var(--muted); margin: 0 0 36px; font-weight: 500; }
.shloka { text-align: center; font-family: var(--font-accent); color: var(--accent-dark); font-size: 1.15rem; margin: 0 0 6px; }
.pdf-link {
    display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; padding: 8px 18px; border-radius: 999px;
    font-weight: 600; font-size: 0.92rem; color: var(--primary); text-decoration: none;
    background: #fff; border: 1.5px solid var(--line); box-shadow: var(--shadow); transition: transform .15s;
}
.pdf-link:hover { transform: translateY(-2px); color: var(--accent-dark); }

/* कार्ड: ग्रेडिएंट सतह + ग्रेडिएंट टॉप-बार */
.card {
    position: relative; background: var(--grad-card); border-radius: var(--radius); padding: 26px 24px;
    box-shadow: var(--shadow); border: 1px solid rgba(255,255,255,0.8); overflow: hidden;
    transition: transform .2s, box-shadow .2s;
}
.card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 5px; background: var(--grad-gold); }
.card:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(122,18,48,0.14); }
.card h3 { margin: 4px 0 8px; color: var(--primary); font-size: 1.15rem; }
.card p { margin: 0; color: var(--muted); }

/* About */
.about-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: start; margin-top: 28px; }
.about-text p { margin: 0 0 14px; font-size: 1.02rem; }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.stat {
    position: relative; border-radius: var(--radius); padding: 22px 14px; text-align: center; color: #fff;
    background: var(--grad-brand); box-shadow: 0 14px 30px rgba(122,18,48,0.25); overflow: hidden;
}
.stat::after { content: ""; position: absolute; right: -30px; top: -30px; width: 110px; height: 110px; border-radius: 50%; background: rgba(255,255,255,0.12); }
.stat:nth-child(2) { background: var(--grad-gold); color: var(--primary-dark); box-shadow: 0 14px 30px rgba(244,180,0,0.3); }
.stat:nth-child(3) { background: linear-gradient(135deg, #ff7a18, #ff4d8d); }
.stat:nth-child(4) { background: var(--grad-dark); }
.stat-num { display: block; font-family: var(--font-display); font-weight: 800; font-size: 2.2rem; line-height: 1.1; }
.stat-label { font-size: 0.88rem; opacity: 0.9; font-weight: 500; }
.invitation {
    margin: 24px 0 0; padding: 22px 26px; border-radius: var(--radius); font-family: var(--font-accent);
    background: var(--grad-card-warm); border-left: 5px solid; border-image: var(--grad-gold) 1; box-shadow: var(--shadow);
}
.invitation p { margin: 0 0 10px; font-size: 1.12rem; line-height: 1.8; }
.invitation footer { font-family: var(--font-body); color: var(--muted); font-size: 0.92rem; text-align: right; font-weight: 500; }
.agaman-gaman { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; margin-top: 36px; }
.ag-card {
    border-radius: var(--radius); padding: 20px; text-align: center; display: grid; gap: 4px;
    background: var(--grad-card); box-shadow: var(--shadow); border: 1.5px dashed rgba(232,93,4,0.45);
}
.ag-title { color: var(--muted); font-size: 0.85rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; }
.ag-card strong { font-family: var(--font-display); font-weight: 800; font-size: 1.35rem; color: var(--primary); }
.ag-card small { color: var(--accent-dark); font-weight: 500; }

/* Schedule */
.table-wrap { background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; border: 1px solid rgba(255,255,255,0.8); }
.schedule { width: 100%; border-collapse: collapse; }
.schedule th, .schedule td { padding: 16px 18px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.schedule thead th { background: var(--grad-brand); color: #fff; font-weight: 600; font-size: 0.92rem; letter-spacing: 0.02em; }
.schedule tbody tr { background: linear-gradient(90deg, #fff 0%, #fffaf2 100%); }
.schedule tbody tr:nth-child(even) { background: linear-gradient(90deg, #fff7eb 0%, #fff 100%); }
.schedule tbody tr:last-child td { border-bottom: none; }
.schedule .day { font-family: var(--font-display); font-weight: 800; font-size: 1.1rem; color: var(--accent-dark); white-space: nowrap; }
.schedule .date { white-space: nowrap; font-weight: 600; }
.schedule .date small { color: var(--muted); font-weight: 500; }
.schedule .time { white-space: nowrap; color: var(--primary); font-weight: 600; }
.schedule-extras { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 18px; margin-top: 28px; }
.schedule-extras .card { text-align: center; }
.schedule-extras .card ul { list-style: none; padding: 0; margin: 0; }
.schedule-extras .card li { padding: 6px 0; border-bottom: 1px dashed var(--line); font-weight: 500; }
.schedule-extras .card li:last-child { border-bottom: none; }
.schedule-extras .card p { color: var(--ink); }
.card-date { font-weight: 700 !important; color: var(--accent-dark) !important; margin-bottom: 8px !important; }
.card.sandhi { background: var(--grad-dark); color: #fff; }
.card.sandhi::before { background: var(--grad-gold); }
.card.sandhi h3 { background: var(--grad-gold); color: var(--primary-dark); display: inline-block; padding: 4px 18px; border-radius: 999px; }
.card.sandhi .card-date { color: var(--gold) !important; }
.card.sandhi li { border-bottom-color: rgba(255,255,255,0.18); }
.card.sandhi p { color: #fff; }
.notices {
    margin-top: 28px; border-radius: var(--radius); padding: 18px 22px;
    background: linear-gradient(135deg, #fff2cc 0%, #ffe0b3 100%); border: 1px solid rgba(232,93,4,0.25); box-shadow: var(--shadow);
}
.notices p { margin: 6px 0; font-weight: 600; color: var(--primary); }

/* Committee */
.chairman {
    position: relative; text-align: center; color: #fff; border-radius: var(--radius); padding: 22px;
    margin: 0 auto 28px; max-width: 540px; display: grid; gap: 2px; overflow: hidden;
    background: var(--grad-brand); box-shadow: 0 18px 40px rgba(122,18,48,0.3);
}
.chairman::after { content: ""; position: absolute; width: 180px; height: 180px; border-radius: 50%; right: -60px; bottom: -90px; background: rgba(255,255,255,0.12); }
.chairman span { color: var(--gold); font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 600; }
.chairman strong { font-family: var(--font-display); font-weight: 800; font-size: 1.7rem; }
.chairman small { opacity: 0.9; }
.officers { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; margin-bottom: 28px; }
.officer {
    position: relative; border-radius: var(--radius); padding: 20px 16px; text-align: center; display: grid; gap: 4px;
    background: var(--grad-card); box-shadow: var(--shadow); overflow: hidden; border: 1px solid rgba(255,255,255,0.8);
}
.officer::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 5px; background: linear-gradient(90deg, var(--accent), #ff4d8d); }
.officer-role { color: var(--muted); font-size: 0.82rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; }
.officer strong { color: var(--primary); font-weight: 600; }
.committee-groups { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 18px; }
.card.group { text-align: center; }
.card.group h3 { background: var(--grad-brand); color: #fff; display: inline-block; padding: 5px 18px; border-radius: 999px; font-size: 1rem; font-weight: 700; }
.card.group ul { list-style: none; padding: 0; margin: 12px 0 0; }
.card.group li { padding: 6px 0; border-bottom: 1px dashed var(--line); color: var(--ink); font-weight: 500; }
.card.group li:last-child { border-bottom: none; }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 18px; }
.gallery-item { margin: 0; background: var(--surface); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform .2s; }
.gallery-item:hover { transform: translateY(-3px); }
.gallery-item img, .gallery-placeholder { aspect-ratio: 4 / 3; width: 100%; object-fit: cover; }
.gallery-placeholder { display: grid; place-items: center; font-size: 3rem; background: linear-gradient(135deg, #ffe9c7 0%, #ffc98a 60%, #ff9f5a 100%); color: var(--primary); }
.gallery-item figcaption { padding: 12px 14px; font-weight: 600; text-align: center; color: var(--primary); background: var(--grad-card); }

/* Donate */
.donate .section-sub { max-width: 720px; margin-left: auto; margin-right: auto; font-size: 1.02rem; color: var(--ink); }
.donate-grid { display: grid; grid-template-columns: 360px 1fr; gap: 26px; align-items: start; }
.qr-card {
    position: relative; border-radius: var(--radius); padding: 3px; text-align: center;
    background: conic-gradient(from 140deg, var(--gold), var(--accent), #ff4d8d, var(--primary), var(--gold));
    box-shadow: 0 20px 44px rgba(122,18,48,0.22);
}
.qr-card::after { content: ""; position: absolute; inset: 3px; border-radius: calc(var(--radius) - 3px); background: linear-gradient(160deg, #fff 0%, #fff6ea 100%); z-index: 0; }
.qr-card > * { position: relative; z-index: 1; }
.qr-card { display: grid; gap: 8px; justify-items: center; padding: 24px; }
.qr-badge { background: linear-gradient(135deg, #5f259f, #8a4de0); color: #fff; font-weight: 700; font-size: 0.82rem; padding: 5px 16px; border-radius: 999px; letter-spacing: 0.04em; box-shadow: 0 6px 14px rgba(95,37,159,0.35); }
.qr-card img { width: 100%; max-width: 280px; border-radius: 14px; background: #fff; padding: 6px; }
.qr-card strong { font-family: var(--font-display); font-weight: 800; font-size: 1.15rem; color: var(--primary); letter-spacing: 0.04em; }
.qr-card p { margin: 0; color: var(--muted); font-size: 0.92rem; font-weight: 500; }
.donate-cards { display: grid; grid-template-columns: 1fr; gap: 16px; }
.donate-cards .card { text-align: left; }
.donate-cards .card:nth-child(1)::before { background: linear-gradient(90deg, #5f259f, #8a4de0); }
.donate-cards .card:nth-child(2)::before { background: var(--grad-brand); }
.donate-cards .card:nth-child(3)::before { background: linear-gradient(90deg, #ff7a18, #ff4d8d); }

/* ---------- Footer ---------- */
.site-footer { position: relative; background: var(--grad-dark); color: var(--gold-soft); padding: 40px 0; overflow: hidden; }
.site-footer::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--grad-gold); }
.footer-grid { display: grid; gap: 12px; text-align: center; }
.footer-grid strong { font-family: var(--font-display); font-weight: 800; font-size: 1.15rem; color: #fff; }
.site-footer a { color: var(--gold); text-decoration: none; font-weight: 600; }
.site-footer a:hover { text-decoration: underline; }
.footer-copy { font-size: 0.85rem; opacity: 0.8; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
    .about-grid { grid-template-columns: 1fr; }
    .donate-grid { grid-template-columns: 1fr; }
    .qr-card { max-width: 400px; margin: 0 auto; width: 100%; }
}

@media (max-width: 800px) {
    .section { padding: 52px 0; scroll-margin-top: 76px; }
    #top { scroll-margin-top: 76px; }

    .brand-text strong { font-size: 0.9rem; }
    .nav-burger { display: grid; gap: 5px; width: 44px; height: 44px; place-content: center; cursor: pointer; border-radius: 12px; flex: none; background: var(--gold-soft); }
    .nav-burger span { display: block; width: 22px; height: 2.5px; background: var(--primary); border-radius: 2px; transition: transform .2s, opacity .2s; }
    .nav {
        position: absolute; left: 0; right: 0; top: 100%;
        background: rgba(255,251,245,0.98); backdrop-filter: blur(14px);
        flex-direction: column; gap: 4px; padding: 10px 16px 14px;
        display: none; box-shadow: 0 16px 30px rgba(0,0,0,0.10); border-bottom: 3px solid var(--gold);
    }
    .nav a { padding: 12px 14px; font-size: 1rem; border-radius: 12px; }
    .nav-toggle:checked ~ .nav { display: flex; }
    .nav-toggle:checked ~ .nav-burger span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
    .nav-toggle:checked ~ .nav-burger span:nth-child(2) { opacity: 0; }
    .nav-toggle:checked ~ .nav-burger span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

    .hero { padding: 44px 0 56px; }
    .hero-inner.has-image { grid-template-columns: 1fr; text-align: center; gap: 30px; }
    .hero-inner.has-image .hero-actions { justify-content: center; }
    .hero-image { order: -1; }
    .hero-image img { max-width: 240px; }
    .hero-image::before { inset: -10px; filter: blur(20px); }
    .hero-kicker { font-size: 0.95rem; }
    .hero-tagline { font-size: 1.05rem; }
    .btn { padding: 12px 22px; font-size: 0.95rem; }

    .table-wrap { background: transparent; box-shadow: none; overflow: visible; border: none; }
    .schedule thead { display: none; }
    .schedule, .schedule tbody, .schedule tr, .schedule td { display: block; width: 100%; }
    .schedule tbody tr, .schedule tbody tr:nth-child(even) {
        position: relative; background: var(--grad-card); border-radius: var(--radius); box-shadow: var(--shadow);
        margin-bottom: 14px; padding: 10px 0 12px; overflow: hidden; border: 1px solid rgba(255,255,255,0.8);
    }
    .schedule tbody tr::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 5px; background: var(--grad-gold); }
    .schedule td { border-bottom: none; padding: 6px 18px; white-space: normal !important; }
    .schedule td::before { content: attr(data-label); display: block; font-size: 0.72rem; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; }
    .schedule td.day { font-size: 1.35rem; padding-top: 10px; }
    .schedule td.day::before { display: none; }
    .schedule td.date, .schedule td.time { display: inline-block; width: auto; min-width: 48%; }
    .schedule td.events { border-top: 1px dashed var(--line); margin-top: 6px; padding-top: 10px; }

    .stats { grid-template-columns: 1fr 1fr; }
    .stat-num { font-size: 1.8rem; }
    .chairman strong { font-size: 1.4rem; }
    .gallery { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .gallery-item figcaption { font-size: 0.9rem; padding: 10px; }
}

@media (max-width: 420px) {
    .brand-text strong { font-size: 0.82rem; }
    .gallery { grid-template-columns: 1fr; }
    .schedule td.date, .schedule td.time { display: block; width: 100%; }
}

/* ---------- Members ---------- */
.member-groups { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; align-items: start; }
.member-card {
    position: relative; background: var(--grad-card); border-radius: var(--radius); box-shadow: var(--shadow);
    border: 1px solid rgba(255,255,255,0.8); overflow: hidden;
}
.member-card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 5px; background: var(--grad-brand); }
.member-card summary {
    list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 12px;
    padding: 20px 22px 14px; font-family: var(--font-display); font-weight: 800; font-size: 1.1rem; color: var(--primary);
}
.member-card summary::-webkit-details-marker { display: none; }
.member-card summary::after { content: "▾"; font-size: 1rem; color: var(--accent); transition: transform .2s; margin-left: auto; }
.member-card[open] summary::after { transform: rotate(180deg); }
.member-count-unused {
    font-family: var(--font-body); font-size: 0.8rem; font-weight: 700; color: #fff; background: var(--grad-gold);
    color: var(--primary-dark); padding: 2px 12px; border-radius: 999px;
}
.member-list { list-style: none; margin: 0; padding: 0 22px 20px; }
.member-list li { padding: 6px 0; border-bottom: 1px dashed var(--line); font-weight: 500; font-size: 0.95rem; break-inside: avoid; }
.member-list li:last-child { border-bottom: none; }
.member-list.cols { column-count: 2; column-gap: 24px; }

/* ---------- Accounts ---------- */
.balance-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 26px; }
.tile {
    position: relative; border-radius: var(--radius); padding: 22px 18px; text-align: center; color: #fff; overflow: hidden;
    display: grid; gap: 4px; box-shadow: 0 14px 30px rgba(122,18,48,0.2);
}
.tile::after { content: ""; position: absolute; right: -40px; top: -40px; width: 130px; height: 130px; border-radius: 50%; background: rgba(255,255,255,0.12); }
.tile span { font-size: 0.85rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; opacity: 0.9; }
.tile strong { font-family: var(--font-display); font-weight: 800; font-size: 1.9rem; line-height: 1.1; }
.tile.income { background: linear-gradient(135deg, #1b7f5a, #38b27a); }
.tile.expense { background: var(--grad-brand); }
.tile.cash { background: var(--grad-gold); color: var(--primary-dark); box-shadow: 0 14px 30px rgba(244,180,0,0.3); }
.balance-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 18px; align-items: start; }
.balance-card {
    position: relative; background: var(--grad-card); border-radius: var(--radius); box-shadow: var(--shadow);
    border: 1px solid rgba(255,255,255,0.8); overflow: hidden; padding: 20px 22px 8px;
}
.balance-card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 5px; background: var(--grad-gold); }
.balance-card:first-child::before { background: linear-gradient(90deg, #1b7f5a, #38b27a); }
.balance-card h3 { margin: 4px 0 10px; color: var(--primary); font-size: 1.15rem; }
.balance { width: 100%; border-collapse: collapse; }
.balance td { padding: 10px 0; border-bottom: 1px dashed var(--line); vertical-align: top; font-weight: 500; }
.balance tbody tr:last-child td { border-bottom: none; }
.balance .amt { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; font-weight: 600; color: var(--primary); padding-left: 16px; }
.balance tfoot td { border-top: 2px solid var(--line); border-bottom: none; font-family: var(--font-display); font-weight: 800; font-size: 1.05rem; padding-top: 12px; }
.balance tfoot tr.cash td { color: var(--accent-dark); border-top: none; padding-top: 2px; padding-bottom: 14px; }

@media (max-width: 800px) {
    .balance-tiles { grid-template-columns: 1fr; }
    .balance-grid { grid-template-columns: 1fr; }
    .tile strong { font-size: 1.6rem; }
    .member-groups { grid-template-columns: 1fr; }
    .member-list.cols { column-count: 1; }
    .member-card summary { font-size: 1.05rem; }
}

/* ---------- UPI tap-to-pay ---------- */
.qr-link { display: grid; gap: 6px; justify-items: center; text-decoration: none; color: inherit; }
.qr-link img { transition: transform .15s; }
.qr-link:active img { transform: scale(0.97); }
.qr-tap { display: none; font-size: 0.82rem; font-weight: 600; color: var(--accent-dark); }
.upi-id {
    display: inline-flex; align-items: center; gap: 8px; padding: 6px 8px 6px 14px; border-radius: 999px;
    background: #fff; border: 1.5px dashed rgba(122,18,48,0.35); font-family: 'Poppins', monospace; font-weight: 600; font-size: 0.95rem; color: var(--primary);
}
.copy-btn {
    font-family: var(--font-body); font-size: 0.78rem; font-weight: 700; cursor: pointer; border: none; border-radius: 999px;
    padding: 5px 12px; background: var(--grad-brand); color: #fff; transition: transform .15s, background .15s;
}
.copy-btn:hover { transform: translateY(-1px); }
.copy-btn.copied { background: linear-gradient(135deg, #1b7f5a, #38b27a); }
.btn-upi { display: none; background: linear-gradient(135deg, #5f259f, #8a4de0); color: #fff; box-shadow: 0 10px 24px rgba(95,37,159,0.35); width: 100%; max-width: 300px; }
.btn-upi:hover { box-shadow: 0 14px 30px rgba(95,37,159,0.45); }

/* मोबाइल/टैबलेट पर टैप-टू-पे दिखाएँ; डेस्कटॉप पर QR स्कैन ही उपयोगी है */
@media (max-width: 900px), (pointer: coarse) {
    .qr-tap { display: block; }
    .btn-upi { display: inline-block; }
}

/* ---------- Volunteers (alphabetical) ---------- */
.volunteers {
    margin-top: 40px; background: var(--grad-card); border-radius: var(--radius); box-shadow: var(--shadow);
    border: 1px solid rgba(255,255,255,0.8); padding: 0 18px 0; position: relative; overflow: hidden;
}
.volunteers::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 5px; background: var(--grad-brand); }
.volunteers summary {
    list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap;
    padding: 24px 8px 20px; text-align: center;
}
.volunteers summary::-webkit-details-marker { display: none; }
.volunteers summary::after {
    content: "▾"; font-size: 1.3rem; color: var(--accent); transition: transform .2s;
    display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--gold-soft);
}
.volunteers[open] summary::after { transform: rotate(180deg); }
.volunteers[open] summary { border-bottom: 1px dashed var(--line); margin-bottom: 20px; }
.volunteers .letter-groups { padding-bottom: 20px; }
.sub-title {
    font-family: var(--font-display); font-weight: 800; font-size: clamp(1.4rem, 2.6vw, 1.9rem); line-height: 1.2;
    background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.vol-hint { font-size: 0.9rem; font-weight: 600; color: var(--muted); }
.volunteers[open] .vol-hint { display: none; }
.letter-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-bottom: 22px; }
.letter-nav a {
    display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; text-decoration: none;
    font-family: var(--font-display); font-weight: 800; color: var(--primary); background: #fff; border: 1.5px solid var(--line);
    transition: background .15s, color .15s, transform .15s;
}
.letter-nav a:hover { background: var(--grad-gold); color: var(--primary-dark); transform: translateY(-2px); }
.letter-groups { display: grid; grid-template-columns: 1fr; gap: 10px; }
.letter-group {
    position: relative; display: grid; grid-template-columns: 48px 1fr; gap: 14px; align-items: start;
    background: var(--grad-card); border-radius: var(--radius-sm); padding: 10px 14px 10px 10px; box-shadow: var(--shadow);
    border: 1px solid rgba(255,255,255,0.8); scroll-margin-top: 90px;
}
.letter {
    display: grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; color: #fff;
    font-family: var(--font-display); font-weight: 800; font-size: 1.4rem; background: var(--grad-brand); box-shadow: 0 8px 18px rgba(122,18,48,0.25);
}
.letter-group ul { list-style: none; margin: 0; padding: 4px 0; display: flex; flex-wrap: wrap; gap: 8px; }
.letter-group li {
    padding: 6px 14px; border-radius: 999px; font-weight: 500; font-size: 0.92rem; line-height: 1.5;
    background: #fff; border: 1px solid var(--line); color: var(--ink); white-space: nowrap;
}
@media (max-width: 800px) {
    .letter-group { grid-template-columns: 40px 1fr; gap: 10px; padding: 8px 10px 8px 8px; }
    .letter { width: 40px; height: 40px; font-size: 1.2rem; border-radius: 10px; }
    .letter-group li { font-size: 0.88rem; padding: 5px 12px; white-space: normal; }
    .letter-nav a { width: 32px; height: 32px; font-size: 0.95rem; }
}

/* ---------- Floating donate button ---------- */
.fab-donate {
    display: none; position: fixed; z-index: 30;
    right: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px));
    align-items: center; gap: 8px; padding: 12px 18px 12px 14px; border-radius: 999px;
    background: linear-gradient(135deg, #5f259f, #8a4de0); color: #fff; text-decoration: none;
    font-family: var(--font-display); font-weight: 800; font-size: 1rem; letter-spacing: 0.01em;
    box-shadow: 0 12px 28px rgba(95,37,159,0.45), 0 0 0 0 rgba(138,77,224,0.5);
    animation: fab-pulse 2.4s ease-out infinite;
    transition: transform .25s, opacity .25s;
}
.fab-donate:active { transform: scale(0.96); }
.fab-donate.is-hidden { opacity: 0; transform: translateY(20px); pointer-events: none; }
.fab-icon { font-size: 1.2rem; line-height: 1; }
@keyframes fab-pulse {
    0%   { box-shadow: 0 12px 28px rgba(95,37,159,0.45), 0 0 0 0 rgba(138,77,224,0.55); }
    70%  { box-shadow: 0 12px 28px rgba(95,37,159,0.45), 0 0 0 14px rgba(138,77,224,0); }
    100% { box-shadow: 0 12px 28px rgba(95,37,159,0.45), 0 0 0 0 rgba(138,77,224,0); }
}
.fab-donate { display: inline-flex; }
.site-footer { padding-bottom: 88px; } /* बटन फुटर टेक्स्ट न ढँके */
@media (min-width: 801px) {
    .fab-donate { right: 24px; bottom: 24px; padding: 14px 22px 14px 18px; font-size: 1.05rem; }
}
@media (prefers-reduced-motion: reduce) { .fab-donate { animation: none; } }

/* ---------- Upcoming-event ticker ---------- */
.ticker {
    display: flex; align-items: stretch; text-decoration: none; color: #fff;
    background: var(--grad-brand); box-shadow: 0 6px 18px rgba(122,18,48,0.25); overflow: hidden;
    font-family: var(--font-body); font-weight: 500; font-size: 0.95rem;
}
.ticker-label {
    flex: none; display: grid; place-items: center; padding: 8px 16px;
    background: var(--grad-gold); color: var(--primary-dark); font-family: var(--font-display); font-weight: 800; letter-spacing: 0.02em;
    clip-path: polygon(0 0, 100% 0, calc(100% - 10px) 100%, 0 100%); padding-right: 22px;
}
.ticker-track { flex: 1; display: flex; overflow: hidden; align-items: center; }
.ticker-run { display: flex; flex: none; align-items: center; gap: 48px; padding: 8px 24px; white-space: nowrap; animation: ticker-scroll 40s linear infinite; }
.ticker-item { display: inline-flex; align-items: center; }
.ticker-item + .ticker-item::before { content: "✦"; color: var(--gold); margin-right: 48px; opacity: 0.9; }
.ticker:hover .ticker-run { animation-play-state: paused; }
@keyframes ticker-scroll { from { transform: translateX(0); } to { transform: translateX(-100%); } }
@media (prefers-reduced-motion: reduce) {
    .ticker-run { animation: none; white-space: normal; }
    .ticker-run[aria-hidden="true"] { display: none; }
}
@media (max-width: 800px) {
    .ticker { font-size: 0.88rem; }
    .ticker-label { padding: 6px 14px 6px 12px; font-size: 0.9rem; }
    .ticker-run { gap: 32px; padding: 7px 16px; }
    .ticker-item + .ticker-item::before { margin-right: 32px; }
}

/* आगामी पंक्ति हाइलाइट */
.schedule tbody tr.is-next, .schedule tbody tr.is-next:nth-child(even) { background: linear-gradient(90deg, #fff3cc 0%, #ffe6b8 100%); box-shadow: inset 4px 0 0 var(--accent); }
.next-badge {
    display: inline-block; vertical-align: middle; margin-left: 8px; padding: 2px 10px; border-radius: 999px;
    background: var(--grad-brand); color: #fff; font-family: var(--font-body); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.04em;
}
@media (max-width: 800px) {
    .schedule tbody tr.is-next { border-top-color: var(--primary); box-shadow: 0 0 0 2px var(--gold), var(--shadow); }
}

/* भोग वितरण स्थल सूचना — प्रमुख */
.notices .notice-venue {
    background: var(--grad-brand); color: #fff; border-radius: 12px; padding: 12px 16px; margin: 0 0 10px;
    font-family: var(--font-display); font-weight: 800; font-size: 1.05rem; line-height: 1.5; box-shadow: 0 8px 20px rgba(122,18,48,0.25);
}
