/* ==========================================================================
   NEXYRA GAMES · Estilos
   Estudio indie de juegos para móviles: noche cósmica con los azules, violetas
   y magentas del emblema. Los colores están en :root; cambia uno y cambia en toda la web.
   ========================================================================== */

:root {
  --bg: #070814;
  --bg-2: #0c0f22;
  --bg-3: #12162e;
  --card: rgba(255, 255, 255, 0.045);
  --card-solid: #11142a;
  --ink: #eef0ff;
  --ink-2: #b4b9d6;
  --ink-3: #7d84a8;
  --line: rgba(255, 255, 255, 0.09);
  --line-2: rgba(255, 255, 255, 0.16);

  --cyan: #3ec5ff;
  --blue: #4d7cff;
  --violet: #8b5cf6;
  --magenta: #e04ff2;
  --grad: linear-gradient(100deg, #3ec5ff 0%, #6f6bff 45%, #b65cf6 72%, #e04ff2 100%);
  --grad-soft: linear-gradient(100deg, rgba(62, 197, 255, 0.18), rgba(139, 92, 246, 0.18), rgba(224, 79, 242, 0.18));

  --ok: #34d399;
  --warn: #fbbf24;
  --error: #f87171;

  --radius: 26px;
  --radius-sm: 16px;
  --shadow-sm: 0 1px 0 rgba(255, 255, 255, 0.04) inset, 0 8px 20px -14px rgba(0, 0, 0, 0.8);
  --shadow: 0 1px 0 rgba(255, 255, 255, 0.05) inset, 0 24px 50px -28px rgba(0, 0, 0, 0.9);
  --shadow-lg: 0 1px 0 rgba(255, 255, 255, 0.06) inset, 0 40px 80px -36px rgba(0, 0, 0, 0.95);
  --glow: 0 0 0 1px rgba(139, 92, 246, 0.35), 0 18px 50px -18px rgba(111, 107, 255, 0.55);

  --font-display: "Sora", "Noto Sans JP", system-ui, sans-serif;
  --font-body: "Inter", "Noto Sans JP", system-ui, -apple-system, "Segoe UI", sans-serif;
  --nav-h: 76px;

  color-scheme: dark;
}

/* ---------------------------------------------------------------- Base */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--nav-h) + 12px);
  background: var(--bg);
}
html:not(.lenis) { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  background-color: var(--bg);
  /* cielo: estrellas finas y dos nebulosas muy suaves */
  background-image:
    radial-gradient(1px 1px at 12% 18%, rgba(255, 255, 255, 0.7), transparent 60%),
    radial-gradient(1px 1px at 68% 32%, rgba(255, 255, 255, 0.55), transparent 60%),
    radial-gradient(1.4px 1.4px at 38% 72%, rgba(190, 200, 255, 0.6), transparent 60%),
    radial-gradient(1px 1px at 84% 84%, rgba(255, 255, 255, 0.5), transparent 60%),
    radial-gradient(1.2px 1.2px at 22% 92%, rgba(220, 190, 255, 0.55), transparent 60%),
    radial-gradient(1px 1px at 92% 8%, rgba(255, 255, 255, 0.6), transparent 60%);
  background-size: 420px 420px, 530px 530px, 610px 610px, 470px 470px, 690px 690px, 380px 380px;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
p { margin: 0; }

h1, h2, h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

:focus-visible { outline: 3px solid rgba(62, 197, 255, 0.7); outline-offset: 3px; border-radius: 10px; }
::selection { background: rgba(139, 92, 246, 0.45); color: #fff; }

.container { width: min(100% - 32px, 1200px); margin-inline: auto; }
@media (min-width: 768px) { .container { width: min(100% - 64px, 1200px); } }

.hidden { display: none !important; }
.is-hidden { display: none !important; }
.sprite { position: absolute; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  padding: 10px 16px; border-radius: 12px;
  background: var(--ink); color: var(--bg); font-weight: 700; text-decoration: none;
  transition: top 0.2s;
}
.skip-link:focus { top: 12px; }

/* Destacados de los textos traducidos: {{texto}} y [[texto]] */
.hl {
  font-style: normal;
  color: #c9c2ff;
  background-image: var(--grad);
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 100% 0.09em;
  padding-bottom: 0.04em;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  text-shadow: 0 0 28px rgba(139, 92, 246, 0.55);
}
.fx .hl { background-size: 0% 0.09em; transition: background-size 1.1s cubic-bezier(0.65, 0, 0.35, 1) 0.15s; }
.fx .hl.is-drawn { background-size: 100% 0.09em; }

.mark {
  font-weight: 700;
  color: var(--ink);
  background: linear-gradient(transparent 62%, rgba(139, 92, 246, 0.45) 62% 92%, transparent 92%);
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

/* Tonos para iconos y etiquetas */
.tone-honey { background: rgba(251, 191, 36, 0.14); color: #fcd34d; }
.tone-sage  { background: rgba(52, 211, 153, 0.14); color: #6ee7b7; }
.tone-terra { background: rgba(224, 79, 242, 0.15); color: #f0abfc; }
.tone-sky   { background: rgba(62, 197, 255, 0.15); color: #7dd3fc; }
.tone-plum  { background: rgba(139, 92, 246, 0.18); color: #c4b5fd; }

/* ---------------------------------------------------------------- Botones */
.btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 24px;
  border-radius: 999px; border: 1px solid transparent;
  font-weight: 700; font-size: 1rem; line-height: 1.15; text-decoration: none;
  cursor: pointer;
  transition: background-color 0.25s, color 0.25s, border-color 0.25s, box-shadow 0.25s, filter 0.25s;
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-primary {
  background: var(--grad); color: #fff;
  box-shadow: 0 14px 34px -14px rgba(111, 107, 255, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}
.btn-primary:hover { filter: brightness(1.12); box-shadow: 0 18px 40px -14px rgba(224, 79, 242, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.25); }
.btn-primary:disabled { opacity: 0.7; cursor: progress; }
.btn-outline { background: rgba(255, 255, 255, 0.04); border-color: var(--line-2); color: var(--ink); }
.btn-outline:hover { border-color: rgba(62, 197, 255, 0.6); background: rgba(62, 197, 255, 0.08); }
.btn-sm { min-height: 42px; padding: 0 16px; font-size: 0.9rem; }
.btn-sm svg { width: 18px; height: 18px; }
.btn-block { width: 100%; margin-top: 22px; }
.btn-stack { display: inline-flex; flex-direction: column; align-items: flex-start; }
.btn-kicker { font-size: 0.64rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); }

/* ---------------------------------------------------------------- Cabecera */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50;
  padding-block: 14px;
  transition: background-color 0.35s, box-shadow 0.35s, padding 0.35s;
}
.nav.is-scrolled {
  padding-block: 8px;
  background: rgba(7, 8, 20, 0.78);
  -webkit-backdrop-filter: saturate(1.4) blur(16px);
  backdrop-filter: saturate(1.4) blur(16px);
  box-shadow: 0 1px 0 var(--line);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; }

.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; flex: none; }
.logo img { width: 44px; height: 44px; border-radius: 50%; filter: drop-shadow(0 0 10px rgba(111, 107, 255, 0.55)); }
.logo-text { display: flex; flex-direction: column; line-height: 1; }
.logo-name { font-family: var(--font-display); font-weight: 800; font-size: 1.12rem; letter-spacing: 0.12em; }
.logo-sub { margin-top: 5px; font-size: 0.58rem; font-weight: 700; letter-spacing: 0.5em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

.nav-links { list-style: none; margin: 0; padding: 0; }
.nav-link {
  display: block; padding: 8px 16px; border-radius: 999px;
  font-weight: 600; font-size: 0.94rem; color: var(--ink-2); text-decoration: none;
  transition: background-color 0.25s, color 0.25s;
}
.nav-link:hover { color: var(--ink); background: rgba(255, 255, 255, 0.06); }
.nav-link.is-active { color: #fff; background: rgba(139, 92, 246, 0.28); box-shadow: inset 0 0 0 1px rgba(139, 92, 246, 0.5); }

.nav-actions { display: flex; align-items: center; gap: 8px; }
.nav-play { display: none; }

.menu-btn {
  display: inline-grid; place-content: center; gap: 4px;
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.05); border: 1px solid var(--line-2); cursor: pointer;
}
.menu-btn span { display: block; width: 18px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform 0.3s, opacity 0.3s; }
.menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Menú móvil: panel desplegable */
@media (max-width: 1023px) {
  .nav-links {
    position: fixed; left: 16px; right: 16px; top: calc(var(--nav-h) - 4px);
    display: grid; gap: 4px; padding: 10px;
    background: var(--card-solid); border: 1px solid var(--line-2); border-radius: 22px; box-shadow: var(--shadow-lg);
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity 0.25s, transform 0.25s, visibility 0.25s;
  }
  .nav-links.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav-link { padding: 14px 18px; font-size: 1.05rem; }
}
@media (min-width: 1024px) {
  .nav-links {
    display: flex; gap: 2px; padding: 5px;
    background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line); border-radius: 999px;
    -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  }
  .menu-btn { display: none; }
}
@media (min-width: 1200px) { .nav-play { display: inline-flex; } }

/* Selector de idioma */
.lang-switch { position: relative; }
.lang-btn {
  display: inline-flex; align-items: center; gap: 6px;
  height: 44px; padding: 0 12px 0 14px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.05); border: 1px solid var(--line-2); cursor: pointer;
  font-weight: 700; font-size: 0.8rem; letter-spacing: 0.08em;
}
.lang-btn .ico { width: 18px; height: 18px; color: var(--ink-2); }
.lang-chevron { width: 12px; height: 12px; transition: transform 0.25s; }
.lang-btn[aria-expanded="true"] .lang-chevron { transform: rotate(180deg); }
.lang-menu {
  position: absolute; right: 0; top: calc(100% + 8px); z-index: 60;
  min-width: 190px; margin: 0; padding: 6px; list-style: none;
  background: var(--card-solid); border: 1px solid var(--line-2); border-radius: 16px; box-shadow: var(--shadow-lg);
}
.lang-option {
  display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 12px;
  padding: 10px 12px; border: 0; border-radius: 10px; background: none; cursor: pointer;
  font-weight: 600; text-align: left;
}
.lang-option span:last-child { font-size: 0.72rem; font-weight: 700; color: var(--ink-3); letter-spacing: 0.08em; }
.lang-option:hover, .lang-option:focus-visible { background: rgba(255, 255, 255, 0.06); }
.lang-option[aria-current="true"] { background: rgba(139, 92, 246, 0.28); }
.lang-option[aria-current="true"] span:last-child { color: var(--cyan); }

/* ---------------------------------------------------------------- Portada */
.hero {
  position: relative;
  padding-top: calc(var(--nav-h) + clamp(36px, 7vh, 80px));
  padding-bottom: clamp(56px, 9vh, 104px);
  overflow: hidden;
}
.hero-blobs { position: absolute; inset: 0; pointer-events: none; }
.blob { position: absolute; border-radius: 50%; filter: blur(90px); opacity: 0.55; }
.blob-1 { width: 620px; height: 620px; top: -220px; right: -160px; background: #5b3df5; opacity: 0.45; }
.blob-2 { width: 520px; height: 520px; bottom: -240px; left: -180px; background: #127fd6; opacity: 0.4; }
.blob-3 { width: 340px; height: 340px; top: 34%; left: 40%; background: #c026d3; opacity: 0.22; }

.hero-grid { position: relative; display: grid; gap: 40px; align-items: center; }
@media (min-width: 1024px) { .hero-grid { grid-template-columns: 1.1fr 0.9fr; gap: 56px; } }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 16px 7px 12px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.05); border: 1px solid var(--line-2);
  font-size: 0.84rem; font-weight: 600; color: var(--ink-2);
}
.pulse-dot {
  width: 9px; height: 9px; border-radius: 50%; background: var(--cyan); flex: none;
  animation: pulse 2.4s ease-out infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(62, 197, 255, 0.6); }
  70%, 100% { box-shadow: 0 0 0 10px rgba(62, 197, 255, 0); }
}

.hero-title { margin-top: 22px; font-size: clamp(2.4rem, 5.4vw, 4.1rem); line-height: 1.04; }
.hero-sub { margin-top: 22px; max-width: 36rem; font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--ink-2); }
.hero-ctas { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; }

.stats {
  margin: 40px 0 0; max-width: 34rem;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px;
}
.stat {
  display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 6px;
  padding: 14px 16px; border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line);
}
.stat dd { margin: 0; font-family: var(--font-display); font-size: clamp(1.8rem, 3vw, 2.4rem); font-weight: 700; line-height: 1; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat dt { font-size: 0.78rem; font-weight: 600; line-height: 1.25; color: var(--ink-3); }

/* Portal con el emblema y órbitas */
.hero-art { position: relative; width: min(100%, 500px); margin-inline: auto; padding: 56px 52px; }
.arch {
  position: relative; display: grid; place-items: center;
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 45%, rgba(111, 107, 255, 0.35), transparent 62%),
    radial-gradient(circle at 50% 50%, #131736 0%, #0a0c1f 70%);
  box-shadow: 0 0 0 1px rgba(139, 92, 246, 0.35), 0 0 80px -10px rgba(111, 107, 255, 0.55), inset 0 0 60px rgba(62, 197, 255, 0.12);
}
.arch::before, .arch::after {
  content: ""; position: absolute; border-radius: 50%; pointer-events: none;
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.arch::before { inset: -9%; border-color: rgba(62, 197, 255, 0.25); border-style: dashed; animation: spin 60s linear infinite; }
.arch::after { inset: 9%; border-color: rgba(224, 79, 242, 0.22); }
@keyframes spin { to { transform: rotate(360deg); } }
.arch-hill { display: none; }
.arch-emblem { position: relative; width: 74%; height: auto; filter: drop-shadow(0 0 30px rgba(111, 107, 255, 0.6)); }

.float-chip {
  position: absolute; z-index: 2; color: var(--ink); text-decoration: none;
  display: inline-flex; align-items: center; gap: 9px;
  padding: 7px 14px 7px 7px; border-radius: 14px;
  background: rgba(17, 20, 42, 0.82); border: 1px solid var(--line-2);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  box-shadow: var(--shadow);
  font-size: 0.88rem; font-weight: 700; white-space: nowrap;
}
.chip-ico { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; overflow: hidden; }
.chip-ico svg { width: 18px; height: 18px; }
.chip-ico img { width: 100%; height: 100%; object-fit: cover; }
/* Una etiqueta en cada esquina, fuera del círculo del emblema */
.chip-a { top: 3%; left: 0; rotate: -5deg; }
.chip-b { top: 7%; right: 0; rotate: 4deg; }
.chip-c { bottom: 7%; left: 0; rotate: -3deg; }
.chip-d { bottom: 2%; right: 0; rotate: 3deg; }
.float-chip {
  transition: border-color 0.25s, box-shadow 0.25s, scale 0.25s;
}
.float-chip:hover {
  scale: 1.07; border-color: var(--cyan);
  box-shadow: 0 0 0 1px rgba(62, 197, 255, 0.35), 0 12px 32px -8px rgba(62, 197, 255, 0.55);
}
.chip-ico img { transition: rotate 0.4s; }
.float-chip:hover .chip-ico img { rotate: -8deg; }
/* Puntos de luz que giran alrededor del emblema */
.orbit { position: absolute; inset: -9%; border-radius: 50%; pointer-events: none; animation: spin 16s linear infinite; }
.orbit.o2 { inset: 9%; animation-duration: 24s; animation-direction: reverse; }
.orbit i {
  position: absolute; top: -4px; left: 50%; width: 8px; height: 8px; margin-left: -4px; border-radius: 50%;
  background: #8fe3ff; box-shadow: 0 0 10px 3px rgba(62, 197, 255, 0.85), 0 0 24px 6px rgba(62, 197, 255, 0.35);
}
.orbit.o2 i { width: 6px; height: 6px; margin-left: -3px; top: -3px; background: #f3a8ff; box-shadow: 0 0 10px 3px rgba(224, 79, 242, 0.85), 0 0 22px 6px rgba(224, 79, 242, 0.3); }
@media (max-width: 479px) {
  .hero-art { padding: 50px 14px; }
  .float-chip { font-size: 0.78rem; padding: 5px 11px 5px 5px; }
  .chip-ico { width: 28px; height: 28px; }
}

/* ---------------------------------------------------------------- Cinta */
.marquee {
  padding-block: 16px;
  background: linear-gradient(90deg, rgba(62, 197, 255, 0.1), rgba(139, 92, 246, 0.16), rgba(224, 79, 242, 0.1));
  border-block: 1px solid var(--line);
  overflow: hidden;
}
.marquee-row { overflow: hidden; }
.marquee-track { display: flex; width: max-content; will-change: transform; }
.marquee-item {
  display: inline-flex; align-items: center; gap: 0.5em; padding-right: 0.5em;
  font-family: var(--font-display); font-size: clamp(1.5rem, 4vw, 3rem); font-weight: 700;
  line-height: 1.3; white-space: nowrap; letter-spacing: -0.02em;
}
.marquee-item svg { width: 0.42em; height: 0.42em; color: var(--cyan); flex: none; }
.marquee-row.is-alt .marquee-item { color: transparent; -webkit-text-stroke: 1px rgba(201, 194, 255, 0.55); }
.marquee-row.is-alt .marquee-item svg { color: var(--magenta); }

/* ---------------------------------------------------------------- Secciones */
.section { position: relative; padding-block: clamp(72px, 10vw, 120px); }
.section-tint {
  margin-inline: clamp(8px, 1.6vw, 20px);
  border-radius: clamp(28px, 4vw, 44px);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.012));
  border: 1px solid var(--line);
}
.section-head { max-width: 760px; margin: 0 auto 44px; text-align: center; }
.kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--cyan);
}
.kicker::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: var(--grad); }
.section-title { margin-top: 12px; font-size: clamp(2rem, 4.4vw, 3.3rem); }
.section-sub { margin: 16px auto 0; max-width: 40rem; font-size: 1.08rem; color: var(--ink-2); }

.panel { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }

/* Filtros */
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 32px; }
.chip {
  padding: 9px 18px; border-radius: 999px; border: 1px solid var(--line-2);
  background: rgba(255, 255, 255, 0.03); cursor: pointer;
  font-weight: 600; font-size: 0.88rem; color: var(--ink-2);
  transition: background-color 0.25s, color 0.25s, border-color 0.25s;
}
.chip:hover { border-color: rgba(62, 197, 255, 0.5); color: var(--ink); }
.chip.is-active { background: rgba(139, 92, 246, 0.3); border-color: rgba(139, 92, 246, 0.7); color: #fff; }

/* ---------------------------------------------------------------- Juegos */
.games-grid { display: grid; gap: 24px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); perspective: 1400px; }
.games-grid.is-single { max-width: 440px; margin-inline: auto; grid-template-columns: 1fr; }
@media (min-width: 768px) {
  .games-grid.is-pair { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 920px; margin-inline: auto; }
}

