/* ═══════════════════════════════════════════════════════════════════════════
   S33D — Global Stylesheet
   Premium dark aesthetic · Space Grotesk · Glassmorphism · Minimal green
   ═══════════════════════════════════════════════════════════════════════════ */

/* ─── Google Fonts ───────────────────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700;800;900&family=Inter:wght@300;400;500;600&family=JetBrains+Mono:wght@400;600;700&display=swap');

/* ─── Variables ──────────────────────────────────────────────────────────── */
:root {
  --bg:              #050508;
  --bg-2:            #07070f;
  --green:           #00FF41;
  --green-dim:       #00cc33;
  --green-muted:     rgba(0, 255, 65, 0.06);
  --green-border:    rgba(0, 255, 65, 0.2);
  --blue:            #88a4ff;
  --text:            #a0a0b0;
  --text-bright:     #d0d0e0;
  --text-muted:      #555566;
  --white:           #ffffff;
  --red:             #ff4444;
  --card-bg:         rgba(255, 255, 255, 0.02);
  --card-border:     rgba(255, 255, 255, 0.05);
  --card-border-h:   rgba(0, 255, 65, 0.2);
  --font-heading:    'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body:       'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono:       'JetBrains Mono', 'Courier New', monospace;
  --radius-sm:       6px;
  --radius:          12px;
  --radius-lg:       16px;
  --radius-pill:     999px;
  --container:       1200px;
  --nav-h:           60px;
  --transition:      0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  /* Legacy aliases kept for inline-style var() references in JS-rendered HTML */
  --green-dark:      rgba(0, 255, 65, 0.15);
  --green-glow-sm:   0 0 12px rgba(0, 255, 65, 0.2);
}

/* ─── Reset ──────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  background: var(--bg);
}
body {
  font-family: var(--font-body);
  background: transparent;
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  animation: page-fade-in 0.4s ease both;
}
@keyframes page-fade-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
img { display: block; max-width: 100%; }
input, textarea, select {
  font-family: inherit;
  background: transparent;
  border: none;
  outline: none;
  color: inherit;
}

/* ─── Animated gradient mesh background ─────────────────────────────────── */
@keyframes mesh {
  0%   { background-position: 0% 0%,   100% 100%, 50% 20%; }
  33%  { background-position: 60% 20%,  40% 80%,  80% 60%; }
  66%  { background-position: 100% 60%,  0% 40%,  20% 80%; }
  100% { background-position: 0% 0%,   100% 100%, 50% 20%; }
}
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background-image:
    radial-gradient(ellipse 80% 60% at 20% 20%, rgba(0, 80, 30, 0.18) 0%, transparent 55%),
    radial-gradient(ellipse 60% 80% at 80% 80%, rgba(25, 35, 100, 0.14) 0%, transparent 55%),
    radial-gradient(ellipse 70% 70% at 60% 40%, rgba(0, 60, 25, 0.10) 0%, transparent 60%);
  background-size: 160% 160%, 160% 160%, 160% 160%;
  animation: mesh 20s ease-in-out infinite;
}

/* ─── Grid overlay ───────────────────────────────────────────────────────── */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 100% 100% at 50% 0%, black 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 100% 100% at 50% 0%, black 30%, transparent 100%);
}

/* ─── Particle canvas ────────────────────────────────────────────────────── */
#particleCanvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  width: 100%;
  height: 100%;
}

/* ─── Scrollbar ──────────────────────────────────────────────────────────── */
::-webkit-scrollbar { width: 5px; height: 5px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, 0.08); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: rgba(255, 255, 255, 0.14); }

/* ─── Typography ─────────────────────────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--white);
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.02em;
}
h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
h3 { font-size: clamp(1rem, 2vw, 1.25rem); }
p  { color: var(--text); line-height: 1.7; }

/* ─── Layout ─────────────────────────────────────────────────────────────── */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
.section {
  padding: 80px 0;
  position: relative;
  z-index: 10;
}
.section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 40px;
}
.section-header h2 { margin: 0; }
.section-link {
  font-size: 0.85rem;
  color: var(--green);
  transition: opacity var(--transition);
}
.section-link:hover { opacity: 0.7; }

