/* Creemos Capital V2.0 — sistema de diseño tomado de Evolution (neutro vivo: zinc + azul + lima).
   Claro y oscuro con tokens; oscuro por defecto. Sin dependencias (sin Tailwind CDN). */

:root {
  --bg: #FAFAFA; --bg-2: #F4F4F5; --surface: #FFFFFF; --surface-2: #F4F4F5;
  --line: rgba(9, 9, 11, .08); --line-2: rgba(9, 9, 11, .14);
  --text: #09090B; --muted: #52525B; --faint: #71717A;
  --blue: #2563EB; --blue-text: #1D4ED8; --blue-soft: rgba(37, 99, 235, .10);
  --lime: #A3E635; --on-lime: #13200A; --lime-text: #3F6212; --lime-soft: rgba(163, 230, 53, .22);
  --up: #16A34A; --down: #DC2626; --warn: #B45309;
  --glow: rgba(37, 99, 235, .18);
  --shadow: 0 1px 2px rgba(9,9,11,.04), 0 12px 32px -12px rgba(9,9,11,.12);
  color-scheme: light;
}
:root[data-theme="dark"] {
  --bg: #08080A; --bg-2: #0E0E11; --surface: #121215; --surface-2: #1A1A1F;
  --line: rgba(255, 255, 255, .07); --line-2: rgba(255, 255, 255, .13);
  --text: #FAFAFA; --muted: #A1A1AA; --faint: #8B8B94;
  --blue: #3B82F6; --blue-text: #7FB0FF; --blue-soft: rgba(59, 130, 246, .14);
  --lime: #A3E635; --on-lime: #13200A; --lime-text: #BEF264; --lime-soft: rgba(163, 230, 53, .14);
  --up: #4ADE80; --down: #F87171; --warn: #FBBF24;
  --glow: rgba(59, 130, 246, .30);
  --shadow: 0 0 0 1px rgba(255,255,255,.04), 0 24px 60px -24px rgba(0,0,0,.8);
  color-scheme: dark;
}
:root {
  --fs-h1: clamp(2.5rem, 1.55rem + 4.1vw, 4.75rem);
  --fs-h2: clamp(1.9rem, 1.4rem + 2.2vw, 3.1rem);
  --fs-h3: clamp(1.0625rem, 1rem + .3vw, 1.3125rem);
  --fs-lead: clamp(1.0625rem, 1rem + .35vw, 1.25rem);
  --fs-body: 1rem; --fs-small: .875rem; --fs-xs: .8125rem;
  --container: 1200px; --gutter: clamp(20px, 4vw, 40px);
  --section: clamp(72px, 8vw, 128px);
  --r: 16px; --r-lg: 24px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --nav-h: 80px;
  --ticker-h: 52px;
  --top: calc(var(--nav-h) + var(--ticker-h));
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--top) + 12px); }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 var(--fs-body)/1.6 "Geist", system-ui, -apple-system, "Segoe UI", sans-serif; -webkit-font-smoothing: antialiased; overflow-x: hidden; transition: background-color .4s var(--ease), color .4s var(--ease); }
h1, h2, h3, h4, p, ul { margin: 0; }
ul { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.num { font-family: "Geist Mono", ui-monospace, monospace; font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section) 0; position: relative; }
.section.tight-top { padding-top: 0; }
.muted { color: var(--muted); }

.h1 { font-size: var(--fs-h1); line-height: 1.04; letter-spacing: -.045em; font-weight: 600; text-wrap: balance; }
.h2 { font-size: var(--fs-h2); line-height: 1.08; letter-spacing: -.04em; font-weight: 600; text-wrap: balance; }
.h3 { font-size: var(--fs-h3); line-height: 1.25; letter-spacing: -.02em; font-weight: 600; }
.lead { font-size: var(--fs-lead); line-height: 1.55; color: var(--muted); text-wrap: pretty; }
.head { display: flex; flex-direction: column; gap: 16px; max-width: 700px; margin-bottom: clamp(36px, 5vw, 56px); }
.head .tag { align-self: flex-start; }
.head.center { margin-left: auto; margin-right: auto; text-align: center; align-items: center; }
.head.center .tag { align-self: center; }

