/* ============================================================ */
/* ✨ HIGH-FIDELITY PREMIUM NAVBAR (v3.0) ✨                   */
/* ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&display=swap');

body {
  font-family: 'Outfit', sans-serif !important;
  /* ===== GLOBAL FOOTER FIX — DO NOT REMOVE ===== */
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

html {
  /* Required for body min-height: 100vh to work correctly */
  height: 100%;
}

/* main-content fills remaining space → footer pushed to bottom */
#main-content {
  flex: 1 0 auto;
}

/* footer never shrinks */
footer.footer {
  flex-shrink: 0;
}

.navbar {
  position: fixed;
  top: 25px;
  left: 50%;
  transform: translateX(-50%);
  width: 95%;
  max-width: 1250px;
  height: 75px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 35px;
  z-index: 3000;

  /* Layered Glassmorphism */
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(25px) saturate(180%);
  -webkit-backdrop-filter: blur(25px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 100px;
  box-shadow:
    0 4px 30px rgba(0, 0, 0, 0.1),
    0 10px 40px rgba(0, 0, 0, 0.2),
    inset 0 0 10px rgba(255, 255, 255, 0.05);

  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.navbar.scrolled {
  top: 15px;
  height: 65px;
  background: rgba(15, 23, 42, 0.9);
  width: 98%;
  max-width: 1400px;
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.4);
  padding: 0 25px;
}

/* --- LOGO --- */
.logo a {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-family: 'Outfit', sans-serif !important;
}

.logo i {
  font-size: 24px;
  background: linear-gradient(135deg, #fb923c, #f97316);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 10px rgba(251, 146, 60, 0.4));
}

.header-text {
  font-size: 20px;
  font-weight: 800;
  color: #fff !important;
  letter-spacing: -0.5px;
  text-transform: uppercase;
}

.header-text span {
  opacity: 0.8;
  font-weight: 400;
  color: #fb923c;
  background: none;
  -webkit-text-fill-color: initial;
}

/* --- DESKTOP NAVIGATION --- */
.desktop-menu {
  display: flex;
  list-style: none;
  gap: 8px;
  margin: 0;
  padding: 0;
}

.desktop-menu li a {
  color: rgba(255, 255, 255, 0.7) !important;
  text-decoration: none;
  font-size: 15px;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: 100px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
}

.desktop-menu li a:hover {
  color: #fff !important;
  background: rgba(255, 255, 255, 0.06);
}

.desktop-menu li a.active {
  color: #fff !important;
  background: rgba(249, 115, 22, 0.1);
}

.desktop-menu li a.active::after {
  content: '';
  position: absolute;
  bottom: 5px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 4px;
  background: #f97316;
  border-radius: 50%;
  box-shadow: 0 0 10px #f97316;
}

/* --- DROPDOWN --- */
.dropdown {
  position: relative;
  padding-bottom: 20px;
  /* Bridge gap for hover stability */
  margin-bottom: -20px;
}

.dropdown-menu {
  position: absolute;
  top: calc(100% - 10px);
  left: 50%;
  transform: translateX(-50%) translateY(15px);
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(40px) saturate(200%);
  -webkit-backdrop-filter: blur(40px) saturate(200%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 10px;
  min-width: 240px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6);
  list-style: none;
  pointer-events: none;
}

.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}

.dropdown-menu li a {
  padding: 12px 18px;
  color: rgba(255, 255, 255, 0.7) !important;
  font-size: 15px !important;
  border-radius: 12px;
  font-weight: 600 !important;
  display: flex;
  align-items: center;
}

.dropdown-menu li a:hover {
  background: rgba(251, 146, 60, 0.12) !important;
  color: #fb923c !important;
  transform: translateX(3px);
}

/* --- CTA BUTTON --- */
.nav-btn .insta-btn {
  background: linear-gradient(135deg, #fb923c, #f59e0b);
  padding: 12px 28px;
  border-radius: 50px;
  color: #fff !important;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 8px 20px rgba(251, 146, 60, 0.25);
  transition: 0.3s;
}

.nav-btn .insta-btn:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 12px 30px rgba(251, 146, 60, 0.4);
}

/* --- HAMBURGER --- */
.hamburger {
  display: none;
  width: 50px;


  height: 50px;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  cursor: pointer;
  transition: 0.3s;
  color: #fff;
  font-size: 22px;
}

.hamburger:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: scale(1.1);
}

/* ============================================================ */
/* 📱 CONTROL CENTER MOBILE MENU                              */
/* ============================================================ */