/* ─── Navbar ─────────────────────────────────────────────────────────────── */
.navbar {
  position: sticky;
  top: 0;
  z-index: 200;
  height: var(--nav-h);
  background: rgba(5, 5, 8, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}
.navbar .container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.03em;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-links a {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  transition: color var(--transition);
}
.nav-links a:hover { color: var(--white); }
.nav-links a:last-child {
  color: #000 !important;
  background: var(--green);
  font-weight: 600;
  font-size: 0.82rem;
  padding: 6px 16px;
  box-shadow: 0 0 16px rgba(0, 255, 65, 0.2);
  transition: box-shadow var(--transition), opacity var(--transition);
}
.nav-links a:last-child:hover {
  opacity: 0.9;
  box-shadow: 0 0 24px rgba(0, 255, 65, 0.35);
}

/* ─── Hero ───────────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  padding: 120px 0 100px;
  overflow: hidden;
  text-align: center;
  z-index: 10;
}
.hero-grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black 0%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black 0%, transparent 100%);
}
.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 80px;
  background: linear-gradient(transparent, var(--bg));
  pointer-events: none;
}
.hero-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.hero-powered {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.73rem;
  font-weight: 500;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
  padding: 5px 14px;
  border-radius: var(--radius-pill);
  letter-spacing: 0.01em;
}
.hero-powered a {
  color: var(--text-bright);
  transition: color var(--transition);
}
.hero-powered a:hover { color: var(--green); }
.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(5rem, 18vw, 12rem);
  font-weight: 900;
  letter-spacing: -0.05em;
  color: var(--white);
  text-shadow:
    0 0 60px rgba(0, 255, 65, 0.18),
    0 0 120px rgba(0, 255, 65, 0.07);
  line-height: 1;
  margin: 0;
  display: flex;
  justify-content: center;
}

/* Animated hero letters */
.hero-letter {
  display: inline-block;
  animation: letter-drop 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) both;
  animation-delay: calc(var(--i) * 0.1s);
  transition: transform 0.3s ease, text-shadow 0.3s ease;
}
.hero-letter:hover {
  transform: translateY(-8px) scale(1.05);
  text-shadow:
    0 0 40px rgba(0, 255, 65, 0.6),
    0 0 80px rgba(0, 255, 65, 0.3),
    0 0 120px rgba(0, 255, 65, 0.15);
}
.hero-letter.glow {
  color: var(--green);
  text-shadow:
    0 0 30px rgba(0, 255, 65, 0.7),
    0 0 60px rgba(0, 255, 65, 0.4),
    0 0 100px rgba(0, 255, 65, 0.2);
  animation: letter-drop 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) both,
             pulse-glow 3s ease-in-out infinite;
  animation-delay: calc(var(--i) * 0.1s), 0s;
}
@keyframes letter-drop {
  0% { opacity: 0; transform: translateY(-40px) scale(0.8); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes pulse-glow {
  0%, 100% { text-shadow: 0 0 30px rgba(0,255,65,.7), 0 0 60px rgba(0,255,65,.4), 0 0 100px rgba(0,255,65,.2); }
  50%      { text-shadow: 0 0 40px rgba(0,255,65,1),  0 0 80px rgba(0,255,65,.6), 0 0 140px rgba(0,255,65,.3); }
}
/* Legacy .green span inside title */
.hero-title .green { color: var(--green); }
.hero-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.15rem);
  color: var(--text);
  font-weight: 400;
  margin: 0;
  letter-spacing: -0.01em;
}
/* Legacy tagline class */
.hero-tagline {
  font-size: 1rem;
  color: var(--text);
  letter-spacing: -0.01em;
  margin: 0;
}
.hero-cta {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 4px;
}
/* Legacy powered-badge (replaced by .hero-powered) */
.powered-badge { display: none; }

