:root {
  --bg: #07090b;
  --bg-2: #0b0f12;
  --surface: #0f1418;
  --surface-2: #141b20;
  --surface-3: #1a2329;
  --border: rgba(255, 255, 255, 0.07);
  --border-2: rgba(255, 255, 255, 0.12);
  --text: #eef3f1;
  --text-2: #a4b0ac;
  --text-3: #6b7874;
  --accent: #34f08f;
  --accent-2: #1fcf72;
  --accent-soft: rgba(52, 240, 143, 0.1);
  --accent-line: rgba(52, 240, 143, 0.32);
  --enchant: #b88cff;
  --warn: #ffc857;
  --danger: #ff6378;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 1px 0 rgba(255, 255, 255, 0.04) inset, 0 20px 50px -20px rgba(0, 0, 0, 0.6);
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --pixel: "Silkscreen", ui-monospace, "Courier New", monospace;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font: 15px/1.55 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }

button, input, select { font: inherit; color: inherit; }

::selection { background: var(--accent); color: #03140a; }

.backdrop {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(900px 520px at 78% -8%, rgba(52, 240, 143, 0.13), transparent 62%),
    radial-gradient(700px 480px at 0% 100%, rgba(56, 132, 255, 0.07), transparent 60%),
    var(--bg);
}

.backdrop::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 75%);
}

.wrap {
  width: 100%;
  max-width: 1180px;
  margin-inline: auto;
  padding-inline: 24px;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid transparent;
  transition: background 0.3s, border-color 0.3s;
}

.nav.scrolled, .nav.solid {
  background: rgba(7, 9, 11, 0.72);
  backdrop-filter: saturate(160%) blur(16px);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  border-bottom-color: var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 68px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -0.01em;
}

.brand img {
  width: 32px;
  height: 32px;
  filter: drop-shadow(0 0 12px rgba(52, 240, 143, 0.45));
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}

.nav-link {
  padding: 8px 12px;
  border-radius: 8px;
  color: var(--text-2);
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s, background 0.2s;
}

.nav-link:hover { color: var(--text); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 40px;
  padding-inline: 16px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s, box-shadow 0.25s, transform 0.15s;
}

.btn:active { transform: scale(0.98); }

.btn:disabled { opacity: 0.45; cursor: not-allowed; transform: none; }

.btn-primary {
  background: var(--accent);
  color: #03140a;
  box-shadow: 0 0 0 1px rgba(52, 240, 143, 0.4), 0 8px 24px -8px rgba(52, 240, 143, 0.55);
}

.btn-primary:hover:not(:disabled) { background: #5cf7a6; box-shadow: 0 0 0 1px rgba(52, 240, 143, 0.6), 0 10px 32px -8px rgba(52, 240, 143, 0.75); }

.btn-secondary {
  background: var(--surface-2);
  border-color: var(--border-2);
}

.btn-secondary:hover:not(:disabled) { background: var(--surface-3); }

.btn-ghost { background: transparent; color: var(--text-2); }

.btn-ghost:hover:not(:disabled) { color: var(--text); background: rgba(255, 255, 255, 0.05); }

.btn-danger { background: transparent; color: var(--danger); border-color: rgba(255, 99, 120, 0.25); }

.btn-danger:hover:not(:disabled) { background: rgba(255, 99, 120, 0.1); }

.btn-sm { height: 32px; padding-inline: 12px; font-size: 13px; border-radius: 8px; }

.btn-lg { height: 50px; padding-inline: 24px; font-size: 15px; border-radius: 12px; }

.btn-block { width: 100%; }

.kbd-arrow { transition: transform 0.2s var(--ease); }

.btn:hover .kbd-arrow { transform: translateX(3px); }

.pill-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px 5px 6px;
  border: 1px solid var(--border-2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-2);
  font-size: 13px;
  font-weight: 500;
}

.pill-tag b {
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.live-dot {
  position: relative;
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  flex: none;
}

.live-dot::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: inherit;
  animation: ping 2s var(--ease) infinite;
}

@keyframes ping {
  0% { transform: scale(1); opacity: 0.7; }
  80%, 100% { transform: scale(2.6); opacity: 0; }
}

.hero { padding-block: 72px 96px; }

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 56px;
}

