@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;800&display=swap');

:root {
  /* Paleta de Azules y Amarillos */
  --bg-dark-blue: #0b132b;      /* Azul muy oscuro (Fondo principal) */
  --bg-medium-blue: #1c2541;    /* Azul medio (Contenedores) */
  --bg-light-blue: #3a506b;     /* Azul más claro (Hover/Tarjetas) */
  
  --accent-yellow: #ffc300;     /* Amarillo vibrante (Botones, Play, Hovers) */
  --accent-yellow-hover: #ffaa00; 
  
  --text-main: #ffffff;
  --text-muted: #94a3b8;
  
  --danger-color: #ef4444;      /* Rojo para 'En Vivo' */
  
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
}

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

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg-dark-blue);
  color: var(--text-main);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  padding-bottom: 90px; /* Espacio para BottomPlayer */
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

/* ==========================================================================
   HEADER
   ========================================================================== */
.main-header {
  background-color: var(--bg-medium-blue);
  border-bottom: 2px solid var(--accent-yellow);
  padding: 0.75rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
}

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

.header-left {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.menu-icon {
  font-size: 1.8rem;
  color: var(--accent-yellow);
  cursor: pointer;
}

.nav-links {
  display: flex;
  gap: 1.5rem;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: var(--accent-yellow);
}

.social-icons {
  display: flex;
  gap: 1rem;
}

.social-icons a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: var(--bg-light-blue);
  color: #fff;
  transition: background 0.3s;
}

.social-icons a:hover {
  background-color: var(--accent-yellow);
  color: var(--bg-dark-blue);
}

/* ==========================================================================
   HERO / SUB-HEADER
   ========================================================================== */
.hero-wrapper {
  position: relative;
  width: 100%;
  height: 300px;
  background-color: var(--bg-light-blue); /* Placeholder para la imagen de fondo */
  background-image: linear-gradient(rgba(11, 19, 43, 0.7), rgba(11, 19, 43, 0.7));
  display: flex;
  align-items: center;
}

.hero-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.live-indicator-wrapper {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(0,0,0,0.5);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
  font-weight: 800;
  color: #fff;
  border: 1px solid var(--danger-color);
}

.live-dot {
  width: 10px;
  height: 10px;
  background-color: var(--danger-color);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--danger-color);
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0% { opacity: 1; }
  50% { opacity: 0.4; }
  100% { opacity: 1; }
}

.hero-logo {
  font-size: 2.5rem;
  font-weight: 800;
  color: #fff;
  text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.hero-logo span {
  color: var(--accent-yellow);
}

.search-bar {
  display: flex;
  align-items: center;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius-full);
  padding: 0.25rem 0.25rem 0.25rem 1rem;
}

.search-bar input {
  background: transparent;
  border: none;
  color: #fff;
  outline: none;
  width: 150px;
}

.search-bar input::placeholder {
  color: rgba(255,255,255,0.6);
}

.search-bar button {
  background: var(--accent-yellow);
  color: var(--bg-dark-blue);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* ==========================================================================
   CAROUSEL TRANSVERSAL (SHOWCASE)
   ========================================================================== */
.showcase-banner {
  width: 100%;
  background-color: var(--bg-medium-blue);
  padding: 1rem 0;
  border-bottom: 1px solid var(--bg-light-blue);
}

.showcase-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.showcase-arrow {
  font-size: 2rem;
  color: var(--text-muted);
  cursor: pointer;
  transition: color 0.3s;
}

.showcase-arrow:hover {
  color: var(--accent-yellow);
}

.showcase-content {
  flex: 1;
  height: 80px;
  background-color: var(--bg-light-blue);
  margin: 0 1rem;
  display: flex;
  justify-content: center;
  align-items: center;
  color: rgba(255,255,255,0.5);
  border-radius: var(--radius-sm);
  border: 1px dashed rgba(255,255,255,0.2);
}

/* ==========================================================================
   MAIN CONTENT GRID (Split 2 Columnas)
   ========================================================================== */
.main-content-section {
  padding: 3rem 0;
}

.split-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 992px) {
  .split-layout {
    grid-template-columns: 2fr 1fr; /* Izquierda más grande que derecha */
  }
}

/* Lado Izquierdo: Noticias */
.news-side {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.news-top-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .news-top-row {
    grid-template-columns: 2fr 1fr; /* Noticia grande y lista de chicas */
  }
}

.big-news-card {
  position: relative;
  background-color: var(--bg-medium-blue);
  border-radius: var(--radius-md);
  overflow: hidden;
  height: 350px;
}

.big-news-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background-color: var(--bg-light-blue);
}

.big-news-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 1.5rem;
  background: linear-gradient(to top, rgba(11,19,43,0.9) 0%, rgba(11,19,43,0) 100%);
}

.slider-indicator {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--accent-yellow);
  color: var(--bg-dark-blue);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  font-weight: 800;
  font-size: 0.8rem;
}