/* ─── Hero stats card ────────────────────────────────────────────────────── */
.hero-stats-card {
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 20px;
  padding: 20px 40px;
  margin-top: 12px;
  width: fit-content;
}
.hero-stats-card .stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 0 32px;
}
.hero-stats-card .stat-divider {
  width: 1px;
  height: 36px;
  background: rgba(255, 255, 255, 0.07);
  flex-shrink: 0;
}

/* ─── Stats (shared) ─────────────────────────────────────────────────────── */
.stat-value {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  color: var(--white);
  text-align: center;
  letter-spacing: -0.03em;
}
.stat-label {
  font-size: 0.68rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  white-space: nowrap;
}
/* Legacy stats-bar — hidden, stats live in hero now */
.stats-bar { display: none; }
.stats-grid {
  display: flex;
  align-items: center;
  justify-content: center;
}
.stat-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 0 20px;
}
.stat-divider {
  width: 1px;
  height: 36px;
  background: rgba(255, 255, 255, 0.07);
  flex-shrink: 0;
}

/* ─── Buttons ────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  padding: 10px 22px;
  border-radius: var(--radius-pill);
  transition: all var(--transition);
  cursor: pointer;
  letter-spacing: -0.01em;
}
.btn-primary {
  background: var(--green);
  color: #000;
  border: 1px solid var(--green);
}
.btn-primary:hover {
  box-shadow: 0 0 28px rgba(0, 255, 65, 0.35);
  transform: translateY(-1px);
}
.btn-secondary {
  background: transparent;
  color: var(--text-bright);
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.btn-secondary:hover {
  border-color: rgba(255, 255, 255, 0.2);
  color: var(--white);
}
.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 8px 20px;
  font-size: 0.82rem;
}
.btn-ghost:hover { border-color: rgba(255, 255, 255, 0.15); color: var(--white); }
.btn-danger {
  background: rgba(255, 68, 68, 0.08);
  color: var(--red);
  border: 1px solid rgba(255, 68, 68, 0.2);
}
.btn-small {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  padding: 4px 9px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.07);
  color: var(--text-muted);
  background: transparent;
  transition: all var(--transition);
  white-space: nowrap;
}
.btn-small:hover { border-color: rgba(255, 255, 255, 0.14); color: var(--text-bright); }
.btn-small.btn-green {
  border-color: rgba(0, 255, 65, 0.2);
  color: var(--green);
  background: rgba(0, 255, 65, 0.05);
}
.btn-small.btn-green:hover {
  background: rgba(0, 255, 65, 0.1);
  box-shadow: 0 0 10px rgba(0, 255, 65, 0.15);
}

/* ─── Launch Cards — Glassmorphism ──────────────────────────────────────── */
.launches-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.launch-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 20px;
  cursor: pointer;
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  flex-direction: column;
  gap: 13px;
  animation: card-in 0.35s ease both;
  position: relative;
  overflow: hidden;
}
@keyframes card-in {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}
.launch-card:hover {
  border-color: var(--card-border-h);
  box-shadow: 0 0 30px rgba(0, 255, 65, 0.05);
  transform: translateY(-2px);
}
.launch-card:hover .badge { filter: brightness(1.1); }
/* Remove left-border accents */
.launch-card::before { display: none !important; }

