/* ─────────────────────────────────────────────
   Bills Data — Gold & Black Premium Theme
   ───────────────────────────────────────────── */

/* Times New Roman used for all typography */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* Gold palette */
  --gold:        #D4A017;
  --gold-bright: #F5C842;
  --gold-muted:  #A07910;
  --gold-lt:     rgba(212,160,23,.12);
  --gold-glow:   rgba(212,160,23,.25);

  /* Dark palette */
  --black:       #080808;
  --dark1:       #0E0E0E;
  --dark2:       #141414;
  --dark3:       #1C1C1C;
  --dark4:       #242424;
  --ink:         #F5F0E8;
  --ink2:        #C8BFA8;
  --muted:       #7A7060;
  --line:        rgba(212,160,23,.15);

  /* Accent colors */
  --green:       #22C55E;
  --blue:        #3B82F6;
  --red:         #EF4444;
  --purple:      #A855F7;

  /* Spacing & shape */
  --radius-sm:   8px;
  --radius:      14px;
  --radius-lg:   20px;
  --radius-xl:   28px;

  font-size: 16px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Times New Roman', Times, serif;
  background: var(--black);
  color: var(--ink);
  overflow-x: hidden;
  line-height: 1.6;
}

/* ── Particle Canvas ── */
#particleCanvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: .5;
}

/* ── Container ── */
.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
  width: 100%;
}
@media(max-width:600px) { .container { padding: 0 16px; } }
@media(max-width:380px) { .container { padding: 0 12px; } }

/* ── SCROLLBAR ── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--dark1); }
::-webkit-scrollbar-thumb { background: var(--gold-muted); border-radius: 3px; }

/* ─────────────────────────────────────────────
   NAVBAR
   ───────────────────────────────────────────── */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(8,8,8,.85);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--line);
  padding: 14px 0;
  transition: box-shadow .3s;
}
.navbar.scrolled {
  box-shadow: 0 4px 32px rgba(0,0,0,.6);
  background: rgba(8,8,8,.95);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

/* Brand */
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}
.brand-logo {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--gold), var(--gold-muted));
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; color: var(--black);
  box-shadow: 0 4px 16px var(--gold-glow);
  transition: transform .25s;
}
.brand:hover .brand-logo { transform: rotate(-10deg) scale(1.08); }
.brand-logo-sm { width: 30px; height: 30px; font-size: 13px; border-radius: 8px; }
.brand-name {
  font-family: 'Times New Roman', Times, serif;
  font-size: 20px;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -.3px;
}
.brand-accent { color: var(--gold-bright); }

/* Nav links */
.nav-links {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 2px;
}
.nav-link {
  display: block;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink2);
  text-decoration: none;
  transition: all .2s;
}
.nav-link:hover { background: var(--gold-lt); color: var(--gold-bright); }

.btn-nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 20px;
  border-radius: 10px;
  font-size: 13.5px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--gold), var(--gold-muted));
  color: var(--black);
  text-decoration: none;
  transition: all .25s;
  box-shadow: 0 4px 16px var(--gold-glow);
  white-space: nowrap;
}
.btn-nav-cta:hover { transform: translateY(-2px); box-shadow: 0 8px 24px var(--gold-glow); }

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 1.5px solid var(--line);
  border-radius: 8px;
  padding: 8px 10px;
  cursor: pointer;
  transition: border-color .2s;
}
.nav-toggle:hover { border-color: var(--gold); }
.nav-toggle span {
  display: block;
  width: 18px; height: 2px;
  background: var(--ink2);
  border-radius: 2px;
  transition: all .3s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media(max-width:768px) {
  .nav-toggle { display: flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    background: rgba(10,10,10,.98);
    border-bottom: 1px solid var(--line);
    padding: 16px 24px;
    gap: 4px;
    box-shadow: 0 16px 48px rgba(0,0,0,.8);
  }
  .nav-links.open { display: flex; }
  .btn-nav-cta { text-align: center; justify-content: center; margin-top: 8px; }
}

/* ─────────────────────────────────────────────
   BUTTONS
   ───────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 24px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all .25s;
  font-family: 'Times New Roman', Times, serif;
  white-space: nowrap;
}
.btn-lg { padding: 14px 30px; font-size: 15px; border-radius: var(--radius-lg); }
.btn-full { width: 100%; justify-content: center; }

.btn-gold {
  background: linear-gradient(135deg, var(--gold-bright), var(--gold));
  color: var(--black);
  box-shadow: 0 6px 20px var(--gold-glow);
}
.btn-gold:hover { transform: translateY(-3px); box-shadow: 0 12px 32px rgba(212,160,23,.45); color: var(--black); }

.btn-ghost {
  background: rgba(255,255,255,.06);
  border: 1.5px solid rgba(255,255,255,.14);
  color: var(--ink);
}
.btn-ghost:hover { background: rgba(255,255,255,.1); transform: translateY(-3px); color: var(--ink); }

.btn-ghost-gold {
  background: transparent;
  border: 1.5px solid var(--gold);
  color: var(--gold-bright);
}
.btn-ghost-gold:hover { background: var(--gold-lt); transform: translateY(-2px); color: var(--gold-bright); }

/* ─────────────────────────────────────────────
   HERO
   ───────────────────────────────────────────── */
.hero {
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  position: relative;
  overflow: hidden;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(212,160,23,.08) 0%, transparent 70%),
              var(--black);
}
.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}
.hero-glow-1 {
  width: 600px; height: 600px;
  top: -150px; left: -100px;
  background: radial-gradient(circle, rgba(212,160,23,.12) 0%, transparent 70%);
  animation: glowPulse 8s ease-in-out infinite;
}
.hero-glow-2 {
  width: 400px; height: 400px;
  bottom: 0; right: -100px;
  background: radial-gradient(circle, rgba(245,200,66,.07) 0%, transparent 70%);
  animation: glowPulse 10s ease-in-out infinite reverse;
}
@keyframes glowPulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.6;transform:scale(1.15)} }

