/* =========================================================================
   Lulo Trades — Sistema de diseño LUXURY (obsidiana + champagne)
   Inspirado en el lenguaje visual de 120 Brothers: Cormorant Garamond
   (display) · Josefin Sans (labels) · DM Sans (cuerpo). Negro profundo,
   un solo acento dorado, mucho aire. El verde/rojo/ámbar se reservan
   EXCLUSIVAMENTE para el dato financiero (regla inviolable).
   ========================================================================= */

:root {
  /* Fondo / superficies */
  --bg-0: #080808;
  --bg-1: #0e0e0e;
  --surface: #141414;
  --surface-2: #101010;
  --border: rgba(255, 255, 255, 0.07);
  --border-strong: rgba(255, 255, 255, 0.16);

  /* Texto (crema cálida) */
  --text: #f5f0eb;
  --muted: #8a8a8a;
  --faint: #555555;

  /* Acento champagne (chrome / interacción / marca) */
  --accent: #c9a96e;
  --accent-2: #e3cd9b;
  --accent-dim: rgba(201, 169, 110, 0.12);
  --accent-glow: rgba(201, 169, 110, 0.07);
  --grad-gold: linear-gradient(135deg, #e3cd9b 0%, #c9a96e 50%, #a37e44 100%);

  /* Semántica direccional — SOLO datos financieros (inviolable) */
  --bull: #34d399;
  --bear: #f4536b;
  --neutral: #e0a93f;
  --cyan: #c9a96e;          /* alias: en este tema el "interactivo" es dorado */

  /* Gradientes de estado (orbe, banners, barras) */
  --grad-accent: var(--grad-gold);
  --grad-bull: linear-gradient(135deg, #0f9d6b 0%, #34d399 100%);
  --grad-bear: linear-gradient(135deg, #c2334b 0%, #f4536b 100%);
  --grad-neutral: linear-gradient(135deg, #b07f29 0%, #e0a93f 100%);

  /* Tipografía */
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-label: 'Josefin Sans', sans-serif;
  --font-body: 'DM Sans', -apple-system, "Segoe UI", sans-serif;

  /* Radios (lujo = discreto) */
  --r-sm: 6px;
  --r-md: 8px;
  --r-lg: 12px;

  /* Sombras / glows */
  --shadow-card: 0 30px 60px -40px rgba(0, 0, 0, 0.95);
  --glow-bull: 0 0 0 1px rgba(52, 211, 153, 0.3), 0 0 26px -8px rgba(52, 211, 153, 0.4);
  --glow-bear: 0 0 0 1px rgba(244, 83, 107, 0.3), 0 0 26px -8px rgba(244, 83, 107, 0.4);
  --glow-neutral: 0 0 0 1px rgba(224, 169, 63, 0.3), 0 0 26px -8px rgba(224, 169, 63, 0.4);
  --glow-accent: 0 0 30px -6px rgba(201, 169, 110, 0.45);

  --ease: cubic-bezier(0.16, 1, 0.3, 1);

  /* Parallax (lo setea app.js) */
  --par-scroll: 0px; --par-mx: 0px; --par-my: 0px;
}

* { box-sizing: border-box; }
html { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; scroll-behavior: smooth; }
html, body { margin: 0; }

body {
  font-family: var(--font-body);
  font-weight: 300;
  color: var(--text);
  background: var(--bg-0);
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  letter-spacing: 0.01em;
}

/* ---- Fondo: obsidiana + un único halo dorado muy sutil arriba ---- */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(900px 540px at 50% -10%, rgba(201, 169, 110, 0.10), transparent 60%),
    radial-gradient(700px 500px at 100% 0%, rgba(201, 169, 110, 0.04), transparent 55%),
    linear-gradient(180deg, var(--bg-1) 0%, var(--bg-0) 70%);
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  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(1100px 600px at 50% 0%, #000 20%, transparent 78%);
  -webkit-mask-image: radial-gradient(1100px 600px at 50% 0%, #000 20%, transparent 78%);
}

/* ---- Aurora dorada (un solo blob, ambiental, con parallax) ---- */
.aurora {
  position: fixed; inset: -10%; z-index: -1; overflow: hidden; pointer-events: none;
  transform: translate3d(calc(var(--par-mx) * 0.5), calc(var(--par-scroll) * 0.1 + var(--par-my) * 0.5), 0);
  will-change: transform;
}
.aurora span {
  position: absolute; border-radius: 50%; filter: blur(120px);
  background: var(--accent); opacity: 0.05;
  animation: drift 46s var(--ease) infinite alternate;
}
.aurora span:nth-child(1) { width: 540px; height: 540px; top: -160px; left: 8%; }
.aurora span:nth-child(2) { width: 420px; height: 420px; top: 24%; right: -60px; animation-delay: -12s; opacity: 0.035; }
.aurora span:nth-child(3) { display: none; }
.aurora span:nth-child(4) { display: none; }

@keyframes drift {
  0%   { transform: translate3d(0, 0, 0) scale(1); }
  100% { transform: translate3d(30px, 40px, 0) scale(1.15); }
}

/* =========================================================================
   Layout + cabecera + pestañas
   ========================================================================= */
.shell { max-width: 1240px; margin: 0 auto; padding: 40px 32px 80px; position: relative; }

.display {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.08;
}

.eyebrow {
  font-family: var(--font-label);
  font-weight: 400;
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--accent);
}

/* Pestañas de navegación */
.tab-nav {
  display: flex; gap: 36px; align-items: center;
  border-bottom: 1px solid var(--border);
  margin: 28px 0 36px;
}
.tabbtn {
  font-family: var(--font-label);
  font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--muted); background: none; border: none; cursor: pointer;
  padding: 0 0 16px; position: relative; transition: color 0.3s var(--ease);
}
.tabbtn::after {
  content: ""; position: absolute; left: 0; bottom: -1px; height: 1px; width: 0;
  background: var(--accent); transition: width 0.4s var(--ease);
}
.tabbtn:hover { color: var(--text); }
.tabbtn.active { color: var(--text); }
.tabbtn.active::after { width: 100%; }

.tab-panel { animation: fadeUp 0.5s var(--ease); }

/* ---- Tarjeta ---- */
.card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-card);
  padding: 28px 30px;
  transition: border-color 0.4s var(--ease), transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
@media (hover: hover) {
  .card.is-hoverable:hover { border-color: var(--border-strong); }
}

.card-title {
  font-family: var(--font-label);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--text);
  font-weight: 400;
  margin: 0 0 18px;
}

/* Línea dorada que crece (divisor de lujo) */
.gold-rule { height: 1px; border: 0; margin: 0; background: linear-gradient(90deg, var(--accent), transparent); opacity: 0.45; }

/* Texto explicativo (en la pestaña "Cómo funciona") */
.card-sub { font-size: 14px; line-height: 1.7; color: var(--muted); margin: -6px 0 18px; max-width: 70ch; font-weight: 300; }
.card-sub b { color: var(--text); font-weight: 400; }
.card-sub .k { color: var(--accent); font-weight: 400; }

/* ---- Inputs ---- */
.field-label {
  display: block; font-family: var(--font-label); font-size: 10px;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); margin-bottom: 9px;
}
.input, .select {
  width: 100%;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  padding: 12px 14px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 15px;
  font-variant-numeric: tabular-nums;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.input:focus-visible, .select:focus-visible {
  outline: none; border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-dim);
}
.input.uppercase { text-transform: uppercase; letter-spacing: 0.05em; }