.tag { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 8px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--surface); font-size: var(--fs-xs); font-weight: 500; color: var(--muted); }
.tag i { width: 18px; height: 18px; border-radius: 50%; background: var(--lime); display: grid; place-items: center; flex: none; }
.tag i::after { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--on-lime); animation: ping 2s var(--ease) infinite; }
.tag.live i { background: color-mix(in srgb, var(--down) 22%, transparent); }
.tag.live i::after { background: var(--down); }
@keyframes ping { 50% { transform: scale(.5); opacity: .5; } }

/* Botones */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 48px; padding: 0 22px; border-radius: 999px; border: 0; font-weight: 600; font-size: 15px; cursor: pointer; white-space: nowrap; transition: transform .3s var(--ease), background-color .3s, box-shadow .3s var(--ease), border-color .3s; }
.btn:active { transform: scale(.97); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-primary { background: var(--lime); color: var(--on-lime); box-shadow: 0 8px 24px -8px rgba(163, 230, 53, .55); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 32px -10px rgba(163, 230, 53, .7); }
.btn-primary .arrow { transition: transform .3s var(--ease); }
.btn-primary:hover .arrow { transform: translateX(3px); }
.btn-ghost { background: var(--surface); color: var(--text); border: 1px solid var(--line-2); }
.btn-ghost:hover { background: var(--surface-2); transform: translateY(-2px); }
.btn-dark { background: var(--text); color: var(--bg); }
.btn-dark:hover { transform: translateY(-2px); opacity: .9; }
.btn-sm { height: 40px; padding: 0 16px; font-size: 14px; }
.btn-block { width: 100%; }

/* Navegación */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; transition: background-color .3s, border-color .3s; border-bottom: 1px solid transparent; }
.nav.scrolled { background: color-mix(in srgb, var(--bg) 78%, transparent); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); border-bottom-color: var(--line); }
.nav .container { display: flex; align-items: center; gap: 12px; height: var(--nav-h); max-width: 1400px; }
main { padding-top: var(--top); }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 600; letter-spacing: -.02em; }
.brand img { width: 52px; height: 52px; object-fit: contain; flex: none; }
.brand-name { line-height: 1.1; font-size: 16px; white-space: nowrap; }
.brand-name small { display: block; font-size: 11.5px; font-weight: 500; letter-spacing: .14em; color: var(--blue-text); margin-top: 1px; }
.nav-links { display: flex; gap: 4px; margin-left: auto; }
.nav-links a { white-space: nowrap; padding: 10px 11px; border-radius: 999px; font-size: 15.5px; color: var(--muted); transition: color .2s, background-color .2s; }
.nav-links a:hover { color: var(--text); background: var(--surface-2); }
.nav-links a[aria-current="page"] { color: var(--text); background: var(--surface-2); }
.nav-links a.pill { color: var(--blue-text); background: var(--blue-soft); font-weight: 500; }
.nav-links a.pill:hover { background: color-mix(in srgb, var(--blue) 20%, transparent); }
.nav-actions { display: flex; align-items: center; gap: 8px; }
.nav-actions .btn-sm { height: 46px; padding: 0 18px; font-size: 15.5px; }
.nav-actions .icon-btn { width: 46px; height: 46px; }
.icon-btn { width: 40px; height: 40px; border-radius: 999px; border: 1px solid var(--line-2); background: transparent; display: grid; place-items: center; cursor: pointer; transition: background-color .2s; }
.icon-btn:hover { background: var(--surface-2); }
.icon-btn svg { width: 18px; height: 18px; }
.theme-ico-sun { display: none; }
:root[data-theme="dark"] .theme-ico-sun { display: block; }
:root[data-theme="dark"] .theme-ico-moon { display: none; }
.menu-btn { display: none !important; }
.mobile-menu { display: none; }
@media (max-width: 1270px) {
  .nav-links { display: none; }
  .nav-actions { margin-left: auto; }
  .menu-btn { display: grid !important; }
  .mobile-menu { display: block; position: fixed; inset: var(--top) 0 auto; z-index: 49; background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 24px; transform: translateY(-12px); opacity: 0; pointer-events: none; transition: opacity .3s var(--ease), transform .3s var(--ease); }
  .mobile-menu.open { opacity: 1; transform: none; pointer-events: auto; }
  .mobile-menu a:not(.btn) { display: block; padding: 14px 0; font-size: 18px; font-weight: 500; border-bottom: 1px solid var(--line); }
  .mobile-menu .btn { width: 100%; margin-top: 16px; }
}
@media (max-width: 640px) { :root { --nav-h: 68px; --ticker-h: 46px; } .brand img { width: 44px; height: 44px; } .brand-name { font-size: 16px; } .nav-actions .icon-btn { width: 42px; height: 42px; } .tk-price { font-size: 14px; } .tk-name, .tk-pct { font-size: 12.5px; } }
@media (max-width: 480px) { .nav:has(.live-pill:not([hidden])) .brand-name { display: none; } .nav-actions .btn-primary { display: none; } .brand-name small { display: none; } }

