:root {
  --bg: #05070d;
  --panel: rgba(10, 16, 28, 0.72);
  --border: rgba(0, 255, 170, 0.18);
  --text: #e6f1ff;
  --muted: #8a9bb4;
  --green: #00ffaa;
  --cyan: #00d4ff;
  --magenta: #ff2bd6;
  --amber: #ffb020;
  --lime: #ccff00;
  --radius: 14px;
  --font-display: "Orbitron", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
  --font-body: "Inter", system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

[hidden] { display: none !important; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

/* ---------- Background layers ---------- */
#mining-bg {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -3;
  display: block;
}

.bg-vignette {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(ellipse 70% 55% at 50% 38%, rgba(5, 7, 13, 0.82) 0%, rgba(5, 7, 13, 0.45) 55%, transparent 100%),
    linear-gradient(to bottom, rgba(5, 7, 13, 0.2), rgba(5, 7, 13, 0.6));
}

.scanlines {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: repeating-linear-gradient(to bottom, rgba(255, 255, 255, 0.025) 0 1px, transparent 1px 3px);
  mix-blend-mode: overlay;
}

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px clamp(16px, 5vw, 64px);
  backdrop-filter: blur(10px);
  background: linear-gradient(to bottom, rgba(5, 7, 13, 0.85), rgba(5, 7, 13, 0.4));
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}
.logo img {
  height: 40px;
  width: auto;
  display: block;
  filter: drop-shadow(0 0 10px rgba(0, 255, 170, 0.35));
  transition: filter 0.25s;
}
.logo:hover img { filter: drop-shadow(0 0 18px rgba(0, 255, 170, 0.7)); }

@keyframes chipPulse {
  50% { box-shadow: 0 0 22px var(--green), inset 0 0 10px var(--green); }
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2.5vw, 32px);
}
.nav-links a:not(.btn) {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.92rem;
  transition: color 0.2s;
}
.nav-links a:not(.btn):hover { color: var(--green); }

.nav-x {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}
.nav-x svg { width: 16px; height: 16px; fill: var(--text); }
.nav-x:hover { border-color: var(--green); background: rgba(0, 255, 170, 0.08); box-shadow: 0 0 16px rgba(0, 255, 170, 0.3); }

.nav-video {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text) !important;
  font-weight: 600;
}
.play-icon {
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green), var(--cyan));
  box-shadow: 0 0 14px rgba(0, 255, 170, 0.5);
  animation: playPulse 2s ease-in-out infinite;
}
.play-icon svg { width: 12px; height: 12px; fill: #02110b; margin-left: 2px; }
.nav-video:hover .play-icon { box-shadow: 0 0 22px rgba(0, 255, 170, 0.85); }
@keyframes playPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(0, 255, 170, 0.45), 0 0 14px rgba(0, 255, 170, 0.5); }
  60% { box-shadow: 0 0 0 8px rgba(0, 255, 170, 0), 0 0 14px rgba(0, 255, 170, 0.5); }
}

.nav-play {
  color: var(--green) !important;
  font-weight: 600;
}

.play-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  color: var(--text);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px dashed rgba(0, 255, 170, 0.4);
  padding-bottom: 2px;
  transition: color 0.2s;
}
.play-link:hover { color: var(--green); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid var(--green);
  border-radius: 10px;
  color: var(--green);
  background: transparent;
  padding: 14px 26px;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s, box-shadow 0.2s, background 0.2s, color 0.2s;
}
.btn:hover { box-shadow: 0 0 24px rgba(0, 255, 170, 0.45); }
.btn:active { transform: translateY(1px); }
.btn-small { padding: 9px 16px; font-size: 0.72rem; }

.btn-primary {
  background: linear-gradient(135deg, var(--green), var(--cyan));
  color: #02110b;
  border: none;
  white-space: nowrap;
}
.btn-primary:hover { box-shadow: 0 0 32px rgba(0, 255, 170, 0.6); }
.btn-primary:disabled { opacity: 0.7; cursor: wait; }

.btn-ghost { font-size: 0.7rem; }

