/* ============================================================
   FREE FIRE ANTIBAN HACKS — PREMIUM CSS SYSTEM
   Sections: variables | reset | base | layout | components |
             pages | animations | utilities | responsive
   ============================================================ */


/* ════════════════════════════════════════════════════════════
   1. VARIABLES — Light (default)
   ════════════════════════════════════════════════════════════ */
:root {
  /* Core palette */
  --accent:        #FFD600;
  --accent-dim:    rgba(255, 214, 0, 0.18);
  --accent-glow:   rgba(255, 214, 0, 0.35);

  /* Surfaces */
  --bg:            #f4f5f7;
  --bg-1:          #ffffff;
  --bg-card:       #ffffff;
  --bg-input:      #f0f2f5;

  /* Text */
  --text:          #0f172a;
  --text-2:        #475569;
  --text-muted:    #94a3b8;

  /* Borders / dividers */
  --border:        #e2e8f0;
  --border-2:      #cbd5e1;

  /* Header / nav glass */
  --glass-bg:      rgba(255,255,255,0.80);
  --glass-border:  rgba(0,0,0,0.07);

  /* Shadows */
  --shadow-sm:     0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.06);
  --shadow-md:     0 4px 16px rgba(0,0,0,0.10);
  --shadow-lg:     0 8px 32px rgba(0,0,0,0.12);
  --shadow-accent: 0 0 20px var(--accent-glow);

  /* Radius */
  --r-xs:  6px;
  --r-sm:  10px;
  --r-md:  14px;
  --r-lg:  20px;
  --r-xl:  28px;
  --r-pill: 999px;

  /* Spacing scale (4px base) */
  --sp-1: 4px;  --sp-2: 8px;  --sp-3: 12px;  --sp-4: 16px;
  --sp-5: 20px; --sp-6: 24px; --sp-8: 32px;  --sp-10: 40px;

  /* Layout */
  --container:     1200px;
  --header-h:      60px;
  --bottom-nav-h:  64px;

  /* Transitions */
  --t-fast: 0.15s ease;
  --t-base: 0.22s ease;
  --t-slow: 0.35s ease;
}


/* ════════════════════════════════════════════════════════════
   2. DARK THEME — Manual (.dark on body OR data-theme="dark")
   ════════════════════════════════════════════════════════════ */
body.dark,
:root[data-theme="dark"] {
  --bg:            #0b0f19;
  --bg-1:          #0f1523;
  --bg-card:       #111827;
  --bg-input:      #1a2135;

  --text:          #e8ecf1;
  --text-2:        #94a3b8;
  --text-muted:    #64748b;

  --border:        #1e2d45;
  --border-2:      #243350;

  --glass-bg:      rgba(11, 15, 25, 0.85);
  --glass-border:  rgba(255,255,255,0.06);

  --shadow-sm:     0 1px 3px rgba(0,0,0,0.4);
  --shadow-md:     0 4px 16px rgba(0,0,0,0.45);
  --shadow-lg:     0 8px 32px rgba(0,0,0,0.55);
}


/* ════════════════════════════════════════════════════════════
   3. AUTO DARK — System preference (no manual override)
   ════════════════════════════════════════════════════════════ */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg:            #0b0f19;
    --bg-1:          #0f1523;
    --bg-card:       #111827;
    --bg-input:      #1a2135;

    --text:          #e8ecf1;
    --text-2:        #94a3b8;
    --text-muted:    #64748b;

    --border:        #1e2d45;
    --border-2:      #243350;

    --glass-bg:      rgba(11, 15, 25, 0.85);
    --glass-border:  rgba(255,255,255,0.06);

    --shadow-sm:     0 1px 3px rgba(0,0,0,0.4);
    --shadow-md:     0 4px 16px rgba(0,0,0,0.45);
    --shadow-lg:     0 8px 32px rgba(0,0,0,0.55);
  }
}


/* ════════════════════════════════════════════════════════════
   4. RESET + BASE
   ════════════════════════════════════════════════════════════ */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'DM Sans', 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 14px;
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
  min-height: 100dvh;
  transition: background var(--t-base), color var(--t-base);
  padding-bottom: var(--bottom-nav-h);
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--t-fast);
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