.hero-inner { text-align: center; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(212,160,23,.1);
  border: 1px solid rgba(212,160,23,.3);
  color: var(--gold-bright);
  padding: 8px 18px;
  border-radius: 20px;
  font-size: 12.5px;
  font-weight: 700;
  margin-bottom: 28px;
  animation: fadeUp .7s ease .1s both;
  letter-spacing: .2px;
}
.badge-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--gold-bright);
  box-shadow: 0 0 8px var(--gold-bright);
  animation: blink 1.8s ease-in-out infinite;
}
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:.3} }

.hero-title {
  font-family: 'Times New Roman', Times, serif;
  font-size: clamp(42px, 7vw, 76px);
  font-weight: 800;
  line-height: 1.05;
  color: var(--ink);
  margin-bottom: 20px;
  animation: fadeUp .7s ease .2s both;
  letter-spacing: -1px;
}
.hero-sub-title {
  font-size: clamp(28px, 4.5vw, 54px);
  color: var(--ink2);
}
.text-gradient {
  background: linear-gradient(135deg, var(--gold-bright), var(--gold), #FF9F0A);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc {
  font-size: 16px;
  color: var(--ink2);
  max-width: 520px;
  margin: 0 auto 36px;
  line-height: 1.7;
  animation: fadeUp .7s ease .3s both;
}

.hero-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 36px;
  animation: fadeUp .7s ease .4s both;
}

.hero-trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  animation: fadeUp .7s ease .5s both;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--muted);
}
.trust-item i { color: var(--gold); font-size: 12px; }
.trust-divider { width: 4px; height: 4px; border-radius: 50%; background: var(--muted); }

.hero-scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  animation: fadeUp .7s ease .8s both;
}
.scroll-line {
  width: 1.5px; height: 50px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  margin: 0 auto;
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse { 0%,100%{opacity:1;transform:scaleY(1)} 50%{opacity:.3;transform:scaleY(.7)} }

/* ─────────────────────────────────────────────
   STATS BAR
   ───────────────────────────────────────────── */
.stats-bar {
  background: var(--dark2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 0;
  position: relative;
  z-index: 2;
}
.stats-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  align-items: center;
}
.stat-item {
  padding: 28px 24px;
  text-align: center;
}
.stat-number {
  font-family: 'Times New Roman', Times, serif;
  font-size: 34px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--gold-bright), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 4px;
}
.stat-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .6px;
}
.stat-divider {
  width: 1px; height: 48px;
  background: var(--line);
}
@media(max-width:768px) {
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat-divider { display: none; }
  .stat-item { border-bottom: 1px solid var(--line); }
  .stat-item:nth-child(odd) { border-right: 1px solid var(--line); }
}

/* ─────────────────────────────────────────────
   SECTIONS SHARED
   ───────────────────────────────────────────── */
.section { padding: 80px 0; }

.section-header { margin-bottom: 0; }
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--gold-lt);
  border: 1px solid rgba(212,160,23,.2);
  color: var(--gold-bright);
  padding: 5px 14px;
  border-radius: 20px;
  font-size: 11.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .6px;
  margin-bottom: 14px;
}
.section-title {
  font-family: 'Times New Roman', Times, serif;
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 12px;
  letter-spacing: -.5px;
  line-height: 1.15;
}
.section-desc {
  font-size: 15px;
  color: var(--ink2);
  line-height: 1.7;
  max-width: 480px;
}

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.shown { opacity: 1; transform: translateY(0); }

@keyframes fadeUp { from{opacity:0;transform:translateY(20px)} to{opacity:1;transform:translateY(0)} }

/* ─────────────────────────────────────────────
   FEATURES
   ───────────────────────────────────────────── */
.features-section { background: var(--dark1); }
.features-section .section-header { margin-bottom: 48px; }

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
@media(max-width:900px) { .features-grid { grid-template-columns: repeat(2,1fr); } }
@media(max-width:540px) { .features-grid { grid-template-columns: 1fr; } }

.feat-card {
  background: var(--dark3);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  position: relative;
  overflow: hidden;
  transition: all .3s;
  cursor: default;
}
.feat-card:hover {
  transform: translateY(-6px);
  border-color: rgba(212,160,23,.3);
  box-shadow: 0 20px 48px rgba(0,0,0,.5);
}
.feat-card:hover .feat-glow { opacity: 1; }
.feat-glow {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 120px;
  background: linear-gradient(to top, rgba(212,160,23,.06), transparent);
  opacity: 0;
  transition: opacity .3s;
  pointer-events: none;
}
.feat-icon {
  width: 48px; height: 48px;
  border-radius: 13px;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
  margin-bottom: 16px;
}
.feat-icon-gold   { background: var(--gold-lt); color: var(--gold-bright); }
.feat-icon-green  { background: rgba(34,197,94,.1); color: var(--green); }
.feat-icon-blue   { background: rgba(59,130,246,.1); color: var(--blue); }
.feat-icon-red    { background: rgba(239,68,68,.1); color: var(--red); }
.feat-icon-purple { background: rgba(168,85,247,.1); color: var(--purple); }

.feat-title { font-size: 15px; font-weight: 800; color: var(--ink); margin-bottom: 8px; }
.feat-desc  { font-size: 13.5px; color: var(--ink2); line-height: 1.65; }

/* ─────────────────────────────────────────────
   NETWORKS
   ───────────────────────────────────────────── */
.networks-section {
  background: var(--black);
}
.networks-section .section-header { margin-bottom: 48px; }

.networks-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
@media(max-width:900px) { .networks-grid { grid-template-columns: repeat(3,1fr); } }
@media(max-width:540px) { .networks-grid { grid-template-columns: repeat(2,1fr); } }

.net-card {
  background: var(--dark2);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 26px 18px;
  text-align: center;
  transition: all .3s;
  position: relative;
  overflow: hidden;
}
.net-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  transform: scaleX(0);
  transition: transform .3s;
}
.net-card:hover { transform: translateY(-5px); box-shadow: 0 16px 40px rgba(0,0,0,.5); border-color: rgba(212,160,23,.25); }
.net-card:hover::before { transform: scaleX(1); }
.net-card:hover::before { background: linear-gradient(90deg, var(--gold), var(--gold-bright)); }

