:root {
  --rojo: #CC0000;
  --rojo-oscuro: #990000;
  --azul: #003087;
  --azul-claro: #0052CC;
  --negro: #0A0A0A;
  --gris-oscuro: #1A1A1A;
  --gris-medio: #2A2A2A;
  --gris: #4A4A4A;
  --gris-claro: #E8E8E8;
  --blanco: #FFFFFF;
  --crema: #F5F2ED;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Source Serif 4', serif;
  background: var(--negro);
  color: var(--blanco);
  overflow-x: hidden;
}

/* TICKER */
.ticker-wrap {
  background: var(--rojo);
  padding: 8px 0;
  overflow: hidden;
  border-bottom: 3px solid var(--rojo-oscuro);
}

.ticker-label {
  display: inline-block;
  background: var(--negro);
  color: var(--blanco);
  font-family: 'Oswald', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  padding: 4px 16px;
  margin-right: 20px;
  position: relative;
  z-index: 2;
}

.ticker-content {
  display: inline-block;
  white-space: nowrap;
  animation: ticker 60s linear infinite;
  font-family: 'Oswald', sans-serif;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 1px;
}

.ticker-content span { margin: 0 40px; }
.ticker-content span::before { content: '●'; margin-right: 10px; opacity: 0.7; }

@keyframes ticker {
  0% { transform: translateX(100vw); }
  100% { transform: translateX(-100%); }
}

/* HEADER */
header {
  background: var(--negro);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 48px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

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

.logo-mm {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--rojo) 0%, var(--rojo-oscuro) 100%);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.logo-mm::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 40%;
  background: var(--azul);
}

.logo-mm-text {
  font-family: 'Oswald', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: white;
  position: relative;
  z-index: 1;
  letter-spacing: -1px;
}

.logo-info h1 {
  font-family: 'Oswald', sans-serif;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--blanco);
  line-height: 1;
}

.logo-info p {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  color: var(--rojo);
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-top: 3px;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 24px;
}

.live-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(204,0,0,0.15);
  border: 1px solid rgba(204,0,0,0.4);
  border-radius: 4px;
  padding: 8px 16px;
  cursor: pointer;
  transition: all 0.3s;
}

.live-badge:hover { background: rgba(204,0,0,0.25); }

.live-dot {
  width: 8px; height: 8px;
  background: var(--rojo);
  border-radius: 50%;
  animation: blink 1s ease-in-out infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.live-badge span {
  font-family: 'Oswald', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  color: var(--rojo);
}

.header-date {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--gris);
  text-align: right;
}

nav {
  display: flex;
  align-items: center;
  padding: 0 48px;
  gap: 0;
  border-top: 1px solid rgba(255,255,255,0.05);
  -webkit-mask-image: linear-gradient(to right, black 0%, black calc(100% - 56px), transparent 100%);
  mask-image: linear-gradient(to right, black 0%, black calc(100% - 56px), transparent 100%);
}

.nav-item {
  font-family: 'Oswald', sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  padding: 14px 20px;
  cursor: pointer;
  border-bottom: 3px solid transparent;
  transition: all 0.2s;
  text-decoration: none;
}

.nav-item:hover { color: var(--blanco); border-bottom-color: var(--rojo); }
.nav-item.active { color: var(--blanco); border-bottom-color: var(--rojo); }

/* HERO */
.hero {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 0;
  min-height: 520px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.hero-main {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #0d1b3e 0%, #1a0000 100%);
}

.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
}

.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-grid-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.5) 60%, rgba(0,0,0,0.15) 100%);
  background-size: 40px 40px, 40px 40px, 100% 100%;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 48px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 100%;
}

.hero-category {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--rojo);
  padding: 5px 14px;
  margin-bottom: 20px;
  width: fit-content;
}

