:root {
  --gold: #F5C518;
  --gold-2: #B8860B;
  --gold-lt: #FFE98A;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background:
    radial-gradient(1200px 600px at 82% -8%, rgba(245,197,24,.07), transparent 55%),
    radial-gradient(900px 520px at 8% 8%, rgba(184,134,11,.06), transparent 55%),
    #0a0a0c;
  background-attachment: fixed;
  letter-spacing: -0.01em;
}
.tabular-nums { font-variant-numeric: tabular-nums; }

/* ---- Gold text & buttons ---- */
.gold-text {
  background: linear-gradient(120deg, #FFE98A, #FFD700, #B8860B, #FFD700);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.shimmer { animation: shimmerText 4s linear infinite; }
@keyframes shimmerText { to { background-position: 200% center; } }

.text-gold { color: var(--gold); }
.border-gold { border-color: rgba(245,197,24,.5) !important; }
.bg-gold\/10 { background: rgba(245,197,24,.1); }
.focus\:border-gold:focus { border-color: var(--gold) !important; }
.hover\:gold-text:hover {
  background: linear-gradient(135deg, #FFE98A, #FFD700, #B8860B);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

.gold-btn {
  background: linear-gradient(135deg, #FFE98A, #FFD700, #E6B800, #B8860B);
  background-size: 180% auto;
  box-shadow: 0 6px 24px rgba(245,197,24,.3), inset 0 1px 0 rgba(255,255,255,.4);
  transition: transform .18s cubic-bezier(.2,.8,.2,1), box-shadow .25s, background-position .4s;
  position: relative;
}
.gold-btn:hover {
  transform: translateY(-2px);
  background-position: right center;
  box-shadow: 0 10px 34px rgba(245,197,24,.5), inset 0 1px 0 rgba(255,255,255,.5);
}
.gold-btn:active { transform: translateY(0); }

/* ---- Header glass ---- */
.glass-header {
  background: rgba(10,10,12,.72);
  backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid rgba(245,197,24,.14);
}
.nav-link { position: relative; }
.nav-link::after {
  content: ''; position: absolute; bottom: 4px; right: 50%; transform: translateX(50%);
  width: 0; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg,#FFD700,#B8860B); transition: width .25s;
}
.nav-link:hover::after { width: 40%; }

.logo-coin { transition: transform .4s; }
.logo-coin:hover { transform: rotate(360deg) scale(1.05); }

/* ---- Panels & cards ---- */
.panel {
  background: linear-gradient(160deg, #16161c, #0e0e12);
  border: 1px solid rgba(255,255,255,.07);
  box-shadow: 0 20px 50px rgba(0,0,0,.4);
}
.stat-card {
  background: linear-gradient(160deg, #16161c, #0f0f13);
  border: 1px solid rgba(255,255,255,.06);
  transition: transform .2s, border-color .25s, box-shadow .25s;
}
.stat-card:hover {
  transform: translateY(-3px);
  border-color: rgba(245,197,24,.3);
  box-shadow: 0 12px 30px rgba(0,0,0,.5);
}

.coin-row:hover { background: rgba(245,197,24,.03); }

/* ---- Futures section ---- */
.fut-panel { box-shadow: 0 20px 60px rgba(0,0,0,.5), 0 0 40px rgba(245,197,24,.05); }
.lev-badge {
  background: linear-gradient(135deg, rgba(245,197,24,.18), rgba(184,134,11,.12));
  border: 1px solid rgba(245,197,24,.4);
  color: var(--gold);
  box-shadow: 0 0 18px rgba(245,197,24,.18);
}
.lev-pill {
  font-size: .68rem; font-weight: 900; color: var(--gold);
  padding: 2px 8px; border-radius: 999px;
  background: rgba(245,197,24,.1); border: 1px solid rgba(245,197,24,.3);
}
.long-btn {
  color: #dcfce7;
  background: linear-gradient(135deg, rgba(34,197,94,.9), rgba(21,128,61,.9));
  border: 1px solid rgba(34,197,94,.5);
  transition: transform .15s, box-shadow .2s;
}
.long-btn:hover { transform: translateY(-1px); box-shadow: 0 6px 18px rgba(34,197,94,.4); }
.short-btn {
  color: #fee2e2;
  background: linear-gradient(135deg, rgba(239,68,68,.9), rgba(153,27,27,.9));
  border: 1px solid rgba(239,68,68,.5);
  transition: transform .15s, box-shadow .2s;
}
.short-btn:hover { transform: translateY(-1px); box-shadow: 0 6px 18px rgba(239,68,68,.4); }

@keyframes flashUp { 0% { color: #4ade80; } 100% { color: #fff; } }
@keyframes flashDown { 0% { color: #f87171; } 100% { color: #fff; } }
.flash-up { animation: flashUp .8s ease-out; }
.flash-down { animation: flashDown .8s ease-out; }

/* ---- CTA band ---- */
.cta-band {
  background:
    linear-gradient(120deg, rgba(245,197,24,.06), transparent 50%),
    linear-gradient(160deg, #16150f, #0d0d10 70%);
  border: 1px solid rgba(245,197,24,.16);
  box-shadow: 0 20px 60px rgba(0,0,0,.45);
}

/* ---- Live fiat ticker ---- */
.ticker-wrap {
  overflow: hidden; position: relative;
  background: linear-gradient(90deg,#0c0c0f,#151519,#0c0c0f);
  border-bottom: 1px solid rgba(245,197,24,.12);
}
.ticker-wrap::before, .ticker-wrap::after {
  content: ''; position: absolute; top: 0; bottom: 0; width: 90px; z-index: 2; pointer-events: none;
}
.ticker-wrap::before { left: 0; background: linear-gradient(90deg, transparent, #0c0c0f); }
.ticker-wrap::after { right: 0; background: linear-gradient(270deg, transparent, #0c0c0f); }
.ticker-track {
  display: inline-flex; white-space: nowrap;
  animation: tickerScroll 34s linear infinite;
}
.ticker-wrap:hover .ticker-track { animation-play-state: paused; }
@keyframes tickerScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---- Fiat cards with shine sweep ---- */
.fiat-card {
  background: linear-gradient(160deg,#17171e,#0f0f13);
  border: 1px solid rgba(255,255,255,.06);
  transition: transform .2s ease, box-shadow .28s, border-color .28s;
}
.fiat-card:hover {
  transform: translateY(-4px);
  border-color: rgba(245,197,24,.38);
  box-shadow: 0 14px 44px rgba(0,0,0,.55), 0 0 28px rgba(245,197,24,.14);
}
.fiat-card::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(120deg, transparent 42%, rgba(255,215,0,.12) 50%, transparent 58%);
  transform: translateX(-120%); transition: transform .7s ease;
}
.fiat-card:hover::after { transform: translateX(120%); }

/* ---- Feature cards ---- */
.feature-card {
  background: linear-gradient(160deg,#16161c,#0f0f13);
  border: 1px solid rgba(255,255,255,.06);
  transition: transform .22s ease, box-shadow .28s, border-color .28s;
}
.feature-card:hover {
  transform: translateY(-5px);
  border-color: rgba(245,197,24,.3);
  box-shadow: 0 18px 50px rgba(0,0,0,.5), 0 0 30px rgba(245,197,24,.1);
}
.feature-active {
  border-color: rgba(245,197,24,.55) !important;
  box-shadow: 0 0 40px rgba(245,197,24,.2) !important;
}

.avatar-ring { box-shadow: 0 0 0 3px rgba(245,197,24,.35), 0 0 30px rgba(245,197,24,.35); }

/* ---- Hero decorations ---- */
.gold-glow {
  position: absolute;
  top: -140px; left: 50%; transform: translateX(-50%);
  width: 680px; height: 680px;
  background: radial-gradient(circle, rgba(245,197,24,.16), transparent 62%);
  pointer-events: none; z-index: 0;
  filter: blur(12px);
  animation: pulseGlow 6s ease-in-out infinite;
}
@keyframes pulseGlow {
  0%,100% { opacity: .8; transform: translateX(-50%) scale(1); }
  50% { opacity: 1; transform: translateX(-50%) scale(1.08); }
}

.hero-orbit {
  position: absolute; top: -200px; left: 50%; margin-left: -360px;
  width: 720px; height: 720px; border-radius: 50%;
  border: 1px solid rgba(245,197,24,.09);
  pointer-events: none; z-index: 0;
  animation: spinSlow 46s linear infinite;
}
.hero-orbit::before, .hero-orbit::after {
  content: ''; position: absolute; border-radius: 50%;
  border: 1px solid rgba(245,197,24,.06);
}
.hero-orbit::before { inset: 90px; }
.hero-orbit::after {
  inset: 8px; width: 12px; height: 12px; top: -6px; left: 50%; border: none;
  background: radial-gradient(circle,#FFD700,#B8860B);
  box-shadow: 0 0 18px rgba(245,197,24,.8);
}
@keyframes spinSlow { to { transform: rotate(360deg); } }

.grid-overlay {
  position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: .5;
  background-image:
    linear-gradient(rgba(245,197,24,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245,197,24,.035) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000, transparent 75%);
}

.badge-glow { box-shadow: 0 0 24px rgba(245,197,24,.15); }

/* ---- Marketing Banner ---- */
.promo-banner {
  background:
    linear-gradient(120deg, rgba(245,197,24,.06), transparent 45%),
    linear-gradient(160deg, #14140f, #0a0a0c 70%);
  border-bottom: 1px solid rgba(245,197,24,.16);
  box-shadow: inset 0 -1px 0 rgba(245,197,24,.08);
}
.promo-glow {
  position: absolute; top: -160px; right: -120px;
  width: 560px; height: 560px; z-index: 0; pointer-events: none;
  background: radial-gradient(circle, rgba(245,197,24,.18), transparent 62%);
  filter: blur(14px);
  animation: pulseGlow 7s ease-in-out infinite;
}
.promo-grid {
  position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: .5;
  background-image:
    linear-gradient(rgba(245,197,24,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245,197,24,.04) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse 80% 90% at 70% 40%, #000, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 90% at 70% 40%, #000, transparent 80%);
}
.promo-badge {
  background: rgba(245,197,24,.08);
  border: 1px solid rgba(245,197,24,.3);
  box-shadow: 0 0 22px rgba(245,197,24,.14);
}
.promo-floaters { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.promo-float {
  position: absolute; font-weight: 900; color: rgba(245,197,24,.10);
  font-size: 2.2rem; animation: floatY 9s ease-in-out infinite;
}
.promo-float.f1 { top: 12%; left: 6%; font-size: 3rem; animation-delay: 0s; }
.promo-float.f2 { top: 62%; left: 12%; animation-delay: 1.2s; }
.promo-float.f3 { top: 30%; left: 40%; font-size: 2.6rem; animation-delay: 2s; }
.promo-float.f4 { top: 76%; left: 46%; animation-delay: .6s; }
.promo-float.f5 { top: 18%; right: 8%; font-size: 2.8rem; animation-delay: 1.8s; }
.promo-float.f6 { top: 70%; right: 14%; animation-delay: 2.6s; }
.promo-float.f7 { top: 44%; right: 30%; animation-delay: .3s; }
.promo-float.f8 { top: 8%; right: 34%; font-size: 2.4rem; animation-delay: 3.2s; }
@keyframes floatY {
  0%,100% { transform: translateY(0) rotate(0deg); opacity: .7; }
  50% { transform: translateY(-18px) rotate(8deg); opacity: 1; }
}
.promo-coin-wrap { position: relative; width: 260px; height: 260px; display: grid; place-items: center; }
.promo-coin {
  width: 130px; height: 130px; border-radius: 50%;
  display: grid; place-items: center; font-size: 4.2rem; font-weight: 900; color: #0b0b0d;
  background: linear-gradient(135deg,#FFE98A,#FFD700,#B8860B);
  box-shadow: 0 0 60px rgba(245,197,24,.5), inset 0 3px 8px rgba(255,255,255,.5);
  animation: coinBob 4s ease-in-out infinite;
  z-index: 2;
}
@keyframes coinBob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
.promo-ring { position: absolute; border-radius: 50%; border: 1px dashed rgba(245,197,24,.28); }
.promo-ring.r-a { inset: 8px; animation: spinSlow 24s linear infinite; }
.promo-ring.r-b { inset: -20px; border-color: rgba(245,197,24,.14); animation: spinSlow 40s linear infinite reverse; }
.promo-chip {
  position: absolute; font-size: .7rem; font-weight: 900; color: var(--gold);
  padding: 4px 10px; border-radius: 999px;
  background: rgba(20,20,26,.9); border: 1px solid rgba(245,197,24,.35);
  box-shadow: 0 4px 18px rgba(0,0,0,.5); z-index: 3;
}
.promo-chip.c-1 { top: 2%; left: 50%; transform: translateX(-50%); animation: floatY 6s ease-in-out infinite; }
.promo-chip.c-2 { top: 46%; right: -6%; animation: floatY 6s ease-in-out infinite 1s; }
.promo-chip.c-3 { bottom: 2%; left: 50%; transform: translateX(-50%); animation: floatY 6s ease-in-out infinite 2s; }
.promo-chip.c-4 { top: 46%; left: -6%; animation: floatY 6s ease-in-out infinite 1.5s; }

/* ---- Modal ---- */
.modal-backdrop { background: rgba(0,0,0,.72); backdrop-filter: blur(6px); }

/* ---- Entrance animations ---- */
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
.anim-1, .anim-2, .anim-3, .anim-4, .anim-5 { opacity: 0; animation: fadeUp .8s cubic-bezier(.2,.8,.2,1) forwards; }
.anim-1 { animation-delay: .05s; }
.anim-2 { animation-delay: .18s; }
.anim-3 { animation-delay: .32s; }
.anim-4 { animation-delay: .46s; }
.anim-5 { animation-delay: .60s; }

@keyframes pop { from { opacity: 0; transform: scale(.92); } to { opacity: 1; transform: scale(1); } }
.animate-pop { animation: pop .24s cubic-bezier(.2,.8,.2,1) forwards; }

@keyframes slide { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: translateY(0); } }
.animate-slide { animation: slide .2s ease forwards; }

/* ---- Scrollbar ---- */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: #0a0a0c; }
::-webkit-scrollbar-thumb { background: linear-gradient(#FFD700,#7a5c08); border-radius: 8px; }

input::placeholder { color: #555; }
button { cursor: pointer; }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; }
}