/* =========================================================
   MFL Productions — estilos de la web
   ========================================================= */
:root {
  --bg: #0E0F12;          /* Void */
  --bg-1: #121316;
  --bg-2: #151619;
  --bg-3: #1B1C20;        /* Night */
  --line: rgba(236, 236, 238, .075);
  --line-2: rgba(236, 236, 238, .14);
  --line-3: rgba(236, 236, 238, .26);
  --fg: #ECECEE;          /* Ice */
  --fg-2: #A3A4AB;
  --fg-3: #6E7078;
  --accent: #4F8CFF;      /* Signal */
  --accent-hi: #8AB2FF;   /* Lavender */
  --accent-wash: rgba(79, 140, 255, .13);
  --accent-line: rgba(79, 140, 255, .38);
  --ok: #3FB96F;
  --ok-wash: rgba(63, 185, 111, .12);
  --discord: #5865F2;
  --glitch-a: #6D6E71;
  --glitch-b: #C0C1C4;
  --font: 'Sora', system-ui, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;
  --r-sm: 6px; --r: 10px; --r-lg: 16px; --r-xl: 22px;
  --page: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 100px;
  --skew: -12deg;
  --dur: .22s;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --spring: cubic-bezier(.22, 1, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  background: var(--bg); color: var(--fg-2);
  font-family: var(--font); font-size: 16px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
  min-height: 100vh; display: flex; flex-direction: column;
}
body > main { flex: 1 0 auto; position: relative; }
a { color: inherit; text-decoration: none; }
img, svg, video { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul { list-style: none; }
h1, h2, h3, h4 { color: var(--fg); font-weight: 700; line-height: 1.16; letter-spacing: -.02em; }
:focus-visible { outline: 2px solid var(--accent-hi); outline-offset: 3px; border-radius: 4px; }
::selection { background: rgba(79, 140, 255, .45); color: #fff; }

.wrap { width: 100%; max-width: var(--page); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(64px, 9vw, 128px); position: relative; }
.section-sm { padding-block: clamp(40px, 6vw, 72px); position: relative; }
.center { text-align: center; }
.accent { color: var(--accent); }
.mono { font-family: var(--mono); }

/* ============ Tipografía ============ */
.display { font-weight: 700; font-size: clamp(2.3rem, 5.4vw, 4.5rem); line-height: 1.08; letter-spacing: -.03em; }
h2, .h2 { font-size: clamp(1.6rem, 3.2vw, 2.4rem); line-height: 1.16; letter-spacing: -.025em; }
h3, .h3 { font-size: clamp(1.05rem, 1.8vw, 1.3rem); letter-spacing: -.015em; }
.lead { font-size: clamp(1rem, 1.4vw, 1.125rem); line-height: 1.65; color: var(--fg-2); max-width: 58ch; }
.center .lead { margin-inline: auto; }

/* Etiqueta tipo terminal: "// CATÁLOGO" */
.label {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 16px;
  font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase;
  color: var(--accent-hi);
}
.label::before { content: '//'; color: var(--accent); }

.section-head { margin-bottom: clamp(28px, 4vw, 52px); }
.section-head .lead { margin-top: 14px; }
.section-head--split { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }

/* Título con borde de glitch (como los banners de canal) */
.glitch { position: relative; display: inline-block; isolation: isolate; }
.glitch::before, .glitch::after { content: attr(data-text); position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.glitch::before { color: var(--glitch-a); transform: translateX(-2px); opacity: .75; clip-path: inset(0 0 58% 0); animation: glitch-a 7s steps(1) infinite; }
.glitch::after { color: var(--glitch-b); transform: translateX(2px); opacity: .75; clip-path: inset(58% 0 0 0); animation: glitch-b 7s steps(1) infinite; }
@keyframes glitch-a { 0%, 92%, 100% { transform: translateX(-2px); } 93% { transform: translateX(-6px); clip-path: inset(10% 0 70% 0); } 95% { transform: translateX(3px); clip-path: inset(40% 0 30% 0); } }
@keyframes glitch-b { 0%, 92%, 100% { transform: translateX(2px); } 93% { transform: translateX(6px); clip-path: inset(70% 0 5% 0); } 95% { transform: translateX(-3px); clip-path: inset(30% 0 45% 0); } }

/* ============ Botones ============ */
.btn {
  position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 13px 24px; border-radius: 999px; border: 1px solid transparent;
  font-size: .9375rem; font-weight: 600; letter-spacing: -.01em; white-space: nowrap;
  transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease), transform var(--dur) var(--ease), color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn svg { width: 16px; height: 16px; flex: none; }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 8px 30px -8px rgba(79, 140, 255, .7); }
.btn-primary:hover { background: #84AFFF; box-shadow: 0 10px 40px -6px rgba(79, 140, 255, .85); }
.btn-primary::after {
  content: ''; position: absolute; z-index: -1; top: 0; bottom: 0; left: 0; width: 60%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .28), transparent);
  transform: translate3d(-130%, 0, 0);
}
.hero .btn-primary::after, .community .btn-primary::after { animation: sheen 6s var(--spring) 2.2s infinite; }
.btn-primary:hover::after { animation: none; }
@keyframes sheen { 0% { transform: translate3d(-130%, 0, 0); } 18%, 100% { transform: translate3d(230%, 0, 0); } }
.btn-ghost { background: rgba(255, 255, 255, .04); color: var(--fg); border-color: var(--line-2); }
.btn-ghost:hover { background: rgba(255, 255, 255, .08); border-color: var(--line-3); }
.btn-outline { background: rgba(79, 140, 255, .07); color: var(--fg); border-color: var(--accent-line); }
.btn-outline:hover { background: rgba(79, 140, 255, .16); border-color: var(--accent); }
.btn-discord { background: var(--discord); color: #fff; }
.btn-discord:hover { background: #6B77F4; }
.btn-sm { padding: 9px 17px; font-size: .875rem; }
.btn-lg { padding: 17px 30px; font-size: 1.1rem; min-width: 186px; }
.btn-block { width: 100%; }
.btn[disabled], .btn.is-disabled { opacity: .5; pointer-events: none; }

.link-arrow { display: inline-flex; align-items: center; gap: 7px; min-height: 40px; color: var(--fg); font-weight: 600; font-size: .9375rem; }
.link-arrow svg { width: 15px; height: 15px; transition: transform var(--dur) var(--ease); }
.link-arrow:hover svg { transform: translateX(3px); }

.actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.center .actions { justify-content: center; }

/* ============ Insignias ============ */
.pill {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 13px 6px 11px;
  border: 1px solid var(--line-2); border-radius: 999px; background: rgba(255, 255, 255, .03);
  font-family: var(--mono); font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--fg-2);
}
.dot { width: 6px; height: 6px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 3px var(--ok-wash); }
.chip {
  display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px;
  font-size: .74rem; font-weight: 600;
  background: var(--accent-wash); color: var(--accent-hi); border: 1px solid var(--accent-line);
}
.chip-free { background: var(--ok-wash); color: var(--ok); border-color: rgba(63, 185, 111, .3); }
.chip-muted { background: rgba(255, 255, 255, .04); color: var(--fg-3); border-color: var(--line); }
.chip svg { width: 11px; height: 11px; }

/* =========================================================
   Fondo del sitio: estrellas con parallax, nebulosa, meteoros
   ========================================================= */
main > :not(.site-atmosphere):not(.site-grain) { position: relative; z-index: 1; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.site-atmosphere { position: fixed; z-index: 0; inset: 0; overflow: hidden; pointer-events: none; }
.atmo {
  position: absolute; left: 0; right: 0; top: calc(-1 * var(--tile)); bottom: calc(-1 * var(--tile));
  display: block; background-repeat: repeat; background-size: var(--tile) var(--tile); will-change: transform;
}
.atmo--far { --tile: 520px; opacity: .55; }
.atmo--mid { --tile: 680px; opacity: .6; }
.atmo--near { --tile: 840px; opacity: .5; }
.atmo--twinkle { --tile: 960px; animation: star-twinkle 4.4s ease-in-out -1.1s infinite alternate; }
.atmo--nebula {
  --tile: 0px; left: -20%; right: -20%; top: -40%; bottom: -40%; opacity: .95;
  background:
    radial-gradient(ellipse 30% 26% at 18% 26%, rgba(79, 140, 255, .2) 0%, rgba(79, 140, 255, .07) 45%, transparent 72%),
    radial-gradient(ellipse 28% 24% at 80% 62%, rgba(61, 116, 219, .17) 0%, rgba(61, 116, 219, .06) 45%, transparent 72%),
    radial-gradient(ellipse 34% 22% at 46% 90%, rgba(79, 140, 255, .12) 0%, transparent 70%);
  animation: nebula-roll 34s ease-in-out infinite alternate;
}
@keyframes nebula-roll { 0% { translate: -2% 1%; scale: 1; } 100% { translate: 2% -2%; scale: 1.08; } }
@keyframes star-twinkle { 0% { opacity: .08; } 35% { opacity: .2; } 100% { opacity: 1; } }

.site-grain {
  position: fixed; inset: 0; z-index: 4; pointer-events: none; opacity: .4; mix-blend-mode: overlay;
  background-size: 200px 200px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .5 0 0 0 0 .5 0 0 0 0 .5 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.meteor {
  position: absolute; top: var(--y, 10%); left: var(--x, 60%); width: var(--l, 180px); height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, transparent 0%, rgba(138, 178, 255, .25) 55%, rgba(255, 255, 255, .95) 100%);
  filter: drop-shadow(0 0 6px rgba(138, 178, 255, .9));
  transform-origin: 100% 50%; transform: rotate(32deg); opacity: 0; pointer-events: none;
  animation: meteor var(--t, 14s) linear var(--d, 0s) infinite; will-change: transform, opacity;
}
@keyframes meteor {
  0% { opacity: 0; transform: rotate(32deg) scaleX(.3); }
  2% { opacity: 1; }
  9% { opacity: 1; transform: rotate(32deg) translate3d(360px, 0, 0) scaleX(1); }
  11%, 100% { opacity: 0; transform: rotate(32deg) translate3d(440px, 0, 0) scaleX(.6); }
}

/* =========================================================
   Header: píldora flotante que se compacta al bajar
   ========================================================= */
.header { position: sticky; top: 0; z-index: 60; padding-top: 18px; pointer-events: none; isolation: isolate; }
.header::before {
  content: ''; position: absolute; left: 0; right: 0; top: 0; bottom: -34px; z-index: -1; pointer-events: none;
  background: linear-gradient(to bottom, rgba(14, 15, 18, .82) 0, rgba(14, 15, 18, .6) 60%, rgba(14, 15, 18, .3));
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  mask-image: linear-gradient(to bottom, #000 0, #000 calc(100% - 40px), transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, #000 0, #000 calc(100% - 40px), transparent 100%);
  opacity: 0; transition: opacity .36s var(--ease);
}
.header.is-stuck::before { opacity: 1; }
/* Franja detrás del header: suave, con un toque violeta y desvanecida en una zona alta */
.header::before {
  bottom: -90px;
  background: linear-gradient(to bottom, rgba(10, 11, 14, .72) 0%, rgba(12, 13, 16, .45) 45%, rgba(13, 14, 17, .15) 75%, transparent 100%);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  mask-image: linear-gradient(to bottom, #000 0%, rgba(0, 0, 0, .85) 40%, rgba(0, 0, 0, .35) 70%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, rgba(0, 0, 0, .85) 40%, rgba(0, 0, 0, .35) 70%, transparent 100%);
}
.header__shell { width: min(1564px, 81%); margin-inline: auto; transition: width .68s var(--spring); }
.header.is-compact .header__shell { width: min(940px, 90%); }
.header__inner {
  position: relative; pointer-events: auto;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  min-height: 80px; padding: 13px 32px;
  border: 1px solid var(--line); border-radius: 999px;
  background: rgba(21, 22, 25, .32);
  backdrop-filter: blur(12px) saturate(130%); -webkit-backdrop-filter: blur(12px) saturate(130%);
  box-shadow: 0 1px rgba(255, 255, 255, .04) inset, 0 14px 40px rgba(0, 0, 0, .3);
  transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease), min-height .68s var(--spring), padding .68s var(--spring);
}
.header.is-stuck .header__inner { background: rgba(18, 19, 22, .76); border-color: rgba(255, 255, 255, .12); }
.header.is-compact .header__inner { min-height: 66px; padding: 9px 22px; }

.brand { display: flex; align-items: center; gap: 10px; color: var(--fg); flex: none; transform-origin: left center; transition: transform .68s var(--spring); }
.brand img { width: 40px; height: 40px; border-radius: 11px; }
.brand span { font-weight: 700; font-size: 1.15rem; letter-spacing: -.02em; }
.header.is-compact .brand { transform: scale(.86); }

.nav {
  position: absolute; left: 50%; transform: translateX(-50%);
  display: flex; align-items: center; gap: 2px;
  transform-origin: center; transition: transform .68s var(--spring);
}
.header.is-compact .nav { transform: translateX(-50%) scale(.9); }
.nav a {
  position: relative; display: inline-flex; align-items: center; padding: 12px 15px; border-radius: 999px;
  font-size: .98rem; font-weight: 600; color: var(--fg-2); white-space: nowrap; transition: color var(--dur) var(--ease);
}
.nav a:hover, .nav a.is-active { color: var(--fg); }
.nav a.is-active::after {
  content: ''; position: absolute; left: 50%; bottom: 3px; width: 14px; height: 2px; border-radius: 2px;
  background: var(--accent); transform: translateX(-50%) skewX(var(--skew)); box-shadow: 0 0 10px var(--accent);
}
.nav .soon-tag { margin-left: 6px; font-family: var(--mono); font-size: 9px; letter-spacing: .1em; color: var(--accent-hi); border: 1px solid var(--accent-line); border-radius: 999px; padding: 1px 6px; }

.header__actions { display: flex; align-items: center; gap: 6px; flex: none; transform-origin: right center; transition: transform .68s var(--spring); }
.header.is-compact .header__actions { transform: scale(.92); }
.header__text-link {
  display: inline-flex; align-items: center; gap: 7px; padding: 12px 14px; font-size: .9375rem; font-weight: 500; color: var(--fg-2);
  transition: color var(--dur) var(--ease), opacity .34s var(--ease), transform .68s var(--spring); white-space: nowrap;
}
.header__text-link:hover { color: var(--fg); }
.header__text-link svg { width: 17px; height: 17px; }
.header.is-compact .header__text-link { opacity: 0; transform: translateX(8px); pointer-events: none; width: 0; padding: 0; overflow: hidden; }
.burger { display: none; width: 44px; height: 44px; border-radius: 999px; border: 1px solid var(--line-2); place-items: center; color: var(--fg); }
.burger svg { width: 18px; height: 18px; }

/* Usuario */
.user { position: relative; }
.user-btn { display: flex; align-items: center; gap: 9px; padding: 4px 14px 4px 4px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .04); transition: border-color var(--dur) var(--ease); }
.user-btn:hover { border-color: var(--accent-line); }
.user-btn img, .avatar-fallback { width: 34px; height: 34px; border-radius: 50%; background: var(--bg-3); }
.avatar-fallback { display: grid; place-items: center; font-size: .85rem; font-weight: 700; color: var(--accent-hi); }
.user-btn span { font-size: .9rem; font-weight: 600; color: var(--fg); max-width: 120px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.user-menu {
  position: absolute; right: 0; top: calc(100% + 12px); min-width: 240px; padding: 7px;
  border: 1px solid var(--line-2); border-radius: 14px; background: rgba(18, 19, 22, .96);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); box-shadow: 0 20px 50px rgba(0, 0, 0, .6);
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease), visibility var(--dur);
}
.user.is-open .user-menu { opacity: 1; visibility: visible; transform: none; }
.user-menu .meta { padding: 10px 12px 12px; border-bottom: 1px solid var(--line); margin-bottom: 6px; }
.user-menu .meta b { display: block; color: var(--fg); font-size: .92rem; }
.user-menu .meta small { display: block; color: var(--fg-3); font-family: var(--mono); font-size: .72rem; margin: 2px 0 8px; }
.user-menu a { display: block; padding: 10px 12px; border-radius: 9px; color: var(--fg-2); font-size: .9rem; }
.user-menu a:hover { background: rgba(255, 255, 255, .055); color: var(--fg); }

/* Menú móvil */
.drawer {
  position: fixed; inset: 0; z-index: 90; background: #07080B; padding: 20px var(--gutter) 40px;
  display: flex; flex-direction: column; gap: 8px; overflow-y: auto;
  transform: translateY(-100%); transition: transform .3s var(--ease);
}
.drawer.is-open { transform: none; }
.drawer[hidden] { display: none; }
.drawer__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.drawer__link { padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 1.4rem; font-weight: 700; color: var(--fg); }
.drawer__cta { margin-top: 24px; display: grid; gap: 10px; }

@media (max-width: 1340px) { .header__text-link { display: none; } .header__inner { padding: 12px 26px; } }
@media (max-width: 1180px) { .nav a { padding: 10px 11px; font-size: .93rem; } .header__inner { padding: 12px 22px; } }
@media (max-width: 1080px) {
  .nav { display: none; } .burger { display: grid; }
  .header__inner { min-height: 68px; padding: 11px 12px 11px 16px; }
  :root { --header-h: 86px; }
  .brand img { width: 36px; height: 36px; }
}
@media (max-width: 900px) { .header__shell, .header.is-compact .header__shell { width: calc(100% - 32px); } }
@media (max-width: 899px) {
  .header::before { backdrop-filter: none; -webkit-backdrop-filter: none; background: linear-gradient(to bottom, rgba(14, 15, 18, .95) 0, rgba(14, 15, 18, .8) 60%, transparent); }
}
@media (max-width: 480px) {
  .header__actions .btn { padding: 10px 15px; font-size: .84rem; }
  .user-btn span { display: none; } .user-btn { padding: 3px; }
  .brand span { display: none; }
}

/* =========================================================
   Hero
   ========================================================= */
.hero-handoff { position: relative; margin-top: calc(-1 * var(--header-h)); }
.hero { position: relative; padding-top: var(--header-h); overflow: hidden; isolation: isolate; text-align: center; }
.hero__backdrop { position: absolute; top: -1px; right: 0; bottom: 0; left: 0; z-index: -1; pointer-events: none; }
.hero__p { position: absolute; inset: 0; transform: translate3d(0, calc(var(--sy, 0) * var(--depth, 0px) / 100), 0); }
.hero__sky {
  position: absolute; inset: -1px 0 0; z-index: -4;
  background:
    radial-gradient(ellipse 62vw 240px at 50% 100%, rgba(61, 116, 219, .16), transparent 78%),
    radial-gradient(ellipse 60% 44% at 50% 60%, rgba(79, 140, 255, .2) 0%, rgba(61, 116, 219, .09) 40%, transparent 72%),
    radial-gradient(ellipse 30% 40% at 12% 70%, rgba(61, 116, 219, .12), transparent 70%),
    linear-gradient(180deg, #0E0F12, #0B0C0F, #0F1013 60%, #101114);
}
.hero__sky::after {
  content: ''; position: absolute; inset: 0; opacity: .12;
  background-image: linear-gradient(rgba(79, 140, 255, .3) 1px, transparent 1px), linear-gradient(90deg, rgba(79, 140, 255, .3) 1px, transparent 1px);
  background-size: 48px 48px; background-position: center top;
  mask-image: radial-gradient(ellipse 70% 80% at 50% 50%, #000 40%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 70% 80% at 50% 50%, #000 40%, transparent 100%);
}
/* Hueco alrededor del título: las estrellas no compiten con el texto */
.hero__stars, .hero__sparks {
  mask-image: radial-gradient(ellipse 34% 52% at 50% 50%, transparent 0 62%, #000 100%);
  -webkit-mask-image: radial-gradient(ellipse 34% 52% at 50% 50%, transparent 0 62%, #000 100%);
}
.hero__stars { position: absolute; inset: 0; background-repeat: repeat; opacity: .8; animation: hero-drift 150s ease-in-out infinite alternate; will-change: transform; }
.hero__stars--near { background-image: none; overflow: hidden; animation: none; opacity: .75; }
.hero__stars--near::before { content: ''; position: absolute; top: 0; bottom: 0; left: -900px; width: calc(100% + 900px); background-image: inherit; background-image: var(--near); background-size: 900px 900px; animation: drift 90s linear infinite; will-change: transform; }
.hero__stars--twinkle { animation: star-twinkle 3.6s ease-in-out infinite alternate; }
@keyframes hero-drift { 0% { transform: none; } 100% { transform: translate3d(-34px, 16px, 0) scale(1.03); } }
@keyframes drift { to { transform: translate3d(900px, 0, 0); } }
.hero__aurora {
  position: absolute; inset: -22% -12%; opacity: .9;
  background:
    radial-gradient(ellipse 26% 34% at 32% 58%, rgba(79, 140, 255, .26) 0%, rgba(79, 140, 255, .1) 42%, transparent 70%),
    radial-gradient(ellipse 24% 32% at 70% 44%, rgba(120, 167, 255, .2) 0%, rgba(120, 167, 255, .08) 44%, transparent 70%),
    radial-gradient(ellipse 36% 20% at 50% 84%, rgba(61, 116, 219, .16) 0%, transparent 72%);
  animation: aurora 18s ease-in-out infinite alternate; will-change: transform;
  mask-image: linear-gradient(to bottom, #000 48%, transparent 70%); -webkit-mask-image: linear-gradient(to bottom, #000 48%, transparent 70%);
}
@keyframes aurora { 0% { transform: translate3d(-3%, 2%, 0) rotate(-2deg); } 50% { transform: translate3d(1%, -1%, 0) rotate(1deg) scale(1.06); } 100% { transform: translate3d(3%, -2%, 0) rotate(2.5deg) scale(1.1); } }

/* Estrella de 4 puntas de la marca */
.hero__sparks { position: absolute; inset: 0; }
.spark {
  position: absolute; width: var(--s, 9px); height: var(--s, 9px); margin: calc(var(--s, 9px) / -2);
  background: #fff; clip-path: polygon(50% 0%, 59% 41%, 100% 50%, 59% 59%, 50% 100%, 41% 59%, 0% 50%, 41% 41%);
  filter: drop-shadow(0 0 5px rgba(210, 211, 214, 1)) drop-shadow(0 0 16px rgba(79, 140, 255, .8));
  opacity: 0; animation: twinkle var(--t, 5s) ease-in-out var(--d, 0s) infinite;
}
@keyframes twinkle { 0%, 100% { opacity: .25; transform: scale(.6) rotate(0); } 50% { opacity: 1; transform: scale(1.08) rotate(12deg); } }
.hero__orb { position: absolute; border-radius: 50%; animation: float 14s ease-in-out infinite; }
.hero__orb::after { content: ''; position: absolute; inset: -70%; border-radius: 50%; background: radial-gradient(circle, currentColor 0%, transparent 65%); opacity: .4; }
@keyframes float { 0%, 100% { transform: translate(0, 0); } 33% { transform: translate(9px, -22px); } 66% { transform: translate(-11px, 11px); } }
.hero--asleep * { animation-play-state: paused !important; }

.hero__copy {
  position: relative; max-width: 880px; margin-inline: auto;
  padding-top: clamp(64px, 11vh, 124px); padding-bottom: clamp(48px, 8vh, 96px);
  transform: translate3d(0, calc(var(--sy, 0) * .16px), 0); opacity: calc(1 - var(--sy, 0) / 760); will-change: transform, opacity;
}
.hero__copy::after {
  content: ''; position: absolute; z-index: -1; left: 50%; bottom: 84px; width: min(1120px, 112vw); height: 220px; transform: translateX(-50%);
  background: radial-gradient(ellipse 50% 50% at 50% 40%, rgba(79, 140, 255, .22) 0%, rgba(61, 116, 219, .08) 45%, transparent 100%);
  filter: blur(30px); opacity: .7; pointer-events: none;
}
.hero__count { display: inline-flex; align-items: center; gap: 9px; margin-bottom: 26px; font-size: 1.1rem; color: var(--fg-2); }
.hero__count svg { width: 18px; height: 18px; color: var(--ok); }
.hero__count b { color: var(--fg); font-weight: 600; }
.hero .display { margin-bottom: 26px; }
.hero .lead { margin: 0 auto 34px; max-width: 640px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* Páginas internas: hero más corto */
.hero--page .hero__copy { padding-top: clamp(48px, 8vh, 96px); padding-bottom: clamp(32px, 5vh, 64px); }
.hero--page .display { font-size: clamp(2.1rem, 4.6vw, 3.6rem); }

/* Entrada al cargar */
@keyframes enter-down { from { opacity: 0; transform: translateY(-26px); } to { opacity: 1; transform: none; } }
@keyframes enter-up { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.hero__count, .hero .pill { animation: enter-down .64s var(--ease) 40ms both; }
.hero .display { animation: enter-down .72s var(--ease) .11s both; }
.hero .lead { animation: enter-down .68s var(--ease) .2s both; }
.hero__cta, .hero .actions { animation: enter-down .64s var(--ease) .28s both; }
.page-enter { animation: enter-up .56s var(--ease) both; animation-delay: var(--enter-delay, 0ms); }

/* =========================================================
   Aparición al hacer scroll + inclinación 3D
   ========================================================= */
body.reveal-on .reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
body.reveal-on .reveal.is-in { opacity: 1; transform: none; }
body.reveal-on .tier.reveal, body.reveal-on .mod-card.reveal, body.reveal-on .cat-card.reveal, body.reveal-on .card.reveal {
  transform: translateY(24px) scale(.95);
  transition: opacity .56s var(--ease), transform .74s cubic-bezier(.2, .9, .3, 1.12);
}
body.reveal-on .tier.reveal.is-in, body.reveal-on .mod-card.reveal.is-in, body.reveal-on .cat-card.reveal.is-in, body.reveal-on .card.reveal.is-in { transform: none; }
body.reveal-on .section-head.reveal { filter: blur(8px); transition: opacity .7s var(--ease), transform .7s var(--ease), filter .7s var(--ease); }
body.reveal-on .section-head.reveal.is-in { filter: none; }

.tilt { position: relative; }
.tilt-ready { transition-property: opacity, border-color, box-shadow, background, color !important; transition-duration: .3s !important; will-change: transform; }
.tilt.is-tilting { border-color: var(--line-3); }
.tilt__glare {
  position: absolute; inset: 0; z-index: 5; border-radius: inherit; pointer-events: none; opacity: 0; mix-blend-mode: screen;
  background: radial-gradient(240px circle at var(--gx, 50%) var(--gy, 50%), rgba(255, 255, 255, .13), rgba(255, 255, 255, .04) 40%, transparent 70%);
  transition: opacity .36s var(--ease);
}
.tilt.is-tilting .tilt__glare { opacity: 1; }

/* =========================================================
   Categorías (tarjetas grandes)
   ========================================================= */
.section--journey { padding-block: 0 clamp(56px, 8vh, 96px); }
.cats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.cat-card {
  position: relative; display: block; aspect-ratio: 16 / 8; min-height: 230px; overflow: hidden; color: var(--fg);
  border: 1px solid var(--line); border-radius: clamp(14px, 1.4vw, 20px);
  background: linear-gradient(145deg, var(--bg-3), var(--bg-1));
  box-shadow: 0 22px 60px rgba(0, 0, 0, .2), inset 0 1px rgba(255, 255, 255, .03);
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.cat-card:hover { border-color: var(--line-2); box-shadow: 0 26px 70px rgba(0, 0, 0, .3); }
.cat-card__art { position: absolute; inset: 0; }
.cat-card__art img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.cat-card.is-live .cat-card__art img { animation: kenburns 18s ease-in-out infinite alternate; }
@keyframes kenburns { 0% { scale: 1; translate: 0 0; } 100% { scale: 1.07; translate: 1.2% -1.4%; } }
/* Arte de marca cuando no hay foto: arcos inclinados + estrella */
.cat-card__art--brand {
  background:
    radial-gradient(ellipse 60% 70% at 85% 20%, rgba(79, 140, 255, .32), transparent 70%),
    linear-gradient(rgba(79, 140, 255, .07) 1px, transparent 1px) 0 0 / 32px 32px,
    linear-gradient(90deg, rgba(79, 140, 255, .07) 1px, transparent 1px) 0 0 / 32px 32px;
}
.cat-card__art--brand::before {
  content: ''; position: absolute; right: 8%; top: 14%; width: 38%; aspect-ratio: 1;
  border: 22px solid rgba(79, 140, 255, .22); border-bottom: 0; border-radius: 999px 999px 0 0;
  transform: skewX(var(--skew)); transition: transform .7s var(--spring), border-color .3s var(--ease);
}
.cat-card__art--brand::after {
  content: ''; position: absolute; right: calc(8% + 19% - 14px); top: calc(14% + 19% - 6px); width: 28px; height: 28px; background: var(--accent);
  clip-path: polygon(50% 0%, 59% 41%, 100% 50%, 59% 59%, 50% 100%, 41% 59%, 0% 50%, 41% 41%);
  filter: drop-shadow(0 0 12px rgba(79, 140, 255, .9)); transition: transform .7s var(--spring);
}
.cat-card:hover .cat-card__art--brand::before { transform: skewX(var(--skew)) translateY(-6px); border-color: rgba(79, 140, 255, .34); }
.cat-card:hover .cat-card__art--brand::after { transform: rotate(45deg) scale(1.15); }
.cat-card::after { content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(180deg, transparent 18%, rgba(14, 15, 18, .4) 50%, rgba(14, 15, 18, .95) 100%); }
.cat-card__copy { position: absolute; inset: auto 0 0; z-index: 2; display: grid; gap: 6px; padding: clamp(18px, 2.1vw, 30px); }
.cat-card__num { font-family: var(--mono); font-size: 11px; letter-spacing: .16em; color: var(--accent-hi); }
.cat-card__title { font-size: clamp(1.3rem, 2vw, 1.75rem); }
.cat-card__meta { display: flex; justify-content: space-between; align-items: center; font-size: .9rem; color: rgba(236, 236, 238, .75); }
.cat-card__meta svg { width: 18px; height: 18px; color: var(--accent-hi); transition: transform var(--dur) var(--ease); }
.cat-card:hover .cat-card__meta svg { transform: translateX(4px); }

/* =========================================================
   Tarjeta de mod
   ========================================================= */
.mod-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; }
.mod-card {
  position: relative; display: flex; flex-direction: column; color: var(--fg); overflow: hidden;
  border: 1px solid var(--line); border-radius: var(--r-lg);
  background: linear-gradient(180deg, var(--bg-2), var(--bg));
  transition: border-color var(--dur) var(--ease);
}
.mod-card:hover { border-color: var(--line-3); }
.mod-thumb {
  position: relative; aspect-ratio: 16 / 10; margin: 10px 10px 0; overflow: hidden; border-radius: var(--r); border: 1px solid var(--line);
  background: var(--bg-3);
}
.mod-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.mod-card:hover .mod-thumb img { transform: scale(1.05); }
.mod-thumb .chip { position: absolute; top: 10px; left: 10px; z-index: 2; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); background: rgba(14, 15, 18, .72); }
.thumb-empty {
  width: 100%; height: 100%; display: grid; place-items: center; position: relative;
  background:
    radial-gradient(70% 90% at 20% 0%, rgba(79, 140, 255, .3), transparent 70%),
    repeating-linear-gradient(45deg, rgba(255, 255, 255, .022) 0 10px, transparent 10px 20px),
    var(--bg-3);
  font-family: var(--mono); font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--accent-hi);
}
.thumb-empty::before {
  content: ''; width: 34px; height: 34px; margin-bottom: 8px; background: rgba(138, 178, 255, .5);
  clip-path: polygon(50% 0%, 59% 41%, 100% 50%, 59% 59%, 50% 100%, 41% 59%, 0% 50%, 41% 41%);
  position: absolute; top: calc(50% - 34px);
}
.thumb-empty span { margin-top: 30px; }
.mod-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.mod-kicker { font-size: .78rem; font-weight: 600; color: var(--fg-3); }
.mod-body h3 { font-size: 1.06rem; }
.mod-body .replaces { color: var(--fg-2); font-size: .84rem; }
.mod-body .replaces b { color: var(--accent-hi); font-weight: 500; }
.mod-foot { margin-top: auto; padding-top: 14px; border-top: 1px dashed var(--line-2); display: flex; justify-content: space-between; align-items: center; font-size: .8rem; color: var(--fg-3); }
.mod-foot .go { display: inline-flex; align-items: center; gap: 6px; color: var(--fg); font-weight: 600; }
.mod-foot .go svg { width: 14px; height: 14px; transition: transform var(--dur) var(--ease); }
.mod-card:hover .mod-foot .go svg { transform: translateX(3px); }

/* =========================================================
   Planes (tiers)
   ========================================================= */
.section--bloom { position: relative; overflow: hidden; isolation: isolate; }
.product-atmosphere {
  position: absolute; z-index: -1; inset: 0; overflow: hidden; pointer-events: none;
  mask-image: linear-gradient(to bottom, transparent 0, #000 clamp(180px, 26vh, 300px), #000 calc(100% - clamp(160px, 22vh, 260px)), transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 clamp(180px, 26vh, 300px), #000 calc(100% - clamp(160px, 22vh, 260px)), transparent 100%);
}
.product-atmosphere__glow {
  position: absolute; top: 4%; right: -8%; bottom: 2%; left: -8%;
  background:
    radial-gradient(ellipse 25% 48% at 50% 58%, rgba(79, 140, 255, .26), rgba(61, 116, 219, .1) 38%, transparent 72%),
    radial-gradient(ellipse 22% 37% at 24% 62%, rgba(61, 116, 219, .11), transparent 72%),
    radial-gradient(ellipse 22% 37% at 76% 62%, rgba(61, 116, 219, .11), transparent 72%);
}
.product-atmosphere__grid {
  position: absolute; left: 8%; right: 8%; top: 29%; bottom: 2%; opacity: .2;
  background-image: linear-gradient(rgba(79, 140, 255, .3) 1px, transparent 1px), linear-gradient(90deg, rgba(79, 140, 255, .3) 1px, transparent 1px);
  background-size: 52px 52px; transform: perspective(520px) rotateX(63deg) scale(1.16); transform-origin: 50% 100%;
  mask-image: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, .55) 26%, #000 62%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, .55) 26%, #000 62%, transparent 100%);
}
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: center; max-width: 1040px; margin-inline: auto; }
.tier {
  position: relative; display: flex; flex-direction: column; overflow: hidden;
  border: 1px solid var(--line); border-radius: var(--r-lg); background: linear-gradient(180deg, var(--bg-1), var(--bg));
  transition: border-color var(--dur) var(--ease);
}
.tier:hover { border-color: var(--line-3); }
.tier--featured {
  border-color: var(--accent); background: linear-gradient(180deg, rgba(79, 140, 255, .1), var(--bg) 60%);
  box-shadow: 0 0 0 1px rgba(79, 140, 255, .35), 0 0 60px rgba(79, 140, 255, .18), 0 30px 70px rgba(0, 0, 0, .5);
}
.tier--featured:hover { border-color: var(--accent-hi); }
.tier--current { border-color: var(--ok); }
.tier__ring {
  position: absolute; inset: 0; z-index: 3; border-radius: inherit; padding: 2px; pointer-events: none; overflow: hidden; opacity: .9;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); mask-composite: exclude;
}
.tier__ring i {
  position: absolute; inset: -80%; display: block;
  background: conic-gradient(from 0deg, transparent 0 60%, rgba(138, 178, 255, .75) 75%, #fff 86%, rgba(138, 178, 255, .75) 93%, transparent 100%);
  animation: ring-spin 5.5s linear infinite; animation-play-state: paused; will-change: transform;
}
.tier--featured.is-live .tier__ring i { animation-play-state: running; }
@keyframes ring-spin { to { transform: rotate(360deg); } }
.tier__flag { position: absolute; top: 14px; left: 14px; z-index: 4; padding: 5px 11px; border-radius: 999px; background: var(--accent); color: #fff; font-size: .74rem; font-weight: 700; }
.tier__media {
  position: relative; aspect-ratio: 16 / 8; display: grid; place-items: center; margin: 10px 10px 0; overflow: hidden;
  border: 1px solid var(--line); border-radius: var(--r);
  background: linear-gradient(135deg, rgba(79, 140, 255, .16), transparent 55%), repeating-linear-gradient(45deg, rgba(255, 255, 255, .022) 0 10px, transparent 10px 20px), var(--bg-2);
}
.tier__emblem { display: flex; gap: 10px; align-items: center; }
.tier__emblem i {
  width: 30px; height: 30px; background: rgba(236, 236, 238, .14);
  clip-path: polygon(50% 0%, 59% 41%, 100% 50%, 59% 59%, 50% 100%, 41% 59%, 0% 50%, 41% 41%);
}
.tier__emblem i.on { background: var(--accent-hi); filter: drop-shadow(0 0 10px rgba(79, 140, 255, .9)); }
.tier.is-live .tier__emblem i.on { animation: twinkle 4s ease-in-out infinite; }
.tier.is-live .tier__emblem i.on:nth-child(2) { animation-delay: .5s; }
.tier.is-live .tier__emblem i.on:nth-child(3) { animation-delay: 1s; }
.tier__body { padding: 16px 18px 0; flex: 1; display: flex; flex-direction: column; }
.tier__kicker { font-size: .78rem; font-weight: 600; color: var(--fg-3); margin-bottom: 7px; }
.tier__title { font-size: 1.15rem; margin-bottom: 8px; }
.tier__desc { font-size: .84rem; line-height: 1.55; color: var(--fg-2); }
.tier__price-row { display: flex; align-items: baseline; gap: 9px; margin-top: 16px; }
.tier__price { font-weight: 700; font-size: 1.9rem; line-height: 1; color: var(--fg); letter-spacing: -.03em; }
.tier__unit { font-size: .8rem; font-weight: 500; color: var(--fg-3); }
.tier__list { margin-top: 16px; padding-top: 15px; border-top: 1px dashed var(--line-2); display: grid; gap: 9px; }
.tier__list li { display: flex; gap: 10px; font-size: .84rem; line-height: 1.45; color: var(--fg-2); }
.tier__list svg { width: 14px; height: 14px; flex: none; margin-top: 3px; color: var(--accent-hi); }
.tier__foot { padding: 18px; margin-top: auto; }
.tier__foot .btn { width: 100%; }
@media (min-width: 941px) {
  .tier--featured .tier__media { margin-top: 22px; }
  .tier--featured .tier__body { padding-top: 20px; }
  .tier--featured .tier__foot { padding-bottom: 30px; }
}
.tiers__all { display: flex; justify-content: center; margin-top: clamp(30px, 4vw, 46px); }

/* =========================================================
   "Cómo funciona": paneles animados
   ========================================================= */
.caps { display: grid; gap: clamp(56px, 8vw, 110px); }
.cap { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.cap.is-flipped .cap__art { order: -1; }
.cap__kicker { display: block; font-size: .8rem; font-weight: 600; color: var(--accent-hi); margin-bottom: 12px; }
.cap__title { font-size: clamp(1.4rem, 2.6vw, 2rem); margin-bottom: 14px; }
.cap__body { font-size: .98rem; line-height: 1.7; max-width: 52ch; }
.cap__note { margin-top: 12px; font-size: .78rem; color: var(--fg-3); text-align: center; }
body.reveal-on .cap.reveal { opacity: 1; transform: none; }
body.reveal-on .cap.reveal .cap__art { opacity: 0; translate: -56px 0; transition: opacity .7s var(--ease), translate .9s var(--spring); }
body.reveal-on .cap.is-flipped.reveal .cap__art { translate: 56px 0; }
body.reveal-on .cap.reveal.is-in .cap__art { opacity: 1; translate: 0 0; }
body.reveal-on .cap.reveal .cap__copy { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
body.reveal-on .cap.reveal.is-in .cap__copy { opacity: 1; transform: none; }

.panel {
  position: relative; overflow: hidden; border: 1px solid var(--line-2); border-radius: var(--r-lg);
  background: linear-gradient(180deg, rgba(27, 28, 32, .9), rgba(14, 15, 18, .95));
  box-shadow: 0 30px 80px -30px rgba(79, 140, 255, .35), inset 0 1px rgba(255, 255, 255, .04);
  font-family: var(--mono); font-size: .8rem;
}
.panel__bar { display: flex; align-items: center; gap: 8px; padding: 11px 14px; border-bottom: 1px solid var(--line); color: var(--fg-3); font-size: .72rem; }
.panel__bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--line-2); }
.panel__bar span { margin-left: 8px; padding: 4px 10px; flex: 1; border-radius: 6px; background: rgba(255, 255, 255, .04); color: var(--fg-2); overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.panel__body { padding: 16px; min-height: 230px; position: relative; }

/* Panel 1: el archivo entra a la carpeta mods */
.fx-files { display: grid; gap: 6px; }
.fx-row { display: flex; align-items: center; gap: 10px; padding: 9px 11px; border-radius: 8px; color: var(--fg-2); border: 1px solid transparent; }
.fx-row svg { width: 16px; height: 16px; flex: none; color: var(--fg-3); }
.fx-row.is-folder svg { color: var(--accent-hi); }
.fx-row small { margin-left: auto; color: var(--fg-3); font-size: .7rem; }
.fx-row.is-new { color: var(--fg); background: var(--accent-wash); border-color: var(--accent-line); opacity: 0; transform: translateX(60px); }
.fx-row.is-new svg { color: var(--ok); }
.cap.is-live .fx-row.is-new { animation: fx-drop 5.5s var(--spring) infinite; }
@keyframes fx-drop { 0%, 8% { opacity: 0; transform: translateX(60px); } 22%, 78% { opacity: 1; transform: none; } 92%, 100% { opacity: 0; transform: none; } }
.fx-drag {
  position: absolute; right: 22px; bottom: 18px; display: flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 8px;
  background: var(--bg-3); border: 1px solid var(--accent-line); color: var(--fg); box-shadow: 0 12px 30px rgba(0, 0, 0, .5); opacity: 0;
}
.fx-drag svg { width: 14px; height: 14px; color: var(--accent-hi); }
.cap.is-live .fx-drag { animation: fx-drag 5.5s var(--spring) infinite; }
@keyframes fx-drag { 0% { opacity: 0; transform: translate(40px, 30px); } 6% { opacity: 1; } 18% { opacity: 1; transform: translate(-40px, -70px) scale(.9); } 22%, 100% { opacity: 0; transform: translate(-40px, -70px) scale(.8); } }

/* Panel 2: antes / después */
.fx-swap { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; height: 100%; }
.fx-slot { position: relative; border-radius: 10px; border: 1px solid var(--line); background: rgba(255, 255, 255, .02); padding: 14px; min-height: 196px; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; }
.fx-slot b { display: block; color: var(--fg); font-family: var(--font); font-size: .95rem; margin-top: 4px; }
.fx-slot small { color: var(--fg-3); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; }
.fx-slot .shape { position: absolute; top: 22px; left: 50%; width: 64px; height: 50px; margin-left: -32px; border-radius: 32px 32px 10px 10px; background: rgba(236, 236, 238, .1); }
.fx-slot--new { border-color: var(--accent-line); background: linear-gradient(180deg, rgba(79, 140, 255, .14), transparent); }
.fx-slot--new .shape { background: linear-gradient(160deg, var(--accent-hi), var(--accent)); box-shadow: 0 0 30px rgba(79, 140, 255, .6); transform: skewX(var(--skew)); }
.fx-slot--new .shape::after { content: ''; position: absolute; left: 10px; right: 10px; top: 20px; height: 9px; border-radius: 4px; background: rgba(14, 15, 18, .7); }
.fx-scan { position: absolute; top: 0; bottom: 0; width: 2px; left: 0; background: var(--accent-hi); box-shadow: 0 0 16px var(--accent); opacity: 0; }
.cap.is-live .fx-scan { animation: fx-scan 4.8s var(--ease) infinite; }
.cap.is-live .fx-slot--new .shape { animation: fx-pop 4.8s var(--spring) infinite; }
@keyframes fx-scan { 0% { left: 0; opacity: 0; } 5% { opacity: 1; } 35% { left: 100%; opacity: 1; } 40%, 100% { left: 100%; opacity: 0; } }
@keyframes fx-pop { 0%, 30% { opacity: 0; transform: skewX(var(--skew)) translateY(10px) scale(.8); } 42%, 90% { opacity: 1; transform: skewX(var(--skew)); } 100% { opacity: 0; transform: skewX(var(--skew)); } }

/* Panel 3: quitar el mod */
.fx-restore { display: grid; gap: 10px; }
.fx-restore .fx-row.is-mod { color: var(--fg); background: rgba(255, 255, 255, .03); border-color: var(--line); }
.cap.is-live .fx-restore .fx-row.is-mod { animation: fx-remove 6s var(--ease) infinite; }
@keyframes fx-remove { 0%, 30% { opacity: 1; transform: none; text-decoration: none; } 38% { opacity: .5; text-decoration: line-through; border-color: rgba(240, 88, 79, .5); } 52%, 88% { opacity: 0; transform: translateX(-30px); } 100% { opacity: 1; transform: none; } }
.fx-status { display: flex; align-items: center; gap: 10px; margin-top: 10px; padding: 12px 14px; border-radius: 10px; border: 1px dashed var(--line-2); color: var(--fg-3); }
.fx-status b { color: var(--fg-2); font-weight: 500; }
.fx-status i { width: 10px; height: 10px; border-radius: 50%; background: var(--fg-3); }
.cap.is-live .fx-status { animation: fx-ok 6s var(--ease) infinite; }
.cap.is-live .fx-status i { animation: fx-ok-dot 6s var(--ease) infinite; }
@keyframes fx-ok { 0%, 50% { border-color: var(--line-2); } 56%, 92% { border-color: rgba(63, 185, 111, .45); background: var(--ok-wash); } 100% { border-color: var(--line-2); } }
@keyframes fx-ok-dot { 0%, 50% { background: var(--fg-3); box-shadow: none; } 56%, 92% { background: var(--ok); box-shadow: 0 0 0 4px var(--ok-wash); } 100% { background: var(--fg-3); } }

/* =========================================================
   Comunidad / Discord
   ========================================================= */
.community {
  position: relative; overflow: hidden; display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: center;
  padding: clamp(28px, 5vw, 52px); border: 1px solid var(--line); border-radius: var(--r-xl);
  background: radial-gradient(ellipse 70% 130% at 88% 50%, rgba(79, 140, 255, .2), transparent 62%), linear-gradient(180deg, var(--bg-1), var(--bg));
}
.community::before {
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(ellipse 60% 70% at 50% 46%, rgba(61, 116, 219, .25), transparent 70%);
  animation: bloom-breathe 10s ease-in-out infinite alternate;
}
@keyframes bloom-breathe { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(1.09) translateY(-1.5%); opacity: 1; } }
.community h2 { margin-bottom: 14px; }
.community__cta { display: flex; flex-direction: column; gap: 12px; }
.community__meta { display: flex; gap: 28px; margin-top: 24px; flex-wrap: wrap; }
.community__stat { display: flex; flex-direction: column; gap: 3px; }
.community__stat b { font-size: 1.45rem; color: var(--fg); font-weight: 700; letter-spacing: -.02em; }
.community__stat span { font-family: var(--mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--fg-3); }

/* =========================================================
   Preguntas frecuentes
   ========================================================= */
.faq { max-width: 860px; margin-inline: auto; }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item:first-of-type { border-top: 1px solid var(--line); }
.faq__q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 21px 4px; text-align: left; font-size: 1rem; font-weight: 600; color: var(--fg); transition: color var(--dur) var(--ease); }
.faq__q:hover { color: var(--accent-hi); }
.faq__icon { flex: none; width: 20px; height: 20px; position: relative; }
.faq__icon::before, .faq__icon::after { content: ''; position: absolute; left: 50%; top: 50%; background: var(--fg-2); transform: translate(-50%, -50%); transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease); }
.faq__icon::before { width: 12px; height: 1.5px; }
.faq__icon::after { width: 1.5px; height: 12px; }
.faq__item.is-open .faq__icon::after { transform: translate(-50%, -50%) rotate(90deg); opacity: 0; }
.faq__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .28s var(--ease); }
.faq__item.is-open .faq__a { grid-template-rows: 1fr; }
.faq__a > div { overflow: hidden; }
.faq__a p { padding: 0 4px 22px; font-size: .94rem; line-height: 1.7; max-width: 68ch; }
.faq__a p + p { margin-top: -10px; }
.faq__a a { color: var(--accent-hi); }
.faq__a a:hover { color: var(--fg); }

/* =========================================================
   Catálogo
   ========================================================= */
.catalog { display: grid; grid-template-columns: 250px 1fr; gap: 32px; align-items: start; }
.catalog.top-filters { grid-template-columns: 1fr; }
.filters { position: sticky; top: 120px; display: flex; flex-direction: column; gap: 22px; padding: 18px; border: 1px solid var(--line); border-radius: var(--r-lg); background: rgba(18, 19, 22, .6); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.top-filters .filters { position: static; flex-direction: row; flex-wrap: wrap; align-items: flex-end; }
.filter-group h4 { font-family: var(--mono); font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--fg-3); margin-bottom: 10px; font-weight: 500; }
.filter-list { display: flex; flex-direction: column; gap: 3px; }
.top-filters .filter-list { flex-direction: row; flex-wrap: wrap; }
.filter-btn { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 999px; font-size: .9rem; color: var(--fg-2); text-align: left; border: 1px solid transparent; transition: color var(--dur) var(--ease), background var(--dur) var(--ease), border-color var(--dur) var(--ease); }
.filter-btn:hover { color: var(--fg); background: rgba(255, 255, 255, .04); }
.filter-btn.is-active { color: var(--fg); background: var(--accent-wash); border-color: var(--accent-line); }
.filter-btn small { font-family: var(--mono); font-size: .72rem; color: var(--fg-3); }
.input { width: 100%; height: 44px; padding: 0 16px; border-radius: 999px; background: rgba(255, 255, 255, .04); border: 1px solid var(--line-2); color: var(--fg); font: inherit; font-size: .9rem; transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease); }
.input::placeholder { color: var(--fg-3); }
.input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-wash); }
select.input { appearance: none; cursor: pointer; padding-right: 36px; background-image: linear-gradient(45deg, transparent 50%, var(--accent-hi) 50%), linear-gradient(135deg, var(--accent-hi) 50%, transparent 50%); background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%; background-size: 5px 5px; background-repeat: no-repeat; }
select.input option { background: var(--bg-3); }
.catalog-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 18px; flex-wrap: wrap; }
.catalog-bar .result { font-family: var(--mono); font-size: .78rem; color: var(--fg-3); }
.layout-toggle { display: flex; gap: 3px; padding: 3px; border: 1px solid var(--line-2); border-radius: 999px; }
.layout-toggle button { padding: 6px 12px; border-radius: 999px; font-size: .8rem; color: var(--fg-3); }
.layout-toggle button.is-active { background: var(--accent-wash); color: var(--accent-hi); }
.empty { padding: 60px 20px; text-align: center; color: var(--fg-3); border: 1px dashed var(--line-2); border-radius: var(--r-lg); grid-column: 1 / -1; }
.empty a { color: var(--accent-hi); }

/* =========================================================
   Detalle de mod
   ========================================================= */
.back-link { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 26px; font-size: .9rem; font-weight: 600; color: var(--fg-2); }
.back-link:hover { color: var(--fg); }
.back-link svg { width: 15px; height: 15px; transform: rotate(180deg); }
.mod-page { display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(24px, 4vw, 48px); align-items: start; }
.gallery-main { aspect-ratio: 16 / 10; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line-2); background: var(--bg-3); box-shadow: 0 30px 80px -30px rgba(79, 140, 255, .35); }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumbs { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.gallery-thumbs button { width: 88px; aspect-ratio: 16 / 10; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); opacity: .55; transition: opacity var(--dur), border-color var(--dur); }
.gallery-thumbs button:hover { opacity: .85; }
.gallery-thumbs button.is-active { opacity: 1; border-color: var(--accent); }
.gallery-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.mod-info { position: sticky; top: 120px; padding: clamp(20px, 3vw, 30px); border: 1px solid var(--line); border-radius: var(--r-lg); background: linear-gradient(180deg, var(--bg-1), var(--bg)); }
.mod-info h1 { font-size: clamp(1.7rem, 3vw, 2.3rem); margin: 14px 0 10px; }
.spec { margin: 20px 0; border-top: 1px dashed var(--line-2); }
.spec div { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: .9rem; }
.spec dt { color: var(--fg-3); }
.spec dd { text-align: right; color: var(--fg); }
.spec dd a { color: var(--accent-hi); }
.notice { display: flex; gap: 12px; padding: 13px 15px; border-radius: var(--r); margin-bottom: 14px; background: var(--accent-wash); border: 1px solid var(--accent-line); font-size: .88rem; color: var(--fg-2); }
.notice b { color: var(--accent-hi); }
.notice svg { width: 18px; height: 18px; flex: none; margin-top: 2px; color: var(--accent-hi); }
.path { font-family: var(--mono); font-size: .8rem; color: var(--accent-hi); background: rgba(14, 15, 18, .8); border: 1px solid var(--line-2); border-radius: var(--r); padding: 11px 12px 11px 14px; display: flex; justify-content: space-between; align-items: center; gap: 10px; word-break: break-all; }
.path button { font-size: .72rem; color: var(--fg-2); border: 1px solid var(--line-2); padding: 5px 11px; border-radius: 999px; white-space: nowrap; transition: color var(--dur), border-color var(--dur); }
.path button:hover { color: var(--fg); border-color: var(--accent); }
.install { margin-top: 26px; padding-top: 22px; border-top: 1px dashed var(--line-2); }
.install h3 { font-size: 1rem; margin-bottom: 8px; }
.install p { font-size: .88rem; margin-bottom: 12px; }
.install small { display: block; margin-top: 10px; font-size: .82rem; color: var(--fg-3); }
.install small a { color: var(--accent-hi); }