.hero-category span {
  font-family: 'Oswald', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.hero-title {
  font-family: 'Oswald', sans-serif;
  font-size: 52px;
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -1px;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.hero-title em {
  color: var(--rojo);
  font-style: normal;
}

.hero-excerpt {
  font-size: 16px;
  line-height: 1.7;
  color: rgba(255,255,255,0.7);
  max-width: 520px;
  margin-bottom: 28px;
}

.hero-meta {
  display: flex;
  align-items: center;
  gap: 20px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: rgba(255,255,255,0.4);
  letter-spacing: 1px;
}

.hero-meta span { display: flex; align-items: center; gap: 6px; }

.btn-leer {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--rojo);
  color: white;
  font-family: 'Oswald', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 14px 28px;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
  margin-top: 24px;
  width: fit-content;
}

.btn-leer:hover { background: var(--rojo-oscuro); transform: translateY(-1px); }
.btn-leer::after { content: '→'; }

/* SIDEBAR HERO */
.hero-sidebar {
  background: var(--gris-oscuro);
  border-left: 1px solid rgba(255,255,255,0.08);
  display: flex;
  flex-direction: column;
}

.sidebar-header {
  padding: 20px 24px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.sidebar-header h3 {
  font-family: 'Oswald', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
}

.sidebar-news-item {
  padding: 20px 24px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  cursor: pointer;
  transition: background 0.2s;
  display: flex;
  gap: 16px;
}

.sidebar-news-item:hover { background: rgba(255,255,255,0.03); }

.sidebar-num {
  font-family: 'Oswald', sans-serif;
  font-size: 28px;
  font-weight: 700;
  color: rgba(255,255,255,0.08);
  flex-shrink: 0;
  line-height: 1;
}

.sidebar-news-title {
  font-family: 'Oswald', sans-serif;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.4;
  color: rgba(255,255,255,0.8);
  margin-bottom: 6px;
}

.sidebar-news-time {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  color: var(--rojo);
  letter-spacing: 1px;
}

/* PLAYER */
.player-bar {
  background: var(--azul);
  padding: 0 48px;
  display: flex;
  align-items: center;
  gap: 32px;
  height: 72px;
  border-bottom: 3px solid rgba(0,0,0,0.3);
  position: relative;
  overflow: hidden;
}

.player-bar::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--azul) 0%, var(--azul-claro) 50%, var(--azul) 100%);
  opacity: 0.5;
}

.player-info {
  display: flex;
  align-items: center;
  gap: 16px;
  position: relative;
  z-index: 1;
}

.player-icon {
  width: 44px; height: 44px;
  background: rgba(255,255,255,0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  cursor: pointer;
  transition: background 0.2s;
  border: none;
  color: white;
}

.player-icon:hover { background: rgba(255,255,255,0.25); }

.player-text h4 {
  font-family: 'Oswald', sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1px;
}

.player-text p {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  color: rgba(255,255,255,0.6);
  letter-spacing: 1px;
  margin-top: 2px;
}

.player-waves {
  display: flex;
  align-items: center;
  gap: 3px;
  position: relative;
  z-index: 1;
}

.wave {
  width: 3px;
  background: rgba(255,255,255,0.7);
  border-radius: 3px;
  animation: wave-anim 0.8s ease-in-out infinite;
}

.wave:nth-child(1) { height: 12px; animation-delay: 0s; }
.wave:nth-child(2) { height: 24px; animation-delay: 0.1s; }
.wave:nth-child(3) { height: 32px; animation-delay: 0.2s; }
.wave:nth-child(4) { height: 20px; animation-delay: 0.3s; }
.wave:nth-child(5) { height: 28px; animation-delay: 0.4s; }
.wave:nth-child(6) { height: 16px; animation-delay: 0.3s; }
.wave:nth-child(7) { height: 24px; animation-delay: 0.2s; }

@keyframes wave-anim {
  0%, 100% { transform: scaleY(0.4); }
  50% { transform: scaleY(1); }
}

.player-program {
  position: relative;
  z-index: 1;
  margin-left: auto;
  text-align: right;
}

.player-program p {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  color: rgba(255,255,255,0.5);
  letter-spacing: 2px;
  text-transform: uppercase;
}

.player-program h4 {
  font-family: 'Oswald', sans-serif;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 1px;
}

/* NOTICIAS GRID */
.section {
  padding: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
}

.section-title {
  display: flex;
  align-items: center;
  gap: 16px;
}

.section-title h2 {
  font-family: 'Oswald', sans-serif;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
}

.section-line {
  flex: 1;
  height: 1px;
  background: rgba(255,255,255,0.1);
  margin-left: 20px;
}

.section-line.rojo { background: var(--rojo); width: 60px; flex: none; }

.ver-mas {
  font-family: 'Oswald', sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--rojo);
  cursor: pointer;
  border: 1px solid rgba(204,0,0,0.3);
  padding: 8px 16px;
  transition: all 0.2s;
  background: transparent;
  text-decoration: none;
}