.overlay {
  position: fixed;
  inset: 0;
  background: rgba(2, 6, 23, 0.6);
  backdrop-filter: blur(12px) saturate(160%);
  -webkit-backdrop-filter: blur(12px) saturate(160%);
  z-index: 4000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.5s ease;
  display: none;
}

.overlay.show {
  opacity: 1;
  visibility: visible;
  display: block;
}

.mobile-menu {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -45%) scale(0.95);
  width: 92%;
  max-width: 400px;
  max-height: 85vh;
  background: rgba(15, 23, 42, 0.9);
  backdrop-filter: blur(25px) saturate(180%);
  -webkit-backdrop-filter: blur(25px) saturate(180%);
  z-index: 5000;
  padding: 0;
  margin: 0;
  list-style: none;
  transition: all 0.4s cubic-bezier(0.19, 1, 0.22, 1);
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.8), inset 0 0 0 1px rgba(255, 255, 255, 0.1);
  overflow-y: auto;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  border-radius: 35px;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}

.mobile-menu.show {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, -50%) scale(1);
}

.mob-menu-top {
  padding: 35px 25px 20px;
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  background: transparent;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  margin-bottom: 10px;
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(15, 23, 42, 0.1);
  backdrop-filter: blur(10px);
}

.mob-menu-branding {
  display: flex;
  align-items: center;
  gap: 15px;
}

.mob-brand-logo {
  width: 45px;
  height: 45px;
  background: linear-gradient(135deg, #fb923c, #f97316);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: #fff;
  box-shadow: 0 8px 15px rgba(249, 115, 22, 0.3);
}

.mob-brand-text h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.2px;
}

.mob-brand-text span {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.close-btn {
  width: 55px;
  height: 55px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 26px;
  cursor: pointer;
  transition: 0.4s;
}

.close-btn:hover {
  transform: rotate(90deg) scale(1.1);
  background: rgba(255, 255, 255, 0.15);
}

.mobile-menu li {
  padding: 0 30px;
}

.mobile-menu li a {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  /* Changed from space-between */
  gap: 15px !important;
  /* Added gap */
  padding: 22px 0 !important;
  color: rgba(255, 255, 255, 0.95) !important;
  font-size: 19px;
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  transition: 0.3s;
  font-family: 'Outfit', sans-serif !important;
}

.mobile-menu li a i.fa-chevron-right {
  margin-left: auto !important;
  /* Push chevron to the right */
  opacity: 0.8 !important;
}

.mobile-menu li a:active {
  color: #fb923c !important;
  transform: translateX(10px);
}

.mobile-menu li a i:not(.fa-chevron-right) {
  width: 25px;
  /* Fixed width for icons to keep text aligned */
  text-align: center;
}

.mobile-menu li a i {
  font-size: 14px;
  opacity: 0.8 !important;
  /* Force visibility */
  transition: 0.3s;
}

.menu-divider {
  padding: 25px 30px 10px !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  color: #fb923c !important;
  letter-spacing: 2px !important;
  text-transform: uppercase;
  opacity: 0.8;
  list-style: none;
}

.mob-social-container {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

/* --- MOBILE TILES (SOCIALS) --- */
.mob-social-grid {
  display: grid !important;
  grid-template-columns: repeat(2, 1fr) !important;
  gap: 12px !important;
  padding: 30px !important;
  margin-top: 10px !important;
  padding-bottom: 60px !important;
  /* Add bottom breathing room */
}

.social-tile {
  background: rgba(255, 255, 255, 0.04) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 20px !important;
  padding: 20px !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 12px !important;
  text-decoration: none !important;
  transition: all 0.3s ease !important;
}

.social-tile i {
  font-size: 28px !important;
  margin-bottom: 5px !important;
}

.social-tile span {
  color: rgba(255, 255, 255, 0.9) !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
}

.social-tile:hover {
  background: rgba(255, 255, 255, 0.1) !important;
  transform: translateY(-5px) !important;
  border-color: rgba(255, 255, 255, 0.2) !important;
}

.social-tile.instagram i {
  color: #E1306C !important;
}

.social-tile.telegram i {
  color: #229ED9 !important;
}

.social-tile.pinterest i {
  color: #BD081C !important;
}

.social-tile.facebook i {
  color: #1877F2 !important;
}

/* Force hide hamburger on desktop */
@media (min-width: 1025px) {
  .hamburger {
    display: none !important;
  }
}

/* RESPONSIVE BREAKPOINTS */
@media (max-width: 1150px) {
  .desktop-menu {
    gap: 0;
  }

  .desktop-menu li a {
    padding: 10px 12px;
    font-size: 15px;
  }
}

@media (max-width: 1024px) {

  .desktop-menu,
  .nav-btn {
    display: none !important;
  }

  .hamburger {
    display: flex;
  }

  .navbar {
    top: 15px !important;
    left: 10px !important;
    right: 10px !important;
    transform: none !important;
    height: 70px !important;
    padding: 0 20px !important;
    border-radius: 20px !important;
    width: auto !important;
  }

  /* Keep the pill floating even when scrolled on mobile */
  .navbar.scrolled {
    top: 10px !important;
    width: auto !important;
    left: 5px !important;
    right: 5px !important;
    border-radius: 18px !important;
    height: 65px !important;
  }

  /* GLOBAL PAGE SPACING - FIXES FOR ALL PAGES */
  #main-content {
    padding-top: 100px !important;
    /* Base global clearance */
  }

  /* PREMIUM HERO OVERHAUL (MOBILE-FIRST) - COMPACT SLIDER SIZE */
  .hero {
    position: relative !important;
    padding-top: 130px !important;
    /* Move content safely below navbar */
    min-height: 420px !important;
    /* Compact slider-like height */
    display: flex !important;
    align-items: center !important;
    text-align: left !important;
    background-position: 65% center !important;
    overflow: hidden !important;
  }

  /* Dark Overlay for Legibility */
  .hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(2, 6, 23, 0.85) 0%, rgba(2, 6, 23, 0.4) 100%);
    z-index: 1;
  }

  .hero-content {
    position: relative !important;
    z-index: 2 !important;
    padding: 0 20px !important;
    width: 100% !important;
  }

  .hero h1 {
    font-size: clamp(34px, 8vw, 56px) !important;
    font-weight: 800 !important;
    line-height: 1.1 !important;
    margin-bottom: 20px !important;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.5) !important;
    color: #fff !important;
  }

  .hero p.small-text {
    font-size: 17px !important;
    line-height: 1.5 !important;
    color: rgba(255, 255, 255, 0.8) !important;
    max-width: 320px !important;
    margin-bottom: 30px !important;
  }

  /* REFINED BUTTONS */
  .hero-btns {
    display: flex !important;
    flex-direction: column !important;
    gap: 15px !important;
    width: fit-content !important;
  }

