/* ============================================================
   EMILIA TOKEN — ESTILOS
   Rediseño: aurora animada, glassmorphism, micro-interacciones
   ============================================================ */

:root {
  --bg: #070b14;
  --bg-grad-1: #0a1020;
  --bg-grad-2: #120a24;
  --card: rgba(22, 29, 51, 0.7);
  --card-solid: #161d33;
  --card-hover: rgba(30, 39, 68, 0.85);
  --border: rgba(255, 255, 255, 0.07);
  --border-bright: rgba(153, 69, 255, 0.25);
  --text: #eaecf5;
  --text-dim: #8b94b0;
  --text-dimmer: #5e6688;
  --green: #14f195;
  --purple: #9945ff;
  --pink: #ff5ff0;
  --grad: linear-gradient(135deg, #14f195 0%, #9945ff 100%);
  --grad-text: linear-gradient(100deg, #14f195 0%, #9945ff 45%, #ff5ff0 100%);
  --grad-soft: linear-gradient(135deg, rgba(20,241,149,0.15), rgba(153,69,255,0.15));
  --radius: 18px;
  --radius-lg: 26px;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.55);
  --shadow-glow: 0 0 40px rgba(153, 69, 255, 0.25);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-align: center;
}

h1, h2, h3, h4 { font-family: 'Space Grotesk', 'Inter', sans-serif; font-weight: 700; }

a { color: var(--green); text-decoration: none; transition: color 0.2s ease; }
a:hover { color: var(--pink); }

::selection { background: rgba(153, 69, 255, 0.4); color: #fff; }

/* Scrollbar */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--card-solid); border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: var(--purple); }

/* ---------- Utilidades ---------- */
.gradient-text {
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  background-size: 200% auto;
  animation: shimmer 6s linear infinite;
}
@keyframes shimmer { to { background-position: 200% center; } }

.svg-sprite { position: absolute; width: 0; height: 0; overflow: hidden; pointer-events: none; }
.ui-icon {
  width: 1.25em;
  height: 1.25em;
  display: block;
  flex-shrink: 0;
}

.section {
  padding: 96px 24px;
  max-width: 1120px;
  margin: 0 auto;
  position: relative;
}

.section-head { text-align: center; margin-bottom: 56px; }
.section-title {
  font-size: clamp(30px, 4.5vw, 46px);
  font-weight: 700;
  margin-bottom: 14px;
  letter-spacing: -0.02em;
}
.section-sub { color: var(--text-dim); max-width: 600px; margin: 0 auto; font-size: 16px; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  border: none;
  border-radius: 14px;
  padding: 13px 24px;
  cursor: pointer;
  font-size: 15px;
  position: relative;
  overflow: hidden;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), filter 0.2s ease;
}
.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.25), transparent);
  transform: translateX(-100%);
  transition: transform 0.6s var(--ease);
}
.btn:hover::before { transform: translateX(100%); }
.btn:hover { text-decoration: none; }
.btn:active { transform: scale(0.97); }
.btn:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }

.btn-primary {
  background: var(--grad);
  color: #06090f;
  box-shadow: 0 10px 34px rgba(153, 69, 255, 0.4);
}
.btn-primary:hover { filter: brightness(1.08); box-shadow: 0 14px 44px rgba(153, 69, 255, 0.55); }

.btn-ghost {
  background: rgba(255,255,255,0.03);
  color: var(--text);
  border: 1px solid var(--border);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover { border-color: var(--green); color: var(--green); background: rgba(20,241,149,0.06); }

.btn-lg { padding: 16px 34px; font-size: 17px; }
.btn-connect {
  padding: 10px 20px;
  font-size: 14px;
  background: var(--grad-soft);
  border: 1px solid var(--border-bright);
  color: var(--text);
}
.btn-connect:hover { border-color: var(--green); color: var(--green); }
.btn-buy { width: 100%; margin-top: 10px; font-size: 16px; }
.btn-link { background: none; border: none; color: var(--text-dim); cursor: pointer; font-size: 13px; }
.btn-link:hover { color: var(--green); }

/* ---------- Navbar ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(7, 11, 20, 0.7);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
  transition: background 0.3s ease, border-color 0.3s ease;
}
.nav.scrolled { background: rgba(7, 11, 20, 0.92); border-bottom-color: var(--border-bright); }
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand { display: flex; align-items: center; gap: 11px; }
.brand-logo {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  object-fit: contain;
  box-shadow: 0 0 18px rgba(153, 69, 255, 0.4);
  transition: transform 0.3s var(--ease);
}
.brand:hover .brand-logo { transform: rotate(-8deg) scale(1.05); }
.brand-name { font-family: 'Space Grotesk', sans-serif; font-weight: 700; letter-spacing: 0.5px; font-size: 16px; }
.brand-token { color: var(--green); margin-left: 4px; }
.btn-connect-nav { padding: 10px 16px; font-size: 13px; flex-shrink: 0; }
.nav-links { display: flex; align-items: center; gap: 18px; flex-wrap: nowrap; }
.nav-links a {
  color: var(--text-dim);
  font-size: 13px;
  font-weight: 500;
  position: relative;
  white-space: nowrap;
  padding: 6px 0;
}
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; bottom: -6px;
  width: 0; height: 2px;
  background: var(--grad);
  border-radius: 2px;
  transition: width 0.25s var(--ease);
}
.nav-links a:hover { color: var(--text); text-decoration: none; }
.nav-links a:hover::after { width: 100%; }
.nav-burger {
  display: none;
  background: none; border: none; cursor: pointer;
  flex-direction: column; gap: 5px; padding: 6px;
}
.nav-burger span { width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: 0.3s; }

/* ---------- Banner de red ---------- */
.net-banner {
  position: fixed;
  top: 67px; left: 0; right: 0;
  z-index: 99;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 12px;
  padding: 7px;
  background: rgba(153, 69, 255, 0.12);
  border-bottom: 1px solid var(--border);
  color: var(--text-dim);
  backdrop-filter: blur(8px);
}
.net-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 10px var(--green);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse { 0%,100%{ opacity:1; transform:scale(1);} 50%{ opacity:0.5; transform:scale(0.8);} }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
  padding: 130px 24px 80px;
  overflow: visible;
}

.hero-bar {
  position: relative;
  z-index: 1;
  width: min(320px, 78vw);
  margin: 0 auto 28px;
  line-height: 0;
  animation: fadeInUp 0.9s var(--ease) 0.05s both;
}