.hero h1 {
  margin: 22px 0 20px;
  font-size: clamp(40px, 5.6vw, 66px);
  line-height: 1.02;
  letter-spacing: -0.045em;
  font-weight: 800;
}

.gradient-text {
  background: linear-gradient(100deg, #eafff3 0%, var(--accent) 45%, #7df5ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero p.lead {
  max-width: 500px;
  margin: 0 0 32px;
  color: var(--text-2);
  font-size: 18px;
  line-height: 1.6;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.trust {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}

.trust div { display: flex; flex-direction: column; }

.trust strong { font-size: 22px; font-weight: 700; letter-spacing: -0.02em; }

.trust span { color: var(--text-3); font-size: 13px; }

.demo {
  position: relative;
  padding: 18px;
  border: 1px solid var(--border-2);
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(20, 27, 32, 0.9), rgba(12, 16, 19, 0.92));
  box-shadow: var(--shadow), 0 40px 120px -40px rgba(52, 240, 143, 0.28);
}

.demo::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 20px;
  padding: 1px;
  background: linear-gradient(140deg, rgba(52, 240, 143, 0.55), transparent 35%, transparent 70%, rgba(125, 245, 255, 0.35));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.demo-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 4px 4px 16px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 16px;
}

.demo-head .dots { display: flex; gap: 6px; }

.demo-head .dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--surface-3); }

.demo-head span { margin-left: auto; color: var(--text-3); font-size: 12px; }

.demo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.demo-item {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
  transition: border-color 0.35s, background 0.35s, transform 0.35s var(--ease);
}

.demo-item :is(svg, img) { width: 54%; height: 54%; }

.demo-item.picked {
  border-color: var(--accent-line);
  background: linear-gradient(180deg, rgba(52, 240, 143, 0.12), rgba(52, 240, 143, 0.03));
  transform: translateY(-3px);
}

.demo-item .check {
  position: absolute;
  top: 6px;
  right: 6px;
  display: grid;
  place-items: center;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--accent);
  color: #03140a;
  font-size: 10px;
  font-weight: 800;
  opacity: 0;
  transform: scale(0.4);
  transition: opacity 0.25s, transform 0.35s var(--ease);
}

.demo-item.picked .check { opacity: 1; transform: none; }

.demo-foot {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--bg-2);
}

.demo-bot {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--surface-2);
  flex: none;
}

.demo-bot img { width: 24px; }

.demo-status { flex: 1; min-width: 0; }

.demo-status strong { display: block; font-size: 14px; }

.demo-status small { color: var(--text-3); font-size: 12px; }

.demo-progress {
  height: 4px;
  margin-top: 8px;
  border-radius: 4px;
  background: var(--surface-3);
  overflow: hidden;
}

.demo-progress i {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent-2), var(--accent));
  transition: width 1.4s var(--ease);
}

.float-chip {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid var(--border-2);
  border-radius: 12px;
  background: rgba(15, 20, 24, 0.92);
  backdrop-filter: blur(10px);
  box-shadow: 0 16px 40px -12px rgba(0, 0, 0, 0.6);
  font-size: 13px;
  font-weight: 600;
  animation: bob 6s ease-in-out infinite;
}

.float-chip :is(svg, img) { width: 20px; height: 20px; }

.float-chip.a { top: -18px; right: 24px; }

.float-chip.b { bottom: -18px; left: 28px; animation-delay: -3s; }

@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.section { padding-block: 96px; }

.section-sm { padding-block: 56px; }

.eyebrow {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section-title {
  max-width: 620px;
  margin: 0 0 16px;
  font-size: clamp(30px, 3.6vw, 44px);
  line-height: 1.1;
  letter-spacing: -0.035em;
  font-weight: 750;
}

.section-sub { max-width: 560px; margin: 0; color: var(--text-2); font-size: 17px; }

.section-head { margin-bottom: 52px; }

.section-head.center { text-align: center; }

.section-head.center .section-title, .section-head.center .section-sub { margin-inline: auto; }

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.panel {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(20, 27, 32, 0.7), rgba(15, 20, 24, 0.7));
  box-shadow: var(--shadow);
}

.step { position: relative; padding: 28px; overflow: hidden; }