.small-news-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.small-news-card {
  display: flex;
  gap: 1rem;
  background-color: var(--bg-medium-blue);
  border-radius: var(--radius-md);
  overflow: hidden;
  height: calc((350px - 2rem) / 3); /* 3 cards encajando en la altura del grande */
}

.small-news-img {
  width: 100px;
  height: 100%;
  background-color: var(--bg-light-blue);
}

.small-news-content {
  padding: 0.5rem 0.5rem 0.5rem 0;
  display: flex;
  align-items: center;
}

.small-news-title {
  font-size: 0.85rem;
  font-weight: 600;
  line-height: 1.3;
}

.btn-yellow {
  background-color: var(--accent-yellow);
  color: var(--bg-dark-blue);
  font-weight: 800;
  padding: 0.75rem 2rem;
  border-radius: var(--radius-sm);
  text-transform: uppercase;
  align-self: flex-start;
  transition: background 0.3s;
  display: inline-block;
  margin-top: 1rem;
}

.btn-yellow:hover {
  background-color: var(--accent-yellow-hover);
}

/* Lado Derecho: Highlights (Publicidad oculta) */
.side-highlights {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.highlight-box {
  background-color: var(--bg-medium-blue);
  border: 1px dashed rgba(255,255,255,0.2);
  border-radius: var(--radius-md);
  display: flex;
  justify-content: center;
  align-items: center;
  color: rgba(255,255,255,0.3);
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 1px;
}

.highlight-box.rectangular {
  height: 120px;
}

.highlight-box.grande {
  height: 250px;
}

.highlight-box.reducido {
  height: 100px;
}

/* ==========================================================================
   BOTTOM PLAYER (Reproductor Fijo)
   ========================================================================== */
.bottom-player {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: var(--bg-medium-blue);
  border-top: 2px solid var(--accent-yellow);
  padding: 0.5rem 0;
  z-index: 1000;
}

.bp-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.bp-left {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.bp-play-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: var(--accent-yellow);
  color: var(--bg-dark-blue);
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 2.5rem;
  transition: transform 0.2s;
  box-shadow: 0 0 15px rgba(255, 195, 0, 0.4);
}

.bp-play-btn:hover {
  transform: scale(1.05);
  background-color: var(--accent-yellow-hover);
}

.bp-info {
  display: flex;
  flex-direction: column;
}

.bp-title {
  font-weight: 800;
  font-size: 1.1rem;
  color: #fff;
}

.bp-subtitle {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Ecualizador Animado */
.bp-visualizer {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 30px;
}

.vis-bar {
  width: 4px;
  background-color: var(--accent-yellow);
  border-radius: 2px;
  animation: eq-bounce 1s infinite alternate ease-in-out;
}

.vis-bar:nth-child(1) { height: 30%; animation-delay: 0.1s; }
.vis-bar:nth-child(2) { height: 100%; animation-delay: 0.3s; }
.vis-bar:nth-child(3) { height: 60%; animation-delay: 0.0s; }
.vis-bar:nth-child(4) { height: 80%; animation-delay: 0.4s; }
.vis-bar:nth-child(5) { height: 40%; animation-delay: 0.2s; }

@keyframes eq-bounce {
  0% { transform: scaleY(0.3); }
  100% { transform: scaleY(1); }
}

.bp-controls {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.bp-volume {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-muted);
  font-size: 1.5rem;
}

.bp-volume input[type="range"] {
  width: 80px;
  accent-color: var(--accent-yellow);
}

.bp-extra-box {
  width: 200px;
  height: 50px;
  background-color: var(--bg-light-blue);
  border: 1px dashed rgba(255,255,255,0.2);
  border-radius: var(--radius-sm);
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 0.7rem;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
}

@media (max-width: 992px) {
  .bp-extra-box {
    display: none;
  }
  .split-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  /* Header */
  .header-container {
    flex-direction: column;
    gap: 1rem;
  }
  .nav-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
  }
  .social-icons {
    display: none;
  }

  /* Hero */
  .hero-inner {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }
  .hero-wrapper {
    height: auto;
    padding: 2rem 0;
  }
  .hero-logo {
    font-size: 1.8rem;
  }

  /* News Section */
  .news-top-row {
    grid-template-columns: 1fr;
  }
  .small-news-card {
    height: auto;
    flex-direction: column;
  }
  .small-news-img {
    width: 100%;
    height: 150px;
  }

  /* Footer Player */
  body {
    padding-bottom: 140px;
  }
  .bp-container {
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
  }
  .bp-left {
    flex: 1 1 100%;
    justify-content: center;
  }
  .bp-center {
    width: 100%;
    flex: none !important;
    order: 3;
    padding: 0;
  }
  .bp-controls {
    display: none; /* Hide volume and visualizer to save space on mobile */
  }
}

@media (max-width: 480px) {
  .bp-title {
    font-size: 1rem;
  }
  .bp-subtitle {
    font-size: 0.75rem;
  }
}
