body {
  margin: 0;
  background: #0b0b0b;
  font-family: Arial;
  color: white;
  overflow-x: hidden;
}

/* LOGO COMO SELLO CENTRAL */
.logo-sello {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(1.8);
  z-index: 1500;
  transition: all 0.6s ease;
}

.logo-sello img {
  width: 200px;
  filter: drop-shadow(0 0 20px rgba(255,255,255,0.5));
}

/* CUANDO SUBE AL NAVBAR */
.logo-sello.arriba {
  top: 10px;
  left: 50%;
  transform: translateX(-50%) scale(0.7);
  transform-origin: top center;
}

.logo-sello.arriba img {
  filter: drop-shadow(0 0 10px rgba(255,255,255,0.4));
}

/* CUANDO VUELVE AL CENTRO */
.logo-sello.centro {
  transform: translate(-50%, -50%) scale(1);
}

/* NAVBAR */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  height: 70px;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

/* DONDE SE “ACOMODA” EL LOGO */
.logo-navbar {
  height: 40px;
}

/* TELÓN */
.telon {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  z-index: 500;
  pointer-events: none;
  display: flex;
}

/* CADA MITAD DEL TELÓN */
.telon img {
  width: 50vw;
  height: 100vh;
  object-fit: cover;
  transition: transform 0.1s linear;
}

/* POSICIÓN */
.telon-izq {
  transform: translateX(0);
}

.telon-der {
  transform: translateX(0);
}
.telon.oculto {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s;
}

/* ESCENAS */
.escena {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: visible; /* 🔥 CAMBIO CLAVE */
}
.personaje {
  width: 720px;
  opacity: calc(var(--p));
  transform: 
    translateX(calc((1 - var(--p)) * (var(--dir, 1) * 300px)))
    scale(calc(0.6 + var(--p) * 0.6));
  transition: transform 0.1s linear, opacity 0.1s linear;
  z-index: 2;
  filter: brightness(calc(0.6 + var(--p) * 0.6));
}

/* dirección */
.izquierda { --dir: -1; }
.derecha { --dir: 1; }

/* GLOBO */
.globo {
  position: absolute;
  width: 260px;
  opacity: calc(var(--p));
  transform: translateY(calc((1 - var(--p)) * 40px));
  transition: 0.1s linear;
  z-index: 3;
}

/* leve delay natural */
.globo {
  transition-delay: 0.1s;
}

.globo img {
  width: 100%;
}

.globo p {
  position: absolute;
  top: 30%;
  left: 34px;
  right: 20px;
  color: black;
  font-size: 18px;
  font-family: 'Bangers', cursive;
  letter-spacing: 1px;
}

/* POSICIÓN GLOBO */
.izquierda .globo {
  left: 55%;
  top: 20%;
}

.derecha .globo {
  right: 55%;
  top: 20%;
}

/* ACTIVAR GLOBO */
.escena.visible .globo {
  opacity: 1;
  transform: translateY(0);
}

/* LUCES MÁS FUERTES */
.escena::before {
  content: "";
  position: absolute;
  width: calc(300px + var(--p) * 400px);
  height: 100%;
  top: 0;
  opacity: calc(var(--p));
  filter: blur(calc(50px + var(--p) * 120px));
  transition: 0.1s linear;
}

.escena:hover .personaje {
  transform: scale(calc(1.2 + 0.1));
}

.escena:hover .globo {
  transform: translateY(-10px);
}
.escena.visible::before {
  opacity: 1;
  filter: blur(150px);
}

.izquierda::before {
  left: -150px;
}

.derecha::before {
  right: -150px;
}

.azul::before {
  background: radial-gradient(circle, rgba(0,150,255,1) 0%, transparent 70%);
}

.rojo::before {
  background: radial-gradient(circle, rgba(255,50,50,1) 0%, transparent 70%);
}

.blanco::before {
  background: radial-gradient(circle, rgba(255,255,255,1) 0%, transparent 70%);
}







/* ESCENAS NEUTRAS */
.negro {
  background: #050505;
}

/* INTRO */
.intro-texto {
  text-align: center;
  font-size: 26px;
  opacity: 0;
  transform: translateY(20px);
  transition: 1s;
}

/* FINAL */
.final-texto {
  text-align: center;
  font-size: 26px;
  opacity: 0;
  transform: translateY(20px);
  transition: 1s;
}

/* ACTIVACIÓN */
.escena.visible .intro-texto,
.escena.visible .final-texto {
  opacity: 1;
  transform: translateY(0);
}
  /* SECCIÓN */
.comentarios {
  padding: 100px 20px;
  background: linear-gradient(to bottom, #050505, #0b0b0b);
  text-align: center;
}

.comentarios h2 {
  font-size: 32px;
  margin-bottom: 50px;
  letter-spacing: 2px;
}

/* TARJETAS */
.comentarios {
  min-height: 100vh;
  position: relative;
  padding-top: 100px;
  text-align: center;
}

.comentario-globo {
  position: relative;
  width: 260px;
  margin: 80px auto;
  opacity: 0;
  transform: translateY(50px) scale(0.8);
  transition: 0.6s;
}

.comentario-globo img {
  width: 100%;
}

.comentario-globo p {
  position: absolute;
  top: 30%;
  left: 30px;
  right: 20px;
  font-family: 'Bangers', cursive;
  font-size: 16px;
  color: black;
}

.comentario-globo span {
  display: block;
  margin-top: 10px;
  font-size: 12px;
  opacity: 0.6;
}

/* colores distintos */
.comentario-globo:nth-child(2) img {
  filter: hue-rotate(200deg);
}
.comentario-globo:nth-child(3) img {
  filter: hue-rotate(320deg);
}

/* posiciones */
.comentario-globo.izquierda {
  margin-left: 20%;
}

.comentario-globo.derecha {
  margin-right: 20%;
}

/* aparición */
.comentario-globo.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}


/* FINAL INFO (pantalla teatral final) */

/* =========================
   FINAL INFO (REDES)
========================= */
.final-info {
  position: relative;
  z-index: 1001;
  padding: 120px 20px;
  text-align: center;
  background: #000;
  opacity: 0;
  transform: translateY(40px);
  transition: 0.6s;
}

.final-info.visible {
  opacity: 1;
  transform: translateY(0);
}

.final-info h2 {
  font-size: 32px;
  margin-bottom: 20px;
}

.final-info p {
  font-size: 20px;
  margin-bottom: 30px;
}

/* BOTONES REDES */
.redes a {
  display: inline-block;
  margin: 10px;
  padding: 12px 25px;
  border: 2px solid white;
  color: white;
  text-decoration: none;
  font-family: 'Bangers', cursive;
  font-size: 18px;
  letter-spacing: 1px;
  transition: 0.3s;
}


.redes a:hover {
  background: white;
  color: black;
  transform: scale(1.1);
}

.redes img {
  width: 50px;
}

/* Instagram (más chico, cuadrado) */
.btn.insta img {
  width: 40px;
}

/* Alternativa (más ancho, protagonista) */
.btn.entradas img {
  width: 170px; /* 🔥 más grande */
}


/* =========================
   FOOTER
========================= */
.footer {
  position: relative;
  z-index: 1002;
  padding: 40px 20px;
  text-align: center;
  background: black;
  opacity: 0;
  transform: translateY(40px);
  transition: 0.6s;
}

.footer.visible {
  opacity: 1;
  transform: translateY(0);
}

.footer img {
  width: 80px;
  margin-top: 10px;
}
}transform: translateY(0);
}