/* ==========================================================================
   ESTA ES MI APP - HOJA DE ESTILOS PRINCIPAL (VERSIÓN V8 FIX FINAL)
   Inspirado en el Dashboard de PlayStation 5 (PS5)
   ========================================================================== */

:root {
  --color-primary-red: #B71E28;
  --color-red-glow: rgba(183, 30, 40, 0.45);
  --color-red-light: #d82935;
  --color-dark-navy: #171E36;
  --color-dark-bg: #0A0D17;
  --color-card-bg: rgba(23, 30, 54, 0.75);
  --color-card-hover: rgba(35, 45, 78, 0.85);
  --color-white: #FFFFFF;
  --color-text-dim: #9aa5b8;
  --color-gold-ad: #C29736;
  --color-red-ad: #E52A28;
  --font-main: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --ps5-transition: cubic-bezier(0.2, 0.8, 0.2, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  user-select: none;
}

body {
  font-family: var(--font-main);
  background-color: var(--color-dark-bg);
  color: var(--color-white);
  min-height: 100vh;
  overflow-x: hidden;
  overflow-y: auto;
  position: relative;
}

::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--color-dark-bg); }
::-webkit-scrollbar-thumb { background: var(--color-primary-red); border-radius: 4px; }

.ambient-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  background: radial-gradient(circle at 75% 20%, rgba(183, 30, 40, 0.25) 0%, rgba(23, 30, 54, 0.4) 45%, var(--color-dark-bg) 85%);
  transition: background 0.8s var(--ps5-transition);
  pointer-events: none;
}

.ambient-grid {
  position: fixed;
  inset: 0;
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 50px 50px;
  z-index: 0;
  pointer-events: none;
}

.top-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 76px;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  background: linear-gradient(180deg, rgba(10, 13, 23, 0.95) 0%, rgba(10, 13, 23, 0.6) 80%, transparent 100%);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

/* LOGO OFICIAL ESTA.PNG CON ANIMACIONES */
.brand-logo { display: flex; align-items: center; gap: 14px; text-decoration: none; cursor: pointer; }
.logo-symbol {
  width: 44px;
  height: 44px;
  background: transparent;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.brand-logo-img {
  width: 44px !important;
  height: 44px !important;
  max-width: 44px !important;
  max-height: 44px !important;
  object-fit: contain !important;
  filter: drop-shadow(0 4px 10px rgba(183, 30, 40, 0.6));
  display: block !important;
}

.logo-bounce-box {
  animation: logoHop 2.6s infinite ease-in-out;
}

@keyframes logoHop {
  0%, 100% { transform: translateY(0) scale(1); }
  25% { transform: translateY(-8px) scale(1.08); }
  45% { transform: translateY(0) scale(0.96); }
  60% { transform: translateY(-4px) scale(1.02); }
  75% { transform: translateY(0) scale(1); }
}

.brand-logo:hover .logo-bounce-box {
  animation-play-state: paused;
  transform: translateY(-5px) scale(1.12);
}

.symbol-triangle {
  width: 0;
  height: 0;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 17px solid white;
  margin-left: 4px;
  position: relative;
}

.eyes-container { position: absolute; top: 15px; left: 14px; display: flex; gap: 3px; }
.eye {
  width: 4px;
  height: 4px;
  background-color: var(--color-white);
  border-radius: 50%;
  position: relative;
  animation: eyeBlink 4s infinite ease-in-out;
}

@keyframes eyeBlink {
  0%, 90%, 100% { transform: scaleY(1); }
  95% { transform: scaleY(0.1); }
}

.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text .title-top { font-size: 0.75rem; font-weight: 800; letter-spacing: 2px; color: var(--color-white); text-transform: uppercase; }
.brand-text .title-main { font-size: 1.25rem; font-weight: 900; letter-spacing: -0.5px; color: var(--color-white); }
.brand-text .dot-red { color: var(--color-primary-red); }

.nav-categories {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(23, 30, 54, 0.5);
  padding: 6px 8px;
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
}

.nav-item {
  padding: 8px 20px;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--color-text-dim);
  border-radius: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s var(--ps5-transition);
  position: relative;
}

.nav-item i { font-size: 0.85rem; transition: transform 0.3s ease; }
.nav-item:hover { color: var(--color-white); background: rgba(255, 255, 255, 0.06); }
.nav-item.active { color: var(--color-white); background: var(--color-primary-red); box-shadow: 0 4px 18px var(--color-red-glow); }
.nav-item.active i { transform: scale(1.15); }

.nav-actions { display: flex; align-items: center; gap: 12px; }
.live-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(183, 30, 40, 0.2);
  border: 1px solid rgba(183, 30, 40, 0.5);
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 1px;
  color: #ff525d;
  text-transform: uppercase;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background-color: #ff3344;
  border-radius: 50%;
  box-shadow: 0 0 10px #ff3344;
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.8; }
}

.btn-download-app {
  background: rgba(255, 255, 255, 0.08);
  color: var(--color-white);
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.82rem;
  font-weight: 700;
  border: 1px solid rgba(255, 255, 255, 0.18);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
  backdrop-filter: blur(8px);
}

.btn-download-app:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.35);
  transform: translateY(-2px);
}

.btn-nav-share, .btn-share-top {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s ease;
}

.btn-nav-share:hover, .btn-share-top:hover {
  background: var(--color-primary-red);
  border-color: var(--color-primary-red);
  transform: scale(1.1);
}

.btn-advertise {
  background: linear-gradient(135deg, var(--color-primary-red) 0%, #8b1019 100%);
  color: var(--color-white);
  padding: 9px 18px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 700;
  border: 1px solid rgba(255, 255, 255, 0.2);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(183, 30, 40, 0.35);
}

.btn-advertise:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(183, 30, 40, 0.6);
  background: linear-gradient(135deg, var(--color-red-light) 0%, var(--color-primary-red) 100%);
}