/* Ticker de precios (Bitget): forma parte del header fijo, se mueve con el menú */
.ticker { display: flex; align-items: stretch; height: var(--ticker-h); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: color-mix(in srgb, var(--bg-2) 92%, transparent); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); overflow: hidden; }
.nav:not(.scrolled) .ticker { border-top-color: transparent; }
.ticker-badge { flex: none; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; padding: 0 16px; border-right: 1px solid var(--line); background: var(--surface); }
.ticker-badge span { font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--faint); line-height: 1; }
.ticker-badge b { display: inline-flex; align-items: center; gap: 6px; font-size: 15px; font-weight: 700; letter-spacing: -.01em; line-height: 1; }
.ticker-badge img { width: 19px; height: 19px; border-radius: 4px; }
.ticker-view { flex: 1; overflow: hidden; display: flex; align-items: center; mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent); }
#ticker-items { display: inline-flex; align-items: center; white-space: nowrap; animation: tickerScroll 70s linear infinite; }
.ticker:hover #ticker-items { animation-play-state: paused; }
@keyframes tickerScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.ticker-empty { color: var(--faint); font-size: var(--fs-xs); padding: 0 24px; }
.tk-item { display: inline-flex; align-items: baseline; gap: 8px; padding: 0 16px; }
.tk-name { font-size: 13.5px; font-weight: 600; color: var(--muted); letter-spacing: .04em; }
.tk-price { font: 500 15px "Geist Mono", ui-monospace, monospace; font-variant-numeric: tabular-nums; color: var(--text); }
.tk-pct { font: 500 13.5px "Geist Mono", ui-monospace, monospace; }
.tk-pos { color: var(--up); }
.tk-neg { color: var(--down); }
.tk-sep { color: var(--line-2); }

/* Hero */
.hero { position: relative; padding: clamp(40px, 6vw, 88px) 0 clamp(48px, 6vw, 88px); overflow: hidden; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero-bg .orb { position: absolute; width: 900px; height: 900px; left: 50%; top: -480px; margin-left: -450px; border-radius: 50%; background: radial-gradient(circle, var(--glow), transparent 62%); animation: breathe 9s ease-in-out infinite; }
.hero-bg .orb.two { width: 520px; height: 520px; top: 120px; left: 85%; margin-left: -260px; background: radial-gradient(circle, rgba(163, 230, 53, .14), transparent 65%); animation-delay: -4s; }
@keyframes breathe { 50% { transform: scale(1.12); opacity: .75; } }
.hero-inner { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 24px; }
.hero .h1 { max-width: 20ch; }
.hero .h1 .line { display: block; }
.hero .lead { max-width: 600px; }
.hero-ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 8px; }
.hero-note { font-size: var(--fs-xs); color: var(--faint); }
@media (max-width: 520px) { .hero-ctas { width: 100%; flex-direction: column; } .hero-ctas .btn { width: 100%; } }
.rotator { display: grid; justify-items: center; overflow: hidden; height: 1.22em; padding-bottom: .06em; }
.rotator span { grid-area: 1 / 1; color: var(--blue-text); transform: translateY(110%); opacity: 0; transition: transform .7s var(--ease), opacity .7s var(--ease); white-space: nowrap; }
.rotator span.on { transform: none; opacity: 1; }
.rotator span.out { transform: translateY(-110%); opacity: 0; }