.ver-mas:hover { background: rgba(204,0,0,0.1); }

.noticias-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 1px;
  background: rgba(255,255,255,0.06);
}

.noticia-card {
  background: var(--gris-oscuro);
  padding: 28px;
  cursor: pointer;
  transition: background 0.2s;
  position: relative;
  overflow: hidden;
}

.noticia-card:hover { background: var(--gris-medio); }

.noticia-card.featured {
  grid-row: span 2;
  background: linear-gradient(135deg, #0d1425 0%, #1a0a0a 100%);
}

.noticia-card.featured::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--rojo), var(--azul-claro));
}

.noticia-img {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, rgba(204,0,0,0.2), rgba(0,48,135,0.3));
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.06);
}

.noticia-img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  max-width: none;
  max-height: none;
}

.noticia-img-placeholder {
  font-family: 'Oswald', sans-serif;
  font-size: 24px;
  font-weight: 600;
  color: rgba(255,255,255,0.5);
  letter-spacing: 2px;
  z-index: 1;
}

.noticia-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.5), transparent);
}

.img-credit-badge {
  position: absolute;
  bottom: 6px;
  right: 8px;
  z-index: 2;
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  color: rgba(255,255,255,0.55);
  background: rgba(0,0,0,0.45);
  padding: 2px 6px;
  border-radius: 3px;
  backdrop-filter: blur(4px);
  line-height: 1.4;
}

.img-credit-badge a {
  color: inherit;
  text-decoration: none;
}

.img-credit-badge a:hover {
  color: rgba(255,255,255,0.9);
}

.article-featured-image {
  position: relative;
  margin: 0 0 24px;
}

.article-featured-image img {
  width: 100%;
  display: block;
  border-radius: 4px;
}

.img-credit {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  color: rgba(255,255,255,0.35);
  text-align: right;
  margin-top: 6px;
  padding-right: 4px;
}

.img-credit a {
  color: inherit;
  text-decoration: none;
}

.img-credit a:hover {
  color: rgba(255,255,255,0.7);
}

.noticia-cat {
  font-family: 'Oswald', sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--rojo);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.noticia-cat::before {
  content: '';
  width: 20px; height: 2px;
  background: var(--rojo);
}

.noticia-titulo {
  font-family: 'Oswald', sans-serif;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.noticia-card.featured .noticia-titulo {
  font-size: 28px;
}

.noticia-excerpt {
  font-size: 13px;
  line-height: 1.7;
  color: rgba(255,255,255,0.55);
  margin-bottom: 16px;
}

.noticia-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  color: rgba(255,255,255,0.3);
  letter-spacing: 1px;
}

/* PROGRAMACION */
.programacion {
  padding: 48px;
  background: var(--gris-oscuro);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.programas-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 32px;
}

.programa-card {
  background: var(--negro);
  border: 1px solid rgba(255,255,255,0.08);
  padding: 24px;
  transition: all 0.2s;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.programa-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 3px; height: 100%;
  background: var(--rojo);
  transform: scaleY(0);
  transition: transform 0.2s;
  transform-origin: bottom;
}

.programa-card:hover::before { transform: scaleY(1); }
.programa-card:hover { border-color: rgba(204,0,0,0.3); }