.app-main {
  position: relative;
  z-index: 10;
  height: 100vh;
  padding-top: 96px;
  padding-bottom: 120px;
  overflow: hidden;
}

.views-wrapper {
  display: flex;
  align-items: flex-start;
  width: 600%;
  height: 100%;
  transition: transform 0.65s var(--ps5-transition);
  will-change: transform;
}

.section-view {
  width: 16.666667%;
  height: 100%;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 10px 40px 30px;
  opacity: 0.3;
  transform: scale(0.96);
  transition: opacity 0.5s ease, transform 0.6s var(--ps5-transition);
  pointer-events: none;
}

.section-view.active-view {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}

.hero-banner {
  position: relative;
  width: 100%;
  height: 380px;
  border-radius: 24px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: 40px;
  margin-bottom: 35px;
  background: linear-gradient(0deg, rgba(10, 13, 23, 0.95) 0%, rgba(23, 30, 54, 0.4) 60%, rgba(183, 30, 40, 0.15) 100%),
              url('https://images.unsplash.com/photo-1598488035139-bdbb2231ce04?q=80&w=1600&auto=format&fit=crop') center/cover;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.hero-content { max-width: 720px; position: relative; z-index: 2; }
.hero-badges-line { display: flex; gap: 10px; align-items: center; margin-bottom: 12px; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 6px;
  background: var(--color-primary-red);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.hero-badge-radio {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 6px;
  background: rgba(23, 30, 54, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 0.75rem;
  font-weight: 700;
  color: #ff525d;
}

.hero-title { font-size: 2.5rem; font-weight: 900; line-height: 1.1; margin-bottom: 12px; letter-spacing: -1px; }
.hero-desc { font-size: 1rem; color: var(--color-text-dim); margin-bottom: 20px; line-height: 1.5; }
.hero-actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }

.btn-hero-primary {
  background: var(--color-white);
  color: var(--color-dark-bg);
  padding: 12px 26px;
  border-radius: 12px;
  font-weight: 800;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2);
}

.btn-hero-primary:hover {
  background: #f0f0f0;
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 25px rgba(255, 255, 255, 0.35);
}

.btn-hero-download {
  background: linear-gradient(135deg, #171E36 0%, #0d1222 100%);
  color: #FFFFFF;
  border: 1px solid rgba(183, 30, 40, 0.6);
  padding: 12px 22px;
  border-radius: 12px;
  font-weight: 800;
  font-size: 0.92rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.btn-hero-download:hover {
  border-color: var(--color-primary-red);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(183, 30, 40, 0.4);
}

.btn-hero-secondary {
  background: rgba(23, 30, 54, 0.8);
  color: var(--color-white);
  padding: 12px 22px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.95rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.btn-hero-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
}

.btn-hero-share {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(23, 30, 54, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-hero-share:hover {
  background: var(--color-primary-red);
  border-color: var(--color-primary-red);
  transform: scale(1.08);
}

.content-row { margin-bottom: 40px; }
.row-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; flex-wrap: wrap; gap: 14px; }
.row-title { font-size: 1.35rem; font-weight: 800; letter-spacing: -0.5px; display: flex; align-items: center; gap: 10px; }
.row-title i { color: var(--color-primary-red); font-size: 1.1rem; }

.row-tools { display: flex; align-items: center; gap: 16px; }
.row-search-box {
  background: rgba(23, 30, 54, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 20px;
  padding: 6px 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: border-color 0.25s ease;
}

.row-search-box:focus-within {
  border-color: var(--color-primary-red);
}

.row-search-box input {
  background: transparent;
  border: none;
  color: white;
  font-size: 0.82rem;
  outline: none;
  width: 140px;
}

.row-action { font-size: 0.85rem; font-weight: 700; color: var(--color-text-dim); text-decoration: none; cursor: pointer; display: flex; align-items: center; gap: 6px; transition: color 0.2s ease; }
.row-action:hover { color: var(--color-white); }

.cards-carousel {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 280px;
  gap: 20px;
  overflow-x: auto;
  padding: 10px 4px 20px;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;      /* Firefox */
  -ms-overflow-style: none;   /* Edge/IE viejo */
}

.cards-carousel::-webkit-scrollbar { display: none; } /* Chrome/Safari */

/* Tarjeta Multimedia Estándar */
.media-card {
  position: relative;
  height: 350px;
  background: var(--color-card-bg);
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  cursor: pointer;
  scroll-snap-align: start;
  transition: all 0.35s var(--ps5-transition);
  backdrop-filter: blur(12px);
}

.media-card:hover, .media-card:focus {
  transform: translateY(-8px) scale(1.03);
  border-color: var(--color-primary-red);
  box-shadow: 0 14px 30px var(--color-red-glow), 0 0 0 1px var(--color-primary-red);
  background: var(--color-card-hover);
}

.card-thumb-wrapper { position: relative; width: 100%; height: 180px; overflow: hidden; }
.card-thumb-wrapper img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.media-card:hover .card-thumb-wrapper img { transform: scale(1.08); }

.card-play-btn { position: absolute; inset: 0; background: rgba(10, 13, 23, 0.4); display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity 0.3s ease; }
.media-card:hover .card-play-btn { opacity: 1; }
.play-circle { width: 48px; height: 48px; border-radius: 50%; background: var(--color-primary-red); color: white; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; box-shadow: 0 4px 15px rgba(183, 30, 40, 0.6); transform: scale(0.8); transition: transform 0.3s var(--ps5-transition); }
.media-card:hover .play-circle { transform: scale(1); }

.card-share-quick-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(10, 13, 23, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  transition: all 0.25s ease;
  z-index: 5;
}

.media-card:hover .card-share-quick-btn {
  opacity: 1;
}

.card-share-quick-btn:hover {
  background: var(--color-primary-red);
  transform: scale(1.12);
  border-color: var(--color-primary-red);
}

.card-tag { position: absolute; top: 12px; left: 12px; padding: 4px 10px; background: rgba(10, 13, 23, 0.8); border-radius: 6px; font-size: 0.7rem; font-weight: 800; color: white; letter-spacing: 0.5px; text-transform: uppercase; backdrop-filter: blur(8px); border: 1px solid rgba(255, 255, 255, 0.1); }
.card-duration { position: absolute; bottom: 12px; right: 12px; padding: 3px 8px; background: rgba(0, 0, 0, 0.75); border-radius: 4px; font-size: 0.72rem; font-weight: 700; }
.card-info { padding: 16px; display: flex; flex-direction: column; flex-grow: 1; justify-content: space-between; }
.card-category { font-size: 0.75rem; font-weight: 700; color: var(--color-primary-red); text-transform: uppercase; margin-bottom: 4px; }
.card-title { font-size: 0.95rem; font-weight: 700; color: var(--color-white); line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-meta { display: flex; align-items: center; justify-content: space-between; margin-top: 12px; font-size: 0.78rem; color: var(--color-text-dim); }

/* AFICHE COMPLETO DE PATROCINADOR (MEGA FEST - CARGA DIRECTA) */
.media-card.full-poster-card {
  position: relative;
  height: 350px;
  background: #0A0D17;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(183, 30, 40, 0.45);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.media-card.full-poster-card:hover {
  border-color: var(--color-primary-red);
  box-shadow: 0 16px 35px rgba(183, 30, 40, 0.4), 0 0 0 1px var(--color-primary-red);
  transform: translateY(-8px) scale(1.03);
}

.poster-full-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform 0.5s ease;
}

.media-card.full-poster-card:hover .poster-full-image {
  transform: scale(1.05);
}

/* ==========================================================================
   INSIGNIAS DE PUBLICIDAD (MANUAL DE MARCA: ROJO Y BLANCO / NEGRO Y ROJO)
   ========================================================================== */
.sponsored-tag-red, .card-tag.sponsored-tag-red {
  position: static;
  background: var(--color-primary-red) !important;
  color: #FFFFFF !important;
  font-weight: 800;
  font-size: 0.72rem;
  letter-spacing: 0.8px;
  border: 1px solid rgba(255, 255, 255, 0.3) !important;
  box-shadow: 0 2px 10px rgba(183, 30, 40, 0.45) !important;
}

.sponsored-tag-vip {
  position: static;
  background: #000000 !important;
  color: var(--color-primary-red) !important;
  border: 1px solid var(--color-primary-red) !important;
  font-weight: 800;
  font-size: 0.72rem;
  letter-spacing: 0.8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.6) !important;
}

/* Banner Doble de Anunciante VIP */
.media-card.sponsor-double-banner {
  grid-column: span 2;
  min-width: unset;
  width: 100%;
  background: #171E36;
  border: 1px solid rgba(183, 30, 40, 0.45);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6), inset 0 0 25px rgba(183, 30, 40, 0.1);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.35s var(--ps5-transition);
}

.media-card.sponsor-double-banner:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: var(--color-primary-red);
  box-shadow: 0 18px 45px rgba(183, 30, 40, 0.4), 0 0 0 1px var(--color-primary-red);
}

.sponsor-banner-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: calc(100% + 125px) top;
  background-repeat: no-repeat;
  z-index: 1;
  transition: transform 0.6s ease;
}

.media-card.sponsor-double-banner:hover .sponsor-banner-bg {
  transform: scale(1.06);
}

.sponsor-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #171E36 0%, rgba(23, 30, 54, 0.95) 45%, rgba(23, 30, 54, 0.4) 70%, transparent 100%);
  z-index: 2;
}

