/* ===========================================================
   SUPERPETS · secciones nuevas
   Portada, personajes, musical y álbum de cartas.
   Se carga después de superpets.css. Todo bajo .spx
   =========================================================== */

.spx {
  --sp-azul: #0b2455;
  --sp-azul-2: #123a86;
  --sp-azul-3: #071634;
  --sp-cielo: #2ea6ff;
  --sp-amarillo: #ffd23f;
  --sp-linea: rgba(120, 180, 255, .28);
  --sp-tenue: #a8c1e8;
  --sp-muelle: cubic-bezier(.34, 1.4, .64, 1);
}

/* ===========================================================
   0 · ANIMACIONES DE ENTRADA
   =========================================================== */
.spx-ap { opacity: 0; transform: translateY(26px); }
.spx-ap.dentro {
  animation: spx-sube .7s var(--sp-muelle) forwards;
  animation-delay: var(--d, 0s);
}
@keyframes spx-sube { to { opacity: 1; transform: none; } }

.spx-ap--zoom { transform: scale(.9); }
.spx-ap--zoom.dentro { animation-name: spx-zoom; }
@keyframes spx-zoom { to { opacity: 1; transform: none; } }

.spx-ap--izq { transform: translateX(-34px); }
.spx-ap--der { transform: translateX(34px); }
.spx-ap--izq.dentro, .spx-ap--der.dentro { animation-name: spx-lados; }
@keyframes spx-lados { to { opacity: 1; transform: none; } }

html.spx-sin-movimiento .spx-ap { opacity: 1 !important; transform: none !important; animation: none !important; }

/* ===========================================================
   1 · PORTADA
   =========================================================== */
.spx-port {
  position: relative; overflow: hidden; isolation: isolate;
  background: #1f7fd6 url("../toystopia/superpets/bg-city.png") center/cover no-repeat;
  padding: clamp(18px, 3vw, 34px) 0 0;
}
.spx-port::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(120% 90% at 50% 0%, rgba(8, 26, 66, .25), rgba(7, 22, 52, .82));
}
.spx-port::after {                       /* rayos de luz que giran despacio */
  content: ""; position: absolute; inset: -60% -20%; z-index: -1; opacity: .16;
  background: repeating-conic-gradient(from 0deg at 50% 50%,
    rgba(255, 255, 255, .55) 0deg 6deg, transparent 6deg 18deg);
  animation: spx-rayos 70s linear infinite;
}
@keyframes spx-rayos { to { transform: rotate(360deg); } }

.spx-port__in {
  position: relative; display: grid; align-items: center;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(16px, 3vw, 46px);
  min-height: clamp(380px, 52vw, 560px);
}
.spx-port__txt { padding: clamp(14px, 2vw, 26px) 0 clamp(26px, 4vw, 44px); }
.spx-port__logo {
  width: min(520px, 100%);
  filter: drop-shadow(0 12px 26px rgba(0, 20, 60, .55));
  animation: spx-latir 5s ease-in-out infinite;
}
@keyframes spx-latir { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.035); } }