.programa-hora {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--rojo);
  letter-spacing: 2px;
  margin-bottom: 8px;
}

.programa-nombre {
  font-family: 'Oswald', sans-serif;
  font-size: 18px;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 8px;
  line-height: 1.2;
}

.programa-desc {
  font-size: 12px;
  line-height: 1.6;
  color: rgba(255,255,255,0.4);
}

.programa-card.en-vivo::after {
  content: 'EN VIVO';
  position: absolute;
  top: 16px; right: 16px;
  background: var(--rojo);
  font-family: 'Oswald', sans-serif;
  font-size: 9px;
  letter-spacing: 2px;
  padding: 3px 8px;
}

/* PUBLICIDAD */
.publicidad-section {
  padding: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  background: var(--negro);
}

.publicidad-section .section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
}

.publicidad-section .section-title {
  display: flex;
  align-items: center;
  gap: 16px;
}

.publicidad-section .section-title h2 {
  font-family: 'Oswald', sans-serif;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
}

.publicidad-section .section-line {
  flex: 1;
  height: 1px;
  background: rgba(255,255,255,0.1);
  margin-left: 20px;
}

.publicidad-section .section-line.rojo {
  background: var(--rojo);
  width: 60px;
  flex: none;
}

.publicidad-section .ver-mas {
  font-family: 'Oswald', sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--rojo);
  cursor: pointer;
  border: 1px solid rgba(204,0,0,0.3);
  padding: 8px 16px;
  transition: all 0.2s;
  background: transparent;
  text-decoration: none;
}

.publicidad-section .ver-mas:hover {
  background: rgba(204,0,0,0.1);
}