.btn-spinner {
  display: none;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(2, 17, 11, 0.3);
  border-top-color: #02110b;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
.btn.loading .btn-spinner { display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Hero ---------- */
.hero {
  min-height: calc(100vh - 70px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px clamp(16px, 5vw, 64px) 80px;
  max-width: 980px;
  margin: 0 auto;
}

.hero-mark {
  margin-bottom: 22px;
  animation: float 5s ease-in-out infinite;
}
.hero-mark img {
  display: block;
  width: clamp(84px, 12vw, 112px);
  height: auto;
  animation: markGlow 2.6s ease-in-out infinite;
}
@keyframes float {
  50% { transform: translateY(-8px); }
}
@keyframes markGlow {
  0%, 100% { filter: drop-shadow(0 0 14px rgba(0, 255, 170, 0.45)); }
  50% { filter: drop-shadow(0 0 30px rgba(0, 212, 255, 0.8)); }
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--green);
  padding: 7px 16px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(0, 255, 170, 0.06);
  margin-bottom: 28px;
}
.status-pill .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 10px var(--green);
  animation: blink 1.2s infinite;
}
@keyframes blink { 50% { opacity: 0.25; } }

.title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2.6rem, 9vw, 6.2rem);
  line-height: 0.98;
  letter-spacing: 0.02em;
  margin-bottom: 26px;
}
.title > span { display: block; }

.title-accent {
  background: linear-gradient(90deg, var(--green), var(--cyan), var(--magenta), var(--green));
  background-size: 300% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: gradientShift 6s linear infinite;
  filter: drop-shadow(0 0 24px rgba(0, 255, 170, 0.35));
}
@keyframes gradientShift { to { background-position: 300% 0; } }

/* glitch */
.glitch { position: relative; }
.glitch::before,
.glitch::after {
  content: attr(data-text);
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.glitch::before {
  color: var(--magenta);
  transform: translate(-2px, 0);
  clip-path: inset(0 0 60% 0);
  animation: glitchTop 3.2s infinite steps(1);
  opacity: 0.8;
}
.glitch::after {
  color: var(--cyan);
  transform: translate(2px, 0);
  clip-path: inset(55% 0 0 0);
  animation: glitchBot 2.7s infinite steps(1);
  opacity: 0.8;
}
@keyframes glitchTop {
  0%, 88%, 100% { transform: translate(0, 0); opacity: 0; }
  90% { transform: translate(-4px, -1px); opacity: 0.85; }
  94% { transform: translate(3px, 1px); opacity: 0.85; }
}
@keyframes glitchBot {
  0%, 84%, 100% { transform: translate(0, 0); opacity: 0; }
  86% { transform: translate(4px, 1px); opacity: 0.85; }
  91% { transform: translate(-3px, 0); opacity: 0.85; }
}

.subtitle {
  max-width: 640px;
  color: #b9c7dc;
  font-size: clamp(1rem, 1.6vw, 1.12rem);
  margin-bottom: 36px;
}
.subtitle strong { color: var(--green); }

/* ---------- CTA ---------- */
.btn-cta {
  font-size: 1.05rem;
  padding: 20px 44px;
  border-radius: 14px;
  box-shadow: 0 0 40px rgba(0, 255, 170, 0.35);
  animation: ctaPulse 2.4s ease-in-out infinite;
}
.btn-cta svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.2s;
}
.btn-cta:hover svg { transform: translateX(4px); }
@keyframes ctaPulse {
  50% { box-shadow: 0 0 60px rgba(0, 212, 255, 0.55); }
}