img, svg { display: block; }

ul, ol { list-style: none; }

input, textarea, select {
  font-family: inherit;
  font-size: inherit;
}


/* ════════════════════════════════════════════════════════════
   5. LAYOUT
   ════════════════════════════════════════════════════════════ */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--sp-4);
}

.main-content {
  padding-top: 0;
  min-height: calc(100dvh - var(--header-h) - var(--bottom-nav-h));
}


/* ════════════════════════════════════════════════════════════
   6. HEADER
   ════════════════════════════════════════════════════════════ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 900;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--sp-4);
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--glass-border);
  box-shadow: var(--shadow-sm);
  transition: background var(--t-base), border-color var(--t-base);
}

/* Logo */
.header-logo {
  display: flex;
  flex-direction: column;
  line-height: 1;
  gap: 1px;
  user-select: none;
}

.logo-ff {
  font-family: 'Bebas Neue', cursive;
  font-size: 18px;
  letter-spacing: 1px;
  color: var(--text);
  transition: color var(--t-fast);
}

.logo-hack {
  font-family: 'Bebas Neue', cursive;
  font-size: 12px;
  letter-spacing: 2px;
  color: var(--accent);
}

/* Header action group */
.header-actions {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
}

/* Icon buttons */
.header-btn {
  position: relative;
  width: 38px;
  height: 38px;
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-2);
  transition: background var(--t-fast), border-color var(--t-fast), color var(--t-fast), box-shadow var(--t-fast);
}

.header-btn:hover {
  background: var(--accent-dim);
  border-color: var(--accent);
  color: var(--accent);
  box-shadow: 0 0 10px var(--accent-glow);
}

/* Cart badge */
.cart-badge {
  position: absolute;
  top: -5px;
  right: -5px;
  background: var(--accent);
  color: #000;
  font-size: 9px;
  font-weight: 800;
  min-width: 17px;
  height: 17px;
  border-radius: var(--r-pill);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 3px;
  pointer-events: none;
}


/* ════════════════════════════════════════════════════════════
   7. BOTTOM NAV
   ════════════════════════════════════════════════════════════ */
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 900;
  height: var(--bottom-nav-h);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--glass-border);
  box-shadow: 0 -2px 12px rgba(0,0,0,0.08);
  transition: background var(--t-base);
}

.nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  color: var(--text-muted);
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: color var(--t-fast);
  padding: var(--sp-2) 0;
}

.nav-item svg {
  transition: transform var(--t-fast);
}

.nav-item:hover,
.nav-item--active {
  color: var(--accent);
}

.nav-item--active svg {
  stroke: var(--accent);
}


/* ════════════════════════════════════════════════════════════
   8. HERO BANNER
   ════════════════════════════════════════════════════════════ */
.hero-banner {
  margin: var(--sp-3) var(--sp-4) var(--sp-4);
  height: 240px;
  border-radius: var(--r-lg);
  overflow: hidden;
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: box-shadow var(--t-base);
}

.hero-content {
  position: absolute;
  inset: 0;
  padding: var(--sp-6);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: linear-gradient(to right, rgba(0,0,0,0.78) 0%, rgba(0,0,0,0.3) 60%, transparent 100%);
  z-index: 2;
  transition: opacity var(--t-base), transform var(--t-base);
}

.hero-tag {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--sp-2);
}

.hero-title {
  font-family: 'Bebas Neue', cursive;
  font-size: 44px;
  line-height: 0.95;
  color: #fff;
  text-shadow: 0 2px 8px rgba(0,0,0,0.5);
  margin-bottom: var(--sp-2);
}

.hero-sub {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
}

/* Arrows */
.hero-arrow {
  display: none;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 34px;
  height: 34px;
  border-radius: var(--r-pill);
  background: rgba(0,0,0,0.4);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,0.15);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--t-fast), border-color var(--t-fast), box-shadow var(--t-fast);
}

.hero-arrow:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #000;
  box-shadow: var(--shadow-accent);
}

