*{margin:0;padding:0;box-sizing:border-box;font-family:Arial, sans-serif;}
body{background:var(--bg);color:var(--text);transition:.3s;}
:root{
  /* Soft Dark Theme */
  --bg:#1a1a1d;
  --text:#f5f5f5;
  --card-bg:#222227;
  --border:#3a3a42;
}

[data-theme="light"]{
  --bg:#f5f7fb;
  --text:#222;
  --card-bg:#fff;
  --border:#ddd;
}

header{
    position:sticky;top:0;background:var(--card-bg);
    padding:16px 20px;display:flex;justify-content:space-between;
    align-items:center;border-bottom:1px solid var(--border);z-index:99;
}
.logo img{height:36px;}
.toggle-theme{
    cursor:pointer;font-size:20px;padding:8px 12px;
    background:var(--bg);border:1px solid var(--border);border-radius:8px;
}
.menu-btn{width:32px;cursor:pointer;display:flex;flex-direction:column;gap:6px;}
.menu-btn span{height:4px;background:var(--text);border-radius:4px;}

.hero {
    width: 100%;            /* ⭐ सबसे ज़रूरी FIX */
    max-width: 900px;
    margin: 40px auto 20px;
    padding: 20px;
    text-align: center;
}
@media (max-width: 480px) {
  .hero img {
      width: 95% !important;   /* mobile पर auto shrink */
      max-width: 300px;
  }
}
.hero h1{font-size:32px;font-weight:700;margin-bottom:12px;}
.hero p{font-size:17px;line-height:1.6;opacity:.9;}

.search-box{
    max-width:900px;margin:20px auto;padding:25px;
    background:var(--card-bg);border:1px solid var(--border);border-radius:12px;
}
.search-box input{
    width:100%;padding:14px;font-size:16px;
    border:1px solid var(--border);border-radius:8px;
    background:var(--bg);color:var(--text);
}
.search-title {
    text-align: center;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 18px;
    color: var(--text);
}

/* NEW CATEGORY ROW — no slider, clean grid */
.category-row{
    margin-top:18px;
    display:flex;
    gap:15px;
    justify-content:center;   /* ⭐ Center align */
    flex-wrap:wrap;           /* ⭐ Single line wrap if needed */
    overflow-x:hidden;        /* Scroll हटाया क्योंकि center layout में ज़रूरत नहीं */
    padding-bottom:5px;
}

/* NEW CATEGORY BUTTON STYLE */
.cat-card {
    padding: 12px 18px;
    border-radius: 14px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text);
    font-size: 15px;
    font-weight: 600;
    transition: .25s ease;
    box-shadow: 0 4px 10px rgba(0,0,0,0.25);

    /* REMOVE old fixed box size */
    width: auto !important;
    height: auto !important;
    min-width: auto !important;
    flex-shrink: initial;
    overflow: hidden;
}

/* EMOJI LEFT */
.cat-emoji {
    font-size: 20px !important;
    margin: 0 !important;
}

/* NAME */
.cat-name {
    font-size: 15px;
    font-weight: 600;
}

/* HOVER */
.cat-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.35);
}

/* ========== KEEP YOUR OWN CATEGORY COLORS ========== */

