:root {
  --bg-main: #0a0e17;
  --bg-secondary: #121826;
  --bg-glass: rgba(18, 24, 38, 0.7);
  --text-main: #f0f4f8;
  --text-muted: #8b9bb4;
  --neon-blue: #00f0ff;
  --neon-purple: #bd00ff;
  --accent-blue: #0088ff;
  --font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

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

body {
  font-family: var(--font-family);
  background-color: var(--bg-main);
  color: var(--text-main);
  overflow-x: hidden;
  padding-bottom: 100px; /* Space for fixed player */
}

/* Navbar */
.navbar {
  position: fixed; top: 0; left: 0; width: 100%;
  background: var(--bg-glass);
  backdrop-filter: blur(10px);
  padding: 15px 5%;
  display: flex; justify-content: space-between; align-items: center;
  z-index: 1000;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.logo {
  font-size: 1.5rem; font-weight: 700;
  background: linear-gradient(90deg, var(--neon-blue), var(--neon-purple));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  display: flex; align-items: center; gap: 10px;
}

.nav-links { display: flex; gap: 20px; }
.nav-links a {
  color: var(--text-main); text-decoration: none; font-weight: 500;
  transition: 0.3s;
}
.nav-links a:hover { color: var(--neon-blue); text-shadow: 0 0 10px rgba(0,240,255,0.5); }

/* Hero Section */
.hero {
  margin-top: 80px; padding: 60px 5%;
  text-align: center; position: relative;
}
.hero::before {
  content: ''; position: absolute;
  top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(189,0,255,0.2) 0%, rgba(0,0,0,0) 70%);
  z-index: -1; pointer-events: none;
}
.hero h1 { font-size: 3rem; margin-bottom: 15px; }
.hero p { color: var(--text-muted); font-size: 1.1rem; max-width: 600px; margin: 0 auto; }

/* Fixed Player (Bottom) */
.player-bar {
  position: fixed; bottom: 0; left: 0; width: 100%;
  background: rgba(10, 14, 23, 0.95);
  backdrop-filter: blur(15px);
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 15px 5%;
  display: flex; justify-content: space-between; align-items: center;
  z-index: 1000; box-shadow: 0 -5px 20px rgba(0,0,0,0.5);
}

.player-info { display: flex; align-items: center; gap: 15px; width: 30%; }
.player-cover {
  width: 60px; height: 60px; border-radius: 8px; object-fit: cover;
  box-shadow: 0 0 15px rgba(0,240,255,0.2);
  animation: pulseCover 2s infinite alternate;
}

@keyframes pulseCover {
  from { box-shadow: 0 0 10px rgba(0,240,255,0.1); }
  to { box-shadow: 0 0 20px rgba(0,240,255,0.4); }
}

.track-details h4 { margin: 0; font-size: 1rem; color: #fff; }
.track-details p { margin: 0; font-size: 0.85rem; color: var(--text-muted); }

.player-controls { display: flex; align-items: center; gap: 25px; width: 40%; justify-content: center; }
.btn-play {
  width: 50px; height: 50px; border-radius: 50%;
  background: linear-gradient(45deg, var(--neon-blue), var(--neon-purple));
  border: none; color: white; font-size: 1.2rem; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: 0.3s; box-shadow: 0 0 15px rgba(189,0,255,0.4);
}
.btn-play:hover { transform: scale(1.1); box-shadow: 0 0 25px rgba(189,0,255,0.6); }

.player-volume { display: flex; align-items: center; gap: 10px; width: 30%; justify-content: flex-end; }
input[type=range] {
  -webkit-appearance: none; width: 100px; background: transparent;
}
input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none; height: 12px; width: 12px; border-radius: 50%;
  background: var(--neon-blue); cursor: pointer; margin-top: -4px;
}
input[type=range]::-webkit-slider-runnable-track {
  width: 100%; height: 4px; cursor: pointer; background: var(--bg-main); border-radius: 2px;
}

/* Sections Grid */
.container { padding: 40px 5%; display: grid; grid-template-columns: 2fr 1fr; gap: 30px; }

@media (max-width: 900px) {
  .container { grid-template-columns: 1fr; }
  .player-info { width: auto; }
  .player-volume { display: none; }
}

/* Cards & Widgets */
.widget {
  background: var(--bg-secondary); border-radius: 12px; padding: 25px;
  border: 1px solid rgba(255,255,255,0.05);
}
.widget h3 {
  border-bottom: 2px solid var(--neon-purple); padding-bottom: 10px; margin-bottom: 20px;
  display: inline-block;
}

/* Chat */
.chat-messages { height: 300px; overflow-y: auto; display: flex; flex-direction: column; gap: 10px; margin-bottom: 15px; padding-right: 10px;}
.chat-msg { background: rgba(0,0,0,0.3); padding: 10px 15px; border-radius: 8px; font-size: 0.9rem;}
.chat-msg strong { color: var(--neon-blue); display: block; margin-bottom: 3px; font-size: 0.85rem;}
.chat-input-area { display: flex; flex-direction: column; gap: 10px; }
.chat-input-area input { padding: 10px; border-radius: 6px; border: 1px solid rgba(255,255,255,0.1); background: var(--bg-main); color: white; }
.chat-input-area button { padding: 10px; background: linear-gradient(45deg, var(--neon-blue), var(--neon-purple)); border: none; color: white; border-radius: 6px; cursor: pointer; font-weight: 600;}

/* History */
.history-list { list-style: none; display: flex; flex-direction: column; gap: 15px; }
.history-item { display: flex; align-items: center; gap: 15px; padding-bottom: 10px; border-bottom: 1px solid rgba(255,255,255,0.05);}
.history-item img { width: 45px; height: 45px; border-radius: 6px; object-fit: cover; }
.history-item div h5 { margin: 0; font-size: 0.95rem; }
.history-item div p { margin: 0; font-size: 0.8rem; color: var(--text-muted); }

/* Schedule & Locutores */
.schedule-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 20px; margin-bottom: 40px;}
.schedule-card { background: rgba(0,0,0,0.3); border-radius: 8px; overflow: hidden; text-align: center; border: 1px solid rgba(255,255,255,0.05);}
.schedule-card img { width: 100%; height: 150px; object-fit: cover; }
.schedule-card .info { padding: 15px; }
.schedule-card .info h4 { margin: 0; font-size: 1rem; color: var(--neon-blue); }

/* Floating WhatsApp */
.float-wa {
  position: fixed; bottom: 100px; right: 20px;
  background: #25D366; color: white; width: 60px; height: 60px;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 2rem; box-shadow: 0 4px 15px rgba(37,211,102,0.4);
  z-index: 1000; transition: 0.3s;
}
.float-wa:hover { transform: scale(1.1); }
