/* ==========================================
   POP MACHINE - Estilos Principales (Paleta Anaranjada)
   ========================================== */

html, body { 
  font-family: 'Poppins', sans-serif; 
  background: #0a0a0f; 
  color: #fff; 
  overflow-x: hidden; 
  width: 100%;
  max-width: 100vw;
  margin: 0;
  padding: 0;
}

.font-display { 
  font-family: 'Bebas Neue', sans-serif; 
  letter-spacing: 0.05em; 
}

/* Gradiente principal con anaranjado prevalente */
.gradient-pop { 
  background: linear-gradient(135deg, #ff6b00 0%, #ff8800 45%, #ef4444 80%, #facc15 100%); 
}

.gradient-text { 
  background: linear-gradient(135deg, #ff6b00 0%, #ff8800 45%, #facc15 100%); 
  -webkit-background-clip: text; 
  -webkit-text-fill-color: transparent; 
  background-clip: text; 
}

.gradient-text-alt { 
  background: linear-gradient(135deg, #f97316 0%, #f59e0b 50%, #ef4444 100%); 
  -webkit-background-clip: text; 
  -webkit-text-fill-color: transparent; 
  background-clip: text; 
}

.glow-pink, .glow-orange { 
  box-shadow: 0 0 40px rgba(255, 107, 0, 0.55); 
}

.glow-purple { 
  box-shadow: 0 0 40px rgba(245, 158, 11, 0.5); 
}

.glass { 
  background: rgba(255, 255, 255, 0.05); 
  backdrop-filter: blur(20px); 
  -webkit-backdrop-filter: blur(20px); 
  border: 1px solid rgba(255, 255, 255, 0.1); 
}

.glass-dark { 
  background: rgba(10, 10, 15, 0.75); 
  backdrop-filter: blur(20px); 
  -webkit-backdrop-filter: blur(20px); 
  border-top: 1px solid rgba(255, 107, 0, 0.35); 
}

.neon-border { 
  border: 2px solid transparent; 
  background: linear-gradient(#0a0a0f, #0a0a0f) padding-box, linear-gradient(135deg, #ff6b00, #f59e0b, #ef4444) border-box; 
}

.marquee-track { 
  animation: marquee 25s linear infinite; 
}

@keyframes marquee { 
  0% { transform: translateX(0); } 
  100% { transform: translateX(-50%); } 
}

.pulse-live { 
  animation: pulseLive 1.5s ease-in-out infinite; 
}

@keyframes pulseLive { 
  0%, 100% { opacity: 1; transform: scale(1); } 
  50% { opacity: 0.6; transform: scale(1.15); } 
}

.wave-bar { 
  animation: wave 1s ease-in-out infinite; 
}

.wave-bar:nth-child(1) { animation-delay: 0s; }
.wave-bar:nth-child(2) { animation-delay: 0.15s; }
.wave-bar:nth-child(3) { animation-delay: 0.3s; }
.wave-bar:nth-child(4) { animation-delay: 0.45s; }
.wave-bar:nth-child(5) { animation-delay: 0.6s; }

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

.vinyl-spin { 
  animation: spin 8s linear infinite; 
}

.vinyl-spin.paused { 
  animation-play-state: paused; 
}

@keyframes spin { 
  from { transform: rotate(0deg); } 
  to { transform: rotate(360deg); } 
}

.float { 
  animation: float 6s ease-in-out infinite; 
}

@keyframes float { 
  0%, 100% { transform: translateY(0px); } 
  50% { transform: translateY(-20px); } 
}

.card-hover { 
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1); 
}

.card-hover:hover { 
  transform: translateY(-8px) scale(1.02); 
}

.bg-grid { 
  background-image: radial-gradient(circle, rgba(255, 107, 0, 0.18) 1px, transparent 1px); 
  background-size: 30px 30px; 
}

.scroll-smooth { 
  scroll-behavior: smooth; 
}

.hide-scrollbar::-webkit-scrollbar { 
  display: none; 
}

.hide-scrollbar { 
  -ms-overflow-style: none; 
  scrollbar-width: none; 
}

.shine { 
  position: relative; 
  overflow: hidden; 
}

.shine::before { 
  content: ''; 
  position: absolute; 
  top: 0; 
  left: -100%; 
  width: 100%; 
  height: 100%; 
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent); 
  transition: left 0.6s; 
}

.shine:hover::before { 
  left: 100%; 
}

.blob { 
  position: absolute; 
  border-radius: 50%; 
  filter: blur(80px); 
  opacity: 0.5; 
  z-index: 0; 
}

input[type="range"] { 
  -webkit-appearance: none; 
  appearance: none; 
  background: transparent; 
}

input[type="range"]::-webkit-slider-runnable-track { 
  height: 4px; 
  background: rgba(255,255,255,0.2); 
  border-radius: 2px; 
}

input[type="range"]::-webkit-slider-thumb { 
  -webkit-appearance: none; 
  height: 14px; 
  width: 14px; 
  border-radius: 50%; 
  background: #ff6b00; 
  margin-top: -5px; 
  cursor: pointer; 
  box-shadow: 0 0 10px #ff6b00; 
}

.news-card { 
  position: relative; 
  overflow: hidden; 
}

.news-card::after { 
  content: ''; 
  position: absolute; 
  inset: 0; 
  background: linear-gradient(to top, rgba(10,10,15,0.95) 0%, rgba(10,10,15,0.5) 50%, transparent 100%); 
}

.news-card img { 
  transition: transform 0.6s; 
}

/* Estilos de contenido HTML para el Modal de Noticias */
.article-content p {
  margin-bottom: 1rem;
  line-height: 1.7;
  color: #e2e8f0;
}

.article-content h2, .article-content h3 {
  font-family: 'Bebas Neue', sans-serif;
  color: #ff6b00;
  font-size: 1.75rem;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}

.article-content img {
  max-width: 100%;
  height: auto;
  border-radius: 1rem;
  margin: 1.25rem 0;
  border: 1px solid rgba(255, 107, 0, 0.3);
}

.article-content ul {
  list-style-type: disc;
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

.article-content li {
  margin-bottom: 0.5rem;
}

.article-content a:hover {
  text-decoration: underline;
}

/* Ocultar barra de desplazamiento manteniendo el scroll funcional */
.no-scrollbar::-webkit-scrollbar {
  display: none;
}
.no-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.news-card:hover img { 
  transform: scale(1.1); 
}

/* ==========================================
   ESTILOS DE MODO CLARO (LIGHT MODE)
   ========================================== */
html.light body {
  background-color: #f1f5f9 !important;
  color: #0f172a !important;
}

html.light .glass {
  background: rgba(255, 255, 255, 0.85) !important;
  backdrop-filter: blur(20px);
  border-color: rgba(0, 0, 0, 0.1) !important;
  color: #0f172a !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

html.light .glass-dark {
  background: rgba(255, 255, 255, 0.95) !important;
  border-color: rgba(255, 107, 0, 0.3) !important;
  color: #0f172a !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

html.light .text-gray-300, 
html.light .text-gray-400 {
  color: #334155 !important;
}

html.light .text-gray-200 {
  color: #1e293b !important;
}

html.light .bg-\[\#0a0a0f\] {
  background-color: #f8fafc !important;
}