.step-num {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  margin-bottom: 22px;
  border: 1px solid var(--accent-line);
  border-radius: 10px;
  background: var(--accent-soft);
  color: var(--accent);
  font-family: var(--pixel);
  font-size: 14px;
}

.step h3 { margin: 0 0 8px; font-size: 18px; letter-spacing: -0.01em; }

.step p { margin: 0; color: var(--text-2); }

.step-visual {
  position: absolute;
  right: -10px;
  bottom: -10px;
  width: 96px;
  height: 96px;
  opacity: 0.08;
  transition: opacity 0.4s, transform 0.5s var(--ease);
}

.step:hover .step-visual { opacity: 0.2; transform: rotate(-8deg) scale(1.08); }

.loot-showcase {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}

.loot-tile {
  position: relative;
  padding: 22px 18px 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  overflow: hidden;
  transition: border-color 0.3s, transform 0.4s var(--ease), background 0.3s;
}

.loot-tile:hover { transform: translateY(-4px); border-color: var(--border-2); background: var(--surface-2); }

.loot-tile .art {
  position: relative;
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin-bottom: 16px;
  border-radius: 14px;
  background: radial-gradient(circle at 50% 40%, rgba(255, 255, 255, 0.06), transparent 70%), var(--bg-2);
}

.loot-tile .art :is(svg, img) { width: 40px; height: 40px; image-rendering: pixelated; }

.loot-tile h4 { margin: 0 0 4px; font-size: 14px; font-weight: 600; }

.loot-tile p { margin: 0; color: var(--text-3); font-size: 12px; line-height: 1.45; }

.glint { position: relative; overflow: hidden; }

.glint :is(svg, img) { filter: drop-shadow(0 0 6px rgba(184, 140, 255, 0.55)); }

.glint::after {
  content: "";
  position: absolute;
  inset: -40%;
  background: linear-gradient(115deg, transparent 40%, rgba(196, 150, 255, 0.2) 47%, rgba(255, 255, 255, 0.12) 50%, rgba(196, 150, 255, 0.2) 53%, transparent 60%);
  mix-blend-mode: screen;
  animation: glint 3.6s linear infinite;
  pointer-events: none;
}

@keyframes glint {
  0% { transform: translateX(-60%); }
  100% { transform: translateX(60%); }
}

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--border);
  overflow: hidden;
}

.feature { padding: 30px; background: var(--bg-2); transition: background 0.3s; }

.feature:hover { background: var(--surface); }

.feature .ico {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-bottom: 18px;
  border-radius: 10px;
  background: var(--surface-2);
  border: 1px solid var(--border-2);
  color: var(--accent);
}

.feature .ico :is(svg, img) { width: 20px; height: 20px; }

.feature h3 { margin: 0 0 6px; font-size: 16px; }

.feature p { margin: 0; color: var(--text-2); font-size: 14px; }

.cta {
  position: relative;
  padding: 64px 32px;
  border: 1px solid var(--accent-line);
  border-radius: 24px;
  text-align: center;
  overflow: hidden;
  background:
    radial-gradient(600px 240px at 50% 0%, rgba(52, 240, 143, 0.2), transparent 70%),
    var(--surface);
}

.cta img { width: 64px; margin-bottom: 18px; filter: drop-shadow(0 0 20px rgba(52, 240, 143, 0.5)); }

.cta h2 { margin: 0 0 12px; font-size: clamp(28px, 3.4vw, 40px); letter-spacing: -0.035em; }

.cta p { margin: 0 auto 28px; max-width: 460px; color: var(--text-2); }

.footer {
  padding-block: 32px;
  border-top: 1px solid var(--border);
  color: var(--text-3);
  font-size: 13px;
}

.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }

.reveal.in { opacity: 1; transform: none; }

.auth-page { display: grid; min-height: 100vh; grid-template-rows: auto 1fr; }

.auth-main { display: grid; place-items: center; padding-block: 32px 64px; }

.auth-card { width: 100%; max-width: 400px; padding: 32px; animation: rise 0.6s var(--ease); }

@keyframes rise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}

.auth-card .mark { display: block; width: 52px; margin: 0 auto 18px; filter: drop-shadow(0 0 18px rgba(52, 240, 143, 0.45)); }

