/* =========================
   eBayFX PREMIUM THEME
   Dark default • Gold + Brown • More Colorful
   ========================= */

/* TOKENS (DARK DEFAULT) */
:root{
  --bg:#07060a;
  --bg2:#0b0a10;

  --panel:#0f0e16;
  --card:#121221;
  --card2:#0f0f1c;

  --text:#f6f2e8;
  --muted:#b7b0a3;

  --border: rgba(255,255,255,.09);

  --gold:#f5c542;
  --gold2:#ffde7a;
  --brown:#3a2413;
  --cocoa:#8a5a2b;

  --blue:#3b82f6;
  --green:#22c55e;
  --purple:#a855f7;
  --pink:#ec4899;

  --shadow: 0 22px 70px rgba(0,0,0,.55);
  --shadow2: 0 12px 35px rgba(0,0,0,.45);
}

/* LIGHT (toggle) */
html[data-theme="light"]{
  --bg:#ffffff;
  --bg2:#f7f4ef;

  --panel:#ffffff;
  --card:#ffffff;
  --card2:#ffffff;

  --text:#141018;
  --muted:#6d665c;

  --border: rgba(20,16,24,.12);

  --shadow: 0 18px 50px rgba(20,16,24,.12);
  --shadow2: 0 10px 26px rgba(20,16,24,.10);
}

/* GLOBAL */
body{
  font-family: "Inter", Arial, Helvetica, sans-serif !important;
  color: var(--text);
  background:
    radial-gradient(900px 520px at 12% 18%, rgba(245,197,66,.18), transparent 60%),
    radial-gradient(900px 520px at 88% 15%, rgba(59,130,246,.14), transparent 60%),
    radial-gradient(900px 520px at 50% 90%, rgba(168,85,247,.12), transparent 60%),
    linear-gradient(180deg, var(--bg), var(--bg2));
}

.container{ max-width: 1180px; }
a{ text-decoration:none; }
.text-muted{ color: var(--muted) !important; }

.link-gold{
  color: var(--gold2) !important;
  font-weight: 800;
}
.link-gold:hover{ color: var(--gold) !important; }

.text-gold{ color: var(--gold2) !important; }

/* SECTION */
.section-pad{ padding: 70px 0; }
.section-title{
  font-weight: 950;
  letter-spacing: -0.6px;
}
.section-sub{
  color: var(--muted);
  max-width: 720px;
  margin: 0 auto;
}

/* TOP BAR */
.top-bar{
  background: rgba(255,255,255,.02);
  backdrop-filter: blur(14px);
  border-color: var(--border) !important;
}

/* NAV */
.nav-glass{
  background: rgba(255,255,255,.03) !important;
  backdrop-filter: blur(18px);
  border-color: var(--border) !important;
}

.nav-modern .nav-link{
  font-weight: 850;
  color: rgba(246,242,232,.86) !important;
  padding: 10px 12px;
  border-radius: 12px;
}
html[data-theme="light"] .nav-modern .nav-link{
  color: rgba(20,16,24,.78) !important;
}
.nav-modern .nav-link:hover{
  background: rgba(245,197,66,.12);
  color: var(--text) !important;
}

/* Dropdown */
.dropdown-glass{
  background: rgba(15,14,22,.88);
  border: 1px solid rgba(255,255,255,.10);
  backdrop-filter: blur(18px);
}
html[data-theme="light"] .dropdown-glass{
  background: rgba(255,255,255,.95);
  border: 1px solid rgba(20,16,24,.12);
}
.dropdown-glass .dropdown-item{
  color: rgba(246,242,232,.86);
  font-weight: 700;
}
html[data-theme="light"] .dropdown-glass .dropdown-item{
  color: rgba(20,16,24,.78);
}
.dropdown-glass .dropdown-item:hover{
  background: rgba(245,197,66,.12);
}

/* Theme toggle */
.theme-toggle{
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.04);
  color: var(--text);
}
.theme-toggle:hover{
  border-color: rgba(245,197,66,.35);
  background: rgba(255,255,255,.06);
}