.hero-arrow--prev { left: var(--sp-3); }
.hero-arrow--next { right: var(--sp-3); }

/* Dot controls */
.hero-controls {
  position: absolute;
  bottom: var(--sp-3);
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  gap: 6px;
}

.hero-dot {
  width: 6px;
  height: 6px;
  border-radius: var(--r-pill);
  background: rgba(255,255,255,0.35);
  border: none;
  transition: background var(--t-base), width var(--t-base);
}

.hero-dot--active {
  width: 20px;
  background: var(--accent);
}


/* ════════════════════════════════════════════════════════════
   9. STATS STRIP
   ════════════════════════════════════════════════════════════ */
.stats-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 0 var(--sp-4) var(--sp-6);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.stat-item {
  padding: var(--sp-4) var(--sp-2);
  text-align: center;
  border-right: 1px solid var(--border);
}

.stat-item:last-child { border-right: none; }

.stat-num {
  font-family: 'Bebas Neue', cursive;
  font-size: 26px;
  color: var(--accent);
  line-height: 1;
  letter-spacing: 0.5px;
}

.stat-label {
  font-size: 9px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1.2px;
  margin-top: 3px;
}


/* ════════════════════════════════════════════════════════════
   10. SECTIONS
   ════════════════════════════════════════════════════════════ */
.section {
  margin-bottom: var(--sp-8);
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--sp-4);
  margin-bottom: var(--sp-4);
}

.section-title {
  font-family: 'Bebas Neue', cursive;
  font-size: 22px;
  letter-spacing: 1.5px;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: var(--sp-3);
}

.section-title-line {
  display: inline-block;
  width: 28px;
  height: 3px;
  background: var(--accent);
  border-radius: 2px;
}

.section-sub {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 400;
}


/* ════════════════════════════════════════════════════════════
   11. PRODUCT GRID + CARDS
   ════════════════════════════════════════════════════════════ */
.products-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-3);
  padding: 0 var(--sp-4);
}

.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  overflow: hidden;
  cursor: pointer;
  transition: transform var(--t-base), box-shadow var(--t-base), border-color var(--t-base);
  box-shadow: var(--shadow-sm);
}

.product-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent);
}

/* Thumbnail */
.product-thumb {
  aspect-ratio: 1 / 1;
  position: relative;
  overflow: hidden;
  background: var(--bg-1);
}

.product-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--t-slow);
}

.product-card:hover .product-thumb-img {
  transform: scale(1.06);
}

.thumb-icon {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Badge */
.product-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  background: var(--accent);
  color: #000;
  font-size: 9px;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: var(--r-xs);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Info */
.product-info {
  padding: var(--sp-3);
}

.product-name {
  font-size: 12px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.product-stars {
  display: flex;
  gap: 2px;
  margin-bottom: var(--sp-3);
}

.star { flex-shrink: 0; }

.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-2);
}

/* Buy button */
.btn-buy {
  width: 100%;
  padding: var(--sp-2) var(--sp-3);
  border: none;
  background: var(--accent);
  color: #000;
  font-size: 10px;
  font-weight: 800;
  border-radius: var(--r-sm);
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: transform var(--t-fast), box-shadow var(--t-fast);
}

.btn-buy::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0; left: 0;
  width: 50%;
  background: linear-gradient(90deg, rgba(255,255,255,0), rgba(255,255,255,0.6), rgba(255,255,255,0));
  animation: btnShimmer 2s infinite;
}

.btn-buy:hover,
.product-card:hover .btn-buy {
  transform: translateY(-2px);
  box-shadow: 0 4px 14px var(--accent-glow);
}

.btn-buy--full { width: 100%; }


/* ════════════════════════════════════════════════════════════
   12. WHY CHOOSE US / FEATURES
   ════════════════════════════════════════════════════════════ */
.why-section { padding: 0 var(--sp-4); }

.why-banner {
  background: linear-gradient(135deg, var(--accent) 0%, #e6bf00 100%);
  border-radius: var(--r-lg);
  padding: var(--sp-6) var(--sp-6);
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--sp-4);
  box-shadow: 0 6px 24px var(--accent-glow);
}