.net-badge {
  width: 60px; height: 60px;
  border-radius: 16px;
  margin: 0 auto 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px;
  font-weight: 900;
  color: white;
  transition: transform .3s;
}
.net-card:hover .net-badge { transform: scale(1.1); }

.net-mtn { background: linear-gradient(135deg, #FFD700, #FF8C00); }
.net-tel { background: linear-gradient(135deg, #E91E63, #C2185B); }
.net-ish { background: linear-gradient(135deg, #2196F3, #1565C0); }
.net-big { background: linear-gradient(135deg, #EF5350, #C62828); }
.net-xps { background: linear-gradient(135deg, #00BCD4, #00838F); }

.net-name { font-size: 13.5px; font-weight: 800; color: var(--ink); margin-bottom: 4px; }
.net-packages { font-size: 11.5px; color: var(--muted); margin-bottom: 8px; font-weight: 600; }
.net-status {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 11.5px; font-weight: 700; color: var(--green);
}
.status-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 6px var(--green);
  animation: blink 2s ease-in-out infinite;
}

/* ─────────────────────────────────────────────
   PRICING
   ───────────────────────────────────────────── */
.pricing-section {
  background: var(--dark1);
}
.pricing-section .section-header { margin-bottom: 48px; }

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: stretch;
}
@media(max-width:900px) { .pricing-grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; } }

.price-card {
  background: var(--dark3);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 32px 28px;
  position: relative;
  transition: all .3s;
  display: flex;
  flex-direction: column;
}
.price-card:hover { transform: translateY(-4px); border-color: rgba(212,160,23,.25); }

.price-card-featured {
  background: linear-gradient(160deg, #1a1500 0%, #0f0f0f 100%);
  border: 1.5px solid var(--gold);
  box-shadow: 0 0 48px rgba(212,160,23,.12), 0 20px 60px rgba(0,0,0,.5);
  transform: scale(1.03);
}
.price-card-featured:hover { transform: scale(1.03) translateY(-4px); }

.price-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--gold-bright), var(--gold));
  color: var(--black);
  font-size: 11px;
  font-weight: 900;
  padding: 4px 16px;
  border-radius: 20px;
  white-space: nowrap;
  letter-spacing: .3px;
}
.price-label {
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .8px;
  color: var(--gold-bright);
  margin-bottom: 10px;
}
.price-amount {
  font-family: 'Times New Roman', Times, serif;
  font-size: 40px;
  font-weight: 800;
  color: var(--ink);
  line-height: 1;
  margin-bottom: 4px;
}
.price-period {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 24px;
  font-weight: 600;
}
.price-features {
  list-style: none;
  margin-bottom: 28px;
  flex: 1;
}
.price-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 0;
  font-size: 13.5px;
  color: var(--ink2);
  border-bottom: 1px solid rgba(255,255,255,.04);
  font-weight: 500;
}
.price-features li:last-child { border-bottom: none; }
.price-features li i.fa-check { color: var(--gold-bright); font-size: 12px; }
.price-features li.disabled { opacity: .4; }
.price-features li.disabled i { color: var(--muted); }

/* ─────────────────────────────────────────────
   HOW IT WORKS
   ───────────────────────────────────────────── */
.how-section { background: var(--black); }
.how-section .section-header { margin-bottom: 56px; }

.how-grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 24px;
  position: relative;
}
.how-grid::before {
  content: '';
  position: absolute;
  top: 38px; left: 12%; right: 12%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  z-index: 0;
}
@media(max-width:900px) { .how-grid { grid-template-columns: repeat(2,1fr); } .how-grid::before{display:none;} }
@media(max-width:480px) { .how-grid { grid-template-columns: 1fr; } }

.how-step {
  text-align: center;
  position: relative;
  z-index: 1;
}
.how-num {
  font-family: 'Syne', sans-serif;
  font-size: 11px;
  font-weight: 800;
  color: var(--gold);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.how-icon {
  width: 64px; height: 64px;
  border-radius: 20px;
  background: linear-gradient(135deg, var(--gold), var(--gold-muted));
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
  color: var(--black);
  margin: 0 auto 16px;
  box-shadow: 0 8px 24px var(--gold-glow);
  transition: transform .3s;
}
.how-step:hover .how-icon { transform: scale(1.1) rotate(-5deg); }
.how-title { font-size: 15px; font-weight: 800; color: var(--ink); margin-bottom: 8px; }
.how-desc { font-size: 13px; color: var(--ink2); line-height: 1.65; }

/* ─────────────────────────────────────────────
   CTA SECTION
   ───────────────────────────────────────────── */
.cta-section {
  background: radial-gradient(ellipse 80% 80% at 50% 50%, rgba(212,160,23,.09) 0%, transparent 70%),
              var(--dark2);
  padding: 90px 0;
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.cta-glow {
  position: absolute;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212,160,23,.15) 0%, transparent 70%);
  top: 50%; left: 50%; transform: translate(-50%,-50%);
  animation: glowPulse 6s ease-in-out infinite;
  pointer-events: none;
}
.cta-inner { text-align: center; position: relative; z-index: 1; }
.cta-icon {
  width: 72px; height: 72px;
  border-radius: 22px;
  background: linear-gradient(135deg, var(--gold), var(--gold-muted));
  display: flex; align-items: center; justify-content: center;
  font-size: 28px; color: var(--black);
  margin: 0 auto 24px;
  box-shadow: 0 12px 36px var(--gold-glow);
}
.cta-title {
  font-family: 'Times New Roman', Times, serif;
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 12px;
  letter-spacing: -.5px;
}
.cta-desc { font-size: 15px; color: var(--ink2); margin-bottom: 32px; line-height: 1.6; }
.cta-btn { margin-bottom: 16px; }
.cta-note { font-size: 12.5px; color: var(--muted); font-weight: 600; }
.cta-note i { color: var(--gold); margin-right: 4px; }

/* ─────────────────────────────────────────────
   FOOTER
   ───────────────────────────────────────────── */
.footer {
  background: var(--dark1);
  border-top: 1px solid var(--line);
  padding: 60px 0 28px;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 36px;
  margin-bottom: 48px;
}
@media(max-width:768px) { .footer-top { grid-template-columns: 1fr 1fr; } .footer-brand-col { grid-column: 1/-1; } }
@media(max-width:480px) { .footer-top { grid-template-columns: 1fr; } }

.footer-brand { margin-bottom: 12px; display: inline-flex; }
.footer-tagline { font-size: 13px; color: var(--muted); line-height: 1.6; margin-bottom: 20px; max-width: 220px; }
.footer-socials { display: flex; gap: 10px; }
.social-link {
  width: 36px; height: 36px;
  border-radius: 9px;
  background: var(--dark4);
  border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  transition: all .2s;
}
.social-link:hover { background: var(--gold-lt); border-color: var(--gold); color: var(--gold-bright); transform: translateY(-3px); }

.footer-col-title {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .8px;
  color: var(--gold);
  margin-bottom: 16px;
}
.footer-link {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  color: var(--muted);
  text-decoration: none;
  margin-bottom: 10px;
  transition: color .2s;
  cursor: pointer;
  font-weight: 500;
}
.footer-link i { font-size: 12px; color: var(--gold-muted); }
.footer-link:hover { color: var(--ink2); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 12.5px;
  color: var(--muted);
}
.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-links a { color: var(--muted); text-decoration: none; transition: color .2s; }
.footer-bottom-links a:hover { color: var(--gold-bright); }

/* ─────────────────────────────────────────────
   AUTH PAGES (Login / Register)
   ───────────────────────────────────────────── */
.auth-page {
  min-height: 100svh;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 90px 16px 40px;
  background: radial-gradient(ellipse 70% 70% at 50% 0%, rgba(212,160,23,.07) 0%, transparent 70%),
              var(--black);
}
.auth-card {
  background: var(--dark2);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 36px 32px;
  width: 100%;
  max-width: 440px;
  box-shadow: 0 32px 80px rgba(0,0,0,.6);
}
.auth-logo {
  text-align: center;
  margin-bottom: 28px;
}
.auth-title {
  font-family: 'Times New Roman', Times, serif;
  font-size: 24px;
  font-weight: 800;
  color: var(--ink);
  text-align: center;
  margin-bottom: 6px;
}
.auth-sub {
  font-size: 14px;
  color: var(--muted);
  text-align: center;
  margin-bottom: 28px;
}

/* Form */
.form-group { margin-bottom: 18px; }
.form-label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink2);
  margin-bottom: 7px;
}
.form-control {
  width: 100%;
  padding: 12px 16px;
  background: var(--dark4);
  border: 1.5px solid rgba(255,255,255,.08);
  border-radius: var(--radius);
  color: var(--ink);
  font-size: 14px;
  font-family: 'Times New Roman', Times, serif;
  transition: all .2s;
  outline: none;
}
.form-control:focus {
  border-color: var(--gold);
  background: var(--dark3);
  box-shadow: 0 0 0 3px rgba(212,160,23,.12);
}
.form-control::placeholder { color: var(--muted); }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media(max-width:480px) { .form-row { grid-template-columns: 1fr; } }

.input-icon-wrap { position: relative; }
.input-icon-wrap .form-control { padding-left: 40px; }
.input-icon {
  position: absolute;
  left: 14px; top: 50%;
  transform: translateY(-50%);
  color: var(--muted);
  font-size: 14px;
  pointer-events: none;
}
.toggle-password {
  position: absolute;
  right: 14px; top: 50%;
  transform: translateY(-50%);
  color: var(--muted);
  font-size: 14px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  transition: color .2s;
}
.toggle-password:hover { color: var(--gold-bright); }

.form-footer-link {
  display: block;
  text-align: center;
  margin-top: 20px;
  font-size: 13.5px;
  color: var(--muted);
}
.form-footer-link a { color: var(--gold-bright); text-decoration: none; font-weight: 700; }
.form-footer-link a:hover { text-decoration: underline; }

.form-divider {
  display: flex; align-items: center; gap: 12px;
  margin: 20px 0; font-size: 12px; color: var(--muted);
}
.form-divider::before, .form-divider::after {
  content: ''; flex: 1; height: 1px; background: var(--line);
}

.alert {
  padding: 12px 16px;
  border-radius: var(--radius);
  font-size: 13.5px;
  font-weight: 600;
  margin-bottom: 18px;
  display: none;
}
.alert-error { background: rgba(239,68,68,.1); border: 1px solid rgba(239,68,68,.25); color: #FCA5A5; }
.alert-success { background: rgba(34,197,94,.1); border: 1px solid rgba(34,197,94,.25); color: #86EFAC; }
.alert.show { display: flex; align-items: center; gap: 8px; }

/* ─────────────────────────────────────────────
   DASHBOARD
   ───────────────────────────────────────────── */
.dashboard-layout {
  display: flex;
  min-height: 100vh;
  padding-top: 0;
}

/* Sidebar */
.sidebar {
  width: 250px;
  flex-shrink: 0;
  background: var(--dark2);
  border-right: 1px solid var(--line);
  position: fixed;
  top: 0; left: 0; bottom: 0;
  display: flex;
  flex-direction: column;
  padding: 20px 0;
  z-index: 200;
  transition: transform .3s;
}
.sidebar-brand {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 20px 24px;
  text-decoration: none;
  border-bottom: 1px solid var(--line);
  margin-bottom: 16px;
}
.sidebar-nav { flex: 1; overflow-y: auto; padding: 0 12px; }
.sidebar-link {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 11px 14px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
  text-decoration: none;
  transition: all .2s;
  margin-bottom: 3px;
}
.sidebar-link i { font-size: 15px; width: 18px; }
.sidebar-link:hover { background: var(--dark4); color: var(--ink2); }
.sidebar-link.active { background: var(--gold-lt); color: var(--gold-bright); border: 1px solid rgba(212,160,23,.2); }
.sidebar-link.active i { color: var(--gold-bright); }
.sidebar-section-title {
  font-size: 10.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .8px;
  color: var(--muted);
  padding: 14px 14px 6px;
  opacity: .7;
}
.sidebar-footer {
  padding: 16px 20px;
  border-top: 1px solid var(--line);
}
.sidebar-user {
  display: flex; align-items: center; gap: 10px;
}
.sidebar-avatar {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--gold), var(--gold-muted));
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 800; color: var(--black);
}
.sidebar-user-name { font-size: 13px; font-weight: 700; color: var(--ink); }
.sidebar-user-plan { font-size: 11px; color: var(--gold); font-weight: 600; }

/* Main content */
.main-content {
  flex: 1;
  margin-left: 250px;
  background: var(--black);
  min-height: 100vh;
}
.topbar {
  height: 64px;
  background: var(--dark2);
  border-bottom: 1px solid var(--line);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 20px;
  position: sticky; top: 0; z-index: 100;
  min-width: 0;
  overflow: hidden;
}
.topbar-left { display: flex; align-items: center; gap: 14px; }
.topbar-title { font-family: 'Times New Roman', Times, serif; font-size: 18px; font-weight: 800; color: var(--ink); }
.topbar-right { display: flex; align-items: center; gap: 14px; }
.topbar-balance {
  display: flex; align-items: center; gap: 8px;
  background: var(--gold-lt);
  border: 1px solid rgba(212,160,23,.2);
  color: var(--gold-bright);
  padding: 7px 14px;
  border-radius: var(--radius);
  font-size: 13.5px;
  font-weight: 800;
  cursor: pointer;
  transition: all .2s;
}
.topbar-balance:hover { background: rgba(212,160,23,.18); }
.topbar-notif {
  width: 36px; height: 36px;
  border-radius: 9px;
  background: var(--dark4);
  border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  color: var(--muted);
  cursor: pointer;
  font-size: 14px;
  transition: all .2s;
  position: relative;
}
.topbar-notif:hover { border-color: var(--gold); color: var(--gold-bright); }
.notif-dot {
  position: absolute;
  top: 6px; right: 7px;
  width: 7px; height: 7px;
  background: var(--gold);
  border-radius: 50%;
}
.sidebar-toggle-btn {
  display: none;
  width: 36px; height: 36px;
  border-radius: 9px;
  background: var(--dark4);
  border: 1px solid var(--line);
  align-items: center; justify-content: center;
  cursor: pointer; font-size: 14px; color: var(--muted);
}

.page-content { padding: 28px; }

/* Dashboard cards */
.dash-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; margin-bottom: 28px; }
@media(max-width:1000px) { .dash-grid { grid-template-columns: repeat(2,1fr); } }
@media(max-width:540px)  { .dash-grid { grid-template-columns: 1fr; } }

