/* ==========================================================================
   Viciont Studios — web pública
   ========================================================================== */

/* ---------- Fondo y capas de efectos ---------- */
.bg { position: fixed; inset: 0; width: 100%; height: 100vh; height: 100lvh; z-index: 0; opacity: 0; transition: opacity 1.4s ease; }
.bg.is-ready { opacity: 1; }
.bg-fallback {
  display: none; position: fixed; inset: -30%; z-index: 0;
  background: conic-gradient(from 0deg, #07020d, #5b21b6, #ec4899, #1a0633, #8b5cf6, #ff2bd6, #07020d);
  filter: blur(90px) saturate(1.2); opacity: 0.5;
  animation: spin 50s linear infinite;
}
.no-webgl .bg-fallback { display: block; }
@keyframes spin { to { transform: rotate(360deg); } }

.fx-layer { position: fixed; inset: 0; z-index: 1; pointer-events: none; overflow: hidden; }
.fx-noise {
  position: absolute; inset: -120px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: 0.06;
  animation: noise 1.1s steps(5) infinite;
}
@keyframes noise {
  0% { transform: translate(0, 0); }
  20% { transform: translate(-40px, 25px); }
  40% { transform: translate(30px, -35px); }
  60% { transform: translate(-25px, -15px); }
  80% { transform: translate(35px, 30px); }
  100% { transform: translate(0, 0); }
}
.fx-scanlines { position: absolute; inset: 0; background: repeating-linear-gradient(to bottom, rgba(255, 255, 255, 0.026) 0 1px, transparent 1px 3px); }
.fx-scanbar {
  position: absolute; left: 0; right: 0; top: -22vh; height: 20vh;
  background: linear-gradient(to bottom, transparent, rgba(236, 72, 153, 0.045), rgba(255, 255, 255, 0.035), transparent);
  animation: scanbar 9s linear infinite;
}
@keyframes scanbar { to { transform: translateY(145vh); } }
.fx-vignette { position: absolute; inset: 0; background: radial-gradient(ellipse at center, transparent 55%, rgba(0, 0, 0, 0.55) 100%); }

.cursor-glow {
  position: fixed; left: 0; top: 0; z-index: 1;
  width: 560px; height: 560px; margin: -280px 0 0 -280px;
  border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(236, 72, 153, 0.12), rgba(168, 85, 247, 0.06) 42%, transparent 70%);
  opacity: 0; transition: opacity 0.5s;
}
.cursor-glow.on { opacity: 1; }