.why-title {
  font-family: 'Bebas Neue', cursive;
  font-size: 26px;
  color: #000;
  letter-spacing: 1px;
}

.btn-shop-now {
  background: #000;
  color: var(--accent);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: var(--sp-2) var(--sp-4);
  border-radius: var(--r-pill);
  border: none;
  cursor: pointer;
  transition: transform var(--t-fast), box-shadow var(--t-fast);
  white-space: nowrap;
}

.btn-shop-now:hover {
  transform: scale(1.04);
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-3);
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: var(--sp-4) var(--sp-3);
  text-align: center;
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
  box-shadow: var(--shadow-sm);
}

.feature-card:hover {
  border-color: var(--accent);
}

.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--r-sm);
  background: var(--accent-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--sp-3);
  color: var(--accent);
  transition: background var(--t-fast);
}

@keyframes iconFloat {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-3px) scale(1.08); }
}

.feature-icon svg {
  animation: iconFloat 3s ease-in-out infinite;
  transform-origin: center;
}

.feature-card:hover .feature-icon {
  background: var(--accent);
  color: #000;
}

.feature-title {
  font-family: 'Bebas Neue', cursive;
  font-size: 14px;
  letter-spacing: 1px;
  color: var(--text);
}


/* ════════════════════════════════════════════════════════════
   13. REVIEWS
   ════════════════════════════════════════════════════════════ */
.reviews-section {
  overflow: hidden;
  position: relative;
  padding: 0 0 var(--sp-4);
}

.reviews-section::before,
.reviews-section::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 40px;
  z-index: 2;
  pointer-events: none;
}
.reviews-section::before { left: 0; background: linear-gradient(to right, var(--bg), transparent); }
.reviews-section::after  { right: 0; background: linear-gradient(to left, var(--bg), transparent); }


.reviews-grid {
  display: flex;
  gap: var(--sp-3);
  padding: 0;
  width: max-content;
  animation: marquee 20s linear infinite;
}

.reviews-grid:hover {
  animation-play-state: paused;
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(calc(-50% - (var(--sp-3) / 2))); }
}

.review-card {
  flex: 0 0 280px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: var(--sp-5);
  box-shadow: var(--shadow-sm);
  scroll-snap-align: start;
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}

.review-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-md);
}

.review-stars {
  color: var(--accent);
  font-size: 13px;
  letter-spacing: 2px;
  margin-bottom: var(--sp-3);
}

.review-text {
  font-size: 13px;
  color: var(--text-2);
  line-height: 1.6;
  margin-bottom: var(--sp-4);
  font-style: italic;
}

.review-author {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
}

.review-avatar {
  width: 32px;
  height: 32px;
  border-radius: var(--r-pill);
  object-fit: cover;
  background: var(--bg-input);
  border: 2px solid var(--accent);
}

.review-name {
  font-size: 12px;
  font-weight: 700;
  color: var(--text);
}

.review-date {
  font-size: 10px;
  color: var(--text-muted);
  margin-left: auto;
}


/* ════════════════════════════════════════════════════════════
   14. CONTACT CARDS
   ════════════════════════════════════════════════════════════ */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-3);
  padding: 0 var(--sp-4);
}

.contact-card {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: var(--sp-4);
  box-shadow: var(--shadow-sm);
  transition: border-color var(--t-fast), box-shadow var(--t-fast), transform var(--t-fast);
}