.auth-card h1 { margin: 0 0 6px; text-align: center; font-size: 24px; letter-spacing: -0.03em; }

.auth-card .sub { margin: 0 0 24px; text-align: center; color: var(--text-2); font-size: 14px; }

.segment {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-bottom: 22px;
  padding: 4px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--bg-2);
}

.segment button {
  position: relative;
  z-index: 1;
  height: 34px;
  border: 0;
  background: none;
  color: var(--text-2);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: color 0.25s;
}

.segment button.active { color: var(--text); }

.segment .thumb {
  position: absolute;
  top: 4px;
  bottom: 4px;
  left: 4px;
  width: calc(50% - 4px);
  border: 1px solid var(--border-2);
  border-radius: 9px;
  background: var(--surface-3);
  transition: transform 0.35s var(--ease);
}

.segment[data-mode="register"] .thumb { transform: translateX(100%); }

.field { margin-bottom: 14px; }

.field label { display: block; margin-bottom: 6px; color: var(--text-2); font-size: 13px; font-weight: 500; }

.field .hint { display: block; margin-top: 6px; color: var(--text-3); font-size: 12px; }

.input {
  width: 100%;
  height: 44px;
  padding-inline: 14px;
  border: 1px solid var(--border-2);
  border-radius: var(--radius-sm);
  background: var(--bg-2);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}

.input::placeholder { color: var(--text-3); }

.input:hover { border-color: rgba(255, 255, 255, 0.18); }

.input:focus { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(52, 240, 143, 0.12); }

select.input {
  appearance: none;
  padding-right: 36px;
  background-image: linear-gradient(45deg, transparent 50%, var(--text-2) 50%), linear-gradient(135deg, var(--text-2) 50%, transparent 50%);
  background-position: calc(100% - 18px) 19px, calc(100% - 13px) 19px;
  background-size: 5px 5px;
  background-repeat: no-repeat;
}

select.input option { background: var(--surface); }

.input-icon { position: relative; }

.input-icon .input { padding-left: 40px; }

.input-icon > span { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); color: var(--text-3); display: flex; }

.input-icon > span :is(svg, img) { width: 16px; height: 16px; }

.form-error { min-height: 20px; margin: 2px 0 12px; color: var(--danger); font-size: 13px; }

.is-hidden { display: none !important; }

.auth-foot { margin-top: 18px; text-align: center; color: var(--text-3); font-size: 12px; }

.app-nav .nav-inner { gap: 16px; }

.tabs { display: flex; gap: 2px; margin-left: 12px; }

.tab {
  position: relative;
  height: 36px;
  padding-inline: 14px;
  border: 0;
  border-radius: 9px;
  background: none;
  color: var(--text-2);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: color 0.2s, background 0.2s;
}

.tab:hover { color: var(--text); }

.tab.active { color: var(--text); background: rgba(255, 255, 255, 0.06); }

.tab .count {
  display: inline-grid;
  place-items: center;
  min-width: 18px;
  height: 18px;
  margin-left: 6px;
  padding-inline: 5px;
  border-radius: 9px;
  background: var(--accent);
  color: #03140a;
  font-size: 11px;
  font-weight: 700;
}

.account { display: flex; align-items: center; gap: 10px; margin-left: auto; }

.avatar-sm {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), #2aa7ff);
  color: #03140a;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.account-name { font-size: 14px; font-weight: 500; }

.app { padding-block: 32px 80px; }

.page-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
}

.page-head h1 { margin: 0 0 4px; font-size: 28px; letter-spacing: -0.035em; }

.page-head p { margin: 0; color: var(--text-2); }

.view { animation: rise 0.45s var(--ease); }

.deliver-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  align-items: start;
  gap: 24px;
}

.cat-bar { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }

.chip {
  height: 32px;
  padding-inline: 14px;
  border: 1px solid var(--border-2);
  border-radius: 999px;
  background: transparent;
  color: var(--text-2);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}

.chip:hover { color: var(--text); border-color: rgba(255, 255, 255, 0.2); }

.chip.active { background: var(--text); border-color: var(--text); color: var(--bg); }

.loot-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 12px;
}