/* ─── Card internals ─────────────────────────────────────────────────────── */
.card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
}
.card-name {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.token-name {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  letter-spacing: -0.02em;
}
.token-symbol {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--green);
  font-weight: 600;
}
.card-badges {
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: flex-end;
  flex-shrink: 0;
}
.card-address {
  display: flex;
  align-items: center;
  gap: 7px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: var(--radius-sm);
  padding: 5px 10px;
}
.address-text {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-muted);
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.copy-btn {
  font-size: 0.8rem;
  color: var(--text-muted);
  padding: 2px 4px;
  border-radius: 4px;
  transition: color var(--transition), background var(--transition);
  flex-shrink: 0;
  line-height: 1;
}
.copy-btn:hover { color: var(--green); background: rgba(0, 255, 65, 0.06); }
.card-detail-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 0.78rem;
}
.detail-label {
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  white-space: nowrap;
}
.detail-value { color: var(--text); }
.tweet-link {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--green);
  transition: opacity var(--transition);
}
.tweet-link:hover { opacity: 0.7; }
.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: auto;
}
.card-time {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--text-muted);
}
.card-actions { display: flex; gap: 5px; flex-wrap: wrap; }

/* ─── Badges ─────────────────────────────────────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: var(--font-mono);
  font-size: 0.63rem;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
  letter-spacing: 0.02em;
  transition: filter var(--transition);
}
.badge-green {
  background: rgba(0, 255, 65, 0.08);
  border: 1px solid rgba(0, 255, 65, 0.15);
  color: var(--green);
}
.badge-white {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-bright);
}
.badge-via {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--text-muted);
}

/* ─── Skeleton loader ────────────────────────────────────────────────────── */
.skeleton-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: var(--radius-lg);
  height: 180px;
  animation: shimmer 1.8s ease-in-out infinite;
}
@keyframes shimmer {
  0%, 100% { opacity: 0.3; }
  50%       { opacity: 0.6; }
}

/* ─── Empty state ────────────────────────────────────────────────────────── */
.empty-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 20px;
  color: var(--text-muted);
  font-size: 0.88rem;
  border: 1px dashed rgba(255, 255, 255, 0.07);
  border-radius: var(--radius-lg);
}
#emptyCta {
  background: rgba(255, 255, 255, 0.01);
  border: 1px dashed rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-lg);
}

/* ─── Filter Bar ─────────────────────────────────────────────────────────── */
.filter-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.filter-btn {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.07);
  color: var(--text-muted);
  background: transparent;
  cursor: pointer;
  transition: all var(--transition);
}
.filter-btn:hover { border-color: rgba(255, 255, 255, 0.14); color: var(--text-bright); }
.filter-btn.active {
  background: var(--green);
  border-color: var(--green);
  color: #000;
  font-weight: 600;
}
.filter-sep { flex: 1; }
.search-box {
  display: flex;
  align-items: center;
  gap: 7px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius-pill);
  padding: 6px 14px;
  background: rgba(255, 255, 255, 0.02);
  transition: border-color var(--transition);
}
.search-box:focus-within { border-color: rgba(255, 255, 255, 0.15); }
.search-box input {
  font-size: 0.82rem;
  color: var(--text-bright);
  width: 200px;
  background: transparent;
}
.search-box input::placeholder { color: var(--text-muted); }
.search-icon { color: var(--text-muted); font-size: 0.85rem; }

/* ─── Load More ──────────────────────────────────────────────────────────── */
.load-more-wrap { text-align: center; margin-top: 40px; }

/* ─── How It Works ───────────────────────────────────────────────────────── */
.how-it-works { background: transparent; }
.how-it-works h2 { margin-bottom: 48px; }
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.step-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: var(--radius-lg);
  padding: 28px;
  position: relative;
  transition: border-color var(--transition);
}
.step-card:hover { border-color: var(--card-border-h); }
.step-num {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--green);
  opacity: 0.12;
  line-height: 1;
  margin-bottom: 16px;
  letter-spacing: -0.04em;
}
.step-card h3 { color: var(--white); margin-bottom: 8px; }
.step-card p  { font-size: 0.88rem; color: var(--text); }

/* ─── Page header ────────────────────────────────────────────────────────── */
.page-header {
  padding: 60px 0 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  position: relative;
  z-index: 1;
}
.page-header h1 { font-size: clamp(2rem, 5vw, 3rem); margin-bottom: 8px; }
.page-header p { color: var(--text); font-size: 0.95rem; }

