@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700;900&family=Share+Tech+Mono&display=swap');

.yararadio-top-ocho-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 15px;
  background: linear-gradient(135deg, #000000 0%, #1a0033 50%, #000000 100%);
  border-radius: 20px;
  position: relative;
  overflow: hidden;
}
.yararadio-top-ocho-container::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,215,0,0.1) 0%, transparent 70%);
  animation: rotate 20s linear infinite;
}
@keyframes rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
.header-section {
  text-align: center;
  margin-bottom: 25px;
  position: relative;
  z-index: 1;
}
.top-title {
  font-family: 'Orbitron', monospace;
  font-size: 32px;
  margin: 0;
  text-transform: uppercase;
  line-height: 1.2;
}
.title-yara {
  background: linear-gradient(45deg, #FFD700, #FFA500);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
  animation: glowPulse 2s infinite;
}
.title-top {
  color: #fff;
  margin-left: 8px;
  text-shadow: 0 0 10px rgba(255,215,0,0.5);
}
@keyframes glowPulse {
  0%, 100% { text-shadow: 0 0 15px rgba(255,215,0,0.8); }
  50% { text-shadow: 0 0 25px rgba(255,215,0,1); }
}
.subtitle {
  color: #FFD700;
  font-family: 'Share Tech Mono', monospace;
  font-size: 12px;
  letter-spacing: 1.5px;
  margin-top: 8px;
}
.top-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
  z-index: 1;
}
.top-item {
  display: grid;
  grid-template-columns: 70px 1fr 150px;
  align-items: center;
  padding: 12px 15px;
  border-radius: 12px;
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.top-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,215,0,0.2), transparent);
  transition: left 0.5s ease;
}
.top-item:hover::before { left: 100%; }
.top-item:hover { transform: translateX(8px); }
.top-item.even {
  background: linear-gradient(90deg, #FFD70015 0%, #000000 100%);
  border-right: 3px solid #FFD700;
}
.top-item.odd {
  background: linear-gradient(90deg, #0066CC15 0%, #000000 100%);
  border-right: 3px solid #0066CC;
}
.position-number {
  text-align: center;
  position: relative;
}
.position-value {
  font-family: 'Orbitron', monospace;
  font-size: 26px;
  font-weight: 900;
  color: #FFD700;
  text-shadow: 0 0 8px rgba(255,215,0,0.5);
  display: block;
  line-height: 1;
}
.trend-indicator {
  font-size: 11px;
  margin-top: 4px;
  display: inline-block;
}
.trend-indicator.up { color: #00ff00; animation: bounce 1s ease infinite; }
.trend-indicator.down { color: #ff0000; }
.trend-indicator.same { color: #FFD700; }
.trend-indicator.new { color: #ff00ff; animation: spin 2s linear infinite; }
@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}
@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
.song-info { padding: 0 15px; }
.song-name {
  font-family: 'Orbitron', monospace;
  font-size: 15px;
  color: #fff;
  margin: 0 0 4px 0;
  font-weight: 700;
  line-height: 1.2;
}
.artist-name {
  font-family: 'Share Tech Mono', monospace;
  font-size: 12px;
  color: #FFD700;
  margin: 0;
  line-height: 1.3;
}
.previous-info { text-align: right; font-size: 11px; }
.previous-label {
  color: #888;
  display: block;
  font-family: 'Share Tech Mono', monospace;
  line-height: 1.2;
}
.previous-position {
  color: #FFD700;
  font-family: 'Orbitron', monospace;
  font-size: 14px;
  font-weight: bold;
  display: block;
  margin-top: 3px;
}
.footer-note {
  text-align: center;
  margin-top: 25px;
  padding-top: 15px;
  border-top: 1px solid rgba(255,215,0,0.3);
}
.footer-note p {
  color: #888;
  font-family: 'Share Tech Mono', monospace;
  font-size: 10px;
  letter-spacing: 1.5px;
  margin: 0;
}

/* Pron¨®stico de la Semana */
.pronostico-semana {
  margin-top: 20px;
  padding: 12px;
  background: linear-gradient(135deg, #1a1a2e, #0a0a15);
  border-radius: 10px;
  border: 2px solid #FFD700;
  text-align: center;
  transition: all 0.3s ease;
}
.pronostico-semana:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(255,215,0,0.25);
  background: linear-gradient(135deg, #1a1a3e, #0a0a25);
}
.pronostico-header {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}
.pronostico-emoji {
  font-size: 22px;
  animation: scalePulse 2s infinite;
}
.pronostico-titulo {
  font-family: 'Orbitron', monospace;
  font-size: 14px;
  font-weight: bold;
  color: #FFD700;
  letter-spacing: 1.5px;
  text-shadow: 0 0 5px rgba(255,215,0,0.5);
}
.pronostico-contenido {
  font-family: 'Share Tech Mono', monospace;
  font-size: 13px;
  color: #fff;
  line-height: 1.4;
  padding: 8px;
  background: rgba(0,0,0,0.3);
  border-radius: 6px;
}
@keyframes scalePulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}

/* Efecto de brillo en hover */
.top-item:hover .position-value {
  text-shadow: 0 0 15px rgba(255,215,0,0.8);
  animation: glowPulse 0.5s ease;
}

/* Responsive */
@media (max-width: 768px) {
  .yararadio-top-ocho-container { padding: 15px 10px; border-radius: 15px; }
  .header-section { margin-bottom: 20px; }
  .top-title { font-size: 24px; }
  .subtitle { font-size: 11px; letter-spacing: 1px; margin-top: 6px; }
  .top-list { gap: 8px; }
  .top-item {
    grid-template-columns: 55px 1fr;
    padding: 10px 12px;
    gap: 8px;
  }
  .previous-info {
    grid-column: span 2;
    text-align: left;
    padding-left: 55px;
    margin-top: 2px;
    display: flex;
    align-items: baseline;
    gap: 6px;
    flex-wrap: nowrap;
  }
  .previous-label {
    display: inline;
    margin: 0;
    font-size: 10px;
    white-space: nowrap;
  }
  .previous-position {
    display: inline;
    margin: 0;
    font-size: 12px;
  }
  .position-value { font-size: 22px; }
  .song-name { font-size: 14px; margin-bottom: 2px; }
  .artist-name { font-size: 11px; }
  .pronostico-header { gap: 8px; margin-bottom: 6px; }
  .pronostico-emoji { font-size: 18px; }
  .pronostico-titulo { font-size: 12px; }
  .pronostico-contenido { font-size: 11px; padding: 6px; line-height: 1.3; }
  .footer-note { margin-top: 20px; padding-top: 12px; }
  .top-item:hover { transform: translateX(4px); }
}