:root {
  --bg: #0b0d12;
  --bg-elev: #12151d;
  --bg-card: #161a24;
  --line: rgba(255,255,255,0.08);
  --text: #f4f5f7;
  --muted: #9aa3b5;
  --accent: #7c5cff;
  --accent-2: #22d3a6;
  --warn: #f5c542;
  --danger: #ff6b6b;
  --radius: 16px;
  --shadow: 0 20px 50px rgba(0,0,0,0.45);
  --font: "Inter", system-ui, sans-serif;
  --display: "Space Grotesk", var(--font);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(124,92,255,0.25), transparent 55%),
    radial-gradient(900px 500px at 100% 0%, rgba(34,211,166,0.12), transparent 50%),
    var(--bg);
  color: var(--text);
  line-height: 1.5;
  min-height: 100vh;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }

.demo-banner {
  background: linear-gradient(90deg, #3a2a00, #5a3d00);
  color: #ffe9a8;
  text-align: center;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.55rem 1rem;
  border-bottom: 1px solid rgba(245,197,66,0.35);
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.25rem;
  max-width: 1100px;
  margin: 0 auto;
}
.logo { display: flex; align-items: center; gap: 0.65rem; font-weight: 800; }
.logo-mark {
  position: relative;
  display: grid; place-items: end center;
  width: 2.1rem; height: 2.35rem;
  flex-shrink: 0;
}
.logo-mark .pin-stem {
  width: 0.55rem;
  height: 1.55rem;
  border-radius: 999px 999px 4px 4px;
  background: linear-gradient(180deg, #a78bfa, var(--accent) 55%, #4f46e5);
  box-shadow: 0 4px 12px rgba(124,92,255,0.45);
}
.logo-mark .pin-dot {
  position: absolute;
  top: 0.05rem;
  width: 0.95rem; height: 0.95rem;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff 0 18%, #f472b6 19% 100%);
  border: 2px solid #fff;
  box-shadow: 0 2px 8px rgba(244,114,182,0.55);
}
.logo-text {
  font-family: var(--display);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.logo-accent { color: var(--accent-2); }
.nav { display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap; justify-content: flex-end; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 0.4rem;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--text);
  border-radius: 999px;
  padding: 0.55rem 1rem;
  font-weight: 700;
  font-size: 0.92rem;
  cursor: pointer;
  transition: transform .15s ease, background .15s ease, border-color .15s ease;
}
.btn:hover { transform: translateY(-1px); border-color: rgba(255,255,255,0.2); }
.btn-primary {
  background: linear-gradient(135deg, var(--accent), #5b4bff);
  border-color: transparent;
  box-shadow: 0 8px 24px rgba(124,92,255,0.35);
}
.btn-primary:hover { filter: brightness(1.08); }
.btn-ghost { background: rgba(255,255,255,0.04); }
.btn-lg { padding: 0.85rem 1.35rem; font-size: 1rem; }
.btn-sm { padding: 0.4rem 0.8rem; font-size: 0.8rem; }
.btn-block { width: 100%; }
.lang-toggle {
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.04);
  color: var(--muted);
  border-radius: 999px;
  padding: 0.4rem 0.75rem;
  font-weight: 700;
  cursor: pointer;
}

main { max-width: 1100px; margin: 0 auto; padding: 0 1.25rem 4rem; }

.hero { padding: 2.5rem 0 1.5rem; }
.eyebrow {
  display: inline-block;
  color: var(--accent-2);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin: 0 0 0.75rem;
}
.hero h1, .boost-card h1 {
  font-family: var(--display);
  font-size: clamp(2.1rem, 5vw, 3.4rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin: 0 0 1rem;
  max-width: 16ch;
}
.lede { color: var(--muted); font-size: 1.1rem; max-width: 42rem; margin: 0 0 1.5rem; }
.lede.tight { margin-bottom: 1.25rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-bottom: 2rem; }

.stats {
  list-style: none; padding: 0; margin: 0;
  display: grid; grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 0.75rem;
}
.stats li {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem;
  display: flex; flex-direction: column; gap: 0.2rem;
}
.stats strong { font-family: var(--display); font-size: 1.4rem; }
.stats span { color: var(--muted); font-size: 0.85rem; }

.board-section, .how { margin-top: 3rem; }
.section-head h2, .how h2 {
  font-family: var(--display);
  font-size: 1.75rem;
  margin: 0 0 0.35rem;
}
.section-head p { color: var(--muted); margin: 0 0 1rem; }
.board-controls { margin-bottom: 1rem; }

.board {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 0.75rem;
  counter-reset: rank;
}
.board-item {
  counter-increment: rank;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1rem;
  align-items: center;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem 1.1rem;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}
.board-item::before {
  content: "#" counter(rank);
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--muted);
  min-width: 2.5rem;
}
.board-item.top-1 {
  border-color: rgba(245,197,66,0.45);
  background: linear-gradient(135deg, rgba(245,197,66,0.12), var(--bg-card) 55%);
}
.board-item.top-2 { border-color: rgba(255,255,255,0.18); }
.board-item.top-3 { border-color: rgba(124,92,255,0.35); }

.item-main { min-width: 0; }
.item-main h3 {
  margin: 0 0 0.25rem;
  font-size: 1.1rem;
  display: flex; flex-wrap: wrap; align-items: center; gap: 0.4rem;
}
.item-main p { margin: 0; color: var(--muted); font-size: 0.95rem; }
.item-main a.url {
  display: inline-block;
  margin-top: 0.35rem;
  color: var(--accent-2);
  font-size: 0.85rem;
  word-break: break-all;
}
.item-bid {
  text-align: right;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.15rem;
  white-space: nowrap;
}
.item-bid small { display: block; color: var(--muted); font-family: var(--font); font-weight: 600; font-size: 0.72rem; }

.badge {
  display: inline-flex; align-items: center;
  border-radius: 999px;
  padding: 0.15rem 0.55rem;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.badge-sponsored { background: rgba(124,92,255,0.2); color: #c4b5fd; }
.badge-boosted { background: rgba(34,211,166,0.18); color: #6ee7c5; }
.badge-listed { background: rgba(255,255,255,0.08); color: var(--muted); }

.empty { color: var(--muted); text-align: center; padding: 2rem; border: 1px dashed var(--line); border-radius: var(--radius); }

.steps {
  list-style: none; padding: 0; margin: 1rem 0 0;
  display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 0.75rem;
}
.steps li {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem;
  display: flex; gap: 0.75rem;
}
.steps li > span {
  width: 1.75rem; height: 1.75rem; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--accent);
  font-weight: 800; font-size: 0.85rem; flex-shrink: 0;
}
.steps strong { display: block; margin-bottom: 0.2rem; }
.steps p { margin: 0; color: var(--muted); font-size: 0.9rem; }

.site-footer {
  max-width: 1100px; margin: 0 auto; padding: 2rem 1.25rem 3rem;
  border-top: 1px solid var(--line);
  color: var(--muted); font-size: 0.9rem;
}
.site-footer p { margin: 0.25rem 0; }
.muted { color: var(--muted); }
.small { font-size: 0.85rem; }

/* Boost flow */
.boost-main { padding-top: 1.5rem; padding-bottom: 3rem; display: flex; justify-content: center; }
.boost-card {
  width: min(560px, 100%);
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 1.5rem;
  box-shadow: var(--shadow);
}
.boost-steps { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-bottom: 1.25rem; }
.pill {
  font-size: 0.75rem; font-weight: 700;
  padding: 0.35rem 0.65rem; border-radius: 999px;
  background: rgba(255,255,255,0.05); color: var(--muted);
  border: 1px solid var(--line);
}
.pill.active { background: rgba(124,92,255,0.2); color: #ddd6fe; border-color: rgba(124,92,255,0.4); }

form { display: flex; flex-direction: column; gap: 0.9rem; }
label { display: flex; flex-direction: column; gap: 0.35rem; font-weight: 600; font-size: 0.9rem; }
input[type="text"], input[type="url"], input[type="number"], textarea {
  width: 100%;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--text);
  padding: 0.75rem 0.85rem;
  font: inherit;
}
input:focus, textarea:focus { outline: 2px solid rgba(124,92,255,0.5); border-color: transparent; }
.tiers {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.75rem;
  display: grid; gap: 0.5rem;
}
.tiers legend { padding: 0 0.35rem; font-weight: 700; }
.tier {
  display: flex; align-items: center; gap: 0.55rem;
  padding: 0.65rem 0.75rem;
  border-radius: 12px;
  background: rgba(255,255,255,0.03);
  cursor: pointer;
  flex-direction: row;
  font-weight: 600;
}
.tier.custom { flex-wrap: wrap; }
.tier.custom input[type="number"] { flex: 1; min-width: 120px; }
.tier input[type="radio"] { accent-color: var(--accent); }

.receipt {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1rem;
  margin-bottom: 1rem;
}
.receipt dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 0.35rem 1rem; }
.receipt dt { color: var(--muted); }
.receipt dd { margin: 0; font-weight: 700; text-align: right; }

.fake-pay { margin-bottom: 1.25rem; }
.fake-card {
  background: linear-gradient(135deg, #2a2150, #1a2744 60%, #12353a);
  border-radius: 16px;
  padding: 1.25rem;
  min-height: 140px;
  display: flex; flex-direction: column; justify-content: space-between;
  border: 1px solid rgba(255,255,255,0.1);
}
.fake-card .chip {
  width: 36px; height: 28px; border-radius: 6px;
  background: linear-gradient(135deg, #f5d76e, #c9a227);
}
.fake-card .pan { font-family: var(--display); letter-spacing: 0.12em; font-size: 1.15rem; }
.fake-card .meta { display: flex; justify-content: space-between; color: var(--muted); font-size: 0.8rem; font-weight: 700; }

.row-actions { display: flex; flex-wrap: wrap; gap: 0.65rem; align-items: center; }
.success-mark {
  width: 3.5rem; height: 3.5rem; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(34,211,166,0.2);
  color: var(--accent-2);
  font-size: 1.75rem; font-weight: 800;
  margin-bottom: 1rem;
}

@media (max-width: 720px) {
  .steps { grid-template-columns: 1fr; }
  .board-item { grid-template-columns: auto 1fr; }
  .item-bid { grid-column: 2; text-align: left; }
  .stats { grid-template-columns: 1fr; }
  .logo-text { font-size: 1rem; }
  .hero h1 { max-width: none; }
}