.contact-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.contact-card--whatsapp:hover { border-color: #25d366; }
.contact-card--telegram:hover  { border-color: #2aabee; }

.contact-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-card--whatsapp .contact-icon { background: rgba(37,211,102,0.12); color: #25d366; }
.contact-card--telegram  .contact-icon { background: rgba(42,171,238,0.12); color: #2aabee; }

.contact-info { display: flex; flex-direction: column; gap: 2px; }
.contact-label { font-size: 12px; font-weight: 700; color: var(--text); }
.contact-value { font-size: 10px; color: var(--text-muted); }


/* ════════════════════════════════════════════════════════════
   15. FOOTER
   ════════════════════════════════════════════════════════════ */
.site-footer-bottom {
  background: var(--bg-1);
  border-top: 1px solid var(--border);
  padding: var(--sp-2) var(--sp-4);
  margin-top: var(--sp-3);
}

.footer-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: var(--sp-2) 0;
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
}

.footer-toggle-label {
  font-size: 11px;
}

.footer-toggle-icon {
  transition: transform var(--t-fast);
}

.site-footer-bottom.expanded .footer-toggle-icon {
  transform: rotate(180deg);
}

.footer-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: none; /* Hidden by default on mobile */
  flex-direction: column;
  gap: var(--sp-3);
  padding-top: var(--sp-3);
}

.site-footer-bottom.expanded .footer-inner {
  display: flex;
}

/* Hide verbose footer elements on mobile */
.footer-brand,
.footer-payment {
  display: none;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 4px var(--sp-3);
}

.footer-link {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  transition: color var(--t-fast);
}

.footer-link:hover { color: var(--accent); }

.footer-copy {
  font-size: 10px;
  color: var(--text-muted);
}

.footer-brand { display: flex; flex-direction: column; gap: 2px; }

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3) var(--sp-4);
}

.footer-link {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-2);
  transition: color var(--t-fast);
}

.footer-link:hover { color: var(--accent); }

.footer-payment { display: flex; flex-direction: column; gap: var(--sp-2); }

.footer-payment-label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
}

.payment-badges {
  display: flex;
  gap: var(--sp-2);
  flex-wrap: wrap;
}

.payment-badge {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.8px;
  padding: 4px 10px;
  border-radius: var(--r-xs);
  border: 1px solid var(--border);
  background: var(--bg-input);
  color: var(--text-2);
}

.footer-copy {
  font-size: 11px;
  color: var(--text-muted);
}


/* ════════════════════════════════════════════════════════════
   16. SEARCH PANEL
   ════════════════════════════════════════════════════════════ */
.search-panel {
  position: fixed;
  inset: 0;
  z-index: 9000;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
  padding: var(--sp-5);
  transform: translateY(-100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.search-panel--open { transform: translateY(0); }

.search-input-wrap {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  background: var(--bg-input);
  border: 1.5px solid var(--border);
  border-radius: var(--r-md);
  padding: var(--sp-3) var(--sp-4);
  margin-top: var(--sp-8);
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.search-input-wrap:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-dim);
}
.search-input-wrap svg { color: var(--text-muted); flex-shrink: 0; }
.search-input-wrap input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: var(--text);
  font-size: 15px;
}
.search-input-wrap input::placeholder { color: var(--text-muted); }

.search-close-btn {
  align-self: flex-end;
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--sp-1) var(--sp-2);
}


/* ════════════════════════════════════════════════════════════
   17. PRODUCT DETAIL PAGE
   ════════════════════════════════════════════════════════════ */
.product-page-content {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  padding-bottom: calc(var(--bottom-nav-h) + 20px);
}
.modal-hero { width: 100%; height: 260px; position: relative; overflow: hidden; background: var(--bg-input); }
.modal-hero-img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--t-slow); }
.modal-header { padding: var(--sp-5) var(--sp-4) var(--sp-2); }
.modal-title {
  font-family: 'Bebas Neue', cursive;
  font-size: 28px;
  letter-spacing: 1px;
  color: var(--text);
  line-height: 1.1;
}
.modal-meta {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  padding: 0 var(--sp-4) var(--sp-4);
}
.modal-stars { display: flex; gap: 2px; }
.modal-badge-pill {
  background: var(--accent);
  color: #000;
  font-size: 9px;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: var(--r-pill);
  text-transform: uppercase;
  letter-spacing: 0.8px;
}
.plan-selector { padding: 0 var(--sp-4) var(--sp-4); }
.plan-label {
  display: block;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: var(--sp-3);
}
.plan-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-2);
}
.plan-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: var(--sp-3) var(--sp-2);
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-radius: var(--r-sm);
  cursor: pointer;
  transition: border-color var(--t-fast), box-shadow var(--t-fast), background var(--t-fast);
}
.plan-btn:hover { border-color: var(--accent); }
.plan-btn--active {
  border-color: var(--accent);
  background: var(--accent-dim);
  box-shadow: 0 0 12px var(--accent-glow);
}
.plan-name { font-size: 10px; font-weight: 800; text-transform: uppercase; color: var(--text); }
.plan-price { font-family: 'Bebas Neue', cursive; font-size: 16px; color: var(--accent); }