.hero-bar-img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: contain;
  object-position: center;
  border-radius: 24px;
  box-shadow: 0 0 48px rgba(153, 69, 255, 0.35), 0 0 24px rgba(20, 241, 149, 0.15);
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.55;
  pointer-events: none;
  animation: float 14s ease-in-out infinite;
}
@keyframes float {
  0%,100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(40px, -30px) scale(1.1); }
  66% { transform: translate(-30px, 20px) scale(0.95); }
}
.hero-glow-1 { width: 520px; height: 520px; background: #9945ff; top: -120px; left: -100px; }
.hero-glow-2 { width: 480px; height: 480px; background: #14f195; bottom: -160px; right: -100px; opacity: 0.35; animation-delay: -7s; }
.hero-glow-3 { width: 360px; height: 360px; background: #ff5ff0; top: 30%; left: 40%; opacity: 0.18; animation-delay: -3s; }

.hero-inner { position: relative; z-index: 1; max-width: 820px; margin: 0 auto; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 20px;
  border-radius: 100px;
  background: rgba(20, 241, 149, 0.1);
  border: 1px solid rgba(20, 241, 149, 0.35);
  color: var(--green);
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 30px;
  backdrop-filter: blur(6px);
  animation: badgeIn 0.8s var(--ease) both;
}
.badge-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 0 rgba(20, 241, 149, 0.55);
  animation: badgePulse 2s ease-in-out infinite;
  flex-shrink: 0;
}
@keyframes badgePulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(20, 241, 149, 0.5); }
  50% { box-shadow: 0 0 0 8px rgba(20, 241, 149, 0); }
}

.btn-glow {
  animation: btnGlow 3s ease-in-out infinite;
}
@keyframes btnGlow {
  0%, 100% { box-shadow: 0 10px 34px rgba(153, 69, 255, 0.4); }
  50% { box-shadow: 0 14px 48px rgba(20, 241, 149, 0.35), 0 0 24px rgba(153, 69, 255, 0.45); }
}
@keyframes badgeIn { from { opacity: 0; transform: translateY(-12px); } to { opacity: 1; transform: translateY(0); } }

.hero-title {
  font-size: clamp(46px, 8.5vw, 82px);
  font-weight: 700;
  line-height: 1.02;
  margin-bottom: 18px;
  letter-spacing: -0.03em;
  animation: titleIn 0.9s var(--ease) 0.1s both;
}
@keyframes titleIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.hero-tagline {
  color: var(--text-dim);
  font-size: clamp(16px, 2.5vw, 20px);
  margin-bottom: 44px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  animation: fadeInUp 0.9s var(--ease) 0.25s both;
}
@keyframes fadeInUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 44px;
  animation: fadeInUp 0.9s var(--ease) 0.4s both;
}
.stat {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 14px;
  backdrop-filter: blur(12px);
  transition: transform 0.3s var(--ease), border-color 0.3s ease, box-shadow 0.3s ease;
}
.stat:hover {
  transform: translateY(-4px);
  border-color: var(--border-bright);
  box-shadow: var(--shadow-glow);
}
.stat-value { font-family: 'Space Grotesk', sans-serif; font-size: 23px; font-weight: 700; color: var(--green); font-variant-numeric: tabular-nums; }
.stat-label { font-size: 11px; color: var(--text-dim); margin-top: 5px; text-transform: uppercase; letter-spacing: 1.2px; }

.hero-cta { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; animation: fadeInUp 0.9s var(--ease) 0.55s both; }
.hero-meta { margin-top: 30px; color: var(--text-dim); font-size: 14px; animation: fadeInUp 0.9s var(--ease) 0.7s both; }
.hero-meta strong { color: var(--text); }

/* ---------- Preventa ---------- */
.presale { max-width: 900px; margin: 0 auto; }
.presale-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 40px;
  margin-bottom: 52px;
  backdrop-filter: blur(16px);
  position: relative;
  overflow: hidden;
}
.presale-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--grad);
  opacity: 0.7;
}
.ps-empty { text-align: center; padding: 52px 24px; }
.ps-empty-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  margin: 0 auto 18px;
  border-radius: 20px;
  background: var(--grad-soft);
  border: 1px solid var(--border-bright);
  color: var(--purple);
  animation: iconFloat 3s ease-in-out infinite;
}
.ps-empty-icon .ui-icon { width: 40px; height: 40px; }
@keyframes iconFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
.ps-empty h3 { font-size: 26px; margin-bottom: 10px; }
.ps-empty p { color: var(--text-dim); margin-bottom: 26px; }

.ps-progress { margin-bottom: 26px; }
.ps-progress-head, .ps-progress-foot {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px 24px;
  font-size: 13px;
  color: var(--text-dim);
  margin-bottom: 9px;
  text-align: center;
}
.progress-bar {
  height: 16px;
  background: rgba(7, 11, 20, 0.6);
  border-radius: 100px;
  overflow: hidden;
  border: 1px solid var(--border);
}
.progress-fill {
  height: 100%;
  width: 0%;
  background: var(--grad);
  border-radius: 100px;
  transition: width 0.8s var(--ease);
  position: relative;
  box-shadow: 0 0 16px rgba(153, 69, 255, 0.6);
}
.progress-fill::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  animation: progressShine 2s ease-in-out infinite;
}
@keyframes progressShine { 0%{ transform: translateX(-100%);} 100%{ transform: translateX(100%);} }

.ps-phase {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 30px;
}
.ps-phase-item {
  background: rgba(7, 11, 20, 0.4);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 16px;
  text-align: center;
  transition: border-color 0.3s ease, transform 0.3s var(--ease);
}
.ps-phase-item:hover { border-color: var(--border-bright); transform: translateY(-3px); }
.ps-label { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: 1px; color: var(--text-dim); margin-bottom: 6px; }
.ps-value { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 19px; }

.ps-buy-row { display: grid; grid-template-columns: 1fr auto 1fr; gap: 18px; align-items: end; margin-bottom: 18px; }
.ps-input-group {
  text-align: center;
}
.ps-arrow { font-size: 30px; color: var(--green); padding-bottom: 14px; transition: transform 0.3s var(--ease); }
.ps-arrow:hover { transform: scale(1.2); }
.ps-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
  background: rgba(7, 11, 20, 0.5);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.ps-input-wrap:focus-within { border-color: var(--green); box-shadow: 0 0 0 3px rgba(20,241,149,0.12); }
.ps-input-wrap input {
  width: 100%;
  background: transparent;
  border: none;
  outline: none;
  color: var(--text);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 25px;
  font-weight: 600;
  padding: 17px;
  font-variant-numeric: tabular-nums;
  text-align: center;
}
.ps-output input { color: var(--green); }
.ps-input-suffix { padding-right: 17px; font-size: 14px; color: var(--text-dim); font-weight: 600; }
.ps-quick { display: flex; gap: 9px; margin-top: 11px; flex-wrap: wrap; justify-content: center; }
.ps-quick-btn {
  flex: 1;
  min-width: 50px;
  background: var(--card-solid);
  border: 1px solid var(--border);
  color: var(--text-dim);
  border-radius: 9px;
  padding: 7px 0;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.15s ease;
}
.ps-quick-btn:hover { border-color: var(--green); color: var(--green); background: rgba(20,241,149,0.08); }
.ps-quick-btn:active { transform: scale(0.95); }
.ps-hint { font-size: 12px; color: var(--text-dim); margin-top: 9px; }

