/* ============================================================
   Donut Wallet — global styles
   ============================================================ */

:root {
  --bg: #150f1d;
  --bg2: #1d1429;
  --card: #241a33;
  --card2: #2b203d;
  --border: rgba(255, 255, 255, 0.08);
  --text: #f6eefc;
  --muted: #a697ba;
  --pink: #ff5ca8;
  --pink2: #ff7ac8;
  --orange: #ffb35c;
  --gold: #ffd97a;
  --green: #4ade80;
  --red: #f87171;
  --blue: #7fd4ff;
  --radius: 16px;
}

* { box-sizing: border-box; }

[hidden] { display: none !important; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Fredoka", "Segoe UI", system-ui, -apple-system, sans-serif;
  color: var(--text);
  background:
    radial-gradient(1100px 620px at 88% -12%, rgba(255, 92, 168, 0.16), transparent 62%),
    radial-gradient(950px 520px at -8% 24%, rgba(255, 179, 92, 0.10), transparent 60%),
    var(--bg);
  min-height: 100vh;
}

a { color: inherit; }

code {
  font-family: "Cascadia Mono", Consolas, monospace;
  background: rgba(255, 217, 122, 0.12);
  color: var(--gold);
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 0.95em;
}

/* ---------- typography helpers ---------- */

.muted-small { color: var(--muted); font-size: 13px; font-weight: 500; }
.sub { color: var(--muted); font-size: 13px; font-weight: 500; display: block; }
.up { color: var(--green); }
.down { color: var(--red); }

.grad-text {
  background: linear-gradient(90deg, var(--pink2), var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.page { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}
.section-head h2 { margin: 0; }
.section-head p { margin: 4px 0 0; }

.link { color: var(--pink2); text-decoration: none; font-weight: 600; }
.link:hover { text-decoration: underline; }

/* ---------- header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: rgba(21, 15, 29, 0.72);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  gap: 28px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 22px;
  font-weight: 700;
  text-decoration: none;
  color: var(--text);
}

.logo-badge {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 22px;
  background: linear-gradient(135deg, var(--pink), var(--orange));
  box-shadow: 0 6px 18px rgba(255, 92, 168, 0.4);
  flex-shrink: 0;
}

.logo .accent {
  background: linear-gradient(90deg, var(--pink2), var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.main-nav { display: flex; gap: 6px; }

.main-nav a {
  padding: 9px 16px;
  border-radius: 999px;
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
  transition: 0.15s;
  white-space: nowrap;
}
.main-nav a:hover { color: var(--text); background: rgba(255, 255, 255, 0.06); }
.main-nav a.active { color: var(--text); background: rgba(255, 92, 168, 0.16); }

.wallet-chip {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border-radius: 999px;
  background: var(--card2);
  border: 1px solid var(--border);
  font-weight: 700;
  text-decoration: none;
  transition: 0.15s;
}
.wallet-chip:hover { border-color: rgba(255, 122, 200, 0.5); }

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 700;
  font-family: inherit;
  font-size: 15px;
  border: 1px solid var(--border);
  background: var(--card2);
  color: var(--text);
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s, box-shadow 0.15s, border-color 0.15s, opacity 0.15s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); border-color: rgba(255, 122, 200, 0.5); }
.btn:active { transform: translateY(0); }
.btn:disabled { opacity: 0.55; cursor: not-allowed; transform: none; }

.btn-primary {
  background: linear-gradient(135deg, var(--pink), var(--orange));
  color: #2a0d1c;
  border: none;
  box-shadow: 0 8px 24px rgba(255, 92, 168, 0.35);
}
.btn-primary:hover { box-shadow: 0 10px 30px rgba(255, 92, 168, 0.5); border-color: transparent; }

.btn.ghost { background: transparent; }
.btn-sm { padding: 8px 14px; font-size: 13.5px; }
.btn-lg { padding: 15px 30px; font-size: 17px; }
.btn-block { width: 100%; }

/* ---------- ticker ---------- */

.ticker {
  overflow: hidden;
  border-bottom: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.18);
}
.ticker-track { display: flex; width: max-content; animation: tickerMove 36s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-set { display: flex; align-items: center; gap: 38px; padding: 10px 19px; }
.ticker-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}

@keyframes tickerMove { to { transform: translateX(-50%); } }

/* ---------- hero ---------- */

.hero {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 48px;
  align-items: center;
  padding: 64px 0 48px;
}

.hero-tag {
  display: inline-block;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(255, 122, 200, 0.12);
  border: 1px solid rgba(255, 122, 200, 0.3);
  color: var(--pink2);
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 18px;
}

.hero h1 {
  font-size: clamp(34px, 5vw, 54px);
  line-height: 1.08;
  margin: 0 0 18px;
  letter-spacing: -0.01em;
}

.lead {
  font-size: 18px;
  color: var(--muted);
  line-height: 1.55;
  margin: 0 0 28px;
  max-width: 520px;
}

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-note {
  margin-top: 16px;
  color: var(--muted);
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.hero-visual { position: relative; }

.hero-card {
  background: linear-gradient(160deg, var(--card2), var(--card));
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 24px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  transform: rotate(2deg);
}

.hero-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.hero-balance { font-size: 28px; font-weight: 700; margin-top: 2px; }

.hero-card-badge {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-weight: 800;
  color: #2a0d1c;
  background: linear-gradient(135deg, var(--pink2), var(--gold));
}

.hero-hold {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-top: 1px solid var(--border);
}
.hero-hold-mid { flex: 1; min-width: 0; }
.hero-hold-mid b { display: block; }
.hero-hold-right { text-align: right; }
.hero-hold-right b { display: block; }
.hero-hold-right span { font-size: 13px; font-weight: 600; }

.hero-spark { width: 100%; height: 90px; margin: 8px 0; }

.float-chip {
  position: absolute;
  padding: 9px 16px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
  background: var(--card2);
  border: 1px solid var(--border);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
  z-index: 2;
  animation: floaty 5s ease-in-out infinite alternate;
}
.chip-1 { top: -18px; left: -14px; color: var(--green); animation-delay: 0.3s; }
.chip-2 { bottom: -16px; right: -8px; color: var(--pink2); }

@keyframes floaty {
  from { transform: translateY(0); }
  to { transform: translateY(-12px); }
}

/* ---------- stats band ---------- */

.stats-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 56px;
}
.stat {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 20px;
}
.stat-num { font-size: 26px; font-weight: 700; }
.stat-label { color: var(--muted); font-size: 13.5px; margin-top: 2px; }

/* ---------- how it works ---------- */

.how { margin-top: 64px; }
.how > h2 { font-size: 30px; margin: 0 0 20px; }

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.step {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  position: relative;
  overflow: hidden;
}
.step-num {
  position: absolute;
  top: 12px;
  right: 18px;
  font-size: 40px;
  font-weight: 800;
  color: rgba(255, 122, 200, 0.16);
  line-height: 1;
}
.step h3 { margin: 0 0 8px; font-size: 18px; }
.step p { margin: 0; color: var(--muted); font-size: 14.5px; line-height: 1.55; }

/* ---------- featured / coin cards ---------- */

.featured { margin-top: 64px; }

.featured-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.coin-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  transition: transform 0.15s, border-color 0.15s;
}
.coin-card:hover { transform: translateY(-3px); border-color: rgba(255, 122, 200, 0.4); }