/* =========================================================
   Guía
   ========================================================= */
.steps { display: grid; gap: 16px; max-width: 880px; margin-inline: auto; }
.step { display: grid; grid-template-columns: 64px 1fr; gap: 22px; padding: clamp(20px, 3vw, 30px); border: 1px solid var(--line); border-radius: var(--r-lg); background: linear-gradient(180deg, var(--bg-1), var(--bg)); }
.step-n { width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center; background: var(--accent-wash); border: 1px solid var(--accent-line); font-family: var(--mono); font-weight: 700; color: var(--accent-hi); transform: skewX(var(--skew)); }
.step-n span { transform: skewX(12deg); }
.step h3 { margin-bottom: 8px; font-size: 1.12rem; }
.step p { font-size: .95rem; }
.step p b { color: var(--fg); font-weight: 600; }
.step p a { color: var(--accent-hi); }
.step .path { margin-top: 14px; }
kbd { font-family: var(--mono); font-size: .78rem; padding: 2px 7px; border-radius: 6px; background: rgba(255, 255, 255, .06); border: 1px solid var(--line-2); border-bottom-width: 2px; color: var(--fg); }

/* =========================================================
   Novedades
   ========================================================= */
.timeline { max-width: 880px; margin-inline: auto; display: grid; gap: 36px; }
.tl-day h3 { display: flex; align-items: center; gap: 16px; font-family: var(--mono); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--accent-hi); margin-bottom: 14px; font-weight: 500; }
.tl-day h3::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.tl-item { display: flex; align-items: center; gap: 16px; padding: 12px; border-radius: var(--r-lg); border: 1px solid var(--line); background: linear-gradient(180deg, var(--bg-1), var(--bg)); color: var(--fg); margin-bottom: 10px; transition: border-color var(--dur); }
.tl-item:hover { border-color: var(--line-3); }
.tl-thumb { width: 104px; aspect-ratio: 16 / 10; border-radius: var(--r); overflow: hidden; flex: none; background: var(--bg-3); border: 1px solid var(--line); }
.tl-thumb img { width: 100%; height: 100%; object-fit: cover; }
.tl-thumb .thumb-empty::before { width: 20px; height: 20px; top: calc(50% - 10px); }
.tl-thumb .thumb-empty span { display: none; }
.tl-item > div:not(.tl-thumb) { flex: 1; min-width: 0; }
.tl-item b { font-weight: 600; }
.tl-item small { color: var(--fg-3); font-size: .84rem; }