/* Ventana con el directo */
.stage { margin: clamp(40px, 6vw, 72px) auto 0; max-width: 980px; }
.window { position: relative; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line-2); box-shadow: var(--shadow); overflow: hidden; }
.win-bar { display: flex; align-items: center; gap: 12px; height: 48px; padding: 0 16px; border-bottom: 1px solid var(--line); }
.dots { display: flex; gap: 6px; }
.dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--line-2); }
.win-title { display: inline-flex; align-items: center; gap: 8px; font-size: var(--fs-xs); font-weight: 500; padding: 5px 10px; border-radius: 999px; background: var(--surface-2); white-space: nowrap; flex: none; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--down); position: relative; flex: none; }
.live-dot::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid var(--down); opacity: 0; animation: livePing 1.8s var(--ease) infinite; }
@keyframes livePing { 0% { transform: scale(.5); opacity: .8; } 100% { transform: scale(1.4); opacity: 0; } }
.win-link { margin-left: auto; font-size: var(--fs-xs); color: var(--muted); transition: color .2s; }
.win-link:hover { color: var(--blue-text); }
@media (max-width: 520px) { .win-link { display: none; } }
.player { aspect-ratio: 16 / 9; background: #000; }
.player iframe { width: 100%; height: 100%; border: 0; display: block; }
.win-foot { display: flex; flex-wrap: wrap; gap: 10px; padding: 16px; border-top: 1px solid var(--line); background: var(--bg-2); }
.win-foot .btn { height: 40px; font-size: 14px; padding: 0 16px; }
.btn-kick { background: #53FC18; color: #0b1a02; }
.btn-kick:hover { transform: translateY(-2px); box-shadow: 0 10px 24px -10px rgba(83, 252, 24, .6); }
.btn-yt { background: #E11D2E; color: #fff; }
.btn-yt:hover { transform: translateY(-2px); box-shadow: 0 10px 24px -10px rgba(225, 29, 46, .6); }
.stage-note { text-align: center; font-size: var(--fs-xs); color: var(--faint); margin-top: 14px; }

/* Canales (marquee) */
.channels { padding: 48px 0 0; text-align: center; }
.channels p { font-size: var(--fs-small); color: var(--faint); margin-bottom: 20px; }
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent); }
.marquee-track { display: flex; gap: 64px; width: max-content; animation: scroll 34s linear infinite; }
.marquee-track span { font-size: 20px; font-weight: 600; letter-spacing: -.02em; color: var(--faint); white-space: nowrap; }
@keyframes scroll { to { transform: translateX(-50%); } }

/* Tarjetas base */
.card { position: relative; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); padding: clamp(20px, 2.4vw, 28px); overflow: hidden; display: flex; flex-direction: column; gap: 12px; transition: transform .5s var(--ease), border-color .3s; }
.card:hover { transform: translateY(-4px); border-color: var(--line-2); }
.card .spot { position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .3s; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), var(--blue-soft), transparent 60%); }
.card:hover .spot { opacity: 1; }
.card > *:not(.spot) { position: relative; }
.card p { color: var(--muted); font-size: var(--fs-small); }
.ico { width: 44px; height: 44px; border-radius: 14px; background: var(--blue-soft); color: var(--blue-text); display: grid; place-items: center; flex: none; }
.ico svg { width: 22px; height: 22px; }
.ico.lime { background: var(--lime-soft); color: var(--lime-text); }