.modal-desc {
  padding: 0 var(--sp-4) var(--sp-4);
  font-size: 13px;
  color: var(--text-2);
  line-height: 1.7;
}
.modal-features {
  padding: 0 var(--sp-4) var(--sp-4);
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}
.modal-features li {
  font-size: 13px;
  color: var(--text-2);
  padding-left: var(--sp-4);
  position: relative;
}
.modal-features li::before {
  content: '✦';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-size: 10px;
  top: 2px;
}
.modal-actions { padding: var(--sp-3) var(--sp-4) var(--sp-6); }
.btn-modal-cart {
  width: 100%;
  padding: var(--sp-4);
  background: var(--accent);
  color: #000;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border: none;
  border-radius: var(--r-md);
  cursor: pointer;
  transition: box-shadow var(--t-fast), transform var(--t-fast), opacity var(--t-fast);
}
.btn-modal-cart:hover:not(:disabled) {
  box-shadow: 0 6px 20px var(--accent-glow);
  transform: translateY(-1px);
}
.btn-modal-cart:disabled { opacity: 0.4; cursor: not-allowed; }

.btn-modal-outline {
  background: transparent;
  color: var(--accent);
  border: 1.5px solid var(--accent);
}
.btn-modal-outline:hover:not(:disabled) {
  background: var(--accent-dim);
}

.btn-modal--added {
  background: var(--bg-card);
  color: var(--accent);
  box-shadow: inset 0 0 0 2px var(--accent), 0 4px 20px var(--accent-glow);
}


/* ════════════════════════════════════════════════════════════
   18. VIEW / GENERIC PAGES
   ════════════════════════════════════════════════════════════ */
.view-header {
  padding: var(--sp-5) var(--sp-4) var(--sp-4);
  border-bottom: 1px solid var(--border);
}
.view-title {
  font-family: 'Bebas Neue', cursive;
  font-size: 26px;
  letter-spacing: 1.5px;
  color: var(--text);
}
.view-scroll { padding: var(--sp-4); display: flex; flex-direction: column; gap: var(--sp-4); }
.view-empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--sp-10) var(--sp-4);
  gap: var(--sp-5);
  text-align: center;
}
.empty-title { font-size: 18px; font-weight: 700; color: var(--text-2); }
.empty-cta {
  background: var(--accent);
  color: #000;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: var(--sp-3) var(--sp-6);
  border-radius: var(--r-pill);
  transition: box-shadow var(--t-fast), transform var(--t-fast);
}
.empty-cta:hover { box-shadow: 0 4px 16px var(--accent-glow); transform: translateY(-1px); }


/* ════════════════════════════════════════════════════════════
   19. CART PAGE
   ════════════════════════════════════════════════════════════ */
.cart-item {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: var(--sp-3);
  box-shadow: var(--shadow-sm);
}
.cart-item-img {
  width: 60px; height: 60px;
  border-radius: var(--r-sm);
  overflow: hidden;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cart-item-img img { width: 100%; height: 100%; object-fit: cover; }
.cart-item-info { flex: 1; min-width: 0; }
.cart-item-name {
  font-size: 12px;
  font-weight: 700;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 3px;
}
.cart-item-price { font-size: 13px; font-weight: 800; color: var(--accent); }
.cart-item-remove {
  width: 32px; height: 32px;
  border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted);
  background: var(--bg-input);
  border: none;
  cursor: pointer;
  flex-shrink: 0;
  transition: background var(--t-fast), color var(--t-fast);
}
.cart-item-remove:hover { background: rgba(239,68,68,0.15); color: #ef4444; }

.cart-footer {
  background: var(--bg-1);
  border-top: 1px solid var(--border);
  padding: var(--sp-3) var(--sp-4);
  box-shadow: 0 -4px 20px rgba(0,0,0,0.08);
}
.cart-total-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--sp-3);
}
.total-label { font-size: 12px; font-weight: 600; color: var(--text-2); }
#cart-total-amt { font-family: 'Bebas Neue', cursive; font-size: 22px; color: var(--accent); }
.cart-checkout-btn {
  width: 100%;
  padding: var(--sp-4);
  background: var(--accent);
  color: #000;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  border: none;
  border-radius: var(--r-md);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: box-shadow var(--t-fast), transform var(--t-fast);
}