.ps-limits {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 20px;
  font-size: 13px;
  color: var(--text-dim);
  margin-bottom: 18px;
  padding: 12px 16px;
  background: rgba(7, 11, 20, 0.3);
  border-radius: 10px;
  border: 1px solid var(--border);
}
.ps-limits strong { color: var(--text); }

.ps-tx {
  margin-top: 18px;
  border-radius: 14px;
  padding: 16px;
  font-size: 14px;
  animation: fadeInUp 0.4s var(--ease);
}
.ps-tx-success {
  background: rgba(20, 241, 149, 0.07);
  border: 1px solid rgba(20, 241, 149, 0.3);
}
.ps-tx-success p { color: var(--green); margin-bottom: 5px; }
.ps-tx-error {
  background: rgba(239, 68, 68, 0.08);
  border: 1px solid rgba(239, 68, 68, 0.35);
}
.ps-tx-error p { color: #f87171; margin-bottom: 5px; }
.ps-tx-pending {
  background: rgba(153, 69, 255, 0.08);
  border: 1px solid rgba(153, 69, 255, 0.35);
}
.ps-tx-pending p { color: var(--purple); margin-bottom: 5px; }
.ps-hint-warn { color: #f87171 !important; font-weight: 600; }
.ps-wallet-balance {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 4px;
}
.ps-wallet-balance-low { color: #f87171; }

.ps-footer {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 10px;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
  text-align: center;
}
.ps-wallet-addr { font-family: monospace; font-size: 12px; color: var(--text-dim); }
.ps-connected {
  margin-bottom: 20px;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid rgba(20, 241, 149, 0.35);
  background: rgba(20, 241, 149, 0.06);
}
.ps-connected-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 8px;
}
.ps-wallet-addr-full {
  font-family: ui-monospace, monospace;
  font-size: 14px;
  line-height: 1.35;
  white-space: nowrap;
  color: var(--green);
}
.nav-wallet-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  max-width: min(52vw, 520px);
  padding: 6px 10px;
  border-radius: 12px;
  border: 1px solid rgba(20, 241, 149, 0.35);
  background: rgba(20, 241, 149, 0.06);
}
.nav-wallet-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--green);
  flex-shrink: 0;
}
.nav-wallet-addr {
  font-family: ui-monospace, monospace;
  font-size: 12px;
  line-height: 1.35;
  white-space: nowrap;
  color: var(--text);
  flex-shrink: 0;
}
.nav-wallet-disconnect {
  flex-shrink: 0;
  font-size: 11px;
  padding: 4px 8px;
}
@media (max-width: 960px) {
  .nav-wallet-bar { display: none !important; }
}

/* Cómo funciona */
.how-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.how-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  position: relative;
  backdrop-filter: blur(12px);
  transition: transform 0.3s var(--ease), border-color 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
}
.how-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 3px;
  background: var(--grad);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}
.how-card:hover { transform: translateY(-6px); border-color: var(--border-bright); box-shadow: var(--shadow); }
.how-card:hover::before { transform: scaleX(1); }
.how-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px; height: 38px;
  border-radius: 11px;
  background: var(--grad);
  color: #06090f;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  margin-bottom: 14px;
  font-size: 17px;
}
.how-card h4 { font-size: 17px; margin-bottom: 8px; }
.how-card p { font-size: 13px; color: var(--text-dim); line-height: 1.55; }

/* ---------- Tokenomics ---------- */
.tokenomics {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 64px;
  flex-wrap: wrap;
}
.pie {
  width: 320px; height: 320px;
  border-radius: 50%;
  background: conic-gradient(
    var(--green) 0 30%,
    var(--purple) 30% 70%,
    #e8eaf2 70% 85%,
    #ff9f43 85% 95%,
    #ef4444 95% 100%
  );
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow), 0 0 60px rgba(153, 69, 255, 0.2);
  position: relative;
  animation: spinSlow 40s linear infinite;
}
@keyframes spinSlow { to { transform: rotate(360deg); } }
.pie-center {
  width: 140px; height: 140px;
  border-radius: 50%;
  background: var(--card-solid);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 4px solid var(--bg);
  animation: spinSlow 40s linear infinite reverse;
}
.pie-center strong { font-family: 'Space Grotesk', sans-serif; font-size: 28px; color: var(--green); }
.pie-center span { font-size: 12px; color: var(--text-dim); }
.pie-legend { display: flex; flex-direction: column; gap: 16px; min-width: 260px; }
.legend-item { display: flex; align-items: center; gap: 14px; }
.legend-dot { width: 16px; height: 16px; border-radius: 5px; flex-shrink: 0; }
.dot-1 { background: var(--green); }
.dot-2 { background: var(--purple); }
.dot-3 { background: #e8eaf2; }
.dot-4 { background: #ff9f43; }
.dot-5 { background: #ef4444; }
.legend-item strong { display: block; font-size: 15px; }
.legend-pct { font-size: 13px; color: var(--text-dim); }

/* ---------- Tabla de precios ---------- */
.table-wrap {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow-x: auto;
  backdrop-filter: blur(12px);
}
.price-table { width: 100%; border-collapse: collapse; min-width: 520px; }
.price-table th, .price-table td { padding: 13px 22px; text-align: center; font-size: 14px; }
.price-table thead th {
  background: rgba(7, 11, 20, 0.5);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-dim);
  font-weight: 600;
}
.price-table tbody tr { border-top: 1px solid var(--border); transition: background 0.15s ease; }
.price-table tbody tr:hover { background: rgba(255, 255, 255, 0.04); }
.price-table tbody tr.current { background: rgba(20, 241, 149, 0.1); box-shadow: inset 3px 0 0 var(--green); }
.price-table td .cur-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  background: var(--green);
  color: #06090f;
  border-radius: 100px;
  padding: 2px 9px;
  margin-left: 8px;
  vertical-align: middle;
}

/* ---------- Roadmap ---------- */
.timeline { position: relative; max-width: 680px; margin: 0 auto; }
.timeline::before {
  content: '';
  position: absolute;
  left: 13px; top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--green), var(--purple), transparent);
}
.tl-item { position: relative; padding-left: 46px; margin-bottom: 30px; }
.tl-dot {
  position: absolute;
  left: 5px; top: 5px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--bg);
  border: 3px solid var(--text-dimmer);
  transition: all 0.3s ease;
}
.tl-item.active .tl-dot { background: var(--green); border-color: var(--green); box-shadow: 0 0 16px var(--green); animation: pulse 2s ease-in-out infinite; }
.tl-item.done .tl-dot { background: var(--green); border-color: var(--green); }
.tl-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 24px;
  backdrop-filter: blur(12px);
  transition: transform 0.3s var(--ease), border-color 0.3s ease;
}
.tl-card:hover { transform: translateX(6px); border-color: var(--border-bright); }
.tl-card h4 { font-size: 18px; margin-bottom: 6px; }
.tl-card p { font-size: 14px; color: var(--text-dim); line-height: 1.6; }