/* Pasos (cómo unirse) */
.join { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.steps { position: relative; }
.steps::before { content: ""; position: absolute; left: 19px; top: 28px; bottom: 28px; width: 2px; background: var(--line-2); }
.steps .fill { position: absolute; left: 19px; top: 28px; width: 2px; height: calc(var(--p, 0) * (100% - 56px)); background: var(--lime); border-radius: 2px; }
.step { position: relative; display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 20px; padding: 18px 0; }
.step .dot { width: 40px; height: 40px; border-radius: 50%; background: var(--surface); border: 1px solid var(--line-2); display: grid; place-items: center; font-size: 14px; font-weight: 600; z-index: 1; transition: background-color .4s, color .4s, border-color .4s, transform .4s var(--ease); }
.step.lit .dot { background: var(--lime); color: var(--on-lime); border-color: var(--lime); transform: scale(1.08); }
.step h3 { padding-top: 7px; }
.step p { margin-top: 6px; color: var(--muted); font-size: var(--fs-small); max-width: 58ch; }
.step p strong { color: var(--text); font-weight: 500; }
.step ul { margin-top: 10px; display: flex; flex-direction: column; gap: 6px; }
.step li { position: relative; padding-left: 16px; font-size: var(--fs-small); color: var(--muted); }
.step li::before { content: ""; position: absolute; left: 0; top: .6em; width: 6px; height: 6px; border-radius: 50%; background: var(--lime); }
.step li strong { color: var(--text); font-weight: 500; }
.callout { margin-top: 12px; padding: 10px 14px; border-radius: 12px; background: color-mix(in srgb, var(--down) 9%, transparent); border: 1px solid color-mix(in srgb, var(--down) 22%, transparent); font-size: var(--fs-xs); color: var(--muted); }
.callout strong { color: var(--text); }
.perks { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.perks span { font-size: 12px; padding: 5px 12px; border-radius: 999px; background: var(--lime-soft); color: var(--lime-text); font-weight: 500; }
.join-cta { position: sticky; top: calc(var(--nav-h) + 20px); border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line-2); box-shadow: var(--shadow); padding: clamp(22px, 3vw, 32px); display: flex; flex-direction: column; gap: 18px; overflow: hidden; isolation: isolate; }
.join-cta::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(420px circle at 50% -10%, var(--glow), transparent 70%); }
.join-cta h3 { font-size: 1.5rem; letter-spacing: -.03em; }
.join-box { border-radius: 16px; background: var(--bg-2); border: 1px solid var(--line); padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.join-box .kicker { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; font-weight: 600; color: var(--blue-text); }
.join-box .kicker.wa { color: var(--up); }
.btn-wa { background: #25D366; color: #052e14; }
.btn-wa:hover { transform: translateY(-2px); box-shadow: 0 10px 24px -10px rgba(37, 211, 102, .6); }
.join-box small { text-align: center; color: var(--faint); font-size: var(--fs-xs); }
.trust { display: flex; flex-direction: column; gap: 8px; padding-top: 4px; }
.trust div { display: flex; align-items: center; gap: 10px; font-size: var(--fs-xs); color: var(--muted); }
.trust svg { width: 16px; height: 16px; color: var(--lime-text); flex: none; }
@media (max-width: 960px) { .join { grid-template-columns: minmax(0, 1fr); } .join-cta { position: static; } }

/* Calendario */
.cal-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.cal-top h3 { display: flex; align-items: center; gap: 10px; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.cal-btn { height: 36px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line-2); background: transparent; cursor: pointer; font-size: 14px; display: inline-flex; align-items: center; gap: 8px; transition: background-color .2s, color .2s, border-color .2s; }
.cal-btn:hover { background: var(--surface-2); }
.cal-btn-active, .cal-btn-active:hover { background: var(--text); color: var(--bg); border-color: var(--text); }
.cal-btn .imp-alto, .cal-btn .imp-medio, .cal-btn .imp-bajo { width: 8px; height: 8px; }
.cal-wrap { border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); overflow: hidden; box-shadow: var(--shadow); }
.cal-head, .cal-row { display: grid; grid-template-columns: 72px 64px minmax(0, 1fr) 78px 78px 78px; align-items: center; gap: 12px; padding: 0 20px; }
.cal-head { height: 40px; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--faint); font-weight: 500; border-bottom: 1px solid var(--line); background: var(--bg-2); }
.cal-head span:nth-child(n+4) { text-align: right; }
.cal-scroll { max-height: 560px; overflow-y: auto; overscroll-behavior: contain; }
.cal-day-header { position: sticky; top: 0; z-index: 1; padding: 10px 20px; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; font-weight: 600; color: var(--blue-text); background: color-mix(in srgb, var(--surface) 88%, var(--blue) 4%); border-bottom: 1px solid var(--line); border-top: 1px solid var(--line); backdrop-filter: blur(8px); }
.cal-scroll > .cal-day-header:first-child { border-top: 0; }
.cal-row { min-height: 48px; padding-top: 8px; padding-bottom: 8px; border-bottom: 1px solid var(--line); transition: background-color .2s; }
.cal-row:last-child { border-bottom: 0; }
.cal-row:hover { background: var(--surface-2); }
.cal-time { font: 500 13px "Geist Mono", ui-monospace, monospace; color: var(--muted); white-space: nowrap; }
.cal-pais { display: flex; align-items: center; gap: 10px; }
.cal-pais img { border-radius: 3px; box-shadow: 0 0 0 1px var(--line-2); }
.cal-impacto { display: flex; width: 8px; }
.imp-alto, .imp-medio, .imp-bajo { width: 8px; height: 8px; border-radius: 50%; flex: none; display: inline-block; }
.imp-alto { background: var(--down); }
.imp-medio { background: #F59E0B; }
.imp-bajo { background: var(--faint); opacity: .6; }
.cal-evento { font-size: var(--fs-small); }
.cal-num { font: 500 13px "Geist Mono", ui-monospace, monospace; font-variant-numeric: tabular-nums; text-align: right; white-space: nowrap; }
.cal-prev { color: var(--faint); }
.cal-forecast { color: var(--muted); }
.cal-actual { font-weight: 600; }
.cal-actual.mejor { color: var(--up); }
.cal-actual.peor { color: var(--down); }
.cal-actual.igual { color: var(--warn); }
.cal-actual.pendiente { color: var(--faint); }
.cal-state { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 56px 20px; text-align: center; color: var(--muted); font-size: var(--fs-small); }
.cal-state svg { width: 28px; height: 28px; }
.spin { animation: spin 1s linear infinite; color: var(--blue-text); }
@keyframes spin { to { transform: rotate(360deg); } }
.cal-credit { text-align: right; font-size: var(--fs-xs); color: var(--faint); margin-top: 10px; }
.cal-credit a { color: var(--blue-text); }
.cal-credit a:hover { text-decoration: underline; }
@media (max-width: 680px) {
  .cal-head, .cal-row { grid-template-columns: 56px 40px minmax(0, 1fr) 64px; padding: 0 14px; gap: 8px; }
  .cal-forecast, .cal-prev, .cal-head span:nth-child(4), .cal-head span:nth-child(5) { display: none; }
  .cal-day-header { padding: 10px 14px; }
}

/* Noticias / Explora (rejilla de enlaces) */
.links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.link-card { position: relative; display: flex; flex-direction: column; gap: 12px; padding: clamp(20px, 2.4vw, 26px); border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); overflow: hidden; transition: transform .5s var(--ease), border-color .3s; }
.link-card:hover { transform: translateY(-4px); border-color: var(--line-2); }
.link-card .spot { position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .3s; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), var(--blue-soft), transparent 60%); }
.link-card:hover .spot { opacity: 1; }
.link-card > *:not(.spot) { position: relative; }
.link-card p { color: var(--muted); font-size: var(--fs-small); }
.link-card .go { margin-top: auto; padding-top: 4px; display: inline-flex; align-items: center; gap: 6px; font-size: var(--fs-small); font-weight: 500; color: var(--blue-text); }
.link-card .go svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.link-card:hover .go svg { transform: translateX(4px); }
.sub-head { display: flex; align-items: center; gap: 12px; margin: clamp(48px, 6vw, 72px) 0 20px; }
.sub-head h3 { font-size: var(--fs-h3); font-weight: 600; letter-spacing: -.02em; }
@media (max-width: 960px) { .links { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .links { grid-template-columns: minmax(0, 1fr); } }

/* Explora: tres accesos grandes */
.explore { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.explore .card { min-height: 220px; }
.explore .card h3 { margin-top: auto; }
@media (max-width: 960px) { .explore { grid-template-columns: minmax(0, 1fr); } .explore .card { min-height: 0; } }

/* Redes */
.socials { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.social { display: inline-flex; align-items: center; gap: 10px; height: 48px; padding: 0 20px 0 16px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--surface); font-weight: 500; font-size: 15px; transition: transform .3s var(--ease), background-color .2s, border-color .2s; }
.social:hover { transform: translateY(-2px); background: var(--surface-2); }
.social svg { width: 20px; height: 20px; flex: none; }
.contact { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 12px; }
.contact-title { text-align: center; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--faint); font-weight: 600; margin: 40px 0 16px; }
.btn-tg { background: #229ED9; color: #fff; }
.btn-tg:hover { transform: translateY(-2px); box-shadow: 0 10px 24px -10px rgba(34, 158, 217, .6); }

/* Cierre */
.final { position: relative; border-radius: clamp(24px, 3vw, 36px); padding: clamp(44px, 6vw, 88px) var(--gutter); text-align: center; overflow: hidden; isolation: isolate; background: var(--surface); border: 1px solid var(--line); }
.final::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(640px circle at 50% 130%, var(--glow), transparent 70%); }
.final .h2 { max-width: 18ch; margin: 0 auto 16px; }
.final .lead { max-width: 520px; margin: 0 auto 28px; }

/* Pie */
footer { padding: 56px 0 40px; border-top: 1px solid var(--line); }
.foot-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px; }
.foot-grid h5 { margin: 0 0 12px; font-size: var(--fs-small); font-weight: 600; }
.foot-grid a:not(.brand) { display: block; padding: 4px 0; font-size: var(--fs-small); color: var(--muted); transition: color .2s; }
.foot-grid a:not(.brand):hover { color: var(--text); }
.foot-grid p { font-size: var(--fs-small); color: var(--muted); margin-top: 12px; max-width: 34ch; }
.legal { margin-top: 44px; padding-top: 24px; border-top: 1px solid var(--line); font-size: var(--fs-xs); color: var(--faint); line-height: 1.65; display: flex; flex-direction: column; gap: 10px; }
.legal strong { color: var(--muted); }
.copy { margin-top: 20px; font-size: var(--fs-xs); color: var(--faint); }
@media (max-width: 760px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-grid > div:first-child { grid-column: 1 / -1; } }