/* Buttons */
.btn-ghost{
  border: 1px solid var(--border);
  background: rgba(255,255,255,.04);
  color: var(--text);
  border-radius: 999px;
}
.btn-ghost:hover{
  background: rgba(255,255,255,.07);
  border-color: rgba(245,197,66,.35);
  color: var(--text);
}

.btn-gold{
  background: linear-gradient(135deg, var(--gold), var(--gold2)) !important;
  color: #1b140c !important;
  border: 0 !important;
  border-radius: 999px !important;
  box-shadow: 0 18px 60px rgba(245,197,66,.25);
}
.btn-gold:hover{ transform: translateY(-1px); filter: brightness(1.02); }

.btn-outline-gold{
  border-radius: 999px !important;
  border: 1px solid rgba(245,197,66,.45) !important;
  color: var(--gold2) !important;
  background: rgba(245,197,66,.06) !important;
}
.btn-outline-gold:hover{
  background: rgba(245,197,66,.12) !important;
  border-color: rgba(245,197,66,.65) !important;
}

/* TICKER */
.crypto-marquee{
  height: 44px;
  background: linear-gradient(90deg, #05040a, #0a0811);
  border-bottom: 1px solid rgba(255,255,255,.08);
  overflow: hidden;
  display:flex;
  align-items:center;
}
.marquee-track{
  display:flex;
  gap:40px;
  white-space:nowrap;
  animation: scroll-marquee 30s linear infinite;
  padding-left: 24px;
}
.crypto-marquee:hover .marquee-track{ animation-play-state: paused; }

.coin{ display:flex; align-items:center; gap:12px; font-weight: 850; }
.coin .symbol{ color: var(--gold2); letter-spacing:.3px; }
.coin .price{ color: rgba(246,242,232,.92); }

@keyframes scroll-marquee{
  from{ transform:translateX(100%); }
  to{ transform:translateX(-100%); }
}

/* HERO */
.hero-premium{
  padding: 56px 0 24px;
  position: relative;
}
.hero-premium::before{
  content:"";
  position:absolute;
  inset:0;
  background:
    radial-gradient(900px 520px at 12% 18%, rgba(245,197,66,.22), transparent 60%),
    radial-gradient(900px 520px at 88% 18%, rgba(59,130,246,.18), transparent 60%),
    radial-gradient(700px 520px at 50% 90%, rgba(236,72,153,.12), transparent 60%);
  pointer-events:none;
  z-index:0;
}
.hero-premium > .container{ position:relative; z-index:1; }

.hero-badge{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(245,197,66,.35);
  background: linear-gradient(135deg, rgba(245,197,66,.14), rgba(138,90,43,.10));
  color: rgba(246,242,232,.95);
  font-weight: 750;
}

.hero-title{
  font-size: 46px;
  line-height: 1.06;
  letter-spacing: -1px;
  font-weight: 950;
}
@media(max-width:992px){ .hero-title{ font-size: 36px; } }

.hero-gold{
  background: linear-gradient(135deg, var(--gold), var(--gold2), #ffb703);
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
}

.hero-sub{
  color: rgba(246,242,232,.78);
  max-width: 560px;
}

/* Chips (colorful) */
.hero-chips{ display:flex; flex-wrap:wrap; gap:10px; }
.chip{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.03);
  font-weight: 800;
  font-size: 13px;
}
.chip i{ font-size: 14px; }

.chip-gold{ border-color: rgba(245,197,66,.35); background: rgba(245,197,66,.10); color: var(--gold2); }
.chip-blue{ border-color: rgba(59,130,246,.30); background: rgba(59,130,246,.10); color: #bcd7ff; }
.chip-green{ border-color: rgba(34,197,94,.30); background: rgba(34,197,94,.10); color: #bff3d0; }
.chip-purple{ border-color: rgba(168,85,247,.30); background: rgba(168,85,247,.10); color: #e2c7ff; }

/* Right hero panel */
.hero-panel{
  border-radius: 26px;
  border: 1px solid rgba(255,255,255,.10);
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.03));
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow);
  padding: 18px;
}

/* mini cards (colorful) */
.mini-card{
  border-radius: 18px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.03);
  padding: 14px 14px;
}
.mini-top{ display:flex; align-items:center; gap:10px; font-weight: 850; }
.mini-icon{
  width: 34px; height: 34px;
  border-radius: 12px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border: 1px solid rgba(255,255,255,.10);
}
.mini-value{ font-size: 22px; font-weight: 950; margin-top: 8px; }
.mini-sub{ color: var(--muted); font-size: 13px; margin-top: 2px; }