/* ---------- Pantalla de arranque ---------- */
.boot {
  position: fixed; inset: 0; z-index: 200;
  display: grid; place-items: center;
  background: radial-gradient(circle at 50% 42%, #1c0736, #05010a 70%);
  transition: opacity 0.55s ease, visibility 0.55s;
}
.boot__inner { display: grid; justify-items: center; gap: 22px; width: min(430px, 100% - 48px); }
.boot__logo { width: 104px; filter: drop-shadow(0 0 22px rgba(168, 85, 247, 0.75)); animation: boot-logo 1.3s steps(1) infinite; }
@keyframes boot-logo {
  0%, 100% { transform: none; }
  88% { transform: translateX(4px) skewX(10deg); filter: drop-shadow(-4px 0 #ff2bd6) drop-shadow(4px 0 #7a5cff); }
  93% { transform: translateX(-3px) skewX(-6deg); }
}
.boot__log { width: 100%; min-height: 7.4em; font: 400 0.8rem/1.85 var(--font-mono); color: var(--text-2); }
.boot__line { opacity: 0; transform: translateX(-8px); transition: opacity 0.25s, transform 0.3s var(--ease); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.boot__line.on { opacity: 1; transform: none; }
.boot__line--ok { color: #f0abfc; }
.boot__bar { width: 100%; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, 0.08); overflow: hidden; }
.boot__bar span { display: block; height: 100%; background: var(--grad); box-shadow: 0 0 12px var(--pink-hot); transform-origin: left; animation: boot-bar 1.25s var(--ease) both; }
@keyframes boot-bar { from { transform: scaleX(0); } }
.boot--quick .boot__log, .boot--quick .boot__bar { display: none; }
.boot--out { opacity: 0; visibility: hidden; pointer-events: none; }
.boot--out .boot__inner { animation: boot-out 0.5s steps(3) both; }
@keyframes boot-out {
  35% { transform: translateX(-8px) skewX(12deg); filter: hue-rotate(60deg); }
  70% { transform: translateX(6px) scaleY(0.5); opacity: 0.5; }
  100% { transform: scaleY(0.02); opacity: 0; }
}

/* ---------- Aviso de vista previa ---------- */
.preview-bar {
  position: fixed; left: 50%; bottom: 16px; z-index: 90; transform: translateX(-50%);
  display: flex; align-items: center; gap: 10px;
  width: max-content; max-width: calc(100% - 32px);
  padding: 10px 16px; border-radius: 999px;
  background: rgba(22, 8, 38, 0.95); border: 1px solid var(--pink);
  box-shadow: var(--glow-pink);
  font: 600 0.76rem/1.3 var(--font-ui); letter-spacing: 0.06em; text-transform: uppercase;
}
.preview-bar .i { color: var(--pink-hot); }

/* ---------- Cabecera ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--header-h);
  display: flex; align-items: center;
  border-bottom: 1px solid transparent;
  transition: border-color 0.35s;
}
.header::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: rgba(7, 2, 14, 0.72);
  -webkit-backdrop-filter: blur(16px) saturate(150%); backdrop-filter: blur(16px) saturate(150%);
  opacity: 0; transition: opacity 0.35s;
}
.header.is-scrolled, .is-menu-open .header { border-bottom-color: var(--line); }
.header.is-scrolled::before, .is-menu-open .header::before { opacity: 1; }
.header__inner { width: min(1280px, 100% - 32px); margin-inline: auto; display: flex; align-items: center; gap: 14px; }
.header__left { display: flex; align-items: center; gap: 10px; min-width: 0; }
.header__divider { width: 1px; height: 28px; margin: 0 4px; background: linear-gradient(transparent, var(--line-strong), transparent); flex: none; }

.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; flex: none; }
.brand__emblem { width: 46px; filter: drop-shadow(0 0 10px rgba(168, 85, 247, 0.65)); transition: transform 0.4s var(--ease), filter 0.3s; }
.brand:hover .brand__emblem { transform: rotate(-6deg) scale(1.06); filter: drop-shadow(0 0 14px rgba(236, 72, 153, 0.9)); }
.brand__text { display: grid; line-height: 1; }
.brand__name { font: 400 1.55rem/0.9 var(--font-display); letter-spacing: 0.06em; text-transform: uppercase; color: #fff; }
.brand__sub { margin-top: 3px; font: 400 0.6rem/1 var(--font-mono); letter-spacing: 0.44em; text-transform: uppercase; color: #f0abfc; }

.social-btn {
  width: 40px; height: 40px; flex: none;
  display: grid; place-items: center;
  border-radius: 11px; border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.035); color: var(--text-2);
  transition: color 0.25s, border-color 0.25s, background 0.25s, box-shadow 0.25s, transform 0.25s var(--ease);
}
.social-btn .i { width: 18px; height: 18px; }
.social-btn:hover { color: #fff; border-color: rgba(236, 72, 153, 0.7); background: rgba(236, 72, 153, 0.12); box-shadow: var(--glow-pink); transform: translateY(-2px); }
.social-btn--lg { width: 50px; height: 50px; }
.social-btn--lg .i { width: 22px; height: 22px; }

.nav { margin-left: auto; }
.nav__list { display: flex; align-items: center; gap: 2px; }
.nav__link {
  position: relative; display: block;
  padding: 11px 14px; border-radius: 10px;
  font: 600 0.8rem/1 var(--font-ui); letter-spacing: 0.14em; text-transform: uppercase;
  text-decoration: none; color: var(--text-2);
  transition: color 0.25s, background 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.nav__link span { display: inline-block; }
.nav__link::after {
  content: ''; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px; border-radius: 2px;
  background: var(--grad); box-shadow: 0 0 10px rgba(236, 72, 153, 0.9);
  transform: scaleX(0); transform-origin: left; transition: transform 0.35s var(--ease);
}
.nav__link:hover { color: #fff; }
.nav__link:hover span { animation: nav-glitch 0.35s steps(2) 1; }
.nav__link:hover::after, .nav__link.is-active::after { transform: scaleX(1); }
.nav__link.is-active { color: #fff; text-shadow: 0 0 12px rgba(236, 72, 153, 0.6); }
.nav__link--cta { margin-left: 8px; border: 1px solid var(--line-strong); color: #fff; }
.nav__link--cta::after { display: none; }
.nav__link--cta:hover, .nav__link--cta.is-active { background: var(--grad); border-color: transparent; box-shadow: 0 8px 26px -8px rgba(236, 72, 153, 0.85); }
/* Descargar Launcher: siempre relleno (el de contacto solo se rellena al pasar el ratón) y con un brillo que pasa */
.nav__link--dl {
  display: inline-flex; align-items: center; gap: 8px; margin-left: 10px; overflow: hidden; isolation: isolate;
  border: 1px solid rgba(255, 255, 255, 0.18); color: #fff;
  background: linear-gradient(100deg, #7c3aed 0%, #a855f7 38%, #ec4899 78%, #ff2bd6 100%);
  box-shadow: 0 8px 24px -10px rgba(236, 72, 153, 0.95), 0 0 0 1px rgba(168, 85, 247, 0.25);
}
.nav__link--dl::after { display: none; }
.nav__link--dl::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, 0.4) 50%, transparent 70%);
  transform: translateX(-130%); animation: dl-shine 4s ease-in-out infinite;
}
@keyframes dl-shine { 0%, 60% { transform: translateX(-130%); } 90%, 100% { transform: translateX(130%); } }
.nav__link--dl .i { width: 16px; height: 16px; flex: none; }
.nav__link span.nav__dl-word { display: inline; } /* (en bloque perdería el espacio de «Descargar Launcher») */
.nav__link--dl:hover, .nav__link--dl.is-active { color: #fff; transform: translateY(-1px); box-shadow: 0 12px 30px -8px rgba(255, 43, 214, 0.95), 0 0 0 1px rgba(255, 255, 255, 0.3) inset; }
.nav__link--dl:hover .i { animation: bob 0.9s ease-in-out infinite; }
.nav__link--dl.is-active { text-shadow: none; }
@keyframes nav-glitch {
  0% { text-shadow: -2px 0 var(--pink-hot), 2px 0 var(--violet-glitch); }
  50% { text-shadow: 2px 0 var(--pink-hot), -2px 0 var(--violet-glitch); transform: translateX(1px); }
  100% { text-shadow: none; transform: none; }
}

.menu-toggle {
  display: none; margin-left: auto;
  width: 46px; height: 46px; place-items: center;
  border-radius: 12px; border: 1px solid var(--line-strong);
  background: rgba(10, 3, 20, 0.6);
}
.menu-toggle__bars { display: grid; gap: 5px; width: 20px; }
.menu-toggle__bars span { display: block; height: 2px; border-radius: 2px; background: #fff; transition: transform 0.35s var(--ease), opacity 0.25s, width 0.3s; }
.menu-toggle__bars span:nth-child(3) { width: 60%; }
.menu-toggle[aria-expanded='true'] .menu-toggle__bars span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded='true'] .menu-toggle__bars span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded='true'] .menu-toggle__bars span:nth-child(3) { width: 100%; transform: translateY(-7px) rotate(-45deg); }

/* ---------- Menú móvil ---------- */
.mobile-menu {
  position: fixed; inset: 0; z-index: 45;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: calc(var(--header-h) + 22px) 24px calc(26px + env(safe-area-inset-bottom));
  overflow-y: auto;
  background:
    radial-gradient(120% 70% at 100% 0%, rgba(168, 85, 247, 0.34), transparent 60%),
    radial-gradient(90% 60% at 0% 100%, rgba(236, 72, 153, 0.26), transparent 60%),
    rgba(6, 1, 12, 0.97);
  opacity: 0; transition: opacity 0.35s ease;
}
.mobile-menu.is-open { opacity: 1; }
.mobile-menu__nav { display: grid; }
.mobile-menu__link {
  display: flex; align-items: baseline; gap: 14px;
  padding: 12px 4px; border-bottom: 1px solid var(--line);
  font: 400 clamp(2.3rem, 11vw, 3.4rem)/1 var(--font-display); letter-spacing: 0.03em;
  text-decoration: none; color: var(--text);
  opacity: 0; transform: translateX(-24px);
  transition: opacity 0.4s, transform 0.5s var(--ease), color 0.2s;
}
.mobile-menu__link small { font: 400 0.8rem/1 var(--font-mono); letter-spacing: 0.1em; color: var(--pink-hot); }
.mobile-menu__link.is-active span { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.mobile-menu.is-open .mobile-menu__link { opacity: 1; transform: none; }
.mobile-menu.is-open .mobile-menu__link:nth-child(2) { transition-delay: 0.05s; }
.mobile-menu.is-open .mobile-menu__link:nth-child(3) { transition-delay: 0.1s; }
.mobile-menu.is-open .mobile-menu__link:nth-child(4) { transition-delay: 0.15s; }
.mobile-menu.is-open .mobile-menu__link:nth-child(5) { transition-delay: 0.2s; }
.mobile-menu.is-open .mobile-menu__link:nth-child(6) { transition-delay: 0.25s; }
.mobile-menu__link--dl span { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.mobile-menu__link--dl .i { width: 26px; height: 26px; margin-left: auto; align-self: center; color: var(--pink-hot); filter: drop-shadow(0 0 8px rgba(255, 43, 214, 0.7)); }
.mobile-menu__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 28px; color: var(--muted); font-size: 0.8rem; letter-spacing: 0.12em; }
.mobile-menu__socials { display: flex; gap: 10px; }

/* ---------- Vistas y transición glitch ---------- */
.main { position: relative; z-index: 2; outline: none; }
.view { display: none; }
.view.is-active { display: block; animation: view-in 0.5s var(--ease) both; }
@keyframes view-in { from { opacity: 0; } }
.is-switching .main { animation: view-jitter 0.36s steps(3) both; }
@keyframes view-jitter {
  0% { transform: none; filter: none; }
  33% { transform: translateX(-6px); filter: hue-rotate(35deg) saturate(1.6); }
  66% { transform: translateX(4px) skewX(-2deg); filter: hue-rotate(-25deg); }
  100% { transform: none; filter: none; }
}
.transition-fx { position: fixed; inset: 0; z-index: 80; pointer-events: none; overflow: hidden; }
.transition-fx span { position: absolute; left: 0; right: 0; opacity: 0; mix-blend-mode: screen; }
.transition-fx span.is-pink { background: linear-gradient(90deg, transparent, rgba(255, 43, 214, 0.55), rgba(255, 255, 255, 0.35), transparent); }
.transition-fx span.is-purple { background: linear-gradient(90deg, transparent, rgba(122, 92, 255, 0.6), transparent); }
.transition-fx.is-on span { animation: slice 0.46s steps(4) var(--d, 0ms) both; }
@keyframes slice {
  0% { opacity: 0; transform: translateX(var(--x, 30%)); }
  25% { opacity: 1; }
  60% { opacity: 0.8; transform: translateX(calc(var(--x, 30%) * -0.6)); }
  100% { opacity: 0; transform: none; }
}

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: grid; align-content: center; padding: calc(var(--header-h) + 28px) 0 104px; }
.hero__inner { width: min(1240px, 100% - 32px); margin-inline: auto; display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); align-items: center; gap: clamp(20px, 4vw, 64px); }
.hero__visual { position: relative; justify-self: center; width: min(470px, 100%); aspect-ratio: 1; display: grid; place-items: center; }
.hero__hud { position: absolute; inset: 0; pointer-events: none; }
.hud-ring { position: absolute; inset: 0; border-radius: 50%; }
.hud-ring--1 { border: 1px dashed rgba(214, 160, 255, 0.35); animation: spin 40s linear infinite; }
.hud-ring--2 { inset: 7%; border: 2px solid transparent; border-top-color: rgba(255, 43, 214, 0.85); border-right-color: rgba(168, 85, 247, 0.5); filter: drop-shadow(0 0 8px rgba(255, 43, 214, 0.7)); animation: spin 9s linear infinite reverse; }
.hud-ring--3 { inset: 15%; background: radial-gradient(circle, rgba(168, 85, 247, 0.3), transparent 62%); animation: breathe 5s ease-in-out infinite; }
@keyframes breathe { 50% { transform: scale(1.08); opacity: 0.7; } }
.hud-tag { position: absolute; padding: 4px 8px; border-radius: 6px; border: 1px solid var(--line); background: rgba(10, 3, 20, 0.6); font-size: 0.68rem; letter-spacing: 0.2em; color: rgba(240, 171, 252, 0.8); }
.hud-tag--a { top: 8%; left: -2%; }
.hud-tag--b { bottom: 10%; right: -2%; }
.hero__emblem { width: 76%; animation: float 6s ease-in-out infinite; }
.hero__emblem .glitch-img__main { filter: drop-shadow(0 0 26px rgba(168, 85, 247, 0.6)) drop-shadow(0 0 60px rgba(236, 72, 153, 0.3)); }
@keyframes float { 50% { transform: translateY(-12px) rotate(-1.5deg); } }

.hero__copy { display: grid; justify-items: start; gap: 16px; min-width: 0; }
.hero__kicker {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 14px; border-radius: 999px;
  border: 1px solid var(--line-strong); background: rgba(10, 3, 20, 0.55);
  font: 400 0.76rem/1 var(--font-mono); letter-spacing: 0.2em; text-transform: uppercase; color: #f5d0fe;
}
.hero__title { display: grid; margin: 4px 0 2px; font-family: var(--font-display); font-weight: 400; line-height: 0.84; letter-spacing: 0.01em; }
.hero__line { display: block; }
.hero__line--1 { font-size: clamp(4.4rem, 13vw, 10.8rem); color: #fff; text-shadow: 0 0 42px rgba(168, 85, 247, 0.55), -2px 0 rgba(255, 43, 214, 0.35), 2px 0 rgba(122, 92, 255, 0.35); }
.hero__line--2 { font-size: clamp(3.3rem, 9.6vw, 8.1rem); }
.hero__reg { position: relative; top: 0.35em; margin-left: 0.06em; vertical-align: top; font: 400 0.15em/1 var(--font-ui); color: #f5d0fe; text-shadow: none; }
.hero__founder { font: 500 1.06rem/1.4 var(--font-ui); color: var(--text-2); }
.hero__founder strong { font-weight: 700; color: #fff; text-shadow: 0 0 18px rgba(255, 43, 214, 0.55); border-bottom: 2px solid var(--pink-hot); padding-bottom: 1px; }
.hero__tagline { max-width: 52ch; color: var(--text-2); font-size: 1.02rem; }
.hero__typing { min-height: 1.3em; font: 400 1rem/1.3 var(--font-mono); color: #f0abfc; }
.hero__prompt { color: var(--pink-hot); }

.hero__buttons { width: 100%; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 12px; }
.hero-btn {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; justify-content: space-between; gap: 22px;
  padding: 16px; border-radius: 16px;
  border: 1px solid var(--line); background: rgba(12, 4, 24, 0.66);
  text-decoration: none; color: var(--text);
  transition: transform 0.35s var(--ease), border-color 0.3s, box-shadow 0.35s, background 0.3s;
}
.hero-btn::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255, 255, 255, 0.13) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform 0.7s var(--ease);
}
.hero-btn:hover { transform: translateY(-5px); border-color: rgba(236, 72, 153, 0.6); background: rgba(24, 8, 42, 0.8); box-shadow: 0 14px 40px -14px rgba(236, 72, 153, 0.65), inset 0 0 0 1px rgba(255, 43, 214, 0.14); }
.hero-btn:hover::before { transform: translateX(120%); }
.hero-btn__top { display: flex; align-items: center; justify-content: space-between; }
.hero-btn__icon { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 11px; border: 1px solid var(--line-strong); background: var(--grad-soft); color: #fff; transition: transform 0.35s var(--ease); }
.hero-btn:hover .hero-btn__icon { transform: rotate(-8deg) scale(1.08); }
.hero-btn__count { font: 400 0.9rem/1 var(--font-mono); color: var(--muted); }
.hero-btn__label { display: flex; align-items: center; justify-content: space-between; gap: 8px; font: 700 0.86rem/1.1 var(--font-ui); letter-spacing: 0.1em; text-transform: uppercase; }
.hero-btn__label .i { transition: transform 0.3s var(--ease); color: var(--pink-hot); }
.hero-btn:hover .hero-btn__label .i { transform: translateX(4px); }
.hero-btn--accent { border-color: rgba(236, 72, 153, 0.45); background: linear-gradient(140deg, rgba(168, 85, 247, 0.26), rgba(236, 72, 153, 0.22)); }

.hero__scroll {
  position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%);
  display: grid; justify-items: center; gap: 6px;
  border: 0; background: none; color: var(--muted);
  font: 400 0.72rem/1 var(--font-mono); letter-spacing: 0.3em; text-transform: uppercase;
}
.hero__scroll .i { color: var(--pink-hot); animation: bob 1.6s ease-in-out infinite; }
.hero__scroll:hover { color: #fff; }
@keyframes bob { 50% { transform: translateY(6px); } }

/* ---------- Cinta de palabras ---------- */
.ticker-wrap { position: relative; z-index: 2; overflow: hidden; padding: 30px 0; }
.ticker {
  width: 104%; margin-left: -2%; transform: rotate(-2deg);
  border-block: 1px solid var(--line-strong);
  background: linear-gradient(90deg, rgba(76, 29, 149, 0.6), rgba(157, 23, 77, 0.5));
  box-shadow: 0 0 44px -12px rgba(236, 72, 153, 0.55);
  overflow: hidden;
}
.ticker__track { display: flex; width: max-content; animation: ticker var(--dur, 30s) linear infinite; }
.ticker__group { display: flex; flex: none; }
.ticker__item { display: inline-flex; align-items: center; padding: 14px 18px 12px; font: 400 1.7rem/1 var(--font-display); letter-spacing: 0.08em; color: #fff; white-space: nowrap; }
.ticker__item::after { content: '✦'; margin-left: 36px; font-size: 0.9rem; color: var(--pink-hot); text-shadow: 0 0 10px var(--pink-hot); }
.ticker-wrap:hover .ticker__track { animation-play-state: paused; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- Secciones ---------- */
.section { padding-top: clamp(64px, 10vw, 120px); scroll-margin-top: calc(var(--header-h) + 8px); }
.section-head { display: grid; justify-items: start; gap: 12px; margin-bottom: clamp(28px, 5vw, 44px); }
.section-title { font: 400 clamp(2.8rem, 7vw, 5rem)/0.9 var(--font-display); letter-spacing: 0.02em; }
.section-title span { background: linear-gradient(95deg, #fff 35%, #f5d0fe 60%, #f472b6); -webkit-background-clip: text; background-clip: text; color: transparent; }
.section-sub { max-width: 60ch; color: var(--text-2); }

/* Sobre nosotros */
.about { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.65fr); gap: 20px; align-items: start; }
.terminal { border-radius: var(--radius-lg); border: 1px solid var(--line); background: var(--panel); overflow: hidden; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.8); }
.terminal__bar { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--line); background: rgba(255, 255, 255, 0.04); font: 400 0.78rem/1 var(--font-mono); color: var(--muted); }
.terminal__dots { display: flex; gap: 6px; }
.terminal__dots span { width: 11px; height: 11px; border-radius: 50%; background: var(--pink-hot); }
.terminal__dots span:nth-child(2) { background: var(--purple-2); }
.terminal__dots span:nth-child(3) { background: #f5d0fe; }
.terminal__name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; letter-spacing: 0.08em; }
.terminal__status { display: inline-flex; align-items: center; gap: 8px; font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: #f0abfc; }
.terminal__body { padding: clamp(20px, 4vw, 34px); font-size: clamp(1rem, 0.6vw + 0.85rem, 1.14rem); line-height: 1.78; color: #ece4fb; }
.terminal__body p::before { content: '> '; font-family: var(--font-mono); color: var(--pink-hot); }
.about__side { display: grid; gap: 20px; }
.stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.stat { position: relative; overflow: hidden; padding: 18px 16px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--panel); }
.stat::after { content: ''; position: absolute; right: -30%; top: -60%; width: 80%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(236, 72, 153, 0.24), transparent 70%); }
.stat__num { display: block; font: 400 3.1rem/1 var(--font-display); background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat__label { font: 600 0.72rem/1.2 var(--font-ui); letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-2); }
.services-card { padding: 20px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--panel); }
.services-card__title { margin-bottom: 14px; font: 400 1.6rem/1 var(--font-display); letter-spacing: 0.03em; }

/* Equipo */
.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: 18px; }
.member {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column;
  border-radius: 20px; border: 1px solid var(--line); background: var(--panel);
  transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform 0.5s var(--ease), border-color 0.3s, box-shadow 0.4s;
}
.member:hover { border-color: rgba(236, 72, 153, 0.55); box-shadow: 0 24px 60px -24px rgba(236, 72, 153, 0.55), inset 0 0 0 1px rgba(255, 43, 214, 0.12); }
.member__banner { position: relative; height: 92px; overflow: hidden; background: linear-gradient(120deg, #4c1d95, #9d174d); }
.member__banner--1 { background: linear-gradient(120deg, #831843, #6d28d9); }
.member__banner--2 { background: linear-gradient(120deg, #2e1065, #db2777 120%); }
.member__banner::before, .profile__banner::before {
  content: ''; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.13) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.13) 1px, transparent 1px);
  background-size: 16px 16px;
  -webkit-mask-image: linear-gradient(to bottom, #000, transparent); mask-image: linear-gradient(to bottom, #000, transparent);
}
.member__banner::after { content: ''; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 20%, rgba(255, 255, 255, 0.25) 50%, transparent 80%); transform: translateX(-100%); transition: transform 0.9s var(--ease); }
.member:hover .member__banner::after { transform: translateX(100%); }
.member__code { position: absolute; top: 10px; right: 12px; font: 400 0.72rem/1 var(--font-mono); letter-spacing: 0.12em; color: rgba(255, 255, 255, 0.78); }
.member__avatar { width: 98px; height: 98px; margin: -49px auto 0; box-shadow: 0 0 0 5px #10051e, 0 10px 30px -6px rgba(236, 72, 153, 0.55); transition: transform 0.4s var(--ease); }
.member:hover .member__avatar { transform: scale(1.05) rotate(-3deg); }
.member__body { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 14px 20px 22px; text-align: center; }
.member__name { display: inline-flex; align-items: center; gap: 6px; font: 700 1.14rem/1.2 var(--font-ui); overflow-wrap: anywhere; }
.member__verified { width: 18px; height: 18px; color: var(--pink-hot); filter: drop-shadow(0 0 6px rgba(255, 43, 214, 0.7)); }
.member__desc { font-size: 0.92rem; line-height: 1.6; color: var(--text-2); }
.member__cta { margin-top: auto; padding-top: 6px; display: inline-flex; align-items: center; gap: 7px; font: 600 0.74rem/1 var(--font-ui); letter-spacing: 0.14em; text-transform: uppercase; color: #f9a8d4; transition: color 0.2s, gap 0.3s; }
.member:hover .member__cta { color: #fff; gap: 10px; }

.hit { position: absolute; inset: 0; z-index: 4; border: 0; border-radius: inherit; background: transparent; }
.hit:focus-visible { outline: 2px solid var(--pink-hot); outline-offset: -3px; }

/* ---------- Páginas de tarjetas ---------- */
.page { min-height: 100vh; padding: calc(var(--header-h) + clamp(40px, 7vw, 72px)) 0 clamp(64px, 9vw, 110px); }
.page-head { display: grid; justify-items: start; gap: 14px; max-width: 820px; margin-bottom: clamp(30px, 5vw, 48px); }
.crumbs { display: inline-flex; align-items: center; gap: 2px; font: 400 0.82rem/1 var(--font-mono); letter-spacing: 0.14em; color: var(--muted); }
.crumbs span:nth-child(2) { color: #f0abfc; }
.page-title { font: 400 clamp(3.6rem, 12vw, 8rem)/0.85 var(--font-display); letter-spacing: 0.015em; text-shadow: 0 0 40px rgba(168, 85, 247, 0.45); overflow-wrap: anywhere; }
.page-intro { max-width: 60ch; font-size: clamp(1rem, 0.6vw + 0.85rem, 1.18rem); color: var(--text-2); }
.page-count { font: 400 0.8rem/1 var(--font-mono); letter-spacing: 0.2em; color: #f0abfc; }

.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 22px; }
.card {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; flex-direction: column;
  border-radius: 20px; border: 1px solid var(--line); background: var(--panel);
  transform: perspective(1000px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform 0.5s var(--ease), border-color 0.3s, box-shadow 0.4s;
}
@property --ang { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
.card::before {
  content: ''; position: absolute; inset: 0; z-index: 3; pointer-events: none;
  padding: 1px; border-radius: inherit;
  background: conic-gradient(from var(--ang), transparent 0 55%, var(--pink-hot) 70%, var(--purple-2) 82%, transparent 95%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity 0.3s;
  animation: ang 4s linear infinite;
}
@keyframes ang { to { --ang: 360deg; } }
.card:hover { border-color: rgba(236, 72, 153, 0.25); box-shadow: 0 28px 70px -28px rgba(236, 72, 153, 0.6); }
.card:hover::before { opacity: 1; }
.card__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: #0b0316; }
.card__media > img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.card__media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(13, 5, 24, 0.85), transparent 45%); pointer-events: none; }
.card:hover .card__media > img, .card:hover .cover__title { transform: scale(1.06); }
.card__badge {
  position: absolute; left: 12px; top: 12px; z-index: 2;
  padding: 6px 11px; border-radius: 999px;
  background: var(--grad); color: #fff;
  font: 700 0.68rem/1 var(--font-ui); letter-spacing: 0.14em; text-transform: uppercase;
  box-shadow: 0 6px 20px -6px rgba(236, 72, 153, 0.85);
}
.card__type {
  position: absolute; right: 12px; top: 12px; z-index: 2;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 10px; border-radius: 8px;
  border: 1px solid var(--line-strong); background: rgba(6, 1, 12, 0.72);
  font: 400 0.7rem/1 var(--font-mono); letter-spacing: 0.12em; text-transform: uppercase; color: #f5d0fe;
}
.card__body { flex: 1; display: flex; flex-direction: column; gap: 12px; padding: 18px 20px 20px; }
.card__title { font: 400 2rem/0.95 var(--font-display); letter-spacing: 0.02em; }
.card:hover .card__title { animation: title-glitch 0.5s steps(2) 1; }
@keyframes title-glitch {
  0% { text-shadow: -3px 0 var(--pink-hot), 3px 0 var(--violet-glitch); transform: translateX(1px); }
  50% { text-shadow: 3px 0 var(--pink-hot), -3px 0 var(--violet-glitch); transform: translateX(-1px); }
  100% { text-shadow: none; transform: none; }
}
.card__desc { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; font-size: 0.93rem; line-height: 1.6; color: var(--text-2); }
.card__desc strong { color: #fff; }
.card__foot { margin-top: auto; padding-top: 14px; border-top: 1px dashed var(--line-strong); display: flex; align-items: center; justify-content: space-between; gap: 12px; font: 600 0.74rem/1.2 var(--font-ui); letter-spacing: 0.12em; text-transform: uppercase; }
.card__status { display: inline-flex; align-items: center; gap: 7px; min-width: 0; color: var(--muted); }
.card__status--link { font: 400 0.8rem/1.2 var(--font-mono); letter-spacing: 0.02em; text-transform: none; color: #f9a8d4; }
.card__more { display: inline-flex; align-items: center; gap: 7px; color: #fff; white-space: nowrap; transition: gap 0.3s; }
.card__more .i { color: var(--pink-hot); }
.card:hover .card__more { gap: 11px; }
.card__glare { position: absolute; inset: 0; z-index: 2; pointer-events: none; background: radial-gradient(500px circle at var(--mx, 50%) var(--my, 0%), rgba(255, 255, 255, 0.08), transparent 40%); opacity: 0; transition: opacity 0.3s; }
.card:hover .card__glare { opacity: 1; }

.pager { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 56px; }
.pager__link { display: grid; justify-items: start; gap: 6px; padding: 18px 20px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--panel); text-decoration: none; transition: transform 0.3s var(--ease), border-color 0.3s, box-shadow 0.3s; }
.pager__link small { display: inline-flex; align-items: center; gap: 8px; font: 400 0.74rem/1 var(--font-mono); letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.pager__link strong { font: 400 1.9rem/1 var(--font-display); letter-spacing: 0.03em; }
.pager__link--next { justify-items: end; text-align: right; }
.pager__link:hover { transform: translateY(-3px); border-color: rgba(236, 72, 153, 0.55); box-shadow: 0 16px 40px -20px rgba(236, 72, 153, 0.6); }

/* ---------- Ventana de proyecto / confirmación de enlace ---------- */
.item-modal__media { position: relative; aspect-ratio: 16 / 8; max-height: 40vh; max-height: 40dvh; width: 100%; overflow: hidden; background: #0b0316; }
.item-modal__media > img { width: 100%; height: 100%; object-fit: cover; }
.item-modal__media .cover__title { font-size: min(8cqi, 18cqh); }
.item-modal__body { display: grid; gap: 14px; padding: 22px clamp(18px, 4vw, 30px) 26px; }
.item-modal__title { font: 400 clamp(2.2rem, 6vw, 3.2rem)/0.92 var(--font-display); letter-spacing: 0.02em; }
.item-modal__text { color: var(--text-2); }
.leave { display: grid; gap: 10px; margin-top: 6px; padding: 16px; border-radius: 16px; border: 1px solid rgba(236, 72, 153, 0.42); background: linear-gradient(135deg, rgba(236, 72, 153, 0.11), rgba(168, 85, 247, 0.08)); }
.leave__head { display: flex; align-items: center; gap: 8px; font: 700 0.8rem/1.2 var(--font-ui); letter-spacing: 0.12em; text-transform: uppercase; color: #fbcfe8; }
.leave__label { font-size: 0.88rem; color: var(--text-2); }
.leave__dest { display: flex; align-items: center; gap: 12px; min-width: 0; padding: 12px; border-radius: 12px; border: 1px solid var(--line); background: rgba(0, 0, 0, 0.35); }
.leave__icon { width: 42px; height: 42px; flex: none; display: grid; place-items: center; border-radius: 11px; background: var(--grad-soft); color: #fff; }
.leave__where { display: grid; min-width: 0; }
.leave__where strong { font-size: 1.05rem; }
.leave__where code { font: 400 0.78rem/1.4 var(--font-mono); color: var(--muted); overflow-wrap: anywhere; }
.leave__question { font-weight: 600; }
.item-modal .modal__actions { margin-top: 4px; }
.private-note { display: flex; align-items: center; gap: 10px; padding: 14px; border-radius: 14px; border: 1px dashed var(--line-strong); font-size: 0.92rem; color: var(--text-2); }
.private-note .i { color: var(--pink-hot); }

/* ---------- Ventana de redes de un miembro ---------- */
.profile { display: grid; justify-items: center; gap: 10px; padding: 0 22px 24px; text-align: center; }
.profile__banner { position: relative; width: calc(100% + 44px); height: 96px; margin: 0 -22px; overflow: hidden; background: linear-gradient(120deg, #4c1d95, #be185d); }
.profile__avatar { width: 104px; height: 104px; margin-top: -52px; box-shadow: 0 0 0 5px #150828, 0 10px 30px -6px rgba(236, 72, 153, 0.6); }
.profile__name { display: inline-flex; align-items: center; gap: 6px; margin-top: 4px; font: 700 1.35rem/1.2 var(--font-ui); overflow-wrap: anywhere; }
.profile__label { width: 100%; margin-top: 12px; text-align: left; font: 600 0.72rem/1 var(--font-ui); letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.social-list { width: 100%; display: grid; gap: 8px; }
.social-item { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 14px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.035); text-align: left; text-decoration: none; transition: border-color 0.25s, background 0.25s, transform 0.25s var(--ease); }
.social-item:hover { border-color: rgba(236, 72, 153, 0.6); background: rgba(236, 72, 153, 0.1); transform: translateX(3px); }
.social-item__icon { width: 40px; height: 40px; flex: none; display: grid; place-items: center; border-radius: 11px; background: var(--grad); color: #fff; }
.social-item__text { flex: 1; min-width: 0; display: grid; }
.social-item__text strong { font-size: 0.95rem; }
.social-item__text small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font: 400 0.78rem/1.3 var(--font-mono); color: var(--muted); }
.social-item__go { color: var(--muted); }
.profile__empty { width: 100%; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 16px; border-radius: 14px; border: 1px dashed var(--line-strong); font-size: 0.9rem; color: var(--text-2); }

/* ---------- Contacto ---------- */
.contact { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); gap: 20px; }
.panel { display: grid; align-content: start; gap: 16px; padding: clamp(20px, 3.5vw, 30px); border-radius: var(--radius-lg); border: 1px solid var(--line); background: var(--panel); }
.panel__label { display: inline-flex; align-items: center; gap: 8px; font: 600 0.74rem/1.2 var(--font-ui); letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.panel__label .i { color: var(--pink-hot); }
.email-box { display: flex; align-items: center; gap: 12px; padding: 12px 12px 12px 18px; border-radius: 16px; border: 1px solid var(--line-strong); background: rgba(0, 0, 0, 0.35); box-shadow: inset 0 0 30px rgba(168, 85, 247, 0.08); }
.email-box__value { flex: 1; min-width: 0; font: 600 clamp(1.02rem, 2.6vw, 1.5rem)/1.2 var(--font-ui); text-decoration: none; overflow-wrap: anywhere; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.contact__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.price { position: relative; overflow: hidden; }
.price::before { content: ''; position: absolute; right: -40%; top: -40%; width: 90%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(236, 72, 153, 0.28), transparent 65%); pointer-events: none; }
.price__value { font: 400 clamp(2.6rem, 6vw, 3.8rem)/0.95 var(--font-display); letter-spacing: 0.02em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.price__note { font-size: 0.95rem; color: var(--text-2); }
.price__meter { height: 8px; overflow: hidden; border-radius: 8px; background: rgba(255, 255, 255, 0.07); }
.price__meter span { display: block; height: 100%; background: var(--grad); box-shadow: 0 0 14px var(--pink-hot); transform-origin: left; animation: meter 3.5s ease-in-out infinite alternate; }
@keyframes meter { from { transform: scaleX(0.2); } to { transform: scaleX(1); } }
.price__scale { display: flex; justify-content: space-between; font-size: 0.68rem; letter-spacing: 0.18em; color: var(--muted); }
.contact-form { grid-column: 1 / -1; }
.contact-form__head { display: grid; gap: 6px; }
.contact-form__hint { font-size: 0.88rem; color: var(--muted); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field--full { grid-column: 1 / -1; }
.contact-form > .btn { justify-self: start; }

/* ---------- Footer ---------- */
.footer { position: relative; z-index: 2; overflow: hidden; margin-top: 40px; border-top: 1px solid var(--line); background: linear-gradient(180deg, rgba(7, 2, 14, 0.55), rgba(3, 0, 8, 0.96) 40%); }
.footer::before { content: ''; position: absolute; top: -1px; left: 0; right: 0; height: 2px; background: var(--grad); box-shadow: 0 0 24px rgba(236, 72, 153, 0.8); }
.footer__wordmark {
  position: absolute; left: 50%; bottom: -0.16em; transform: translateX(-50%);
  font: 400 clamp(6rem, 26vw, 22rem)/0.8 var(--font-display); letter-spacing: 0.04em; white-space: nowrap;
  color: transparent; -webkit-text-stroke: 1px rgba(214, 160, 255, 0.12);
  pointer-events: none; user-select: none;
}
.footer__grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: 36px; padding: clamp(48px, 7vw, 72px) 0 40px; }
.footer__brand { display: grid; align-content: start; justify-items: start; gap: 16px; }
.brand--footer .brand__emblem { width: 54px; }
.footer__desc { max-width: 38ch; font-size: 0.94rem; color: var(--text-2); }
.footer__socials { display: flex; gap: 10px; }
.footer__title { display: flex; align-items: center; gap: 8px; margin-bottom: 16px; font: 600 0.76rem/1 var(--font-ui); letter-spacing: 0.2em; text-transform: uppercase; color: #fff; }
.footer__title::before { content: ''; width: 14px; height: 2px; background: var(--grad); }
.footer__col ul { display: grid; gap: 10px; list-style: none; padding: 0; }
.footer__col a { font-size: 0.94rem; text-decoration: none; color: var(--text-2); transition: color 0.2s, padding 0.2s; overflow-wrap: anywhere; }
.footer__col a:hover { color: #fff; padding-left: 4px; }
.footer__muted { font-size: 0.9rem; color: var(--muted); }
.footer__col .footer__cta { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: #f9a8d4; }
.footer__bottom { position: relative; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 24px; padding: 20px 0 calc(26px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); font-size: 0.84rem; color: var(--muted); }
.footer__credit { color: var(--text-2); }
.credit-glitch { position: relative; display: inline-block; font-weight: 700; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.credit-glitch:hover { animation: title-glitch 0.5s steps(2) 2; }
.to-top { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; border: 1px solid var(--line-strong); background: rgba(255, 255, 255, 0.04); color: #fff; transition: background 0.25s, border-color 0.25s, transform 0.25s var(--ease); }
.to-top:hover { background: var(--grad); border-color: transparent; transform: translateY(-3px); }

.noscript { position: relative; z-index: 5; display: grid; gap: 8px; padding: 120px 24px; text-align: center; }

/* ---------- Launcher (descarga) ---------- */
.launcher { display: grid; gap: clamp(48px, 7vw, 76px); }
.launcher__main { display: grid; grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr); gap: 22px; align-items: start; }
.launcher__card { position: relative; overflow: hidden; gap: 18px; }
.launcher__card::before { content: ''; position: absolute; right: -35%; top: -45%; width: 85%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(236, 72, 153, 0.22), transparent 65%); pointer-events: none; }
.launcher__app { position: relative; display: flex; align-items: center; gap: 16px; min-width: 0; }
.launcher__icon { width: 84px; height: 84px; flex: none; border-radius: 22px; box-shadow: 0 14px 34px -12px rgba(236, 72, 153, 0.85), 0 0 0 1px var(--line-strong); }
.launcher__id { min-width: 0; }
.launcher__name { font: 400 clamp(1.8rem, 3vw, 2.3rem)/0.95 var(--font-display); letter-spacing: 0.02em; }
.launcher__meta { display: flex; flex-wrap: wrap; gap: 4px 12px; margin-top: 8px; font: 400 0.82rem/1.2 var(--font-mono); letter-spacing: 0.06em; color: #f0abfc; }
.launcher__meta span { white-space: nowrap; }
.launcher__meta span:empty { display: none; }
.launcher__meta span + span::before { content: '·'; margin-right: 12px; color: var(--muted); }

.dl-btn {
  position: relative; overflow: hidden; isolation: isolate;
  display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 18px;
  background: linear-gradient(100deg, #7c3aed 0%, #a855f7 35%, #ec4899 75%, #ff2bd6 100%);
  color: #fff; text-decoration: none;
  box-shadow: 0 20px 44px -18px rgba(236, 72, 153, 0.95), 0 0 0 1px rgba(255, 255, 255, 0.14) inset;
  transition: transform 0.3s var(--ease), box-shadow 0.3s;
}
.dl-btn::before { content: ''; position: absolute; inset: 0; z-index: -1; background: repeating-linear-gradient(115deg, transparent 0 18px, rgba(255, 255, 255, 0.07) 18px 36px); animation: dl-stripes 1.6s linear infinite; }
@keyframes dl-stripes { to { background-position: 51px 0; } }
.dl-btn::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, 0.35) 50%, transparent 70%); transform: translateX(-120%); transition: transform 0.8s var(--ease); }
.dl-btn:hover { transform: translateY(-3px); box-shadow: 0 26px 54px -16px rgba(255, 43, 214, 1), 0 0 0 1px rgba(255, 255, 255, 0.25) inset; }
.dl-btn:hover::after { transform: translateX(120%); }
.dl-btn:active { transform: scale(0.99); }
.dl-btn__icon { width: 48px; height: 48px; flex: none; display: grid; place-items: center; border-radius: 13px; background: rgba(255, 255, 255, 0.16); border: 1px solid rgba(255, 255, 255, 0.25); }
.dl-btn__icon .i { width: 24px; height: 24px; }
.dl-btn__text { flex: 1; min-width: 0; display: grid; gap: 3px; }
.dl-btn__text strong { font: 400 1.7rem/1 var(--font-display); letter-spacing: 0.08em; text-transform: uppercase; }
.dl-btn__text small { font: 400 0.78rem/1.3 var(--font-mono); letter-spacing: 0.02em; opacity: 0.92; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dl-btn > .i { width: 26px; height: 26px; flex: none; }
.dl-btn:hover > .i { animation: bob 0.9s ease-in-out infinite; }

.launcher__facts { position: relative; display: grid; gap: 10px; list-style: none; padding: 0; font-size: 0.93rem; color: var(--text-2); }
.launcher__facts li { display: flex; align-items: flex-start; gap: 10px; }
.launcher__facts .i { width: 18px; height: 18px; flex: none; margin-top: 3px; color: var(--pink-hot); }
.launcher__links { display: flex; flex-wrap: wrap; gap: 8px; }
.launcher__links .i { width: 16px; height: 16px; }
.launcher__help { padding-top: 14px; border-top: 1px dashed var(--line-strong); font-size: 0.88rem; color: var(--text-2); }
.launcher__help summary { display: flex; align-items: center; gap: 8px; cursor: pointer; list-style: none; font-weight: 600; color: #fff; }
.launcher__help summary::-webkit-details-marker { display: none; }
.launcher__help summary .i { width: 18px; height: 18px; flex: none; color: var(--pink-hot); }
.launcher__help p { margin-top: 10px; }
.launcher__help ul { display: grid; gap: 6px; margin-top: 8px; padding-left: 18px; }
.launcher__help b { color: #fff; }

.shots { display: grid; gap: 10px; min-width: 0; }
.shots__main { position: relative; display: block; padding: 0; overflow: hidden; aspect-ratio: 16 / 10; border-radius: var(--radius-lg); border: 1px solid var(--line-strong); background: #0b0316; cursor: zoom-in; box-shadow: 0 34px 80px -34px rgba(236, 72, 153, 0.6), 0 0 0 1px rgba(168, 85, 247, 0.12); }
.shots__main img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.shots__main:hover img { transform: scale(1.015); }
.shots__zoom { position: absolute; right: 12px; bottom: 12px; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; border: 1px solid var(--line-strong); background: rgba(6, 1, 12, 0.72); color: #fff; opacity: 0.85; transition: opacity 0.2s, transform 0.3s var(--ease); }
.shots__main:hover .shots__zoom { opacity: 1; transform: scale(1.06); }
.shots__cap { font: 400 0.82rem/1.3 var(--font-mono); letter-spacing: 0.06em; color: var(--muted); }
.shots__thumbs { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px; }
.shots__thumb { padding: 0; overflow: hidden; aspect-ratio: 16 / 10; border-radius: 10px; border: 1px solid var(--line); background: #0b0316; opacity: 0.55; transition: opacity 0.2s, border-color 0.2s, box-shadow 0.2s, transform 0.25s var(--ease); }
.shots__thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.shots__thumb:hover { opacity: 0.9; transform: translateY(-2px); }
.shots__thumb.is-active { opacity: 1; border-color: var(--pink-hot); box-shadow: var(--glow-pink); }
.shots__thumb:focus-visible { outline: 2px solid var(--pink-hot); outline-offset: 2px; }

.launcher__block { display: grid; gap: 20px; }
.launcher__title { font: 400 clamp(2.2rem, 5vw, 3.4rem)/0.92 var(--font-display); letter-spacing: 0.02em; }
.os-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.os { display: flex; align-items: center; gap: 12px; min-width: 0; padding: 16px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--panel); }
.os strong { display: block; font-size: 1.02rem; }
.os small { display: block; font-size: 0.8rem; color: var(--muted); }
.os__icon { width: 46px; height: 46px; flex: none; display: grid; place-items: center; border-radius: 13px; border: 1px solid var(--line-strong); background: var(--grad-soft); color: #fff; }
.os__icon .i { width: 22px; height: 22px; }
.os__state { display: inline-flex; align-items: center; gap: 5px; margin-top: 6px; white-space: nowrap; font: 600 0.7rem/1 var(--font-ui); letter-spacing: 0.12em; text-transform: uppercase; color: #b9f6ca; }
.os__state .i { width: 15px; height: 15px; }
.os--no { opacity: 0.55; }
.os--no .os__icon { background: rgba(255, 255, 255, 0.04); border-color: var(--line); }
.reqs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 22px; list-style: none; padding: 0; }
.reqs li { display: flex; align-items: flex-start; gap: 10px; font-size: 0.93rem; color: var(--text-2); }
.reqs .i { width: 18px; height: 18px; flex: none; margin-top: 3px; color: var(--pink-hot); }
.reqs b { color: #fff; }
.feat-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.feat { display: grid; align-content: start; gap: 10px; padding: 20px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--panel); transition: transform 0.35s var(--ease), border-color 0.3s, box-shadow 0.35s; }
.feat:hover { transform: translateY(-4px); border-color: rgba(236, 72, 153, 0.5); box-shadow: 0 20px 50px -24px rgba(236, 72, 153, 0.6); }
.feat__icon { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 13px; border: 1px solid var(--line-strong); background: var(--grad-soft); color: #fff; }
.feat__icon .i { width: 22px; height: 22px; }
.feat h3 { font: 700 1.02rem/1.25 var(--font-ui); }
.feat p { font-size: 0.9rem; line-height: 1.6; color: var(--text-2); }
.feat b { color: #fff; }

/* visor de capturas */
.modal__dialog--shot { width: min(1320px, 100%); }
.shot-view img { display: block; width: 100%; height: auto; border-radius: var(--radius-lg) var(--radius-lg) 0 0; }
.shot-view figcaption { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; font-size: 0.9rem; color: var(--text-2); }
.shot-view figcaption .mono { margin-left: 8px; color: var(--muted); }

/* ---------- Aparición al hacer scroll ---------- */
.reveal { --rd: calc(var(--i, 0) * 70ms); }
.js .reveal { opacity: 0; translate: 0 26px; transition: opacity 0.75s var(--ease) var(--rd), translate 0.75s var(--ease) var(--rd); }
.js .card.reveal, .js .member.reveal { transition: opacity 0.75s var(--ease) var(--rd), translate 0.75s var(--ease) var(--rd), transform 0.5s var(--ease), border-color 0.3s, box-shadow 0.4s; }
.js .reveal.in { opacity: 1; translate: none; }

/* ---------- Adaptación a tablets y móviles ---------- */
@media (max-width: 1240px) {
  .nav__link { padding-inline: 11px; letter-spacing: 0.1em; }
  .nav__dl-word { display: none; }
}

@media (max-width: 1100px) {
  .hero__buttons { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .launcher__main { grid-template-columns: 1fr; }
  .os-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 980px) {
  .nav { display: none; }
  .menu-toggle { display: grid; }
  .hero { padding-bottom: 96px; }
  .hero__inner { grid-template-columns: 1fr; gap: 12px; text-align: center; }
  .hero__visual { width: min(330px, 74vw); }
  .hero__copy { justify-items: center; }
  .hero__buttons { max-width: 560px; margin-inline: auto; }
  .about { grid-template-columns: 1fr; }
  .about__side { grid-template-columns: 1fr 1fr; }
  .contact { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
  .feat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 680px) {
  :root { --header-h: 64px; }
  .brand__emblem { width: 40px; }
  .social-btn { width: 38px; height: 38px; }
  .header__divider { display: none; }
  .hero__visual { width: min(270px, 70vw); }
  .hud-tag { display: none; }
  .hero__tagline { font-size: 0.98rem; }
  .ticker__item { font-size: 1.4rem; }
  .about__side { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .contact-form > .btn { justify-self: stretch; }
  .pager { grid-template-columns: 1fr; }
  .pager > span:empty { display: none; }
  .pager__link--next { justify-items: start; text-align: left; }
  .footer__grid { gap: 28px; }
  .footer__bottom { flex-direction: column; align-items: flex-start; padding-right: 56px; }
  .to-top { position: absolute; right: 0; top: 18px; }
  .shots__thumbs { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .os-grid, .reqs, .feat-grid { grid-template-columns: 1fr; }
  .dl-btn { padding: 14px; gap: 12px; }
  .dl-btn__text strong { font-size: 1.45rem; }
  .launcher__icon { width: 68px; height: 68px; border-radius: 18px; }
}

@media (max-width: 420px) {
  .hero__buttons { gap: 10px; }
  .hero-btn { padding: 14px; gap: 18px; }
  .hero-btn__label { font-size: 0.8rem; letter-spacing: 0.08em; }
  .footer__grid { grid-template-columns: 1fr; }
  .email-box { padding-left: 14px; }
}

@media (max-width: 359px) {
  .brand__text { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .fx-noise, .fx-scanbar, .hud-ring, .hero__emblem, .ticker__track, .cover__orb, .price__meter span, .nav__link--dl::before, .dl-btn::before { animation: none !important; }
  .js .reveal { opacity: 1; translate: none; }
}