.dash-card {
  background: var(--dark2);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 22px;
  transition: all .25s;
}
.dash-card:hover { transform: translateY(-3px); box-shadow: 0 12px 32px rgba(0,0,0,.4); border-color: rgba(212,160,23,.2); }
.dash-card-top { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 14px; }
.dash-card-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 17px;
}
.dash-card-label { font-size: 12px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .5px; }
.dash-card-change { font-size: 12px; font-weight: 700; color: var(--green); }
.dash-card-change.down { color: var(--red); }
.dash-card-value {
  font-family: 'Times New Roman', Times, serif;
  font-size: 26px;
  font-weight: 800;
  color: var(--ink);
  line-height: 1;
}

/* Buy Data panel */
.buy-panel-grid { display: grid; grid-template-columns: 1fr 360px; gap: 20px; }
@media(max-width:1024px) { .buy-panel-grid { grid-template-columns: 1fr; } }

.panel {
  background: var(--dark2);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px;
}
.panel-title { font-family: 'Times New Roman', Times, serif; font-size: 16px; font-weight: 800; color: var(--ink); margin-bottom: 20px; display: flex; align-items: center; gap: 10px; }
.panel-title i { color: var(--gold); }

.network-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 20px; }
.net-tab {
  display: flex; align-items: center; gap: 7px;
  padding: 9px 16px;
  border-radius: 10px;
  border: 1.5px solid var(--line);
  background: var(--dark4);
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all .2s;
}
.net-tab-dot { width: 10px; height: 10px; border-radius: 3px; }
.net-tab:hover { border-color: var(--gold); color: var(--ink2); }
.net-tab.active { background: var(--gold-lt); border-color: var(--gold); color: var(--gold-bright); }