.sponsor-banner-content {
  position: relative;
  z-index: 3;
  padding: 24px 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.sponsor-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

.sponsor-logo-box {
  background: transparent;
  padding: 0;
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  box-shadow: none;
  border: none;
}

.sponsor-logo-img {
  height: 42px;
  max-width: 170px;
  object-fit: contain;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.7));
}

.sponsor-badges-group {
  display: flex;
  align-items: center;
  gap: 8px;
}

.sponsor-body {
  margin: 12px 0;
  max-width: 440px;
}

.sponsor-category-label {
  font-size: 0.72rem;
  font-weight: 800;
  color: #ff525d;
  letter-spacing: 1px;
  text-transform: uppercase;
  display: block;
  margin-bottom: 6px;
}

.sponsor-headline {
  font-size: 1.25rem;
  font-weight: 900;
  color: #FFFFFF;
  line-height: 1.32;
  margin-bottom: 8px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
}

.sponsor-sub {
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.45;
}

.sponsor-footer {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-sponsor-cta {
  background: linear-gradient(135deg, var(--color-red-ad) 0%, #b81b19 100%);
  color: #FFFFFF;
  font-weight: 800;
  font-size: 0.94rem;
  padding: 12px 24px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 18px rgba(229, 42, 40, 0.5);
  transition: all 0.3s ease;
}

.btn-sponsor-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(229, 42, 40, 0.8);
  background: linear-gradient(135deg, #ff3b38 0%, var(--color-red-ad) 100%);
}

.sponsor-disclaimer {
  font-size: 0.76rem;
  color: #ff525d;
  font-weight: 700;
}

/* ==========================================================================
   MODAL DE VIDEO IN-SITE (CINEMA THEATER MODE)
   ========================================================================== */
.video-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(5, 7, 12, 0.92);
  backdrop-filter: blur(20px);
  z-index: 1050;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: fadeInModal 0.3s ease forwards;
}

.video-modal-card {
  width: 100%;
  max-width: 860px;
  background: #171E36;
  border-radius: 24px;
  border: 1px solid rgba(183, 30, 40, 0.5);
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.95), 0 0 40px rgba(183, 30, 40, 0.3);
}

.video-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  background: #0A0D17;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.video-modal-title-box h3 {
  font-size: 1.15rem;
  font-weight: 900;
  color: white;
  margin-top: 4px;
}

.video-modal-badge {
  font-size: 0.72rem;
  font-weight: 800;
  color: #ff525d;
  letter-spacing: 0.8px;
}