.game-card {
  position: relative; isolation: isolate;
  display: flex; flex-direction: column; overflow: hidden;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.02));
  border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: box-shadow 0.35s, translate 0.35s, border-color 0.35s;
}
.game-card:hover { box-shadow: var(--glow); border-color: rgba(139, 92, 246, 0.45); translate: 0 -4px; }
/* SpotlightCard: luz que sigue al puntero */
.game-card .spot {
  position: absolute; inset: 0; z-index: 3; pointer-events: none;
  border-radius: inherit; opacity: 0; transition: opacity 0.4s;
  background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 50%), rgba(62, 197, 255, 0.12), transparent 62%);
}
.game-card:hover .spot { opacity: 1; }

.game-cover {
  position: relative; display: grid; place-items: center; overflow: hidden;
  aspect-ratio: 16 / 10;
  background:
    radial-gradient(circle at 50% 55%, color-mix(in srgb, var(--tint, #8b5cf6) 45%, transparent), transparent 66%),
    linear-gradient(160deg, #161a38, #0b0d20);
}
.game-cover::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.12) 1px, transparent 1.3px);
  background-size: 18px 18px;
  -webkit-mask-image: radial-gradient(circle at 50% 50%, transparent 30%, #000 80%);
  mask-image: radial-gradient(circle at 50% 50%, transparent 30%, #000 80%);
}
.game-icon {
  position: relative; width: min(42%, 150px); aspect-ratio: 1; object-fit: cover;
  border-radius: 24%;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.18), 0 24px 40px -16px rgba(0, 0, 0, 0.9), 0 0 40px -6px color-mix(in srgb, var(--tint, #8b5cf6) 70%, transparent);
  rotate: -4deg;
  transition: rotate 0.45s cubic-bezier(0.34, 1.56, 0.64, 1), scale 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.game-card:hover .game-icon { rotate: 0deg; scale: 1.06; }
.game-tag {
  position: absolute; top: 14px; right: 14px; z-index: 1;
  padding: 5px 12px; border-radius: 999px;
  background: rgba(7, 8, 20, 0.7); border: 1px solid var(--line-2);
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-2);
}
.game-body { display: flex; flex: 1; flex-direction: column; gap: 10px; padding: 24px 24px 26px; }
.game-genre { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--cyan); }
.game-title { font-size: 1.65rem; }
.game-desc { flex: 1; font-size: 0.97rem; line-height: 1.65; color: var(--ink-2); }
.game-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin-top: 8px; }
.game-links { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 0.88rem; font-weight: 600; }
.game-links a { color: var(--ink-2); text-decoration: underline; text-decoration-color: rgba(255, 255, 255, 0.25); text-underline-offset: 4px; }
.game-links a:hover { color: var(--cyan); text-decoration-color: var(--cyan); }

.btn-play {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 9px 18px 9px 12px; border-radius: 14px;
  background: #fff; color: #0b0d20; text-decoration: none;
  transition: filter 0.25s, transform 0.25s;
}
.btn-play svg { width: 24px; height: 24px; flex: none; }
.btn-play:hover { filter: brightness(0.92); }
.btn-play-small { display: block; font-size: 0.6rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; opacity: 0.7; }
.btn-play-big { display: block; font-size: 0.95rem; font-weight: 800; }
.btn-play.is-disabled { background: rgba(255, 255, 255, 0.04); color: var(--ink-3); border: 1px dashed var(--line-2); cursor: default; }
.btn-play.is-disabled svg { filter: grayscale(1); opacity: 0.55; }

/* Insignias de estado */
.status-badge {
  position: absolute; top: 14px; left: 14px; z-index: 1;
  display: inline-flex; align-items: center; gap: 7px;
  padding: 5px 11px 5px 9px; border-radius: 999px;
  background: rgba(7, 8, 20, 0.7); border: 1px solid var(--line-2);
  font-size: 0.66rem; font-weight: 700; letter-spacing: 0.1em; white-space: nowrap;
}
.status-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; box-shadow: 0 0 10px currentColor; }
.status-online { color: var(--ok); }
.status-online .dot { animation: pulse 2.4s ease-out infinite; }
.status-maintenance { color: var(--warn); }
.status-soon { color: #c4b5fd; }

/* ---------------------------------------------------------------- Manifiesto */
.statement { padding-block: clamp(24px, 4vw, 48px) clamp(80px, 11vw, 140px); text-align: center; }
.statement-mark {
  display: inline-grid; place-items: center; width: 54px; height: 54px; margin-bottom: 26px;
  border-radius: 50%; background: rgba(139, 92, 246, 0.2); color: #e9d5ff;
  box-shadow: 0 0 30px -4px rgba(139, 92, 246, 0.7);
}
.statement-mark svg { width: 24px; height: 24px; }
.statement-text {
  max-width: 1000px; margin-inline: auto;
  font-family: var(--font-display); font-size: clamp(1.5rem, 3.3vw, 2.6rem); font-weight: 600;
  line-height: 1.32; letter-spacing: -0.02em;
  text-wrap: pretty;
}

/* ---------------------------------------------------------------- Cómo trabajamos */
.values-grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); }
.value-card {
  padding: 30px 28px;
  background: rgba(255, 255, 255, 0.035); border: 1px solid var(--line); border-radius: var(--radius);
  transition: translate 0.35s, box-shadow 0.35s, border-color 0.35s;
}
.value-card:hover { translate: 0 -4px; border-color: rgba(62, 197, 255, 0.35); box-shadow: 0 20px 50px -30px rgba(62, 197, 255, 0.6); }
.value-icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; }
.value-icon svg { width: 26px; height: 26px; }
.value-card h3 { margin-top: 20px; font-size: 1.3rem; }
.value-card p { margin-top: 10px; color: var(--ink-2); }