/* ---- Botón (contorno dorado, relleno que entra en hover) ---- */
.btn {
  position: relative; width: 100%;
  border: 1px solid var(--accent);
  border-radius: var(--r-sm);
  padding: 13px 18px;
  font-family: var(--font-label);
  font-weight: 400; font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--accent); background: transparent; cursor: pointer;
  overflow: hidden; z-index: 0;
  transition: color 0.4s var(--ease);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--grad-gold); transform: translateX(-101%);
  transition: transform 0.45s var(--ease);
}
.btn:hover { color: #1a130a; }
.btn:hover::before { transform: translateX(0); }
.btn:active { transform: scale(0.99); }
.btn:disabled { opacity: 0.5; cursor: progress; }

/* ---- Badge de voto ---- */
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-label);
  font-size: 11px; font-weight: 400; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 5px 11px; border-radius: 999px; white-space: nowrap;
  border: 1px solid transparent;
}
.badge[data-tone="bull"] { color: var(--bull); background: rgba(52, 211, 153, 0.1); border-color: rgba(52, 211, 153, 0.28); }
.badge[data-tone="bear"] { color: var(--bear); background: rgba(244, 83, 107, 0.1); border-color: rgba(244, 83, 107, 0.28); }
.badge[data-tone="neutral"] { color: var(--neutral); background: rgba(224, 169, 63, 0.1); border-color: rgba(224, 169, 63, 0.28); }
.badge[data-tone="muted"] { color: var(--muted); background: rgba(255, 255, 255, 0.05); border-color: var(--border); }

