:root {
  --bg-primary: #f8fafc;
  --bg-secondary: #ffffff;
  --text-primary: #0f172a;
  --text-muted: #64748b;
  --primary: #6366f1;
}

[data-theme="dark"] {
  --bg-primary: #0f172a;
  --bg-secondary: #1e293b;
  --text-primary: #f8fafc;
  --text-muted: #94a3b8;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Poppins, sans-serif;
}

body {
  background: var(--bg-primary);
  color: var(--text-primary);
}

/* ===== HEADER (IMAGE MATCH STYLE) ===== */

.vv-header {
  background: #ffffff;
  padding: 12px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #e5e7eb;

  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
}


.vv-header-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.vv-logo {
  width: 55px;
  height: 46px;
  border-radius: 6px;
  object-fit: cover;
}

.vv-title {
  font-size: 20px;
  font-weight: 900;   /* EXTRA BOLD */
  color: #111827;
}

.vv-theme-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid #e5e7eb;
  background: #f9fafb;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ===== DARK MODE HEADER ===== */

[data-theme="dark"] .vv-header {
  background: #0f172a;
  border-bottom: 1px solid #1e293b;
}

[data-theme="dark"] .vv-title {
  color: #f8fafc;
}

[data-theme="dark"] .vv-theme-btn {
  background: #1e293b;
  border-color: #334155;
}

/* ===== REST OF YOUR DESIGN ===== */

.hero {
  padding: 20px;
  text-align: center;
}

.hero-tag {
  background: var(--bg-secondary);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 20px;
  font-size: 13px;
}

.hero-tag-dot {
  width: 8px;
  height: 8px;
  background: #10b981;
  border-radius: 50%;
}

.banner-section {
  width: 100%;
  padding: 12px;
}

.banner-carousel {
  width: 100%;
  overflow: hidden;
  border-radius: 16px;
}

.banner-track {
  display: flex;
  width: max-content;
  animation: slide 20s linear infinite;
}

.banner-slide {
  width: 100vw;
  max-width: 420px;
  height: 180px;
  flex-shrink: 0;
  border-radius: 22px;
  overflow: hidden;
}

.banner-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Slow Continuous Animation */
@keyframes slide {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}



/* Animation */
@keyframes slide {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}


.hero-stats {
  display: flex;
  justify-content: space-between;
  gap: 01px;
  margin-top: 0px;
}

.hero-stat {
  flex: 1;
  background: #f6f7ff;
  border-radius: 16px;
  padding: 14px 10px;
  text-align: center;
  box-shadow: 0 6px 20px rgba(0,0,0,0.05);
}

.hero-stat-value {
  font-family: "JetBrains Mono", monospace;
  font-size: clamp(18px, 4vw, 28px);
  font-weight: 700;
  color: #6d5dfc;
  margin-bottom: 4px;
}

.hero-stat-label {
  font-size: 10px;
  color: #666;
  font-weight: 500;
}


.search-section {
  padding: 16px;
}

.search-input {
  width: 100%;
  padding: 14px 20px;
  border-radius: 50px;
  border: 2px solid #e2e8f0;
  background: var(--bg-secondary);
  color: var(--text-primary);
}

.main-container {
  padding: 20px;
}

.coupon-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}

.coupon-card {
  background: var(--bg-secondary);
  border-radius: 16px;
  padding: 20px;
  border: 1px solid #e2e8f0;
}

.coupon-name {
  font-weight: 700;
  margin-bottom: 8px;
}

.coupon-price {
  color: var(--primary);
  font-weight: 800;
  font-size: 20px;
}

.coupon-btn {
  margin-top: 10px;
  padding: 12px 20px;
  border-radius: 12px;
  border: none;
  background: var(--primary);
  color: white;
  font-weight: 700;
  cursor: pointer;
}

.footer {
  text-align: center;
  padding: 20px;
  color: var(--text-muted);
}

/* ===== ADVANCED COUPON CARD (SHEIN STYLE) ===== */

.coupon-card-advanced {
  background: #fff;
  border-radius: 20px;
  padding: 16px;
  border: 2px solid #6366f1;
  box-shadow: 0 8px 20px rgba(0,0,0,0.05);
}

.coupon-top {
  display: flex;
  gap: 12px;
}

.brand-box {
  width: 68px;
  height: 68px;
  background: #000;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand-box img {
  width: 60px;
  height: 55px;
  object-fit: contain;
}