.coin-card-top {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.coin-card-top > div { flex: 1; min-width: 0; }
.coin-card-top b { display: block; }

.coin-card-price { font-size: 22px; font-weight: 700; margin-bottom: 8px; }
.coin-card-spark { width: 100%; height: 56px; }

.coin-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 10px;
}

/* ---------- teaser / live feed ---------- */

.teaser-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 16px;
  margin-top: 64px;
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}

.teaser-copy h2 { margin: 0 0 8px; }
.teaser-copy p { margin: 0; color: var(--muted); }

.teaser-chat {
  background: #0d0a12;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px;
  margin: 18px 0;
}

.teaser-cta { text-align: right; }

.live-list { list-style: none; margin: 0; padding: 0; }
.live-item {
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 14.5px;
  animation: fadeUp 0.3s ease;
}
.live-item:last-child { border-bottom: none; }

.chat-live {
  margin-left: auto;
  color: var(--red);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  animation: pulse 1.8s ease-in-out infinite;
  white-space: nowrap;
}
.chat-live.sim { color: #facc15; }

@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.45; } }
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---------- chat (shared) ---------- */

.chat-window {
  background: #0d0a12;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.chat-titlebar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 11px 14px;
  background: #161021;
  border-bottom: 1px solid var(--border);
  font-size: 13px;
  color: var(--muted);
}
.chat-dot { width: 9px; height: 9px; border-radius: 50%; }