/* ---------- FAQ ---------- */
.faq { max-width: 720px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.faq-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  backdrop-filter: blur(12px);
  transition: border-color 0.3s ease;
}
.faq-item[open] { border-color: var(--border-bright); }
.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 19px 24px;
  font-weight: 600;
  font-size: 15px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  text-align: center;
  user-select: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-size: 24px;
  color: var(--green);
  transition: transform 0.3s var(--ease);
  font-weight: 400;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { padding: 0 24px 20px; color: var(--text-dim); font-size: 14px; line-height: 1.6; }

/* ---------- Social rail (menú flotante izquierda) ---------- */
.social-rail {
  position: fixed;
  left: max(16px, env(safe-area-inset-left));
  top: 50%;
  transform: translateY(-50%);
  z-index: 200;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 12px 10px;
  border-radius: 18px;
  border: 1px solid rgba(153, 69, 255, 0.45);
  background: rgba(12, 16, 28, 0.92);
  backdrop-filter: blur(16px);
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.55), 0 0 28px rgba(153, 69, 255, 0.2);
  transition: transform 0.25s var(--ease);
}
.social-rail-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease, transform 0.2s var(--ease);
  text-decoration: none;
}
.social-rail-btn:hover {
  color: var(--green);
  border-color: rgba(20, 241, 149, 0.5);
  background: rgba(20, 241, 149, 0.12);
  transform: translateX(4px);
  text-decoration: none;
}
.social-rail-btn svg { flex-shrink: 0; }
.social-rail-emilia-icon {
  display: block;
  width: 28px;
  height: 28px;
  overflow: hidden;
  border-radius: 8px;
  flex-shrink: 0;
}
.social-rail-emilia img {
  width: auto;
  height: 28px;
  max-width: none;
  display: block;
  object-fit: none;
  object-position: left center;
  clip-path: inset(0 0 0 48%);
  border-radius: 0;
}
.social-rail-divider {
  display: block;
  width: 24px;
  height: 1px;
  background: var(--border);
  margin: 2px 0;
}
@media (max-width: 768px) {
  .social-rail {
    top: auto;
    bottom: max(18px, env(safe-area-inset-bottom));
    transform: none;
    flex-direction: row;
    padding: 8px 10px;
    gap: 6px;
  }
  .social-rail-btn {
    width: 40px;
    height: 40px;
  }
  .social-rail-btn:hover { transform: translateY(-3px); }
  .social-rail-divider {
    width: 1px;
    height: 24px;
    margin: 0 2px;
  }
}

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--border); background: rgba(7, 11, 20, 0.6); padding: 52px 24px 34px; backdrop-filter: blur(12px); }
.footer-inner { max-width: 1120px; margin: 0 auto; text-align: center; }
.footer-brand { display: flex; align-items: center; justify-content: center; gap: 11px; margin-bottom: 18px; }
.footer-brand img { width: 34px; height: 34px; border-radius: 10px; box-shadow: 0 0 14px rgba(153, 69, 255, 0.35); }
.footer-links { display: flex; justify-content: center; gap: 26px; flex-wrap: wrap; margin-bottom: 16px; }
.footer-links a { color: var(--text-dim); font-size: 14px; }
.footer-links a:hover { color: var(--green); }
.footer-social { display: flex; justify-content: center; gap: 16px; margin-bottom: 20px; }
.social-link { display: inline-flex; align-items: center; gap: 8px; color: var(--text-dim); font-size: 14px; font-weight: 500; padding: 10px 14px; border: 1px solid var(--border); border-radius: 10px; background: rgba(255,255,255,0.02); transition: all 0.2s ease; text-decoration: none; }
.social-link:hover { color: var(--green); border-color: var(--green); background: rgba(20,241,149,0.08); text-decoration: none; }
.social-link svg { flex-shrink: 0; }
.social-link span { white-space: nowrap; }
@media (max-width: 480px) {
  .social-link span { display: none; }
  .social-link { padding: 10px; }
}
.footer-disclaimer { color: var(--text-dim); font-size: 12px; max-width: 640px; margin: 0 auto 14px; line-height: 1.6; }
.footer-copy { color: var(--text-dimmer); font-size: 12px; }

/* ---------- Scroll Reveal ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .how-grid { grid-template-columns: repeat(2, 1fr); }
  .ps-buy-row { grid-template-columns: 1fr; }
  .ps-arrow { display: none; }
  .ps-phase { grid-template-columns: 1fr; }
}
@media (max-width: 1100px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(7, 11, 20, 0.97);
    flex-direction: column;
    align-items: center;
    padding: 12px 20px 16px;
    border-bottom: 1px solid var(--border);
    gap: 4px;
    backdrop-filter: blur(18px);
  }
  .nav-links a {
    padding: 12px 8px;
    font-size: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    text-align: center;
    width: 100%;
  }
  .nav-links a:last-child { border-bottom: none; }
  .nav-links.open { display: flex; }
  .nav-burger { display: flex; }
  .nav-inner { position: relative; flex-wrap: wrap; }
  .btn-connect-nav { margin-left: auto; }
}
@media (max-width: 640px) {
  .nav-links { top: 100%; }
  .how-grid { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: 1fr; }
  .presale-card { padding: 26px; }
  .ps-limits { flex-direction: column; }
  .section { padding: 72px 20px; }
}

/* ---------- Modal selector de wallet ---------- */
.wallet-modal {
  position: fixed;
  inset: 0;
  background: rgba(7, 11, 20, 0.88);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  animation: fadeIn 0.2s ease;
}
.wallet-modal-content {
  background: var(--card-solid);
  border: 1px solid var(--border-bright);
  border-radius: var(--radius);
  padding: 36px;
  max-width: 380px;
  width: 90%;
  text-align: center;
  box-shadow: var(--shadow);
  animation: modalIn 0.3s var(--ease);
}
@keyframes modalIn { from { opacity: 0; transform: scale(0.95) translateY(10px); } to { opacity: 1; transform: scale(1) translateY(0); } }
.wallet-modal-content h3 { margin-bottom: 10px; font-size: 20px; }
.wallet-modal-content p { color: var(--text-dim); margin-bottom: 26px; }
.wallet-options { display: flex; flex-direction: column; gap: 10px; }
.wallet-option {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(7, 11, 20, 0.5);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 15px 18px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  transition: all 0.15s ease;
}
.wallet-option:hover { border-color: var(--green); background: rgba(20, 241, 149, 0.08); transform: translateX(4px); }
.wallet-icon-letter {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--grad-soft);
  border: 1px solid var(--border-bright);
  color: var(--green);
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 15px;
}
.wallet-icon { font-size: 24px; }

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* ============================================================
   NUEVAS SECCIONES: EMI + EMILIA, UTILIDAD, FLUJO, ROADMAP, SEGURIDAD, DISCLAIMER
   ============================================================ */

