/* Spiritia · estilo "Raycast": fondo casi negro, barra flotante de cristal, portada centrada con haces de luz
   multicolor, producto grande con un dock de iconos, tipografía Inter y mucho aire. Va al final de todo y redefine. */
:root {
  --f-titulo: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-texto: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: ui-monospace, "SF Mono", "Cascadia Mono", Consolas, monospace;
  --bg: #07080c;
  --bg-2: #0b0c12;
  --surface: #101118;
  --surface-2: #151720;
  --border: rgba(255, 255, 255, .08);
  --border-strong: rgba(255, 255, 255, .14);
  --muted: #8b8f9e;
}
body { background: var(--bg); font-family: var(--f-texto); letter-spacing: -.005em; }
h1, h2, h3, .logo, .btn, .nav-links, .tag, summary, .eyebrow, .stat b, .foot-t, th { font-family: var(--f-titulo); }
h1, h2, h3, .logo, .btn, .nav-links, summary, .foot-t { text-transform: none; }

/* --- Barra flotante --- */
.nav { position: sticky; top: 12px; margin: 12px auto 0; width: min(1100px, calc(100% - 24px)); border: 1px solid var(--border-strong); border-radius: 16px;
  background: rgba(20, 21, 30, .55); backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4); z-index: 50; box-shadow: 0 10px 40px rgba(0, 0, 0, .35); }