.cat-card.cat-christian {
    background: linear-gradient(135deg, #4e8cff, #90b8ff);
}

.cat-card.cat-muslim {
    background: linear-gradient(135deg, #1fa67a, #33c28a);
}

.cat-card.cat-hindu {
    background: linear-gradient(135deg, #ff8a3d, #ffb35c);
}

.cat-card.cat-explore {
    background: linear-gradient(135deg, #4b6cb7, #182848);
    color: #fff;
}

/* DARK MODE — white buttons look */
[data-theme="dark"] .cat-card {
    background: #fff !important;
    color: #222 !important;
    box-shadow: 0 3px 8px rgba(255,255,255,0.06);
}

[data-theme="dark"] .cat-card.cat-explore {
    background: #fff !important;
    color: #222 !important;
}

/* OPTIONAL: Dark mode hover */
[data-theme="dark"] .cat-card:hover {
    background: #f0f0f0 !important;
}


/* STATS */
.stats{
    max-width:900px;margin:20px auto;text-align:center;
    display:flex;gap:40px;flex-wrap:wrap;justify-content:center;
}
.stats div h3{font-size:24px;font-weight:700;}

.section-title{
    max-width:900px;margin:30px auto 10px;
    font-size:22px;font-weight:600;
}

/* ========== SLIDER PREMIUM SECTION ========== */
.card-section{
    position:relative;max-width:900px;margin:0 auto;
}
.card-section::before,
.card-section::after{
    content:"";
    position:absolute;top:0;width:70px;height:100%;
    pointer-events:none;z-index:10;
}
.card-section::before,
.card-section::after {
    content:none !important;
    background:none !important;
    display:none !important;
}

/* Row */
.card-row{
    display:flex;gap:15px;overflow-x:auto;
    scroll-behavior:smooth;padding-bottom:10px;
}
.card-row::-webkit-scrollbar{display:none;}

/* Card item wrapper (square) */
.card-item{
    width:200px;height:200px;min-width:200px;
    border-radius:12px;overflow:hidden;
    position:relative;flex-shrink:0;
    box-shadow:0 6px 16px rgba(0,0,0,0.35);
}
.card-item:hover .card-img{
    transform:scale(1.05);
}

/* Blur lazy-load image */
.card-img{
    width:100%;height:100%;object-fit:cover;
    display:block;transition:.3s ease;
}
.card-img.lazy{
    filter:blur(8px);
    transform:scale(1.08);
}

/* Title overlay inside card */
.card-title-bar{
    position:absolute;
    left:0;
    right:0;
    bottom:0;
    padding:8px 10px;
    background: rgba(0,0,0,0.35);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    color:#fff;
    font-size:13px;
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:6px;
    border-top:1px solid rgba(255,255,255,0.12);
}
.card-title{
    font-weight:600;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
}

/* Badges */
.badge{
    font-size:11px;
    padding:3px 7px;
    border-radius:999px;
    text-transform:uppercase;
    letter-spacing:0.5px;
}
.badge-new{
    background:#ff4d6a;color:#fff;
}
.badge-hot{
    background:#ff9800;color:#fff;
}

/* More Box (same style as Explore All) */
.more-box{
    width:200px;height:200px;min-width:200px;
    background:linear-gradient(135deg,#4b6cb7,#182848);
    border:none;
    border-radius:12px;
    display:flex;flex-direction:column;
    justify-content:center;align-items:center;
    color:#fff;font-size:18px;font-weight:600;
    text-decoration:none;
    flex-shrink:0;
    transition:.25s ease;
    box-shadow:0 6px 16px rgba(0,0,0,0.35);
}
.more-box:hover{
    transform:scale(1.05);
    box-shadow:0 10px 26px rgba(0,0,0,0.45);
}

/* Premium SVG arrows */
.slider-arrow{
    position:absolute;top:50%;
    transform:translateY(-50%);
    cursor:pointer;z-index:30;color:var(--text);
    opacity:.75;transition:.25s ease;
}
.slider-arrow svg{display:block;}
.slider-arrow:hover{
    opacity:1;
    transform:translateY(-50%) scale(1.15);
}
.slider-arrow.left{left:-40px;}
.slider-arrow.right{right:-40px;}

footer{
    text-align:center;padding:20px;margin-top:30px;
    background:var(--card-bg);border-top:1px solid var(--border);
}
footer a{color:#ff5c7f;text-decoration:none;}
/* ===== PREMIUM FOOTER ===== */
.premium-footer {
    background: var(--card-bg);
    color: var(--text);
    padding: 30px 20px;
    text-align: center;
    margin-top: 40px;
    border-top: 1px solid var(--border);

    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
}

/* Links */
.premium-footer .footer-links {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
}

.premium-footer .footer-links a {
    color: var(--text);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    opacity: .85;
    transition: .25s ease;
}

.premium-footer .footer-links a:hover {
    opacity: 1;
    text-shadow: 0 0 8px rgba(255,255,255,0.4);
}

#sideNav.open{left:0!important;}
#sideNav a,
#sideNav a:visited,
#sideNav a:hover,
#sideNav a:active {
    text-decoration: none !important;
}
#sideNav a:hover {
    opacity: 0.7;
}

/* Mobile-friendly category buttons */
@media (max-width: 480px) {

  .category-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding-bottom: 5px;
  }

  .cat-card {
    width: 100% !important;
    padding: 12px 16px !important;
    border-radius: 12px;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 10px !important;

    /* Remove old square box styles */
    min-width: unset !important;
    height: auto !important;
    aspect-ratio: unset !important;
    text-align: left !important;
  }

  .cat-emoji {
    font-size: 20px !important;
    margin: 0 !important;
    line-height: 1 !important;
  }

  .cat-name {
    font-size: 14px !important;
    font-weight: 600;
    margin-top: 0 !important;
    line-height: 1.2 !important;
    text-align: left !important;
  }
}

/* Premium Stats Section */
.premium-stats {
    max-width: 900px;
    margin: 30px auto;
    display: flex;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap;
}

.stat-box {
    background: var(--card-bg);
    border: 1px solid var(--border);
    padding: 22px 28px;
    border-radius: 16px;
    text-align: center;
    width: 200px;
    box-shadow: 0 6px 16px rgba(0,0,0,0.15);
    transition: .25s ease;
}

.stat-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 26px rgba(0,0,0,0.22);
}

.stat-emoji {
    font-size: 32px;
    margin-bottom: 10px;
}

.stat-number {
    font-size: 28px;
    font-weight: 700;
    background: linear-gradient(135deg, #7dacff, #b7ceff);
    -webkit-background-clip: text;
    color: transparent;
}

[data-theme="dark"] .stat-number {
    background: linear-gradient(135deg, #6a9eff, #9fc7ff);
    -webkit-background-clip: text;
    color: transparent;
}

.stat-label {
    margin-top: 6px;
    font-size: 15px;
    opacity: .85;
}
/* MOBILE FIX — shrink down further but still stay in 1 row */
@media (max-width: 480px){

  .premium-stats {
      gap: 10px;
      padding: 0 8px;
  }

  .stat-box {
      padding: 14px 10px;  /* smaller padding */
      border-radius: 12px;
      flex: 1;             /* equal and shrinkable */
      min-width: 0;        /* allows squishing */
  }

  .stat-emoji {
      font-size: 22px;
      margin-bottom: 4px;
  }

  .stat-number {
      font-size: 18px;
  }

  .stat-label {
      font-size: 12px;
  }
}
.ad-container {
    max-width: 900px;
    margin: 25px auto;
    padding: 0 10px;
}

@media (max-width: 480px){
  .ad-container {
      margin: 15px auto;
      padding: 0 5px;
  }
}
/* Premium Floating Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;

    width: 48px;
    height: 48px;

    display: none;
    justify-content: center;
    align-items: center;

    border-radius: 50%;
    font-size: 22px;
    font-weight: bold;

    color: #fff;
    cursor: pointer;

    /* Premium Gradient */
    background: linear-gradient(135deg, #6a4dff, #b96bff);

    /* Glow + Shadow */
    box-shadow: 0 6px 18px rgba(0,0,0,0.35),
                0 0 14px rgba(150, 80, 255, 0.4);

    border: none;
    transition: 0.25s ease;
    z-index: 9999;
}

.back-to-top:hover {
    transform: scale(1.12);
    box-shadow: 0 8px 24px rgba(0,0,0,0.45),
                0 0 18px rgba(150, 80, 255, 0.6);
}

/* Mobile Safe Position */
@media(max-width: 480px){
    .back-to-top {
        bottom: 18px;
        right: 18px;
        width: 42px;
        height: 42px;
        font-size: 18px;
    }
}
/* Hide slider arrows in mobile */
@media (max-width: 480px) {
    .slider-arrow {
        display: none !important;
    }
}
.page-section{
      max-width:900px;margin:20px auto 40px;
      background:var(--card-bg);border:1px solid var(--border);
      border-radius:14px;padding:30px;line-height:1.7;}
.page-section h2{
      font-size:24px;font-weight:700;margin-bottom:15px;}
.page-section h3{
      font-size:20px;font-weight:700;margin-top:24px;margin-bottom:8px;}
.page-section p{
      opacity:.9;margin-top:6px;}
.page-section ul, .page-section ol{
      margin-top:8px;margin-left:20px;opacity:.9;}
.page-section h2{
      font-size:24px;font-weight:700;margin-bottom:20px;text-align:center;}
.faq-item{
      margin-bottom:18px;
      border-bottom:1px solid var(--border);
      padding-bottom:12px;}
.faq-item h3{
      font-size:18px;font-weight:700;cursor:pointer;
      display:flex;justify-content:space-between;align-items:center;}
.faq-item p{
      opacity:.9;margin-top:6px;display:none;}
.faq-item.open p{
      display:block;}
.faq-toggle{
      font-size:18px;opacity:.7;}
.page-section ul{
      margin-top:8px;margin-left:20px;opacity:.9;}
.page-section{
      max-width:900px;margin:20px auto 40px;
      background:var(--card-bg);border:1px solid var(--border);
      border-radius:14px;padding:30px;line-height:1.7;text-align:center;}
/* MAIN */
/* MAIN WRAPPER */
main {
  padding: 10px 15px 30px;
  text-align: center;
}

/* MAIN CONTAINER */
.main-container {
  padding: 10px 15px 30px;
  margin: 0;
  text-align: center;

  /* Theme-based background */
  background: var(--bg);

  /* Smooth transition */
  transition: background .3s, color .3s;
}

/* MAIN BOX (Card Style) */
.main-box {
  max-width: 720px;
  margin: auto;
  background: var(--card-bg);
  padding: 25px;
  border-radius: 12px;

  /* Shadow with theme awareness */
  box-shadow: 0 4px 15px rgba(0,0,0,0.15);
  transition: background .3s, box-shadow .3s, color .3s;
}

/* DARK MODE ADJUSTMENTS */
[data-theme="dark"] .main-container {
  background: var(--bg); /* already darker */
}

[data-theme="dark"] .main-box {
  background: var(--card-bg);
  box-shadow: 0 4px 18px rgba(0,0,0,0.35); /* deeper shadow */
}
.content-container {
  max-width: 750px;
  margin: 35px auto;
  background: var(--card-bg);
  padding: 25px 22px;
  border-radius: 12px;
  box-shadow: 0 4px 18px rgba(0,0,0,0.12);
  text-align: left;
  line-height: 1.7;
  font-size: 17px;
  transition: .3s ease;
}

[data-theme="dark"] .content-container {
  box-shadow: 0 6px 22px rgba(0,0,0,0.45);
}
/* CARD BLOCK */
.card-block {
  background: var(--card-bg);
  max-width: 650px;
  padding: 25px;
  border-radius: 12px;
  margin: 25px auto;
  box-shadow: 0 4px 18px rgba(0,0,0,0.12);
  transition: .3s ease;
}

.card-block p {
  font-size: 20px;
  margin: 12px 0;
  line-height: 1.6;
  font-weight: 500;
}

[data-theme="dark"] .card-block {
  box-shadow: 0 6px 20px rgba(0,0,0,0.42);
}

/* FORM */
form { margin-top:25px; }
form input[type=text] {
  width:90%; max-width:380px;
  padding:12px;
  border-radius:8px;
  border:1px solid var(--border);
  background:var(--bg);
  color:var(--text);
  font-size:17px;
}
form input[type=submit] {
  margin-top:12px;
  background:#1aa04a;
  color:white;
  padding:12px 23px;
  border:none;
  border-radius:8px;
  font-size:18px;
  cursor:pointer;
}

/* RECENT CARDS */
.recent-box {
  max-width: 720px;
  margin: 35px auto;
  background: var(--card-bg);
  border-radius: 14px;
  box-shadow: 0 3px 18px rgba(0,0,0,0.12);
  overflow: hidden;
  transition: .3s ease;
}

[data-theme="dark"] .recent-box {
  box-shadow: 0 6px 20px rgba(0,0,0,0.45);
}

.recent-header {
  padding: 15px 18px;
  font-size: 20px;
  font-weight: bold;
  border-bottom: 1px solid var(--border);
  background: var(--bg);
}

.recent-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 15px;
  border-bottom: 1px solid var(--border);
  transition: 0.2s ease;
}

.recent-item:hover {
  background: rgba(0,0,0,0.05);
  cursor: pointer;
}

.recent-item img {
  width: 70px;
  height: 70px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
}

.recent-item p {
  font-size: 16px;
  margin: 0;
  text-align: left;
  line-height: 1.35;
}

.recent-item small {
  opacity: 0.7;
}

.recent-item:last-child {
  border-bottom: none;
}

/* Mobile Responsive */
@media (max-width: 480px) {
  .recent-item {
    gap: 10px;
    padding: 10px 12px;
  }

  .recent-item img {
    width: 60px;
    height: 60px;
  }

  .recent-item p {
    font-size: 15px;
  }

}
.card-form input[type="text"] {
    width: 95%;
    max-width: 400px;
    margin: 0 auto;

    padding: 14px 18px;
    font-size: 16px;
    font-weight: normal;

    color: #fff;
    background: #ff0000;
    border: 3px solid #000;
    border-radius: 14px;

    box-sizing: border-box;
}

.card-form input[type="text"]::placeholder {
    color: #ffecec;
    font-size: 15px;
}

[data-theme="dark"] .card-form input[type="text"] {
    background: #990000;
    border-color: #000;
    color: #fff;
}

.card-form input[type="text"]:focus {
    border-color: #000;
}

.card-form input[type="submit"] {
    width: 60%;
    max-width: 280px;
    margin: 15px auto 0 auto;

    padding: 14px 18px;
    font-size: 16px;
    font-weight: normal;
    text-align: center;

    background: #00b341;
    color: #fff;

    border: 3px solid #007a2c;
    border-radius: 14px;

    cursor: pointer;
    box-sizing: border-box;
    transition: 0.25s ease;
}

[data-theme="dark"] .card-form input[type="submit"] {
    background: #009933;
    border-color: #006622;
    color: #fff;
}

.card-form input[type="submit"]:hover {
    background: #008f36;
}
.share-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.share-buttons a {
    padding: 14px 28px;
    font-size: 17px;
    font-weight: 600;
    border-radius: 60px;
    text-decoration: none;
    color: #fff;
    transition: all .25s ease;
    display: inline-block;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}
.share-buttons a:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 18px rgba(0,0,0,.25);
}
.share-buttons .whatsapp {
    background: #25D366;
}
.share-buttons .facebook {
    background: #1877F2;
}
.share-buttons .twitter {
    background: #1DA1F2;
}
.share-buttons .telegram {
    background: #0088cc;
}
.share-buttons .linkedin {
    background: #0A66C2;
}
.share-buttons .pinterest {
    background: #E60023;
}
[data-theme="dark"] .share-buttons a {
    color: #fff;
    box-shadow: 0 3px 12px rgba(255,255,255,0.1);
}

[data-theme="dark"] .share-buttons a:hover {
    box-shadow: 0 5px 18px rgba(255,255,255,0.2);
}
/* CATEGORY GRID – DESKTOP */
.category-grid {
    max-width: 900px;
    margin: 20px auto;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

/* CATEGORY PAGE ITEM */
.category-grid .cat-card-item {
    position: relative;
    width: 100%;
    padding-top: 100%; /* perfect square */
    border-radius: 12px;
    overflow: hidden;
    display: block;
    box-shadow: 0 6px 14px rgba(0,0,0,0.25);
}

/* IMAGE */
.category-grid .cat-card-img {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* TITLE BAR */
.cat-title-bar {
    position: absolute;
    bottom: 0; left: 0;
    width: 100%;
    padding: 6px 8px;
    background: rgba(0,0,0,0.35);
    color: #fff;
    font-size: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* TITLE */
.cat-title {
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* MOBILE – 2 CARDS */
@media (max-width: 480px) {
    .category-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
        padding: 0 8px;
    }
}

/* BUBBLE LOADER */
.bubble-loader {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin: 40px 0;
}

.bubble-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.bubble-row div {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: inline-block;
    animation: bubble 0.8s infinite ease-in-out;
}

.bubble-row div:nth-child(1) { background: #4285F4; animation-delay: 0s; }
.bubble-row div:nth-child(2) { background: #EA4335; animation-delay: 0.1s; }
.bubble-row div:nth-child(3) { background: #FBBC05; animation-delay: 0.2s; }
.bubble-row div:nth-child(4) { background: #34A853; animation-delay: 0.3s; }
.bubble-row div:nth-child(5) { background: #9C27B0; animation-delay: 0.4s; }

@keyframes bubble {
    0%, 100% { transform: translateY(0) scale(1); opacity: 1; }
    50% { transform: translateY(-10px) scale(1.4); opacity: 0.85; }
}

.bubble-loader span {
    font-size: 16px;
    color: var(--text);
    opacity: 0.8;
    font-weight: 500;
}@keyframes shake-rotate{0%,10%,20%,30%,40%,50%,60%,70%,80%,90%,100%{transform:rotate(5deg)}5%,15%,25%,35%,45%,55%,65%,75%,85%,95%{transform:rotate(-5deg)}}
.sname, .sname1{color:#000;background:url("https://fastly.jsdelivr.net/gh/cdn2026/pic26/sname.gif");-webkit-background-clip:text;-webkit-text-fill-color:transparent;animation:shake-rotate 10s infinite;margin-top:15px;margin-bottom:5px;margin-left:5%;margin-right:5%;font-weight:bold;overflow-wrap:break-word;}.sname{font-size:40px;margin-bottom:-40px;}.sname1{font-size:25px}