.mini-gold .mini-icon{ background: rgba(245,197,66,.12); border-color: rgba(245,197,66,.22); color: var(--gold2); }
.mini-blue .mini-icon{ background: rgba(59,130,246,.12); border-color: rgba(59,130,246,.22); color: #bcd7ff; }
.mini-green .mini-icon{ background: rgba(34,197,94,.12); border-color: rgba(34,197,94,.22); color: #bff3d0; }
.mini-purple .mini-icon{ background: rgba(168,85,247,.12); border-color: rgba(168,85,247,.22); color: #e2c7ff; }

.hero-note{
  border-radius: 18px;
  border: 1px solid rgba(245,197,66,.22);
  background: linear-gradient(135deg, rgba(245,197,66,.14), rgba(59,130,246,.10), rgba(168,85,247,.08));
  padding: 14px 14px;
}
.note-title{ font-weight: 950; }
.note-sub{ color: rgba(246,242,232,.78); font-size: 13px; }

/* INFO CARDS */
.info-card{
  background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.03));
  border: 1px solid var(--border);
  border-radius: 22px;
  box-shadow: var(--shadow2);
  padding: 18px 18px;
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}
.info-card:hover{
  transform: translateY(-3px);
  border-color: rgba(245,197,66,.30);
}

/* Card color borders */
.card-gold:hover{ background: linear-gradient(180deg, rgba(245,197,66,.10), rgba(255,255,255,.03)); }
.card-blue:hover{ background: linear-gradient(180deg, rgba(59,130,246,.10), rgba(255,255,255,.03)); }
.card-green:hover{ background: linear-gradient(180deg, rgba(34,197,94,.10), rgba(255,255,255,.03)); }
.card-purple:hover{ background: linear-gradient(180deg, rgba(168,85,247,.10), rgba(255,255,255,.03)); }

.info-card h6{ font-weight: 950; margin-bottom: 6px; }
.info-card p{ color: var(--muted); margin-bottom: 0; }

/* icon badges colorful */
.icon-badge{
  width: 46px;
  height: 46px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  color: #151015;
  box-shadow: 0 16px 40px rgba(0,0,0,.25);
}
.icon-badge.gold{ background: linear-gradient(135deg, var(--gold), var(--gold2)); }
.icon-badge.blue{ background: linear-gradient(135deg, #60a5fa, #3b82f6); }
.icon-badge.green{ background: linear-gradient(135deg, #34d399, #22c55e); }
.icon-badge.purple{ background: linear-gradient(135deg, #c084fc, #a855f7); }

.icon-badge i{ font-size: 18px; }

/* Soft strip section */
.soft-strip{
  background: linear-gradient(180deg, rgba(245,197,66,.06), rgba(255,255,255,0));
  border-top: 1px solid rgba(255,255,255,.06);
  border-bottom: 1px solid rgba(255,255,255,.06);
}

/* FOOTER */
.footer{
  background: rgba(255,255,255,.02);
  border-color: var(--border) !important;
}
.footer h6{ font-weight: 950; }
.footer a{
  color: rgba(246,242,232,.78);
  font-weight: 650;
}
html[data-theme="light"] .footer a{ color: rgba(20,16,24,.72); }
.footer a:hover{ color: var(--gold2); }

/* WhatsApp float */
.wa-float{
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 9999;
  filter: drop-shadow(0 18px 40px rgba(0,0,0,.45));
}

/* Live alerts toggle */
.sound-toggle{
  position: fixed;
  bottom: 18px;
  left: 18px;
  z-index: 9999;
  background: rgba(15,14,22,.90);
  color: var(--text);
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(245,197,66,.25);
  cursor: pointer;
  user-select:none;
}
.sound-toggle:hover{ background: rgba(15,14,22,.96); }

/* Live notifications area */
#live-notifications{
  position: fixed;
  bottom: 70px;
  left: 18px;
  z-index: 9999;
  display:flex;
  flex-direction:column;
  gap:10px;
}

/* Withdrawal popups (limit/position) */
#withdrawalContainer{
  position: fixed;
  left: 18px;
  bottom: 140px;
  z-index: 99999;
  display:flex;
  flex-direction:column;
  gap:12px;
  max-height: calc(100vh - 200px);
  overflow:hidden;
}

.withdrawal-popup{
  display:flex;
  align-items:center;
  gap:12px;
  background: linear-gradient(135deg, rgba(18,18,33,.95), rgba(10,10,16,.95));
  border: 1px solid rgba(245,197,66,.18);
  color:#fff;
  padding:14px 16px;
  border-radius: 18px;
  box-shadow: 0 20px 60px rgba(0,0,0,.55);
  max-width: 300px;
}

.popup-avatar{
  width: 38px;
  height: 38px;
  border-radius: 14px;
  background: rgba(34,197,94,.14);
  color: #22c55e;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size: 18px;
}

.popup-close{
  margin-left:auto;
  width: 28px;
  height: 28px;
  border-radius: 12px;
  border: 0;
  background: rgba(255,255,255,.08);
  color:#cbd5e1;
  cursor:pointer;
}
.popup-close:hover{ background: rgba(255,255,255,.14); color:#fff; }

@media(max-width:576px){
  #withdrawalContainer{
    left:50%;
    transform:translateX(-50%);
    bottom: 150px;
  }
  .withdrawal-popup{ max-width: 92vw; }
}

/* =============================
   PREMIUM PLANS GRID
============================= */

.plans-grid-pro{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:24px;
}

@media(max-width:992px){
  .plans-grid-pro{ grid-template-columns:repeat(2,1fr); }
}
@media(max-width:576px){
  .plans-grid-pro{ grid-template-columns:1fr; }
}

.plan-card-pro{
  border-radius:24px;
  border:1px solid rgba(255,255,255,.08);
  background:linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.02));
  padding:22px;
  transition:.25s ease;
  position:relative;
  overflow:hidden;
}

.plan-card-pro:hover{
  transform:translateY(-5px);
  border-color:rgba(245,197,66,.35);
  box-shadow:0 20px 50px rgba(0,0,0,.4);
}

.plan-badge-pro{
  position:absolute;
  top:18px;
  right:18px;
  padding:6px 12px;
  border-radius:50px;
  font-size:12px;
  font-weight:800;
  background:rgba(245,197,66,.12);
  color:#f5c542;
  border:1px solid rgba(245,197,66,.35);
}

.plan-title{
  font-weight:900;
  font-size:20px;
  margin-bottom:8px;
}

.plan-sub{
  font-size:14px;
  color:rgba(246,242,232,.75);
  margin-bottom:18px;
}

.plan-metric{
  display:flex;
  justify-content:space-between;
  padding:10px 14px;
  border-radius:14px;
  background:rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.06);
  margin-bottom:10px;
}

.plan-metric .k{
  font-size:13px;
  color:rgba(246,242,232,.6);
}

.plan-metric .v{
  font-weight:900;
}

.plan-points{
  list-style:none;
  padding:0;
  margin-top:12px;
}

.plan-points li{
  padding:6px 0;
  font-size:13px;
  color:rgba(246,242,232,.8);
}

.plan-cta{
  margin-top:18px;
}