/* ---------- Eco Split (Qué es EMI / Qué es Emilia) ---------- */
.eco-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  max-width: 1000px;
  margin: 0 auto 32px;
}
.eco-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  backdrop-filter: blur(12px);
  transition: transform 0.3s var(--ease), border-color 0.3s ease, box-shadow 0.3s ease;
}
.eco-card:hover { transform: translateY(-6px); border-color: var(--border-bright); box-shadow: var(--shadow); }
.eco-icon.ui-icon-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: var(--grad-soft);
  border: 1px solid var(--border-bright);
  color: var(--green);
  margin-bottom: 16px;
  transition: transform 0.3s var(--ease), box-shadow 0.3s ease;
}
.eco-card:hover .eco-icon.ui-icon-wrap {
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
}
.eco-icon .ui-icon { width: 28px; height: 28px; }
.eco-icon { font-size: 48px; margin-bottom: 16px; }
.eco-card h3 { font-size: 24px; margin-bottom: 6px; }
.eco-tag { color: var(--green); font-size: 14px; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 20px; display: block; }
.eco-list { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.eco-list li { color: var(--text-dim); line-height: 1.7; position: relative; padding-left: 22px; }
.eco-list li::before { content: '✓'; position: absolute; left: 0; color: var(--green); font-weight: 700; }
.eco-note { max-width: 800px; margin: 0 auto; color: var(--text-dim); font-size: 14px; line-height: 1.7; text-align: center; }

/* ---------- Utilidad Grid ---------- */
.utilidad-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
}
.util-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  backdrop-filter: blur(12px);
  transition: transform 0.3s var(--ease), border-color 0.3s ease, box-shadow 0.3s ease;
}
.util-card:hover { transform: translateY(-6px); border-color: var(--border-bright); box-shadow: var(--shadow); }
.util-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--grad);
  color: #06090f;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 20px;
  margin-bottom: 16px;
}
.util-card h4 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  margin-bottom: 12px;
}
.util-title-icon {
  width: 22px;
  height: 22px;
  color: var(--purple);
  flex-shrink: 0;
}
.util-card p { color: var(--text-dim); line-height: 1.65; margin-bottom: 16px; }
.util-flow { display: flex; align-items: center; justify-content: center; gap: 8px; flex-wrap: wrap; margin: 16px 0; font-size: 13px; }
.uf-node { background: rgba(20, 241, 149, 0.1); border: 1px solid rgba(20, 241, 149, 0.3); padding: 6px 12px; border-radius: 8px; color: var(--green); font-weight: 600; }
.uf-node.uf-emi { background: rgba(153, 69, 255, 0.15); border-color: rgba(153, 69, 255, 0.4); color: var(--purple); }
.uf-arrow { color: var(--text-dimmer); }
.util-future { list-style: none; display: flex; flex-direction: column; gap: 8px; margin: 16px 0; }
.util-future li { color: var(--text-dim); font-size: 14px; position: relative; padding-left: 20px; }
.util-future li::before { content: '→'; position: absolute; left: 0; color: var(--green); }
.util-disclaimer { font-size: 12px; color: var(--text-dimmer); border-top: 1px solid var(--border); padding-top: 12px; margin-top: 8px; }

/* ---------- Flow Diagram ---------- */
.flow-diagram {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  max-width: 1200px;
  margin: 0 auto 32px;
}
.flow-col { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.flow-title { text-align: center; color: var(--green); font-size: 16px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 8px; }
.flow-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 28px;
  text-align: center;
  min-width: 200px;
  transition: all 0.3s var(--ease);
}
.flow-node-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  transition: transform 0.3s var(--ease), background 0.3s ease;
}
.flow-node-icon .ui-icon { width: 22px; height: 22px; }
.flow-node-label { font-weight: 600; }
.flow-node:hover { border-color: var(--border-bright); transform: scale(1.02); }
.flow-node:hover .flow-node-icon { transform: scale(1.08); }
.flow-node.flow-emilia { border-color: var(--purple); background: rgba(153, 69, 255, 0.05); }
.flow-node.flow-emilia .flow-node-icon { color: var(--purple); background: rgba(153, 69, 255, 0.12); }
.flow-node.flow-emi { border-color: var(--green); background: rgba(20, 241, 149, 0.05); color: var(--green); font-weight: 700; }
.flow-node.flow-emi .flow-node-icon { color: var(--green); background: rgba(20, 241, 149, 0.12); }
.flow-arrow { color: var(--green); font-size: 22px; animation: arrowPulse 2s ease-in-out infinite; }
@keyframes arrowPulse { 0%,100%{ opacity:1; transform:translateY(0);} 50%{ opacity:0.6; transform:translateY(4px);} }
.flow-note { max-width: 900px; margin: 0 auto; text-align: center; color: var(--text-dim); font-size: 14px; line-height: 1.7; }

/* ---------- Tokenomics Note ---------- */
.tokenomics-note { max-width: 900px; margin: 24px auto 0; color: var(--text-dim); font-size: 13px; line-height: 1.7; text-align: center; }

.tokenomics-wallets {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 18px;
  margin-top: 40px;
  align-items: stretch;
}

/* ---------- Wallets / transparencia ---------- */
.presale-disclaimer {
  max-width: 720px;
  margin: 12px auto 0;
  font-size: 13px;
  color: var(--text-dimmer);
  line-height: 1.65;
  text-align: center;
}
.ps-stats-row {
  display: flex;
  justify-content: center;
  gap: 12px 24px;
  flex-wrap: wrap;
  margin-top: 10px;
  font-size: 13px;
  color: var(--text-dim);
  text-align: center;
}
.ps-stats-row strong { color: var(--text); }
.wallets-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 18px;
  align-items: stretch;
}
.wallet-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  backdrop-filter: blur(12px);
  transition: border-color 0.25s ease, transform 0.25s var(--ease);
  display: flex;
  flex-direction: column;
  align-items: stretch;
  min-width: 0;
  overflow: hidden;
  text-align: center;
  height: 100%;
}
.wallet-card:hover {
  border-color: var(--border-bright);
  transform: translateY(-3px);
}
.wallet-card-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 8px;
  text-align: center;
}
.wallet-card-title { font-size: 16px; margin: 0; line-height: 1.3; }
.wallet-card-alloc {
  font-size: 12px;
  color: var(--green);
  font-weight: 600;
  white-space: normal;
  line-height: 1.35;
  max-width: 100%;
}
.wallet-card-alloc-muted { color: var(--text-dim); font-weight: 500; }
.wallet-card-note {
  font-size: 13px;
  color: var(--text-dim);
  line-height: 1.55;
  margin-bottom: 12px;
  max-width: 100%;
  text-wrap: pretty;
}
.wallet-card-addr {
  display: block;
  width: 100%;
  box-sizing: border-box;
  font-size: 11px;
  word-break: break-all;
  overflow-wrap: anywhere;
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px 12px;
  margin-bottom: 12px;
  line-height: 1.45;
  text-align: center;
}
.wallet-card-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  width: 100%;
  margin-top: auto;
}
.btn-sm { padding: 8px 14px; font-size: 13px; border-radius: 10px; }
.info-panel {
  max-width: 820px;
  margin: 0 auto;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  backdrop-filter: blur(12px);
}
.info-panel p { color: var(--text-dim); line-height: 1.7; margin-bottom: 14px; }
.info-panel-muted { font-size: 13px; color: var(--text-dimmer); }
.info-panel-accent { border-color: var(--border-bright); }