.bundles-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; margin-bottom: 20px; }
@media(max-width:600px) { .bundles-grid { grid-template-columns: repeat(2,1fr); } }

.bundle-item {
  background: var(--dark4);
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  padding: 14px;
  text-align: center;
  cursor: pointer;
  transition: all .25s;
}
.bundle-item:hover { border-color: var(--gold); background: var(--dark3); }
.bundle-item.selected { border-color: var(--gold); background: var(--gold-lt); box-shadow: 0 0 0 3px rgba(212,160,23,.12); }
.bundle-size { font-family: 'Times New Roman', Times, serif; font-size: 18px; font-weight: 800; color: var(--ink); }
.bundle-validity { font-size: 11px; color: var(--muted); margin: 2px 0; font-weight: 600; }
.bundle-price { font-size: 14px; font-weight: 800; color: var(--gold-bright); }

.order-summary {
  background: var(--dark4);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  margin-bottom: 16px;
}
.order-row { display: flex; justify-content: space-between; align-items: center; padding: 7px 0; border-bottom: 1px solid rgba(255,255,255,.04); font-size: 13.5px; }
.order-row:last-child { border-bottom: none; padding-top: 12px; }
.order-row .label { color: var(--muted); font-weight: 600; }
.order-row .value { color: var(--ink); font-weight: 700; }
.order-row.total .value { color: var(--gold-bright); font-size: 16px; font-family: 'Times New Roman', Times, serif; }

/* Transaction table */
.tx-table { width: 100%; border-collapse: collapse; }
.tx-table th {
  text-align: left; padding: 12px 14px;
  font-size: 11.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .5px;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
}
.tx-table td {
  padding: 14px 14px;
  font-size: 13.5px;
  color: var(--ink2);
  border-bottom: 1px solid rgba(255,255,255,.04);
  font-weight: 500;
}
.tx-table tr:hover td { background: rgba(255,255,255,.02); }
.tx-badge {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 4px 10px; border-radius: 6px;
  font-size: 11.5px; font-weight: 700;
}
.tx-success { background: rgba(34,197,94,.1); color: var(--green); }
.tx-pending { background: rgba(245,200,66,.1); color: var(--gold-bright); }
.tx-failed  { background: rgba(239,68,68,.1);  color: var(--red); }

