:root {
  --bg: #080b12;
  --panel: #111827;
  --panel-2: #172033;
  --line: rgba(255,255,255,.1);
  --text: #f6f8fb;
  --muted: #98a2b3;
  --blue: #4f8cff;
  --green: #21c997;
  --yellow: #f7c948;
  --red: #ff5c75;
}

* { box-sizing: border-box; }
body {
  min-height: 100vh;
  background:
    radial-gradient(circle at 15% 0%, rgba(79,140,255,.18), transparent 30%),
    radial-gradient(circle at 90% 10%, rgba(33,201,151,.14), transparent 28%),
    var(--bg);
  color: var(--text);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.amx-nav {
  background: rgba(8, 11, 18, .86);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}
.navbar-brand { color: var(--text); font-weight: 800; }
.navbar-brand:hover { color: var(--text); }
.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--blue), var(--green));
  color: white;
  font-size: .85rem;
}
.btn-icon { width: 42px; height: 42px; padding: 0; display: inline-grid; place-items: center; }
.hero-band {
  min-height: 210px;
  padding: clamp(1.25rem, 4vw, 2rem);
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(120deg, rgba(17,24,39,.92), rgba(13,82,96,.55)),
    url("https://images.unsplash.com/photo-1639322537228-f710d846310a?auto=format&fit=crop&w=1600&q=80") center/cover;
  overflow: hidden;
}
.hero-band h1 { font-weight: 850; letter-spacing: 0; }
.eyebrow { color: var(--green); text-transform: uppercase; font-size: .78rem; letter-spacing: .08em; }
.hero-stats { display: grid; grid-template-columns: repeat(2, minmax(140px,1fr)); gap: .75rem; }
.hero-stats div, .glass-card, .mini-stat, .metric, .quote-box, .wallet-option {
  border: 1px solid var(--line);
  background: rgba(17, 24, 39, .82);
  box-shadow: 0 18px 44px rgba(0,0,0,.22);
}
.hero-stats div { border-radius: 8px; padding: 1rem; backdrop-filter: blur(10px); }
.hero-stats span, .metric span, .mini-stat span, .quote-box span, .metric-label {
  color: var(--muted);
  font-size: .82rem;
}
.hero-stats strong, .metric strong, .mini-stat strong, .quote-box strong {
  display: block;
  color: var(--text);
  font-size: 1rem;
  overflow-wrap: anywhere;
}
.section-title { display: flex; align-items: end; justify-content: space-between; gap: 1rem; }
.section-title h2, .glass-card h2 { font-size: 1.15rem; margin: 0; font-weight: 800; }
.section-title span { color: var(--muted); font-size: .85rem; }
.glass-card { border-radius: 8px; padding: 1.1rem; }
.glass-card h3 { font-size: 1rem; margin-top: .75rem; }
.glass-card p { color: var(--muted); }
.card-icon { color: var(--green); font-size: 1.7rem; }
.address-text { font-size: 1rem; overflow-wrap: anywhere; }
.mini-stat, .metric { border-radius: 8px; padding: .85rem; min-height: 76px; }
.metric strong { margin-top: .25rem; }
.amx-progress { height: 12px; background: rgba(255,255,255,.08); }
.progress-bar { background: linear-gradient(90deg, var(--green), var(--blue)); }
.amx-tabs { gap: .5rem; overflow-x: auto; flex-wrap: nowrap; padding-bottom: .25rem; }
.amx-tabs .nav-link { color: var(--muted); background: rgba(255,255,255,.05); border-radius: 8px; white-space: nowrap; }
.amx-tabs .nav-link.active { color: white; background: var(--blue); }
.form-control, .input-group-text {
  color: var(--text);
  background: rgba(255,255,255,.06);
  border-color: var(--line);
}
.form-control:focus { color: var(--text); background: rgba(255,255,255,.08); border-color: var(--blue); box-shadow: 0 0 0 .2rem rgba(79,140,255,.18); }
.form-control::placeholder { color: #667085; }
.quote-box { border-radius: 8px; padding: .9rem; display: grid; gap: .75rem; }
.quote-box div { display: flex; justify-content: space-between; gap: 1rem; }
.tx-steps { display: grid; gap: .8rem; }
.tx-steps div { display: flex; align-items: center; gap: .75rem; color: var(--muted); }
.tx-steps div.active { color: var(--yellow); }
.tx-steps div.done { color: var(--green); }
.claim-btn { width: 100%; min-height: 112px; display: grid; place-items: center; border-radius: 8px; }
.claim-btn i { font-size: 1.55rem; }
.claim-btn span, .claim-btn small { max-width: 100%; text-align: center; overflow-wrap: anywhere; }
.claim-btn small { opacity: .86; }
.claim-btn:disabled { opacity: .65; cursor: not-allowed; }
.amx-modal { color: var(--text); background: var(--panel); border: 1px solid var(--line); }
.wallet-list { display: grid; gap: .75rem; }
.wallet-option {
  width: 100%;
  border-radius: 8px;
  padding: .9rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--text);
}
.wallet-option:hover { border-color: rgba(79,140,255,.55); }
.install-links a { color: #9cc2ff; display: inline-block; margin: .2rem .7rem .2rem 0; }
.toast { border: 1px solid var(--line); color: white; }
.toast.success { background: rgba(22, 163, 74, .96); }
.toast.info { background: rgba(37, 99, 235, .96); }
.toast.warning { background: rgba(217, 119, 6, .96); }
.toast.error { background: rgba(220, 38, 38, .96); }
.spinner-border-sm { width: 1rem; height: 1rem; }

@media (max-width: 767px) {
  .hero-band { align-items: stretch; flex-direction: column; min-height: 300px; }
  .hero-stats { grid-template-columns: 1fr; }
  .section-title { align-items: start; flex-direction: column; }
  .quote-box div { display: block; }
}