/* ---------------------------------------------------------------- Estado */
.status-panel { max-width: 900px; margin-inline: auto; overflow: hidden; }
.status-head {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px;
  padding: 18px 24px; border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
}
.status-global { display: flex; align-items: center; gap: 12px; font-weight: 700; }
.status-dot { width: 12px; height: 12px; border-radius: 50%; background: var(--ink-3); flex: none; }
.status-dot.ok { background: var(--ok); box-shadow: 0 0 0 5px rgba(52, 211, 153, 0.16), 0 0 14px var(--ok); }
.status-dot.warn { background: var(--warn); box-shadow: 0 0 0 5px rgba(251, 191, 36, 0.18), 0 0 14px var(--warn); }
.status-time { font-size: 0.85rem; color: var(--ink-3); }
.status-list { margin: 0; padding: 0; list-style: none; }
.status-row {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 14px 16px;
  padding: 16px 24px; border-top: 1px solid var(--line);
}
.status-row:first-child { border-top: 0; }
.status-icon { width: 48px; height: 48px; border-radius: 14px; object-fit: cover; box-shadow: 0 0 0 1px var(--line-2); }
.status-name { font-weight: 700; }
.status-genre { font-size: 0.82rem; color: var(--ink-3); }
.status-text { display: none; font-size: 0.92rem; color: var(--ink-2); }
@media (min-width: 680px) {
  .status-row { grid-template-columns: auto minmax(0, 1.1fr) minmax(0, 1fr) auto; }
  .status-text { display: block; }
}
@media (max-width: 420px) { .status-row { padding-inline: 16px; gap: 10px 12px; } }