/* Responsive sidebar */
@media(max-width:900px) {
  .sidebar { transform: translateX(-100%); }
  .sidebar.open { transform: translateX(0); }
  .main-content { margin-left: 0; }
  .sidebar-toggle-btn { display: flex; }
  .sidebar-overlay { display: block; }
}
.sidebar-overlay {
  display: none;
  position: fixed; inset: 0;
  background: rgba(0,0,0,.7);
  z-index: 199;
}
.sidebar-overlay.show { display: block; }

/* ═══════════════════════════════════════════════
   COMPREHENSIVE RESPONSIVE BREAKPOINTS
   Covers: 1200 · 1024 · 900 · 768 · 600 · 480 · 380 · 320
   ═══════════════════════════════════════════════ */

/* ── Large tablet / small laptop (≤1200px) ── */
@media(max-width:1200px) {
  .features-grid { grid-template-columns: repeat(3,1fr); }
  .pricing-grid  { gap: 14px; }
  .price-card    { padding: 28px 20px; }
  .how-grid      { gap: 16px; }
}

/* ── Tablet landscape (≤1024px) ── */
@media(max-width:1024px) {
  .buy-panel-grid { grid-template-columns: 1fr; }
  .dash-grid      { grid-template-columns: repeat(2,1fr); }
  .topbar-balance span { display: none; }/* hide balance text, keep icon */
  .page-content   { padding: 20px; }
}