.publicidad-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.publicidad-card {
  background: var(--gris-oscuro);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 6px;
  padding: 28px;
  text-align: center;
  transition: all 0.25s;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.publicidad-card:hover {
  border-color: rgba(204,0,0,0.25);
  background: var(--gris-medio);
  transform: translateY(-2px);
}

.publicidad-card.placeholder {
  grid-column: 1 / -1;
  background: transparent;
  border-color: transparent;
}

.publicidad-card.placeholder:hover {
  transform: none;
  border-color: transparent;
}

.publicidad-img {
  width: 100%;
  height: 140px;
  border-radius: 6px;
  overflow: hidden;
  background: var(--gris-medio);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.publicidad-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.publicidad-img-icon {
  font-size: 36px;
  background: linear-gradient(135deg, var(--rojo), var(--azul));
  color: var(--blanco);
}

.publicidad-card h3 {
  font-family: 'Oswald', sans-serif;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 1px;
  color: var(--blanco);
  text-transform: uppercase;
}

.publicidad-card .publicidad-desc {
  font-family: 'Source Serif 4', serif;
  font-size: 12px;
  line-height: 1.6;
  color: rgba(255,255,255,0.45);
  max-width: 280px;
}

.publicidad-card .publicidad-btn {
  font-family: 'Oswald', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--rojo);
  background: transparent;
  border: 1px solid rgba(204,0,0,0.3);
  padding: 8px 20px;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
  margin-top: 4px;
}

.publicidad-card .publicidad-btn:hover {
  background: rgba(204,0,0,0.1);
  border-color: var(--rojo);
}

.publicidad-placeholder {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: rgba(255,255,255,0.2);
  letter-spacing: 1px;
}

.publicidad-footer {
  grid-column: 1 / -1;
  text-align: center;
  padding-top: 8px;
}

.publicidad-footer a {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: rgba(255,255,255,0.25);
  text-decoration: none;
  letter-spacing: 1px;
  transition: color 0.2s;
}

.publicidad-footer a:hover {
  color: var(--rojo);
}

/* FOOTER */
footer {
  background: var(--negro);
  border-top: 3px solid var(--rojo);
  padding: 48px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 40px;
}

.footer-brand h3 {
  font-family: 'Oswald', sans-serif;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 4px;
  margin-bottom: 4px;
}

.footer-brand p {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  color: var(--rojo);
  letter-spacing: 3px;
  margin-bottom: 16px;
}

.footer-brand .desc {
  font-size: 13px;
  line-height: 1.8;
  color: rgba(255,255,255,0.4);
  font-family: 'Source Serif 4', serif;
}

.footer-col h4 {
  font-family: 'Oswald', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  margin-bottom: 16px;
}

.footer-col a {
  display: block;
  font-family: 'Source Serif 4', serif;
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  margin-bottom: 10px;
  transition: color 0.2s;
}

.footer-col a:hover { color: var(--rojo); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom p {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  color: rgba(255,255,255,0.2);
  letter-spacing: 1px;
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-btn {
  width: 36px; height: 36px;
  border: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s;
  color: rgba(255,255,255,0.4);
  text-decoration: none;
  background: transparent;
}

.social-btn:hover { border-color: var(--rojo); color: var(--rojo); }

/* ANIMACIONES */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-content > * {
  animation: fadeInUp 0.6s ease forwards;
  opacity: 0;
}

.hero-content > *:nth-child(1) { animation-delay: 0.1s; }
.hero-content > *:nth-child(2) { animation-delay: 0.2s; }
.hero-content > *:nth-child(3) { animation-delay: 0.3s; }
.hero-content > *:nth-child(4) { animation-delay: 0.4s; }
.hero-content > *:nth-child(5) { animation-delay: 0.5s; }

/* ══════════════════════════════════════════
   RESPONSIVE: MOBILE (≤767px)
   ══════════════════════════════════════════ */
@media (max-width: 767px) {

  /* ─── HEADER ─── */
  .header-top {
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    text-align: center;
  }

  .logo-wrap { gap: 8px; }

  .logo-mm {
    width: 40px;
    height: 40px;
    border-radius: 6px;
  }

  .logo-mm-text { font-size: 16px; }

  .logo-info h1 {
    font-size: 16px;
    letter-spacing: 2px;
  }

  .logo-info p {
    font-size: 8px;
    letter-spacing: 2px;
  }

  .header-right {
    width: 100%;
    justify-content: center;
    gap: 12px;
  }

  .live-badge {
    padding: 5px 10px;
    gap: 6px;
  }

  .live-badge span { font-size: 10px; letter-spacing: 1px; }
  .live-dot { width: 6px; height: 6px; }
  .header-date { font-size: 9px; }

  /* ─── PLAYER ─── */
  .player-bar {
    flex-direction: column;
    height: auto;
    padding: 12px 16px;
    gap: 8px;
  }

  .player-info {
    width: 100%;
    justify-content: center;
    gap: 10px;
  }

  .player-icon {
    width: 36px;
    height: 36px;
    font-size: 14px;
  }

  .player-text h4 { font-size: 11px; letter-spacing: 1px; }
  .player-text p { font-size: 9px; }
  .player-waves { display: none; }

  .player-program {
    margin-left: 0;
    text-align: center;
  }

  .player-program p { font-size: 9px; }
  .player-program h4 { font-size: 13px; }

  /* ─── HERO ─── */
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-main { min-height: 300px; }

  .hero-content {
    padding: 20px 16px;
    justify-content: flex-end;
  }

  .hero-category {
    margin-bottom: 10px;
    padding: 3px 10px;
  }

  .hero-category span {
    font-size: 9px;
    letter-spacing: 2px;
  }

  .hero-title {
    font-size: 24px;
    letter-spacing: 0;
    margin-bottom: 8px;
    line-height: 1.1;
  }

  .hero-excerpt {
    font-size: 12px;
    max-width: 100%;
    margin-bottom: 12px;
    line-height: 1.5;
  }

  .hero-meta {
    flex-wrap: wrap;
    gap: 6px 12px;
    font-size: 9px;
  }

  .btn-leer {
    padding: 10px 16px;
    font-size: 11px;
    letter-spacing: 1px;
    margin-top: 12px;
  }

  .hero-sidebar {
    border-left: none;
    border-top: 1px solid rgba(255,255,255,0.08);
  }

  .sidebar-header { padding: 14px 16px; }

  .sidebar-header h3 {
    font-size: 11px;
    letter-spacing: 2px;
  }

  .sidebar-news-item { padding: 12px 16px; gap: 12px; }
  .sidebar-num { font-size: 22px; }
  .sidebar-news-title { font-size: 13px; }
  .sidebar-news-time { font-size: 9px; }

  /* ─── SECTIONS ─── */
  .section {
    padding: 28px 16px;
  }

  .section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 20px;
  }

  .section-title { width: 100%; }

  .section-title h2 {
    font-size: 15px;
    letter-spacing: 2px;
  }

  .section-line:not(.rojo) { display: none; }
  .section-line.rojo { width: 32px; }

  .ver-mas {
    font-size: 10px;
    padding: 5px 10px;
    letter-spacing: 1px;
  }

  /* ─── NOTICIAS GRID ─── */
  .noticias-grid { grid-template-columns: 1fr; }

  .noticia-card {
    padding: 16px;
  }

  .noticia-card.featured {
    grid-row: span 1;
  }

  .noticia-img {
    aspect-ratio: 16 / 9;
    margin-bottom: 12px;
  }

  .noticia-cat {
    font-size: 9px;
    letter-spacing: 1px;
    margin-bottom: 8px;
  }

  .noticia-card.featured .noticia-titulo { font-size: 18px; }
  .noticia-titulo { font-size: 16px; }
  .noticia-excerpt { font-size: 11px; margin-bottom: 10px; }
  .noticia-footer { font-size: 9px; }

  /* ─── PROGRAMACION ─── */
  .programacion {
    padding: 28px 16px;
  }

  .programacion .section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 20px;
  }

  .programacion .section-title { width: 100%; }
  .programacion .section-line:not(.rojo) { display: none; }
  .programacion .section-line.rojo { width: 32px; }

  .programas-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .programa-card { padding: 16px; }
  .programa-hora { font-size: 10px; letter-spacing: 1px; margin-bottom: 6px; }
  .programa-nombre { font-size: 15px; margin-bottom: 6px; }
  .programa-desc { font-size: 11px; }

  /* publicidad */
  .publicidad-section {
    padding: 28px 16px;
  }

  .publicidad-section .section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 20px;
  }

  .publicidad-section .section-title { width: 100%; }

  .publicidad-section .section-title h2 {
    font-size: 15px;
    letter-spacing: 2px;
  }

  .publicidad-section .section-line:not(.rojo) { display: none; }
  .publicidad-section .section-line.rojo { width: 32px; }

  .publicidad-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .publicidad-card {
    padding: 20px 16px;
    gap: 10px;
  }

  .publicidad-card h3 { font-size: 14px; }
  .publicidad-card .publicidad-desc { font-size: 11px; }
  .publicidad-img { height: 120px; }
  .publicidad-card .publicidad-btn { font-size: 10px; padding: 6px 16px; }

  /* ─── FOOTER ─── */
  footer { padding: 28px 16px; }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-bottom: 24px;
  }

  .footer-brand h3 {
    font-size: 20px;
    letter-spacing: 2px;
  }

  .footer-brand p {
    font-size: 9px;
    letter-spacing: 2px;
    margin-bottom: 12px;
  }

  .footer-brand .desc {
    font-size: 12px;
  }

  .footer-col h4 {
    font-size: 11px;
    letter-spacing: 2px;
    margin-bottom: 10px;
  }

  .footer-col a {
    font-size: 12px;
    margin-bottom: 8px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
    padding-top: 16px;
  }

  .footer-bottom p { font-size: 8px; }
  .social-links { justify-content: center; }
}