.whitepaper-cta-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.whitepaper-cta-logo {
  border-radius: 18px;
  box-shadow: 0 0 32px rgba(153, 69, 255, 0.35);
  flex-shrink: 0;
}
.whitepaper-cta-body h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin-bottom: 8px;
}
.whitepaper-cta-body p {
  color: var(--text-muted);
  margin-bottom: 16px;
  max-width: 52ch;
}
.whitepaper-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
@media (max-width: 640px) {
  .whitepaper-cta-inner { flex-direction: column; text-align: center; }
  .whitepaper-cta-actions { justify-content: center; }
}

.liquidity-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-bottom: 18px;
}
.info-label {
  display: block;
  font-size: 12px;
  color: var(--text-dimmer);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 4px;
}
.status-pill-soon {
  color: #ffb020;
  background: rgba(255, 176, 32, 0.12);
  border-color: rgba(255, 176, 32, 0.35);
}
.status-pill-active {
  color: var(--green);
  background: rgba(20, 241, 149, 0.12);
  border-color: rgba(20, 241, 149, 0.35);
}
.status-pill {
  display: inline-block;
  font-size: 13px;
  border-radius: 999px;
  padding: 4px 10px;
  border: 1px solid transparent;
}
.wallet-card-head-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  max-width: 100%;
}
.transparency-dashboard {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.transparency-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}
.transparency-stat {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
}
.transparency-stat strong { display: block; margin-top: 6px; font-size: 15px; }
.transparency-mint {
  display: block;
  font-size: 11px;
  word-break: break-all;
  margin: 8px 0;
  color: var(--text);
}
.transparency-dex-card {
  background: var(--card);
  border: 1px solid var(--border-bright);
  border-radius: var(--radius-lg);
  padding: 22px;
}
.transparency-dex-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}
.transparency-dex-head h3 { margin: 0; font-size: 18px; }
.transparency-dex-alloc { margin-bottom: 8px; color: var(--text); }
.transparency-tokenomics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
}
.transparency-tok-block {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 13px;
  align-items: center;
  text-align: center;
  min-width: 0;
  overflow: hidden;
}
.transparency-tok-block .wallet-card-addr {
  width: 100%;
  font-size: 10px;
}
.transparency-tok-block .wallet-card-actions {
  width: 100%;
  margin-top: 4px;
}
.transparency-tok-block .wallet-card-actions .btn-sm {
  font-size: 12px;
  padding: 7px 12px;
}
.transparency-tok-block strong { color: var(--text); }
.transparency-tok-block span { color: var(--green); }
.transparency-tok-addr {
  font-size: 10px;
  word-break: break-all;
  color: var(--text-dimmer);
  margin-top: 4px;
}
.wallet-card-role {
  font-size: 13px;
  color: var(--green);
  margin-bottom: 6px;
  font-weight: 500;
}
.ps-treasury-info {
  margin: 16px 0 8px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: 12px;
}
.ps-treasury-addr {
  display: block;
  font-size: 11px;
  word-break: break-all;
  margin-top: 6px;
  color: var(--text-dim);
}
.ps-receive-note {
  font-size: 13px;
  color: var(--text-dim);
  margin-bottom: 14px;
  line-height: 1.5;
}
.presale-risk { color: var(--text-dimmer); font-size: 13px; }

/* ---------- EMI Burn Mechanism (informativo) ---------- */
.burn-section {
  position: relative;
  padding-top: 80px;
  padding-bottom: 80px;
}
.burn-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 45% at 50% 0%, rgba(255, 120, 80, 0.07), transparent 65%);
  pointer-events: none;
}
.burn-proposed {
  display: block;
  margin-top: 8px;
  font-size: 13px;
  color: var(--text-dimmer);
  font-weight: 500;
}

.burn-layout {
  display: grid;
  grid-template-columns: 1.35fr 0.85fr;
  gap: 32px;
  align-items: start;
  margin-bottom: 56px;
  position: relative;
  z-index: 1;
}
.burn-lead {
  color: var(--text-dim);
  font-size: 17px;
  line-height: 1.8;
  margin: 0 auto 36px;
  max-width: 56ch;
  text-align: center;
}
.burn-lead em { color: var(--text); font-style: normal; font-weight: 500; }

.burn-pipeline {
  display: flex;
  align-items: stretch;
  gap: 8px;
  flex-wrap: nowrap;
  overflow-x: auto;
  padding-bottom: 8px;
  scrollbar-width: thin;
}
.burn-pipe-step {
  flex: 1 1 0;
  min-width: 118px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 14px;
  text-align: center;
  backdrop-filter: blur(12px);
  transition: border-color 0.25s ease, transform 0.25s var(--ease);
}
.burn-pipe-step:hover {
  border-color: var(--border-bright);
  transform: translateY(-3px);
}
.burn-pipe-step-burn {
  border-color: rgba(255, 120, 80, 0.35);
  background: linear-gradient(180deg, rgba(255, 100, 70, 0.1), var(--card));
}
.burn-pipe-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: var(--grad);
  color: #06090f;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 12px;
}
.burn-pipe-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin: 0 auto 10px;
  border-radius: 14px;
  background: rgba(153, 69, 255, 0.1);
  border: 1px solid var(--border-bright);
  color: var(--purple);
  line-height: 1;
  transition: transform 0.3s var(--ease), box-shadow 0.3s ease;
}
.burn-pipe-icon .ui-icon { width: 26px; height: 26px; }
.burn-pipe-step:hover .burn-pipe-icon {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(153, 69, 255, 0.25);
}
.burn-pipe-step-burn .burn-pipe-icon {
  color: #f97316;
  background: rgba(249, 115, 22, 0.12);
  border-color: rgba(249, 115, 22, 0.35);
}
.burn-pipe-step h4 {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}
.burn-pipe-step p {
  font-size: 12px;
  color: var(--text-dim);
  line-height: 1.5;
}
.burn-pipe-connector {
  flex: 0 0 auto;
  align-self: center;
  color: var(--green);
  font-size: 18px;
  opacity: 0.7;
  padding: 0 2px;
}