.cart-checkout-btn::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0; left: 0;
  width: 50%;
  background: linear-gradient(90deg, rgba(255,255,255,0), rgba(255,255,255,0.6), rgba(255,255,255,0));
  animation: btnShimmer 2s infinite;
}

.cart-checkout-btn:hover { box-shadow: 0 6px 20px var(--accent-glow); transform: translateY(-1px); }


/* ════════════════════════════════════════════════════════════
   20. WALLET PAGE
   ════════════════════════════════════════════════════════════ */
.wallet-card {
  background: linear-gradient(135deg, #1a1a2e, #16213e, #0f3460);
  border-radius: var(--r-xl);
  padding: var(--sp-8) var(--sp-6);
  text-align: center;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}
.wallet-card::before {
  content: '';
  position: absolute;
  top: -40px; right: -40px;
  width: 160px; height: 160px;
  border-radius: 50%;
  background: rgba(255,214,0,0.08);
}
.wallet-card-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: rgba(255,255,255,0.6);
  margin-bottom: var(--sp-2);
}
.wallet-card-amount {
  font-family: 'Bebas Neue', cursive;
  font-size: 52px;
  color: var(--accent);
  line-height: 1;
  letter-spacing: 1px;
  margin-bottom: var(--sp-2);
}
.wallet-card-sub { font-size: 11px; color: rgba(255,255,255,0.4); }

.wallet-topup {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: var(--sp-5);
  box-shadow: var(--shadow-sm);
}
.topup-title { font-family: 'Bebas Neue', cursive; font-size: 18px; letter-spacing: 1.5px; color: var(--text); margin-bottom: var(--sp-4); }
.topup-amounts { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sp-2); margin-bottom: var(--sp-4); }
.topup-amount-btn {
  padding: var(--sp-3) var(--sp-2);
  background: var(--bg-input);
  border: 1.5px solid var(--border);
  border-radius: var(--r-sm);
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  cursor: pointer;
  transition: border-color var(--t-fast), background var(--t-fast), color var(--t-fast);
}
.topup-amount-btn:hover,
.topup-amount-btn--active { border-color: var(--accent); background: var(--accent); color: #000; }
.topup-custom { margin-bottom: var(--sp-4); }
.topup-input {
  width: 100%;
  padding: var(--sp-3) var(--sp-4);
  background: var(--bg-input);
  border: 1.5px solid var(--border);
  border-radius: var(--r-md);
  color: var(--text);
  font-size: 14px;
  outline: none;
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.topup-input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-dim); }
.topup-input::placeholder { color: var(--text-muted); }
.topup-methods { margin-bottom: var(--sp-4); }
.topup-methods-label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--text-muted); margin-bottom: var(--sp-2); }
.topup-method-badges { display: flex; gap: var(--sp-2); flex-wrap: wrap; }
.payment-logo { height: 28px; width: auto; object-fit: contain; border-radius: var(--r-xs); }
.topup-btn {
  width: 100%;
  padding: var(--sp-4);
  background: var(--accent);
  color: #000;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  border: none;
  border-radius: var(--r-md);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: box-shadow var(--t-fast), transform var(--t-fast);
}
.topup-btn:hover { box-shadow: 0 6px 20px var(--accent-glow); transform: translateY(-1px); }

@keyframes btnShimmer {
  0% { transform: translateX(-150%) skewX(-20deg); }
  100% { transform: translateX(200%) skewX(-20deg); }
}

.topup-btn.has-value::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0; left: 0;
  width: 50%;
  background: linear-gradient(90deg, rgba(255,255,255,0), rgba(255,255,255,0.5), rgba(255,255,255,0));
  animation: btnShimmer 1.5s infinite;
}