.input-wrap {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  padding-left: 14px;
}
.prompt {
  font-family: var(--font-mono);
  color: var(--green);
  font-weight: 600;
  animation: blink 1s infinite steps(1);
}
.input-wrap input {
  flex: 1;
  min-width: 0;
  background: transparent;
  border: none;
  outline: none;
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 1rem;
  padding: 12px 4px;
}
.input-wrap input::placeholder { color: #4f6079; }

@keyframes shake {
  25% { transform: translateX(-6px); }
  75% { transform: translateX(6px); }
}

/* ---------- Missions modal ---------- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  place-items: center;
  padding: 16px;
}
.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 4, 8, 0.72);
  backdrop-filter: blur(6px);
  animation: fadeIn 0.25s;
}
.modal-panel {
  position: relative;
  width: 100%;
  max-width: 480px;
  max-height: calc(100vh - 32px);
  overflow-y: auto;
  padding: 32px 26px 26px;
  border-radius: 18px;
  background: linear-gradient(160deg, rgba(14, 22, 38, 0.97), rgba(7, 11, 20, 0.97));
  border: 1px solid var(--border);
  box-shadow: 0 0 80px rgba(0, 255, 170, 0.15), 0 30px 60px rgba(0, 0, 0, 0.6);
  text-align: center;
  animation: modalIn 0.4s cubic-bezier(0.2, 1.3, 0.4, 1);
}
@keyframes fadeIn { from { opacity: 0; } }
@keyframes modalIn { from { opacity: 0; transform: translateY(20px) scale(0.96); } }

.modal-close {
  position: absolute;
  top: 12px;
  right: 14px;
  width: 34px;
  height: 34px;
  border: none;
  border-radius: 8px;
  background: transparent;
  color: var(--muted);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
}
.modal-close:hover { color: var(--text); background: rgba(255, 255, 255, 0.06); }

.modal-mark {
  width: 56px;
  height: 56px;
  margin: 0 auto 10px;
  display: block;
  filter: drop-shadow(0 0 14px rgba(0, 255, 170, 0.5));
}
.modal-panel h2 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: 0.04em;
}
.modal-sub { color: var(--muted); font-size: 0.92rem; margin: 6px 0 20px; }

.progress {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}
.progress-track {
  flex: 1;
  height: 8px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.06);
  overflow: hidden;
}
.progress-bar {
  height: 100%;
  width: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--green), var(--cyan));
  box-shadow: 0 0 12px var(--green);
  transition: width 0.5s cubic-bezier(0.2, 1, 0.3, 1);
}
.progress-count {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--green);
  min-width: 2.6em;
  text-align: right;
}

.tasks {
  list-style: none;
  display: grid;
  gap: 10px;
  text-align: left;
}
.task {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 12px 12px 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  transition: border-color 0.25s, background 0.25s, opacity 0.25s;
}
.task.locked { opacity: 0.45; }
.task.done {
  border-color: var(--border);
  background: rgba(0, 255, 170, 0.06);
}
.task-num {
  flex: none;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--green);
  border: 1px solid var(--border);
  background: rgba(0, 255, 170, 0.06);
}
.task.done .task-num { background: var(--green); color: #02110b; }
.task-text { flex: 1; min-width: 0; }
.task-title { display: block; font-weight: 600; font-size: 0.95rem; }
.task-desc { display: block; color: var(--muted); font-size: 0.8rem; }

.task-btn {
  flex: none;
  min-width: 92px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 9px 14px;
  border-radius: 9px;
  border: 1px solid var(--green);
  background: transparent;
  color: var(--green);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}
.task-btn:hover:not(:disabled) { background: var(--green); color: #02110b; box-shadow: 0 0 18px rgba(0, 255, 170, 0.5); }
.task-btn:disabled { cursor: default; }
.task.locked .task-btn { border-color: rgba(255, 255, 255, 0.2); color: var(--muted); }
.task.verifying .task-btn { border-color: var(--amber); color: var(--amber); }
.task.done .task-btn { border-color: transparent; background: rgba(0, 255, 170, 0.12); }
.task-btn .mini-spinner {
  width: 11px;
  height: 11px;
  border: 2px solid rgba(255, 176, 32, 0.3);
  border-top-color: var(--amber);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

.address-step {
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px dashed var(--border);
  text-align: left;
  animation: modalIn 0.45s cubic-bezier(0.2, 1.3, 0.4, 1);
}
.address-step label {
  display: block;
  font-family: var(--font-display);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 10px;
}
.address-input {
  padding: 4px 6px 4px 14px;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--border);
}
.address-input:focus-within { border-color: var(--green); box-shadow: 0 0 18px rgba(0, 255, 170, 0.15); }
.address-input.invalid { border-color: var(--magenta); animation: shake 0.35s; }
.address-input input { font-size: 0.9rem; }
.paste-btn {
  flex: none;
  padding: 8px 12px;
  border-radius: 8px;
  border: none;
  background: rgba(0, 255, 170, 0.12);
  color: var(--green);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
}
.paste-btn:hover { background: rgba(0, 255, 170, 0.22); }
.address-step .form-msg { margin-top: 8px; }
.address-hint { margin-top: 8px; font-size: 0.78rem; color: var(--muted); }
.add-chain-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  margin-top: 10px;
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px dashed rgba(204, 255, 0, 0.4);
  background: rgba(204, 255, 0, 0.05);
  color: var(--lime);
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}
.add-chain-btn:hover { background: rgba(204, 255, 0, 0.12); }
.address-step .btn-primary { width: 100%; margin-top: 4px; }

.form-msg {
  min-height: 1.5em;
  margin-top: 12px;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--muted);
}
.form-msg.error { color: var(--magenta); }
.form-msg.success { color: var(--green); }

/* ---------- Video modal ---------- */
.video-panel {
  position: relative;
  width: 100%;
  max-width: 1040px;
  border-radius: 18px;
  overflow: hidden;
  background: linear-gradient(160deg, rgba(14, 22, 38, 0.98), rgba(7, 11, 20, 0.98));
  border: 1px solid var(--border);
  box-shadow: 0 0 90px rgba(0, 255, 170, 0.18), 0 30px 60px rgba(0, 0, 0, 0.6);
  animation: modalIn 0.4s cubic-bezier(0.2, 1.3, 0.4, 1);
}
.video-head {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 60px 14px 20px;
}
.video-head h2 {
  font-family: var(--font-display);
  font-size: clamp(0.95rem, 2.4vw, 1.15rem);
  letter-spacing: 0.04em;
}
.video-head .modal-close { top: 50%; transform: translateY(-50%); }
.video-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 10px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--magenta);
  background: rgba(255, 43, 214, 0.1);
  border: 1px solid rgba(255, 43, 214, 0.35);
  white-space: nowrap;
}
.video-tag .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--magenta);
  box-shadow: 0 0 8px var(--magenta);
  animation: blink 1.2s infinite;
}
.video-frame { background: #000; aspect-ratio: 16 / 9; }
.video-frame video { display: block; width: 100%; height: 100%; }
.video-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 20px;
}
.video-foot p { color: var(--muted); font-size: 0.88rem; }
.video-foot .btn { flex: none; }
.video-actions { display: flex; gap: 10px; flex: none; }