/* Alerta de noticias del día */
.alert-overlay { display: none; position: fixed; inset: 0; z-index: 100; align-items: center; justify-content: center; padding: 20px; background: color-mix(in srgb, var(--bg) 70%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); animation: fadeIn .3s ease; }
.alert-modal { width: 100%; max-width: 520px; max-height: 86vh; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--r-lg); box-shadow: var(--shadow); animation: modalUp .4s var(--ease); overflow: hidden; }
.alert-head { display: flex; align-items: flex-start; gap: 14px; padding: 24px 24px 16px; }
.alert-ico { position: relative; flex: none; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: color-mix(in srgb, var(--down) 14%, transparent); color: var(--down); }
.alert-ico::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--down); opacity: 0; animation: livePing 1.8s var(--ease) infinite; }
.alert-ico svg { width: 22px; height: 22px; }
.alert-head h3 { font-size: 1.125rem; letter-spacing: -.02em; }
.alert-head p { font-size: var(--fs-xs); color: var(--muted); margin-top: 2px; }
.alert-close { margin-left: auto; flex: none; }
.alert-legend { display: flex; gap: 16px; padding: 0 24px 14px; font-size: var(--fs-xs); color: var(--muted); }
.alert-legend span { display: inline-flex; align-items: center; gap: 6px; }
#noticias-alerta-lista { overflow-y: auto; padding: 0 20px; display: flex; flex-direction: column; gap: 10px; }
.alert-item { border-radius: 14px; padding: 14px 16px; background: var(--bg-2); border: 1px solid var(--line); }
.alert-item.alto { border-color: color-mix(in srgb, var(--down) 30%, transparent); }
.alert-item.medio { border-color: color-mix(in srgb, #F59E0B 32%, transparent); }
.alert-item-top { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; flex-wrap: wrap; }
.badge { display: inline-flex; align-items: center; padding: 2px 10px; border-radius: 999px; font-size: 11px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.badge.alto { background: color-mix(in srgb, var(--down) 14%, transparent); color: var(--down); }
.badge.medio { background: color-mix(in srgb, #F59E0B 16%, transparent); color: var(--warn); }
.alert-hora { font: 500 12px "Geist Mono", ui-monospace, monospace; color: var(--muted); }
.alert-item-top img { border-radius: 3px; box-shadow: 0 0 0 1px var(--line-2); }
.alert-titulo { font-size: var(--fs-small); font-weight: 600; margin-bottom: 8px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chips span { font-size: 11px; padding: 3px 9px; border-radius: 8px; background: var(--surface); border: 1px solid var(--line); color: var(--muted); }
.alert-foot { display: flex; gap: 10px; padding: 18px 20px; margin-top: 8px; border-top: 1px solid var(--line); }
.alert-foot .btn { flex: 1; height: 44px; font-size: 14px; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes modalUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }

/* Aparición al hacer scroll */
.reveal { opacity: 0; transform: translateY(24px); filter: blur(6px); transition: opacity .9s var(--ease), transform .9s var(--ease), filter .9s var(--ease); transition-delay: calc(var(--d, 0) * 90ms); }
.reveal.in { opacity: 1; transform: none; filter: none; }
.card.reveal.in:hover, .link-card.reveal.in:hover { transform: translateY(-4px); transition-delay: 0s; }
.no-js .reveal { opacity: 1; transform: none; filter: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { transform: none; filter: none; }
  .marquee-track, #ticker-items { animation-duration: 140s; }
  .hero-bg .orb, .tag i::after, .live-dot::after, .alert-ico::after { animation: none; }
}

/* Academy (página de presentación) */
.academy-hero { padding-top: clamp(32px, 5vw, 72px); }
.academy-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.academy-art { position: relative; display: grid; place-items: center; }
.academy-art img { position: relative; width: 460px; max-width: 100%; height: auto; }
.academy-glow { position: absolute; inset: -10%; background: radial-gradient(circle, var(--glow), transparent 68%); filter: blur(8px); }
.academy-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.academy-copy .h1 { font-size: clamp(2.25rem, 1.5rem + 3vw, 3.75rem); }
.academy-copy .lead strong { color: var(--text); font-weight: 600; }
.academy-copy .muted { max-width: 60ch; font-size: var(--fs-small); }
.academy-copy .perks { margin-top: 4px; }
.academy-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.academy-motto { font-size: var(--fs-xs); font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--blue-text); }
.grad { background: linear-gradient(135deg, var(--blue-text), var(--lime-text)); -webkit-background-clip: text; background-clip: text; color: transparent; }
:root[data-theme="dark"] .grad { background-image: linear-gradient(135deg, #7FB0FF, #A3E635); }
@media (max-width: 900px) {
  .academy-grid { grid-template-columns: minmax(0, 1fr); }
  .academy-art img { width: min(360px, 80%); }
  .academy-copy { align-items: center; text-align: center; }
  .academy-copy .perks, .academy-ctas { justify-content: center; }
}
@media (max-width: 520px) { .academy-ctas { width: 100%; flex-direction: column; } .academy-ctas .btn { width: 100%; } }

/* Logo de Bitget junto a todo lo que viene de Bitget */
.bg-ico { display: inline-block; width: 1.15em; height: 1.15em; border-radius: .26em; vertical-align: -.22em; margin: 0 .2em 0 .1em; flex: none; }
.nav-links a .bg-ico, .mobile-menu a .bg-ico { width: 1.05em; height: 1.05em; }