/* TABLET EXCLUSIVE HERO (769px - 1180px) */
@media (min-width: 769px) and (max-width: 1180px) {
  .hero {
    padding-top: 150px !important;
    min-height: 520px !important;
    display: flex !important;
    align-items: center !important;
  }
  .hero::before {
    background: radial-gradient(circle at 30% 50%, rgba(2, 6, 23, 0.9) 0%, rgba(2, 6, 23, 0.4) 100%) !important;
  }
  .hero h1 {
    font-size: 62px !important;
    letter-spacing: -3px !important;
    line-height: 1 !important;
    max-width: 600px !important;
    margin-bottom: 25px !important;
  }
  .hero p.small-text {
    font-size: 19px !important;
    max-width: 400px !important;
  }
  .hero-btns {
    flex-direction: row !important;
    gap: 20px !important;
    width: 100% !important;
    margin-top: 35px !important;
  }
  .btn.orange, .btn.blue {
    padding: 18px 40px !important;
    font-size: 15px !important;
    width: auto !important;
  }
}

  .btn.orange {
    background: linear-gradient(135deg, #fb923c, #f97316) !important;
    padding: 16px 35px !important;
    border-radius: 100px !important;
    box-shadow: 0 10px 25px rgba(251, 146, 60, 0.4) !important;
    border: none !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    font-weight: 800 !important;
    font-size: 14px !important;
  }

  .btn.blue {
    background: rgba(255, 255, 255, 0.08) !important;
    backdrop-filter: blur(12px) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    padding: 16px 35px !important;
    border-radius: 100px !important;
    margin-left: 0 !important;
    color: #fff !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    font-weight: 800 !important;
    font-size: 14px !important;
  }

  /* MOBILE DROPDOWN STYLES - DEFINITIVE FIX */
  .mobile-menu .dropdown .dropdown-menu {
    display: none !important;
    visibility: visible !important;
    /* Force visible */
    opacity: 1 !important;
    /* Force opaque */
    position: relative !important;
    /* Force inline flow */
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    background: rgba(255, 255, 255, 0.05) !important;
    margin-top: 10px !important;
    border-radius: 12px !important;
    padding: 10px 15px !important;
    border-left: 2px solid #fb923c !important;
    box-shadow: none !important;
    transform: none !important;
  }

  .mobile-menu .dropdown.open .dropdown-menu {
    display: block !important;
  }

  .mobile-menu .dropdown.open .mobile-drop i {
    transform: rotate(180deg) !important;
  }
}

