/* =====================================================
   GAU SEVA THEME — HEADER
   Palette: deep forest green · temple cream · saffron · gold
   ===================================================== */
:root {
    --gs-green-950: #072519;
    --gs-green-900: #0b3226;
    --gs-green-800: #0f3d2e;
    --gs-green-700: #145a43;
    --gs-green-soft: #e7f1ec;
    --gs-saffron: #e07a1f;
    --gs-saffron-dark: #c4600f;
    --gs-gold: #d4a24c;
    --gs-gold-light: #f2d08a;
    --gs-cream: #fbf5ea;
    --gs-cream-2: #f5e8d0;
    --gs-line: #ecdfc6;
    --gs-ink: #1f2b26;
    --gs-muted: #5f6f67;
    --gs-serif: 'Cormorant Garamond', Georgia, serif;
    --gs-sans: 'Poppins', system-ui, sans-serif;
    --gs-hindi: 'Tiro Devanagari Hindi', 'Poppins', serif;
}

/* ========== 1. TOP BAR ========== */
.gs-topbar {
    background: var(--gs-green-900);
    color: #e9efe9;
    height: 36px;
    font-family: var(--gs-sans);
    overflow: hidden;
}
.gs-topbar > .container-fluid { height: 100%; }
.gs-top-left { min-width: 0; overflow: hidden; }
.gs-top-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #e9efe9;
    font-size: 12.5px;
    text-decoration: none;
    white-space: nowrap;
    transition: color .2s ease;
}
.gs-top-item i { color: var(--gs-gold); font-size: 12px; }
a.gs-top-item:hover { color: var(--gs-gold-light); }
.gs-top-divider { width: 1px; height: 14px; background: rgba(255,255,255,.18); margin: 0 14px; }
.gs-top-right { height: 100%; flex-shrink: 0; }
.gs-top-social { gap: 14px; margin-right: 22px; }
.gs-follow { font-size: 12px; color: rgba(255,255,255,.65); }
.gs-top-social a { color: #fff; font-size: 12.5px; text-decoration: none; transition: color .2s ease, transform .2s ease; }
.gs-top-social a:hover { color: var(--gs-gold); transform: translateY(-2px); }
.gs-top-join {
    position: relative;
    overflow: hidden;
    height: 100%;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0 24px 0 36px;
    margin-right: -1rem;
    background: linear-gradient(90deg, var(--gs-saffron), var(--gs-saffron-dark));
    color: #fff !important;
    font-size: 12.5px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    clip-path: polygon(20px 0, 100% 0, 100% 100%, 0 100%);
}
.gs-top-join::after {
    content: '';
    position: absolute;
    top: 0; left: -80%;
    width: 45%; height: 100%;
    background: linear-gradient(100deg, transparent, rgba(255,255,255,.45), transparent);
    transform: skewX(-20deg);
    animation: gsShine 4s ease-in-out infinite;
}
@media (min-width: 1200px) { .gs-top-join { margin-right: -1.5rem; } }
@media (max-width: 767.98px) {
    .gs-topbar { height: 32px; }
    .gs-top-item { font-size: 12px; }
    .gs-top-social { gap: 10px; margin-right: 12px; }
    .gs-top-join { font-size: 12px; padding: 0 14px 0 26px; clip-path: polygon(14px 0, 100% 0, 100% 100%, 0 100%); }
}

/* ========== 2. MAIN HEADER ========== */
.gs-head {
    position: relative;
    z-index: 3;
    background:
        radial-gradient(ellipse 45% 140% at 50% 0%, rgba(242,208,138,.40), transparent 70%),
        linear-gradient(180deg, #fffaf2 0%, var(--gs-cream) 100%);
    font-family: var(--gs-sans);
    border-bottom: 1px solid var(--gs-line);
}
.gs-head-pattern {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    opacity: .55;
    background-image:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='260' height='260' viewBox='0 0 260 260'%3E%3Cg fill='none' stroke='%23d4a24c' stroke-opacity='.35' stroke-width='1'%3E%3Ccircle cx='130' cy='130' r='118'/%3E%3Ccircle cx='130' cy='130' r='96'/%3E%3Ccircle cx='130' cy='130' r='40'/%3E%3Cg id='p'%3E%3Cpath d='M130 34c14 22 14 50 0 72-14-22-14-50 0-72z'/%3E%3Cpath d='M130 12c8 10 8 22 0 30-8-8-8-20 0-30z'/%3E%3C/g%3E%3Cuse href='%23p' transform='rotate(30 130 130)'/%3E%3Cuse href='%23p' transform='rotate(60 130 130)'/%3E%3Cuse href='%23p' transform='rotate(90 130 130)'/%3E%3Cuse href='%23p' transform='rotate(120 130 130)'/%3E%3Cuse href='%23p' transform='rotate(150 130 130)'/%3E%3Cuse href='%23p' transform='rotate(180 130 130)'/%3E%3Cuse href='%23p' transform='rotate(210 130 130)'/%3E%3Cuse href='%23p' transform='rotate(240 130 130)'/%3E%3Cuse href='%23p' transform='rotate(270 130 130)'/%3E%3Cuse href='%23p' transform='rotate(300 130 130)'/%3E%3Cuse href='%23p' transform='rotate(330 130 130)'/%3E%3C/g%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: calc(50% - 380px) -110px, calc(50% + 380px) -110px;
    background-size: 240px, 240px;
}
.gs-head-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 14px;
    min-height: 74px;
    padding-top: 8px;
    padding-bottom: 8px;
}
.gs-head-left  { display: flex; align-items: center; gap: 14px; min-width: 0; }
.gs-head-right { display: flex; align-items: center; justify-content: flex-end; gap: 10px; min-width: 0; }

/* Burger */
.gs-burger {
    flex-shrink: 0;
    width: 48px; height: 48px;
    border: 0;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 6px 18px rgba(110,80,40,.14), inset 0 0 0 1px var(--gs-line);
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 5px;
    padding: 0 14px;
    cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease;
}
.gs-burger span { display: block; height: 2px; border-radius: 2px; background: var(--gs-green-800); transition: width .25s ease; }
.gs-burger span:nth-child(1) { width: 20px; }
.gs-burger span:nth-child(2) { width: 14px; background: var(--gs-saffron); }
.gs-burger span:nth-child(3) { width: 20px; }
.gs-burger:hover { transform: translateY(-1px); box-shadow: 0 10px 22px rgba(110,80,40,.2), inset 0 0 0 1px var(--gs-gold); }
.gs-burger:hover span:nth-child(2) { width: 20px; }

/* Visit pill */
.gs-visit {
    align-items: center;
    gap: 7px;
    padding: 6px 13px;
    border-radius: 40px;
    border: 1.2px solid var(--gs-saffron);
    background: #fff7ef;
    color: var(--gs-saffron-dark);
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    transition: background .2s ease, color .2s ease;
}
.gs-visit i { font-size: 11px; }
.gs-visit:hover { background: var(--gs-saffron); color: #fff; }

/* Tithi */
.gs-tithi { align-items: center; gap: 11px; min-width: 0; }
.gs-moon {
    flex-shrink: 0;
    display: inline-block;
    width: 42px; height: 42px;
    border-radius: 50%;
    background:
        radial-gradient(circle at 30% 35%, rgba(255,255,255,.95) 0 6%, transparent 7%),
        radial-gradient(circle at 62% 58%, rgba(170,170,160,.55) 0 9%, transparent 10%),
        radial-gradient(circle at 40% 70%, rgba(170,170,160,.45) 0 6%, transparent 7%),
        radial-gradient(circle at 70% 30%, rgba(170,170,160,.4) 0 5%, transparent 6%),
        radial-gradient(circle at 45% 40%, #fbfaf4 0%, #e3e1d6 60%, #c9c6b8 100%);
    box-shadow: 0 2px 8px rgba(0,0,0,.18);
}
.gs-tithi-txt { display: flex; flex-direction: column; min-width: 0; line-height: 1.3; }
.gs-tithi-txt strong { font-family: var(--gs-hindi); font-weight: 400; font-size: 16px; color: var(--gs-green-800); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gs-tithi-txt small  { font-family: var(--gs-hindi); font-size: 12.5px; color: var(--gs-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Centre brand */
.gs-head-brand { display: flex; align-items: center; gap: 12px; padding: 2px 0; min-width: 0; }
.gs-logo-wrap {
    position: relative;
    display: block;
    flex-shrink: 0;
    width: 60px; height: 60px;
    border-radius: 50%;
    padding: 3px;
    background: #fff;
    box-shadow: 0 0 0 2px var(--gs-gold), 0 0 0 6px rgba(212,162,76,.16), 0 8px 18px rgba(15,61,46,.18);
}
.gs-logo-wrap::before {
    content: '';
    position: absolute;
    inset: -8px;
    border-radius: 50%;
    border: 1.5px dashed rgba(212,162,76,.6);
    animation: gsSpin 26s linear infinite;
}
.gs-logo { width: 100%; height: 100%; object-fit: contain; border-radius: 50%; display: block; }
.gs-brand-text { display: flex; flex-direction: column; min-width: 0; }
.gs-title { font-family: var(--gs-serif); font-weight: 700; font-size: 18px; line-height: 1.08; letter-spacing: -.2px; }
.gs-title .t-green { color: var(--gs-green-800); }
.gs-title .t-saffron { color: var(--gs-saffron); }
.gs-tagline { font-family: var(--gs-hindi); font-size: 12px; color: #a3461b; margin-top: 3px; line-height: 1.3; }

/* Right side */
.gs-btn-member {
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 40px;
    border: 1.5px solid var(--gs-green-800);
    background: #fff;
    color: var(--gs-green-800);
    font-size: 13.5px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    box-shadow: 0 6px 16px rgba(110,80,40,.10);
    transition: background .2s ease, color .2s ease, transform .2s ease;
}
.gs-btn-member i { color: var(--gs-saffron); transition: color .2s ease; }
.gs-btn-member:hover { background: var(--gs-green-800); color: #fff; transform: translateY(-1px); }
.gs-btn-member:hover i { color: var(--gs-gold-light); }

.gs-acct {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 4px 16px 4px 4px;
    border-radius: 40px;
    background: #fff;
    color: var(--gs-green-800);
    font-size: 13.5px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    box-shadow: 0 6px 16px rgba(110,80,40,.12), inset 0 0 0 1px var(--gs-line);
    transition: box-shadow .2s ease, color .2s ease;
}
.gs-acct-ico {
    width: 36px; height: 36px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: var(--gs-green-800);
    color: var(--gs-gold-light);
    font-size: 15px;
}
.gs-acct:hover { color: var(--gs-saffron-dark); box-shadow: 0 8px 18px rgba(110,80,40,.18), inset 0 0 0 1px var(--gs-gold); }
@media (max-width: 575.98px) { .gs-acct { padding: 3px; } .gs-acct-ico { width: 34px; height: 34px; } }

.gs-btn-donate {
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 11px 22px;
    border-radius: 40px;
    background: linear-gradient(135deg, var(--gs-green-700), var(--gs-green-900));
    color: #fff !important;
    font-size: 14.5px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    box-shadow: 0 0 0 3px rgba(212,162,76,.35), 0 10px 22px rgba(11,50,38,.3);
    transition: transform .2s ease, box-shadow .2s ease;
}
.gs-btn-donate i { color: var(--gs-gold-light); animation: gsBeat 1.6s ease-in-out infinite; }
.gs-btn-donate:hover { transform: translateY(-2px); box-shadow: 0 0 0 4px rgba(212,162,76,.5), 0 14px 26px rgba(11,50,38,.38); }
.gs-btn-donate::after {
    content: '';
    position: absolute;
    top: 0; left: -80%;
    width: 45%; height: 100%;
    background: linear-gradient(100deg, transparent, rgba(255,255,255,.35), transparent);
    transform: skewX(-20deg);
    animation: gsShine 3.6s ease-in-out infinite;
}

/* Mobile tithi strip */
.gs-tithi-strip {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 6px 12px;
    border-top: 1px dashed var(--gs-line);
    background: rgba(255,255,255,.55);
    font-family: var(--gs-hindi);
    font-size: 13px;
    color: var(--gs-green-800);
    white-space: nowrap;
    overflow: hidden;
}
.gs-tithi-strip strong { font-weight: 400; }
.gs-tithi-strip small { font-size: 12px; color: var(--gs-muted); overflow: hidden; text-overflow: ellipsis; }
.gs-tithi-strip .dot { color: var(--gs-gold); }
.gs-moon.gs-moon-sm { width: 20px; height: 20px; }

/* Header responsive */
@media (max-width: 991.98px) {
    .gs-head-grid { grid-template-columns: auto 1fr auto; gap: 10px; min-height: 66px; }
    .gs-head-brand { justify-content: center; }
}
@media (max-width: 575.98px) {
    .gs-burger { width: 42px; height: 42px; padding: 0 12px; }
    .gs-logo-wrap { width: 46px; height: 46px; }
    .gs-logo-wrap::before { inset: -5px; }
    .gs-head-brand { gap: 8px; }
    .gs-title { font-size: 14.5px; }
    .gs-tagline { display: none; }
    .gs-btn-donate { padding: 9px 14px; font-size: 13px; gap: 6px; }
}
@media (min-width: 576px) {
    .gs-title { font-size: 20px; }
}
@media (min-width: 992px) {
    .gs-head-grid { min-height: 92px; }
    .gs-logo-wrap { width: 68px; height: 68px; }
    .gs-title { font-size: 22px; }
    .gs-tagline { font-size: 12.5px; }
}
@media (min-width: 1200px) {
    .gs-head-grid { min-height: 104px; padding-bottom: 22px; }
    .gs-logo-wrap { width: 74px; height: 74px; }
    .gs-title { font-size: 24px; }
    .gs-tagline { font-size: 13px; }
}
@media (min-width: 1600px) {
    .gs-title { font-size: 26px; }
}

/* ========== 3. HANGING TAB NAVBAR ========== */
.gs-navwrap {
    z-index: 1020;
    margin-top: -1px;
    pointer-events: none;
    font-family: var(--gs-sans);
}
.gs-tabbar {
    pointer-events: auto;
    position: relative;
    width: max-content;
    max-width: calc(100% - 32px);
    margin: 0 auto;
    padding: 0 22px;
    background: linear-gradient(180deg, var(--gs-green-800), var(--gs-green-900));
    border-radius: 0 0 22px 22px;
    box-shadow: 0 10px 26px rgba(8,42,32,.25);
    display: flex;
    align-items: center;
    gap: 14px;
    transition: box-shadow .3s ease, border-radius .3s ease;
}
.gs-tabbar::before {          /* gold hairline at the bottom edge */
    content: '';
    position: absolute;
    left: 24px; right: 24px; bottom: 0;
    height: 2px;
    border-radius: 2px;
    background: linear-gradient(90deg, transparent, var(--gs-gold), var(--gs-gold-light), var(--gs-gold), transparent);
    opacity: .75;
}
.gs-navwrap.is-scrolled .gs-tabbar { box-shadow: 0 14px 32px rgba(8,42,32,.42); }

.gs-menu { gap: 4px; }
.gs-menu > li { position: relative; flex: 0 0 auto; }
.gs-nav-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    height: 54px;
    padding: 0 12px;
    color: #eef4ef;
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    white-space: nowrap;
    transition: color .2s ease;
}
.gs-nav-ico { font-size: 12.5px; color: var(--gs-gold); width: 14px; text-align: center; }
.gs-caret { font-size: 9px; opacity: .8; transition: transform .25s ease; }
.gs-nav-link:hover, .gs-nav-link.active { color: var(--gs-gold-light); }
.gs-nav-link.active::after {   /* pointer triangle like a hanging tag */
    content: '';
    position: absolute;
    left: 50%; bottom: -9px;
    transform: translateX(-50%);
    border-left: 9px solid transparent;
    border-right: 9px solid transparent;
    border-top: 9px solid var(--gs-green-900);
}
.gs-has-drop:hover > .gs-nav-link .gs-caret { transform: rotate(180deg); }

/* Donate inside the tab bar */
.gs-nav-donate {
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-left: 4px;
    padding: 9px 20px;
    border-radius: 40px;
    background: linear-gradient(135deg, var(--gs-gold-light), var(--gs-gold));
    color: var(--gs-green-900) !important;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(0,0,0,.25);
    transition: transform .2s ease, filter .2s ease;
}
.gs-nav-donate i { color: #b91c1c; animation: gsBeat 1.6s ease-in-out infinite; }
.gs-nav-donate:hover { transform: translateY(-1px); filter: brightness(1.05); }
.gs-nav-donate::after {
    content: '';
    position: absolute;
    top: 0; left: -80%;
    width: 45%; height: 100%;
    background: linear-gradient(100deg, transparent, rgba(255,255,255,.55), transparent);
    transform: skewX(-20deg);
    animation: gsShine 3.6s ease-in-out infinite;
}

/* Dropdown */
.gs-drop {
    position: absolute;
    top: 100%;
    left: -8px;
    min-width: 250px;
    margin: 0;
    padding: 10px;
    list-style: none;
    background: #fff;
    border-radius: 14px;
    border-top: 3px solid var(--gs-gold);
    box-shadow: 0 18px 40px rgba(8,42,32,.22);
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: opacity .2s ease, transform .2s ease, visibility .2s;
    z-index: 1000;
}
.gs-has-drop:hover > .gs-drop { opacity: 1; visibility: visible; transform: translateY(4px); }
.gs-menu > li:nth-last-child(-n+2) > .gs-drop { left: auto; right: -8px; }
.gs-drop li { position: relative; }
.gs-drop-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 10px;
    border-radius: 10px;
    color: var(--gs-ink);
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    text-decoration: none;
    transition: background .2s ease, color .2s ease, padding-left .2s ease;
}
.gs-drop-ico {
    width: 34px; height: 34px;
    flex: 0 0 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 9px;
    background: var(--gs-green-soft);
    color: var(--gs-green-700);
    font-size: 14px;
    transition: background .2s ease, color .2s ease;
}
.gs-drop-label { flex: 1; }
.gs-drop-arrow { font-size: 10px; color: var(--gs-green-700); }
.gs-drop-item:hover, .gs-has-sub:hover > .gs-drop-item, .gs-drop-item.active { background: #f7f1e5; color: var(--gs-green-800); padding-left: 14px; }
.gs-drop-item:hover .gs-drop-ico, .gs-has-sub:hover > .gs-drop-item .gs-drop-ico, .gs-drop-item.active .gs-drop-ico { background: var(--gs-green-800); color: var(--gs-gold-light); }

.gs-sub {
    position: absolute;
    top: -10px;
    left: calc(100% + 8px);
    min-width: 260px;
    margin: 0;
    padding: 10px;
    list-style: none;
    background: #fff;
    border-radius: 14px;
    border-top: 3px solid var(--gs-gold);
    box-shadow: 0 18px 40px rgba(8,42,32,.22);
    opacity: 0;
    visibility: hidden;
    transform: translateX(8px);
    transition: opacity .2s ease, transform .2s ease, visibility .2s;
}
.gs-has-sub:hover > .gs-sub { opacity: 1; visibility: visible; transform: translateX(0); }
.gs-has-sub::after { content: ''; position: absolute; top: 0; right: -10px; width: 10px; height: 100%; }
.gs-menu > li:nth-last-child(-n+2) .gs-sub { left: auto; right: calc(100% + 8px); }
.gs-menu > li:nth-last-child(-n+2) .gs-has-sub::after { right: auto; left: -10px; }

@media (min-width: 1200px) and (max-width: 1499.98px) {
    .gs-navwrap .gs-nav-ico { display: none; }
    .gs-tabbar { padding: 0 14px; }
    .gs-nav-link { font-size: 14px; padding: 0 9px; gap: 5px; }
    .gs-nav-donate { padding: 8px 16px; font-size: 13.5px; }
}
@media (min-width: 1200px) and (max-width: 1299.98px) {
    .gs-nav-link { font-size: 13.5px; padding: 0 7px; }
}

/* ========== 4. SIDE DRAWER (from left) ========== */
.gs-drawer-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(8,30,22,.55);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    z-index: 99998;
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s ease, visibility .3s;
}
.gs-drawer-backdrop.active { opacity: 1; visibility: visible; }

.gs-drawer {
    position: fixed;
    top: 0; left: 0; bottom: 0;
    width: 88%;
    max-width: 420px;
    background: var(--gs-cream);
    box-shadow: 12px 0 40px rgba(0,0,0,.25);
    z-index: 99999;
    display: flex;
    flex-direction: column;
    transform: translateX(-105%);
    transition: transform .38s cubic-bezier(.25,1,.5,1);
    font-family: var(--gs-sans);
}
.gs-drawer.active { transform: translateX(0); }

.gs-drawer-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 16px 18px;
    background: #fffaf2;
    border-bottom: 1px solid var(--gs-line);
}
.gs-drawer-logo { width: 50px; height: 50px; border-radius: 50%; background: #fff; padding: 2px; object-fit: contain; box-shadow: 0 0 0 2px var(--gs-gold); flex-shrink: 0; }
.gs-drawer-name { font-family: var(--gs-serif); font-size: 19px; font-weight: 700; line-height: 1.15; color: var(--gs-green-800); }
.gs-drawer-tag { font-family: var(--gs-hindi); font-size: 12px; color: #a3461b; }
.gs-drawer-close {
    width: 42px; height: 42px;
    border: 0;
    border-radius: 50%;
    background: #fff;
    color: var(--gs-saffron-dark);
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(110,80,40,.15), inset 0 0 0 1px var(--gs-line);
    transition: transform .2s ease, background .2s ease, color .2s ease;
}
.gs-drawer-close:hover { transform: rotate(90deg); background: var(--gs-saffron); color: #fff; }

.gs-drawer-body { flex: 1; overflow-y: auto; padding: 12px 18px 18px; -webkit-overflow-scrolling: touch; }
.gs-drawer-body::-webkit-scrollbar { width: 6px; }
.gs-drawer-body::-webkit-scrollbar-thumb { background: #d9c9a6; border-radius: 6px; }

.gs-drawer-tithi {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
    padding: 10px 12px;
    border-radius: 14px;
    background: #fff;
    border: 1px solid var(--gs-line);
}
.gs-drawer-tithi .gs-moon { width: 36px; height: 36px; }
.gs-drawer-tithi strong { display: block; font-family: var(--gs-hindi); font-weight: 400; font-size: 15px; color: var(--gs-green-800); }
.gs-drawer-tithi small { display: block; font-family: var(--gs-hindi); font-size: 12px; color: var(--gs-muted); }

.gs-drawer-list > a, .gs-drawer-list > .card-collapse-group { border-bottom: 1px dashed var(--gs-line); }
.gs-d-item, .card-collapse-trigger {
    display: flex;
    align-items: center;
    gap: 14px;
    width: 100%;
    padding: 14px 4px;
    border: 0;
    background: transparent;
    color: var(--gs-ink);
    text-align: left;
    text-decoration: none;
    font-family: inherit;
    transition: color .2s ease, padding-left .2s ease;
}
.card-collapse-trigger { justify-content: space-between; }
.gs-d-left { display: flex; align-items: center; gap: 14px; }
.gs-d-ico { width: 22px; text-align: center; font-size: 17px; color: var(--gs-green-700); flex-shrink: 0; }
.gs-d-label { font-size: 15.5px; font-weight: 600; }
.gs-d-item:hover, .card-collapse-trigger:hover { color: var(--gs-green-800); padding-left: 8px; }
.gs-d-item.active, .card-collapse-trigger.open { color: var(--gs-saffron-dark); }
.gs-d-item.active .gs-d-ico, .card-collapse-trigger.open .gs-d-ico { color: var(--gs-saffron); }

/* + / − toggle box */
.gs-tog {
    position: relative;
    flex-shrink: 0;
    width: 34px; height: 34px;
    border-radius: 7px;
    background: #fdf1d8;
    box-shadow: inset 0 0 0 1px #e8cf98;
}
.gs-tog::before, .gs-tog::after {
    content: '';
    position: absolute;
    left: 50%; top: 50%;
    width: 13px; height: 2px;
    border-radius: 2px;
    background: #8a3a12;
    transform: translate(-50%, -50%);
    transition: transform .25s ease;
}
.gs-tog::after { transform: translate(-50%, -50%) rotate(90deg); }
.card-collapse-trigger.open > .gs-tog::after { transform: translate(-50%, -50%) rotate(0deg); }
.card-collapse-trigger.open > .gs-tog { background: #fbe3b6; }
.gs-tog.gs-tog-sm { width: 26px; height: 26px; border-radius: 6px; }
.gs-tog.gs-tog-sm::before, .gs-tog.gs-tog-sm::after { width: 10px; }

.card-collapse-group { display: flex; flex-direction: column; }
.card-collapse-panel { display: none; flex-direction: column; gap: 2px; padding: 0 0 12px 36px; }
.card-collapse-panel.show { display: flex; }
.card-collapse-panel .card-collapse-panel { padding: 2px 0 6px 14px; }
.nested-link {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 8px 10px;
    border-radius: 8px;
    color: var(--gs-muted);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: background .15s ease, color .15s ease;
}
.nested-link i, .nested-trigger-label i { color: var(--gs-saffron); }
.nested-link:hover, .nested-link.active { background: #fff; color: var(--gs-green-800); }
.card-collapse-trigger.is-nested { padding: 8px 10px; font-size: 14px; font-weight: 500; color: var(--gs-muted); }
.card-collapse-trigger.is-nested:hover { padding-left: 14px; }
.nested-trigger-label { display: inline-flex; align-items: center; gap: 9px; }

.gs-drawer-cta { margin-top: 16px; display: flex; flex-direction: column; gap: 10px; }
.gs-d-feed {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 12px 8px 8px;
    border-radius: 14px;
    background: #fff;
    box-shadow: inset 0 0 0 1px var(--gs-line);
    text-decoration: none;
}
.gs-d-feed img { width: 82px; height: 70px; object-fit: contain; flex-shrink: 0; }
.gs-d-feed strong { display: block; font-family: var(--gs-serif); font-size: 19px; line-height: 1.1; color: var(--gs-green-800); }
.gs-d-feed small { display: block; margin-top: 3px; font-size: 12px; color: var(--gs-muted); }
.gs-d-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 12px 18px;
    border-radius: 40px;
    background: var(--gs-green-800);
    color: #fff !important;
    font-size: 14.5px;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 6px 14px rgba(15,61,46,.22);
}
.gs-d-btn-donate { background: linear-gradient(135deg, var(--gs-saffron), var(--gs-saffron-dark)); box-shadow: 0 6px 14px rgba(196,96,15,.28); }
.gs-d-logout { border: 0; background: transparent; color: #b42318; font-weight: 600; font-size: 14px; padding: 4px; }
.gs-d-newuser { font-size: 13px; color: var(--gs-muted); font-weight: 500; }
.gs-d-newuser a { color: var(--gs-green-800); font-weight: 700; text-decoration: none; }

.gs-drawer-foot {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 14px 18px 16px;
    background: var(--gs-green-800);
    border-top: 3px solid var(--gs-gold);
}
.gs-drawer-help { color: var(--gs-gold-light); font-size: 13.5px; font-weight: 600; text-decoration: none; }
.gs-drawer-help i { margin-right: 6px; }
.gs-drawer-social { display: flex; gap: 12px; }
.gs-drawer-social a {
    width: 42px; height: 42px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,.1);
    color: #fff;
    font-size: 16px;
    text-decoration: none;
    transition: background .2s ease, color .2s ease, transform .2s ease;
}
.gs-drawer-social a:hover { background: var(--gs-gold); color: var(--gs-green-900); transform: translateY(-2px); }

.gs-drawer.active .gs-drawer-list > * { animation: gsSlideIn .4s cubic-bezier(.2,.8,.2,1) backwards; }
.gs-drawer.active .gs-drawer-list > *:nth-child(2) { animation-delay: .04s; }
.gs-drawer.active .gs-drawer-list > *:nth-child(3) { animation-delay: .08s; }
.gs-drawer.active .gs-drawer-list > *:nth-child(4) { animation-delay: .12s; }
.gs-drawer.active .gs-drawer-list > *:nth-child(5) { animation-delay: .16s; }
.gs-drawer.active .gs-drawer-list > *:nth-child(6) { animation-delay: .2s; }
.gs-drawer.active .gs-drawer-list > *:nth-child(7) { animation-delay: .24s; }
.gs-drawer.active .gs-drawer-list > *:nth-child(n+8) { animation-delay: .28s; }

/* ========== ANIMATIONS ========== */
@keyframes gsShine   { 0% { left: -80%; } 55%,100% { left: 140%; } }
@keyframes gsBeat    { 0%,100% { transform: scale(1); } 15% { transform: scale(1.25); } 30% { transform: scale(1); } 45% { transform: scale(1.15); } 60% { transform: scale(1); } }
@keyframes gsSpin    { to { transform: rotate(360deg); } }
@keyframes gsPing    { 0% { box-shadow: 0 0 0 0 rgba(229,72,77,.5); } 100% { box-shadow: 0 0 0 12px rgba(229,72,77,0); } }
@keyframes gsSlideIn { from { opacity: 0; transform: translateX(-24px); } to { opacity: 1; transform: none; } }

.gs-head a:focus-visible, .gs-head button:focus-visible, .gs-navwrap a:focus-visible, .gs-drawer a:focus-visible, .gs-drawer button:focus-visible {
    outline: 2px solid var(--gs-gold);
    outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
    .gs-topbar *, .gs-head *, .gs-navwrap *, .gs-drawer, .gs-drawer * { animation: none !important; transition: none !important; }
}