.burn-aside {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 28px 24px;
  backdrop-filter: blur(12px);
  position: sticky;
  top: 100px;
}
.burn-aside-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-dimmer);
  margin-bottom: 8px;
  font-weight: 600;
}
.burn-aside-title {
  font-size: 20px;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}
.burn-aside-stats { margin: 0 0 16px; }
.burn-aside-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}
.burn-aside-row:first-of-type { padding-top: 0; }
.burn-aside-row dt {
  font-size: 13px;
  color: var(--text-dim);
  flex: 1;
  min-width: 0;
}
.burn-aside-row dd {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 15px;
  color: var(--text);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.burn-aside-row-total {
  border-bottom: none;
  padding-top: 16px;
  margin-top: 4px;
}
.burn-aside-row-total dt { color: var(--text); font-weight: 500; }
.burn-aside-row-total dd { color: var(--green); font-size: 17px; }
.burn-aside-foot {
  font-size: 13px;
  color: var(--text-dimmer);
  line-height: 1.65;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}
.burn-aside-foot strong { color: var(--text-dim); }

.burn-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 48px;
  position: relative;
  z-index: 1;
}
.burn-panel {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  backdrop-filter: blur(12px);
}
.burn-panel-title {
  font-size: 20px;
  margin-bottom: 14px;
  letter-spacing: -0.02em;
}
.burn-panel p {
  color: var(--text-dim);
  font-size: 15px;
  line-height: 1.75;
  margin-bottom: 20px;
}
.burn-mini-flow { margin-bottom: 0; flex-wrap: wrap; }
.burn-trust-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 0;
}
.burn-trust-list li {
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.55;
  padding-left: 0;
  text-align: center;
}
.burn-trust-list li + li {
  padding-top: 14px;
  margin-top: 14px;
  border-top: 2px solid rgba(20, 241, 149, 0.35);
}
.burn-trust-list strong {
  display: block;
  color: var(--text);
  font-size: 13px;
  margin-bottom: 2px;
}

.burn-dashboard {
  max-width: 100%;
  margin-bottom: 32px;
  padding: 28px 32px;
  background: rgba(7, 11, 20, 0.45);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  position: relative;
  z-index: 1;
}
.burn-dashboard-head {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 24px;
  flex-wrap: wrap;
  text-align: center;
}
.burn-dashboard-head h3 {
  font-size: 18px;
  margin: 0;
  letter-spacing: -0.02em;
}
.burn-dashboard-soon {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-dimmer);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 5px 12px;
}
.burn-dashboard-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.burn-stat {
  padding: 18px 16px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-align: center;
}
.burn-stat-label {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--text-dimmer);
  margin-bottom: 8px;
  font-weight: 600;
}
.burn-stat-val {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 22px;
  font-weight: 600;
  color: var(--text-dimmer);
}

.burn-note {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
  color: var(--text-dimmer);
  font-size: 13px;
  line-height: 1.75;
  padding: 20px 24px;
  border-top: 1px solid var(--border);
  position: relative;
  z-index: 1;
}
.burn-note strong { color: var(--text-dim); font-weight: 600; }

/* ---------- Roadmap Fases ---------- */
.fases { display: flex; flex-direction: column; gap: 24px; max-width: 900px; margin: 0 auto; }
.fase { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 32px; backdrop-filter: blur(12px); transition: all 0.3s var(--ease); }
.fase:hover { border-color: var(--border-bright); transform: translateY(-4px); box-shadow: var(--shadow); }
.fase.active { border-color: var(--green); box-shadow: 0 0 30px rgba(20, 241, 149, 0.15); }
.fase.fase-emi { border-left: 4px solid var(--purple); }
.fase-head { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; margin-bottom: 20px; text-align: center; }
.fase-badge { background: var(--grad); color: #06090f; font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 12px; text-transform: uppercase; padding: 6px 14px; border-radius: 100px; letter-spacing: 1px; }
.fase-badge.fase-emi { background: linear-gradient(135deg, var(--purple), var(--pink)); }
.fase-head h4 { font-size: 22px; }
.fase-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.fase-list li { color: var(--text-dim); line-height: 1.6; position: relative; padding-left: 22px; font-size: 14px; }
.fase-list li::before { content: '▸'; position: absolute; left: 0; color: var(--green); font-weight: 700; }
.fase-note { margin-top: 16px; color: var(--text-dimmer); font-size: 12px; }
.fase-flow {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  text-align: center;
}
.ff-node { background: rgba(7, 11, 20, 0.5); border: 1px solid var(--border); padding: 8px 16px; border-radius: 8px; font-size: 13px; color: var(--text); }
.ff-node.ff-emi { border-color: var(--green); background: rgba(20, 241, 149, 0.1); color: var(--green); font-weight: 700; }
.ff-arrow { color: var(--green); }

/* ---------- Security Grid ---------- */
.security-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; max-width: 1000px; margin: 0 auto; }
.sec-item { display: flex; flex-direction: column; align-items: center; gap: 14px; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; backdrop-filter: blur(12px); transition: all 0.3s var(--ease); text-align: center; }
.sec-item:hover { border-color: var(--border-bright); transform: translateY(-4px); box-shadow: var(--shadow); }
.sec-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(153, 69, 255, 0.08);
  border: 1px solid var(--border-bright);
  color: var(--green);
  flex-shrink: 0;
  transition: transform 0.3s var(--ease), box-shadow 0.3s ease;
}
.sec-item:hover .sec-icon {
  transform: translateY(-3px);
  box-shadow: var(--shadow-glow);
}
.sec-icon .ui-icon { width: 24px; height: 24px; }
.sec-item strong { display: block; margin-bottom: 4px; }
.sec-item p { color: var(--text-dim); font-size: 13px; line-height: 1.6; }
.sec-note { max-width: 900px; margin: 24px auto 0; text-align: center; color: var(--text-dimmer); font-size: 13px; }

/* ---------- Disclaimer ---------- */
.disclaimer-section { padding-top: 48px; }
.disclaimer-box { max-width: 800px; margin: 0 auto; background: rgba(239, 68, 68, 0.05); border: 1px solid rgba(239, 68, 68, 0.2); border-radius: var(--radius); padding: 32px; }
.disclaimer-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #ef4444;
  margin-bottom: 16px;
  font-size: 18px;
  text-align: center;
}
.disclaimer-title-icon { width: 22px; height: 22px; flex-shrink: 0; }
.disclaimer-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.disclaimer-list li { color: var(--text-dim); line-height: 1.6; position: relative; padding-left: 18px; font-size: 14px; }
.disclaimer-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ef4444;
  opacity: 0.85;
}

