/* ======== ESTILO FUTURISTA — PODCAST SONIA HURTADO ======== */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600&family=Orbitron:wght@500;700&display=swap');

:root {
  --fondo: linear-gradient(135deg, #0a0a0f, #12122b, #1c1c3c);
  --dorado: #f5c76a;
  --blanco: #fff;
  --gris: #bbb;
  --acento: #ffb347;
  --neon: #00ffff;
  --rosa: #ff00ff;
}

/* ======== BASE ======== */
body {
  background: var(--fondo);
  color: var(--blanco);
  font-family: 'Poppins', sans-serif;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

/* ======== ENCABEZADO ======== */
header {
  text-align: center;
  padding: 60px 20px;
  background: radial-gradient(circle at top, #1c1c3c, #0a0a0f);
  animation: fadeInDown 1.5s ease;
  box-shadow: 0 0 40px rgba(0, 255, 255, 0.2);
}

header img {
  width: 130px;
  border-radius: 50%;
  border: 3px solid var(--neon);
  box-shadow: 0 0 30px var(--neon), 0 0 60px var(--rosa);
  transition: 0.4s;
}
header img:hover {
  transform: rotate(5deg) scale(1.05);
}

header h1 {
  font-family: 'Orbitron', sans-serif;
  color: var(--dorado);
  font-size: 2.5rem;
  margin-top: 20px;
  text-shadow: 0 0 10px var(--dorado), 0 0 20px var(--neon);
}
header p {
  color: var(--gris);
  font-size: 1.1rem;
  letter-spacing: 1px;
  margin-top: 5px;
}

/* ======== CONTENEDOR PRINCIPAL ======== */
.container {
  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;
  transition: all 0.4s ease;
  backdrop-filter: blur(10px);
  box-shadow: 0 0 15px rgba(0, 255, 255, 0.1);
}
.episode:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 25px rgba(245, 199, 106, 0.5);
}
.episode h2 {
  color: var(--dorado);
  font-family: 'Orbitron', sans-serif;
  margin-bottom: 10px;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}
.episode p {
  color: var(--gris);
  line-height: 1.6;
  margin-bottom: 15px;
}

/* ======== VIDEO Y AUDIO RESPONSIVOS ======== */
video, audio {
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  margin-top: 10px;
  object-fit: cover;
  box-shadow: 0 0 15px rgba(0, 255, 255, 0.2);
}

/* ======== REACCIONES ======== */
.reacciones {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 15px;
  background: rgba(255, 255, 255, 0.05);
  padding: 10px;
  border-radius: 12px;
  backdrop-filter: blur(8px);
}

.btn-reaccion {
  position: relative;
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.08);
  color: var(--gris);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 30px;
  padding: 8px 16px;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: inset 0 0 8px rgba(255, 255, 255, 0.1);
}
.btn-reaccion:hover {
  color: var(--blanco);
  transform: scale(1.08);
  border-color: var(--dorado);
  box-shadow: 0 0 15px rgba(245, 199, 106, 0.5);
}

/* Animaciones al hacer clic */
.btn-reaccion.clicked {
  animation: pulseGlow 0.6s ease, clickFlash 0.4s ease;
  filter: brightness(1.5);
}
@keyframes pulseGlow {
  0% { box-shadow: 0 0 5px var(--acento); }
  50% { box-shadow: 0 0 20px var(--acento); }
  100% { box-shadow: 0 0 5px var(--acento); }
}
@keyframes clickFlash {
  0% { box-shadow: 0 0 5px var(--acento), 0 0 15px var(--acento); transform: scale(1.05); }
  50% { box-shadow: 0 0 25px var(--neon), 0 0 60px var(--acento); transform: scale(1.2); }
  100% { box-shadow: 0 0 5px var(--acento), 0 0 15px var(--acento); transform: scale(1); }
}

/* Colores según tipo */
.btn-reaccion[data-tipo="me_gusta"] { color: #00ffcc; }
.btn-reaccion[data-tipo="me_encanta"] { color: #ff66b2; }
.btn-reaccion[data-tipo="me_risa"] { color: #ffe066; }
.btn-reaccion[data-tipo="no_me_gusta"] { color: #ff6666; }

.btn-reaccion .count {
  font-size: 0.8rem;
  background: rgba(255, 255, 255, 0.15);
  padding: 2px 6px;
  border-radius: 10px;
  color: var(--blanco);
}

/* ======== COMENTARIOS ======== */
.comentarios {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  padding: 20px;
  margin-top: 25px;
  box-shadow: 0 0 15px rgba(0, 255, 255, 0.1);
  backdrop-filter: blur(6px);
  transition: all 0.3s ease;
}
.comentarios:hover {
  box-shadow: 0 0 25px rgba(245, 199, 106, 0.3);
}

/* Formulario */
.form-comentario input[type="text"],
.form-comentario textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  padding: 10px;
  font-size: 0.95rem;
  transition: border 0.3s ease, background 0.3s ease;
}
.form-comentario input[type="text"]:focus,
.form-comentario textarea:focus {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--dorado);
  outline: none;
}

.form-comentario button {
  align-self: flex-end;
  background: var(--dorado);
  color: #000;
  border: none;
  padding: 10px 18px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 0 15px rgba(245, 199, 106, 0.4);
}
.form-comentario button:hover {
  background: var(--acento);
  box-shadow: 0 0 25px rgba(255, 179, 71, 0.7);
}

/* Lista de comentarios */
.lista-comentarios p {
  background: rgba(255, 255, 255, 0.08);
  border-left: 4px solid var(--neon);
  padding: 10px 12px;
  border-radius: 10px;
  margin-bottom: 10px;
  color: var(--blanco);
  font-size: 0.95rem;
  box-shadow: 0 0 10px rgba(0, 255, 255, 0.1);
}
.lista-comentarios strong {
  color: var(--dorado);
}
.no-comentarios {
  text-align: center;
  color: var(--gris);
  font-style: italic;
  font-size: 0.9rem;
}

/* ======== 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;
}

/* ======== 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); }
}

/* ======== RESPONSIVIDAD ======== */
@media (max-width: 768px) {
  header h1 { font-size: 1.8rem; }
  .reacciones { flex-direction: column; }
  .btn-reaccion { width: 80%; justify-content: center; }
  video { aspect-ratio: 4 / 3; }
  .comentarios { padding: 15px; }
  .form-comentario button { width: 100%; }
}