.spx-port__tag {
  font-family: "Luckiest Guy", "Fredoka", cursive; letter-spacing: .02em;
  font-size: clamp(1.1rem, 2.5vw, 1.85rem); line-height: 1.15; color: #fff;
  -webkit-text-stroke: 1.5px #143b7a; text-shadow: 0 4px 0 rgba(8, 30, 74, .6);
  margin: 10px 0 20px; max-width: 22ch;
}
.spx-port__tag b { color: var(--sp-amarillo); -webkit-text-stroke: 1.5px #7a4a00; }
.spx-port__cta { display: flex; gap: 14px; flex-wrap: wrap; }

/* chapa de estreno */
.spx-port__chapa {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 14px;
  font-family: "Fredoka", sans-serif; font-weight: 700; font-size: .84rem;
  letter-spacing: .1em; text-transform: uppercase; color: #3a2400;
  background: linear-gradient(180deg, #ffe066, #ffb300);
  border-radius: 999px; padding: 8px 18px; box-shadow: 0 4px 0 #b97e00;
  animation: spx-chapa 2.6s ease-in-out infinite;
}
@keyframes spx-chapa {
  0%, 100% { transform: translateY(0) rotate(-1deg); }
  50% { transform: translateY(-4px) rotate(1.5deg); }
}

.spx-port__art {
  position: relative; align-self: end;
  transform: translate3d(var(--mx, 0), var(--my, 0), 0) rotate(var(--rot, 0deg));
  transition: transform .5s cubic-bezier(.22, .61, .36, 1);
}
.spx-port__art img {
  width: 100%; height: auto; display: block;
  filter: drop-shadow(0 26px 40px rgba(0, 14, 44, .6));
  animation: spx-flotar 7s ease-in-out infinite;
}

/* onda que separa la portada de la sección siguiente */
.spx-port__onda {
  position: relative; height: clamp(26px, 4vw, 52px); margin-top: -1px;
  background: var(--sp-azul-3);
  -webkit-mask: radial-gradient(60% 100% at 50% 0%, transparent 98%, #000 100%) 0 0 / 50% 100% repeat-x;
  mask: radial-gradient(60% 100% at 50% 0%, transparent 98%, #000 100%) 0 0 / 50% 100% repeat-x;
}
@keyframes spx-flotar { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-16px); } }

/* destellos */
.spx-port__chispa {
  position: absolute; width: 14px; height: 14px; border-radius: 50%;
  background: #fff; box-shadow: 0 0 14px 5px rgba(255, 255, 255, .8);
  animation: spx-chispa 3.4s ease-in-out infinite;
}
@keyframes spx-chispa {
  0%, 100% { transform: scale(.4); opacity: .25; }
  50% { transform: scale(1); opacity: 1; }
}

@media (max-width: 880px) {
  .spx-port__in { grid-template-columns: 1fr; text-align: center; min-height: 0; }
  .spx-port__tag { margin-inline: auto; }
  .spx-port__cta { justify-content: center; }
  .spx-port__art { max-width: 420px; margin: 0 auto; }
}

/* ===========================================================
   2 · CABECERA DE SECCIÓN
   =========================================================== */
.spx-sec { padding: clamp(48px, 7vw, 92px) 0; position: relative; }
.spx-sec__head { text-align: center; max-width: 64ch; margin: 0 auto clamp(30px, 4vw, 50px); }
.spx-sec__head h2 {
  font-family: "Fredoka", "Baloo 2", sans-serif; font-weight: 700;
  font-size: clamp(2rem, 5vw, 3.2rem); line-height: 1.05; margin: 12px 0 14px;
  color: #fff; text-transform: uppercase;
  text-shadow: 0 4px 0 rgba(0, 0, 0, .28), 0 0 30px rgba(46, 166, 255, .5);
}
.spx-sec__head p { color: var(--sp-tenue); font-size: 1.04rem; }

/* ===========================================================
   3 · PERSONAJES  (el arte ya es la carta: sin marco ni nombre)
   =========================================================== */
.spx-chars {
  background:
    radial-gradient(900px 480px at 50% -10%, rgba(46, 166, 255, .26), transparent 62%),
    linear-gradient(180deg, var(--sp-azul-3), var(--sp-azul));
  border-block: 1px solid var(--sp-linea);
}
.spx-chars__top {
  display: flex; justify-content: center; gap: clamp(16px, 3.4vw, 46px);
  flex-wrap: wrap; margin-bottom: clamp(22px, 3.4vw, 40px);
}
.spx-chars__top .spx-char { width: clamp(158px, 20vw, 226px); }
.spx-chars__grid {
  display: grid; grid-template-columns: repeat(6, 1fr);
  gap: clamp(10px, 1.8vw, 24px);
}
@media (max-width: 1080px) { .spx-chars__grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 720px)  { .spx-chars__grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 430px)  { .spx-chars__grid { grid-template-columns: repeat(2, 1fr); } }

.spx-char { position: relative; display: block; }
.spx-char__foto {
  position: relative; aspect-ratio: 5 / 7; display: grid; place-items: center;
  transition: transform .3s var(--sp-muelle);
  will-change: transform;
}
.spx-char__foto::after {                 /* sombra de contacto */
  content: ""; position: absolute; left: 14%; right: 14%; bottom: -2px; height: 14px;
  border-radius: 50%; background: var(--c, #2ea6ff); filter: blur(11px);
  opacity: .45; transition: opacity .3s ease, transform .3s ease;
}
.spx-char__foto img {
  position: relative; z-index: 1; width: 100%; height: 100%; object-fit: contain;
  filter: drop-shadow(0 12px 18px rgba(0, 0, 0, .5));
}
.spx-char:hover .spx-char__foto { transform: translateY(-12px) scale(1.06) rotate(-1.5deg); }
.spx-char:hover .spx-char__foto::after { opacity: .9; transform: scale(1.15); }

/* brillo que cruza la carta al pasar el ratón */
.spx-char__foto::before {
  content: ""; position: absolute; inset: 6% 4%; z-index: 2; border-radius: 10px;
  background: linear-gradient(105deg, transparent 38%, rgba(255, 255, 255, .55) 50%, transparent 62%);
  background-size: 260% 100%; background-position: 130% 0;
  opacity: 0; pointer-events: none; transition: opacity .2s ease;
}
.spx-char:hover .spx-char__foto::before {
  opacity: 1; animation: spx-brillo .75s ease forwards;
}
@keyframes spx-brillo { to { background-position: -40% 0; } }

/* ===========================================================
   4 · EL MUSICAL
   =========================================================== */
.spx-musical {
  position: relative; overflow: hidden;
  background: linear-gradient(180deg, #0a0616, #180c33 58%, #0a0616);
  border-block: 1px solid rgba(232, 197, 106, .3);
}
.spx-musical__in {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(210px, 320px);
  gap: clamp(24px, 5vw, 60px); align-items: center;
}
.spx-musical__brillo {
  position: absolute; inset: -40% -10% auto -10%; height: 140%; pointer-events: none;
  background: radial-gradient(600px 320px at 30% 30%, rgba(232, 197, 106, .22), transparent 62%),
              radial-gradient(520px 300px at 78% 60%, rgba(138, 92, 255, .26), transparent 62%);
  animation: spx-focos 9s ease-in-out infinite alternate;
}
@keyframes spx-focos { to { transform: translateX(6%) scale(1.05); } }
.spx-musical__eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: "Fredoka", sans-serif; font-weight: 700; font-size: .78rem;
  letter-spacing: .22em; text-transform: uppercase; color: #f6e3a6;
  border: 1px solid rgba(232, 197, 106, .45); background: rgba(232, 197, 106, .1);
  padding: 7px 15px; border-radius: 999px;
}
.spx-musical h2 {
  font-family: "Cinzel", Georgia, serif; font-weight: 700;
  font-size: clamp(1.9rem, 4.6vw, 3.1rem); line-height: 1.06; margin: 16px 0 14px;
  background: linear-gradient(180deg, #fff6dc, #e8c56a);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.spx-musical p { color: #ded3f3; max-width: 52ch; margin-bottom: 14px; }
.spx-musical__cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 22px; }
.spx-musical__temas { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 18px; }
.spx-musical__temas span {
  font-size: .8rem; font-weight: 700; color: #f6e3a6;
  border: 1px solid rgba(232, 197, 106, .3); border-radius: 999px; padding: 5px 12px;
}
.spx-musical__poster {
  display: block; border-radius: 16px; overflow: hidden;
  border: 3px solid rgba(232, 197, 106, .5); box-shadow: 0 26px 60px rgba(0, 0, 0, .6);
  transform: rotate(-2.5deg); transition: transform .4s var(--sp-muelle);
}
.spx-musical__poster:hover { transform: rotate(0) scale(1.04); }
.spx-musical__poster img { width: 100%; height: auto; display: block; }
@media (max-width: 860px) {
  .spx-musical__in { grid-template-columns: 1fr; text-align: center; }
  .spx-musical p { margin-inline: auto; }
  .spx-musical__cta, .spx-musical__temas { justify-content: center; }
  .spx-musical__poster { max-width: 250px; margin: 0 auto; }
}

/* ===========================================================
   5 · LLAMADA AL ÁLBUM (en la portada)
   =========================================================== */
.spx-albumcta {
  position: relative; overflow: hidden;
  background: linear-gradient(120deg, #123a86, #0b2455 55%, #071634);
  border-block: 1px solid var(--sp-linea);
}
.spx-albumcta__in {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .9fr);
  gap: clamp(22px, 4vw, 54px); align-items: center;
}
.spx-albumcta h2 {
  font-family: "Fredoka", sans-serif; font-size: clamp(1.8rem, 4.2vw, 2.8rem);
  color: #fff; text-transform: uppercase; margin-bottom: 12px;
  text-shadow: 0 4px 0 rgba(0, 0, 0, .3);
}
.spx-albumcta p { color: var(--sp-tenue); margin-bottom: 20px; max-width: 46ch; }
.spx-albumcta__abanico { position: relative; height: clamp(190px, 26vw, 280px); }
.spx-albumcta__abanico img {
  position: absolute; top: 0; left: 50%; width: clamp(110px, 15vw, 170px);
  border-radius: 10px; filter: drop-shadow(0 14px 22px rgba(0, 0, 0, .55));
  transition: transform .45s var(--sp-muelle);
}
.spx-albumcta__abanico img:nth-child(1) { transform: translateX(-140%) rotate(-16deg); }
.spx-albumcta__abanico img:nth-child(2) { transform: translateX(-90%) rotate(-7deg); }
.spx-albumcta__abanico img:nth-child(3) { transform: translateX(-50%) rotate(0deg); z-index: 3; }
.spx-albumcta__abanico img:nth-child(4) { transform: translateX(-10%) rotate(7deg); }
.spx-albumcta__abanico img:nth-child(5) { transform: translateX(40%) rotate(16deg); }
.spx-albumcta:hover .spx-albumcta__abanico img:nth-child(1) { transform: translateX(-165%) rotate(-22deg) translateY(-8px); }
.spx-albumcta:hover .spx-albumcta__abanico img:nth-child(2) { transform: translateX(-105%) rotate(-10deg) translateY(-14px); }
.spx-albumcta:hover .spx-albumcta__abanico img:nth-child(3) { transform: translateX(-50%) rotate(0) translateY(-20px) scale(1.05); }
.spx-albumcta:hover .spx-albumcta__abanico img:nth-child(4) { transform: translateX(5%) rotate(10deg) translateY(-14px); }
.spx-albumcta:hover .spx-albumcta__abanico img:nth-child(5) { transform: translateX(65%) rotate(22deg) translateY(-8px); }
@media (max-width: 860px) {
  .spx-albumcta__in { grid-template-columns: 1fr; text-align: center; }
  .spx-albumcta p { margin-inline: auto; }
}

/* ===========================================================
   6 · PÁGINA DEL ÁLBUM
   =========================================================== */
.spx-album {
  background:
    radial-gradient(800px 420px at 80% 0%, rgba(46, 166, 255, .2), transparent 60%),
    linear-gradient(180deg, var(--sp-azul), var(--sp-azul-3));
  min-height: 60vh;
}

/* selector de serie */
.spx-serieSel {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  justify-content: center; margin-bottom: clamp(20px, 3vw, 30px);
}
.spx-serieSel label {
  font-family: "Fredoka", sans-serif; font-weight: 700; font-size: .82rem;
  letter-spacing: .16em; text-transform: uppercase; color: var(--sp-tenue);
}
.spx-select {
  appearance: none; font: inherit; font-family: "Fredoka", sans-serif; font-weight: 700;
  padding: 12px 44px 12px 18px; border-radius: 14px; cursor: pointer; color: #fff;
  background: linear-gradient(180deg, #1b4da8, #12326e) no-repeat;
  background-image: linear-gradient(180deg, #1b4da8, #12326e),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffd23f' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-position: center, right 14px center;
  background-size: 100% 100%, 15px 15px;
  border: 2px solid var(--sp-linea); box-shadow: 0 4px 0 rgba(0, 0, 0, .35);
}
.spx-select:hover { border-color: rgba(255, 255, 255, .5); }

/* barra de cuenta */
.spx-cuenta {
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
  padding: 16px 20px; margin-bottom: clamp(22px, 3vw, 34px);
  border-radius: 20px; border: 1px solid var(--sp-linea);
  background: linear-gradient(180deg, rgba(255, 255, 255, .1), rgba(255, 255, 255, .03));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .15), 0 10px 30px rgba(0, 0, 0, .25);
}
.spx-cuenta__ico {
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  background: var(--sp-amarillo); color: #04132e; font-size: 1.25rem; flex: 0 0 44px;
  box-shadow: 0 4px 0 #b97e00;
}
.spx-cuenta__txt { flex: 1 1 200px; }
.spx-cuenta__txt b { display: block; color: #fff; font-family: "Fredoka", sans-serif; font-size: 1.05rem; }
.spx-cuenta__txt span { font-size: .86rem; color: var(--sp-tenue); }
.spx-cuenta__acc { display: flex; gap: 10px; flex-wrap: wrap; }

.spx-prog { flex: 1 1 240px; min-width: 200px; }
.spx-prog__barra {
  height: 14px; border-radius: 999px; background: rgba(0, 0, 0, .4);
  overflow: hidden; border: 1px solid var(--sp-linea);
}
.spx-prog__fill {
  height: 100%; width: 0; border-radius: 999px; position: relative; overflow: hidden;
  background: linear-gradient(90deg, var(--sp-cielo), var(--sp-amarillo));
  transition: width .6s var(--sp-muelle);
}
.spx-prog__fill::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, transparent 40%, rgba(255, 255, 255, .5) 50%, transparent 60%);
  background-size: 200% 100%; animation: spx-barra 2.4s linear infinite;
}
@keyframes spx-barra { to { background-position: -200% 0; } }
.spx-prog__txt { margin-top: 8px; font-size: .84rem; color: var(--sp-tenue); font-weight: 700; }
.spx-prog__txt b { color: #fff; }

/* rejilla: 2 arriba y filas de 6 */
.spx-album__top { display: flex; justify-content: center; gap: clamp(14px, 3vw, 34px); flex-wrap: wrap; margin-bottom: clamp(16px, 3vw, 26px); }
.spx-album__top .spx-carta { width: clamp(146px, 19vw, 200px); }
.spx-album__grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: clamp(10px, 1.6vw, 22px); }
@media (max-width: 1080px) { .spx-album__grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 720px)  { .spx-album__grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 430px)  { .spx-album__grid { grid-template-columns: repeat(2, 1fr); } }

/* la carta */
.spx-carta { position: relative; }
.spx-carta__cara {
  position: relative; width: 100%; aspect-ratio: 5 / 7; display: grid; place-items: center;
  border: 0; padding: 0; background: none; font: inherit; cursor: pointer;
  transition: transform .28s var(--sp-muelle);
}
.spx-carta__cara::after {
  content: ""; position: absolute; left: 12%; right: 12%; bottom: -2px; height: 13px;
  border-radius: 50%; background: var(--c, #2ea6ff); filter: blur(10px);
  opacity: .4; transition: opacity .28s ease;
}
.spx-carta__cara img {
  position: relative; z-index: 1; width: 100%; height: 100%; object-fit: contain;
  filter: drop-shadow(0 10px 16px rgba(0, 0, 0, .5)); transition: filter .3s ease;
}
.spx-carta__cara:hover { transform: translateY(-9px) scale(1.05); }
.spx-carta__cara:hover::after { opacity: .85; }
.spx-carta__n, .spx-carta__nombre { display: none; }

/* que falta / conseguida */
.spx-carta:not(.tengo) .spx-carta__cara img { filter: grayscale(1) brightness(.38) contrast(.95); }
.spx-carta:not(.tengo) .spx-carta__cara::after { opacity: .1; }
.spx-carta:not(.tengo) .spx-carta__cara:hover img { filter: grayscale(.5) brightness(.65); }
.spx-carta.tengo .spx-carta__cara img { animation: spx-conseguida .5s var(--sp-muelle); }
@keyframes spx-conseguida {
  0% { transform: scale(.86) rotate(-4deg); }
  60% { transform: scale(1.06) rotate(2deg); }
  100% { transform: none; }
}

.spx-carta__marca {
  position: absolute; top: -9px; right: -9px; z-index: 4;
  width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center;
  font-size: 1.05rem; font-weight: 800; color: #04132e; background: var(--sp-amarillo);
  border: 3px solid var(--sp-azul-3); box-shadow: 0 4px 10px rgba(0, 0, 0, .5);
  opacity: 0; transform: scale(.3) rotate(-25deg); transition: all .3s var(--sp-muelle);
}
.spx-carta.tengo .spx-carta__marca { opacity: 1; transform: none; }

.spx-carta__repes {
  position: absolute; bottom: -8px; right: -6px; z-index: 4;
  display: none; align-items: center; gap: 3px;
  padding: 3px 10px; border-radius: 999px; font-size: .76rem; font-weight: 800;
  color: #fff; background: #e0483c; border: 2px solid var(--sp-azul-3);
  box-shadow: 0 4px 10px rgba(0, 0, 0, .5);
}
.spx-carta.repe .spx-carta__repes { display: flex; }

.spx-carta__mas, .spx-carta__menos {
  position: absolute; z-index: 5; width: 28px; height: 28px; border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, .55); background: rgba(4, 19, 46, .92); color: #fff;
  font-weight: 800; line-height: 1; cursor: pointer; display: grid; place-items: center;
  opacity: 0; transform: scale(.7); transition: opacity .2s ease, transform .2s var(--sp-muelle);
}
.spx-carta__mas { bottom: 6px; right: 6px; }
.spx-carta__menos { bottom: 6px; left: 6px; }
.spx-carta:hover .spx-carta__mas,
.spx-carta:hover .spx-carta__menos { opacity: 1; transform: none; }
.spx-carta__mas:hover, .spx-carta__menos:hover { transform: scale(1.18); }

/* serie que todavía no existe */
.spx-proxima {
  text-align: center; padding: clamp(50px, 8vw, 90px) 20px;
  border: 2px dashed var(--sp-linea); border-radius: 24px;
  background: rgba(255, 255, 255, .04);
}
.spx-proxima__ico { font-size: 3.4rem; margin-bottom: 14px; animation: spx-flotar 4s ease-in-out infinite; }
.spx-proxima h3 { font-family: "Fredoka", sans-serif; font-size: 1.7rem; color: #fff; margin-bottom: 10px; }
.spx-proxima p { color: var(--sp-tenue); max-width: 44ch; margin: 0 auto; }

/* leyenda */
.spx-album__leyenda {
  display: flex; gap: 22px; flex-wrap: wrap; justify-content: center;
  margin-top: clamp(26px, 4vw, 44px); padding-top: 24px; border-top: 1px solid var(--sp-linea);
  font-size: .88rem; color: var(--sp-tenue);
}
.spx-album__leyenda span { display: inline-flex; align-items: center; gap: 8px; }
.spx-album__leyenda i {
  width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center;
  font-style: normal; font-size: .74rem; font-weight: 800;
}

/* ===========================================================
   7 · VENTANA DE CUENTA
   =========================================================== */
.spx-modal {
  position: fixed; inset: 0; z-index: 1500; display: grid; place-items: center; padding: 20px;
  opacity: 0; visibility: hidden; transition: opacity .22s ease, visibility .22s;
}
.spx-modal.abierto { opacity: 1; visibility: visible; }
.spx-modal__velo { position: absolute; inset: 0; background: rgba(3, 10, 26, .74); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.spx-modal__caja {
  position: relative; width: min(420px, 100%); padding: 30px;
  border-radius: 24px; border: 1px solid var(--sp-linea);
  background: linear-gradient(180deg, #123a86, #0a1c44);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .7); color: #eaf2ff;
  transform: translateY(-14px) scale(.96); transition: transform .3s var(--sp-muelle);
}
.spx-modal.abierto .spx-modal__caja { transform: none; }
.spx-modal__caja h3 { font-family: "Fredoka", sans-serif; font-size: 1.55rem; color: #fff; margin-bottom: 6px; }
.spx-modal__caja > p { color: var(--sp-tenue); font-size: .92rem; margin-bottom: 20px; }
.spx-campo { margin-bottom: 14px; }
.spx-campo label { display: block; font-size: .8rem; font-weight: 700; color: var(--sp-tenue); margin-bottom: 6px; }
.spx-campo input {
  width: 100%; padding: 13px 15px; border-radius: 13px; font: inherit; font-size: 1rem;
  border: 1px solid var(--sp-linea); background: rgba(0, 0, 0, .32); color: #fff;
}
.spx-campo input:focus { outline: 2px solid var(--sp-cielo); outline-offset: 1px; }
.spx-modal__pie { display: flex; gap: 10px; margin-top: 20px; flex-wrap: wrap; }
.spx-modal__pie .spx-btn { flex: 1; justify-content: center; }
.spx-modal__x {
  position: absolute; top: 14px; right: 14px; width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid var(--sp-linea); background: rgba(0, 0, 0, .3); color: #fff; cursor: pointer; font-size: 1.1rem;
}
.spx-modal__aviso { margin-top: 14px; font-size: .78rem; color: var(--sp-tenue); line-height: 1.5; }
.spx-modal__error {
  display: none; margin-top: 12px; padding: 11px 15px; border-radius: 11px;
  background: rgba(224, 72, 60, .18); border: 1px solid rgba(224, 72, 60, .5);
  color: #ffd9d5; font-size: .88rem; font-weight: 600;
}
.spx-modal__error.ver { display: block; animation: spx-tiembla .4s ease; }
@keyframes spx-tiembla {
  25% { transform: translateX(-5px); } 50% { transform: translateX(5px); }
  75% { transform: translateX(-3px); } 100% { transform: none; }
}
.spx-tabs { display: flex; gap: 6px; padding: 5px; border-radius: 999px; background: rgba(0, 0, 0, .3); margin-bottom: 20px; }
.spx-tabs button {
  flex: 1; padding: 10px; border: 0; border-radius: 999px; cursor: pointer; font: inherit;
  font-weight: 700; font-size: .9rem; color: var(--sp-tenue); background: none; transition: .2s;
}
.spx-tabs button.on { background: var(--sp-cielo); color: #04132e; }

/* imagen de grupo dentro de la sección de la serie */
.spx-serie__art--grupo {
  border: 0 !important; box-shadow: none !important; border-radius: 0 !important;
  background: radial-gradient(60% 60% at 50% 55%, rgba(46, 166, 255, .3), transparent 70%);
  display: grid; place-items: center;
}
.spx-serie__art--grupo img {
  width: 100%; height: auto;
  filter: drop-shadow(0 22px 40px rgba(0, 10, 40, .6));
  animation: spx-flotar 7s ease-in-out infinite;
}

/* ===========================================================
   8 · CUENTA ATRÁS PARA EL ESTRENO
   =========================================================== */
.spx-ca {
  position: relative; overflow: hidden; isolation: isolate;
  padding: clamp(48px, 7vw, 92px) 0;
  background: linear-gradient(180deg, var(--sp-azul-3), #0d2a63 55%, var(--sp-azul-3));
  border-block: 1px solid var(--sp-linea);
}
.spx-ca__rayos {
  position: absolute; inset: -70% -25%; z-index: -1; opacity: .13;
  background: repeating-conic-gradient(from 0deg at 50% 50%,
    rgba(255, 210, 63, .9) 0deg 5deg, transparent 5deg 16deg);
  animation: spx-rayos 90s linear infinite reverse;
}
.spx-ca__in { text-align: center; }
.spx-ca__head { max-width: 60ch; margin: 0 auto clamp(26px, 4vw, 40px); }
.spx-ca__head h2 {
  font-family: "Fredoka", "Baloo 2", sans-serif; font-weight: 700;
  font-size: clamp(1.8rem, 4.6vw, 3rem); line-height: 1.08; margin: 12px 0 14px;
  color: #fff; text-transform: uppercase;
  text-shadow: 0 4px 0 rgba(0, 0, 0, .3), 0 0 30px rgba(46, 166, 255, .45);
}
.spx-ca__head h2 b {
  color: var(--sp-amarillo);
  text-shadow: 0 4px 0 rgba(120, 70, 0, .45), 0 0 26px rgba(255, 210, 63, .6);
}
.spx-ca__head p { color: var(--sp-tenue); font-size: 1.04rem; max-width: 52ch; margin-inline: auto; }

/* el reloj */
.spx-ca__reloj {
  display: flex; justify-content: center; gap: clamp(10px, 2vw, 22px);
  flex-wrap: wrap; list-style: none; margin: 0 0 clamp(22px, 3vw, 32px); padding: 0;
}
.spx-ca__reloj li {
  position: relative; min-width: clamp(78px, 15vw, 132px); padding: clamp(14px, 2vw, 22px) 10px;
  border-radius: 20px; border: 2px solid var(--sp-linea);
  background: linear-gradient(180deg, rgba(255, 255, 255, .13), rgba(4, 19, 46, .55));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2), 0 12px 26px rgba(0, 0, 0, .4);
  overflow: hidden;
}
.spx-ca__reloj li::before {          /* reflejo que cruza cada caja */
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, transparent 40%, rgba(255, 255, 255, .22) 50%, transparent 60%);
  background-size: 250% 100%; animation: spx-barra 3.6s linear infinite;
}
.spx-ca__reloj b {
  display: block; position: relative;
  font-family: "Luckiest Guy", "Fredoka", cursive; letter-spacing: .02em;
  font-size: clamp(2rem, 5.5vw, 3.6rem); line-height: 1; color: #fff;
  text-shadow: 0 4px 0 rgba(8, 30, 74, .8), 0 0 22px rgba(46, 166, 255, .55);
  font-variant-numeric: tabular-nums;
}
.spx-ca__reloj b.cambia { animation: spx-tic .5s var(--sp-muelle); }
@keyframes spx-tic {
  0% { transform: translateY(-38%) scale(.82); opacity: .2; filter: blur(2px); }
  60% { transform: translateY(6%) scale(1.06); opacity: 1; filter: none; }
  100% { transform: none; }
}
.spx-ca__reloj span {
  display: block; position: relative; margin-top: 8px;
  font-family: "Fredoka", sans-serif; font-weight: 700; font-size: .74rem;
  letter-spacing: .18em; text-transform: uppercase; color: var(--sp-amarillo);
}
.spx-ca__ya {
  font-family: "Fredoka", sans-serif; font-size: 1.2rem; color: #fff;
  margin-bottom: clamp(20px, 3vw, 30px);
}
.spx-ca__ya b { color: var(--sp-amarillo); }
.spx-ca__cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ===========================================================
   9 · TIENDA
   =========================================================== */
.spx-tienda {
  position: relative; overflow: hidden;
  padding: clamp(46px, 7vw, 86px) 0;
  background:
    radial-gradient(700px 360px at 85% 50%, rgba(116, 193, 61, .22), transparent 62%),
    linear-gradient(180deg, var(--sp-azul), var(--sp-azul-3));
  border-block: 1px solid var(--sp-linea);
}
.spx-tienda__in {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .65fr);
  gap: clamp(24px, 5vw, 60px); align-items: center;
}
.spx-tienda h2 {
  font-family: "Fredoka", sans-serif; font-size: clamp(1.7rem, 4vw, 2.7rem);
  color: #fff; text-transform: uppercase; margin: 12px 0 12px;
  text-shadow: 0 4px 0 rgba(0, 0, 0, .3);
}
.spx-tienda p { color: var(--sp-tenue); max-width: 46ch; margin-bottom: 22px; }
.spx-tienda__art {
  display: grid; place-items: center; padding: clamp(18px, 3vw, 34px);
  border-radius: 26px; border: 2px solid var(--sp-linea);
  background: linear-gradient(180deg, rgba(255, 255, 255, .12), rgba(255, 255, 255, .03));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2), 0 16px 40px rgba(0, 0, 0, .35);
  transition: transform .35s var(--sp-muelle), box-shadow .35s ease;
}
.spx-tienda__art:hover { transform: translateY(-8px) scale(1.03); box-shadow: 0 26px 56px rgba(0, 0, 0, .45); }
.spx-tienda__art img { width: min(240px, 100%); height: auto; filter: drop-shadow(0 12px 22px rgba(0, 0, 0, .45)); }
@media (max-width: 860px) {
  .spx-tienda__in { grid-template-columns: 1fr; text-align: center; }
  .spx-tienda p { margin-inline: auto; }
  .spx-tienda__art { max-width: 300px; margin: 0 auto; }
}

/* ===========================================================
   10 · REPARTO DE VOCES
   =========================================================== */
.spx-cast {
  background:
    radial-gradient(800px 420px at 20% 0%, rgba(138, 92, 255, .18), transparent 62%),
    linear-gradient(180deg, var(--sp-azul-3), var(--sp-azul));
  border-block: 1px solid var(--sp-linea);
}

/* fichas de cada voz */
.spx-cast__voces {
  display: flex; justify-content: center; gap: clamp(10px, 2vw, 18px);
  flex-wrap: wrap; margin-bottom: clamp(26px, 4vw, 42px);
}
.spx-cast__voz {
  display: flex; align-items: center; gap: 12px; cursor: pointer;
  padding: 12px 20px 12px 12px; border-radius: 999px; font: inherit; text-align: left;
  border: 2px solid var(--sp-linea);
  background: linear-gradient(180deg, rgba(255, 255, 255, .11), rgba(4, 19, 46, .5));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18), 0 8px 20px rgba(0, 0, 0, .3);
  transition: transform .25s var(--sp-muelle), border-color .25s ease, box-shadow .25s ease;
}
.spx-cast__voz:hover, .spx-cast__voz.activa {
  transform: translateY(-4px); border-color: var(--c);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2), 0 12px 28px rgba(0, 0, 0, .4), 0 0 0 3px color-mix(in srgb, var(--c) 35%, transparent);
}
.spx-cast__inicial {
  width: 40px; height: 40px; flex: 0 0 40px; border-radius: 50%;
  display: grid; place-items: center;
  font-family: "Fredoka", sans-serif; font-weight: 700; font-size: 1.15rem; color: #04132e;
  background: var(--c); box-shadow: 0 3px 0 rgba(0, 0, 0, .35);
}
.spx-cast__nombre {
  display: block; font-family: "Fredoka", sans-serif; font-weight: 700;
  font-size: 1.02rem; color: #fff; line-height: 1.15;
}
.spx-cast__cuantos { display: block; font-size: .76rem; color: var(--sp-tenue); font-weight: 700; }

/* lista personaje → voz */
.spx-cast__lista {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2px clamp(24px, 5vw, 60px);
  counter-reset: cast;
}
@media (max-width: 820px) { .spx-cast__lista { grid-template-columns: 1fr; } }

.spx-cast__fila {
  display: flex; align-items: baseline; gap: 10px;
  padding: 11px 6px; border-bottom: 1px solid rgba(120, 180, 255, .16);
  transition: opacity .25s ease, background .25s ease, padding-left .25s var(--sp-muelle);
}
.spx-cast__fila:hover { background: rgba(255, 255, 255, .05); padding-left: 14px; border-radius: 10px; }
.spx-cast__pers {
  font-family: "Fredoka", sans-serif; font-weight: 700; font-size: 1rem; color: #fff;
  white-space: nowrap;
}
.spx-cast__linea {
  flex: 1; height: 0; border-bottom: 2px dotted rgba(120, 180, 255, .35);
  transform: translateY(-4px);
}
.spx-cast__actor {
  display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
  font-weight: 700; font-size: .94rem; color: var(--sp-tenue);
}
.spx-cast__actor i {
  width: 9px; height: 9px; border-radius: 50%; background: var(--c);
  box-shadow: 0 0 10px color-mix(in srgb, var(--c) 70%, transparent);
}

/* al resaltar una voz, el resto se apaga */
.spx-cast__lista.filtrando .spx-cast__fila { opacity: .22; }
.spx-cast__lista.filtrando .spx-cast__fila.resaltada { opacity: 1; }
.spx-cast__lista.filtrando .spx-cast__fila.resaltada .spx-cast__actor { color: #fff; }

/* ===========================================================
   11 · EFECTOS Y MOVIMIENTO
   =========================================================== */

/* --- paralaje --- */
[data-par] { will-change: transform; }
.spx-port__art[data-par] { transform: translate3d(var(--mx, 0), calc(var(--my, 0px) + var(--par, 0px)), 0) rotate(var(--rot, 0deg)); }
.spx-serie__art--grupo[data-par] { transform: translate3d(0, var(--par, 0px), 0); }
.spx-musical__poster[data-par] { transform: translate3d(0, var(--par, 0px), 0) rotate(-2.5deg); }
.spx-musical__poster[data-par]:hover { transform: translate3d(0, var(--par, 0px), 0) rotate(0) scale(1.04); }

/* --- inclinación 3D --- */
.spx-tilt { transform-style: preserve-3d; perspective: 900px; }
.spx-tilt > * { transition: transform .25s var(--sp-muelle); }
.spx-tilt:hover > * { transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); }

/* --- botones imantados + brillo --- */
.spx-btn { position: relative; overflow: hidden; }
.spx-iman { transform: translate3d(var(--ix, 0), var(--iy, 0), 0); transition: transform .25s var(--sp-muelle), box-shadow .12s; }
.spx-btn::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(105deg, transparent 38%, rgba(255, 255, 255, .55) 50%, transparent 62%);
  background-size: 260% 100%; background-position: 140% 0; opacity: 0;
}
.spx-btn:hover::after { opacity: 1; animation: spx-brillo .7s ease forwards; }

/* --- chispazo al pulsar --- */
.spx-chispazo {
  position: absolute; width: 10px; height: 10px; border-radius: 50%;
  translate: -50% -50%; pointer-events: none; z-index: 9;
  background: radial-gradient(circle, rgba(255, 255, 255, .95), rgba(255, 210, 63, .5) 45%, transparent 70%);
  animation: spx-onda .6s ease-out forwards;
}
@keyframes spx-onda {
  from { transform: scale(0); opacity: .95; }
  to { transform: scale(26); opacity: 0; }
}

/* --- huellas siguiendo al cursor --- */
.spx-huella {
  position: fixed; z-index: 9999; pointer-events: none;
  font-size: 15px; line-height: 1; translate: -50% -50%;
  rotate: var(--g, 0deg); opacity: 0;
  animation: spx-huella .9s ease-out forwards;
  filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .5));
}
@keyframes spx-huella {
  0% { opacity: 0; transform: scale(.4); }
  25% { opacity: .85; transform: scale(1); }
  100% { opacity: 0; transform: scale(.85) translateY(-8px); }
}

/* --- titulares letra a letra --- */
.spx-letras .spx-letra {
  display: inline-block; opacity: 0; transform: translateY(.5em) rotate(-8deg) scale(.7);
}
.spx-letras.dentro .spx-letra {
  animation: spx-letra .5s var(--sp-muelle) forwards; animation-delay: var(--l, 0s);
}
@keyframes spx-letra { to { opacity: 1; transform: none; } }

/* --- adornos de cómic flotando en la portada ---
   Viven en los márgenes laterales, nunca encima del texto, y sólo
   aparecen cuando hay sitio de sobra a los lados. --- */
.spx-props { position: absolute; inset: 0; pointer-events: none; z-index: 1; overflow: hidden; }
.spx-port__in { z-index: 3; }
.spx-prop {
  position: absolute; display: block;
  font-family: "Luckiest Guy", cursive; font-size: clamp(1.2rem, 2.2vw, 2.1rem);
  color: #fff; -webkit-text-stroke: 2px #143b7a; text-shadow: 0 5px 0 rgba(8, 30, 74, .6);
  opacity: 0; transform-origin: center;
  animation:
    spx-prop-entra .8s var(--sp-muelle) forwards,
    spx-prop-baila var(--t, 7s) ease-in-out infinite;
  animation-delay: var(--e, 0s), calc(var(--e, 0s) + .8s);
}
.spx-prop--amar { color: #ffd23f; -webkit-text-stroke: 2px #7a4a00; text-shadow: 0 5px 0 rgba(122, 74, 0, .55); }
.spx-prop--rosa { color: #ff5ea8; -webkit-text-stroke: 2px #7a1240; text-shadow: 0 5px 0 rgba(122, 18, 64, .55); }
.spx-prop--cian { color: #6ad1ff; -webkit-text-stroke: 2px #0b3f66; text-shadow: 0 5px 0 rgba(11, 63, 102, .55); }

@keyframes spx-prop-entra {
  from { opacity: 0; transform: scale(.2) rotate(-40deg); }
  to   { opacity: .95; transform: scale(1) rotate(var(--g, -8deg)); }
}
@keyframes spx-prop-baila {
  0%   { transform: translate(0, 0) rotate(var(--g, -8deg)) scale(1); }
  25%  { transform: translate(10px, -26px) rotate(calc(var(--g, -8deg) + 12deg)) scale(1.12); }
  50%  { transform: translate(-8px, -14px) rotate(calc(var(--g, -8deg) - 10deg)) scale(.94); }
  75%  { transform: translate(6px, -30px) rotate(calc(var(--g, -8deg) + 6deg)) scale(1.08); }
  100% { transform: translate(0, 0) rotate(var(--g, -8deg)) scale(1); }
}

/* sin sitio en los lados, fuera: nunca se pisan con el contenido */
@media (max-width: 1240px) { .spx-props { display: none; } }

/* --- cinta con lemas --- */
.spx-cinta {
  overflow: hidden; padding: 12px 0; border-block: 2px solid rgba(8, 30, 74, .35);
  background: linear-gradient(90deg, #ffd452, #ffb300);
  transform: rotate(-.6deg); margin-block: -6px;
}
.spx-cinta__tira {
  display: flex; gap: 42px; width: max-content;
  animation: spx-cinta 26s linear infinite;
}
.spx-cinta:hover .spx-cinta__tira { animation-play-state: paused; }
.spx-cinta span {
  font-family: "Luckiest Guy", cursive; font-size: 1.05rem; letter-spacing: .04em;
  color: #3a2400; white-space: nowrap;
}
@keyframes spx-cinta { to { transform: translateX(-50%); } }

/* --- indicador de bajar --- */
.spx-bajar {
  position: absolute; left: 50%; bottom: 14px; translate: -50% 0; z-index: 4;
  display: grid; place-items: center; gap: 5px;
  font-family: "Fredoka", sans-serif; font-weight: 700; font-size: .7rem;
  letter-spacing: .18em; text-transform: uppercase; color: rgba(255, 255, 255, .75);
}
.spx-bajar i {
  width: 24px; height: 38px; border-radius: 999px; border: 2px solid rgba(255, 255, 255, .55);
  position: relative;
}
.spx-bajar i::after {
  content: ""; position: absolute; left: 50%; top: 7px; translate: -50% 0;
  width: 4px; height: 8px; border-radius: 3px; background: var(--sp-amarillo);
  animation: spx-rueda 1.8s ease-in-out infinite;
}
@keyframes spx-rueda {
  0% { transform: translateY(0); opacity: 1; }
  70% { transform: translateY(14px); opacity: 0; }
  100% { transform: translateY(0); opacity: 0; }
}
@media (max-width: 880px) { .spx-bajar { display: none; } }

/* --- modo sin movimiento (preferencia del sistema o del visitante) --- */
html.spx-sin-movimiento :is(.spx-prop, .spx-cinta__tira, .spx-bajar i::after,
  .spx-port__logo, .spx-port__chapa, .spx-port__chispa,
  .spx-port::after, .spx-ca__rayos, .spx-serie__art--grupo img,
  .spx-port__art img, .spx-ca__reloj li::before, .spx-prog__fill::after) { animation: none !important; }
html.spx-sin-movimiento .spx-letras .spx-letra { opacity: 1 !important; transform: none !important; }
html.spx-sin-movimiento .spx-prop { opacity: .95 !important; transform: rotate(var(--g, 0deg)) !important; }

/* ===========================================================
   12 · INTRO DE ENTRADA
   =========================================================== */
body.spx-intro-abierta { overflow: hidden; }

.spx-intro {
  position: fixed; inset: 0; z-index: 5000;
  background: #04091a; display: grid; place-items: center;
  opacity: 1; transition: opacity .9s ease;
}
.spx-intro[hidden] { display: none; }
.spx-intro.fundido { opacity: 0; pointer-events: none; }

.spx-intro video {
  width: 100%; height: 100%; object-fit: cover; display: block;
  animation: spx-intro-zoom 6s ease-out both;
}
@keyframes spx-intro-zoom { from { transform: scale(1.06); } to { transform: scale(1); } }

.spx-intro::after {                     /* viñeta suave */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(120% 90% at 50% 50%, transparent 55%, rgba(0, 0, 0, .55));
}

/* botones */
.spx-intro__acc {
  position: absolute; z-index: 2; right: clamp(14px, 3vw, 28px); bottom: clamp(14px, 3vw, 28px);
  display: flex; gap: 10px; align-items: center;
}
.spx-intro__b {
  display: inline-flex; align-items: center; gap: 8px; cursor: pointer;
  font-family: "Fredoka", sans-serif; font-weight: 700; font-size: .88rem;
  color: #fff; padding: 11px 18px; border-radius: 999px;
  border: 2px solid rgba(255, 255, 255, .45); background: rgba(6, 16, 40, .55);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  transition: transform .2s var(--sp-muelle), background .2s ease, border-color .2s ease;
}
.spx-intro__b:hover { transform: translateY(-2px); background: rgba(6, 16, 40, .8); border-color: #fff; }

/* el botón de sonido llama la atención mientras está en silencio */
.spx-intro:not(.con-sonido) [data-intro-sonido] {
  border-color: var(--sp-amarillo, #ffd23f); color: #04132e;
  background: linear-gradient(180deg, #ffe066, #ffb300);
  animation: spx-intro-lat 1.5s ease-in-out infinite;
}
@keyframes spx-intro-lat {
  0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255, 210, 63, .5); }
  50% { transform: scale(1.06); box-shadow: 0 0 0 12px rgba(255, 210, 63, 0); }
}

/* barra de progreso del vídeo */
.spx-intro__barra {
  position: absolute; left: 0; right: 0; bottom: 0; height: 4px; z-index: 2;
  background: rgba(255, 255, 255, .12);
}
.spx-intro__barra i {
  display: block; height: 100%; width: 0;
  background: linear-gradient(90deg, #2ea6ff, #ffd23f);
  box-shadow: 0 0 12px rgba(46, 166, 255, .8);
}

@media (max-width: 600px) {
  .spx-intro__b span { display: none; }
  .spx-intro__b { padding: 11px 14px; }
}

/* intro sin reproducción automática (reducción de movimiento) */
.spx-intro__ver { display: none; }
.spx-intro.a-mano .spx-intro__ver { display: inline-flex; }
.spx-intro.a-mano [data-intro-sonido] { display: none; }
.spx-intro.a-mano video { animation: none; }
.spx-intro.a-mano::before {
  content: "SUPERPETS"; position: absolute; z-index: 1;
  font-family: "Luckiest Guy", cursive; font-size: clamp(2rem, 7vw, 5rem); color: #fff;
  -webkit-text-stroke: 3px #143b7a; text-shadow: 0 6px 0 rgba(8, 30, 74, .6);
}

/* ===========================================================
   13 · INTERRUPTOR DE EFECTOS
   =========================================================== */
.spx-fx {
  position: fixed; right: 16px; bottom: 74px; z-index: 880;
  display: inline-flex; align-items: center; gap: 8px; cursor: pointer;
  font-family: "Fredoka", sans-serif; font-weight: 700; font-size: .82rem; color: #fff;
  padding: 9px 15px; border-radius: 999px;
  border: 2px solid rgba(120, 180, 255, .45); background: rgba(8, 26, 66, .82);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  box-shadow: 0 10px 26px rgba(0, 0, 0, .45);
  transition: transform .2s cubic-bezier(.34, 1.4, .64, 1), border-color .2s ease;
}
.spx-fx:hover { transform: translateY(-2px); border-color: #fff; }
.spx-fx__luz {
  width: 10px; height: 10px; border-radius: 50%; background: #37d67a;
  box-shadow: 0 0 10px #37d67a;
}
html.spx-sin-movimiento .spx-fx__luz { background: #6b7288; box-shadow: none; }
@media (max-width: 720px) { .spx-fx { right: 12px; bottom: 66px; font-size: .76rem; padding: 8px 12px; } }