/* ---------- Robinhood Chain badge ---------- */
.chain-badge {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px 10px;
  margin-top: 4px;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid rgba(204, 255, 0, 0.3);
  background: rgba(10, 14, 6, 0.85);
  backdrop-filter: blur(8px);
  font-size: 0.85rem;
  color: #d9e4f5;
}
.chain-badge svg,
.add-chain-btn svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: var(--lime);
  stroke-width: 2;
  stroke-linejoin: round;
}
.chain-badge strong { color: var(--lime); }
.chain-meta {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--muted);
}

code {
  font-family: var(--font-mono);
  font-size: 0.9em;
  color: var(--green);
}

/* ---------- Ticket ---------- */
.ticket {
  width: 100%;
  max-width: 560px;
  margin-top: 10px;
  padding: 18px 20px;
  border-radius: var(--radius);
  border: 1px dashed var(--green);
  background: linear-gradient(135deg, rgba(0, 255, 170, 0.08), rgba(0, 212, 255, 0.06));
  backdrop-filter: blur(10px);
  animation: ticketIn 0.6s cubic-bezier(0.2, 1.4, 0.4, 1);
  text-align: left;
}
@keyframes ticketIn {
  from { opacity: 0; transform: translateY(12px) scale(0.96); }
}
.ticket-head {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-display);
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  color: var(--green);
  margin-bottom: 14px;
}
.ticket-id { font-family: var(--font-mono); color: var(--text); }
.ticket-wallet {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin: -4px 0 14px;
  font-family: var(--font-mono);
  font-size: 0.85rem;
}
.ticket-net {
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 0.7rem;
  color: var(--lime);
  border: 1px solid rgba(204, 255, 0, 0.3);
  background: rgba(204, 255, 0, 0.06);
}
.ticket-body {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 14px;
}
.ticket-body small {
  display: block;
  color: var(--muted);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.ticket-body strong { font-family: var(--font-mono); font-size: 1rem; }

/* ---------- Stats ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  width: 100%;
  margin-top: 48px;
}
.stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px 12px;
  border-radius: 12px;
  background: var(--panel);
  border: 1px solid rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(10px);
}
.stat-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
}
.stat-value {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: clamp(0.95rem, 2vw, 1.25rem);
  color: var(--green);
  text-shadow: 0 0 12px rgba(0, 255, 170, 0.4);
  font-variant-numeric: tabular-nums;
}
.stat-value.bump { animation: bump 0.5s; }
@keyframes bump {
  30% { color: var(--amber); transform: scale(1.12); }
}

/* ---------- Sections ---------- */
.section {
  max-width: 1120px;
  margin: 0 auto;
  padding: 90px clamp(16px, 5vw, 64px);
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  margin-bottom: 40px;
  display: flex;
  align-items: baseline;
  gap: 16px;
}
.section-title span {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  color: var(--green);
  border: 1px solid var(--border);
  padding: 2px 8px;
  border-radius: 6px;
}

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}
.card {
  padding: 26px;
  border-radius: var(--radius);
  background: var(--panel);
  border: 1px solid rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(12px);
  transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
}
.card:hover {
  transform: translateY(-4px);
  border-color: var(--border);
  box-shadow: 0 10px 40px rgba(0, 255, 170, 0.1);
}
.card-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(0, 255, 170, 0.08);
  margin-bottom: 18px;
}
.card-icon svg {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: var(--green);
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.card h3 {
  font-family: var(--font-display);
  font-size: 1.02rem;
  margin-bottom: 10px;
  letter-spacing: 0.03em;
}
.card p { color: var(--muted); font-size: 0.94rem; }

/* ---------- Roadmap ---------- */
.roadmap {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  position: relative;
}
.roadmap::before {
  content: "";
  position: absolute;
  top: 9px;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--green) 0 37%, rgba(255, 255, 255, 0.1) 37%);
}
.roadmap li { position: relative; padding-top: 34px; }
.roadmap li::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 20px;
  height: 20px;
  border-radius: 4px;
  background: var(--bg);
  border: 2px solid rgba(255, 255, 255, 0.2);
}
.roadmap li.done::before { background: var(--green); border-color: var(--green); }
.roadmap li.active::before {
  border-color: var(--green);
  box-shadow: 0 0 16px var(--green);
  animation: chipPulse 1.6s infinite;
}
.rm-phase {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--green);
}
.roadmap h3 { font-family: var(--font-display); font-size: 1rem; margin: 4px 0 6px; }
.roadmap p { color: var(--muted); font-size: 0.9rem; }
.roadmap li:not(.done):not(.active) h3 { color: #9aa8bd; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; max-width: 820px; }
.faq details {
  border-radius: 12px;
  background: var(--panel);
  border: 1px solid rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(12px);
  padding: 18px 22px;
  transition: border-color 0.2s;
}
.faq details[open] { border-color: var(--border); }
.faq summary {
  cursor: pointer;
  font-weight: 600;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-family: var(--font-mono);
  color: var(--green);
  transition: transform 0.2s;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); margin-top: 12px; font-size: 0.95rem; }