.loot {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--surface);
  text-align: left;
  cursor: pointer;
  transition: border-color 0.25s, background 0.25s, transform 0.35s var(--ease), box-shadow 0.3s;
}

.loot.enter { animation: rise 0.5s var(--ease) both; }

.loot:hover { border-color: var(--border-2); background: var(--surface-2); transform: translateY(-2px); }

.loot.selected {
  border-color: var(--accent-line);
  background: linear-gradient(180deg, rgba(52, 240, 143, 0.08), rgba(52, 240, 143, 0.02)), var(--surface);
  box-shadow: 0 0 0 1px var(--accent-line), 0 12px 30px -14px rgba(52, 240, 143, 0.4);
}

.loot-top { display: flex; align-items: flex-start; gap: 12px; }

.loot .art {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  flex: none;
  border-radius: 12px;
  background: var(--bg-2);
}

.loot .art :is(svg, img) { width: 30px; height: 30px; }

.loot h4 { margin: 2px 0 4px; font-size: 14px; font-weight: 600; line-height: 1.3; }

.loot .enchants { display: flex; flex-wrap: wrap; gap: 4px; }

.ench {
  padding: 1px 6px;
  border-radius: 5px;
  background: rgba(184, 140, 255, 0.1);
  color: #cdb2ff;
  font-size: 11px;
  font-weight: 500;
}

.stack { color: var(--text-3); font-size: 12px; }

.tick {
  position: absolute;
  top: 12px;
  right: 12px;
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border: 1px solid var(--border-2);
  border-radius: 6px;
  transition: all 0.25s var(--ease);
}

.tick :is(svg, img) { width: 12px; height: 12px; opacity: 0; transform: scale(0.5); transition: all 0.25s var(--ease); }

.loot.selected .tick { background: var(--accent); border-color: var(--accent); color: #03140a; }

.loot.selected .tick :is(svg, img) { opacity: 1; transform: none; }

.stepper {
  display: flex;
  align-items: center;
  height: 32px;
  border: 1px solid var(--border-2);
  border-radius: 8px;
  background: var(--bg-2);
  overflow: hidden;
}

.stepper button { width: 32px; height: 100%; border: 0; background: none; color: var(--text-2); font-size: 16px; cursor: pointer; }

.stepper button:hover { color: var(--text); background: rgba(255, 255, 255, 0.05); }

.stepper output { flex: 1; text-align: center; font-size: 13px; font-weight: 600; font-variant-numeric: tabular-nums; }

.summary { position: sticky; top: 92px; padding: 22px; }

.summary h3 { margin: 0 0 18px; font-size: 16px; }

.summary-list { display: flex; flex-direction: column; gap: 8px; margin: 0 0 18px; padding: 0; list-style: none; max-height: 240px; overflow-y: auto; }

.summary-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 10px;
  background: var(--bg-2);
  font-size: 13px;
  animation: fade 0.3s ease;
}

.summary-list li :is(svg, img) { width: 20px; height: 20px; flex: none; }

.summary-list li span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.summary-list li b { color: var(--text-2); font-variant-numeric: tabular-nums; }

.summary-empty {
  margin: 0 0 18px;
  padding: 18px;
  border: 1px dashed var(--border-2);
  border-radius: 12px;
  color: var(--text-3);
  font-size: 13px;
  text-align: center;
}

.divider { height: 1px; margin: 18px 0; background: var(--border); }

.drop-btn { position: relative; overflow: hidden; }

.drop-btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.45) 50%, transparent 70%);
  transform: translateX(-100%);
}

.drop-btn:not(:disabled):hover::after { animation: sheen 0.9s var(--ease); }

@keyframes sheen { to { transform: translateX(100%); } }

.notice {
  display: flex;
  gap: 10px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 200, 87, 0.22);
  border-radius: 12px;
  background: rgba(255, 200, 87, 0.06);
  color: #ffdf9e;
  font-size: 13px;
}

.notice a { color: var(--text); text-decoration: underline; text-underline-offset: 2px; cursor: pointer; }

.section-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 36px 0 14px;
}

.section-label h2 { margin: 0; font-size: 16px; letter-spacing: -0.01em; }

.drops { display: flex; flex-direction: column; gap: 10px; }

.drop {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 16px;
  padding: 14px 16px;
  animation: rise 0.4s var(--ease) both;
}