.coupon-info h3 {
  font-size: 18px;
  font-weight: 800;
}

.badges {
  display: flex;
  gap: 8px;
  margin: 6px 0;
}

.badge {
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 20px;
  font-weight: 700;
}

.badge.category {
  background: #eef2ff;
  color: #6366f1;
}

.badge.save {
  background: #dcfce7;
  color: #16a34a;
}

.brand-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.trending {
  background: #000;
  color: #fff;
  font-size: 11px;
  padding: 4px 12px;
  border-radius: 20px;
  font-weight: 700;
}

.expiry {
  font-size: 12px;
  color: #94a3b8;
  text-align: right;
  display: block;
}


.coupon-stats {
  display: flex;
  justify-content: space-between;
  text-align: center;
  background: #f1f5f9;
  border-radius: 12px;
  padding: 12px;
  margin: 14px 0;
}

.coupon-stats div span {
  display: block;
  font-size: 11px;
  color: #64748b;
}

.specific-btn {
  width: 100%;
  background: #f1f5f9;
  border: none;
  padding: 10px;
  border-radius: 12px;
  font-weight: 600;
  margin-bottom: 12px;
}

.coupon-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.price .current {
  font-size: 22px;
  font-weight: 800;
  color: #6366f1;
}

.price .old {
  display: block;
  font-size: 13px;
  color: #94a3b8;
  text-decoration: line-through;
}

.buy-btn {
  background: #6366f1;
  color: #fff;
  border: none;
  padding: 12px 22px;
  border-radius: 14px;
  font-weight: 700;
  cursor: pointer;
}

.share {
  margin-top: 10px;
  font-size: 13px;
  color: #64748b;
}

.share i {
  margin-left: 8px;
  font-size: 18px;
  cursor: pointer;
}

.buy-btn {
  background: linear-gradient(135deg, #6366f1, #4f46e5);
  color: #fff;
  border: none;
  padding: 12px 20px;
  border-radius: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
}

.buy-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(99, 102, 241, 0.4);
}

.buy-btn:active {
  transform: scale(0.95);
}

.coupon-card-advanced {
  animation: fadeInUp 0.6s ease both;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.coupon-card-advanced:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.1);
  transition: 0.3s ease;
}
/* ===== DARK MODE FIXES ===== */

[data-theme="dark"] body {
  background: #0b1220;
  color: #f8fafc;
}

/* Hero & stats */
[data-theme="dark"] .hero,
[data-theme="dark"] .search-section {
  background: #0b1220;
}

[data-theme="dark"] .hero-stat-label,
[data-theme="dark"] .hero-tag {
  color: #cbd5f5;
}

/* Search bar */
[data-theme="dark"] .search-input {
  background: #0f172a;
  border-color: #334155;
  color: #f8fafc;
}

/* Coupon card */
[data-theme="dark"] .coupon-card-advanced {
  background: #0f172a;
  border-color: #6366f1;
  box-shadow: 0 10px 25px rgba(0,0,0,0.4);
}

/* Coupon text */
[data-theme="dark"] .coupon-info h3,
[data-theme="dark"] .coupon-name {
  color: #f8fafc;
}

[data-theme="dark"] .expiry {
  color: #94a3b8;
}

/* Stats row */
[data-theme="dark"] .coupon-stats {
  background: #020617;
}

[data-theme="dark"] .coupon-stat-label,
[data-theme="dark"] .coupon-stats span {
  color: #cbd5f5;
}

/* Specific product button */
[data-theme="dark"] .specific-btn,
[data-theme="dark"] .specific-product-btn {
  background: #020617;
  color: #f8fafc;
}

/* Price */
[data-theme="dark"] .price .old {
  color: #64748b;
}

/* Footer */
[data-theme="dark"] .footer {
  background: #020617;
  color: #94a3b8;
}
.hero {
  background: linear-gradient(180deg, #0b1220, #020617);
  color: #f8fafc;
}

[data-theme="light"] .hero {
  background: #f8fafc;
  color: #0f172a;
}
/* Load More Button */
.load-more-container {
  text-align: center;
  margin: 30px 0;
}

.load-more-btn {
  background: #6366f1;
  color: #fff;
  border: none;
  padding: 14px 30px;
  border-radius: 30px;
  font-weight: 700;
  cursor: pointer;
  transition: 0.3s;
}

.load-more-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 25px rgba(99,102,241,0.4);
}