/* ---------------------------------------------------------------- Novedades */
.timeline-wrap { position: relative; max-width: 840px; margin-inline: auto; padding-left: 40px; }
.tl-line { position: absolute; left: 13px; top: 10px; bottom: 10px; width: 3px; border-radius: 3px; background: var(--line-2); }
.tl-fill {
  position: absolute; inset: 0; border-radius: inherit;
  background: linear-gradient(var(--cyan), var(--violet), var(--magenta));
  transform-origin: top;
}
.timeline { display: grid; gap: 22px; margin: 0; padding: 0; list-style: none; }
.tl-item { position: relative; }
.tl-item::before {
  content: ""; position: absolute; left: -34px; top: 30px;
  width: 17px; height: 17px; border-radius: 50%;
  background: var(--bg); border: 4px solid var(--violet);
  box-shadow: 0 0 0 5px var(--bg-2), 0 0 16px rgba(139, 92, 246, 0.8);
}
.tl-card { padding: 24px 26px; }
.tl-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; }
.tl-state { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--cyan); }
.countdown { padding: 5px 12px; border-radius: 999px; background: rgba(255, 255, 255, 0.06); font-size: 0.8rem; font-weight: 700; color: var(--ink-2); }
.tl-title { margin-top: 10px; font-size: 1.45rem; }
.tl-version { font-weight: 600; color: #c9c2ff; }
.tl-eta { margin-top: 4px; font-size: 0.9rem; color: var(--ink-3); }
.tl-eta time, .tl-eta strong { color: var(--ink-2); font-weight: 600; }
.progress-row { display: flex; align-items: center; gap: 12px; margin-top: 16px; }
.progress { flex: 1; height: 8px; border-radius: 999px; background: rgba(255, 255, 255, 0.07); overflow: hidden; }
.progress span {
  display: block; width: 0; height: 100%; border-radius: inherit;
  background: var(--grad);
  transition: width 1.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.progress-num { font-size: 0.85rem; font-weight: 700; color: var(--ink-2); }
.chg-list { display: grid; gap: 10px; margin: 18px 0 0; padding: 0; list-style: none; }
.chg { display: flex; align-items: flex-start; gap: 12px; color: var(--ink-2); }
.chg-type {
  flex: none; margin-top: 3px; padding: 3px 9px; border-radius: 8px;
  font-size: 0.64rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
}
.chg-feature { background: rgba(139, 92, 246, 0.2); color: #c4b5fd; }
.chg-content { background: rgba(52, 211, 153, 0.15); color: #6ee7b7; }
.chg-fix     { background: rgba(224, 79, 242, 0.16); color: #f0abfc; }
.chg-balance { background: rgba(251, 191, 36, 0.15); color: #fcd34d; }

/* ---------------------------------------------------------------- Contacto */
.contact-grid { display: grid; gap: 40px; }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: start; } }
.contact-copy .section-sub { margin-left: 0; }

.social-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 28px 0 0; padding: 0; list-style: none; }
.social-link {
  display: flex; align-items: center; gap: 12px; padding: 10px 14px 10px 10px;
  border-radius: 14px; background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line);
  font-weight: 700; font-size: 0.95rem; text-decoration: none;
  transition: border-color 0.25s, translate 0.25s, box-shadow 0.25s;
}
.social-link:hover { border-color: var(--brand); translate: 0 -2px; }
.social-icon {
  display: grid; place-items: center; width: 38px; height: 38px; flex: none; border-radius: 12px;
  color: #fff; background: color-mix(in srgb, var(--brand) 55%, #11142a);
}
.social-icon svg { width: 20px; height: 20px; }

.support-card { margin-top: 24px; padding: 22px 24px; border-radius: 20px; background: var(--grad-soft); border: 1px solid rgba(139, 92, 246, 0.35); }
.support-title { font-size: 1.2rem; }
.support-text { margin-top: 8px; font-size: 0.95rem; color: var(--ink-2); }
.support-mail {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 12px;
  font-weight: 700; color: var(--ink); text-decoration: underline; text-decoration-color: rgba(255, 255, 255, 0.3); text-underline-offset: 4px;
}
.support-mail:hover { text-decoration-color: var(--cyan); color: var(--cyan); }
.support-mail svg { width: 20px; height: 20px; }

.form-card { padding: clamp(22px, 4vw, 36px); }
.form-grid { display: grid; gap: 18px; }
@media (min-width: 640px) { .form-grid { grid-template-columns: 1fr 1fr; } .field.span-2 { grid-column: 1 / -1; } }
.field label { display: block; margin-bottom: 6px; font-size: 0.88rem; font-weight: 700; }
.field .optional { font-weight: 500; color: var(--ink-3); }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 15px;
  border-radius: 12px; border: 1px solid var(--line-2); background: rgba(7, 8, 20, 0.6);
  transition: border-color 0.2s, box-shadow 0.2s, background-color 0.2s;
}
.field select option { background: var(--card-solid); }
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--cyan); box-shadow: 0 0 0 4px rgba(62, 197, 255, 0.18);
}
.field-error { display: none; margin-top: 6px; font-size: 0.82rem; font-weight: 600; color: var(--error); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--error); }
.field.has-error .field-error { display: block; }
.consent { display: flex; align-items: flex-start; gap: 12px; margin-top: 20px; font-size: 0.9rem; color: var(--ink-2); cursor: pointer; }
.consent input { width: 18px; height: 18px; margin-top: 3px; flex: none; accent-color: var(--violet); }
.form-msg { margin-top: 16px; padding: 12px 16px; border-radius: 12px; font-size: 0.92rem; font-weight: 600; }
.form-msg.is-ok { background: rgba(52, 211, 153, 0.12); color: #6ee7b7; border: 1px solid rgba(52, 211, 153, 0.35); }
.form-msg.is-err { background: rgba(248, 113, 113, 0.12); color: #fca5a5; border: 1px solid rgba(248, 113, 113, 0.35); }

/* ---------------------------------------------------------------- Pie */
.footer {
  position: relative; margin-top: clamp(56px, 8vw, 96px);
  padding: clamp(48px, 7vw, 72px) 0 28px;
  background: linear-gradient(180deg, transparent, rgba(139, 92, 246, 0.08));
  border-top: 1px solid var(--line);
  color: var(--ink-2);
}
.footer-wave { display: none; }
.footer-top { display: grid; gap: 28px; }
@media (min-width: 820px) { .footer-top { grid-template-columns: 1.2fr 1fr; align-items: center; } }
.footer-brand { display: flex; align-items: center; gap: 16px; }
.footer-brand img { width: 56px; height: 56px; border-radius: 50%; filter: drop-shadow(0 0 12px rgba(111, 107, 255, 0.5)); }
.footer-name { font-family: var(--font-display); font-size: 1.3rem; font-weight: 800; letter-spacing: 0.06em; color: #fff; }
.footer-tagline { margin-top: 4px; max-width: 26rem; color: var(--ink-3); }
.footer-links { display: flex; flex-wrap: wrap; gap: 10px 24px; margin: 0; padding: 0; list-style: none; }
@media (min-width: 820px) { .footer-links { justify-content: flex-end; } }
.footer-links a { font-weight: 600; text-decoration: none; color: var(--ink-2); transition: color 0.2s; }
.footer-links a:hover { color: var(--cyan); }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px;
  margin-top: 36px; padding-top: 22px; border-top: 1px solid var(--line);
  font-size: 0.82rem; color: var(--ink-3);
}

.to-top {
  position: fixed; right: 18px; bottom: 18px; z-index: 40;
  display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%;
  background: var(--grad); color: #fff; border: 0; cursor: pointer; box-shadow: 0 12px 30px -12px rgba(111, 107, 255, 0.9);
  opacity: 0; visibility: hidden; translate: 0 10px;
  transition: opacity 0.3s, translate 0.3s, visibility 0.3s, filter 0.25s;
}
.to-top svg { width: 20px; height: 20px; }
.to-top.is-visible { opacity: 1; visibility: visible; translate: 0 0; }
.to-top:hover { filter: brightness(1.15); }

/* ---------------------------------------------------------------- Animaciones (js/effects.js) */
/* Estado inicial: oculto solo cuando GSAP va a animarlo (clase .fx en <html>) */
.fx .hero-blobs,
.fx [data-intro],
.fx [data-reveal],
.fx [data-stagger] > * { opacity: 0; }

.split-word { white-space: nowrap; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

/* Con una sola red, la tarjeta ocupa todo el ancho */
.social-list li:only-child { grid-column: 1 / -1; }