.drop-icons { display: flex; }

.drop-icons span {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  margin-left: -8px;
  border: 2px solid var(--surface);
  border-radius: 10px;
  background: var(--bg-2);
}

.drop-icons span:first-child { margin-left: 0; }

.drop-icons :is(svg, img) { width: 22px; height: 22px; }

.drop-info { min-width: 0; }

.drop-info strong { display: block; font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.drop-info small { color: var(--text-3); font-size: 12px; }

.track { display: flex; align-items: center; gap: 6px; margin-top: 8px; }

.track i { flex: 1; max-width: 70px; height: 4px; border-radius: 4px; background: var(--surface-3); }

.track i.done { background: var(--accent); }

.track i.now { background: linear-gradient(90deg, var(--accent) 0 50%, var(--surface-3) 50%); background-size: 200% 100%; animation: flow 1.2s linear infinite; }

@keyframes flow { from { background-position: 100% 0; } to { background-position: 0 0; } }

.status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 24px;
  padding-inline: 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}

.status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }

.s-online, .s-delivered { background: var(--accent-soft); color: var(--accent); }

.s-delivering, .s-teleporting, .s-claimed { background: rgba(125, 245, 255, 0.1); color: #7df5ff; }

.s-queued, .s-connecting { background: rgba(255, 200, 87, 0.1); color: var(--warn); }

.s-failed { background: rgba(255, 99, 120, 0.1); color: var(--danger); }

.s-paused, .s-offline, .s-cancelled { background: rgba(255, 255, 255, 0.05); color: var(--text-3); }

.s-delivering::before, .s-teleporting::before, .s-connecting::before, .s-claimed::before { animation: blink 1.2s ease-in-out infinite; }

@keyframes blink { 50% { opacity: 0.25; } }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 24px; }

.stat { padding: 18px 20px; }

.stat span { color: var(--text-3); font-size: 13px; }

.stat strong { display: block; margin-top: 4px; font-size: 26px; font-weight: 700; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }

.stat.accent strong { color: var(--accent); }

.bots { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 14px; }

.bot { display: flex; flex-direction: column; gap: 18px; padding: 20px; animation: rise 0.45s var(--ease) both; transition: border-color 0.3s; }

.bot:hover { border-color: var(--border-2); }

.bot-head { display: flex; align-items: center; gap: 12px; }

.bot-face {
  position: relative;
  width: 44px;
  height: 44px;
  flex: none;
  border-radius: 10px;
  overflow: hidden;
  image-rendering: pixelated;
}

.bot-face :is(svg, img) { width: 100%; height: 100%; display: block; }

.bot-title { min-width: 0; flex: 1; }

.bot-title strong { display: block; font-size: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.bot-title small { color: var(--text-3); font-size: 12px; }

.bot-rows { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }

.bot-rows div { padding: 10px 12px; border-radius: 10px; background: var(--bg-2); }

.bot-rows span { display: block; color: var(--text-3); font-size: 11px; text-transform: uppercase; letter-spacing: 0.05em; }

.bot-rows b { font-size: 13px; font-weight: 600; font-variant-numeric: tabular-nums; }

.bot-actions { display: flex; gap: 8px; }

.bot-actions .grow { flex: 1; }

.switch { position: relative; width: 38px; height: 22px; flex: none; }

.switch input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; z-index: 1; }

.switch i { position: absolute; inset: 0; border-radius: 22px; background: var(--surface-3); border: 1px solid var(--border-2); transition: background 0.25s; }

.switch i::after { content: ""; position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%; background: var(--text-2); transition: transform 0.3s var(--ease), background 0.25s; }

.switch input:checked + i { background: var(--accent); border-color: var(--accent); }