/* ══════════════════════════════════════════
   RESPONSIVE: TABLET (768px — 1023px)
   ══════════════════════════════════════════ */
@media (min-width: 768px) and (max-width: 1023px) {

  .header-top { padding: 16px 32px; }
  .logo-mm { width: 50px; height: 50px; }
  .logo-info h1 { font-size: 22px; }

  .player-bar {
    padding: 0 24px;
    gap: 20px;
    height: 64px;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-content { padding: 40px 32px; }
  .hero-title { font-size: 40px; }
  .hero-excerpt { max-width: 80%; font-size: 15px; }

  .hero-sidebar {
    border-left: none;
    border-top: 1px solid rgba(255,255,255,0.08);
  }

  .section { padding: 40px 32px; }

  .noticias-grid { grid-template-columns: 1fr 1fr; }

  .noticia-card.featured {
    grid-column: 1 / -1;
    grid-row: span 1;
  }

  .noticia-card.featured .noticia-titulo { font-size: 24px; }
  .noticia-titulo { font-size: 18px; }

  .programacion { padding: 40px 32px; }
  .programas-grid { grid-template-columns: repeat(2, 1fr); }

  .publicidad-section { padding: 40px 32px; }
  .publicidad-grid { grid-template-columns: repeat(2, 1fr); }

  footer { padding: 40px 32px; }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }

  .footer-brand { grid-column: 1 / -1; }
}