.btn-close-video {
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.8rem;
  cursor: pointer;
  line-height: 1;
}

.btn-close-video:hover {
  color: var(--color-primary-red);
  transform: scale(1.15);
}

.video-modal-iframe-box {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  background: #000;
}

.video-modal-iframe-box iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.video-modal-footer {
  padding: 16px 24px;
  background: #0A0D17;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.video-modal-desc {
  font-size: 0.86rem;
  color: var(--color-text-dim);
  line-height: 1.45;
  flex-grow: 1;
}

.btn-video-share {
  background: var(--color-primary-red);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 10px 20px;
  border-radius: 12px;
  font-size: 0.88rem;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.25s ease;
}

.btn-video-share:hover {
  background: var(--color-red-light);
  transform: translateY(-2px);
}

/* ==========================================================================
   MODAL DE TÉRMINOS DE USO Y POLÍTICA DE PRIVACIDAD
   ========================================================================== */
.terms-footer-link {
  text-align: center;
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.35);
  padding: 24px 10px 10px;
}
.terms-footer-link span { cursor: pointer; text-decoration: underline; }
.terms-footer-link span:hover { color: var(--color-text-dim); }

.terms-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(5, 7, 12, 0.92);
  backdrop-filter: blur(20px);
  z-index: 1070;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: fadeInModal 0.3s ease forwards;
}

.terms-modal-card {
  width: 100%;
  max-width: 720px;
  max-height: 85vh;
  background: #171E36;
  border-radius: 24px;
  border: 1px solid rgba(183, 30, 40, 0.5);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.95), 0 0 40px rgba(183, 30, 40, 0.3);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.terms-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 24px;
  background: #0A0D17;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  flex-shrink: 0;
}

.terms-modal-header h3 { font-size: 1.05rem; font-weight: 900; color: white; }

.terms-modal-body {
  padding: 24px 28px 34px;
  overflow-y: auto;
  color: var(--color-text-dim);
  font-size: 0.86rem;
  line-height: 1.6;
}

.terms-modal-updated { display: block; font-size: 0.76rem; color: rgba(255, 255, 255, 0.45); margin-bottom: 18px; }
.terms-modal-body h4 { color: white; font-size: 0.96rem; font-weight: 800; margin: 22px 0 8px; }
.terms-modal-body h4:first-of-type { margin-top: 0; }
.terms-modal-body p { margin-bottom: 10px; }
.terms-modal-body ul { margin: 6px 0 14px 20px; }
.terms-modal-body li { margin-bottom: 4px; }
.terms-modal-body strong { color: white; }
.terms-modal-body a { color: #ff525d; }

/* ==========================================================================
   MODAL PARA COMPARTIR MULTIPLATAFORMA
   ========================================================================== */
.share-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 13, 23, 0.85);
  backdrop-filter: blur(16px);
  z-index: 1060;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: fadeInModal 0.3s ease forwards;
}

.share-modal-card {
  width: 100%;
  max-width: 440px;
  background: #171E36;
  border: 1px solid rgba(183, 30, 40, 0.4);
  border-radius: 24px;
  padding: 26px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.85);
}

.share-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.share-modal-header h3 {
  font-size: 1.25rem;
  font-weight: 900;
}

.btn-close-share {
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.6);
  font-size: 1.6rem;
  cursor: pointer;
}

.btn-close-share:hover { color: var(--color-primary-red); }

.share-sub-text {
  font-size: 0.86rem;
  color: var(--color-text-dim);
  margin-bottom: 18px;
}

.share-options-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 16px;
}

.btn-share-opt {
  padding: 12px;
  border-radius: 12px;
  border: none;
  font-size: 0.88rem;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: transform 0.2s ease;
}

.btn-share-opt:hover { transform: translateY(-2px); }