.switch input:checked + i::after { transform: translateX(16px); background: #03140a; }

.switch input:focus-visible + i { box-shadow: 0 0 0 3px rgba(52, 240, 143, 0.3); }

.empty { padding: 56px 24px; text-align: center; }

.empty img { width: 56px; margin-bottom: 16px; opacity: 0.9; filter: drop-shadow(0 0 16px rgba(52, 240, 143, 0.4)); }

.empty h3 { margin: 0 0 6px; font-size: 17px; }

.empty p { margin: 0 auto 20px; max-width: 360px; color: var(--text-2); font-size: 14px; }

.table-wrap { overflow-x: auto; }

table { width: 100%; border-collapse: collapse; font-size: 14px; }

th { padding: 12px 16px; color: var(--text-3); font-size: 12px; font-weight: 500; text-align: left; text-transform: uppercase; letter-spacing: 0.05em; border-bottom: 1px solid var(--border); }

td { padding: 14px 16px; border-bottom: 1px solid var(--border); white-space: nowrap; }

tr:last-child td { border-bottom: 0; }

td .drop-icons span { width: 30px; height: 30px; }

td .drop-icons :is(svg, img) { width: 18px; height: 18px; }

.modal-back {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  padding-inline: 16px;
  background: rgba(3, 5, 6, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  animation: fade 0.25s ease;
}

@keyframes fade { from { opacity: 0; } }

.modal { width: 100%; max-width: 420px; padding: 26px; background: var(--surface); animation: pop 0.4s var(--ease); }

@keyframes pop { from { opacity: 0; transform: translateY(12px) scale(0.97); } }

.modal h2 { margin: 0 0 4px; font-size: 20px; letter-spacing: -0.02em; }

.modal .sub { margin: 0 0 20px; color: var(--text-2); font-size: 14px; }

.mode-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }

.mode-opt { position: relative; }

.mode-opt input { position: absolute; opacity: 0; }

.mode-opt span {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 44px;
  padding-inline: 12px;
  border: 1px solid var(--border-2);
  border-radius: 10px;
  background: var(--bg-2);
  color: var(--text-2);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}

.mode-opt span :is(svg, img) { width: 18px; height: 18px; }

.mode-opt input:checked + span { border-color: var(--accent); color: var(--text); background: var(--accent-soft); }

.mode-opt input:focus-visible + span { box-shadow: 0 0 0 3px rgba(52, 240, 143, 0.25); }

.modal-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 6px; }

.toast-stack { position: fixed; right: 20px; bottom: 20px; z-index: 80; display: flex; flex-direction: column; gap: 8px; max-width: calc(100vw - 40px); }

.toast {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border: 1px solid var(--border-2);
  border-radius: 12px;
  background: var(--surface-2);
  box-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.6);
  font-size: 14px;
  animation: slide 0.4s var(--ease);
}

.toast.out { animation: slide-out 0.3s ease forwards; }

.toast i { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); flex: none; }

.toast.err i { background: var(--danger); }

@keyframes slide { from { opacity: 0; transform: translateY(12px); } }

@keyframes slide-out { to { opacity: 0; transform: translateY(8px); } }

.center-page { display: grid; place-items: center; min-height: 100vh; padding-inline: 24px; text-align: center; }

.center-page h1 { margin: 0 0 8px; font-family: var(--pixel); font-size: 72px; color: var(--accent); text-shadow: 0 0 40px rgba(52, 240, 143, 0.4); }

.center-page p { margin: 0 0 24px; color: var(--text-2); }

@media (max-width: 1000px) {
  .hero-grid { grid-template-columns: 1fr; gap: 64px; }
  .demo { max-width: 520px; margin-inline: auto; width: 100%; }
  .loot-showcase { grid-template-columns: repeat(3, 1fr); }
  .deliver-grid { grid-template-columns: 1fr; }
  .summary { position: static; }
  .features { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .wrap { padding-inline: 16px; }
  .hero { padding-block: 40px 64px; }
  .section { padding-block: 64px; }
  .steps, .features { grid-template-columns: 1fr; }
  .loot-showcase { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .nav-link.hide-sm, .account-name { display: none; }
  .float-chip.b { left: 12px; }
  .app-nav .nav-inner { height: auto; min-height: 60px; flex-wrap: wrap; padding-block: 10px; gap: 10px; }
  .tabs { order: 3; width: 100%; margin-left: 0; overflow-x: auto; }
  .drop { grid-template-columns: 1fr auto; }
  .drop-icons { display: none; }
  .loot-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .reveal { opacity: 1; transform: none; }
}

.mc { display: block; width: 100%; height: 100%; image-rendering: pixelated; image-rendering: crisp-edges; user-select: none; }
