/* Namaste PanditJi theme: design tokens + global components. Loaded before native-app.css and ui-polish.css. */
/* ============================================================
   DESIGN TOKENS — single source of truth for the whole app.
   Names are stable (existing var(--…) refs + native-app.css rely
   on them); values are refined for a calmer, premium feel.
   ============================================================ */
:root {
    /* Typography — display serif for headings, clean sans for body. Noto Sans
       Devanagari is appended to every stack so Hindi/Sanskrit renders cleanly. */
    /* Display serif for headings (sacred, inscriptional) + clean sans for body.
       Noto Sans Devanagari renders Hindi/Sanskrit in both. */
    --font-heading: 'Poppins', 'Noto Sans Devanagari', -apple-system, 'Segoe UI', sans-serif;
    --font-body: 'Poppins', 'Noto Sans Devanagari', -apple-system, 'Segoe UI', sans-serif;
    /* ── Brand accents ── */
    --saffron: #E8650A;          /* primary action / brand */
    --saffron-light: #FF7B1C;
    --saffron-dark: #C4530A;
    --saffron-soft: #FCEBDD;     /* tinted surface behind accents */
    --crimson: #8B1A10;          /* headings / depth (warmer maroon) */
    --crimson-light: #A5241A;
    --gold: #B8863B;             /* refined — less neon yellow */
    --gold-light: #D8AE63;

    /* ── Neutral surfaces & ink ── */
    --cream: #FFFCF8;            /* app background — cleaner, less orange */
    --cream-dark: #FBF3E9;
    --surface: #FFFFFF;          /* cards */
    --surface-2: #FBF6EF;        /* subtly raised panels */
    --ink: #1C140D;
    --text-primary: #1C140D;     /* warm near-black */
    --text-secondary: #574434;
    --text-muted: #927F6C;
    --border-light: #EFE5D8;     /* hairline */
    --border: #E4D6C4;

    /* ── Elevation — neutral & soft (premium, not maroon-tinted) ── */
    --shadow-sm: 0 1px 2px rgba(28,20,13,0.04), 0 1px 3px rgba(28,20,13,0.06);
    --shadow-md: 0 4px 14px rgba(28,20,13,0.06), 0 2px 4px rgba(28,20,13,0.04);
    --shadow-lg: 0 14px 38px rgba(28,20,13,0.10), 0 4px 10px rgba(28,20,13,0.05);

    /* ── Radius scale ── */
    --radius-xs: 6px;
    --radius-sm: 10px;
    --radius: 14px;
    --radius-lg: 20px;
    --radius-pill: 999px;

    /* ── Spacing scale (4px base) ── */
    --space-1: 4px;  --space-2: 8px;  --space-3: 12px; --space-4: 16px;
    --space-5: 24px; --space-6: 32px; --space-7: 48px; --space-8: 64px;

    /* ── Type scale ── */
    --text-xs: 0.75rem;  --text-sm: 0.875rem; --text-base: 1rem;
    --text-lg: 1.125rem; --text-xl: 1.375rem; --text-2xl: 1.75rem;
    --text-3xl: 2.25rem; --text-4xl: clamp(2rem, 4.2vw, 3rem);

    /* ── Motion & focus ── */
    --transition: all 0.2s cubic-bezier(0.4,0,0.2,1);
    --ease: cubic-bezier(0.4,0,0.2,1);
    --focus-ring: 0 0 0 3px rgba(232,101,10,0.30);
    --container-max: 1200px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

/* ── TYPOGRAPHY ── ONE font (Poppins) across the whole app — headings and body
   alike. This !important override wins over every hardcoded 'Cinzel' rule and
   inline font-family in the markup, so nothing needs to be edited individually.
   Bootstrap-Icons keep their own icon font. */
body, h1, h2, h3, h4, h5, h6, p, a, span, div, li, ul, ol, dl, dt, dd,
td, th, caption, label, input, textarea, select, option, button, .btn, small, cite,
.section-title, .hero-title, .hbs-title, .brand-name, .footer-brand-name, .display-serif,
.page-hero h1, .stat-num, .hero-stat-val, .hiw-step h5 {
    font-family: var(--font-body) !important;
}
.bi, [class^="bi-"], [class*=" bi-"] { font-family: "bootstrap-icons" !important; }

body {
    font-family: var(--font-body);
    background-color: var(--cream);
    color: var(--text-primary);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

/* ── Global type rhythm — headings carry the design (Calendly-calm) ── */
h1, h2, h3, h4, h5, h6 { line-height: 1.2; letter-spacing: -0.01em; color: var(--text-primary); }
p { color: var(--text-secondary); }
a { color: var(--saffron-dark); }

/* ── Accessible focus — visible ring for keyboard users everywhere ── */
:focus-visible { outline: none; box-shadow: var(--focus-ring); border-radius: var(--radius-xs); }
.btn:focus-visible, a:focus-visible, button:focus-visible,
.form-control:focus-visible, .form-select:focus-visible { box-shadow: var(--focus-ring) !important; }

/* ── TOP ANNOUNCEMENT BAR ── */
.top-bar {
    background: linear-gradient(90deg, #6B0000 0%, #8B0000 50%, #6B0000 100%);
    color: rgba(255,224,178,0.9);
    font-size: 0.75rem;
    padding: 7px 0;
    letter-spacing: 0.3px;
    text-align: center;
}
.top-bar a { color: #FFD59E; text-decoration: none; }
.top-bar a:hover { color: #fff; }
.top-bar-ticker { display: flex; align-items: center; justify-content: center; gap: 20px; flex-wrap: wrap; }

/* ── NAVBAR ── */
.navbar-main {
    background: #fff;
    border-bottom: 1px solid var(--border-light);
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 1030;
    box-shadow: 0 1px 0 var(--border-light);
    transition: box-shadow 0.2s;
}
.navbar-main.scrolled { box-shadow: 0 4px 24px rgba(139,0,0,0.10); }
.navbar-main .container { padding-top: 10px; padding-bottom: 10px; }

.navbar-brand-wrap { display: flex; align-items: center; gap: 10px; text-decoration: none; flex-shrink: 0; }
.brand-icon {
    width: 42px; height: 42px;
    background: linear-gradient(135deg, var(--crimson), var(--saffron));
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    color: #FFD700; font-size: 1.25rem;
    flex-shrink: 0;
}
.brand-name { font-family: var(--font-heading); font-size: 1.1rem; font-weight: 700; color: var(--crimson); line-height: 1.1; }
.brand-tagline { font-size: 0.58rem; color: var(--text-muted); letter-spacing: 1.5px; text-transform: uppercase; font-family: 'Poppins', sans-serif; font-weight: 500; }

/* Nav links */
.nav-link-main {
    color: var(--text-secondary) !important;
    font-weight: 500;
    font-size: 0.86rem;
    padding: 8px 12px !important;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    white-space: nowrap;
    text-decoration: none;
}
.nav-link-main:hover, .nav-link-main.active {
    color: var(--crimson) !important;
    background: var(--cream-dark);
}

/* Category quick-nav — AstroTalk style */
.nav-category-bar {
    background: var(--surface);
    border-bottom: 1px solid var(--border-light);
    overflow-x: auto;
    scrollbar-width: none;
}
.nav-category-bar::-webkit-scrollbar { display: none; }
.nav-category-inner { display: flex; gap: 0; padding: 0; min-width: max-content; }
.nav-cat-link {
    display: flex; align-items: center; gap: 7px;
    padding: 11px 18px;
    font-size: 0.82rem; font-weight: 500;
    color: var(--text-secondary);
    text-decoration: none;
    white-space: nowrap;
    border-bottom: 2px solid transparent;
    transition: var(--transition);
}
/* Calm restraint: one accent for all category icons, not a rainbow. */
.nav-category-bar .nav-cat-link i { color: var(--saffron) !important; font-size: 0.95rem; }
.nav-cat-link:hover { color: var(--crimson); border-bottom-color: var(--saffron); background: var(--surface-2); }
.nav-cat-link.active { color: var(--crimson); border-bottom-color: var(--saffron); font-weight: 600; }

/* Wallet balance chip in navbar */
.wallet-chip {
    display: inline-flex; align-items: center; gap: 6px;
    background: linear-gradient(135deg, var(--cream-dark), #FFE8CC);
    border: 1.5px solid #F0C898;
    border-radius: 50px;
    padding: 5px 14px 5px 8px;
    font-size: 0.82rem; font-weight: 700;
    color: var(--crimson);
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
}
.wallet-chip:hover { border-color: var(--saffron); color: var(--saffron); }
.wallet-chip .wi { color: var(--saffron); font-size: 1rem; }

.add-money-btn {
    background: linear-gradient(135deg, #22C55E, #16A34A);
    color: #fff; border: none;
    font-size: 0.78rem; font-weight: 600;
    border-radius: 50px; padding: 5px 14px;
    cursor: pointer; transition: var(--transition);
    white-space: nowrap;
}
.add-money-btn:hover { transform: translateY(-1px); box-shadow: 0 4px 12px rgba(34,197,94,0.35); color: #fff; }

/* Dropdown */
.dropdown-menu {
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    padding: 8px;
    min-width: 210px;
}
.dropdown-item {
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    padding: 8px 14px;
    color: var(--text-secondary);
    transition: var(--transition);
}
.dropdown-item:hover { background: var(--cream-dark); color: var(--crimson); }
.dropdown-item-wallet {
    background: linear-gradient(135deg, #FFF8EC, #FFF0D8);
    border-radius: var(--radius-sm);
    padding: 10px 14px; margin-bottom: 4px;
}

.navbar-toggler { border: 1px solid var(--border-light); padding: 6px 10px; border-radius: var(--radius-sm); background: transparent; }
.navbar-toggler:focus { box-shadow: none; }

/* ── LANGUAGE SWITCHER (Google Website Translator — EN/HI/MR) ──
   Google injects its own widget markup into #google_translate_element; this
   just re-skins it to look like a small pill so it matches the rest of the nav. */
.np-lang-switch { display: inline-flex; align-items: center; margin-left: 10px; flex-shrink: 0; }
.np-lang-switch .goog-te-gadget { font-family: var(--font-body) !important; font-size: 0 !important; color: transparent !important; }
.np-lang-switch .goog-te-gadget-simple {
    background: var(--cream-dark); border: 1.5px solid var(--border-light);
    border-radius: var(--radius-pill); padding: 6px 12px 6px 10px;
    display: inline-flex !important; align-items: center; cursor: pointer;
    transition: var(--transition);
}
.np-lang-switch .goog-te-gadget-simple:hover { border-color: var(--saffron); }
.np-lang-switch .np-lang-icon { color: var(--saffron); font-size: 0.9rem; margin-right: 6px; }
.np-lang-switch .goog-te-gadget-simple .goog-te-menu-value span {
    font-size: 0.78rem !important; color: var(--crimson) !important; font-weight: 600 !important;
}
.np-lang-switch .goog-te-gadget-icon { display: none !important; }
.np-lang-switch img { display: none !important; }
/* Google's top translation banner shifts the whole page down 40px — suppress it so
   our own sticky navbar / layout never jumps when a language is selected. Google's
   current widget build gives the banner's wrapper an un-hashed "skiptranslate" class
   as a direct child of <body> (the iframe itself gets a hashed class we can't target
   reliably), so we hide it structurally rather than by the old .goog-te-banner-frame
   class name, which no longer matches. */
body > div.skiptranslate { display: none !important; }
.goog-te-banner-frame.skiptranslate { display: none !important; }
body { top: 0px !important; }
.goog-text-highlight { background: none !important; box-shadow: none !important; }
#goog-gt-tt, .goog-te-balloon-frame { display: none !important; }

/* ── BUTTONS ── */
/* Premium restraint: solid saffron primary, subtle hover (no big lift),
   soft neutral shadow, comfortable 44px tap height. */
.btn-primary-brand {
    background: var(--saffron);
    color: #fff; border: 1px solid transparent;
    font-weight: 600; font-size: 0.9rem; line-height: 1.2;
    border-radius: var(--radius-pill); padding: 11px 24px; min-height: 44px;
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    transition: var(--transition);
}
.btn-primary-brand:hover { color: #fff; background: var(--saffron-dark); box-shadow: var(--shadow-md); }
.btn-primary-brand:active { transform: translateY(1px); }
.btn-outline-brand {
    border: 1.5px solid var(--border); color: var(--crimson);
    font-weight: 600; font-size: 0.9rem; line-height: 1.2;
    border-radius: var(--radius-pill); padding: 10px 22px; min-height: 44px;
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    background: var(--surface); transition: var(--transition);
}
.btn-outline-brand:hover { border-color: var(--crimson); background: var(--surface-2); color: var(--crimson); }
.btn-saffron {
    background: var(--saffron);
    color: #fff; border: 1px solid transparent;
    font-weight: 600; font-size: 0.9rem; line-height: 1.2;
    border-radius: var(--radius-pill); padding: 11px 24px; min-height: 44px;
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    transition: var(--transition);
}
.btn-saffron:hover { color: #fff; background: var(--saffron-dark); box-shadow: var(--shadow-md); }
.btn-saffron:active { transform: translateY(1px); }
.btn-outline-saffron {
    border: 1.5px solid var(--saffron); color: var(--saffron-dark);
    font-weight: 600; border-radius: var(--radius-pill);
    padding: 10px 22px; min-height: 44px; background: var(--surface);
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    font-size: 0.9rem; line-height: 1.2; transition: var(--transition);
}
.btn-outline-saffron:hover { background: var(--saffron); color: #fff; border-color: var(--saffron); }

/* ── CARDS ── */
.card-pro {
    border: 1px solid var(--border-light); border-radius: var(--radius-lg);
    background: var(--surface); box-shadow: var(--shadow-sm); transition: var(--transition); overflow: hidden;
}
.card-pro:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: var(--border); }
.card-spiritual { border: 1px solid var(--border-light); border-radius: var(--radius-lg); background: var(--surface); box-shadow: var(--shadow-sm); }

/* ── SECTION TITLES ── */
.section-label {
    display: inline-block;
    font-size: 0.72rem; font-weight: 600;
    letter-spacing: 2.5px; text-transform: uppercase;
    color: var(--saffron); background: rgba(232,101,10,0.08);
    padding: 4px 14px; border-radius: 50px;
    margin-bottom: 12px; font-family: 'Poppins', sans-serif;
}
.section-title { font-family: var(--font-heading); color: var(--crimson); font-weight: 700; line-height: 1.3; }
.section-title::after {
    content: ''; display: block; width: 48px; height: 3px;
    background: linear-gradient(90deg, var(--saffron), var(--gold));
    border-radius: 2px; margin-top: 8px;
}
.section-title.centered::after { margin: 10px auto 0; }

/* ══════════════════════════════════════════════════════════════════════
   PREMIUM LAYER — depth, glass, gradient CTAs, motion, temple texture.
   Loaded after the base rules so it refines them without touching markup.
   ══════════════════════════════════════════════════════════════════════ */
:root {
    --grad-flame: linear-gradient(135deg, #FF8A3C 0%, #E8650A 48%, #C4530A 100%);
    --grad-sanctum: linear-gradient(150deg, #5A0E08 0%, #7A1710 55%, #8B1A10 100%);
    --glow-gold: 0 0 0 1px rgba(230,195,106,0.45), 0 10px 30px rgba(232,101,10,0.28);
    --ease-soft: cubic-bezier(.2,.7,.2,1);
}
/* Faint mandala / temple line-art texture used behind hero + section bands. */
.np-texture, .hero-slideshow, .hiw-section, .store-promo-section, .cta-section {
    position: relative;
}
.np-texture::before, .cta-section::before {
    content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140' viewBox='0 0 140 140'%3E%3Cg fill='none' stroke='%23E6C36A' stroke-width='1' opacity='0.5'%3E%3Ccircle cx='70' cy='70' r='58'/%3E%3Ccircle cx='70' cy='70' r='40'/%3E%3Ccircle cx='70' cy='70' r='22'/%3E%3Cpath d='M70 4v132M4 70h132M24 24l92 92M116 24l-92 92'/%3E%3C/g%3E%3C/svg%3E");
    background-size: 240px 240px; opacity: 0.06;
}
.cta-section > .container, .np-texture > * { position: relative; z-index: 1; }

/* ── Frosted-glass sticky header ── */
.navbar-main {
    background: rgba(255,252,248,0.72);
    -webkit-backdrop-filter: saturate(1.5) blur(14px);
    backdrop-filter: saturate(1.5) blur(14px);
    border-bottom: 1px solid rgba(228,214,196,0.6);
    box-shadow: none;
    transition: transform .35s var(--ease-soft), background .3s, box-shadow .3s, backdrop-filter .3s;
    will-change: transform;
}
.navbar-main.scrolled {
    background: rgba(255,252,248,0.9);
    box-shadow: 0 8px 30px rgba(90,14,8,0.10);
    border-bottom-color: rgba(184,134,59,0.35);
}
.navbar-main.nav-hidden { transform: translateY(-100%); }

/* ── Gradient CTAs with glow + lift ── */
.btn-primary-brand, .btn-saffron, .hero-cta-primary, .add-money-btn {
    background: var(--grad-flame) !important;
    border: 1px solid transparent !important;
    box-shadow: 0 6px 18px rgba(232,101,10,0.30), inset 0 1px 0 rgba(255,255,255,0.28);
    transition: transform .25s var(--ease-soft), box-shadow .25s var(--ease-soft), filter .25s;
}
.btn-primary-brand:hover, .btn-saffron:hover, .hero-cta-primary:hover, .add-money-btn:hover {
    transform: translateY(-2px); filter: brightness(1.05); color: #fff !important;
    box-shadow: 0 12px 30px rgba(232,101,10,0.44), var(--glow-gold), inset 0 1px 0 rgba(255,255,255,0.32);
}
.btn-primary-brand:active, .btn-saffron:active, .hero-cta-primary:active { transform: translateY(0); }
.btn-outline-saffron, .btn-outline-brand { transition: transform .25s var(--ease-soft), box-shadow .25s, background .25s, color .25s, border-color .25s; }
.btn-outline-saffron:hover, .btn-outline-brand:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(232,101,10,0.18); }

/* ── Cards: lift + gold glow-border on hover ── */
.card-pro, .card-spiritual, .pandit-card, .pj-card-list, .store-promo-card, .home-pooja-card {
    transition: transform .3s var(--ease-soft), box-shadow .3s var(--ease-soft), border-color .3s;
}
.card-pro:hover, .card-spiritual:hover, .pandit-card:hover, .pj-card-list:hover, .store-promo-card:hover, .home-pooja-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 44px rgba(90,14,8,0.14), 0 0 0 1px rgba(230,195,106,0.5);
    border-color: rgba(230,195,106,0.6) !important;
}

/* ── Scroll-reveal (JS adds .reveal-ready to <html>; no-JS shows everything) ── */
.reveal-ready [data-aos] { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease-soft), transform .7s var(--ease-soft); will-change: opacity, transform; }
.reveal-ready [data-aos="zoom-in"] { transform: scale(.94); }
.reveal-ready [data-aos="fade-right"] { transform: translateX(-28px); }
.reveal-ready [data-aos="fade-left"] { transform: translateX(28px); }
.reveal-ready [data-aos].reveal-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    .reveal-ready [data-aos] { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* ── Animated counter emphasis ── */
.stat-num { font-family: var(--font-heading); font-weight: 700; background: var(--grad-flame); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }

/* ── Floating WhatsApp / call FAB ── */
.np-fab {
    position: fixed; right: 18px; bottom: 84px; z-index: 1035;
    display: inline-flex; align-items: center; justify-content: center;
    width: 54px; height: 54px; border-radius: 50%;
    background: linear-gradient(135deg,#25D366,#128C4B); color: #fff; font-size: 1.55rem;
    box-shadow: 0 10px 26px rgba(18,140,75,0.45); text-decoration: none;
    transition: transform .25s var(--ease-soft), box-shadow .25s;
    animation: fabPulse 2.6s ease-in-out infinite;
}
.np-fab:hover { transform: scale(1.08); color: #fff; box-shadow: 0 14px 32px rgba(18,140,75,0.55); }
@keyframes fabPulse { 0%,100%{ box-shadow: 0 10px 26px rgba(18,140,75,0.45), 0 0 0 0 rgba(37,211,102,0.4);} 50%{ box-shadow: 0 10px 26px rgba(18,140,75,0.45), 0 0 0 12px rgba(37,211,102,0);} }
@media (max-width: 575.98px){ .np-fab{ width:50px; height:50px; bottom:76px; font-size:1.4rem; } }

/* ── DECORATIVE ── */
.online-dot { width: 10px; height: 10px; background: #22C55E; border-radius: 50%; display: inline-block; box-shadow: 0 0 0 2px #fff, 0 0 8px #22C55E; animation: pulse-dot 2s infinite; }
.offline-dot { width: 10px; height: 10px; background: #CBD5E1; border-radius: 50%; display: inline-block; box-shadow: 0 0 0 2px #fff; }
@keyframes pulse-dot { 0%,100%{box-shadow:0 0 0 2px #fff,0 0 6px #22C55E} 50%{box-shadow:0 0 0 2px #fff,0 0 12px #22C55E} }
.stars { color: #F59E0B; }
.alert-spiritual { background: linear-gradient(135deg, #FFF8F0, #FFF0DC); border: 1px solid #F5D5A8; border-left: 4px solid var(--saffron); border-radius: var(--radius-sm); }

/* ── UTILITY ── */
.bg-saffron { background-color: var(--saffron) !important; }
.bg-crimson { background-color: var(--crimson) !important; }
.text-saffron { color: var(--saffron) !important; }
.text-crimson { color: var(--crimson) !important; }
.text-gold { color: var(--gold) !important; }
.bg-cream { background-color: var(--cream) !important; }
.bg-cream-dark { background-color: var(--cream-dark) !important; }

/* ── SIDEBAR ── */
.sidebar-menu .nav-link { color: var(--text-secondary); border-radius: var(--radius-sm); margin-bottom: 3px; font-size: 0.9rem; padding: 9px 14px; transition: var(--transition); }
.sidebar-menu .nav-link:hover, .sidebar-menu .nav-link.active { background: var(--cream-dark); color: var(--crimson); font-weight: 500; }

/* ── FORM CONTROLS ── */
.form-control, .form-select {
    border: 1.5px solid var(--border-light); border-radius: var(--radius-sm);
    font-size: 0.9rem; padding: 10px 14px; transition: var(--transition); background: #fff;
}
.form-control:focus, .form-select:focus {
    border-color: var(--saffron); box-shadow: 0 0 0 3px rgba(232,101,10,0.1);
}

/* ── PAGE HERO ── */
.page-hero {
    background:
        radial-gradient(120% 130% at 88% 0%, rgba(232,101,10,0.28) 0%, rgba(232,101,10,0) 55%),
        linear-gradient(160deg, #5A0E08 0%, #7A1710 55%, #8B1A10 100%);
    padding: 44px 0 40px; color: #fff; position: relative; overflow: hidden;
}
.page-hero::before {
    content: ''; position: absolute; inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.page-hero h1 { font-family: var(--font-heading); font-size: 2rem; font-weight: 700; }

/* ── SCROLL TO TOP ── */
#scrollTop {
    position: fixed; bottom: 28px; right: 28px;
    width: 44px; height: 44px;
    background: linear-gradient(135deg, var(--crimson), var(--saffron));
    color: #fff; border: none; border-radius: 12px;
    font-size: 1.1rem; cursor: pointer;
    box-shadow: 0 4px 16px rgba(139,0,0,0.35);
    opacity: 0; visibility: hidden;
    transition: var(--transition); z-index: 999;
    display: flex; align-items: center; justify-content: center;
}
#scrollTop.show { opacity: 1; visibility: visible; }
#scrollTop:hover { transform: translateY(-3px); }

/* ── FOOTER ── */
.footer-main {
    background: linear-gradient(160deg, #FBF4E9 0%, #F6EAD7 55%, #F1E2CC 100%);
    color: #5A4632; position: relative; overflow: hidden;
    border-top: 1px solid #EADBC3;
}
.footer-main::before {
    content: 'ॐ'; position: absolute; top: -20px; right: 5%;
    font-size: 18rem; color: rgba(139,0,0,0.045);
    font-family: serif; pointer-events: none; line-height: 1; user-select: none;
}
.footer-brand-name { font-family: var(--font-heading); font-size: 1.25rem; font-weight: 700; color: var(--crimson, #8B0000); }
.footer-main h6 { font-family: var(--font-heading); color: var(--crimson, #8B0000) !important; letter-spacing: 0.5px; font-size: 0.85rem; margin-bottom: 16px; }
/* !important overrides the old inline light-on-dark colors left in the footer markup,
   so all body copy is warm dark-brown (>=6:1 contrast, WCAG AA) on the new cream bg. */
.footer-main p, .footer-main li, .footer-main small, .footer-main span { color: #5A4632 !important; }
.footer-main a { color: #6B5340 !important; text-decoration: none; transition: var(--transition); }
.footer-main a:hover { color: var(--saffron, #E8650A) !important; padding-left: 4px; }
.footer-divider { border-color: rgba(90,70,50,0.15) !important; }
.footer-social a {
    width: 36px; height: 36px; background: rgba(139,0,0,0.06);
    border: 1px solid rgba(139,0,0,0.12);
    border-radius: 8px; display: inline-flex; align-items: center;
    justify-content: center; color: var(--crimson, #8B0000) !important; font-size: 1rem; transition: var(--transition);
}
.footer-social a:hover { background: var(--saffron, #E8650A); color: #fff !important; transform: translateY(-2px); padding-left: 0; border-color: transparent; }
.footer-badge {
    display: inline-block; background: rgba(139,0,0,0.05);
    border: 1px solid rgba(139,0,0,0.14);
    border-radius: 6px; padding: 4px 10px;
    font-size: 0.75rem; color: #6B5340 !important; margin: 2px;
}
.footer-playstore { display: inline-flex !important; align-items: center; gap: 10px; margin-top: 8px;
    background: #1A1A1A; color: #fff !important; border-radius: 10px; padding: 8px 18px;
    text-decoration: none; transition: var(--transition); }
.footer-playstore:hover { background: #000; color: #fff !important; padding-left: 18px; transform: translateY(-2px); }
.footer-playstore i { font-size: 1.5rem; color: #fff !important; }
.footer-playstore span { color: #fff !important; }
.footer-playstore .fp-sub { font-size: 0.58rem; opacity: 0.85; line-height: 1; letter-spacing: 0.5px; text-transform: uppercase; }
.footer-playstore .fp-main { font-size: 0.98rem; font-weight: 600; line-height: 1.15; }

/* ── ALERTS ── */
.alert { border-radius: var(--radius-sm); border: none; font-size: 0.9rem; }

/* ── MOBILE BOTTOM NAV — AstroTalk style ── */
.mobile-bottom-nav {
    display: none;
    position: fixed; bottom: 0; left: 0; right: 0;
    background: #fff; border-top: 1px solid var(--border-light);
    z-index: 1020; padding: 4px 0 env(safe-area-inset-bottom,4px);
    box-shadow: 0 -4px 20px rgba(0,0,0,0.08);
}
.mobile-bottom-nav .mbn-items { display: flex; }
.mobile-bottom-nav .mbn-item {
    flex: 1; display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    padding: 6px 2px; text-decoration: none;
    color: var(--text-muted); font-size: 0.62rem; font-weight: 500;
    transition: var(--transition); gap: 2px;
}
.mobile-bottom-nav .mbn-item i { font-size: 1.25rem; }
.mobile-bottom-nav .mbn-item.active, .mobile-bottom-nav .mbn-item:hover { color: var(--crimson); }
.mobile-bottom-nav .mbn-item.active i { color: var(--crimson); }
.mbn-wallet-icon {
    width: 32px; height: 32px;
    background: linear-gradient(135deg, var(--saffron), var(--crimson));
    border-radius: 50%; display: flex; align-items: center;
    justify-content: center; color: #fff; font-size: 1rem; margin-bottom: 1px;
}
@media (max-width: 767px) {
    .mobile-bottom-nav { display: flex; flex-direction: column; }
    body { padding-bottom: 60px; }
}

/* ── QUICK RECHARGE MODAL (global) ── */
.quick-recharge-amounts { display: flex; flex-wrap: wrap; gap: 8px; }
.amt-chip {
    padding: 6px 16px; border-radius: 50px;
    border: 1.5px solid var(--border-light);
    font-size: 0.82rem; font-weight: 600; cursor: pointer;
    transition: var(--transition); background: #fff; color: var(--text-secondary);
}
.amt-chip:hover, .amt-chip.selected { border-color: var(--saffron); color: var(--saffron); background: rgba(232,101,10,0.06); }

/* ── LEGAL / POLICY PAGES ── */
.policy-wrap { max-width: 920px; margin: 0 auto; }
.policy-card {
    background: #fff; border: 1px solid var(--border-light);
    border-radius: var(--radius); box-shadow: var(--shadow-sm);
    padding: 32px 38px; margin-top: -34px; position: relative; z-index: 2;
}
.policy-meta {
    font-size: 0.82rem; color: var(--text-muted);
    border-bottom: 1px dashed var(--border-light);
    padding-bottom: 14px; margin-bottom: 22px;
}
.policy-card h2 {
    font-family: var(--font-heading); color: var(--crimson);
    font-size: 1.15rem; font-weight: 700;
    margin: 28px 0 10px; padding-top: 6px;
}
.policy-card h2:first-of-type { margin-top: 4px; }
.policy-card h3 {
    font-size: 0.98rem; font-weight: 600; color: var(--saffron-dark);
    margin: 18px 0 8px;
}
.policy-card p, .policy-card li {
    font-size: 0.9rem; color: var(--text-secondary); line-height: 1.75;
}
.policy-card p { margin-bottom: 12px; }
.policy-card ul, .policy-card ol { margin: 0 0 14px 0; padding-left: 22px; }
.policy-card li { margin-bottom: 7px; }
.policy-card a { color: var(--saffron-dark); word-break: break-word; }
.policy-lead {
    background: linear-gradient(135deg, #FFF8F0, #FFF0DC);
    border: 1px solid #F5D5A8; border-left: 4px solid var(--saffron);
    border-radius: var(--radius-sm); padding: 14px 18px; margin-bottom: 24px;
    font-size: 0.9rem; color: var(--text-secondary);
}
.policy-toc {
    background: var(--cream-dark); border: 1px solid var(--border-light);
    border-radius: var(--radius-sm); padding: 16px 20px; margin-bottom: 26px;
}
.policy-toc a { display: inline-block; margin: 3px 14px 3px 0; font-size: 0.85rem; }
.policy-contact-box {
    background: var(--cream-dark); border: 1px solid var(--border-light);
    border-radius: var(--radius-sm); padding: 16px 20px; margin-top: 24px;
    font-size: 0.88rem; color: var(--text-secondary);
}
.policy-contact-box strong { color: var(--crimson); }

/* ── BACK BUTTON (DEV-005, reusable across feature pages) ── */
.np-back-btn {
    display: inline-flex; align-items: center; gap: 6px;
    background: #fff; border: 1.5px solid var(--border-light);
    color: var(--text-secondary); border-radius: 50px;
    padding: 7px 16px 7px 12px; font-size: 0.85rem; font-weight: 600;
    text-decoration: none; transition: var(--transition); cursor: pointer;
}
.np-back-btn:hover { border-color: var(--saffron); color: var(--saffron); transform: translateX(-2px); }
.np-back-btn i { font-size: 1rem; }
/* On a hero band, render the back button in light-on-dark. */
.page-hero .np-back-btn {
    background: rgba(255,255,255,0.14); border-color: rgba(255,255,255,0.35);
    color: #fff; backdrop-filter: blur(4px);
}
.page-hero .np-back-btn:hover { background: rgba(255,255,255,0.24); color: #fff; border-color: #fff; }

/* ── MOBILE COMPACT FILTER PATTERN (DEV-004/018/031, reusable) ──
   Desktop: filters render inline as normal. Mobile (<768px): the host page
   shows a `.np-filter-toggle` button that opens `.np-filter-drawer` (an
   off-canvas panel from the left) so filters never overflow the layout. */
.np-filter-toggle { display: none; }
.np-filter-drawer-backdrop {
    display: none; position: fixed; inset: 0; z-index: 1049;
    background: rgba(26,10,0,0.45);
}
.np-filter-drawer-backdrop.open { display: block; }
@media (max-width: 767px) {
    .np-filter-toggle {
        display: inline-flex; align-items: center; gap: 8px;
        background: #fff; border: 1.5px solid var(--border-light);
        color: var(--crimson); font-weight: 600; font-size: 0.85rem;
        border-radius: 50px; padding: 8px 18px; cursor: pointer;
    }
    .np-filter-toggle i { color: var(--saffron); }
    .np-filter-drawer {
        position: fixed; top: 0; left: 0; bottom: 0; z-index: 1050;
        width: 84%; max-width: 340px; background: #fff;
        box-shadow: var(--shadow-lg); overflow-y: auto;
        transform: translateX(-100%); transition: transform 0.28s ease;
        padding: 18px 16px 80px;
    }
    .np-filter-drawer.open { transform: translateX(0); }
    .np-filter-drawer-header {
        display: flex; align-items: center; justify-content: space-between;
        margin-bottom: 14px; padding-bottom: 12px;
        border-bottom: 1px solid var(--border-light);
    }
}

/* ── CATEGORY STRIP (static & manually scrollable — no auto-motion) ── */
.nav-marquee-track {
    display: flex; white-space: nowrap;
}
@keyframes marquee-scroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