/* =========================================================
   Próximamente / 404
   ========================================================= */
.soon { min-height: 70vh; display: grid; place-items: center; text-align: center; }
.soon-badge {
  width: 120px; height: 120px; margin: 0 auto 30px; border-radius: 32px; display: grid; place-items: center;
  border: 1px solid var(--accent-line); background: var(--accent-wash); transform: skewX(var(--skew));
  box-shadow: 0 0 60px rgba(79, 140, 255, .3); animation: float 8s ease-in-out infinite;
}
.soon-badge svg { width: 54px; height: 54px; transform: skewX(12deg); }

/* =========================================================
   Footer
   ========================================================= */
.footer { position: relative; z-index: 1; border-top: 1px solid var(--line); padding-block: clamp(44px, 6vw, 68px) 32px; background: var(--bg-1); }
.footer__grid { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 40px 32px; }
.footer__blurb { margin-top: 15px; font-size: .875rem; line-height: 1.65; max-width: 34ch; }
.footer__social { display: flex; gap: 9px; margin-top: 20px; }
.footer__social a { width: 38px; height: 38px; border-radius: 999px; border: 1px solid var(--line-2); display: grid; place-items: center; color: var(--fg-2); transition: color var(--dur), border-color var(--dur); }
.footer__social a:hover { color: var(--fg); border-color: var(--accent); }
.footer__social svg { width: 17px; height: 17px; }
.footer__title { font-size: .85rem; font-weight: 700; color: var(--fg); margin-bottom: 14px; }
.footer__list { display: grid; gap: 2px; }
.footer__list a { display: inline-block; padding: 6px 0; font-size: .9rem; color: var(--fg-2); transition: color var(--dur); }
.footer__list a:hover { color: var(--fg); }
.footer__disclaimer { margin-top: 28px; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--r); background: rgba(255, 255, 255, .02); font-size: .76rem; line-height: 1.65; color: var(--fg-3); }
.footer__bottom { margin-top: 32px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .8rem; color: var(--fg-3); }
.footer__bottom .mono { font-size: .72rem; letter-spacing: .08em; }