/* Footer */
.footer-advanced {
  background: #020617;
  color: #94a3b8;
  text-align: center;
  padding: 30px 20px;
  font-size: 14px;
}
/* ===== SUPPORT SECTION ===== */

.support-section {
  padding: 40px 20px;
}

.support-card {
  background: #fff;
  border-radius: 20px;
  padding: 30px 20px;
  text-align: center;
  max-width: 500px;
  margin: 0 auto;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.support-icon {
  font-size: 50px;
  margin-bottom: 10px;
}

.support-card h2 {
  font-size: 26px;
  font-weight: 800;
}

.support-card p {
  color: #64748b;
  margin: 10px 0 20px;
}

.support-box {
  background: #f1f5f9;
  border-radius: 16px;
  padding: 20px;
}

.support-email-icon {
  font-size: 30px;
}

.support-box h3 {
  margin: 10px 0;
  font-size: 20px;
  font-weight: 700;
}

.support-btn {
  display: inline-block;
  margin: 15px 0;
  background: linear-gradient(135deg, #6366f1, #4f46e5);
  color: #fff;
  padding: 12px 22px;
  border-radius: 14px;
  font-weight: 700;
  text-decoration: none;
}

.support-time {
  background: #dcfce7;
  color: #16a34a;
  padding: 10px 14px;
  border-radius: 20px;
  font-weight: 600;
  font-size: 14px;
}

/* DARK MODE SUPPORT */

[data-theme="dark"] .support-card {
  background: #0f172a;
  color: #f8fafc;
}

[data-theme="dark"] .support-box {
  background: #020617;
}

[data-theme="dark"] .support-card p {
  color: #cbd5f5;
}
img[src*="bigbasket.png"] {
  width: 69px;
  height: 69px;
}
img[src*="shein.png"] {
  width: 62px;
  height: 50px;
}
img[src*="tata.png"] {
  width: 69px;
  height: 68px;
}
img[src*="gplay.png"] {
  width: 70px;
  height: 80px;
}
img[src*="mamaearth.png"] {
  width: 69px;
  height: 80px;
}
img[src*="boat.png"] {
  width: 69px;
  height: 80px;
}
/* ===== SUPPORT SECTION (MATCH IMAGE) ===== */

.support-section-advanced {
  padding: 40px 20px;
}

.support-main-card {
  background: #ffffff;
  border-radius: 24px;
  padding: 30px 20px;
  max-width: 500px;
  margin: 0 auto;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.support-main-icon {
  font-size: 48px;
  margin-bottom: 10px;
}

.support-main-card h2 {
  font-size: 26px;
  font-weight: 800;
}

.support-subtext {
  color: #64748b;
  margin: 10px 0 20px;
  line-height: 1.5;
}

/* Email Card */
.support-email-card {
  background: #f1f5f9;
  border-radius: 20px;
  padding: 20px;
  margin: 20px 0;
}

.email-icon {
  font-size: 28px;
}

.support-email-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin: 10px 0;
}

.support-email-card p {
  color: #64748b;
  font-size: 14px;
}

.support-contact-btn {
  display: inline-block;
  margin: 15px 0;
  background: linear-gradient(135deg, #6366f1, #4f46e5);
  color: #fff;
  padding: 12px 24px;
  border-radius: 16px;
  font-weight: 700;
  text-decoration: none;
}

.support-response-time {
  background: #dcfce7;
  color: #16a34a;
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
}

/* Info Cards */
.support-info-list {
  margin-top: 25px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.support-info-card {
  background: #f1f5f9;
  border-radius: 16px;
  padding: 16px;
  font-size: 14px;
}

.support-info-card h4 {
  margin: 6px 0;
  font-weight: 700;
}

/* Dark Mode */
[data-theme="dark"] .support-main-card {
  background: #0f172a;
  color: #f8fafc;
}

[data-theme="dark"] .support-email-card,
[data-theme="dark"] .support-info-card {
  background: #020617;
}

[data-theme="dark"] .support-subtext,
[data-theme="dark"] .support-email-card p {
  color: #cbd5f5;
}
/* ===== MODERN FOOTER ===== */

.footer-modern {
  background: #ffffff;
  border-top: 1px solid #e5e7eb;
  padding: 40px 20px 60px;
  position: relative;
  text-align: center;
}

.footer-logo {
  width: 60px;
  height: 60px;
  border-radius: 10px;
  object-fit: cover;
  margin-bottom: 10px;
}

.footer-modern h3 {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 10px;
}

.footer-text {
  color: #64748b;
  font-size: 15px;
  max-width: 500px;
  margin: 0 auto 20px;
  line-height: 1.5;
}

.footer-links {
  margin-bottom: 20px;
}

.footer-links a {
  color: #2563eb;
  font-weight: 600;
  text-decoration: none;
  margin: 0 6px;
}

.footer-links span {
  color: #94a3b8;
}

.footer-copy {
  color: #94a3b8;
  font-size: 14px;
}

/* Scroll to top */
.scroll-top-btn {
  position: absolute;
  right: 20px;
  bottom: 20px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: none;
  background: linear-gradient(135deg, #6366f1, #4f46e5);
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(99,102,241,0.4);
  transition: 0.3s ease;
}

.scroll-top-btn:hover {
  transform: scale(1.1);
}

/* Dark mode footer */
[data-theme="dark"] .footer-modern {
  background: #020617;
  border-top: 1px solid #1e293b;
}

[data-theme="dark"] .footer-text,
[data-theme="dark"] .footer-copy {
  color: #cbd5f5;
}
.category-bar {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 12px;
  background: #ffffff00;
  border-radius: 14px;
  margin: 15px 0;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.category-bar::-webkit-scrollbar {
  display: none;
}

.cat {
  border: none;
  background: #f3f4f6;   /* Same as active */
  padding: 10px 14px;
  border-radius: 999px;
  font-size: 14px;
  cursor: pointer;
  white-space: nowrap;
  transition: 0.3s;
}

.cat.active {
  background: #5a4cf5; /* Slightly darker for active */
  color: #fff; 
}


/* =========================
   DARK MODE FIX
========================= */

[data-theme="dark"] body {
  background: linear-gradient(180deg, #0b1220, #060b16);
  color: #fff;
}

/* HERO STATS */
[data-theme="dark"] .hero-stat {
  background: rgba(255, 255, 255, 0.06);
  box-shadow: none;
  border: 1px solid rgba(255,255,255,0.08);
}

[data-theme="dark"] .hero-stat-value {
  color: #8b7cff;
}

[data-theme="dark"] .hero-stat-label {
  color: #bfc6ff;
}

/* SEARCH BAR */
[data-theme="dark"] .search-input {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  color: #fff;
}

[data-theme="dark"] .search-input::placeholder {
  color: #aaa;
}

/* CATEGORY BAR */
[data-theme="dark"] .category-bar {
  background: transparent;
}

[data-theme="dark"] .cat {
  background: rgba(255,255,255,0.07);
  color: #ddd;
}

[data-theme="dark"] .cat.active {
  background: #6d5dfc;
  color: #fff;
}

/* COUPON CARDS */
[data-theme="dark"] .coupon-card-advanced {
  background: linear-gradient(180deg, #0f172a, #0b1020);
  border: 1px solid rgba(255,255,255,0.08);
}

[data-theme="dark"] .coupon-info h3 {
  color: #fff;
}

[data-theme="dark"] .expiry {
  color: #aab0ff;
}

/* FOOTER */
[data-theme="dark"] .footer-modern {
  background: #050914;
  color: #bbb;
}
.coupon-badge {
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  margin-top: 6px;
}

/* HOT = Red */
.coupon-badge.hot {
  background: #ff2e2e;
}

/* TRENDING = Black */
.coupon-badge.trending {
  background: #000;
}

/* NEW = Black */
.coupon-badge.NEW {
  background: #000;
}

/* Hide if empty */
.coupon-badge:empty {
  display: none;
}
.load-more-btn {
  background: linear-gradient(135deg, #ff5c68, #8f7bff);
  color: #fff;
  border: none;
  padding: 12px 24px;
  border-radius: 30px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s;
}

.load-more-btn:hover {
  background: linear-gradient(135deg, #5a4cff, #7f6bff);
  transform: scale(1.05);
}
.back-to-top {
  position: fixed;
  bottom: 25px;
  right: 20px;
  background: #6a5cff;
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 45px;
  height: 45px;
  font-size: 20px;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: 0.3s;
  z-index: 999;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: #5a4cff;
  transform: scale(1.1);
}