/* ══════════════════════════════════════════
   RESPONSIVE: DESKTOP (≥1024px) — restore grid defaults
   ══════════════════════════════════════════ */
@media (min-width: 1024px) {
  nav {
    -webkit-mask-image: none;
    mask-image: none;
  }

  /* Hero: sidebar proporcional */
  .hero {
    grid-template-columns: 1fr min(420px, 30vw);
    min-height: 560px;
  }

  .hero-title {
    font-size: 52px;
  }

  .hero-excerpt {
    font-size: 16px;
  }

  .hero-content {
    padding: 64px 48px;
  }

  /* Secciones: padding proporcional */
  .section,
  .programacion,
  .publicidad-section,
  footer {
    padding-left: max(48px, 5vw);
    padding-right: max(48px, 5vw);
  }

  .header-top {
    padding-left: max(48px, 5vw);
    padding-right: max(48px, 5vw);
  }

  nav {
    padding-left: max(48px, 5vw);
    padding-right: max(48px, 5vw);
  }

  /* Noticias: featured ocupa fila completa, resto en 3 columnas */
  .noticias-grid {
    grid-template-columns: 1fr 1fr 1fr;
    align-items: start;
  }

  .noticia-card.featured {
    grid-column: 1 / -1;
    grid-row: span 1;
  }

  /* Limitar altura de imagen featured en pantallas grandes */
  .noticia-card.featured .noticia-img {
    max-height: 520px;
  }

  .noticia-card.featured .noticia-titulo {
    font-size: 28px;
  }

  /* Programación: 4 columnas */
  .programas-grid { grid-template-columns: repeat(4, 1fr); }

  /* Publicidad: 3 columnas */
  .publicidad-grid { grid-template-columns: repeat(3, 1fr); }

  /* Evitar que cards se estiren verticalmente */
  .programas-grid,
  .publicidad-grid {
    align-items: start;
  }

  /* Footer: 4 columnas */
  .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
}

/* ══════════════════════════════════════════
   RESPONSIVE: EXTRA LARGE (≥1600px)
   Escalado uniforme: todos los titulos crecen al mismo ritmo
   ══════════════════════════════════════════ */
@media (min-width: 1600px) {
  .hero-title { font-size: 60px; }
  .hero-excerpt { font-size: 17px; }

  .section-title h2 { font-size: 22px; }

  .noticia-card { padding: 36px 32px; }
  .noticia-titulo { font-size: 22px; }
  .noticia-card.featured .noticia-titulo { font-size: 32px; }
  .noticia-excerpt { font-size: 14px; }

  .programa-nombre { font-size: 20px; }
  .programa-desc { font-size: 13px; }

  .publicidad-card h3 { font-size: 18px; }
  .publicidad-card .publicidad-desc { font-size: 13px; }

  .footer-brand h3 { font-size: 30px; }
  .footer-brand .desc { font-size: 14px; }

  .sidebar-news-title { font-size: 16px; }
  .sidebar-num { font-size: 32px; }
}