/* ── Tablet portrait (≤900px) ── */
@media(max-width:900px) {
  .features-grid  { grid-template-columns: repeat(2,1fr); }
  .networks-grid  { grid-template-columns: repeat(3,1fr); }
  .pricing-grid   { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
  .price-card-featured { transform: scale(1); }
  .price-card-featured:hover { transform: translateY(-4px); }
  .how-grid       { grid-template-columns: repeat(2,1fr); }
  .how-grid::before { display: none; }
  .footer-top     { grid-template-columns: 1fr 1fr; }
  .footer-brand-col { grid-column: 1 / -1; }
  .section        { padding: 60px 0; }
  .section-title  { font-size: clamp(22px, 5vw, 34px); }
}

/* ── Mobile landscape / large phone (≤768px) ── */
@media(max-width:768px) {
  /* Hero */
  .hero           { padding: 90px 0 60px; min-height: auto; }
  .hero-title     { letter-spacing: -.5px; }
  .hero-desc      { font-size: 14.5px; margin-bottom: 28px; }
  .hero-actions   { gap: 10px; }
  .btn-lg         { padding: 12px 22px; font-size: 14px; }
  .hero-trust     { gap: 10px; }
  .trust-divider  { display: none; }
  .hero-scroll-indicator { display: none; }
  .hero-glow-1    { width: 320px; height: 320px; }
  .hero-glow-2    { width: 240px; height: 240px; }

  /* Stats */
  .stats-grid     { grid-template-columns: 1fr 1fr; }
  .stat-divider   { display: none; }
  .stat-item      { padding: 18px 12px; border-bottom: 1px solid var(--line); }
  .stat-item:nth-child(odd) { border-right: 1px solid var(--line); }
  .stat-number    { font-size: 26px; }

  /* Sections */
  .section        { padding: 52px 0; }
  .section-title  { font-size: clamp(20px, 6vw, 30px); }
  .section-desc   { font-size: 14px; }

  /* Features */
  .features-grid  { grid-template-columns: repeat(2,1fr); gap: 12px; }
  .feat-card      { padding: 20px; }

  /* Networks */
  .networks-grid  { grid-template-columns: repeat(2,1fr); gap: 12px; }
  .net-card       { padding: 18px 12px; }
  .net-badge      { width: 50px; height: 50px; font-size: 12px; }

  /* Pricing */
  .pricing-grid   { grid-template-columns: 1fr; max-width: 100%; }

  /* How it works */
  .how-grid       { grid-template-columns: repeat(2,1fr); gap: 18px; }
  .how-icon       { width: 54px; height: 54px; font-size: 20px; }

  /* CTA */
  .cta-section    { padding: 60px 0; }
  .cta-title      { font-size: clamp(22px, 6vw, 32px); }
  .cta-icon       { width: 58px; height: 58px; font-size: 22px; }

  /* Footer */
  .footer         { padding: 44px 0 20px; }
  .footer-top     { grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 32px; }
  .footer-brand-col { grid-column: 1 / -1; }
  .footer-bottom  { flex-direction: column; text-align: center; gap: 8px; }
  .footer-bottom-links { justify-content: center; }

  /* Dashboard topbar */
  .topbar         { padding: 0 14px; height: 58px; }
  .topbar-title   { font-size: 15px; }
  .topbar-balance { padding: 6px 10px; font-size: 12px; }

  /* Dashboard content */
  .page-content   { padding: 14px; }
  .dash-grid      { grid-template-columns: repeat(2,1fr); gap: 12px; }
  .dash-card      { padding: 16px; }
  .dash-card-value { font-size: 22px; }
  .panel          { padding: 18px 16px; }
  .bundles-grid   { grid-template-columns: repeat(2,1fr); }

  /* Auth */
  .auth-card      { padding: 28px 20px; border-radius: var(--radius-lg); }
  .auth-title     { font-size: 20px; }
}

/* ── Mobile portrait (≤600px) ── */
@media(max-width:600px) {
  /* Hero */
  .hero           { padding: 80px 0 50px; }
  .hero-badge     { font-size: 11.5px; padding: 6px 14px; margin-bottom: 20px; }
  .hero-actions   { flex-direction: column; align-items: center; }
  .hero-actions .btn { width: 100%; max-width: 300px; justify-content: center; }

  /* Features */
  .features-grid  { grid-template-columns: 1fr; }
  .feat-card      { padding: 18px; }

  /* Networks */
  .networks-grid  { grid-template-columns: repeat(2,1fr); }

  /* How */
  .how-grid       { grid-template-columns: 1fr; max-width: 320px; margin: 0 auto; }

  /* Stats */
  .stats-grid     { grid-template-columns: 1fr 1fr; }

  /* Dashboard */
  .dash-grid      { grid-template-columns: 1fr; }
  .bundles-grid   { grid-template-columns: repeat(2,1fr); }
  .network-tabs   { gap: 6px; }
  .net-tab        { padding: 7px 10px; font-size: 12px; }
  .topbar-right .btn { display: none; } /* hide logout on tiny topbar */
}

/* ── Small phone (≤480px) ── */
@media(max-width:480px) {
  .hero-title     { font-size: clamp(32px, 10vw, 46px); }
  .hero-sub-title { font-size: clamp(20px, 6vw, 32px); }
  .hero-desc      { font-size: 14px; max-width: 100%; }

  .stats-grid     { grid-template-columns: 1fr 1fr; }
  .stat-number    { font-size: 22px; }
  .stat-label     { font-size: 10px; }

  .section        { padding: 44px 0; }
  .section-title  { font-size: clamp(18px, 7vw, 26px); }

  .networks-grid  { grid-template-columns: repeat(2,1fr); gap: 10px; }
  .net-card       { padding: 14px 10px; }

  .how-grid       { grid-template-columns: 1fr; }

  .footer-top     { grid-template-columns: 1fr; }
  .footer-brand-col { grid-column: 1; }

  .form-row       { grid-template-columns: 1fr; }
  .auth-card      { padding: 24px 16px; }

  .price-card     { padding: 24px 16px; }
  .price-amount   { font-size: 32px; }

  .how-step       { padding: 0 8px; }

  .topbar         { height: 54px; padding: 0 12px; }
  .topbar-title   { font-size: 14px; }
  .page-content   { padding: 12px; }
  .panel          { padding: 14px 12px; }
  .bundles-grid   { grid-template-columns: repeat(2,1fr); gap: 8px; }
  .bundle-item    { padding: 10px; }
  .bundle-size    { font-size: 16px; }
}

/* ── Very small phone (≤380px) ── */
@media(max-width:380px) {
  :root { font-size: 14px; }

  .hero           { padding: 74px 0 44px; }
  .hero-title     { font-size: clamp(28px, 9vw, 38px); letter-spacing: 0; }
  .hero-desc      { font-size: 13.5px; }
  .hero-badge     { font-size: 11px; padding: 5px 12px; }
  .btn-lg         { padding: 11px 18px; font-size: 13.5px; }

  .stats-grid     { grid-template-columns: 1fr 1fr; }
  .stat-number    { font-size: 20px; }
  .stat-item      { padding: 14px 8px; }

  .section        { padding: 36px 0; }
  .section-title  { font-size: clamp(17px, 8vw, 24px); }

  .feat-card      { padding: 16px; }
  .feat-icon      { width: 40px; height: 40px; font-size: 16px; }
  .feat-title     { font-size: 14px; }
  .feat-desc      { font-size: 12.5px; }

  .net-badge      { width: 44px; height: 44px; font-size: 11px; border-radius: 12px; }
  .net-name       { font-size: 12px; }
  .net-packages   { font-size: 10.5px; }

  .how-icon       { width: 48px; height: 48px; font-size: 18px; }
  .how-title      { font-size: 14px; }
  .how-desc       { font-size: 12.5px; }

  .cta-section    { padding: 48px 0; }
  .cta-title      { font-size: clamp(18px, 8vw, 26px); }
  .cta-desc       { font-size: 13px; }
  .cta-icon       { width: 52px; height: 52px; font-size: 20px; }

  .footer-col-title { font-size: 10px; }
  .footer-link      { font-size: 12.5px; }

  .auth-card      { padding: 20px 14px; }
  .auth-title     { font-size: 18px; }
  .form-control   { font-size: 13px; padding: 10px 12px; }
  .input-icon-wrap .form-control { padding-left: 34px; }
  .input-icon     { font-size: 13px; left: 11px; }

  .topbar         { height: 50px; padding: 0 10px; gap: 8px; }
  .topbar-balance { padding: 5px 8px; font-size: 11.5px; }
  .topbar-notif   { width: 30px; height: 30px; font-size: 12px; }
  .page-content   { padding: 10px; }
  .dash-card      { padding: 14px 12px; }
  .dash-card-value { font-size: 20px; }
  .panel          { padding: 12px 10px; }
  .panel-title    { font-size: 14px; }
  .net-tab        { padding: 6px 8px; font-size: 11.5px; }
  .bundle-item    { padding: 8px; }
  .bundle-size    { font-size: 14px; }
  .bundle-price   { font-size: 12.5px; }
}

/* ── Minimum supported (320px) ── */
@media(max-width:320px) {
  .hero-title     { font-size: 26px; }
  .networks-grid  { grid-template-columns: 1fr 1fr; gap: 8px; }
  .bundles-grid   { grid-template-columns: 1fr 1fr; gap: 6px; }
  .net-tab        { padding: 5px 7px; font-size: 11px; }
  .topbar-balance { display: none; }
  .auth-card      { padding: 16px 12px; }
}

/* ═══════════════════════════════════════════════
   TOAST NOTIFICATIONS
   ═══════════════════════════════════════════════ */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}