/* ---------- Footer ---------- */
.footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding: 28px clamp(16px, 5vw, 64px);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--muted);
  font-size: 0.82rem;
  background: rgba(5, 7, 13, 0.7);
}
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.footer-note { flex-basis: 100%; font-size: 0.75rem; color: #5d6d84; }
.footer-hash { font-family: var(--font-mono); color: #3d5a4f; }

/* ---------- Toast ---------- */
.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translate(-50%, 120px);
  padding: 12px 20px;
  border-radius: 10px;
  background: rgba(10, 16, 28, 0.95);
  border: 1px solid var(--green);
  color: var(--green);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  z-index: 50;
  transition: transform 0.35s cubic-bezier(0.2, 1.4, 0.4, 1);
  pointer-events: none;
  max-width: calc(100vw - 32px);
  text-align: center;
}
.toast.show { transform: translate(-50%, 0); }

/* ---------- Responsive ---------- */
@media (max-width: 820px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
  .roadmap { grid-template-columns: 1fr 1fr; row-gap: 32px; }
  .roadmap::before { display: none; }
}

@media (max-width: 560px) {
  .nav-links a:not(.btn):not(.nav-video):not(.nav-x) { display: none; }
  .video-actions .btn { flex: 1; }
  .nav-video-long { display: none; }
  .nav-links { gap: 12px; }
  .video-tag { display: none; }
  .video-foot { flex-direction: column; align-items: stretch; text-align: center; }
  .logo img { height: 34px; }
  .btn-cta { width: 100%; }
  .task-desc { display: none; }
  .modal-panel { padding: 28px 16px 18px; }
  .ticket-body { grid-template-columns: 1fr 1fr; }
  .roadmap { 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;
  }
}

@media (max-width: 400px) {
  .nav .btn-small { white-space: nowrap; padding: 9px 11px; }
  .nav-links { gap: 8px; }
  .nav-video > span:last-child { display: none; }
  .nav-x { width: 32px; height: 32px; }
  .logo img { height: 30px; }
}