/* ════════════════════════════════════════════════════════════
   21. ANIMATIONS
   ════════════════════════════════════════════════════════════ */
.fade-in-item {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.fade-in-item--visible { opacity: 1; transform: translateY(0); }


/* ════════════════════════════════════════════════════════════
   22. UTILITIES
   ════════════════════════════════════════════════════════════ */
.sr-only { position: absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
.text-accent { color: var(--accent); }
.text-muted  { color: var(--text-muted); }


/* ════════════════════════════════════════════════════════════
   23. RESPONSIVE
   ════════════════════════════════════════════════════════════ */
@media (min-width: 600px) {
  .products-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 768px) {
  :root { --header-h: 68px; --bottom-nav-h: 0px; }
  body  { padding-bottom: 0; }
  .bottom-nav    { display: none; }
  .hero-banner   { height: 400px; margin: 0 var(--sp-5) var(--sp-6); }
  .hero-title    { font-size: 72px; }
  .products-grid { grid-template-columns: repeat(4, 1fr); }
  .stats-strip   { margin: 0 var(--sp-5) var(--sp-8); }
  
  .footer-toggle { display: none; }
  .footer-inner  { display: flex !important; }
  
  .footer-brand,
  .footer-payment { display: flex; }
  .footer-inner  { flex-direction: row; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: var(--sp-5); padding: var(--sp-6) 0; }
}

@media (min-width: 1024px) {
  .products-grid { grid-template-columns: repeat(4, 1fr); padding: 0 var(--sp-6); gap: var(--sp-4); }
  .why-section   { padding: 0 var(--sp-6); }
}

/* ════════════════════════════════════════════════════════════
   24. CUSTOM NOTIFICATIONS (TOASTS & MODALS)
   ════════════════════════════════════════════════════════════ */
#notify-container {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 10000;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}

.toast {
  pointer-events: auto;
  min-width: 280px;
  max-width: 400px;
  background: rgba(15, 21, 35, 0.9);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--r-md);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
  transform: translateX(120%);
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.1);
  color: #fff;
}

.toast--visible { transform: translateX(0); }

.toast-icon {
  width: 32px; height: 32px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

.toast--success .toast-icon { background: rgba(34, 197, 94, 0.2); color: #22c55e; }
.toast--error .toast-icon   { background: rgba(239, 68, 68, 0.2); color: #ef4444; }
.toast--info .toast-icon    { background: rgba(59, 130, 246, 0.2); color: #3b82f6; }

.toast-message { font-size: 13px; font-weight: 500; line-height: 1.4; }

/* Confirm Modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(4px);
  z-index: 10000;
  animation: fadeIn 0.3s ease;
}

.confirm-modal {
  position: fixed;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%) scale(1);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 24px;
  width: 90%;
  max-width: 360px;
  z-index: 10001;
  box-shadow: var(--shadow-lg);
  animation: modalIn 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.modal-closing { transform: translate(-50%, -50%) scale(0.9); opacity: 0; transition: all 0.2s ease; }
.overlay-closing { opacity: 0; transition: opacity 0.2s ease; }

.confirm-header { font-family: 'Bebas Neue', cursive; font-size: 20px; letter-spacing: 1px; color: var(--accent); margin-bottom: 12px; }
.confirm-body { font-size: 14px; color: var(--text-2); line-height: 1.6; margin-bottom: 24px; }
.confirm-footer { display: flex; gap: 12px; }
.confirm-btn { flex: 1; padding: 12px; border: none; border-radius: var(--r-md); font-weight: 700; font-size: 12px; cursor: pointer; transition: all 0.2s; }
.btn-cancel { background: var(--bg-input); color: var(--text); }
.btn-confirm { background: var(--accent); color: #000; }
.btn-confirm:hover { box-shadow: 0 4px 12px var(--accent-glow); }

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes modalIn { from { opacity: 0; transform: translate(-50%, -40%) scale(0.95); } to { opacity: 1; transform: translate(-50%, -50%) scale(1); } }


