/* ---------- fuentes (locales, sin depender de Google) ---------- */
@font-face { font-family: "Big Shoulders Display"; font-weight: 800; font-style: normal; font-display: swap; src: url("assets/fonts/big-shoulders-display-latin-800-normal.woff2") format("woff2"); }
@font-face { font-family: "Big Shoulders Display"; font-weight: 900; font-style: normal; font-display: swap; src: url("assets/fonts/big-shoulders-display-latin-900-normal.woff2") format("woff2"); }
@font-face { font-family: "Figtree"; font-weight: 400; font-style: normal; font-display: swap; src: url("assets/fonts/figtree-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Figtree"; font-weight: 600; font-style: normal; font-display: swap; src: url("assets/fonts/figtree-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Figtree"; font-weight: 700; font-style: normal; font-display: swap; src: url("assets/fonts/figtree-latin-700-normal.woff2") format("woff2"); }

:root {
  --noche: #04100e;
  --noche-2: #071a16;
  --hueso: #eaf3ee;
  --humo: #96aaa1;
  --verde: #1fd979;
  --claro: #8dffb8;
  --claro-2: #5deb9a;
  --tinta: #04210f;
  --linea: rgba(141, 255, 184, .16);
  --display: "Big Shoulders Display", "Arial Narrow", Impact, sans-serif;
  --texto: "Figtree", system-ui, "Segoe UI", sans-serif;
  --alto-top: 76px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 130px; }
body {
  margin: 0; background: var(--noche); color: var(--hueso);
  font-family: var(--texto); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, p, dl, dd, ol, figure { margin: 0; }
:focus-visible { outline: 3px solid var(--claro); outline-offset: 3px; border-radius: 4px; }

.saltar { position: absolute; left: 12px; top: -60px; z-index: 50; padding: 10px 16px; background: var(--claro); color: var(--tinta); font-weight: 700; border-radius: 8px; }
.saltar:focus { top: 12px; }

/* ---------- barra de arriba ---------- */
.top {
  position: sticky; top: 0; z-index: 30; height: var(--alto-top);
  display: flex; align-items: center; justify-content: space-between; padding: 0 0 0 28px;
  background: rgba(3, 9, 8, .88); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.marca { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.marca img { width: 46px; height: 46px; }
.marca span { white-space: nowrap; font-family: var(--display); font-weight: 900; font-size: 38px; line-height: 1; letter-spacing: .03em; text-transform: uppercase; }
.top-der { display: flex; align-items: center; height: 100%; gap: 26px; }
.dl-esquina {
  height: 100%; display: grid; place-items: center; padding: 0 44px; text-decoration: none; color: var(--tinta);
  font-family: var(--display); font-weight: 900; font-size: 30px; letter-spacing: .06em; text-transform: uppercase;
  background: linear-gradient(180deg, var(--claro), var(--claro-2)); transition: filter .15s;
}
.dl-esquina:hover { filter: brightness(1.07); }
.menu-btn { display: none; }

.sub {
  position: sticky; top: var(--alto-top); z-index: 29; display: flex; justify-content: center; gap: 6px; padding: 0 16px;
  background: rgba(3, 9, 8, .88); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--linea);
}
.sub a { padding: 13px 18px; font-size: 15px; font-weight: 600; color: var(--humo); text-decoration: none; transition: color .15s; }
.sub a:hover { color: var(--hueso); }

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden; display: grid; place-items: center; isolation: isolate;
  min-height: clamp(600px, calc(100svh - 130px), 820px); padding: 36px 24px 56px;
  background: linear-gradient(180deg, #02110f 0%, #06362d 52%, #04100e 100%);
}
.hero::before {   /* aura detrás del logo */
  content: ""; position: absolute; z-index: -1; left: 50%; top: 38%; width: min(900px, 120vw); aspect-ratio: 1; transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(141, 255, 184, .16), transparent 62%);
}
#cielo { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; }
.hero-centro { display: flex; flex-direction: column; align-items: center; text-align: center; }
.hero-logo {
  width: clamp(170px, 22vw, 300px); height: auto; margin-bottom: 4px;
  filter: drop-shadow(0 0 36px rgba(255, 255, 255, .22)); animation: flotar 7s ease-in-out infinite;
}
@keyframes flotar { 50% { transform: translateY(-9px); } }
h1 {
  font-family: var(--display); font-weight: 900; font-size: clamp(56px, 8vw, 104px); line-height: .92; letter-spacing: .015em; text-transform: uppercase;
  text-shadow: 0 6px 40px rgba(0, 0, 0, .55);
}
.hero-sub { max-width: 54ch; margin-top: 12px; font-size: clamp(17px, 2vw, 20px); color: rgba(234, 243, 238, .86); text-shadow: 0 2px 18px rgba(0, 0, 0, .6); }
.hero-botones { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 16px; margin-top: 28px; }

.btn-dl {
  display: flex; align-items: center; gap: 16px; padding: 16px 40px 16px 30px; border-radius: 14px; text-decoration: none; color: var(--tinta);
  background: linear-gradient(180deg, var(--claro), var(--claro-2));
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .35) inset, 0 14px 50px rgba(141, 255, 184, .34);
  transition: transform .15s, box-shadow .15s;
}
.btn-dl:hover { transform: translateY(-3px); box-shadow: 0 0 0 1px rgba(255, 255, 255, .45) inset, 0 20px 64px rgba(141, 255, 184, .48); }
.btn-dl svg { width: 34px; height: 34px; flex: none; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.btn-dl-txt { display: flex; flex-direction: column; text-align: left; line-height: 1; }
.btn-dl-txt b { font-family: var(--display); font-weight: 900; font-size: 40px; letter-spacing: .05em; text-transform: uppercase; }
.btn-dl-txt small { margin-top: 5px; font-size: 13.5px; font-weight: 600; opacity: .8; }

/* ---------- banda con el logo repetido ---------- */
.banda { overflow: hidden; background: #030807; border-block: 1px solid var(--linea); }
.banda-pista { display: flex; align-items: center; gap: 44px; width: max-content; padding: 16px 0; animation: correr 46s linear infinite; }
.banda-pista span { font-family: var(--display); font-weight: 800; font-size: 30px; letter-spacing: .05em; text-transform: uppercase; color: var(--humo); white-space: nowrap; }
.banda-pista img { width: 38px; height: 38px; opacity: .85; }
@keyframes correr { to { transform: translateX(-50%); } }

/* ---------- bloques del launcher ---------- */
.bloque {
  display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); align-items: center; gap: clamp(32px, 6vw, 80px);
  max-width: 1240px; margin: 0 auto; padding: clamp(72px, 10vw, 130px) 28px 0;
}
.bloque.invertido { grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); }
.bloque.invertido .ventana { order: 2; }
.ventana {
  border-radius: 16px; overflow: hidden; border: 1px solid var(--linea); background: var(--noche-2);
  box-shadow: 0 30px 90px rgba(0, 0, 0, .55), 0 0 90px rgba(31, 217, 121, .1);
}
.ventana img { width: 100%; }
h2 { font-family: var(--display); font-weight: 900; font-size: clamp(40px, 5.2vw, 68px); line-height: .95; letter-spacing: .01em; text-transform: uppercase; }
.intro { margin-top: 16px; max-width: 46ch; color: var(--humo); }
.puntos { margin-top: 30px; display: grid; gap: 0; }
.puntos > div { padding: 18px 0 18px 20px; border-left: 3px solid var(--linea); transition: border-color .2s; }
.puntos > div:hover { border-left-color: var(--claro); }
.puntos dt { font-weight: 700; font-size: 19px; }
.puntos dd { margin-top: 4px; max-width: 48ch; color: var(--humo); font-size: 16px; }

/* ---------- pasos ---------- */
.pasos { position: relative; overflow: hidden; margin-top: clamp(80px, 11vw, 140px); padding: clamp(72px, 9vw, 120px) 28px; background: var(--noche-2); border-block: 1px solid var(--linea); isolation: isolate; }
.marca-agua { position: absolute; z-index: -1; right: -120px; top: 50%; width: min(720px, 90vw); transform: translateY(-50%); opacity: .07; pointer-events: none; }
.pasos-in { max-width: 1240px; margin: 0 auto; }
.pasos ol { margin-top: 48px; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; counter-reset: paso; }
.pasos li { counter-increment: paso; padding-top: 22px; border-top: 2px solid var(--linea); }
.pasos li::before {
  content: counter(paso); display: block; margin-bottom: 8px; font-family: var(--display); font-weight: 900; font-size: 88px; line-height: .8; color: var(--claro);
}
.pasos h3 { font-size: 21px; font-weight: 700; line-height: 1.25; }
.pasos p { margin-top: 10px; color: var(--humo); font-size: 16px; max-width: 40ch; }
.pasos b { color: var(--hueso); font-weight: 600; }
code { padding: 2px 7px; border-radius: 6px; font-size: .92em; background: rgba(141, 255, 184, .1); color: var(--claro); }
.btn-claro {
  display: inline-block; margin-top: 20px; padding: 12px 26px; border-radius: 10px; text-decoration: none; color: var(--tinta);
  font-family: var(--display); font-weight: 900; font-size: 24px; letter-spacing: .06em; text-transform: uppercase;
  background: linear-gradient(180deg, var(--claro), var(--claro-2)); transition: filter .15s, transform .15s;
}
.btn-claro:hover { filter: brightness(1.07); transform: translateY(-2px); }

/* ---------- creators ---------- */
.creators { max-width: 1240px; margin: 0 auto; padding: clamp(80px, 10vw, 130px) 28px 0; }
.creators-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 40px; }
.creator { display: flex; flex-direction: column; gap: 26px; padding: 34px; border-radius: 18px; background: linear-gradient(135deg, #0b2a22, #06130f 70%); border: 1px solid var(--linea); transition: border-color .2s, transform .2s; }
.creator:hover { border-color: var(--claro); transform: translateY(-3px); }
.creator h3 { font-family: var(--display); font-weight: 900; font-size: clamp(44px, 6vw, 72px); line-height: .95; letter-spacing: .05em; text-transform: uppercase; }
.creator-redes { display: flex; flex-wrap: wrap; gap: 12px; }
.red { display: inline-flex; align-items: center; gap: 10px; padding: 12px 22px 12px 18px; border-radius: 10px; text-decoration: none; color: #fff; font-weight: 700; font-size: 16px; transition: filter .15s, transform .15s; }
.red svg { width: 20px; height: 20px; flex: none; fill: currentColor; }
.red:hover { filter: brightness(1.12); transform: translateY(-2px); }
.red-twitch { background: #9146ff; }
.red-x { background: #000; border: 1px solid rgba(234, 243, 238, .28); }

/* ---------- patrocinadores ---------- */
.patro { max-width: 1240px; margin: 0 auto; padding: clamp(80px, 10vw, 130px) 28px; }
.patro-grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 20px; margin-top: 40px; }
.slot {
  position: relative; display: flex; flex-direction: column; justify-content: center; gap: 10px; min-height: 240px; padding: 32px 36px; border-radius: 18px; text-decoration: none; overflow: hidden;
}
.slot-principal { background: linear-gradient(135deg, #0b2a22, #06130f 70%); border: 1px solid var(--linea); transition: border-color .2s, transform .2s; }
.slot-principal:hover { border-color: var(--claro); transform: translateY(-3px); }
.slot-libre { align-items: flex-start; border: 2px dashed rgba(150, 170, 161, .35); }
.slot-libre img { opacity: .5; }
.etiqueta { align-self: flex-start; padding: 5px 14px; border-radius: 99px; font-size: 13.5px; font-weight: 700; color: var(--tinta); background: var(--claro); }
.slot-nombre { font-family: var(--display); font-weight: 900; font-size: clamp(64px, 9vw, 112px); line-height: .9; letter-spacing: .08em; text-transform: uppercase; }
.slot-nombre.chico { font-size: 36px; letter-spacing: .04em; color: var(--humo); }
.aviso { font-size: 14px; color: var(--humo); }

/* ---------- pie ---------- */
.pie { position: relative; overflow: hidden; isolation: isolate; padding: 72px 28px 56px; background: #030807; border-top: 1px solid var(--linea); }
.pie-logo { position: absolute; z-index: -1; right: max(-60px, calc(50% - 560px)); bottom: -120px; width: 520px; opacity: .08; pointer-events: none; }
.pie-in { max-width: 1240px; margin: 0 auto; display: flex; flex-direction: column; align-items: flex-start; gap: 22px; }
.pie-marca { display: flex; align-items: center; gap: 14px; }
.pie-marca img { width: 54px; height: 54px; }
.pie-marca span { font-family: var(--display); font-weight: 900; font-size: 44px; letter-spacing: .04em; text-transform: uppercase; }
.legal { max-width: 56ch; font-size: 14px; color: var(--humo); }

/* ---------- celular ---------- */
@media (max-width: 860px) {
  :root { --alto-top: 64px; }
  .top { padding-left: 16px; }
  .marca img { width: 38px; height: 38px; }
  .marca span { font-size: 30px; }
  .marca { gap: 10px; }
  .dl-esquina { padding: 0 20px; font-size: 24px; }
  .menu-btn {
    display: flex; align-items: center; gap: 8px; height: 100%; padding: 0 16px; border: 0; background: none; color: var(--hueso); cursor: pointer;
    font: 700 15px var(--texto);
  }
  .menu-btn span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .menu-btn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }
  .top-der { gap: 0; }
  .sub { display: none; position: fixed; top: var(--alto-top); left: 0; right: 0; flex-direction: column; gap: 0; padding: 8px 16px 14px; }
  .sub.abierto { display: flex; }
  .sub a { padding: 14px 6px; font-size: 17px; border-bottom: 1px solid var(--linea); }
  html { scroll-padding-top: 84px; }

  .hero { min-height: 0; padding: 44px 20px 60px; }
  .btn-dl { padding: 14px 28px 14px 22px; }
  .btn-dl-txt b { font-size: 34px; }
  .bloque, .bloque.invertido { grid-template-columns: 1fr; }
  .bloque.invertido .ventana { order: 0; }
  .pasos ol { grid-template-columns: 1fr; gap: 34px; }
  .patro-grid, .creators-grid { grid-template-columns: 1fr; }
  .creator { padding: 26px; }
  .slot { min-height: 200px; padding: 26px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-logo { animation: none; }
  .banda-pista { animation: none; }
  .btn-dl, .btn-claro, .slot-principal, .creator, .red { transition: none; }
}