/* ---- Stat tile ---- */
.tile {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 16px 14px; text-align: center;
  transition: border-color 0.3s var(--ease);
}
@media (hover: hover) { .tile:hover { border-color: var(--border-strong); } }
.tile .t-label { font-family: var(--font-label); font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.tile .t-value { font-family: var(--font-display); font-size: 26px; font-weight: 600; font-variant-numeric: tabular-nums; line-height: 1; }
.tile.is-danger { box-shadow: inset 0 0 0 1px rgba(244, 83, 107, 0.22); }
.tone-bull { color: var(--bull); }
.tone-bear { color: var(--bear); }
.tone-neutral { color: var(--neutral); }
.tone-accent { color: var(--accent); }
.tone-text { color: var(--text); }

/* ---- Banner ---- */
.banner {
  display: flex; align-items: center; gap: 10px;
  border-radius: var(--r-md); padding: 13px 16px; font-size: 14px; font-weight: 300;
  border: 1px solid transparent;
}
.banner[data-tone="bull"] { color: #9ef0cd; background: rgba(52, 211, 153, 0.08); border-color: rgba(52, 211, 153, 0.25); }
.banner[data-tone="bear"] { color: #fbb5c0; background: rgba(244, 83, 107, 0.08); border-color: rgba(244, 83, 107, 0.25); }
.banner[data-tone="neutral"] { color: #f0d9a8; background: rgba(224, 169, 63, 0.08); border-color: rgba(224, 169, 63, 0.25); }

/* ---- Dimensión ---- */
.dim {
  display: flex; gap: 14px; align-items: flex-start;
  background: var(--surface-2); border: 1px solid var(--border);
  border-radius: var(--r-md); padding: 14px 16px;
  transition: border-color 0.3s var(--ease);
}
@media (hover: hover) { .dim:hover { border-color: var(--border-strong); } }
.dim .d-head { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.dim .d-name { font-weight: 400; }
.dim .d-meta { font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
.dim .d-why { font-size: 13px; color: var(--muted); margin-top: 5px; font-weight: 300; }
.dim .d-bar { height: 3px; border-radius: 999px; background: rgba(255, 255, 255, 0.08); margin-top: 10px; overflow: hidden; }
.dim .d-bar > i { display: block; height: 100%; border-radius: 999px; width: 0; transition: width 0.8s var(--ease); }
.fill-bull { background: var(--grad-bull); }
.fill-bear { background: var(--grad-bear); }
.fill-neutral { background: var(--grad-neutral); }

/* ---- Source chip ---- */
.chip {
  display: flex; align-items: center; gap: 10px;
  background: var(--surface-2); border: 1px solid var(--border);
  border-radius: var(--r-sm); padding: 11px 14px; font-size: 14px; font-weight: 300;
}
.chip .dot { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.dot-real { background: var(--bull); box-shadow: 0 0 10px 0 rgba(52, 211, 153, 0.7); animation: pulse 2.4s infinite; }
.dot-demo { background: var(--neutral); box-shadow: 0 0 10px 0 rgba(224, 169, 63, 0.7); animation: pulse 2.4s infinite; }
.dot-down { background: var(--bear); }
.dot-off { background: var(--faint); }
.chip .chip-tag { margin-left: auto; font-family: var(--font-label); font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; padding: 3px 9px; border-radius: 999px; background: rgba(255, 255, 255, 0.05); color: var(--muted); }

@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }

/* ---- Mode badge ---- */
.mode-badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-label); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 8px 14px; border-radius: 999px; border: 1px solid var(--border);
}
.mode-badge[data-mode="real"] { color: var(--bull); background: rgba(52, 211, 153, 0.08); border-color: rgba(52, 211, 153, 0.25); }
.mode-badge[data-mode="demo"] { color: var(--neutral); background: rgba(224, 169, 63, 0.08); border-color: rgba(224, 169, 63, 0.25); }

/* =========================================================================
   Gráfica de precio (Lightweight Charts)
   ========================================================================= */
.price-chart {
  position: relative; width: 100%; height: 400px;
  border: 1px solid var(--border); border-radius: var(--r-md);
  background: var(--surface-2); overflow: hidden;
}
.chart-empty {
  display: grid; place-items: center; height: 200px;
  color: var(--muted); font-size: 14px; font-weight: 300;
  border: 1px dashed var(--border); border-radius: var(--r-md);
}
.chart-legend { display: flex; flex-wrap: wrap; gap: 14px; font-family: var(--font-label); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.chart-legend .lg { display: inline-flex; align-items: center; gap: 6px; }
.chart-legend .lg i { width: 14px; height: 2px; border-radius: 2px; display: inline-block; }

/* =========================================================================
   Héroe de confianza (orbe 3D + fallback)
   ========================================================================= */
.orb-wrap {
  position: relative; width: 140px; height: 140px; flex: none;
  transform: translate3d(calc(var(--par-mx) * -0.4), calc(var(--par-my) * -0.4), 0);
}
.orb-wrap canvas { width: 100% !important; height: 100% !important; display: block; }
.orb-fallback {
  position: absolute; inset: 0; border-radius: 50%; display: none; place-items: center;
  background: conic-gradient(var(--ring-color, var(--neutral)) calc(var(--ring, 0) * 1%), rgba(255,255,255,0.08) 0);
  mask: radial-gradient(circle at center, transparent 54%, #000 55%);
  -webkit-mask: radial-gradient(circle at center, transparent 54%, #000 55%);
}
.orb-wrap.is-fallback .orb-fallback { display: grid; }
.orb-fallback span { font-family: var(--font-display); font-size: 28px; font-weight: 600; font-variant-numeric: tabular-nums; }

.conf-num { font-family: var(--font-display); font-size: 52px; font-weight: 600; line-height: 1; font-variant-numeric: tabular-nums; }

.bars-wrap { position: relative; width: 100%; height: 200px; }
.bars-wrap canvas { width: 100% !important; height: 100% !important; display: block; }
.bars-labels { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-top: 6px; }
.bars-labels span { font-family: var(--font-label); font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); text-align: center; }

/* =========================================================================
   Animaciones de entrada
   ========================================================================= */
.reveal { opacity: 0; transform: translateY(16px); }
.reveal.in { animation: fadeUp 0.6s var(--ease) forwards; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }

.skeleton { position: relative; overflow: hidden; background: rgba(255, 255, 255, 0.04); border-radius: var(--r-md); }
.skeleton::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent, rgba(201, 169, 110, 0.06), transparent);
  transform: translateX(-100%); animation: shimmer 1.5s infinite;
}
@keyframes shimmer { to { transform: translateX(100%); } }

/* =========================================================================
   Tarjetas de oportunidad (escáner)
   ========================================================================= */
.opp-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; }
.opp-card {
  text-align: left; cursor: pointer; font: inherit; color: var(--text);
  background: var(--surface-2); border: 1px solid var(--border);
  border-radius: var(--r-md); padding: 18px;
  display: flex; flex-direction: column; gap: 10px;
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
@media (hover: hover) {
  .opp-card:hover { transform: translateY(-3px); border-color: var(--accent); box-shadow: var(--glow-accent); }
  .opp-card:hover .opp-cta { opacity: 1; transform: translateX(0); }
}
.opp-card:focus-visible { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-dim); }
.opp-top { display: flex; align-items: center; gap: 10px; }
.opp-rank { font-family: var(--font-label); font-size: 10px; letter-spacing: 0.1em; color: var(--muted); background: rgba(255,255,255,0.05); border-radius: 999px; padding: 3px 9px; }
.opp-sym { font-family: var(--font-display); font-size: 24px; font-weight: 600; letter-spacing: 0; }
.opp-score { margin-left: auto; font-family: var(--font-display); font-size: 22px; font-weight: 600; font-variant-numeric: tabular-nums; color: var(--accent); }
.opp-meta { font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; font-weight: 300; }
.opp-meta b { font-variant-numeric: tabular-nums; color: var(--text); font-weight: 400; }
.opp-levels { display: flex; gap: 12px; flex-wrap: wrap; font-size: 13px; font-variant-numeric: tabular-nums; padding-top: 10px; border-top: 1px solid var(--border); font-weight: 300; }
.opp-foot { font-size: 13px; color: var(--muted); display: flex; align-items: center; gap: 7px; font-variant-numeric: tabular-nums; font-weight: 300; }
.opp-cta { margin-left: auto; color: var(--accent); opacity: 0; transform: translateX(-4px); transition: opacity 0.3s var(--ease), transform 0.3s var(--ease); }

/* =========================================================================
   Fundamental / macro / noticias
   ========================================================================= */
.sub-label { font-family: var(--font-label); font-size: 10px; text-transform: uppercase; letter-spacing: 0.18em; color: var(--muted); font-weight: 400; margin-bottom: 12px; }

.earn-line { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; font-size: 14px; font-weight: 300; padding: 14px 16px; background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--r-md); }
.earn-line.earn-danger { border-color: rgba(244, 83, 107, 0.4); box-shadow: inset 0 0 0 1px rgba(244, 83, 107, 0.18); }
.earn-ic { font-size: 16px; }

.macro-tile { background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--r-md); padding: 14px 16px; }
.macro-tile .m-name { font-family: var(--font-label); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.macro-tile .m-value { font-family: var(--font-display); font-size: 26px; font-weight: 600; font-variant-numeric: tabular-nums; margin: 4px 0; }
.macro-tile .m-foot { font-size: 11px; color: var(--faint); font-weight: 300; }

.event-row { display: flex; align-items: center; gap: 10px; background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--r-sm); padding: 11px 14px; font-size: 14px; font-weight: 300; }
.event-row .ev-time { font-variant-numeric: tabular-nums; color: var(--muted); font-size: 13px; min-width: 64px; }
.event-row .ev-name { color: var(--text); }

.news-row { display: flex; gap: 12px; align-items: flex-start; background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--r-md); padding: 13px 15px; transition: border-color 0.3s var(--ease); }
@media (hover: hover) { .news-row:hover { border-color: var(--border-strong); } }
.news-row .news-body { flex: 1; }
.news-row .news-head { font-size: 14px; line-height: 1.5; font-weight: 300; }
.news-row .news-meta { font-size: 12px; color: var(--muted); margin-top: 4px; }

