/* ===========================================
   (यह CSS वैरिएबल्स का सेक्शन है)
   =========================================== */
:root{
  /* Brand & UI tokens */
  --brand:#0b5bd3;
  --brand-header:#3A308E;
  --accent:#FF9800;
  --text:#0f172a;
  --muted:#475569;
  --surface:#ffffff;
  --soft:#f8fafc;
  --border:#e5e7eb;
  --shadow:0 6px 24px rgba(2,6,23,.08);
  --radius:12px;
  --container:1200px;

  /* Tables */
  --tbl-head:#eef2ff;
  --tbl-row:#f8fafc;
  --tbl-row-alt:#ffffff;
  --tbl-col:#f1f5f9;
  --tbl-grid:#e2e8f0;
  --tbl-hover:#f9fbff;
}

/* ===========================================
   (यह सामान्य स्टाइलिंग है)
   =========================================== */
*{box-sizing:border-box}
html,body{
  margin:0; padding:0;
  font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,"Helvetica Neue",Arial;
  color:var(--text);
  background:#fafafa;
  line-height:1.6;
}
a{color:var(--brand);text-decoration:none}
a:hover{text-decoration:underline}
/* a11y focus */
a:focus-visible, button:focus-visible{
  outline:2px solid var(--brand);
  outline-offset:2px;
}

.container{max-width:var(--container);margin-inline:auto;padding:16px}

/* =========================================================
   START: HEADER STYLES (यहाँ से नए हेडर का कोड शुरू होता है)
   ========================================================= */

/* --- हेडर की मुख्य स्टाइलिंग --- */
header{
  background:var(--brand-header);
  padding:10px 4%;
  display:flex; align-items:center; justify-content:space-between;
  position:fixed; top:0; left:0; right:0; z-index:1000;
  box-shadow:0 2px 8px rgba(0,0,0,.1);
  gap:40px;
}
.logo-container img{height:40px;display:block}

/* --- डेस्कटॉप नेविगेशन --- */
.main-nav{display:flex;gap:30px;justify-content:center}
.main-nav a{
  color:#fff; font-weight:600; font-size:16px; transition:color .25s;
}
.main-nav a:hover{ color:var(--accent) }