.chat-log {
  padding: 14px 16px;
  font-family: "Cascadia Mono", Consolas, monospace;
  font-size: 13px;
  line-height: 1.6;
  overflow-y: auto;
  min-height: 340px;
  max-height: 520px;
  scrollbar-color: var(--card2) transparent;
}
.chat-msg { margin-bottom: 7px; animation: fadeUp 0.25s ease; word-break: break-word; }
.chat-time { color: #6d6480; margin-right: 6px; }
.chat-user { color: var(--blue); font-weight: 700; }
.chat-user.bot { color: var(--pink); }
.bot-name { color: var(--pink); font-weight: 700; }
.chat-msg .cmd { color: var(--gold); }
.chat-msg .ok { color: var(--green); font-weight: 700; }

/* ---------- footer ---------- */

.site-footer { border-top: 1px solid var(--border); margin-top: 80px; padding: 30px 24px; }
.footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 13.5px;
}
.footer-brand { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--text); }
.footer-links { display: flex; gap: 18px; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { color: var(--text); }
.footer-note { max-width: 420px; line-height: 1.5; }

/* ---------- chips ---------- */

.chip {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 13px;
}
.chip.up { background: rgba(74, 222, 128, 0.12); color: var(--green); }
.chip.down { background: rgba(248, 113, 113, 0.12); color: var(--red); }
.chip.flat { background: rgba(255, 255, 255, 0.08); color: var(--muted); }

/* ---------- coin badge ---------- */

.coin-badge {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 17px;
  color: #1a0f22;
  flex-shrink: 0;
}
.coin-badge.sm { width: 24px; height: 24px; font-size: 12px; }

/* ---------- trade page ---------- */

.portfolio-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 36px;
}
.pcard { padding: 18px 20px; }
.big-num { font-size: 26px; font-weight: 700; margin-top: 2px; }

.market-card { margin-top: 24px; padding: 24px; }
.table-wrap { overflow-x: auto; margin: 0 -8px; padding: 0 8px; }

.market-table { width: 100%; border-collapse: collapse; min-width: 640px; }
.market-table th {
  text-align: left;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  padding: 10px 14px;
  border-bottom: 1px solid var(--border);
  font-weight: 600;
}
.market-table td { padding: 12px 14px; border-bottom: 1px solid rgba(255, 255, 255, 0.05); }
.market-table tbody tr { transition: background 0.12s; }
.market-table tbody tr:hover { background: rgba(255, 255, 255, 0.03); }

.coin-cell { display: flex; align-items: center; gap: 12px; }
.coin-cell b { font-size: 15.5px; }

.table-spark { width: 120px; height: 36px; display: block; }

.act-cell { text-align: right; white-space: nowrap; }
.act-cell .btn + .btn { margin-left: 8px; }

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 24px;
}

.hold-list, .hist-list { list-style: none; margin: 0; padding: 0; }
.list-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.list-item:last-child { border-bottom: none; }
.list-mid { flex: 1; min-width: 0; }
.list-mid b { display: block; font-size: 15px; }
.list-right { text-align: right; }
.list-right b { display: block; margin-bottom: 4px; }

.hist-icon { font-size: 20px; }

.empty {
  padding: 26px 4px;
  color: var(--muted);
  text-align: center;
  font-size: 14.5px;
}

/* ---------- modal ---------- */

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 6, 15, 0.72);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 100;
  padding: 20px;
}
.modal-overlay.open { display: flex; }

.modal {
  position: relative;
  width: min(460px, 100%);
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 26px;
  animation: pop 0.2s ease;
  max-height: 92vh;
  overflow-y: auto;
}

@keyframes pop {
  from { opacity: 0; transform: scale(0.94) translateY(8px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

.modal-x {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--card2);
  color: var(--muted);
  cursor: pointer;
  font-size: 14px;
}
.modal-x:hover { color: var(--text); border-color: rgba(255, 122, 200, 0.5); }

.modal-head { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.modal-head h3 { margin: 0; font-size: 20px; }
.modal-price { margin-left: auto; text-align: right; }
.modal-price > span:first-child { display: block; font-size: 20px; font-weight: 700; }

.modal-spark { width: 100%; height: 110px; margin-bottom: 16px; }

.tab-row {
  display: flex;
  gap: 6px;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 5px;
  margin-bottom: 18px;
}
.tab {
  flex: 1;
  padding: 10px;
  border: none;
  border-radius: 9px;
  background: transparent;
  color: var(--muted);
  font-weight: 700;
  font-family: inherit;
  font-size: 14.5px;
  cursor: pointer;
  transition: 0.15s;
}
.tab.active { background: var(--card2); color: var(--text); }

.qty-row { display: flex; align-items: center; gap: 8px; margin-bottom: 14px; }
.qty-btn {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--card2);
  color: var(--text);
  font-size: 18px;
  cursor: pointer;
  flex-shrink: 0;
}
.qty-btn:hover { border-color: rgba(255, 122, 200, 0.5); }
.qty-row input {
  flex: 1;
  min-width: 0;
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--bg2);
  color: var(--text);
  font-family: inherit;
  font-size: 17px;
  font-weight: 700;
  outline: none;
  text-align: center;
}
.qty-row input:focus { border-color: var(--pink); }
.qty-max {
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid rgba(255, 122, 200, 0.4);
  background: rgba(255, 122, 200, 0.1);
  color: var(--pink2);
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  flex-shrink: 0;
}

.cost-line { font-size: 16px; margin-bottom: 4px; }
.cost-line b { color: var(--gold); }
.bal-line { color: var(--muted); font-size: 14px; margin-bottom: 12px; }
.err-line { color: var(--red); font-size: 14px; font-weight: 600; min-height: 20px; margin-bottom: 8px; }
.fee-note { text-align: center; color: var(--muted); font-size: 12.5px; margin-top: 12px; }

/* ---------- verify page ---------- */

.page-head { margin-top: 40px; margin-bottom: 24px; }
.page-head h1 { margin: 0 0 8px; font-size: 34px; }
.page-head .sub { font-size: 16px; }

.verify-layout {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 24px;
  align-items: start;
}

.verify-card { padding: 24px; }
.status-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  padding: 10px 14px;
  border-radius: 10px;
  background: rgba(248, 113, 113, 0.07);
  border: 1px solid rgba(248, 113, 113, 0.2);
  font-size: 13.5px;
}
.status-row .chat-live { margin-left: 0; }