/* ─── Docs ───────────────────────────────────────────────────────────────── */
.docs-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 60px;
  padding-top: 48px;
  padding-bottom: 100px;
  align-items: start;
  position: relative;
  z-index: 1;
}
.docs-sidebar {
  position: sticky;
  top: calc(var(--nav-h) + 24px);
}
.docs-nav { display: flex; flex-direction: column; gap: 2px; }
.docs-nav-section {
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 10px 12px 4px;
}
.docs-nav a {
  font-size: 0.85rem;
  color: var(--text);
  padding: 7px 12px;
  border-radius: var(--radius-sm);
  border-left: 2px solid transparent;
  transition: all var(--transition);
  display: block;
}
.docs-nav a:hover  { color: var(--white); background: rgba(255, 255, 255, 0.03); }
.docs-nav a.active { color: var(--green); border-left-color: var(--green); background: rgba(0, 255, 65, 0.04); }
.docs-content section {
  padding-bottom: 64px;
  margin-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.docs-content section:last-child { border-bottom: none; }
.docs-content h2 { font-size: 1.7rem; margin-bottom: 20px; color: var(--white); }
.docs-content h3 { font-size: 1.1rem; margin: 28px 0 12px; color: var(--text-bright); }
.docs-content p  { font-size: 0.92rem; color: var(--text); margin-bottom: 16px; }
.docs-content ul { padding-left: 20px; margin-bottom: 16px; }
.docs-content li { font-size: 0.92rem; color: var(--text); margin-bottom: 6px; line-height: 1.6; }
.docs-content strong { color: var(--text-bright); }
.code-block {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(0, 255, 65, 0.1);
  border-radius: var(--radius);
  padding: 16px 18px;
  margin: 14px 0;
  overflow-x: auto;
}
.code-block pre {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--green);
  line-height: 1.6;
  white-space: pre;
}
.code-block .comment { color: var(--text-muted); }
.inline-code {
  font-family: var(--font-mono);
  font-size: 0.82em;
  color: var(--green);
  background: rgba(0, 255, 65, 0.06);
  padding: 2px 6px;
  border-radius: 4px;
  border: 1px solid rgba(0, 255, 65, 0.12);
}
.fee-comparison {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 20px 0;
}
.fee-card {
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-lg);
  padding: 22px;
  background: var(--card-bg);
}
.fee-card.fee-community { border-color: rgba(0, 255, 65, 0.2); }
.fee-card .fee-title {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 12px;
}
.fee-card.fee-community .fee-title { color: var(--green); }
.fee-card.fee-direct    .fee-title { color: var(--white); }
.fee-card ul { padding-left: 16px; }
.fee-card li { font-size: 0.86rem; color: var(--text); margin-bottom: 6px; }
.faq-item {
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius);
  margin-bottom: 10px;
  overflow: hidden;
}
.faq-q {
  width: 100%;
  text-align: left;
  padding: 14px 18px;
  font-family: var(--font-body);
  font-size: 0.88rem;
  color: var(--text-bright);
  background: var(--card-bg);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background var(--transition);
}
.faq-q:hover { background: rgba(255, 255, 255, 0.03); }
.faq-q .arrow { color: var(--green); font-size: 0.7rem; transition: transform 0.2s; }
.faq-item.open .faq-q .arrow { transform: rotate(90deg); }
.faq-a {
  display: none;
  padding: 0 18px 14px;
  font-size: 0.86rem;
  color: var(--text);
  line-height: 1.7;
  background: var(--card-bg);
}
.faq-item.open .faq-a { display: block; }