/* ---------- PS Note ---------- */
.ps-note { max-width: 900px; margin: 24px auto 0; text-align: center; color: var(--text-dim); font-size: 13px; }

/* ---------- Responsive para nuevas secciones ---------- */
@media (max-width: 900px) {
  .eco-split { grid-template-columns: 1fr; }
  .utilidad-grid { grid-template-columns: 1fr; }
  .flow-diagram { grid-template-columns: 1fr; gap: 32px; }
  .security-grid { grid-template-columns: 1fr; }
  .fase:hover { transform: translateY(-4px); }
  .burn-layout { grid-template-columns: 1fr; gap: 40px; }
  .burn-aside { position: static; }
  .burn-grid { grid-template-columns: 1fr; }
  .burn-dashboard-stats { grid-template-columns: repeat(2, 1fr); }
  .burn-pipe-connector { display: none; }
  .burn-pipeline {
    flex-direction: column;
    overflow-x: visible;
    gap: 0;
  }
  .burn-pipe-step {
    min-width: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-align: center;
    padding: 18px 20px;
  }
  .burn-pipe-num { margin: 0; }
  .burn-pipe-icon { margin: 0 auto; width: 40px; height: 40px; }
  .burn-pipe-step h4 { margin: 0; }
  .burn-pipe-step p { margin: 0; }
}
@media (max-width: 640px) {
  .eco-card, .util-card, .fase, .sec-item { padding: 24px; }
  .flow-node { min-width: auto; width: 100%; }
  .flow-diagram { gap: 24px; }
  .util-flow { font-size: 12px; }
  .ff-node { font-size: 12px; padding: 6px 12px; }
  .disclaimer-box { padding: 24px; }
  .burn-dashboard-stats { grid-template-columns: 1fr; }
  .burn-panel { padding: 24px; }
}

/* ============================================================
   CENTRADO GLOBAL — textos y bloques de contenido
   (navbar y rail social mantienen su layout)
   ============================================================ */

.section,
.hero-inner,
.presale-card,
.eco-card,
.util-card,
.how-card,
.wallet-card,
.transparency-stat,
.transparency-dex-card,
.transparency-tok-block,
.info-panel,
.fase,
.sec-item,
.faq-item,
.disclaimer-box,
.burn-main,
.burn-aside,
.burn-panel,
.ps-treasury-info,
.ps-phase-item,
.table-wrap {
  text-align: center;
}

.section p,
.section li,
.eco-card p,
.util-card p,
.how-card p,
.wallet-card-note,
.info-panel p,
.burn-lead,
.ps-receive-note,
.presale-disclaimer,
.presale-risk {
  text-align: center;
}

/* Listas centradas */
.eco-list,
.util-future,
.fase-list {
  align-items: center;
}
.eco-list li,
.util-future li,
.fase-list li {
  padding-left: 0;
  text-align: center;
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
}
.eco-list li::before,
.util-future li::before {
  position: static;
  display: inline-block;
  margin-right: 6px;
}
.fase-list li::before {
  position: static;
  display: inline-block;
  margin-right: 6px;
}

/* Iconos y títulos en cards */
.eco-icon.ui-icon-wrap,
.util-num,
.how-num {
  margin-left: auto;
  margin-right: auto;
}
.util-card h4 {
  justify-content: center;
  text-align: center;
}

/* Preventa — filas y pie */
.ps-progress-head,
.ps-progress-foot,
.ps-stats-row,
.ps-footer,
.ps-limits {
  justify-content: center;
  text-align: center;
}
.ps-stats-row span,
.ps-limits span {
  text-align: center;
}
.ps-label {
  text-align: center;
}
.ps-input-wrap input {
  text-align: center;
}
.ps-hint,
.ps-tx,
.ps-tx p {
  text-align: center;
}
.ps-treasury-addr {
  text-align: center;
}

/* Tokenomics leyenda */
.pie-legend {
  align-items: center;
  margin-left: auto;
  margin-right: auto;
}
.legend-item {
  justify-content: center;
  text-align: center;
}

/* Tabla precios */
.price-table th,
.price-table td {
  text-align: center;
}

/* Wallets oficiales */
.wallets-grid {
  justify-items: stretch;
}
.wallet-card-head {
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.wallet-card-head-meta {
  justify-content: center;
}
.wallet-card-actions {
  justify-content: center;
}
.wallet-card-addr,
.transparency-mint,
.wallet-card-role {
  text-align: center;
}

/* Transparencia */
.transparency-dashboard,
.transparency-row,
.transparency-tokenomics {
  justify-items: center;
}
.transparency-stat,
.transparency-tok-block {
  width: 100%;
  text-align: center;
}
.transparency-dex-head {
  justify-content: center;
  flex-wrap: wrap;
  text-align: center;
}
.transparency-stat strong,
.transparency-dex-alloc {
  text-align: center;
}

.liquidity-stats {
  justify-items: center;
  text-align: center;
}

/* Seguridad */
.sec-item {
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.sec-item strong,
.sec-item p {
  text-align: center;
}

/* Roadmap */
.fase-head {
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 10px;
}
.fase:hover {
  transform: translateY(-4px);
}
.fase-note,
.fase-flow {
  text-align: center;
}

/* FAQ */
.faq-item summary {
  justify-content: center;
  text-align: center;
  gap: 12px;
}
.faq-item summary::after {
  margin-left: 8px;
}
.faq-item p {
  text-align: center;
}

/* Burn */
.burn-layout {
  justify-items: center;
}
.burn-lead {
  max-width: 52rem;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.burn-pipeline {
  justify-content: center;
  width: 100%;
}
.burn-aside-stats,
.burn-aside-row {
  text-align: center;
}
.burn-aside-row {
  justify-content: center;
}

/* Disclaimer listas */
.disclaimer-list li {
  text-align: center;
  padding-left: 0;
}
.disclaimer-list li::before {
  position: static;
  display: inline-block;
  margin-right: 8px;
  vertical-align: middle;
}
.disclaimer-title {
  justify-content: center;
}

/* Modal wallet */
.wallet-option {
  justify-content: center;
  text-align: center;
}
.wallet-option:hover {
  transform: translateY(-2px);
}

/* Navbar: layout horizontal propio (no hereda centrado del body) */
.nav {
  text-align: left;
}

.util-disclaimer,
.eco-card h3,
.eco-tag,
.how-card h4,
.wallet-card-title,
.burn-proposed,
.info-label {
  text-align: center;
}

/* Nav móvil centrado */
@media (max-width: 900px) {
  .nav-links {
    align-items: center;
    text-align: center;
  }
  .nav-links a {
    text-align: center;
  }
}