/* ============ Toast y carga ============ */
.toast {
  position: fixed; bottom: 24px; left: 50%; z-index: 100; transform: translate(-50%, 20px); opacity: 0; pointer-events: none;
  background: rgba(18, 19, 22, .96); border: 1px solid var(--accent-line); color: var(--fg); padding: 12px 20px; border-radius: 999px; font-size: .9rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, .5); transition: opacity .2s var(--ease), transform .2s var(--ease);
}
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }
.skeleton { min-height: 320px; border-radius: var(--r-lg); border: 1px solid var(--line); background: linear-gradient(90deg, var(--bg-1) 0%, var(--bg-3) 50%, var(--bg-1) 100%); background-size: 200% 100%; animation: sk 1.4s infinite; }
@keyframes sk { to { background-position: -200% 0; } }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 980px) {
  .tiers { grid-template-columns: 1fr; max-width: 460px; }
  .catalog { grid-template-columns: 1fr; }
  .filters { position: static; }
  .mod-page { grid-template-columns: 1fr; }
  .mod-info { position: static; }
  .cap, .cap.is-flipped { grid-template-columns: 1fr; }
  .cap.is-flipped .cap__art { order: 0; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 899px) {
  .hero__stars--near::before, .spark { animation: none; }
  .spark { opacity: .5; }
  .hero__copy::after { filter: blur(14px); }
}
@media (max-width: 780px) {
  .community { grid-template-columns: 1fr; }
  .cats { grid-template-columns: 1fr; }
  .cat-card { aspect-ratio: auto; min-height: 220px; }
}
@media (max-width: 700px) { .hero__orb { display: none; } }
@media (max-width: 560px) {
  .step { grid-template-columns: 1fr; gap: 14px; }
  .footer__grid { grid-template-columns: 1fr; }
  .hero__cta .btn, .actions .btn { flex: 1 1 100%; }
  .fx-swap { grid-template-columns: 1fr; }
  .fx-slot { min-height: 150px; }
  .tl-thumb { width: 76px; }
}

/* Equipos lentos y movimiento reducido */
.low-power .atmo, .low-power .hero__stars, .low-power .hero__aurora, .low-power .spark, .low-power .meteor, .low-power .hero__orb, .low-power .atmo--nebula { animation: none !important; transform: none !important; }
.low-power .site-grain { display: none; }
.low-power .header__inner { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(18, 19, 22, .92); }

/* =========================================================
   Movimiento extra (v2)
   ========================================================= */

/* --- Estrellas del fondo: se desplazan solas además del parallax --- */
.atmo { background: none !important; overflow: visible; }
.atmo::before {
  content: ''; position: absolute; top: 0; bottom: 0; left: 0; right: calc(-1 * var(--tile));
  background-image: var(--img); background-repeat: repeat; background-size: var(--tile) var(--tile);
  animation: atmo-pan var(--pan, 160s) linear infinite; will-change: transform;
}
.atmo--far { --pan: 260s; }
.atmo--mid { --pan: 170s; }
.atmo--near { --pan: 110s; }
.atmo--twinkle { --pan: 200s; }
.atmo--nebula::before { display: none; }
.atmo--nebula { background:
    radial-gradient(ellipse 30% 26% at 18% 26%, rgba(79, 140, 255, .2) 0%, rgba(79, 140, 255, .07) 45%, transparent 72%),
    radial-gradient(ellipse 28% 24% at 80% 62%, rgba(61, 116, 219, .17) 0%, rgba(61, 116, 219, .06) 45%, transparent 72%),
    radial-gradient(ellipse 34% 22% at 46% 90%, rgba(79, 140, 255, .12) 0%, transparent 70%) !important; }
@keyframes atmo-pan { to { transform: translate3d(calc(-1 * var(--tile)), 0, 0); } }

/* --- Sin corte entre la portada y lo que sigue --- */
/* El cielo del hero se desvanece de a poco en el fondo del sitio (sin línea de corte) */
.hero__sky, .hero__aurora {
  mask-image: linear-gradient(to bottom, #000 0%, #000 45%, rgba(0, 0, 0, .55) 72%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 45%, rgba(0, 0, 0, .55) 72%, transparent 100%);
}
.hero-handoff + section, .hero-handoff + .section--journey {
  background: none;
}
/* El hero no corta sus brillos abajo: solo recorta a los costados */
.hero { overflow-x: clip; overflow-y: visible; }
.hero__copy::after { bottom: -60px; height: 320px; filter: blur(40px); opacity: .55; }
.hero__backdrop { bottom: -180px; }
.hero__stars, .hero__sparks, .hero__p { mask-image: linear-gradient(to bottom, #000 55%, transparent 100%); -webkit-mask-image: linear-gradient(to bottom, #000 55%, transparent 100%); }
.section--bloom { overflow: visible; overflow-x: clip; }
.section--journey { position: relative; isolation: isolate; }
.section--journey::before {
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(ellipse 46% 32% at 10% 40%, rgba(79, 140, 255, .2), transparent 78%), radial-gradient(ellipse 52% 34% at 90% 62%, rgba(61, 116, 219, .2), transparent 80%);
  mask-image: linear-gradient(to bottom, transparent 0, #000 30%, #000 70%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 30%, #000 70%, transparent 100%);
  animation: bloom-breathe 10s ease-in-out infinite alternate;
}

/* --- Brillos que respiran detrás de secciones --- */
.section--bloom::before {
  content: ''; position: absolute; inset: 0; z-index: -2; pointer-events: none;
  background: radial-gradient(ellipse 55% 45% at 50% 50%, rgba(61, 116, 219, .18), transparent 70%);
  animation: bloom-breathe 10s ease-in-out infinite alternate;
}
.product-atmosphere__glow { animation: product-glow 7s ease-in-out infinite alternate; }
@keyframes product-glow { 0% { opacity: .64; transform: scale(.985); } 100% { opacity: 1; transform: scale(1.03); } }
/* Piso de cuadrícula que avanza */
.product-atmosphere__grid { animation: grid-run 3.2s linear infinite; }
@keyframes grid-run { to { background-position: 0 52px, 0 0; } }
.product-atmosphere__stars { position: absolute; inset: -8%; opacity: .5; background-repeat: repeat; animation: product-stars 40s ease-in-out infinite alternate;
  mask-image: radial-gradient(ellipse 76% 70% at 50% 47%, #000 20%, transparent 100%); -webkit-mask-image: radial-gradient(ellipse 76% 70% at 50% 47%, #000 20%, transparent 100%); }
@keyframes product-stars { 0% { transform: translate3d(-6px, -4px, 0); } 100% { transform: translate3d(10px, 12px, 0) scale(1.02); } }

/* --- Hero en 3D con el mouse --- */
.hero__p { transform: translate3d(calc(var(--mx, 0) * var(--depth, 0px) * .9), calc(var(--sy, 0) * var(--depth, 0px) / 100 + var(--my, 0) * var(--depth, 0px) * .9), 0); }
.hero__copy { transform: translate3d(0, calc(var(--sy, 0) * .16px), 0) perspective(1200px) rotateX(calc(var(--my, 0) * -3deg)) rotateY(calc(var(--mx, 0) * 4deg)); transform-style: preserve-3d; }
.hero .display { text-shadow: 0 0 40px rgba(79, 140, 255, .25); }

/* --- Entrada en perspectiva (las tarjetas "caen" en su lugar) --- */
body.reveal-on .tier.reveal, body.reveal-on .mod-card.reveal, body.reveal-on .cat-card.reveal, body.reveal-on .step.reveal, body.reveal-on .community.reveal, body.reveal-on .tl-day.reveal {
  transform: perspective(1000px) translateY(46px) rotateX(16deg) scale(.94); transform-origin: 50% 100%;
  transition: opacity .6s var(--ease), transform .9s cubic-bezier(.2, .9, .3, 1.1);
}
body.reveal-on .tier.reveal.is-in, body.reveal-on .mod-card.reveal.is-in, body.reveal-on .cat-card.reveal.is-in, body.reveal-on .step.reveal.is-in, body.reveal-on .community.reveal.is-in, body.reveal-on .tl-day.reveal.is-in { transform: none; }
body.reveal-on .faq__item.reveal { transform: translateX(-24px); }
body.reveal-on .faq__item.reveal.is-in { transform: none; }

/* --- Borde de luz que sigue al mouse --- */
.tilt__edge {
  position: absolute; inset: 0; z-index: 6; border-radius: inherit; padding: 1px; pointer-events: none; opacity: 0;
  background: radial-gradient(280px circle at var(--gx, 50%) var(--gy, 50%), rgba(138, 178, 255, .9), rgba(79, 140, 255, .35) 35%, transparent 65%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); mask-composite: exclude;
  transition: opacity .36s var(--ease);
}
.tilt.is-tilting .tilt__edge { opacity: 1; }
.tilt.is-tilting { box-shadow: 0 30px 70px -20px rgba(79, 140, 255, .35), 0 20px 50px rgba(0, 0, 0, .45); }
.tilt .mod-thumb, .tilt .tier__media, .tilt .cat-card__copy { transition: transform .5s var(--spring); }
.tilt.is-tilting .mod-thumb, .tilt.is-tilting .tier__media { transform: translateZ(30px) scale(1.02); }
.tilt.is-tilting .cat-card__copy { transform: translate3d(0, -4px, 40px); }
.tilt { transform-style: preserve-3d; }

/* --- Tarjetas de categoría vivas --- */
.cat-card.is-live .cat-card__art--brand::before { animation: arch-float 7s ease-in-out infinite; }
.cat-card.is-live .cat-card__art--brand::after { animation: star-float 7s ease-in-out infinite, star-pulse 3.2s ease-in-out infinite; }
.cat-card:nth-child(2) .cat-card__art--brand::before, .cat-card:nth-child(2) .cat-card__art--brand::after { animation-delay: -1.7s; }
.cat-card:nth-child(3) .cat-card__art--brand::before, .cat-card:nth-child(3) .cat-card__art--brand::after { animation-delay: -3.4s; }
.cat-card:nth-child(4) .cat-card__art--brand::before, .cat-card:nth-child(4) .cat-card__art--brand::after { animation-delay: -5.1s; }
@keyframes arch-float { 0%, 100% { transform: skewX(var(--skew)) translateY(0); } 50% { transform: skewX(var(--skew)) translateY(-10px); } }
@keyframes star-float { 0%, 100% { translate: 0 0; rotate: 0deg; } 50% { translate: 0 -10px; rotate: 45deg; } }
@keyframes star-pulse { 0%, 100% { filter: drop-shadow(0 0 8px rgba(79, 140, 255, .6)); scale: 1; } 50% { filter: drop-shadow(0 0 22px rgba(138, 178, 255, 1)); scale: 1.25; } }
.cat-card__art--brand { background-size: auto, 32px 32px, 32px 32px; animation: cat-grid 12s linear infinite; }
@keyframes cat-grid { to { background-position: 0 0, 32px 32px, 32px 32px; } }
.cat-card__art { transition: transform .8s var(--spring); }
.cat-card:hover .cat-card__art { transform: scale(1.04); }

/* --- Miniaturas y planes con movimiento --- */
.thumb-empty, .tier__media { background-size: auto, 28.28px 28.28px, auto; animation: stripes 6s linear infinite; }
@keyframes stripes { to { background-position: 0 0, 28.28px 0, 0 0; } }
.tier__media::after, .mod-thumb::after {
  content: ''; position: absolute; inset: 0; pointer-events: none; z-index: 1;
  background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, .09) 50%, transparent 65%);
  transform: translateX(-120%); animation: card-sheen 5.5s var(--ease) infinite;
}
.tier:nth-child(2) .tier__media::after { animation-delay: .8s; }
.tier:nth-child(3) .tier__media::after { animation-delay: 1.6s; }
.mod-card:nth-child(3n+2) .mod-thumb::after { animation-delay: 1.2s; }
.mod-card:nth-child(3n) .mod-thumb::after { animation-delay: 2.4s; }
@keyframes card-sheen { 0%, 55% { transform: translateX(-120%); } 85%, 100% { transform: translateX(120%); } }
.thumb-empty::before { animation: star-pulse 3.6s ease-in-out infinite; }
.mod-card:hover .thumb-empty::before { rotate: 45deg; transition: rotate .6s var(--spring); }
.tier__emblem i.on { animation: twinkle 4s ease-in-out infinite; }
.tier__emblem i.on:nth-child(2) { animation-delay: .5s; }
.tier__emblem i.on:nth-child(3) { animation-delay: 1s; }

/* --- Paneles de "Cómo funciona" flotan --- */
.cap.is-live .panel { animation: panel-float 8s ease-in-out infinite; }
.cap.is-flipped.is-live .panel { animation-delay: -4s; }
@keyframes panel-float { 0%, 100% { transform: perspective(1200px) rotateY(-4deg) rotateX(2deg) translateY(0); } 50% { transform: perspective(1200px) rotateY(4deg) rotateX(-2deg) translateY(-10px); } }

/* --- Botones: brillo en todos los principales --- */
.btn-primary::after { animation: sheen 6s var(--spring) 2.2s infinite; }
.btn-outline:hover, .btn-ghost:hover { box-shadow: 0 0 0 4px rgba(79, 140, 255, .1); }

/* --- Línea del header que brilla al compactarse --- */
.header__inner::after {
  content: ''; position: absolute; left: 12%; right: 12%; bottom: -1px; height: 1px; pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(138, 178, 255, .7), transparent); opacity: 0; transition: opacity .5s var(--ease);
}
.header.is-stuck .header__inner::after { opacity: 1; animation: line-run 4s ease-in-out infinite alternate; }
@keyframes line-run { 0% { transform: translateX(-20%) scaleX(.6); } 100% { transform: translateX(20%) scaleX(.6); } }

.low-power .atmo::before, .low-power .product-atmosphere__grid, .low-power .cap.is-live .panel { animation: none !important; }

/* =========================================================
   Cursor suave (solo con mouse)
   ========================================================= */
html.has-cursor, html.has-cursor * { cursor: none !important; }
html.has-cursor input, html.has-cursor textarea, html.has-cursor select { cursor: text !important; }
.cursor-dot, .cursor-ring {
  position: fixed; top: 0; left: 0; z-index: 9999; pointer-events: none; border-radius: 50%;
  opacity: 0; transition: opacity .3s var(--ease);
}
html.cursor-on .cursor-dot, html.cursor-on .cursor-ring { opacity: 1; }
.cursor-dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; background: var(--accent-hi); box-shadow: 0 0 10px rgba(138, 178, 255, .9); }
.cursor-ring {
  width: 34px; height: 34px; margin: -17px 0 0 -17px;
  border: 1.5px solid rgba(138, 178, 255, .45); background: rgba(79, 140, 255, 0);
  transition: opacity .3s var(--ease), width .35s var(--spring), height .35s var(--spring), margin .35s var(--spring), background .3s var(--ease), border-color .3s var(--ease);
}
html.cursor-hover .cursor-ring { width: 54px; height: 54px; margin: -27px 0 0 -27px; background: rgba(79, 140, 255, .14); border-color: rgba(138, 178, 255, .7); }
html.cursor-hover .cursor-dot { transform: scale(.5); }
html.cursor-down .cursor-ring { width: 26px; height: 26px; margin: -13px 0 0 -13px; background: rgba(79, 140, 255, .25); }
html.cursor-text .cursor-ring { opacity: 0; }
html.cursor-text .cursor-dot { opacity: 0; }

/* =========================================================
   Menú desplegable propio (Ordenar)
   ========================================================= */
.dropdown { position: relative; }
.dropdown__btn {
  display: inline-flex; align-items: center; gap: 10px; height: 38px; padding: 0 14px 0 16px; border-radius: 999px;
  border: 1px solid var(--line-2); background: rgba(255, 255, 255, .04); color: var(--fg); font-size: .85rem; font-weight: 600;
  transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.dropdown__btn small { font-family: var(--mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--fg-3); font-weight: 500; }
.dropdown__btn:hover, .dropdown.is-open .dropdown__btn { border-color: var(--accent-line); background: rgba(79, 140, 255, .08); }
.dropdown.is-open .dropdown__btn { box-shadow: 0 0 0 3px var(--accent-wash); }
.dropdown__btn svg { width: 14px; height: 14px; color: var(--accent-hi); transition: transform .3s var(--spring); }
.dropdown.is-open .dropdown__btn svg { transform: rotate(180deg); }
.dropdown__menu {
  position: absolute; right: 0; top: calc(100% + 10px); z-index: 30; min-width: 220px; padding: 6px;
  border: 1px solid var(--line-2); border-radius: 14px; background: rgba(18, 19, 22, .96);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); box-shadow: 0 20px 50px rgba(0, 0, 0, .6), 0 0 0 1px rgba(79, 140, 255, .06);
  opacity: 0; visibility: hidden; transform: translateY(-8px) scale(.97); transform-origin: top right;
  transition: opacity .2s var(--ease), transform .25s var(--spring), visibility .2s;
}
.dropdown.is-open .dropdown__menu { opacity: 1; visibility: visible; transform: none; }
.dropdown__opt {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; padding: 10px 12px; border-radius: 9px;
  font-size: .88rem; color: var(--fg-2); text-align: left; transition: background var(--dur) var(--ease), color var(--dur) var(--ease);
}
.dropdown__opt:hover, .dropdown__opt:focus-visible { background: rgba(255, 255, 255, .055); color: var(--fg); outline: none; }
.dropdown__opt svg { width: 14px; height: 14px; color: var(--accent-hi); opacity: 0; transform: scale(.6); transition: opacity .2s, transform .3s var(--spring); }
.dropdown__opt[aria-selected="true"] { color: var(--fg); background: var(--accent-wash); }
.dropdown__opt[aria-selected="true"] svg { opacity: 1; transform: none; }

/* =========================================================
   Aviso de cookies
   ========================================================= */
.cookies {
  position: fixed; left: 24px; bottom: 24px; z-index: 95; width: min(420px, calc(100vw - 32px));
  padding: 22px; border-radius: var(--r-lg); overflow: hidden;
  border: 1px solid var(--accent-line); background: rgba(18, 19, 22, .92);
  backdrop-filter: blur(18px) saturate(130%); -webkit-backdrop-filter: blur(18px) saturate(130%);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .6), 0 0 60px -10px rgba(79, 140, 255, .35);
  opacity: 0; transform: translateY(30px) scale(.96); pointer-events: none;
  transition: opacity .45s var(--ease), transform .6s var(--spring);
}
.cookies.is-on { opacity: 1; transform: none; pointer-events: auto; }
.cookies::before {
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(ellipse 70% 80% at 100% 0%, rgba(79, 140, 255, .22), transparent 65%);
}
.cookies__head { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.cookies__icon {
  width: 38px; height: 38px; flex: none; border-radius: 11px; display: grid; place-items: center;
  background: var(--accent-wash); border: 1px solid var(--accent-line); transform: skewX(var(--skew));
}
.cookies__icon i {
  width: 16px; height: 16px; background: var(--accent-hi); transform: skewX(12deg);
  clip-path: polygon(50% 0%, 59% 41%, 100% 50%, 59% 59%, 50% 100%, 41% 59%, 0% 50%, 41% 41%);
  filter: drop-shadow(0 0 8px rgba(79, 140, 255, .9)); animation: twinkle 3.6s ease-in-out infinite;
}
.cookies h3 { font-size: 1.02rem; }
.cookies p { font-size: .86rem; line-height: 1.6; }
.cookies p a { color: var(--accent-hi); }
.cookies p a:hover { color: var(--fg); }
.cookies__actions { display: flex; gap: 10px; margin-top: 16px; }
.cookies__actions .btn { flex: 1; padding: 11px 16px; font-size: .875rem; }
@media (max-width: 560px) { .cookies { left: 16px; bottom: 16px; } }

/* =========================================================
   Páginas de texto (privacidad)
   ========================================================= */
.prose { max-width: 780px; margin-inline: auto; }
.prose h2 { font-size: clamp(1.25rem, 2.2vw, 1.6rem); margin: 44px 0 14px; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { font-size: .97rem; line-height: 1.75; }
.prose p + p { margin-top: 12px; }
.prose ul { margin: 12px 0; display: grid; gap: 8px; }
.prose li { position: relative; padding-left: 22px; }
.prose li::before { content: ''; position: absolute; left: 2px; top: .62em; width: 9px; height: 9px; background: var(--accent);
  clip-path: polygon(50% 0%, 59% 41%, 100% 50%, 59% 59%, 50% 100%, 41% 59%, 0% 50%, 41% 41%); }
.prose b { color: var(--fg); font-weight: 600; }
.prose a { color: var(--accent-hi); }
.prose code { font-family: var(--mono); font-size: .85em; padding: 2px 7px; border-radius: 6px; background: rgba(255, 255, 255, .06); border: 1px solid var(--line-2); color: var(--accent-hi); }
.cookie-table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: .9rem; overflow: hidden; border-radius: var(--r); }
.cookie-table th, .cookie-table td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.cookie-table th { font-family: var(--mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--fg-3); font-weight: 500; background: rgba(255, 255, 255, .02); }
.cookie-table td:first-child { color: var(--fg); white-space: nowrap; }
@media (max-width: 640px) { .cookie-table { display: block; overflow-x: auto; } }

/* =========================================================
   Panel de administración
   ========================================================= */
.adm { display: grid; gap: 18px; }
.adm-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.adm-stat { padding: 18px 20px; border-radius: var(--r-lg); border: 1px solid var(--line); background: linear-gradient(180deg, rgba(21, 22, 25, .85), rgba(14, 15, 18, .85)); }
.adm-stat small { display: block; font-family: var(--mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--fg-3); margin-bottom: 6px; }
.adm-stat b { font-size: 1.6rem; color: var(--fg); letter-spacing: -.02em; }
.adm-stat .meter { margin-top: 10px; height: 6px; border-radius: 99px; background: rgba(255, 255, 255, .06); overflow: hidden; }
.adm-stat .meter i { display: block; height: 100%; width: var(--w, 0%); background: linear-gradient(90deg, var(--accent), var(--accent-hi)); border-radius: inherit; transition: width .8s var(--spring); }
.adm-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 18px; align-items: start; }
.adm-card { padding: 22px 24px; border-radius: var(--r-lg); border: 1px solid var(--line); background: linear-gradient(180deg, rgba(21, 22, 25, .88), rgba(14, 15, 18, .88)); }
.adm-card h2 { font-size: 1.15rem; margin-bottom: 6px; display: flex; align-items: center; gap: 10px; }
.adm-card > p { font-size: .9rem; margin-bottom: 16px; }
.adm-card h4 { font-family: var(--mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--fg-3); font-weight: 500; margin: 0 0 8px; }

.drop {
  position: relative; display: grid; place-items: center; text-align: center; gap: 6px; padding: 34px 20px; margin-top: 14px;
  border: 1.5px dashed var(--accent-line); border-radius: var(--r-lg); background: rgba(79, 140, 255, .04); cursor: pointer;
  transition: background .25s var(--ease), border-color .25s var(--ease), transform .3s var(--spring);
}
.drop:hover { background: rgba(79, 140, 255, .08); border-color: var(--accent); }
.drop.is-over { background: rgba(79, 140, 255, .14); border-color: var(--accent-hi); transform: scale(1.01); box-shadow: 0 0 0 4px var(--accent-wash); }
.drop svg { width: 38px; height: 38px; color: var(--accent-hi); margin-bottom: 6px; animation: float 6s ease-in-out infinite; }
.drop b { color: var(--fg); font-size: 1rem; }
.drop small { color: var(--fg-3); font-size: .82rem; }
.drop input { display: none; }

.queue { display: grid; gap: 8px; margin-top: 14px; max-height: 320px; overflow-y: auto; }
.q-item { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; align-items: center; padding: 10px 12px; border-radius: var(--r); border: 1px solid var(--line); background: rgba(255, 255, 255, .02); font-size: .85rem; }
.q-item b { color: var(--fg); font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.q-item span { font-family: var(--mono); font-size: .72rem; color: var(--fg-3); }
.q-item .bar { grid-column: 1 / -1; height: 4px; border-radius: 99px; background: rgba(255, 255, 255, .06); overflow: hidden; }
.q-item .bar i { display: block; height: 100%; width: var(--p, 0%); background: var(--accent); transition: width .2s linear; }
.q-item.is-ok { border-color: rgba(63, 185, 111, .3); }
.q-item.is-ok span { color: var(--ok); }
.q-item.is-ok .bar i { background: var(--ok); }
.q-item.is-err { border-color: rgba(240, 88, 79, .35); }
.q-item.is-err span { color: #F0584F; }

.adm-table-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.adm-table-head .input { width: 300px; height: 40px; }
.adm-rows { display: grid; gap: 8px; }
.adm-row {
  display: grid; grid-template-columns: 76px minmax(0, 1.6fr) 110px minmax(0, 1fr) 150px auto; gap: 14px; align-items: center;
  padding: 10px 12px; border-radius: var(--r); border: 1px solid var(--line); background: rgba(255, 255, 255, .02); transition: border-color var(--dur);
}
.adm-row:hover { border-color: var(--line-3); }
.adm-row .th { aspect-ratio: 16 / 10; border-radius: 8px; overflow: hidden; background: var(--bg-3); border: 1px solid var(--line); }
.adm-row .th img { width: 100%; height: 100%; object-fit: cover; }
.adm-row .th .thumb-empty::before { width: 14px; height: 14px; top: calc(50% - 7px); }
.adm-row .th .thumb-empty span { display: none; }
.adm-row b { display: block; color: var(--fg); font-weight: 600; font-size: .92rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.adm-row code, .adm-row .mono { font-family: var(--mono); font-size: .72rem; color: var(--fg-3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: block; }
.adm-row .acts { display: flex; gap: 6px; }
.chip-warn { background: rgba(224, 164, 58, .1); color: #E0A43A; border-color: rgba(224, 164, 58, .35); }
.adm-row .chip { white-space: nowrap; }

/* Modal del panel */
.ni-modal { position: fixed; inset: 0; z-index: 120; display: grid; place-items: center; padding: 24px; background: rgba(4, 5, 8, .65); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); opacity: 0; transition: opacity .25s var(--ease); }
.ni-modal.is-on { opacity: 1; }
.ni-modal[hidden] { display: none; }
.ni-modal__box { position: relative; width: min(720px, 100%); max-height: calc(100vh - 48px); overflow: auto; padding: 26px 28px; border-radius: var(--r-xl); border: 1px solid var(--accent-line); background: rgba(18, 19, 22, .97); box-shadow: 0 40px 100px rgba(0, 0, 0, .7), 0 0 80px -20px rgba(79, 140, 255, .4); transform: translateY(20px) scale(.96); transition: transform .45s var(--spring); }
.ni-modal.is-on .ni-modal__box { transform: none; }
.ni-modal__close { position: absolute; top: 14px; right: 14px; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; color: var(--fg-2); }
.ni-modal__close:hover { background: rgba(255, 255, 255, .07); color: var(--fg); }
.ni-modal__close svg { width: 16px; height: 16px; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 18px; }
.form label { display: grid; gap: 6px; font-size: .82rem; color: var(--fg-2); font-weight: 500; }
.form label.full { grid-column: 1 / -1; }
.form .input { border-radius: 12px; }
.form textarea.input { height: 110px; padding: 12px 16px; resize: vertical; line-height: 1.5; font-family: inherit; }
.form input[type="date"].input { color-scheme: dark; }
.form .is-bad { border-color: #F0584F; box-shadow: 0 0 0 3px rgba(240, 88, 79, .15); }
.photos { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 10px; }
.photo { position: relative; aspect-ratio: 16 / 10; border-radius: 10px; overflow: hidden; border: 1px solid var(--line-2); }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo button { position: absolute; top: 6px; right: 6px; width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; background: rgba(14, 15, 18, .8); color: var(--fg); }
.photo button:hover { background: #F0584F; }
.photo button svg { width: 12px; height: 12px; }
.photo-add { aspect-ratio: 16 / 10; border-radius: 10px; border: 1.5px dashed var(--accent-line); display: grid; place-items: center; color: var(--accent-hi); font-size: .8rem; text-align: center; padding: 6px; cursor: pointer; transition: background .2s; }
.photo-add:hover, .photo-add.is-over { background: rgba(79, 140, 255, .1); }
.photo-add input { display: none; }
.modal-foot { display: flex; justify-content: flex-end; gap: 10px; margin-top: 22px; }
.btn-danger { background: rgba(240, 88, 79, .08); color: #F0584F; border-color: rgba(240, 88, 79, .35); }
.btn-danger:hover { background: rgba(240, 88, 79, .18); border-color: #F0584F; }
.gate { max-width: 520px; margin: 0 auto; text-align: center; padding: 40px 28px; border-radius: var(--r-xl); border: 1px solid var(--line); background: rgba(18, 19, 22, .8); }
.gate p { margin: 10px 0 22px; }

@media (max-width: 1100px) { .adm-grid { grid-template-columns: 1fr; } .adm-row { grid-template-columns: 64px 1fr auto; } .adm-row > :nth-child(3), .adm-row > :nth-child(4), .adm-row > :nth-child(5) { display: none; } }
@media (max-width: 640px) { .adm-stats { grid-template-columns: 1fr; } .form { grid-template-columns: 1fr; } .adm-table-head .input { width: 100%; } }

/* Selector de arma en la página del mod */
.arma-pick { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 4px 0 6px; }
.arma-pick > span { font-size: .88rem; color: var(--fg-2); }
.arma-pick .dropdown__menu { max-height: 320px; overflow-y: auto; min-width: 260px; }
.arma-note { font-size: .8rem; color: var(--fg-3); margin-bottom: 14px; }

/* =========================================================
   Visor 3D
   ========================================================= */
.visor { position: relative; overflow: hidden; background:
  radial-gradient(ellipse 70% 60% at 50% 40%, rgba(79, 140, 255, .22), transparent 70%),
  linear-gradient(rgba(79, 140, 255, .06) 1px, transparent 1px) 0 0 / 32px 32px,
  linear-gradient(90deg, rgba(79, 140, 255, .06) 1px, transparent 1px) 0 0 / 32px 32px, var(--bg-2); }
.visor canvas { display: block; width: 100% !important; height: 100% !important; cursor: grab; touch-action: none; }
.visor canvas:active { cursor: grabbing; }
html.has-cursor .visor canvas { cursor: none !important; }
.visor__carga { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 12px; font-size: .85rem; color: var(--fg-2); pointer-events: none; }
.visor__carga i { width: 34px; height: 34px; background: var(--accent-hi); clip-path: polygon(50% 0%, 59% 41%, 100% 50%, 59% 59%, 50% 100%, 41% 59%, 0% 50%, 41% 41%); animation: visor-spin 1.4s linear infinite; filter: drop-shadow(0 0 12px rgba(79, 140, 255, .9)); }
@keyframes visor-spin { to { transform: rotate(360deg); } }
.visor__ayuda { position: absolute; left: 50%; bottom: 12px; transform: translateX(-50%); padding: 6px 12px; border-radius: 999px; background: rgba(14, 15, 18, .7); border: 1px solid var(--line-2); font-size: .72rem; color: var(--fg-2); white-space: nowrap; pointer-events: none; transition: opacity .5s var(--ease); }
.visor.is-usado .visor__ayuda { opacity: 0; }
.visor__botones { position: absolute; top: 10px; right: 10px; display: flex; gap: 6px; }
.visor__botones button { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; color: var(--fg-2); background: rgba(14, 15, 18, .7); border: 1px solid var(--line-2); backdrop-filter: blur(8px); transition: color .2s, border-color .2s, background .2s; }
.visor__botones button:hover { color: var(--fg); border-color: var(--accent-line); }
.visor__botones button.is-on { color: var(--accent-hi); border-color: var(--accent-line); background: var(--accent-wash); }
.visor__botones svg { width: 16px; height: 16px; }
.visor:fullscreen { border-radius: 0; }
.chip-3d { position: absolute; top: 10px; right: 10px; z-index: 2; background: rgba(14, 15, 18, .72); }
.gallery-thumbs .thumb-3d { display: grid; place-items: center; font-family: var(--mono); font-size: .8rem; font-weight: 700; color: var(--accent-hi); background: var(--accent-wash); }
@media (max-width: 560px) { .visor__ayuda { display: none; } }

/* Sesión en el header */
.hdr-user { display: flex; align-items: center; gap: 6px; }
.hdr-user.is-wait { width: 150px; height: 40px; }

/* Selector de arma y menús: se pueden desplazar sin mostrar la barra */
.dropdown__menu { scrollbar-width: none; -ms-overflow-style: none; overscroll-behavior: contain; }
.dropdown__menu::-webkit-scrollbar { display: none; }

/* =========================================================
   Modo liviano (PCs lentas): mismo diseño, sin lo que más consume
   ========================================================= */
html.lite .atmo--far, html.lite .atmo--near, html.lite .atmo--twinkle,
html.lite .meteor, html.lite .site-grain, html.lite .hero__stars, html.lite .hero__sparks,
html.lite .hero__orb, html.lite .product-atmosphere__stars, html.lite .cat-card__art--brand::before { display: none !important; }
html.lite *, html.lite *::before, html.lite *::after {
  animation-duration: 0s !important; animation-delay: 0s !important; animation-iteration-count: 1 !important;
  backdrop-filter: none !important; -webkit-backdrop-filter: none !important;
}
html.lite .visor__carga i { animation: visor-spin 1.4s linear infinite !important; }
html.lite .atmo::before { animation: none !important; }
html.lite .header::before { display: none; }
html.lite .header__inner, html.lite .header.is-stuck .header__inner { background: rgba(18, 19, 22, .96); box-shadow: none; }
html.lite .filters, html.lite .user-menu, html.lite .drawer, html.lite .cookies, html.lite .dropdown__menu { background: #0E0F12; }
html.lite .hero__copy { transform: none !important; opacity: 1 !important; }
html.lite .hero__p { transform: none !important; }
html.lite body.reveal-on .reveal { opacity: 1 !important; transform: none !important; filter: none !important; }
html.lite .tilt__glare, html.lite .tilt__edge { display: none; }
html.lite .mod-thumb::after, html.lite .tier__media::after { display: none; }
html.lite .btn-primary::after { display: none; }
html.lite .glitch::before, html.lite .glitch::after { display: none; }
html.lite .community::before, html.lite .section--bloom::before, html.lite .section--journey::before { display: none; }

/* Miniaturas 3D en las tarjetas */
.mod-thumb .chip.chip-3d, .tl-thumb .chip.chip-3d { left: auto; right: 10px; width: auto; }
.mod-thumb.is-3d, .tl-thumb.is-3d { background:
  radial-gradient(ellipse 70% 70% at 50% 45%, rgba(79, 140, 255, .28), transparent 72%),
  linear-gradient(rgba(79, 140, 255, .07) 1px, transparent 1px) 0 0 / 22px 22px,
  linear-gradient(90deg, rgba(79, 140, 255, .07) 1px, transparent 1px) 0 0 / 22px 22px, var(--bg-3); }
.thumb3d { display: block; width: 100%; height: 100%; object-fit: contain; }
.mod-card:hover .thumb3d { transform: none; }
.thumb-cargando { width: 100%; height: 100%; display: grid; place-items: center; background: radial-gradient(ellipse 60% 60% at 50% 45%, rgba(79, 140, 255, .2), transparent 70%), var(--bg-3); }
.thumb-cargando i { width: 22px; height: 22px; background: var(--accent-hi); opacity: .7; clip-path: polygon(50% 0%, 59% 41%, 100% 50%, 59% 59%, 50% 100%, 41% 59%, 0% 50%, 41% 41%); animation: visor-spin 1.4s linear infinite; }
.tl-thumb .chip-3d { display: none; }

/* Fondo neutro (gris de estudio) para ver bien los objetos 3D */
.mod-thumb.is-3d, .tl-thumb.is-3d, .mod-thumb[data-visor], .tl-thumb[data-visor], .visor, .thumb-cargando {
  background: radial-gradient(ellipse 75% 70% at 50% 42%, #4B4C4F 0%, #2F3033 45%, #1b1c20 100%) !important;
}
.visor canvas { background: transparent; }

/* ---------- Botón de idioma (flotante, abajo a la derecha) ---------- */
.idioma-flot {
  position: fixed; right: 24px; bottom: 24px; z-index: 94; display: inline-flex; align-items: center; gap: 9px;
  padding: 9px 15px 9px 10px; border: 1px solid var(--line-2); border-radius: 999px; cursor: pointer;
  background: rgba(21, 22, 25, .82); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  color: var(--fg); font: 600 .8rem/1 var(--mono); letter-spacing: .08em;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .35);
  transition: border-color var(--dur) var(--ease), transform var(--dur) var(--spring), box-shadow var(--dur) var(--ease);
}
.idioma-flot svg { width: 24px; height: 16px; border-radius: 3px; display: block; box-shadow: 0 0 0 1px rgba(0, 0, 0, .35); }
.idioma-flot:hover { border-color: var(--accent-line); transform: translateY(-2px); box-shadow: 0 14px 34px rgba(0, 0, 0, .45), 0 0 0 4px var(--accent-wash); }
.idioma-flot:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.idioma-flot.is-cambio svg { animation: idioma-flip .45s var(--spring); }
@keyframes idioma-flip { from { transform: rotateY(90deg) scale(.7); } to { transform: none; } }
@media (max-width: 600px) { .idioma-flot { right: 16px; bottom: 16px; } }

/* =========================================================
   Catálogo y página del mod: estilo "biblioteca de mods" (no tienda)
   ========================================================= */
/* ---------- Tarjeta ---------- */
.mod-grid { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; }
.mod-card { background: var(--bg-1); border-radius: var(--r-lg); }
.mod-card .mod-thumb { aspect-ratio: 4 / 3; margin: 0; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; }
.mod-tag {
  position: absolute; top: 12px; left: 12px; z-index: 3; padding: 5px 9px; border-radius: 6px;
  font: 600 10px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--accent-hi);
  background: rgba(14, 15, 18, .78); border: 1px solid var(--accent-line); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.mod-size {
  position: absolute; top: 12px; right: 12px; z-index: 3; padding: 5px 8px; border-radius: 6px;
  font: 500 10px/1 var(--mono); letter-spacing: .06em; color: var(--fg-2); background: rgba(14, 15, 18, .78); border: 1px solid var(--line-2);
}
.mod-card .mod-body { padding: 14px 16px 14px; gap: 8px; }
.mod-card .mod-body h3 { font-size: 1.02rem; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.mod-card .replaces { display: flex; gap: 8px; align-items: flex-start; font-size: .8rem; line-height: 1.4; color: var(--fg-2); }
.mod-card .replaces svg { width: 14px; height: 14px; flex: none; margin-top: 2px; color: var(--accent); }
.mod-card .replaces span { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.mod-meta { margin-top: auto; padding-top: 11px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 4px 0; font: 500 10.5px/1.3 var(--mono); letter-spacing: .04em; color: var(--fg-3); text-transform: uppercase; }
.mod-meta span { white-space: nowrap; }
.mod-meta span + span::before { content: '·'; margin: 0 8px; color: var(--line-3); }
.mod-card::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: linear-gradient(90deg, transparent, var(--accent), transparent); opacity: 0; transition: opacity var(--dur) var(--ease); }
.mod-card:hover::after { opacity: 1; }
.mod-card:hover h3 { color: var(--accent-hi); }

/* ---------- Página del mod ---------- */
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 18px; font: 500 11.5px/1.4 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--fg-3); }
.crumbs a { color: var(--fg-2); transition: color var(--dur); }
.crumbs a:hover { color: var(--accent-hi); }
.crumbs i { font-style: normal; color: var(--line-3); }
.crumbs span { color: var(--fg); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 60vw; }
.mod-head { margin-bottom: 22px; }
.mod-head h1 { font-size: clamp(1.8rem, 3.6vw, 2.7rem); line-height: 1.08; }
.mod-head__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin-top: 12px; font-size: .88rem; color: var(--fg-3); }
.mod-head__meta a { color: var(--accent-hi); }
.mod-head__desc { margin-top: 12px; max-width: 70ch; color: var(--fg-2); }
.mod-tag--inline { position: static; backdrop-filter: none; -webkit-backdrop-filter: none; }
.mod-page { grid-template-columns: minmax(0, 1fr) 330px; gap: clamp(20px, 3vw, 32px); }
.mod-main { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.mod-page .gallery-main { aspect-ratio: 16 / 9; box-shadow: none; }
.mod-block { border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--bg-1); padding: 18px 20px 20px; }
.mod-block__head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 14px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.mod-block__head h2 { font: 600 11.5px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--fg-2); }
.mod-block__head span, .mod-block__head a { font: 500 11px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--fg-3); }
.mod-block__head a { color: var(--accent-hi); }
.steps-mini { list-style: none; counter-reset: paso; display: grid; gap: 14px; }
.steps-mini li { counter-increment: paso; position: relative; padding-left: 40px; display: grid; gap: 3px; font-size: .9rem; }
.steps-mini li::before { content: counter(paso, decimal-leading-zero); position: absolute; left: 0; top: 0; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 8px; font: 600 11px/1 var(--mono); color: var(--accent-hi); background: var(--accent-wash); border: 1px solid var(--accent-line); }
.steps-mini b { font-weight: 600; color: var(--fg); }
.steps-mini span { color: var(--fg-2); }
.steps-mini .path { margin-top: 8px; }
.steps-mini .path span { color: var(--accent-hi); }
.files { list-style: none; display: grid; }
.files li { display: grid; grid-template-columns: 44px minmax(0, 1fr) 84px 64px; align-items: center; gap: 10px; padding: 8px 4px; border-bottom: 1px solid var(--line); font-size: .82rem; }
.files li:last-child { border-bottom: 0; }
.files .ext { font: 600 9.5px/1 var(--mono); font-style: normal; letter-spacing: .06em; text-transform: uppercase; text-align: center; padding: 5px 0; border-radius: 5px; color: var(--fg-2); background: rgba(255, 255, 255, .05); border: 1px solid var(--line-2); }
.files .ext-ydd, .files .ext-ydr, .files .ext-yft { color: var(--accent-hi); border-color: var(--accent-line); background: var(--accent-wash); }
.files .ext-ytd { color: var(--glitch-b); border-color: rgba(192, 193, 196, .3); background: rgba(192, 193, 196, .07); }
.files .nm { font-family: var(--mono); color: var(--fg); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.files .tp { color: var(--fg-3); font-size: .78rem; }
.files .sz { font-family: var(--mono); font-size: .76rem; color: var(--fg-3); text-align: right; }
.files .resto { display: block; text-align: center; color: var(--fg-3); font-size: .8rem; }
.files-more { margin-top: 12px; width: 100%; padding: 10px; border: 1px dashed var(--line-2); border-radius: var(--r); font: 500 11px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--fg-2); transition: color var(--dur), border-color var(--dur); }
.files-more:hover { color: var(--fg); border-color: var(--accent); }
.mod-page .mod-info { padding: 18px; background: var(--bg-1); display: grid; gap: 14px; }
.file-card { display: flex; align-items: center; gap: 12px; padding: 12px; border: 1px solid var(--line-2); border-radius: var(--r); background: rgba(14, 15, 18, .6); min-width: 0; }
.file-card__ico { flex: none; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 9px; color: var(--accent-hi); background: var(--accent-wash); border: 1px solid var(--accent-line); }
.file-card__ico svg { width: 18px; height: 18px; }
.file-card div { min-width: 0; display: grid; gap: 4px; }
.file-card b { font: 600 .8rem/1.2 var(--mono); color: var(--fg); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.file-card span { font-size: .76rem; color: var(--fg-3); }
.mod-page .mod-info .btn-block { padding: 13px 14px; font-size: .92rem; white-space: normal; text-align: center; }
.mod-page .mod-info .notice, .mod-page .arma-pick, .mod-page .arma-note { margin: 0; }
.mod-page .spec { margin: 0; border-top: 1px solid var(--line); }
.mod-page .spec div { padding: 9px 0; font-size: .84rem; align-items: baseline; }
.mod-page .spec dt { font: 500 10.5px/1.4 var(--mono); letter-spacing: .1em; text-transform: uppercase; flex: none; }
.mod-page .spec dd.ok { color: var(--ok); }
.mod-page .spec dd.ok::before { content: '✓ '; }
.mod-info__nota { font-size: .78rem; line-height: 1.5; color: var(--fg-3); }
@media (max-width: 980px) {
  .mod-page { grid-template-columns: 1fr; }
  .mod-page .mod-info { position: static; order: -1; }
  .mod-main { display: contents; }
  .mod-main > :first-child { order: -2; }
}
@media (max-width: 560px) { .files li { grid-template-columns: 40px minmax(0, 1fr) 56px; } .files .tp { display: none; } }

/* =========================================================
   Catálogo como biblioteca: pestañas + lista de mods (no cuadrícula de tienda)
   ========================================================= */
.lib { display: grid; gap: 0; border: 1px solid var(--line); border-radius: var(--r-lg); background: rgba(18, 19, 22, .72); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); overflow: clip; }
.lib-tabs.filters { position: static; top: auto; flex-direction: row; flex-wrap: nowrap; gap: 0; padding: 0 8px; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: none; backdrop-filter: none; -webkit-backdrop-filter: none; overflow-x: auto; scrollbar-width: none; }
.lib-tabs::-webkit-scrollbar { display: none; }
.lib-tabs .filter-btn { flex: none; gap: 8px; padding: 16px 14px 14px; border: 0; border-bottom: 2px solid transparent; border-radius: 0; background: none; font-size: .9rem; font-weight: 600; color: var(--fg-3); }
.lib-tabs .filter-btn:hover { color: var(--fg); background: none; }
.lib-tabs .filter-btn.is-active { color: var(--fg); background: none; border-bottom-color: var(--accent); }
.lib-tabs .filter-btn small { padding: 2px 6px; border-radius: 5px; background: rgba(255, 255, 255, .05); font-size: .68rem; }
.lib-tabs .filter-btn.is-active small { background: var(--accent-wash); color: var(--accent-hi); }
.lib-bar { display: flex; align-items: center; gap: 14px; padding: 12px 16px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.lib-search { flex: 1 1 260px; display: flex; align-items: center; gap: 10px; padding: 0 12px; height: 38px; border: 1px solid var(--line-2); border-radius: 9px; background: rgba(14, 15, 18, .6); color: var(--fg-3); transition: border-color var(--dur); }
.lib-search:focus-within { border-color: var(--accent); }
.lib-search svg { width: 15px; height: 15px; flex: none; }
.lib-search input { flex: 1; min-width: 0; background: none; border: 0; outline: 0; color: var(--fg); font: inherit; font-size: .88rem; }
.lib-search input::placeholder { color: var(--fg-3); }
.lib-bar .result { font-family: var(--mono); font-size: .74rem; letter-spacing: .06em; text-transform: uppercase; color: var(--fg-3); white-space: nowrap; }
.lib-tools { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.lib .layout-toggle { border-radius: 9px; }
.lib .layout-toggle button { display: grid; place-items: center; width: 32px; height: 30px; padding: 0; border-radius: 6px; }
.lib .layout-toggle svg { width: 15px; height: 15px; }
.lib-cols, .mod-row { display: grid; grid-template-columns: 96px minmax(180px, 1.2fr) minmax(160px, 1.3fr) 80px 80px 104px 28px; align-items: center; gap: 16px; padding: 0 16px; }
.lib-cols { height: 36px; border-bottom: 1px solid var(--line); font: 500 10px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--fg-3); }
.lib-cols span:nth-child(1) { grid-column: 1 / 3; }
.lib-cols span:nth-child(n+3):nth-child(-n+5), .mod-row__num { text-align: right; }
.is-mosaico .lib-cols { display: none; }
.mod-list { display: grid; }
.mod-list .empty { margin: 16px; }
.lib .mod-grid { padding: 16px; }
.mod-row { position: relative; min-height: 84px; padding-block: 10px; color: var(--fg); border-bottom: 1px solid var(--line); transition: background var(--dur) var(--ease); }
.mod-row:last-child { border-bottom: 0; }
.mod-row::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 2px; background: var(--accent); opacity: 0; transition: opacity var(--dur); }
.mod-row:hover { background: rgba(79, 140, 255, .06); }
.mod-row:hover::before { opacity: 1; }
.mod-row .mod-thumb { width: 96px; aspect-ratio: 3 / 2; margin: 0; border-radius: 8px; border: 1px solid var(--line-2); }
.mod-row .mod-thumb::after { display: none; }
.mod-row__name { min-width: 0; display: grid; gap: 6px; }
.mod-row__name b { font-size: .98rem; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mod-row:hover .mod-row__name b { color: var(--accent-hi); }
.mod-row__name span { display: flex; align-items: center; gap: 8px; font: 500 10px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--fg-3); }
.mod-row__name span > i { font-style: normal; padding: 4px 7px; border-radius: 5px; color: var(--accent-hi); background: var(--accent-wash); border: 1px solid var(--accent-line); }
.mod-row__name em { font-style: normal; }
.mod-row__rep { min-width: 0; font-size: .84rem; line-height: 1.4; color: var(--fg-2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.mod-row__num { font: 500 .78rem/1 var(--mono); color: var(--fg-2); white-space: nowrap; }
.mod-row__fecha { color: var(--fg-3); text-transform: uppercase; }
.mod-row__go { display: grid; place-items: center; color: var(--fg-3); transition: color var(--dur), transform var(--dur) var(--ease); }
.mod-row__go svg { width: 15px; height: 15px; }
.mod-row:hover .mod-row__go { color: var(--accent-hi); transform: translateX(3px); }
@media (max-width: 900px) {
  .lib-cols { display: none; }
  .mod-row { grid-template-columns: 84px minmax(0, 1fr) 24px; grid-template-areas: 'th nm go' 'th rp go'; gap: 4px 14px; }
  .mod-row .mod-thumb { grid-area: th; width: 84px; }
  .mod-row__name { grid-area: nm; align-self: end; }
  .mod-row__rep { grid-area: rp; align-self: start; -webkit-line-clamp: 1; font-size: .8rem; }
  .mod-row__go { grid-area: go; }
  .mod-row__num { display: none; }
  .lib-tools { margin-left: 0; }
}

/* ---------- Catálogo en estantes: una fila deslizable por categoría ---------- */
.lib { overflow: visible; }
.shelves { display: grid; gap: 6px; padding: 8px 0 14px; }
.shelf { padding: 14px 0 6px; }
.shelf + .shelf { border-top: 1px solid var(--line); }
.shelf__head { display: flex; align-items: center; gap: 10px; padding: 0 18px 12px; }
.shelf__head h2 { font-size: 1.15rem; }
.shelf__head small { padding: 3px 7px; border-radius: 6px; font: 500 .7rem/1 var(--mono); color: var(--accent-hi); background: var(--accent-wash); }
.shelf__all { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; font-size: .84rem; font-weight: 600; color: var(--fg-2); transition: color var(--dur); }
.shelf__all:hover { color: var(--accent-hi); }
.shelf__all svg { width: 13px; height: 13px; }
.shelf__nav { display: flex; gap: 6px; }
.shelf__nav button { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 9px; border: 1px solid var(--line-2); color: var(--fg-2); transition: color var(--dur), border-color var(--dur); }
.shelf__nav button:hover { color: var(--fg); border-color: var(--accent); }
.shelf__nav button svg { width: 14px; height: 14px; }
.shelf__nav button:first-child svg { transform: rotate(180deg); }
.shelf.is-corta .shelf__nav { display: none; }
.shelf__row { display: flex; gap: 14px; padding: 2px 18px 12px; overflow-x: auto; scroll-snap-type: x proximity; scroll-padding-left: 18px; scrollbar-width: none; }
.shelf__row::-webkit-scrollbar { display: none; }
.shelf__row .tile { flex: 0 0 clamp(210px, 22vw, 270px); scroll-snap-align: start; }
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 18px 14px; padding: 18px; }
.tile { display: grid; gap: 4px; min-width: 0; color: var(--fg); }
.tile .mod-thumb { aspect-ratio: 4 / 3; margin: 0 0 8px; border-radius: 12px; border: 1px solid var(--line); transition: border-color var(--dur) var(--ease), transform .35s var(--spring); }
.tile:hover .mod-thumb { border-color: var(--accent-line); transform: translateY(-3px); }
.tile b { font-size: .96rem; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; transition: color var(--dur); }
.tile:hover b { color: var(--accent-hi); }
.tile span { font-size: .8rem; color: var(--fg-3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 600px) { .shelf__row .tile { flex-basis: 62vw; } .shelf__nav { display: none; } .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 14px; } }

/* =========================================================
   Rellenos sin foto y cargas (2026-11-28)
   Sin estrellas ni brillos: un visor vacío con marcas de encuadre,
   puntos de cuadrícula y la etiqueta en mono, como una ficha técnica.
   ========================================================= */
.thumb-empty, .thumb-cargando {
  --marca: rgba(236, 236, 238, .22);
  width: 100%; height: 100%; position: relative; display: grid; place-content: center; justify-items: center; gap: 6px;
  background: radial-gradient(rgba(236, 236, 238, .075) 1px, transparent 1.3px) 0 0 / 14px 14px, var(--bg-2) !important;
  animation: none !important;
  font-family: var(--mono); text-transform: uppercase; text-align: center;
}
/* Marcas de encuadre en las cuatro esquinas */
.thumb-empty::before, .thumb-cargando::before {
  content: ''; position: absolute; inset: 12px; width: auto; height: auto; margin: 0; top: 12px; clip-path: none; filter: none; animation: none !important; rotate: none !important; pointer-events: none;
  background:
    linear-gradient(var(--marca), var(--marca)) 0 0 / 14px 1px, linear-gradient(var(--marca), var(--marca)) 0 0 / 1px 14px,
    linear-gradient(var(--marca), var(--marca)) 100% 0 / 14px 1px, linear-gradient(var(--marca), var(--marca)) 100% 0 / 1px 14px,
    linear-gradient(var(--marca), var(--marca)) 0 100% / 14px 1px, linear-gradient(var(--marca), var(--marca)) 0 100% / 1px 14px,
    linear-gradient(var(--marca), var(--marca)) 100% 100% / 14px 1px, linear-gradient(var(--marca), var(--marca)) 100% 100% / 1px 14px;
  background-repeat: no-repeat;
}
.thumb-empty span { margin: 0; font-size: .7rem; letter-spacing: .2em; color: var(--fg-2); }
.thumb-empty small { font-size: .6rem; letter-spacing: .16em; color: var(--fg-3); }
.mod-card:hover .thumb-empty { --marca: rgba(138, 178, 255, .55); }
.mod-card:hover .thumb-empty::before { inset: 9px; transition: inset .35s var(--ease); }
.thumb-empty::before { transition: inset .35s var(--ease); }

/* Cargando: texto + barra fina que avanza (sin giro ni brillo) */
.thumb-cargando span { font-size: .62rem; letter-spacing: .2em; color: var(--fg-3); }
.thumb-cargando i, .visor__carga i {
  display: block; width: 72px; height: 2px; position: relative; overflow: hidden; border-radius: 2px;
  background: rgba(236, 236, 238, .1); clip-path: none; filter: none; opacity: 1; animation: none;
}
.thumb-cargando i::after, .visor__carga i::after {
  content: ''; position: absolute; top: 0; bottom: 0; width: 34%; border-radius: 2px; background: var(--accent-hi);
  animation: barra-carga 1.25s var(--ease) infinite;
}
@keyframes barra-carga { 0% { left: -34%; } 100% { left: 100%; } }
.visor__carga { gap: 14px; font-family: var(--mono); font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; color: var(--fg-3); }
.visor__carga i { width: 120px; order: 2; }

/* Miniaturas chicas (novedades, panel): solo el encuadre */
.tl-thumb .thumb-empty::before, .adm-row .th .thumb-empty::before { inset: 6px; top: 6px; width: auto; height: auto; }
.tl-thumb .thumb-empty, .adm-row .th .thumb-empty { --marca: rgba(236, 236, 238, .2); background-size: 10px 10px, auto !important; }
.tl-thumb .thumb-empty small, .adm-row .th .thumb-empty small { display: none; }
.tl-thumb .thumb-cargando span { display: none; }
.tl-thumb .thumb-cargando i { width: 40px; }

/* Categorías sin foto: el número de la categoría grande, en contorno */
.cat-card__art--brand {
  background: radial-gradient(rgba(236, 236, 238, .06) 1px, transparent 1.3px) 0 0 / 16px 16px, linear-gradient(145deg, var(--bg-3), var(--bg-1)) !important;
  animation: none !important;
}
.cat-card__art--brand::before {
  content: attr(data-n); position: absolute; right: 6%; top: 50%; width: auto; aspect-ratio: auto; border: 0; border-radius: 0; background: none;
  transform: translateY(-62%) skewX(var(--skew)); font-family: var(--font); font-weight: 800; font-size: clamp(6rem, 12vw, 10rem); line-height: 1; letter-spacing: -.04em;
  color: transparent; -webkit-text-stroke: 1px rgba(236, 236, 238, .16); transition: transform .6s var(--spring), -webkit-text-stroke-color .3s var(--ease);
}
.cat-card__art--brand::after { display: none; }
html.lite .cat-card__art--brand::before { display: block !important; }
.cat-card.is-live .cat-card__art--brand::before { animation: none; }
.cat-card:hover .cat-card__art--brand::before { transform: translateY(-62%) translateX(-8px) skewX(var(--skew)); -webkit-text-stroke-color: rgba(138, 178, 255, .5); }

/* Aviso de cookies y viñetas: sin estrella */
.cookies__icon i { width: 8px; height: 8px; border-radius: 2px; clip-path: none; filter: none; animation: none; transform: none; }
.prose li::before { width: 8px; height: 2px; top: .78em; border-radius: 2px; clip-path: none; }