.nav .wrap { height: 58px; padding: 0 12px 0 18px; max-width: none; }
.logo { font-size: 18px; font-weight: 700; letter-spacing: -.01em; }
.logo-img { width: 28px; height: 28px; }
.nav-links { display: flex !important; gap: 4px; font-size: 14px; font-weight: 500; letter-spacing: 0; }
.nav-links a { padding: 8px 12px; border-radius: 9px; color: #a3a7b6; transition: color .15s, background .15s; }
.nav-links a:hover { color: #fff; background: rgba(255, 255, 255, .06); }
.nav-right { gap: 8px; }
.nav .btn-sm { height: 34px; padding: 0 14px; font-size: 13.5px; border-radius: 10px; }
@media (max-width: 860px) { .nav-links { display: none !important; } }

/* --- Botones --- */
.btn { font-size: 15px; font-weight: 600; letter-spacing: -.005em; text-transform: none; height: 46px; border-radius: 12px; }
.btn-sm { font-size: 13.5px; font-weight: 600; }
.btn-primary { background: #f4f5f8; color: #0b0c12; border: 1px solid rgba(255, 255, 255, .6); box-shadow: 0 0 0 1px rgba(255, 255, 255, .06), 0 8px 30px rgba(255, 255, 255, .12); }
.btn-primary:hover { background: #fff; transform: translateY(-1px); box-shadow: 0 0 0 1px rgba(255, 255, 255, .1), 0 12px 40px rgba(255, 255, 255, .2); }
.btn-ghost { background: rgba(255, 255, 255, .05); border-color: var(--border-strong); }
.btn-xl { height: 54px; padding: 0 26px; font-size: 16px; border-radius: 14px; }
.btn svg { width: 18px; height: 18px; }

/* --- Portada --- */
.hero { padding: 120px 0 30px !important; overflow: hidden; }
.hero::before { display: none; }
.hero .wrap { display: block; max-width: 1100px; text-align: center; }
.hero-txt { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; }
h1 { font-size: clamp(42px, 7.4vw, 88px); line-height: 1.02; letter-spacing: -.045em; font-weight: 700; margin: 0 0 22px; max-width: 900px; text-transform: none; }
h1 em { background: var(--arco); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: clamp(16px, 2vw, 20px); color: #a6aab9; max-width: 640px; margin: 0 auto 22px; text-align: center; letter-spacing: -.01em; }
.hecho { margin: 0 0 28px; font-size: 13.5px; }
.hero-cta { justify-content: center; margin: 0; }
.mono { font-family: var(--f-mono); font-size: 12.5px; color: #70758a; margin: 16px 0 0; letter-spacing: 0; }
.stats { justify-content: center; padding: 30px 0 0; gap: 14px 46px; }
.stat b { margin: 0 auto; font-weight: 700; letter-spacing: -.02em; }
.stat span { font-size: 13px; }

/* Haces de luz: capas difuminadas que solo cambian de opacidad (se componen en la GPU). */
.beams { position: absolute; left: 50%; top: -60px; width: 1800px; height: 900px; margin-left: -900px; pointer-events: none; z-index: 0;
  -webkit-mask-image: linear-gradient(#000 50%, transparent 95%); mask-image: linear-gradient(#000 50%, transparent 95%); }
.beams i { position: absolute; top: 0; width: 64px; height: 820px; border-radius: 40px; transform: rotate(42deg); filter: blur(20px); opacity: .5; mix-blend-mode: screen; animation: haz 6s ease-in-out infinite alternate; will-change: opacity; }
.beams i::after { content: ""; position: absolute; left: 50%; top: 10%; bottom: 20%; width: 6px; margin-left: -3px; border-radius: 6px; background: inherit; filter: blur(3px); opacity: 1; }
.beams i:nth-child(1) { left: 650px; background: linear-gradient(#ff5a4d 20%, rgba(255, 90, 77, 0) 90%); animation-delay: -1s; }
.beams i:nth-child(2) { left: 780px; background: linear-gradient(#f5b83d 20%, rgba(245, 184, 61, 0) 90%); animation-delay: -3s; }
.beams i:nth-child(3) { left: 910px; background: linear-gradient(#34d399 20%, rgba(52, 211, 153, 0) 90%); animation-delay: -5s; }
.beams i:nth-child(4) { left: 1040px; background: linear-gradient(#3d8bff 20%, rgba(61, 139, 255, 0) 90%); animation-delay: -2s; }
.beams i:nth-child(5) { left: 1170px; background: linear-gradient(#7c5cff 20%, rgba(124, 92, 255, 0) 90%); animation-delay: -4s; }
@keyframes haz { from { opacity: .32; } to { opacity: .85; } }
@media (max-width: 760px) { .beams { width: 1200px; margin-left: -600px; } .beams i { width: 44px; height: 560px; filter: blur(14px); } .beams i:nth-child(1) { left: 450px; } .beams i:nth-child(2) { left: 540px; } .beams i:nth-child(3) { left: 630px; } .beams i:nth-child(4) { left: 720px; } .beams i:nth-child(5) { left: 810px; } }
@media (prefers-reduced-motion: reduce) { .beams i { animation: none; opacity: .45; } }

/* --- Producto grande + dock --- */
.carrusel { position: relative; z-index: 2; max-width: 1000px; margin: 64px auto 0; padding: 10px; border-radius: 20px; border: 1px solid var(--border-strong);
  background: linear-gradient(180deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .02));
  box-shadow: 0 50px 120px rgba(0, 0, 0, .65), 0 0 120px rgba(124, 92, 255, .14), inset 0 1px 0 rgba(255, 255, 255, .08); text-align: left; }
.car-ventana { border-radius: 12px; }
.car-slide .game { height: auto; aspect-ratio: 1184 / 741; border-radius: 12px; }
.car-slide .game .ov-real { top: 8%; right: 4%; width: min(46%, 400px); }
.car-slide figcaption { display: none; }
.dock { position: relative; z-index: 3; display: flex; justify-content: center; gap: 8px; width: fit-content; margin: 26px auto 0; padding: 7px; border-radius: 18px; border: 1px solid var(--border-strong);
  background: rgba(20, 21, 30, .7); backdrop-filter: blur(14px); box-shadow: 0 14px 40px rgba(0, 0, 0, .5), inset 0 1px 0 rgba(255, 255, 255, .06); }
.dock button { position: relative; width: 52px; height: 52px; border-radius: 13px; border: 1px solid transparent; background: rgba(255, 255, 255, .03); color: #8e92a3; cursor: pointer; display: grid; place-items: center; transition: background .2s, color .2s, transform .2s, border-color .2s; }
.dock button svg { width: 22px; height: 22px; }
.dock button:hover { color: #fff; transform: translateY(-2px); }
.dock button.on { color: #fff; background: linear-gradient(180deg, rgba(255, 255, 255, .16), rgba(255, 255, 255, .05)); border-color: rgba(255, 255, 255, .2); box-shadow: 0 6px 20px rgba(0, 0, 0, .4); }
.dock-info { max-width: 620px; margin: 22px auto 0; text-align: center; color: #7c8091; font-size: 17px; letter-spacing: -.01em; min-height: 52px; }
.dock-info b { color: #f1f2f6; font-weight: 600; }
@media (max-width: 620px) { .carrusel { margin-top: 44px; padding: 6px; border-radius: 16px; } .dock button { width: 46px; height: 46px; } .dock-info { font-size: 15px; } }

/* --- Secciones --- */
section { padding: 120px 0; }
.band { background: transparent; border-top: 1px solid var(--border); border-bottom: 0; }
h2 { font-size: clamp(30px, 4.4vw, 52px); line-height: 1.06; letter-spacing: -.04em; font-weight: 700; text-transform: none; }
h3 { font-weight: 600; letter-spacing: -.015em; text-transform: none; }
.sec-head { max-width: 700px; margin: 0 auto 56px; text-align: center; }
.sec-head .tag, .tag { font-family: var(--f-mono); font-size: 12px; font-weight: 500; letter-spacing: .12em; color: #8b8f9e; text-transform: uppercase; margin-bottom: 14px; }
.sec-head p { color: #7c8091; font-size: 18px; letter-spacing: -.01em; }
.mer .sec-head, .koli .sec-head { text-align: left; margin: 0 0 24px; }
.checks small, .checks div { letter-spacing: -.005em; }
.cob-card, .koli-card { background: linear-gradient(180deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .015)); border-color: var(--border-strong); box-shadow: 0 30px 80px rgba(0, 0, 0, .5); }
.cob-card h3 { text-transform: none; }
.cob-invita { background: rgba(255, 255, 255, .04); border-color: var(--border-strong); color: #c4c7d4; }
.stage { border-radius: 20px; background: linear-gradient(180deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .015)); box-shadow: 0 40px 100px rgba(0, 0, 0, .6); }
.stage.stage-koli { padding: 10px; }

/* Descarga */
.final .box { border-radius: 28px; border: 1px solid var(--border-strong); padding: 72px 24px; background: radial-gradient(600px 280px at 50% 0%, rgba(124, 92, 255, .22), transparent 70%), linear-gradient(180deg, rgba(255, 255, 255, .04), rgba(255, 255, 255, .01)); }
.final h2 { margin-bottom: 14px; }
.final p { color: #8b8f9e; }

/* Metas */
.metas-lista { max-width: 760px; margin-left: auto; margin-right: auto; }
.metas .sec-head { max-width: 760px; }
.meta-fila h3 { font-size: 19px; }
.meta-barra { background: rgba(255, 255, 255, .07); }
.meta-barra i { background: var(--arco); }
.metas-cta { max-width: 760px; margin-left: auto; margin-right: auto; }

/* Preguntas */
.faq { max-width: 760px; margin: 0 auto; }
.faq details { background: rgba(255, 255, 255, .03); border: 1px solid var(--border); border-radius: 14px; }
.faq summary { font-size: 16px; font-weight: 600; letter-spacing: -.01em; }
footer { border-top: 1px solid var(--border); }
.foot-t { font-size: 14px; font-weight: 600; letter-spacing: 0; }

#descargar.final { padding-top: 40px; padding-bottom: 0; }
section#metas.metas { padding-top: 70px; padding-bottom: 40px; }
section#faq { padding-top: 70px; }

/* Secciones con la imagen a un lado: se alternan */
.koli.inv > :first-child, .mer.inv > :first-child { order: 2; }
@media (max-width: 920px) { .koli.inv > :first-child, .mer.inv > :first-child { order: 0; } }
.stage-koli .game.pant, #equipo .game.pant, #builds .game.pant { height: auto; aspect-ratio: 1184 / 741; }
.stage-koli .game.pant img { position: static; display: block; width: 100%; height: auto; }

section#busqueda, section#mercadillo, section#equipo, section#builds, section#tierlist { padding: 84px 0; }