.excl-earn { display: inline-flex; align-items: center; gap: 9px; font-size: 13px; color: var(--muted); margin-bottom: 14px; cursor: pointer; user-select: none; font-weight: 300; }
.excl-earn input { accent-color: var(--accent); width: 15px; height: 15px; }

/* =========================================================================
   Síntesis del analista IA
   ========================================================================= */
#aiCard { background: linear-gradient(180deg, var(--accent-glow), var(--surface)); }
.ai-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 14px; }
.ai-conf { margin-left: auto; font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
.ai-tesis { font-size: 16px; line-height: 1.75; margin: 0 0 18px; font-weight: 300; color: var(--text); }
.ai-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 16px; }
.ai-col { background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--r-md); padding: 14px 16px; }
.ai-col-h { font-family: var(--font-label); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 400; margin-bottom: 10px; }
.ai-col ul { margin: 0; padding-left: 16px; }
.ai-col li { font-size: 13.5px; line-height: 1.6; color: var(--text); margin-bottom: 6px; font-weight: 300; }
.ai-foot { margin-top: 16px; font-size: 11px; color: var(--faint); font-weight: 300; }

/* =========================================================================
   Guía / "Cómo funciona" (pestaña)
   ========================================================================= */
.guide-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 24px; }
.guide-step { display: flex; gap: 16px; align-items: flex-start; }
.guide-step .gs-num {
  flex: none; width: 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center; font-family: var(--font-display); font-weight: 600; font-size: 18px;
  color: var(--accent); border: 1px solid var(--accent);
}
.guide-step .gs-title { font-family: var(--font-label); font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 6px; }
.guide-step .gs-body { font-size: 14px; color: var(--muted); line-height: 1.65; font-weight: 300; }