/* DESKTOP HERO REFINEMENTS */
@media (min-width: 1025px) {
  .hero {
    padding-top: 120px !important;
    min-height: 85vh !important;
    background-position: center !important;
  }

  .hero-btns {
    flex-direction: row !important;
    gap: 20px !important;
  }

  .hero h1 {
    font-size: 72px !important;
    max-width: 800px !important;
    margin-bottom: 25px !important;
  }

  .hero p.small-text {
    font-size: 22px !important;
    max-width: 550px !important;
    margin-bottom: 40px !important;
  }
}

@media (max-width: 480px) {}

/* Socials in Mobile Menu */
.social-heading {
  margin-top: 25px;
  margin-bottom: 10px;
  font-size: 13px;
  text-transform: uppercase;
  color: #94a3b8;
  font-weight: 700;
  letter-spacing: 1px;
}

.mobile-social-btn {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 12px 20px !important;
  border-radius: 12px !important;
  font-size: 14px !important;
  margin-top: 10px;
  text-decoration: none;
  color: #fff;
  transition: 0.3s;
}

/* Platform Colors */
.instagram-btn {
  background: linear-gradient(45deg, #fb923c, #e1306c, #833ab4);
  /* Improved contrast */
}

.pinterest-btn {
  background: #e60023;
  color: #020617;
}

.youtube-btn {
  background: #ff0000;
  color: #020617;
}

.telegram-btn {
  background: #006097;
  /* Improved contrast */
}

.facebook-btn {
  background-color: #003366 !important;
  color: #ffffff !important;
}

.mobile-social-btn:hover {
  opacity: .9;
}

/* =============================================
   PRIME RIBBON - PREMIUM LANDING BRIDGE
   ============================================= */
.prime-ribbon {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  max-width: 1100px;
  width: 90%;
  margin: -45px auto 50px;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(30px) saturate(180%);
  -webkit-backdrop-filter: blur(30px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 22px;
  padding: 22px 35px;
  position: relative;
  z-index: 50;
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.4),
    0 2px 8px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.ribbon-item {
  display: flex;
  align-items: center;
  gap: 14px;
}

.ribbon-divider {
  width: 1px;
  height: 45px;
  background: rgba(255, 255, 255, 0.1);
  flex-shrink: 0;
}

.ribbon-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, rgba(251, 146, 60, 0.18), rgba(251, 146, 60, 0.04));
  border-radius: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 21px;
  color: #fb923c;
  border: 1px solid rgba(251, 146, 60, 0.25);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  flex-shrink: 0;
}

.ribbon-item:hover .ribbon-icon {
  transform: scale(1.15) rotate(8deg);
  background: linear-gradient(135deg, rgba(251, 146, 60, 0.35), rgba(251, 146, 60, 0.12));
  box-shadow: 0 0 20px rgba(251, 146, 60, 0.3);
}

.ribbon-text {
  display: flex;
  flex-direction: column;
}

.ribbon-text strong {
  font-family: 'Outfit', sans-serif;
  font-size: 16px;
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.2px;
  line-height: 1.2;
}

.ribbon-text span {
  font-size: 12.5px;
  color: #94a3b8;
  margin-top: 3px;
  font-weight: 400;
}

/* PRIME RIBBON - track wrapper (Desktop) */
.ribbon-track {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  width: 100%;
  gap: 0;
}

/* Hide clones on desktop */
.ribbon-clone {
  display: none;
}