/* ─── Token detail page ──────────────────────────────────────────────────── */
.token-page { max-width: 760px; margin: 0 auto; padding: 60px 0 100px; position: relative; z-index: 1; }
.token-hero {
  text-align: center;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  margin-bottom: 40px;
}
.token-hero .token-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  color: var(--white);
  margin-bottom: 4px;
}
.token-hero .token-sym {
  font-family: var(--font-mono);
  font-size: 1.1rem;
  color: var(--green);
  font-weight: 600;
  margin-bottom: 16px;
}
.token-hero .badges { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.token-detail-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 18px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.detail-card-header {
  padding: 14px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.detail-row {
  display: flex;
  align-items: center;
  padding: 12px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  gap: 16px;
}
.detail-row:last-child { border-bottom: none; }
.detail-row-label {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-muted);
  min-width: 130px;
  flex-shrink: 0;
}
.detail-row-value {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}
.detail-row-value .mono {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-bright);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.detail-row-actions { display: flex; gap: 6px; flex-shrink: 0; }
.trade-cta { text-align: center; padding: 40px 0 0; }
.trade-cta .btn { padding: 14px 44px; font-size: 0.95rem; }

/* ─── Scroll reveal ──────────────────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ─── Toast ──────────────────────────────────────────────────────────────── */
.toast {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%) translateY(16px);
  background: rgba(8, 8, 16, 0.96);
  border: 1px solid rgba(0, 255, 65, 0.2);
  color: var(--green);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  opacity: 0;
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 9999;
  pointer-events: none;
  white-space: nowrap;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.toast.toast-visible { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ─── Footer ─────────────────────────────────────────────────────────────── */
.footer {
  position: relative;
  z-index: 1;
  padding: 28px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.footer-logo {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.03em;
  display: inline-block;
}
.footer-links {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 20px;
}
.footer-links h4 { display: none; }
.footer-links a {
  font-size: 0.82rem;
  color: var(--text-muted);
  transition: color var(--transition);
  padding: 0;
}
.footer-links a:hover { color: var(--white); }
.footer-copy {
  font-size: 0.76rem;
  color: var(--text-muted);
}
/* Hide old multi-column footer elements */
.footer-grid  { display: none; }
.footer-brand { display: none; }
.footer-bottom { display: none; }

/* ─── Launches page ──────────────────────────────────────────────────────── */
.launches-page-header {
  padding: 48px 0 36px;
  position: relative;
  z-index: 1;
}
.launches-page-header h1 { margin-bottom: 6px; }
.launches-page-header p  { color: var(--text); font-size: 0.9rem; }

/* ─── Utility ────────────────────────────────────────────────────────────── */
.text-green  { color: var(--green); }
.text-muted  { color: var(--text-muted); }
.text-bright { color: var(--text-bright); }
.mono        { font-family: var(--font-mono); }
.mt-8  { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mb-8  { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }

/* ─── Responsive ─────────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .launches-grid  { grid-template-columns: repeat(2, 1fr); }
  .steps-grid     { grid-template-columns: 1fr 1fr; }
  .docs-layout    { grid-template-columns: 1fr; }
  .docs-sidebar   { position: static; display: none; }
  .fee-comparison { grid-template-columns: 1fr; }
  .hero-stats-card { padding: 16px 20px; }
  .hero-stats-card .stat-item { padding: 0 18px; }
}
@media (max-width: 600px) {
  .container          { padding: 0 16px; }
  .launches-grid      { grid-template-columns: 1fr; }
  .steps-grid         { grid-template-columns: 1fr; }
  .hero               { padding: 80px 0 60px; }
  .hero-stats-card    { flex-wrap: wrap; padding: 16px; width: 100%; }
  .hero-stats-card .stat-item   { flex: 1 0 40%; padding: 8px; }
  .hero-stats-card .stat-divider { display: none; }
  .filter-bar         { gap: 6px; }
  .search-box input   { width: 140px; }
  .nav-links a        { padding: 5px 10px; font-size: 0.8rem; }
  .detail-row         { flex-direction: column; align-items: flex-start; gap: 8px; }
  .detail-row-label   { min-width: unset; }
  .footer-inner       { flex-direction: column; gap: 14px; text-align: center; }
  .footer-links       { gap: 14px; flex-wrap: wrap; justify-content: center; }
}
@media (max-width: 400px) {
  .nav-links { gap: 2px; }
}
