/* ======== ESTILO LEO OFICIAL — AZUL RELÁMPAGO Y FUEGO ======== */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600&family=Orbitron:wght@500;700&display=swap');
/* ===== VIDEO DEL LOGO EN EL HEADER ===== */
.logo-video {
  width: 150px; /* ancho del logo */
  height: 150px; /* alto del logo */
  margin: 0 auto 20px auto;
  overflow: hidden;
  border-radius: 50%;
  border: 3px solid var(--neon-azul);
  box-shadow: 0 0 30px var(--neon-azul), 0 0 60px #0077ff;
}

.logo-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 50%;
  transition: transform 0.4s, filter 0.4s;
}

.logo-video video:hover {
  transform: scale(1.05) rotate(5deg);
  filter: drop-shadow(0 0 25px #00ffff);
}

/* ===== Ajustes móviles ===== */
@media (max-width: 768px) {
  .logo-video {
    width: 120px;
    height: 120px;
    margin-bottom: 15px;
  }

  header h1 {
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  .logo-video {
    width: 100px;
    height: 100px;
  }
}


:root {
  /* ⚡ Fondo relámpago — azul eléctrico y violeta profundo */
  --fondo: radial-gradient(circle at top left, #000428, #004e92, #000428);
  /* 🔥 Degradado fuego: rojo → naranja → dorado */
  --fuego: linear-gradient(90deg, #ff0000, #ff8c00, #ffd700);
  --neon-azul: #00ffff;
  --neon-azul-intenso: #00bfff;
  --blanco: #fff;
  --gris: #aaa;
  --negro: #000;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background: var(--fondo);
  color: var(--blanco);
  font-family: 'Poppins', sans-serif;
  overflow-x: hidden;
}

/* ====== HEADER ====== */
header {
  text-align: center;
  padding: 60px 20px;
  background: radial-gradient(circle at top, #001133, #000428);
  box-shadow: 0 0 40px rgba(0, 191, 255, 0.4);
  animation: fadeInDown 1.5s ease;
}

header img {
  width: 130px;
  max-width: 30%;
  border-radius: 50%;
  border: 3px solid var(--neon-azul);
  box-shadow: 0 0 30px var(--neon-azul), 0 0 60px #0077ff;
  transition: 0.4s;
}

header img:hover {
  transform: rotate(5deg) scale(1.05);
  filter: drop-shadow(0 0 25px #00ffff);
}

header h1 {
  font-family: 'Orbitron', sans-serif;
  background: var(--fuego);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 2.8rem;
  margin-top: 20px;
  text-shadow: 0 0 15px rgba(255, 165, 0, 0.6);
  line-height: 1.2;
}

header p {
  color: var(--gris);
  font-size: 1.1rem;
  letter-spacing: 1px;
  margin-top: 5px;
}

/* ====== CONTENEDOR PRINCIPAL ====== */
.container {
  width: 90%;
  max-width: 900px;
  margin: 40px auto;
  padding: 20px;
  animation: fadeIn 2s ease;
}

/* ====== EPISODIOS ====== */
.episode {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  padding: 25px;
  margin-bottom: 30px;
  backdrop-filter: blur(10px);
  transition: all 0.4s ease;
  box-shadow: 0 0 20px rgba(0, 191, 255, 0.2);
  width: 100%;
}

.episode:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 25px rgba(255, 140, 0, 0.8);
}

.episode h2 {
  font-family: 'Orbitron', sans-serif;
  background: var(--fuego);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 10px;
  word-wrap: break-word;
}

.episode p {
  color: var(--gris);
  line-height: 1.6;
  margin-bottom: 15px;
}

/* ====== REPRODUCTOR DE AUDIO & VIDEO ====== */
audio, video {
  width: 100%;
  max-width: 100%;
  border-radius: 8px;
  margin-top: 10px;
  background: #0d0d1a;
  box-shadow: 0 0 20px rgba(0, 191, 255, 0.3);
}

/* ====== BOTÓN DE SUSCRIPCIÓN ====== */
.subscribe {
  text-align: center;
  margin-top: 50px;
}

.subscribe a {
  display: inline-block;
  background: var(--fuego);
  color: #000;
  text-decoration: none;
  font-weight: bold;
  padding: 12px 25px;
  border-radius: 30px;
  transition: all 0.3s ease;
  box-shadow: 0 0 25px rgba(255, 140, 0, 0.6);
}

.subscribe a:hover {
  transform: scale(1.08);
  box-shadow: 0 0 35px rgba(255, 69, 0, 0.9);
}

/* ====== PIE DE PÁGINA ====== */
footer {
  text-align: center;
  padding: 30px;
  font-size: 0.9rem;
  color: var(--gris);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 50px;
}

/* ====== REACCIONES ====== */
.reacciones {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
  background: rgba(255, 255, 255, 0.05);
  padding: 10px;
  border-radius: 12px;
  backdrop-filter: blur(8px);
  box-shadow: 0 0 20px rgba(0, 191, 255, 0.2);
}

.btn-reaccion {
  position: relative;
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  background: rgba(0, 0, 0, 0.4);
  color: var(--blanco);
  border: 1px solid rgba(0, 255, 255, 0.5);
  border-radius: 30px;
  padding: 8px 16px;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-reaccion:hover {
  transform: scale(1.1);
  box-shadow: 0 0 20px var(--neon-azul-intenso);
}

.btn-reaccion[data-tipo="me_gusta"] { color: #00ffff; }
.btn-reaccion[data-tipo="me_encanta"] { color: #ff4500; }
.btn-reaccion[data-tipo="me_risa"] { color: #ffff66; }
.btn-reaccion[data-tipo="no_me_gusta"] { color: #ff3333; }

/* ====== ANIMACIONES ====== */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ====== MEDIA QUERIES RESPONSIVOS ====== */
@media (max-width: 1024px) {
  header h1 { font-size: 2.5rem; }
  header img { width: 120px; }
}

@media (max-width: 768px) {
  header h1 { font-size: 2rem; }
  header img { width: 100px; }
  .reacciones { flex-direction: column; }
  .btn-reaccion { width: 80%; justify-content: center; }
  .container { margin: 30px auto; padding: 15px; }
}

@media (max-width: 480px) {
  header h1 { font-size: 1.6rem; }
  header img { width: 80px; }
  .episode { padding: 15px; margin-bottom: 20px; }
  .subscribe a { padding: 10px 20px; font-size: 0.9rem; }
}

/* QR flotante en esquina inferior derecha */
#qr-flotante {
  position: fixed;
  bottom: 20px;       /* distancia desde abajo */
  right: 20px;        /* distancia desde la derecha */
  width: 100px;       /* tamaño del QR */
  height: 100px;      /* mantener proporción cuadrada */
  z-index: 9999;      /* que esté por encima de todo */
  cursor: pointer;    /* opcional, si quieres que parezca clickeable */
  transition: transform 0.3s;
}

#qr-flotante:hover {
  transform: scale(1.2); /* efecto al pasar el mouse */
}