/* Mobile: seamless infinite marquee */
@keyframes ribbonMarquee {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

@media (max-width: 1024px) {
  .prime-ribbon {
    width: calc(100% - 30px);
    max-width: none;
    margin: -30px 15px 25px;
    padding: 16px 14px;
    border-radius: 18px;
    overflow: hidden;
    /* clip the moving track */
    box-sizing: border-box;
    justify-content: flex-start;
  }

  /* Show clones so the loop is seamless */
  .ribbon-clone {
    display: flex;
  }

  .ribbon-divider.ribbon-clone {
    display: block;
  }

  /* Track scrolls left continuously */
  .ribbon-track {
    display: flex;
    align-items: center;
    width: max-content;
    justify-content: flex-start;
    gap: 0;
    animation: ribbonMarquee 10s linear infinite;
  }

  .ribbon-item {
    flex: 0 0 auto;
    padding: 0 24px;
    border-bottom: none;
  }

  .ribbon-divider {
    display: block;
    width: 1px;
    height: 38px;
    background: rgba(255, 255, 255, 0.12);
    flex-shrink: 0;
  }

  .ribbon-icon {
    width: 38px;
    height: 38px;
    font-size: 17px;
    border-radius: 10px;
  }

  .ribbon-text strong {
    font-size: 13px;
  }

  .ribbon-text span {
    font-size: 11px;
  }
}

.category-section {
  padding: 40px 0;
  background: #020617;
  overflow: hidden;
  box-sizing: border-box;
}

.category-header {
  width: 95%;
  margin: 0 auto 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding: 0 10px;
}

.category-title {
  margin: 0;
  font-size: 24px;
  font-weight: 700;
  color: #fff;
}

.view-all-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: linear-gradient(135deg, #1e293b, #0f172a);
  color: #fb923c !important;
  font-size: 14px;
  font-weight: 600;
  border-radius: 30px;
  border: 1px solid rgba(251, 146, 60, 0.3);
  text-decoration: none !important;
  transition: all 0.3s ease;
}

.view-all-btn:hover {
  background: linear-gradient(135deg, #fb923c, #f97316);
  color: #111 !important;
  transform: translateX(3px);
  border-color: #fb923c;
}

.view-all-btn i {
  font-size: 12px;
}

.category-grid {
  width: 95%;
  margin: auto;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  /* Desktop wrap */
  gap: 15px;
  perspective: 1200px;
  padding: 10px 0;
}

.category-grid .cat-card {
  position: relative;
  width: 180px;
  background: rgba(15, 23, 42, 0.4);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
  padding: 12px;
  text-align: center;
  transform-style: preserve-3d;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.category-grid .cat-card:hover {
  transform: translateY(-8px) rotateX(10deg) rotateY(-5deg);
  background: rgba(30, 41, 59, 0.6);
  border-color: rgba(249, 115, 22, 0.4);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.5);
}

.category-grid .cat-card img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  border-radius: 12px;
  transition: all 0.5s ease;
  transform: translateZ(10px);
}

.category-grid .cat-card:hover img {
  transform: translateZ(25px) scale(1.05);
}

.category-grid .cat-card span {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  margin-top: 10px;
  transform: translateZ(15px);
}

/* MOBILE PREMIUM UPGRADE (Horizontal Scroll) */
@media (max-width: 767px) {
  .category-section {
    padding: 30px 0;
    overflow: hidden;
  }

  .category-header {
    width: 100%;
    padding: 0 15px;
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap;
    gap: 10px;
  }

  .category-title {
    font-size: clamp(16px, 4vw, 20px) !important;
    margin: 0 !important;
    padding: 0 !important;
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .view-all-btn {
    padding: 6px 12px;
    font-size: 12px;
    flex: 0 0 auto;
    white-space: nowrap;
  }

  .category-grid {
    display: flex !important;
    flex-wrap: nowrap !important;
    justify-content: flex-start !important;
    gap: 12px !important;
    overflow-x: auto !important;
    scroll-snap-type: x mandatory;
    padding: 10px 15px 30px !important;
    width: 100% !important;
    max-width: 100vw;
    -webkit-overflow-scrolling: touch;
    box-sizing: border-box;
  }

  .category-grid .cat-card {
    flex: 0 0 120px !important;
    width: 120px !important;
    padding: 12px 10px;
    scroll-snap-align: center;
    margin: 0 !important;
  }

  .category-grid .cat-card img {
    height: 95px !important;
    width: 100% !important;
  }

  .category-grid .cat-card span {
    font-size: 13px !important;
  }

  .category-grid .cat-card:last-child {
    margin-right: 15px !important;
  }
}

.offer-alert {
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  overflow: hidden;
  white-space: nowrap;
  padding: 12px 0;
  margin: 25px auto 15px;
  border-radius: 100px;
  max-width: 95%;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4), inset 0 0 15px rgba(251, 146, 60, 0.05);
  display: flex;
  align-items: center;
  position: relative;
}

/* Pulsing Badge prefix */
.offer-alert::before {
  content: "FLASH OFFER";
  display: inline-block;
  background: linear-gradient(135deg, #fb923c, #f97316);
  color: #0b1220;
  font-size: 10px;
  font-weight: 900;
  padding: 4px 12px;
  border-radius: 50px;
  margin-left: 10px;
  margin-right: 15px;
  z-index: 10;
  flex-shrink: 0;
  animation: pulse-glow 2s infinite;
  box-shadow: 0 0 15px rgba(251, 146, 60, 0.4);
}

@keyframes pulse-glow {
  0% {
    transform: scale(1);
    box-shadow: 0 0 5px rgba(251, 146, 60, 0.4);
  }

  50% {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(251, 146, 60, 0.7);
  }

  100% {
    transform: scale(1);
    box-shadow: 0 0 5px rgba(251, 146, 60, 0.4);
  }
}

.offer-track {
  display: flex;
  width: max-content;
  animation: scrollSeamless 30s linear infinite;
  will-change: transform;
}

.offer-text {
  display: inline-block;
  padding-right: 50px;
  /* Space between duplicated items */
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.offer-text span {
  color: #fb923c;
  background: rgba(251, 146, 60, 0.1);
  padding: 2px 6px;
  border-radius: 4px;
}

@keyframes scrollSeamless {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

@media (max-width: 767px) {
  .offer-alert {
    padding: 10px 0;
    margin-top: 15px;
    border-radius: 12px;
  }

  .offer-alert::before {
    font-size: 9px;
    padding: 3px 8px;
  }

  .offer-text {
    font-size: 12px;
  }

  .offer-track {
    animation-duration: 20s;
  }
}



/* ===== ENTRY POPUP ===== */

.entry-popup {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .75);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  opacity: 0;
  visibility: hidden;
  transition: .4s ease;
}

.entry-popup.active {
  opacity: 1;
  visibility: visible;
}

.popup-container {
  background: linear-gradient(135deg, #0f172a, #020617);
  width: 95%;
  max-width: 480px;
  padding: 40px 30px;
  border-radius: 22px;
  text-align: center;
  box-shadow: 0 40px 90px rgba(0, 0, 0, .7);
  position: relative;
  animation: popupFade .4s ease;
}

@keyframes popupFade {
  from {
    transform: scale(.8);
    opacity: 0;
  }

  to {
    transform: scale(1);
    opacity: 1;
  }
}

.popup-left h2 {
  color: white;
  margin-bottom: 10px;
  font-size: 26px;
}

.popup-left p {
  color: #cbd5e1;
  font-size: 14px;
  margin-bottom: 25px;
  line-height: 1.6;
}

.seo-faq-title {
  font-size: 28px;
  margin-bottom: 30px;
  font-weight: 800;
  text-align: center;
  background: linear-gradient(to right, #1d4ed8, #fb923c);
  /* Improved contrast */
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.seo-faq-item {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 20px;
  transition: 0.3s ease;
}

.seo-faq-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}

.seo-faq-question {
  font-size: 18px;
  font-weight: 600;
  color: #0f172a;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.seo-faq-question::before {
  content: "❓";
  font-size: 20px;
}

.seo-faq-answer {
  font-size: 15px;
  line-height: 1.7;
  color: #475569;
  margin-bottom: 0;
}

.seo-text-block {
  font-size: 15px;
  line-height: 1.7;
  color: #475569;
  margin-bottom: 16px;
}

.seo-list {
  margin: 15px 0 0;
  padding-left: 20px;
}

.seo-list li {
  margin-bottom: 8px;
  font-size: 15px;
  line-height: 1.6;
  color: #475569;
}

/* Dark mode overrides (for category.php and other dark wrappers) */
.zn-prod-wrap .seo-faq-item {
  background: linear-gradient(145deg, #0f172a, #020617);
  border-color: rgba(255, 255, 255, 0.06);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.zn-prod-wrap .seo-faq-item:hover {
  transform: translateY(-4px);
  background: linear-gradient(145deg, #1e293b, #0f172a);
  box-shadow: 0 15px 40px rgba(37, 99, 235, 0.15);
  border-color: rgba(255, 255, 255, 0.12);
}

.zn-prod-wrap .seo-faq-question {
  color: #f8fafc;
}

.zn-prod-wrap .seo-faq-answer,
.zn-prod-wrap .seo-text-block,
.zn-prod-wrap .seo-list li {
  color: #94a3b8;
}

/* Restrict targeted FAQ blocks to mobile viewports only */
@media(min-width: 769px) {
  .mobile-only-faq {
    display: none !important;
  }
}

/* =============================================
   PREMIUM TELEGRAM ENTRY POPUP
   ============================================= */

/* Overlay */
.entry-popup {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 99999;
  align-items: center;
  justify-content: center;
}

.entry-popup.active {
  display: flex;
  animation: popupFadeIn 0.4s ease forwards;
}

@keyframes popupFadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

/* Blurred backdrop */
.popup-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 6, 23, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

/* Card */
.popup-container {
  position: relative;
  z-index: 2;
  background: linear-gradient(145deg, rgba(15, 23, 42, 0.95), rgba(30, 41, 59, 0.9));
  backdrop-filter: blur(30px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 28px;
  padding: 40px 35px 30px;
  width: 90%;
  max-width: 440px;
  text-align: center;
  box-shadow:
    0 25px 60px rgba(0, 0, 0, 0.6),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  animation: popupSlideUp 0.45s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

@keyframes popupSlideUp {
  from {
    transform: translateY(40px) scale(0.95);
    opacity: 0;
  }

  to {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
}

/* Close Button */
.popup-close {
  position: absolute;
  top: 16px;
  right: 18px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
  font-size: 15px;
  cursor: pointer;
  transition: 0.3s;
}

.popup-close:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
}

/* Icon + Badge row */
.popup-icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 18px;
}

/* Animated Telegram Icon */
.popup-tg-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, #0088cc, #006097);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  color: #fff;
  box-shadow: 0 0 30px rgba(0, 136, 204, 0.5);
  animation: tgGlow 2.5s ease-in-out infinite;
}

@keyframes tgGlow {

  0%,
  100% {
    box-shadow: 0 0 20px rgba(0, 136, 204, 0.4);
  }

  50% {
    box-shadow: 0 0 45px rgba(0, 136, 204, 0.8);
  }
}

/* Badge */
.popup-badge {
  background: rgba(251, 146, 60, 0.15);
  border: 1px solid rgba(251, 146, 60, 0.3);
  color: #fb923c;
  border-radius: 100px;
  padding: 5px 14px;
  font-size: 12px;
  font-weight: 600;
}

/* Title */
.popup-title {
  font-family: 'Outfit', sans-serif;
  font-size: 28px;
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
  margin: 0 0 12px;
}

.popup-title span {
  background: linear-gradient(90deg, #fb923c, #f97316);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* Sub text */
.popup-sub {
  color: #94a3b8;
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 16px;
}

/* Social proof */
.popup-proof {
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.25);
  color: #86efac;
  border-radius: 10px;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 22px;
}

/* Main CTA */
.popup-telegram {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(135deg, #0088cc, #006097);
  color: #fff !important;
  padding: 16px 30px;
  border-radius: 100px;
  text-decoration: none;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.3px;
  transition: 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 8px 25px rgba(0, 136, 204, 0.4);
  margin-bottom: 18px;
}

.popup-telegram:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 14px 35px rgba(0, 136, 204, 0.6);
}

/* OR Divider */
.popup-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #475569;
  font-size: 12px;
  margin-bottom: 16px;
}

.popup-divider::before,
.popup-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
}

/* Email form */
.popup-form {
  display: flex;
  gap: 8px;
  margin-bottom: 14px;
}

.popup-form input {
  flex: 1;
  padding: 12px 16px;
  border-radius: 100px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font-size: 13px;
  outline: none;
  transition: 0.3s;
}

.popup-form input::placeholder {
  color: #64748b;
}

.popup-form input:focus {
  border-color: rgba(251, 146, 60, 0.5);
  background: rgba(255, 255, 255, 0.08);
}

.popup-form button {
  padding: 12px 20px;
  border-radius: 100px;
  border: none;
  background: linear-gradient(135deg, #fb923c, #f97316);
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  white-space: nowrap;
  transition: 0.3s;
}

.popup-form button:hover {
  transform: scale(1.04);
  box-shadow: 0 6px 20px rgba(251, 146, 60, 0.4);
}

/* Skip link */
.popup-skip {
  color: #475569;
  font-size: 12px;
  cursor: pointer;
  margin: 0;
  transition: 0.2s;
}

.popup-skip:hover {
  color: #94a3b8;
  text-decoration: underline;
}

/* Mobile */
@media (max-width: 500px) {
  .popup-container {
    padding: 32px 22px 24px;
  }

  .popup-title {
    font-size: 24px;
  }

  .popup-form {
    flex-direction: column;
  }

  .popup-form button {
    width: 100%;
  }
}

/* Remove bullets from dropdown */
.dropdown-menu {
  list-style: none;
  margin: 0;
  padding-left: 0;
}

.dropdown-menu li {
  list-style: none;
}


/* Legacy conflicts removed */

#topBtn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #1d4ed8, #7c3aed);
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  font-size: 20px;
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 9999;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 10px 25px rgba(37, 99, 235, 0.4);
}

#topBtn:hover {
  transform: translateY(-8px) scale(1.1);
  background: linear-gradient(135deg, #1d4ed8, #6d28d9);
  box-shadow: 0 15px 35px rgba(37, 99, 235, 0.6);
}

#topBtn:active {
  transform: translateY(-2px) scale(0.95);
}

/* GLOBAL HEADING RESET (v8) */
.cat-card h3 {
  margin: 0;
  padding: 0;
  font-weight: inherit;
  font-size: inherit;
}

/* =================================
   ✨ LIGHTWEIGHT MOTION SYSTEM (v6.0)
   ================================= */

/* Subtle Reveal on Scroll (Advanced Liquid) */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(30px) scale(0.96) skewY(1deg);
  filter: blur(5px);
  transition: all 1.2s cubic-bezier(0.2, 1, 0.2, 1);
  will-change: transform, opacity, filter;
}

.reveal-on-scroll.active {
  opacity: 1;
  transform: translateY(0) scale(1) skewY(0deg);
  filter: blur(0);
}

/* Slide Left (Advanced Liquid) */
.reveal-left {
  opacity: 0;
  transform: translateX(-40px) scale(0.96) rotate(-1deg);
  filter: blur(5px);
  transition: all 1.2s cubic-bezier(0.2, 1, 0.2, 1);
  will-change: transform, opacity, filter;
}

.reveal-left.active {
  opacity: 1;
  transform: translateX(0) scale(1) rotate(0deg);
  filter: blur(0);
}

/* Slide Right (Advanced Liquid) */
.reveal-right {
  opacity: 0;
  transform: translateX(40px) scale(0.96) rotate(1deg);
  filter: blur(5px);
  transition: all 1.2s cubic-bezier(0.2, 1, 0.2, 1);
  will-change: transform, opacity, filter;
}

.reveal-right.active {
  opacity: 1;
  transform: translateX(0) scale(1) rotate(0deg);
  filter: blur(0);
}

/* Zoom In (Advanced Liquid) */
.reveal-zoom {
  opacity: 0;
  transform: scale(0.8) translateY(20px);
  filter: blur(10px);
  transition: all 1.4s cubic-bezier(0.2, 1, 0.2, 1);
  will-change: transform, opacity, filter;
}

.reveal-zoom.active {
  opacity: 1;
  transform: scale(1) translateY(0);
  filter: blur(0);
}

/* Majestic Hero Reveal */
.reveal-hero {
  opacity: 0;
  transform: translateY(30px) scale(0.95);
  filter: blur(10px);
  transition: all 1.2s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity, filter;
}

.reveal-hero.active {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}

/* Global Transition for Premium Micro-Interactions */
.btn,
.buy-btn,
.cat-card,
.product-card,
.mini-card,
.logo a,
.menu a {
  transition: all 0.3s ease !important;
}

/* Hover Shadow/Scale Effects */
.product-card:hover,
.mini-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.5);
}

.btn:hover,
.buy-btn:hover {
  transform: translateY(-3px);
  filter: brightness(1.1);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

/* Accessibility: Handle Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  .reveal-on-scroll {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  * {
    transition: none !important;
    animation: none !important;
    scroll-behavior: auto !important;
  }
}

/* Trending Slider Styles */
.trending-slider {
  position: relative;
  margin: 30px auto;
  max-width: 1200px;
  padding: 0 40px;
}

.trending-container {
  overflow: hidden;
  border-radius: 20px;
}

.trending-track {
  display: flex;
  gap: 20px;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
  padding: 10px 0;
}

.trending-slider .product-card {
  flex: 0 0 calc(33.33% - 14px);
  min-width: 280px;
  background: #0f172a;
}

/* Slide Arrows */
.slide-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(30, 41, 59, 0.8);
  color: white;
  border: none;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  transition: all 0.3s ease;
  backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.slide-arrow:hover {
  background: #fb923c;
  color: #020617;
  transform: translateY(-50%) scale(1.1);
}

.slide-arrow.prev {
  left: -5px;
}

.slide-arrow.next {
  right: -5px;
}

@media (max-width: 900px) {
  .trending-slider {
    padding: 0 10px;
  }

  .trending-slider .product-card {
    flex: 0 0 calc(50% - 10px);
  }
}

@media (max-width: 600px) {
  .trending-slider .product-card {
    flex: 0 0 100%;
  }
}

/* --- APP FEEL REFINEMENTS --- */
* {
  -webkit-tap-highlight-color: transparent;
}

body {
  user-select: none;
  -webkit-user-select: none;
}

input,
textarea,
[contenteditable="true"] {
  user-select: text;
  -webkit-user-select: text;
}

/* GLOBAL SALE BANNER OFFSETS */
.sale-active-body .hero {
  padding-top: 105px !important;
  /* Desktop Offset (60 + 45) */
}

.sale-active-body #main-content {
  padding-top: 145px !important;
  /* Global Content Offset (100 + 45) */
}

@media (max-width: 1024px) {
  .sale-active-body .hero {
    padding-top: 175px !important;
    /* Mobile Offset (130 + 45) */
  }
}