.share-whatsapp { background: #25D366; color: #000; }
.share-facebook { background: #1877F2; color: #FFF; }
.share-x { background: #000000; color: #FFF; border: 1px solid rgba(255, 255, 255, 0.2); }
.share-telegram { background: #229ED9; color: #FFF; }

.share-copy-box {
  display: flex;
  gap: 8px;
  background: #0A0D17;
  padding: 6px 8px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.share-copy-box input {
  flex-grow: 1;
  background: transparent;
  border: none;
  color: var(--color-text-dim);
  font-size: 0.82rem;
  padding-left: 8px;
  outline: none;
}

.btn-copy-link {
  background: var(--color-primary-red);
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Toast Notifications (Social Proof) */
.toast-notifications-container {
  position: fixed;
  bottom: 95px;
  left: 30px;
  z-index: 1020;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}

.social-toast {
  background: rgba(23, 30, 54, 0.95);
  border: 1px solid rgba(183, 30, 40, 0.5);
  backdrop-filter: blur(14px);
  padding: 12px 18px;
  border-radius: 16px;
  color: white;
  font-size: 0.84rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
  animation: toastSlideIn 0.4s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
  pointer-events: auto;
  max-width: 380px;
}

.social-toast i { color: #ff525d; font-size: 1.1rem; }

@keyframes toastSlideIn {
  from { opacity: 0; transform: translateY(20px) scale(0.95); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes toastSlideOut {
  from { opacity: 1; transform: translateY(0) scale(1); }
  to { opacity: 0; transform: translateY(20px) scale(0.95); }
}

@keyframes fadeInModal {
  from { opacity: 0; transform: scale(0.96); }
  to { opacity: 1; transform: scale(1); }
}

/* Vista de Radio */
.radio-container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 30px;
  background: var(--color-card-bg);
  border-radius: 24px;
  padding: 35px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.radio-player-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: rgba(10, 13, 23, 0.6);
  border-radius: 20px;
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  position: relative;
}

.radio-avatar {
  width: 140px;
  height: 140px;
  border-radius: 28px;
  background: var(--color-primary-red);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px var(--color-red-glow);
  margin-bottom: 24px;
  position: relative;
}

.radio-avatar .big-triangle {
  width: 0;
  height: 0;
  border-top: 25px solid transparent;
  border-bottom: 25px solid transparent;
  border-left: 45px solid white;
  margin-left: 10px;
}

.radio-avatar .avatar-eyes {
  position: absolute;
  top: 45px;
  left: 42px;
  display: flex;
  gap: 8px;
}

.radio-avatar .avatar-eyes .big-eye {
  width: 10px;
  height: 10px;
  background: white;
  border-radius: 50%;
  animation: eyeBlink 3.5s infinite ease-in-out;
}

.radio-meta-title { font-size: 1.5rem; font-weight: 800; margin-bottom: 6px; }
.radio-meta-sub { font-size: 0.95rem; color: var(--color-primary-red); font-weight: 700; margin-bottom: 20px; }
.audio-visualizer-bars { display: flex; align-items: center; gap: 4px; height: 35px; margin-bottom: 25px; }

.viz-bar {
  width: 5px;
  background: var(--color-primary-red);
  border-radius: 4px;
  height: 6px;
  transition: height 0.15s ease;
}

.viz-bar.playing { animation: barJump 1s infinite alternate ease-in-out; }
.viz-bar:nth-child(1) { animation-delay: 0.1s; }
.viz-bar:nth-child(2) { animation-delay: 0.3s; }
.viz-bar:nth-child(3) { animation-delay: 0.6s; }
.viz-bar:nth-child(4) { animation-delay: 0.2s; }
.viz-bar:nth-child(5) { animation-delay: 0.5s; }
.viz-bar:nth-child(6) { animation-delay: 0.8s; }
.viz-bar:nth-child(7) { animation-delay: 0.4s; }

@keyframes barJump {
  0% { height: 6px; }
  100% { height: 32px; }
}

.radio-controls-main { display: flex; align-items: center; gap: 20px; }

.btn-radio-play-huge {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: var(--color-primary-red);
  color: white;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 25px var(--color-red-glow);
  transition: all 0.3s ease;
}

.btn-radio-play-huge:hover {
  transform: scale(1.08);
  box-shadow: 0 8px 30px rgba(183, 30, 40, 0.8);
  background: var(--color-red-light);
}

.btn-radio-share-round {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(23, 30, 54, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.btn-radio-share-round:hover {
  background: var(--color-primary-red);
  border-color: var(--color-primary-red);
  transform: scale(1.1);
}

.radio-schedule-box h3 { font-size: 1.2rem; font-weight: 800; margin-bottom: 20px; display: flex; align-items: center; gap: 10px; }
.schedule-list { display: flex; flex-direction: column; gap: 12px; }
.schedule-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  background: rgba(10, 13, 23, 0.5);
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: background 0.2s ease;
}

.schedule-item.current {
  border-color: var(--color-primary-red);
  background: rgba(183, 30, 40, 0.12);
}

.schedule-time { font-size: 0.85rem; font-weight: 800; color: var(--color-primary-red); }
.schedule-name { font-size: 0.92rem; font-weight: 700; }
.schedule-host { font-size: 0.78rem; color: var(--color-text-dim); }

.live-stream-layout { display: grid; grid-template-columns: 2.2fr 1fr; gap: 25px; }
.video-player-frame {
  width: 100%;
  height: 480px;
  background: #000;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
}

.video-player-frame iframe { width: 100%; height: 100%; border: none; }
.live-chat-panel {
  background: var(--color-card-bg);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  height: 480px;
  backdrop-filter: blur(12px);
}

.chat-header { padding: 16px; border-bottom: 1px solid rgba(255, 255, 255, 0.08); font-size: 0.95rem; font-weight: 800; display: flex; align-items: center; justify-content: space-between; }
.chat-messages { flex-grow: 1; padding: 16px; overflow-y: auto; display: flex; flex-direction: column; gap: 12px; }
.chat-msg { font-size: 0.82rem; line-height: 1.4; }
.chat-user { font-weight: 800; color: #58a6ff; margin-right: 6px; }
.chat-input-box { padding: 12px 16px; border-top: 1px solid rgba(255, 255, 255, 0.08); display: flex; gap: 10px; }
.chat-input-box input { flex-grow: 1; background: rgba(10, 13, 23, 0.7); border: 1px solid rgba(255, 255, 255, 0.1); padding: 8px 14px; border-radius: 10px; color: white; font-family: inherit; font-size: 0.85rem; outline: none; }
.chat-input-box input:focus { border-color: var(--color-primary-red); }
.chat-input-box button { background: var(--color-primary-red); color: white; border: none; padding: 0 16px; border-radius: 10px; cursor: pointer; font-weight: 700; }

.persistent-player {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 92px;
  background: rgba(10, 13, 23, 0.92);
  backdrop-filter: blur(20px);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.6);
}

.dock-track-info { display: flex; align-items: center; gap: 16px; width: 320px; }
.dock-thumb { width: 50px; height: 50px; border-radius: 12px; background: var(--color-primary-red); display: flex; align-items: center; justify-content: center; color: white; font-size: 1.2rem; box-shadow: 0 4px 12px var(--color-red-glow); }
.dock-text { display: flex; flex-direction: column; }
.dock-title { font-size: 0.92rem; font-weight: 800; color: white; }
.dock-subtitle { font-size: 0.78rem; color: var(--color-text-dim); }

.dock-controls-center { display: flex; align-items: center; gap: 20px; }
.btn-dock-play {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--color-white);
  color: var(--color-dark-bg);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.25);
}

.btn-dock-play:hover { transform: scale(1.1); background: #eee; }
.dock-controls-right { display: flex; align-items: center; gap: 16px; width: 320px; justify-content: flex-end; }
.volume-controls-column { display: flex; flex-direction: column; gap: 5px; align-items: flex-start; }
.volume-slider-box { display: flex; align-items: center; gap: 10px; }
.volume-slider-box input[type="range"] { width: 100px; accent-color: var(--color-primary-red); cursor: pointer; }
.link-terms-player {
  font-size: 0.62rem;
  color: rgba(255, 255, 255, 0.35);
  cursor: pointer;
  white-space: nowrap;
  padding-left: 26px;
  transition: color 0.2s ease;
}
.link-terms-player:hover { color: var(--color-text-dim); text-decoration: underline; }

.welcome-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 13, 23, 0.85);
  backdrop-filter: blur(18px);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  transition: opacity 0.5s ease;
}

.welcome-modal-card {
  width: 100%;
  max-width: 520px;
  background: linear-gradient(145deg, rgba(23, 30, 54, 0.9) 0%, rgba(10, 13, 23, 0.95) 100%);
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 45px 35px;
  text-align: center;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), 0 0 40px var(--color-red-glow);
  position: relative;
  animation: modalZoomIn 0.5s var(--ps5-transition);
}

@keyframes modalZoomIn {
  from { opacity: 0; transform: scale(0.9) translateY(20px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

.modal-character {
  width: 90px;
  height: 90px;
  border-radius: 24px;
  background: var(--color-primary-red);
  margin: 0 auto 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 25px var(--color-red-glow);
  position: relative;
}

.modal-character .character-triangle {
  width: 0;
  height: 0;
  border-top: 18px solid transparent;
  border-bottom: 18px solid transparent;
  border-left: 32px solid white;
  margin-left: 6px;
}

.modal-character .char-eyes { position: absolute; top: 30px; left: 28px; display: flex; gap: 6px; }
.modal-character .char-eyes .char-eye {
  width: 8px;
  height: 8px;
  background: white;
  border-radius: 50%;
  animation: eyeBlink 3s infinite ease-in-out;
}

.modal-title { font-size: 1.8rem; font-weight: 900; margin-bottom: 8px; letter-spacing: -0.5px; }
.modal-slogan { font-size: 0.95rem; color: var(--color-primary-red); font-weight: 700; margin-bottom: 18px; }
.modal-text { font-size: 0.95rem; color: var(--color-text-dim); line-height: 1.6; margin-bottom: 30px; }
.modal-buttons { display: flex; flex-direction: column; gap: 12px; }

.btn-modal-start {
  background: linear-gradient(135deg, var(--color-primary-red) 0%, #880e16 100%);
  color: white;
  padding: 16px 28px;
  border-radius: 16px;
  font-size: 1rem;
  font-weight: 800;
  border: 1px solid rgba(255, 255, 255, 0.25);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all 0.3s ease;
  box-shadow: 0 6px 20px rgba(183, 30, 40, 0.5);
}

.btn-modal-start:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(183, 30, 40, 0.8);
  background: linear-gradient(135deg, var(--color-red-light) 0%, var(--color-primary-red) 100%);
}

.btn-modal-download-prompt {
  background: rgba(23, 30, 54, 0.9);
  color: #FFFFFF;
  padding: 14px 24px;
  border-radius: 16px;
  font-size: 0.92rem;
  font-weight: 800;
  border: 1px solid var(--color-primary-red);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all 0.3s ease;
}

.btn-modal-download-prompt:hover {
  background: rgba(183, 30, 40, 0.2);
  transform: translateY(-2px);
}

.btn-modal-skip {
  background: transparent;
  color: var(--color-text-dim);
  padding: 12px;
  border: none;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: color 0.2s ease;
}

.btn-modal-skip:hover { color: white; }

.ad-modal-card { max-width: 650px; text-align: left; }
.ad-pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 20px 0; }
.ad-plan-box {
  background: rgba(10, 13, 23, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 16px;
  text-align: center;
  transition: all 0.3s ease;
}

.ad-plan-box:hover {
  border-color: var(--color-primary-red);
  transform: translateY(-4px);
}

.ad-plan-title { font-size: 0.9rem; font-weight: 800; color: white; margin-bottom: 6px; }
.ad-plan-price { font-size: 1.25rem; font-weight: 900; color: var(--color-primary-red); margin-bottom: 10px; }
.ad-plan-desc { font-size: 0.75rem; color: var(--color-text-dim); line-height: 1.4; }

/* Banner Intersticial */
.sponsor-timed-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 13, 23, 0.75);
  backdrop-filter: blur(12px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: fadeInTimed 0.4s ease forwards;
}

@keyframes fadeInTimed { from { opacity: 0; } to { opacity: 1; } }

.sponsor-timed-card {
  width: 100%;
  max-width: 560px;
  background: linear-gradient(145deg, #171E36 0%, #0A0D17 100%);
  border: 1px solid var(--color-primary-red);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.85), 0 0 40px rgba(183, 30, 40, 0.35);
  position: relative;
  cursor: pointer;
  animation: slideUpCard 0.4s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
  transition: transform 0.3s ease;
}

.sponsor-timed-card:hover { transform: scale(1.02); }

@keyframes slideUpCard {
  from { opacity: 0; transform: translateY(30px) scale(0.95); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.sponsor-timed-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  background: rgba(10, 13, 23, 0.9);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.timed-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 800;
  color: #FFFFFF;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.timed-timer-box { display: flex; align-items: center; gap: 12px; }
.timed-countdown-text {
  font-size: 0.8rem;
  font-weight: 800;
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.12);
  padding: 4px 10px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-close-timed-ad {
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
}

.btn-close-timed-ad:hover { color: var(--color-primary-red); transform: scale(1.2); }

.sponsor-timed-body {
  position: relative;
  width: 100%;
  height: 380px;
  overflow: hidden;
  background: #000;
}

.timed-sponsor-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background-color: #0A0D17;
}

.sponsor-timed-card:hover .timed-sponsor-img { transform: scale(1.05); }

.timed-sponsor-footer-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 16px 20px;
  background: linear-gradient(180deg, transparent 0%, rgba(10, 13, 23, 0.85) 40%, rgba(10, 13, 23, 0.98) 100%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 3;
}

.timed-title-text {
  font-size: 1.1rem;
  font-weight: 900;
  color: #FFFFFF;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.8);
}

.timed-sponsor-cta-label {
  font-size: 0.82rem;
  font-weight: 800;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--color-primary-red);
  padding: 6px 14px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.timed-progress-bar-track {
  width: 100%;
  height: 5px;
  background: rgba(255, 255, 255, 0.1);
  position: relative;
}

.timed-progress-bar-fill {
  height: 100%;
  width: 100%;
  background: linear-gradient(90deg, var(--color-primary-red) 0%, #ff525d 100%);
  transition: width 0.1s linear;
}

/* MODAL MEGA FEST FULLSCREEN */
.megafest-modal-box {
  width: 95%;
  max-width: 920px;
  max-height: 94vh;
  background: #0A0D17;
  border-radius: 24px;
  border: 1px solid rgba(183, 30, 40, 0.55);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.megafest-modal-header { display: flex; align-items: center; justify-content: space-between; padding: 16px 24px; background: #171E36; }
.megafest-image-viewport { flex-grow: 1; display: flex; align-items: center; justify-content: center; background: #000000; padding: 14px; }
.megafest-large-img { max-width: 100%; max-height: 70vh; object-fit: contain; border-radius: 12px; }
.megafest-modal-footer { padding: 16px 24px; background: #171E36; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.megafest-footer-details { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }
.megafest-date-badge { font-size: 0.88rem; font-weight: 800; color: #ff525d; display: flex; align-items: center; gap: 6px; }
.megafest-location-badge { font-size: 0.85rem; font-weight: 700; color: #FFFFFF; display: flex; align-items: center; gap: 6px; }

/* SECCIÓN DE EVENTOS FULLSCREEN (DESKTOP) */
#view-eventos {
  display: flex;
  flex-direction: column;
  height: calc(100vh - 196px);
  min-height: 640px;
  padding: 10px 40px 14px;
}

#view-eventos .row-header { margin-bottom: 12px; flex-shrink: 0; }
.events-kicker { font-size: 0.75rem; font-weight: 800; letter-spacing: 1.5px; color: var(--color-primary-red); margin-bottom: 4px; }
.events-carousel-meta-box { display: flex; align-items: center; gap: 14px; }
.events-slide-counter { font-size: 0.88rem; font-weight: 700; color: var(--color-text-dim); background: rgba(23, 30, 54, 0.8); padding: 6px 14px; border-radius: 20px; }
.events-fullscreen-carousel { position: relative; width: 100%; flex-grow: 1; height: 100%; min-height: 520px; border-radius: 26px; overflow: hidden; background: #0A0D17; border: 1px solid rgba(255, 255, 255, 0.12); }
.events-slides-track { position: relative; width: 100%; height: 100%; }
.event-slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity 0.8s ease, transform 0.8s ease; display: flex; align-items: flex-end; padding: 50px; z-index: 1; }
.event-slide.active { opacity: 1; visibility: visible; z-index: 2; }
.event-slide-bg { position: absolute; inset: 0; background-size: cover; background-position: center; z-index: 1; }
.event-slide-overlay { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(10, 13, 23, 0.98) 0%, rgba(10, 13, 23, 0.75) 45%, rgba(23, 30, 54, 0.3) 100%); z-index: 2; }
.event-slide-content { position: relative; z-index: 3; max-width: 820px; }
.event-badge-highlight { display: inline-flex; align-items: center; gap: 6px; background: var(--color-primary-red); color: #FFFFFF; padding: 6px 14px; border-radius: 8px; font-size: 0.75rem; font-weight: 800; text-transform: uppercase; margin-bottom: 14px; }
.event-slide-title { font-size: 2.8rem; font-weight: 900; color: #FFFFFF; line-height: 1.1; margin-bottom: 12px; }
.event-slide-subtitle { font-size: 1.05rem; color: rgba(255, 255, 255, 0.9); line-height: 1.5; margin-bottom: 20px; }
.event-meta-tags { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; margin-bottom: 24px; }
.event-meta-tags span { font-size: 0.86rem; font-weight: 700; color: var(--color-text-dim); background: rgba(23, 30, 54, 0.75); border: 1px solid rgba(255, 255, 255, 0.12); padding: 6px 14px; border-radius: 12px; display: inline-flex; align-items: center; gap: 8px; }
.event-meta-tags span i { color: #ff525d; }
.event-slide-actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.event-carousel-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 52px; height: 52px; border-radius: 50%; background: rgba(10, 13, 23, 0.75); border: 1px solid rgba(255, 255, 255, 0.2); color: #FFFFFF; font-size: 1.3rem; display: flex; align-items: center; justify-content: center; cursor: pointer; z-index: 10; }
.event-carousel-arrow.arrow-prev { left: 24px; }
.event-carousel-arrow.arrow-next { right: 24px; }
.events-carousel-controls-bottom { position: absolute; bottom: 20px; left: 50px; right: 50px; display: flex; align-items: center; justify-content: space-between; gap: 20px; z-index: 10; }
.event-dots-container { display: flex; gap: 10px; align-items: center; }
.event-dot { width: 12px; height: 12px; border-radius: 50%; background: rgba(255, 255, 255, 0.3); cursor: pointer; }
.event-dot.active { width: 32px; border-radius: 8px; background: var(--color-primary-red); }
.event-slide-timer-track { width: 180px; height: 4px; background: rgba(255, 255, 255, 0.15); border-radius: 4px; overflow: hidden; }
.event-slide-timer-fill { height: 100%; width: 0%; background: linear-gradient(90deg, var(--color-primary-red), #ff525d); transition: width 0.1s linear; }

/* SECCIÓN STREAM EN VIVO (DESKTOP) */
.live-stream-layout { display: grid; grid-template-columns: 2fr 1fr; gap: 25px; height: 540px; }
.video-player-frame { width: 100%; height: 100%; background: #000000; border-radius: 20px; overflow: hidden; border: 1px solid rgba(255, 255, 255, 0.12); }
.video-player-frame iframe { width: 100%; height: 100%; border: none; }
.live-chat-panel { background: #0A0D17; border-radius: 20px; border: 1px solid rgba(255, 255, 255, 0.12); overflow: hidden; height: 100%; display: flex; }
.live-chat-panel iframe { width: 100%; height: 100%; border: none; display: block; }

.stream-offline-screen { position: relative; width: 100%; height: 100%; min-height: 480px; display: flex; align-items: center; padding: 40px; border-radius: 20px; overflow: hidden; background: #0A0D17; }
.stream-offline-bg { position: absolute; inset: 0; background-size: cover; background-position: center right; z-index: 1; filter: brightness(0.65); }
.stream-offline-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10, 13, 23, 0.98) 0%, rgba(10, 13, 23, 0.85) 55%, rgba(23, 30, 54, 0.4) 100%); z-index: 2; }
.stream-offline-content { position: relative; z-index: 3; max-width: 580px; }
.stream-badge-status { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 8px; font-size: 0.76rem; font-weight: 800; text-transform: uppercase; margin-bottom: 16px; }
.stream-badge-status.offline { background: rgba(255, 82, 93, 0.15); border: 1px solid rgba(255, 82, 93, 0.4); color: #ff525d; }
.stream-offline-title { font-size: 2.2rem; font-weight: 900; color: #FFFFFF; line-height: 1.15; margin-bottom: 12px; }
.stream-offline-desc { font-size: 0.92rem; color: var(--color-text-dim); line-height: 1.55; margin-bottom: 22px; }
.stream-schedule-tags { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 25px; }
.stream-schedule-tags span { font-size: 0.82rem; font-weight: 700; color: #FFFFFF; background: rgba(23, 30, 54, 0.7); border: 1px solid rgba(255, 255, 255, 0.1); padding: 6px 14px; border-radius: 12px; display: inline-flex; align-items: center; gap: 8px; }
.stream-schedule-tags span i { color: var(--color-primary-red); }
.stream-offline-actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }

.chat-waiting-screen { display: flex; flex-direction: column; height: 100%; justify-content: space-between; padding: 24px; background: rgba(23, 30, 54, 0.65); width: 100%; }
.chat-waiting-header { display: flex; align-items: center; justify-content: space-between; padding-bottom: 14px; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.chat-offline-badge { font-size: 0.75rem; font-weight: 700; color: #ff525d; background: rgba(255, 82, 93, 0.12); padding: 4px 10px; border-radius: 12px; border: 1px solid rgba(255, 82, 93, 0.25); }
.chat-waiting-body { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 20px 0; }
.chat-waiting-icon-box { width: 64px; height: 64px; border-radius: 20px; background: rgba(183, 30, 40, 0.15); border: 1px solid var(--color-primary-red); color: var(--color-primary-red); font-size: 1.6rem; display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.chat-waiting-title { font-size: 1.15rem; font-weight: 800; color: #FFFFFF; margin-bottom: 8px; }
.chat-waiting-text { font-size: 0.84rem; color: var(--color-text-dim); line-height: 1.5; margin-bottom: 18px; }
.chat-waiting-tips { display: flex; flex-direction: column; gap: 10px; width: 100%; text-align: left; background: rgba(10, 13, 23, 0.5); padding: 14px; border-radius: 14px; }
.tip-item { font-size: 0.78rem; color: rgba(255, 255, 255, 0.85); display: flex; align-items: center; gap: 8px; }
.chat-waiting-footer { padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, 0.08); }

/* ==========================================================================
   ESTRUCTURA DUAL: VIDEOS YOUTUBE & REELS SHORTS
   ========================================================================== */
.videos-dual-grid-layout {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 24px;
  height: calc(100vh - 270px);
  min-height: 500px;
}

.videos-column-main {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
}

.subsection-mini-title {
  font-size: 1.05rem;
  font-weight: 800;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #fff;
}

.videos-grid-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
  overflow-y: auto;
  padding-right: 6px;
  flex-grow: 1;
}

.instagram-reels-column {
  background: rgba(23, 30, 54, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  backdrop-filter: blur(14px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.insta-header-box {
  padding: 14px 18px;
  background: rgba(10, 13, 23, 0.85);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.insta-title-group {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 0.95rem;
  color: white;
}

.insta-follow-btn {
  background: var(--color-primary-red);
  color: white;
  padding: 6px 14px;
  border-radius: 12px;
  font-size: 0.78rem;
  font-weight: 800;
  text-decoration: none;
  transition: transform 0.2s ease;
}
.insta-follow-btn:hover { transform: scale(1.05); }

.mobile-reel-player-wrapper {
  position: relative;
  width: 100%;
  height: 520px;
  background: #000;
  overflow: hidden;
  border-bottom-left-radius: 20px;
  border-bottom-right-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.reel-screen-viewport { width: 100%; height: 100%; position: relative; }
.reel-mobile-iframe { width: 100%; height: 100%; border: none; background: #000; }

.reel-nav-btn {
  position: absolute;
  right: 16px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(10, 13, 23, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.2s ease;
  backdrop-filter: blur(8px);
}
.reel-nav-btn:hover { background: var(--color-primary-red); transform: scale(1.12); border-color: var(--color-primary-red); }
.reel-prev { top: 38%; }
.reel-next { top: 52%; }

.reel-overlay-footer {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 70px;
  padding: 16px;
  background: linear-gradient(180deg, transparent 0%, rgba(10, 13, 23, 0.95) 100%);
  z-index: 5;
  pointer-events: none;
}
.reel-title-overlay { font-size: 0.86rem; font-weight: 800; color: white; display: block; margin-bottom: 4px; text-shadow: 0 2px 6px rgba(0, 0, 0, 0.9); line-height: 1.35; }
.reel-tag-account { font-size: 0.75rem; font-weight: 700; color: #ff525d; }

#carousel-podcasts-list {
  display: grid;
  grid-auto-flow: row;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  overflow-x: visible;
  width: 100%;
}
