/* EarnBonk Design System */
:root {
  --eb-bg: #14061f;
  --eb-bg-2: #1e0a33;
  --eb-purple: #4a1d80;
  --eb-purple-2: #6a2bb8;
  --eb-purple-glow: #8b3ff0;
  --eb-gold: #ffd447;
  --eb-gold-2: #ffb800;
  --eb-white: #ffffff;
  --eb-muted: #b8a8d1;
  --eb-card: #22103a;
  --eb-card-2: #2d1650;
  --eb-border: rgba(255, 212, 71, 0.15);
}

* { -webkit-font-smoothing: antialiased; }

html, body {
  background: var(--eb-bg);
  color: var(--eb-white);
  font-family: 'Plus Jakarta Sans', 'Inter', system-ui, sans-serif;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  background-image:
    radial-gradient(circle at 15% 10%, rgba(139, 63, 240, 0.25), transparent 40%),
    radial-gradient(circle at 85% 30%, rgba(255, 184, 0, 0.08), transparent 45%),
    radial-gradient(circle at 50% 90%, rgba(106, 43, 184, 0.18), transparent 50%);
  background-attachment: fixed;
}

.font-display {
  font-family: 'Space Grotesk', 'Plus Jakarta Sans', sans-serif;
  letter-spacing: -0.02em;
}

.eb-gradient-text {
  background: linear-gradient(135deg, #ffd447 0%, #ffb800 50%, #ff9500 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.eb-gradient-bg {
  background: linear-gradient(135deg, #4a1d80 0%, #6a2bb8 50%, #8b3ff0 100%);
}

.eb-card {
  background: linear-gradient(160deg, rgba(45, 22, 80, 0.9), rgba(30, 10, 51, 0.9));
  border: 1px solid var(--eb-border);
  border-radius: 20px;
  backdrop-filter: blur(10px);
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.eb-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 212, 71, 0.4);
  box-shadow: 0 20px 40px -20px rgba(139, 63, 240, 0.5);
}

.eb-btn-primary {
  background: linear-gradient(135deg, #ffd447, #ffb800);
  color: #14061f;
  font-weight: 700;
  padding: 14px 28px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: transform .2s ease, box-shadow .2s ease;
  box-shadow: 0 10px 30px -10px rgba(255, 180, 0, .6);
}
.eb-btn-primary:hover { transform: translateY(-2px); box-shadow: 0 15px 40px -10px rgba(255, 180, 0, .8); }

.eb-btn-secondary {
  background: rgba(255,255,255,0.05);
  color: #fff;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid rgba(255,255,255,0.15);
  transition: all .2s ease;
}
.eb-btn-secondary:hover { background: rgba(255,255,255,0.1); border-color: rgba(255, 212, 71, 0.4); }

.eb-input {
  width: 100%;
  background: rgba(20, 6, 31, 0.6);
  border: 1px solid rgba(255,255,255,0.1);
  color: #fff;
  padding: 14px 16px;
  border-radius: 12px;
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.eb-input:focus { border-color: var(--eb-gold); box-shadow: 0 0 0 3px rgba(255, 212, 71, 0.15); }
.eb-input::placeholder { color: #7a6a95; }

.eb-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255, 212, 71, 0.12);
  color: var(--eb-gold);
  border: 1px solid rgba(255, 212, 71, 0.25);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* Nav */
.eb-nav-link {
  color: #d5c9ea;
  font-weight: 500;
  transition: color .2s ease;
  position: relative;
}
.eb-nav-link:hover, .eb-nav-link.active { color: var(--eb-gold); }
.eb-nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -8px; left: 0; right: 0;
  height: 2px;
  background: var(--eb-gold);
  border-radius: 2px;
}

/* Floating shapes for hero */
.eb-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: .6;
  pointer-events: none;
}

/* Accordion */
.eb-accordion-item { border-bottom: 1px solid rgba(255,255,255,0.08); }
.eb-accordion-btn { width: 100%; text-align: left; padding: 20px 0; display:flex; justify-content:space-between; align-items:center; gap:16px; color:#fff; font-weight:600; }
.eb-accordion-btn .eb-plus { transition: transform .3s ease; color: var(--eb-gold); }
.eb-accordion-btn.open .eb-plus { transform: rotate(45deg); }
.eb-accordion-content { max-height: 0; overflow:hidden; transition: max-height .35s ease; color: #b8a8d1; }
.eb-accordion-content-inner { padding: 0 0 20px; line-height: 1.7; }

/* Toast */
#eb-toast-container { position: fixed; top: 20px; right: 20px; z-index: 9999; display:flex; flex-direction:column; gap:10px; }
.eb-toast {
  padding: 14px 18px;
  border-radius: 12px;
  color:#fff;
  font-weight:600;
  min-width: 240px;
  box-shadow: 0 20px 40px -15px rgba(0,0,0,.6);
  animation: eb-toast-in .3s ease;
}
.eb-toast.success { background: linear-gradient(135deg, #16a34a, #15803d); }
.eb-toast.error { background: linear-gradient(135deg, #dc2626, #991b1b); }
.eb-toast.info { background: linear-gradient(135deg, #6a2bb8, #4a1d80); }
@keyframes eb-toast-in { from { transform: translateX(120%); opacity: 0; } to { transform: translateX(0); opacity: 1; } }

/* Utility */
.eb-scroll-hide::-webkit-scrollbar { display: none; }

/* Coin icon spin */
@keyframes eb-float { 0%,100% { transform: translateY(0);} 50%{ transform: translateY(-10px);} }
.eb-float { animation: eb-float 4s ease-in-out infinite; }
.eb-float-slow { animation: eb-float 6s ease-in-out infinite; }

/* Hero visual coin */
.eb-coin {
  width: 72px; height: 72px; border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #fff2a8, #ffd447 50%, #b8850a);
  display: grid; place-items: center;
  color: #14061f; font-weight: 900; font-size: 22px;
  box-shadow: inset -6px -6px 12px rgba(0,0,0,.3), 0 10px 25px -5px rgba(255, 180, 0, .5);
}

/* Mobile menu */
#eb-mobile-menu { transform: translateX(100%); transition: transform .3s ease; }
#eb-mobile-menu.open { transform: translateX(0); }

/* Divider gold */
.eb-divider { height: 1px; background: linear-gradient(90deg, transparent, rgba(255, 212, 71, 0.4), transparent); }