/* --- हैमबर्गर आइकॉन (मोबाइल के लिए) --- */
.hamburger{ display:none; flex-direction:column; cursor:pointer; gap:5px }
.hamburger span{ width:25px; height:3px; background:#fff; border-radius:2px }

/* ===========================================
   (यह लेआउट की स्टाइलिंग है)
   =========================================== */
.btn{
  border:1px solid var(--border);
  padding:10px 14px; font-weight:700; border-radius:var(--radius);
  cursor:pointer; display:inline-flex; align-items:center; gap:8px; line-height:1;
  background:#fff; color:var(--text); box-shadow:var(--shadow)
}
.btn-primary{ background:var(--brand); color:#fff; border-color:transparent }
.btn-sm{ padding:8px 12px; border-radius:10px; font-size:14px }

.breadcrumbs{ font-size:12px; color:#8a96a8; padding-top:6px }
.breadcrumbs a{ color:#64748b }

.hero{
  display:grid; grid-template-columns:1.3fr .7fr; gap:16px; align-items:start; margin-top:12px
}

.notice{
  display:flex; gap:12px; align-items:center; justify-content:space-between;
  background:#fff7ed; border:1px solid #fed7aa;
  border-radius:var(--radius); padding:10px; margin:12px 0 8px
}

.share{ display:flex; gap:6px; flex-wrap:wrap; justify-content:flex-end }
.icon-btn{
  border:1px solid var(--border); background:#fff; border-radius:var(--radius);
  padding:8px; display:inline-grid; place-items:center; width:40px; height:40px; box-shadow:var(--shadow)
}
.icon-btn svg{ width:20px; height:20px }
.icon-wa path{fill:#25D366} .icon-tg path{fill:#229ED9} .icon-x path{fill:#111827}

/* responsive ad cards (drop-in) */
.adwrap{
  display:flex;
  flex-direction:column;
  gap:12px;
}

.adbox{
  position:relative;
  border:1px dashed #cbd5e1;
  border-radius:var(--radius);
  background:linear-gradient(180deg,#ffffff,#fbfdff);
  display:grid;
  place-items:center;
  color:#475569;
  font-weight:700;

  /* ✅ responsive sizing */
  padding:12px;
  height:auto;                               /* content grow allowed */
  min-height:clamp(140px, 26vw, 220px);      /* scales with viewport */
  overflow:visible;                           /* no clipping */
}

.adbox.lg{
  height:auto;
  min-height:clamp(180px, 34vw, 280px);
}

.adbox .label{
  position:absolute;
  top:6px; right:8px;
  font-size:11px;
  background:var(--tbl-head);
  color:#1e293b;
  border-radius:999px;
  padding:2px 8px;
  border:1px solid #c7d2fe;
}

/* ads inside (image/iframe/ins/div) scale nicely */
.adbox > img,
.adbox > iframe,
.adbox > ins,
.adbox > div{
  display:block;
  width:100%;
  max-width:100%;
  height:auto;
  /* iframes without intrinsic height won't stretch oddly */
  border:0;
}

/* extra tightening on small screens */
@media (max-width: 768px){
  .adbox{ min-height:160px }
  .adbox.lg{ min-height:220px }
}
@media (max-width: 480px){
  .adbox{ min-height:140px }
  .adbox.lg{ min-height:200px }
}


.layout{ display:grid; grid-template-columns:2fr 1fr; gap:16px; margin-top:12px }
.left-col{ display:flex; flex-direction:column }

/* ===========================================
   (यह कंटेंट और टेबल की स्टाइलिंग है)
   =========================================== */
.meta-note{ font-size:12px; color:#64748b }
.byline{ display:flex; flex-wrap:wrap; gap:10px; font-size:12px; color:#475569; margin:6px 0 8px }
.byline .dot{ opacity:.5 }

.img-ph{ position:relative; width:100%; aspect-ratio:16/9; border-radius:14px; overflow:hidden; margin:10px 0 }
.img-ph img{
  width:100%; height:100%; object-fit:cover; display:block;
  border:1px dashed #cbd5e1; border-radius:14px; background:var(--tbl-head)
}

.table-wrap{
  position:relative; overflow:auto; -webkit-overflow-scrolling:touch;
  border-radius:var(--radius); background:#fff; border:1px solid var(--border)
}
table{ width:100%; border-collapse:separate; border-spacing:0; background:linear-gradient(180deg,#f8fafc,#ffffff) }
thead th{
  position:sticky; top:0; background:var(--tbl-head); z-index:1;
  border-bottom:1px solid var(--tbl-grid); font-weight:700
}
th,td{
  padding:12px; border-bottom:1px solid var(--tbl-grid); border-right:1px solid var(--tbl-grid);
  text-align:left; font-size:14px
}
th:last-child, td:last-child{ border-right:0 }
tbody tr:nth-child(odd) td{ background:var(--tbl-row-alt) }
tbody tr:nth-child(even) td{ background:var(--tbl-row) }
td:nth-child(1), th:nth-child(1){ background-color:var(--tbl-col) }
tbody tr:hover td{ background:var(--tbl-hover) }

/* ===========================================
   (यह ट्रेंडिंग ब्लॉग कार्ड्स की स्टाइलिंग है)
   =========================================== */
/* Trending blog cards */


/* ===========================================
   (यह फुटर की स्टाइलिंग है)
   =========================================== */

footer.site{ margin-top:22px; padding:20px; background:#0b1220; color:#cbd5e1 }

/* ===========================================
   (यह मोबाइल के लिए रेस्पॉन्सिव स्टाइलिंग है)
   =========================================== */
@media (max-width: 992px){
  /* --- मोबाइल के लिए हेडर की स्टाइलिंग --- */
  .main-nav{ display:none }   /* डेस्कटॉप मेनू को छिपाएँ */
  .hamburger{ display:flex }  /* हैमबर्गर आइकॉन दिखाएँ */
}

/* tighter breakpoints */
@media (max-width: 920px){
  .hero{ grid-template-columns:1fr }
  .layout{ grid-template-columns:1fr }
  .blog-cards{ grid-template-columns:1fr }
  .icon-btn{ width:36px; height:36px; padding:6px }
  .brand-bottom{ flex-direction:column; align-items:flex-start; gap:10px }
}

/* ===========================================
   (आर्टिकल के स्पेस और स्टाइल को ठीक करने के लिए कोड)
   =========================================== */
.left-col > *{ margin-top:0; margin-bottom:16px }
.left-col h2,.left-col h3,.left-col h4{ margin-top:32px; margin-bottom:12px }
.left-col ul, .left-col ol{ padding-left:24px }

.left-col .app-download-box, .left-col .warning-box{
  margin:20px 0 24px; padding:16px; border-radius:var(--radius); border:1px solid
}
.app-download-box{ background:#eef2ff; border-color:#c7d2fe }
.app-download-box h3{ margin:0 !important; font-size:18px; color:#3730a3 }
.warning-box{ background:#fffbeb; border-color:#fde68a }
.warning-box p{ margin:0; color:#78350f }

.left-col .table-wrap{ margin:12px 0 24px }
.left-col .faq-question{ margin-bottom:4px; font-weight:700; color:var(--text) }

/* ==== Header offset helpers (fixed header overlap से बचाव) ==== */
body{ padding-top:64px } /* अगर header की ऊँचाई अलग हो तो इसे adjust करें */

/* ===========================================
   Side Nav (mobile off-canvas)
   =========================================== */
.side-nav{
  position:fixed; inset:0 0 0 35%;
  background:#fff; border-left:1px solid var(--border); box-shadow:var(--shadow);
  transform:translateX(100%); transition:transform .25s ease; z-index:1200;
  display:flex; flex-direction:column; gap:8px; padding:16px;
}
.side-nav.show{ transform:translateX(0) }
.side-nav a{
  padding:12px 10px; border-radius:10px; font-weight:600; color:var(--text);
  border:1px solid var(--border); background:#fff;
}
.side-nav .side-close{
  align-self:flex-end; border:1px solid var(--border); background:var(--soft);
  border-radius:10px; padding:6px 10px; cursor:pointer;
}

/* ===========================================
   Bottom Mobile Nav
   =========================================== */
.bottom-mobile-nav{
  position:fixed; left:0; right:0; bottom:0;
  display:none; /* desktop पर छिपाएँ (FIX: duplicate display हटाया गया) */
  background:#fff; border-top:1px solid var(--border); box-shadow:0 -6px 24px rgba(2,6,23,.08);
  z-index:1100; height:64px;
  justify-content:space-around; align-items:center;
  padding-bottom: env(safe-area-inset-bottom, 0);
}
.bottom-mobile-nav .nav-item{
  display:flex; flex-direction:column; align-items:center; gap:4px;
  font-size:12px; color:var(--text); text-decoration:none;
}
.bottom-mobile-nav i{ font-size:18px }

/* bottom bar की वजह से नीचे overlap न हो */
.page-bottom-offset{ height: calc(68px + env(safe-area-inset-bottom, 0)) }

/* Sticky/scroll buttons को bottom nav से ऊपर रखें */
.sticky-cta{ bottom:84px }   /* पहले 16px था, अब 64+20 approx */
.scroll-top{ bottom:142px }  /* sticky CTA से ऊपर */

/* Brand Float z-index tweaks (nav से ऊपर रहे) */
.brand-float{ z-index:1150 }

/* Responsive: mobile पर bottom bar दिखाएँ और body में space दें */
@media (max-width: 992px){
  .bottom-mobile-nav{ display:flex }
  body{ padding-bottom: calc(72px + env(safe-area-inset-bottom, 0)) }
}

/* Optional: reduce motion */
@media (prefers-reduced-motion: reduce){
  *{ scroll-behavior:auto !important }
}

/* Responsive Google Play badge */
.google-play-badge{
  display:block;
  height: clamp(28px, 8vw, 40px); /* screen के हिसाब से auto scale */
  width:auto;                     /* aspect ratio सही रहे */
  max-width:100%;
  object-fit:contain;
}

    .faq-item summary { cursor: pointer; padding: 15px; background-color: #f8fafc; border-radius: 8px; font-weight: 600; color: #333; }
    .faq-item summary:hover { background-color: #f1f5f9; }
    .faq-item[open] summary { border-bottom: 1px solid #e2e8f0; }
    .faq-item .faq-answer { padding: 15px; }
    .faq-item .faq-answer p, .faq-item .faq-answer ul { margin: 0; line-height: 1.6; }

/* (optional) bottom nav में center में रखें */
.bottom-mobile-nav .nav-item .google-play-badge{ margin:0 auto; }