.toast {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 16px;
  border-radius: var(--radius);
  font-size: 13.5px;
  font-weight: 600;
  min-width: 260px;
  max-width: 380px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 8px 32px rgba(0,0,0,.5);
  pointer-events: all;
  transform: translateX(120%);
  opacity: 0;
  transition: transform .4s cubic-bezier(.34,1.56,.64,1), opacity .4s;
}
.toast.show { transform: translateX(0); opacity: 1; }
.toast-success { background: rgba(34,197,94,.15); border: 1px solid rgba(34,197,94,.3); color: #86EFAC; }
.toast-error   { background: rgba(239,68,68,.15);  border: 1px solid rgba(239,68,68,.3);  color: #FCA5A5; }
.toast-info    { background: rgba(59,130,246,.15);  border: 1px solid rgba(59,130,246,.3);  color: #93C5FD; }
.toast-warning { background: rgba(245,158,11,.15);  border: 1px solid rgba(245,158,11,.3);  color: #FCD34D; }
.toast i:first-child { font-size: 16px; flex-shrink: 0; }
.toast span { flex: 1; line-height: 1.4; }
.toast-close {
  background: none; border: none; cursor: pointer;
  color: inherit; opacity: .6; padding: 0; font-size: 12px;
  transition: opacity .2s; flex-shrink: 0;
}
.toast-close:hover { opacity: 1; }
@media(max-width:540px) {
  .toast-container { bottom: 16px; right: 12px; left: 12px; }
  .toast { min-width: 0; max-width: 100%; }
}

/* ═══════════════════════════════════════════════
   SETTINGS — TOGGLE SWITCH
   ═══════════════════════════════════════════════ */
.settings-group { display: flex; flex-direction: column; gap: 0; }
.setting-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255,255,255,.05);
}
.setting-row:last-child { border-bottom: none; }
.setting-info { flex: 1; }
.setting-label { font-size: 14px; font-weight: 700; color: var(--ink); margin-bottom: 3px; }
.setting-desc  { font-size: 12.5px; color: var(--muted); line-height: 1.4; }

.toggle-switch { position: relative; display: inline-block; width: 44px; height: 24px; flex-shrink: 0; }
.toggle-switch input { opacity: 0; width: 0; height: 0; }
.toggle-slider {
  position: absolute; inset: 0;
  background: var(--dark4);
  border: 1.5px solid var(--line);
  border-radius: 24px;
  cursor: pointer;
  transition: all .3s;
}
.toggle-slider::before {
  content: '';
  position: absolute;
  left: 2px; top: 2px;
  width: 16px; height: 16px;
  background: var(--muted);
  border-radius: 50%;
  transition: all .3s;
}
.toggle-switch input:checked + .toggle-slider { background: var(--gold-lt); border-color: var(--gold); }
.toggle-switch input:checked + .toggle-slider::before { transform: translateX(20px); background: var(--gold-bright); }

/* ═══════════════════════════════════════════════
   REFERRAL STEPS
   ═══════════════════════════════════════════════ */
.referral-steps { display: flex; flex-direction: column; gap: 0; }
.referral-step {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255,255,255,.05);
}
.referral-step:last-child { border-bottom: none; }
.ref-step-num {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--gold), var(--gold-muted));
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 900; color: var(--black);
  flex-shrink: 0;
  box-shadow: 0 4px 12px var(--gold-glow);
}
.ref-step-title { font-size: 14px; font-weight: 800; color: var(--ink); margin-bottom: 4px; }
.ref-step-desc  { font-size: 13px; color: var(--ink2); line-height: 1.55; }

/* ═══════════════════════════════════════════════
   API PAGE COMPONENTS
   ═══════════════════════════════════════════════ */
.api-key-block {
  background: var(--dark4);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 18px;
  margin-bottom: 14px;
}
.api-key-label {
  font-size: 11px;
  font-weight: 800;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .6px;
  margin-bottom: 10px;
}

.api-endpoint-list { display: flex; flex-direction: column; gap: 10px; margin-bottom: 4px; }
.api-endpoint {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: var(--dark4);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  flex-wrap: wrap;
}
.api-method {
  font-size: 11px;
  font-weight: 900;
  padding: 3px 9px;
  border-radius: 5px;
  letter-spacing: .5px;
  flex-shrink: 0;
}
.api-method.get  { background: rgba(34,197,94,.15);  color: var(--green);  border: 1px solid rgba(34,197,94,.25); }
.api-method.post { background: rgba(212,160,23,.15); color: var(--gold-bright); border: 1px solid rgba(212,160,23,.25); }
.api-endpoint code { font-family: monospace; font-size: 13px; color: var(--ink); flex: 1; }
.api-ep-desc { font-size: 12.5px; color: var(--muted); margin-left: auto; }

.code-snippet {
  background: var(--dark4);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
  font-family: monospace;
  font-size: 12.5px;
  color: var(--ink2);
  white-space: pre;
  overflow-x: auto;
  line-height: 1.7;
  margin: 0;
}

/* ═══════════════════════════════════════════════
   ALERT VARIANTS — INFO
   ═══════════════════════════════════════════════ */
.alert-info { background: rgba(59,130,246,.1); border: 1px solid rgba(59,130,246,.25); color: #93C5FD; }

/* ═══════════════════════════════════════════════
   WALLET — MANUAL FUND INFO
   ═══════════════════════════════════════════════ */
#manualFundInfo { display: none; align-items: flex-start; gap: 10px; }
#manualFundInfo.show { display: flex; }

/* ═══════════════════════════════════════════════
   RESPONSIVE — NEW COMPONENTS
   ═══════════════════════════════════════════════ */
@media(max-width:768px) {
  .api-endpoint     { flex-direction: column; align-items: flex-start; gap: 8px; }
  .api-ep-desc      { margin-left: 0; }
  .code-snippet     { font-size: 11.5px; }
  .setting-row      { gap: 14px; }
  .setting-label    { font-size: 13.5px; }
}

@media(max-width:540px) {
  .referral-step    { gap: 12px; }
  .ref-step-num     { width: 30px; height: 30px; font-size: 13px; }
  .ref-step-title   { font-size: 13.5px; }
  .ref-step-desc    { font-size: 12.5px; }
}

/* ═══════════════════════════════════════════════
   WALLET — FUND STEPS
   ═══════════════════════════════════════════════ */
.fund-step {
  display: flex;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(255,255,255,.05);
}
.fund-step:last-of-type { border-bottom: none; }
.fund-step-num {
  width: 32px; height: 32px; flex-shrink: 0;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-muted));
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 900; color: var(--black);
  box-shadow: 0 4px 12px var(--gold-glow);
  margin-top: 2px;
}
.fund-step-body  { flex: 1; }
.fund-step-title { font-size: 14px; font-weight: 800; color: var(--ink); margin-bottom: 5px; }
.fund-step-desc  { font-size: 13px; color: var(--ink2); line-height: 1.55; }

.momo-details-box {
  background: var(--dark4);
  border: 1.5px solid rgba(212,160,23,.25);
  border-radius: var(--radius);
  padding: 16px 20px;
}