.asset-help {
  display: flex; gap: 12px; align-items: flex-start;
  margin-top: 16px; padding: 16px 18px;
  background: var(--surface-2); border: 1px solid var(--border);
  border-radius: var(--r-md); font-size: 14px; line-height: 1.7; color: var(--muted); font-weight: 300;
}
.asset-help .ah-ic { font-size: 18px; line-height: 1.3; }
.asset-help b { color: var(--text); font-weight: 400; }
.term { border-bottom: 1px dotted var(--accent); cursor: help; color: var(--text); }

.glossary { display: grid; gap: 18px; }
.glossary .g-item { padding-bottom: 18px; border-bottom: 1px solid var(--border); }
.glossary .g-item:last-child { border-bottom: 0; padding-bottom: 0; }
.glossary .g-term { font-family: var(--font-label); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); margin-bottom: 8px; }
.glossary .g-def { font-size: 14px; line-height: 1.7; color: var(--muted); font-weight: 300; }
.glossary .g-def b { color: var(--text); font-weight: 400; }

/* ---- Gate de registro (lead) ---- */
.lead-gate {
  position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 24px;
  background: rgba(4, 4, 4, 0.74);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  animation: fadeUp 0.3s var(--ease);
}
.lead-card {
  width: 100%; max-width: 460px;
  background: var(--surface); border: 1px solid var(--border-strong);
  border-radius: var(--r-lg); padding: 36px;
  box-shadow: var(--shadow-card), var(--glow-accent);
}

.hidden { display: none !important; }

/* Responsive */
@media (max-width: 640px) {
  .shell { padding: 28px 18px 64px; }
  .card { padding: 22px 20px; }
  .tab-nav { gap: 24px; }
}

/* Respeta usuarios sensibles al movimiento */
@media (prefers-reduced-motion: reduce) {
  .aurora span, .btn::before, .reveal.in, .skeleton::after, .dot-real, .dot-demo, .tab-panel { animation: none !important; }
  .reveal { opacity: 1; transform: none; }
  .aurora, .orb-wrap { transform: none !important; }
}