.field { display: block; margin-bottom: 16px; }
.field > span {
  display: block;
  color: var(--muted);
  font-size: 13.5px;
  font-weight: 600;
  margin-bottom: 6px;
}
.field input {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--bg2);
  color: var(--text);
  font-family: inherit;
  font-size: 16px;
  outline: none;
  transition: border-color 0.15s;
}
.field input:focus { border-color: var(--pink); }
.field input::placeholder { color: #6d6480; }

.player-info { margin: -8px 0 14px; font-size: 13.5px; font-weight: 600; }
.player-info.ok { color: var(--green); }
.player-info.warn { color: var(--gold); }

.cmd-box {
  border: 1px dashed rgba(255, 217, 122, 0.35);
  background: rgba(255, 217, 122, 0.04);
  border-radius: 12px;
  padding: 14px 16px;
  margin-bottom: 18px;
}
.cmd-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 6px;
  flex-wrap: wrap;
}
.cmd-line code { font-size: 17px; }

.fine { color: var(--muted); font-size: 13px; margin-top: 14px; line-height: 1.55; }
.fine code { font-size: 12.5px; }

.go-trade { margin-top: 18px; animation: fadeUp 0.3s ease; }
.ok-banner {
  background: rgba(74, 222, 128, 0.1);
  border: 1px solid rgba(74, 222, 128, 0.35);
  color: var(--green);
  font-weight: 700;
  border-radius: 12px;
  padding: 14px;
  text-align: center;
  margin-bottom: 12px;
}

.how-verify {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 24px;
}
.info-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
}
.info-num {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 800;
  color: #2a0d1c;
  background: linear-gradient(135deg, var(--pink2), var(--gold));
  margin-bottom: 10px;
}
.info-card h3 { margin: 0 0 6px; font-size: 16px; }
.info-card p { margin: 0; color: var(--muted); font-size: 13.5px; line-height: 1.55; }

/* ---------- toasts ---------- */

.toast-stack {
  position: fixed;
  right: 20px;
  bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 200;
}
.toast {
  background: var(--card2);
  border: 1px solid var(--border);
  border-left: 4px solid var(--green);
  padding: 12px 16px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
  animation: slideIn 0.25s ease;
  max-width: 320px;
  font-size: 14.5px;
  font-weight: 600;
  transition: opacity 0.3s, transform 0.3s;
}
.toast.err { border-left-color: var(--red); }
.toast.info { border-left-color: var(--orange); }

@keyframes slideIn {
  from { opacity: 0; transform: translateX(24px); }
  to { opacity: 1; transform: translateX(0); }
}

/* ---------- confetti ---------- */

.confetti-layer {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 300;
  overflow: hidden;
}
.confetti-piece {
  position: absolute;
  top: -14px;
  width: 9px;
  height: 14px;
  border-radius: 2px;
  animation: confettiFall var(--dur) linear forwards;
}

@keyframes confettiFall {
  to {
    transform: translate(var(--dx), 108vh) rotate(var(--rot));
    opacity: 0.9;
  }
}

/* ---------- responsive ---------- */

@media (max-width: 1020px) {
  .hero { grid-template-columns: 1fr; padding-top: 40px; }
  .hero-visual { max-width: 420px; }
  .featured-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .stats-band { grid-template-columns: repeat(2, 1fr); }
  .portfolio-bar { grid-template-columns: repeat(2, 1fr); }
  .verify-layout { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .header-inner { flex-wrap: wrap; gap: 12px; }
  .main-nav { order: 3; width: 100%; justify-content: center; }
  .teaser-grid { grid-template-columns: 1fr; }
  .two-col { grid-template-columns: 1fr; }
  .how-verify { grid-template-columns: 1fr; }
  .hide-sm { display: none; }
  .featured-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .steps { grid-template-columns: 1fr; }
  .stats-band { grid-template-columns: 1fr 1fr; }
  .portfolio-bar { grid-template-columns: 1fr 1fr; }
  .big-num { font-size: 22px; }
  .hero-actions .btn { flex: 1; }
}
