/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: #121212;
  color: #ffffff;
  overflow: hidden;
  line-height: 1.6;
  width: 100%;
  max-width: 100vw;
}

/* App Container */
.app-container {
  display: flex;
  flex-direction: column;
  height: 100vh;
  background: linear-gradient(135deg, #1e1e1e 0%, #121212 50%, #0a0a0a 100%);
}

/* Main Content Layout */
.main-content {
  display: flex;
  flex: 1;
  overflow: hidden;
}

/* Sidebar */
.sidebar {
  width: 280px;
  background: #000000;
  border-right: 1px solid #282828;
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 100;
}

.sidebar-header {
  padding: 2rem 1.5rem;
  border-bottom: 1px solid #282828;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-container {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.logo-container img {
  max-width: 200px;
  max-height: 80px;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
}

.logo-placeholder {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #1db954, #1ed760);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.8rem;
}

.sidebar-menu {
  flex: 1;
  padding: 1rem 0;
  overflow-y: auto;
}

.menu-section {
  margin-bottom: 2rem;
}

.section-title {
  padding: 0 1.5rem 0.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: #b3b3b3;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.menu-list {
  list-style: none;
}

.menu-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem 1.5rem;
  color: #b3b3b3;
  text-decoration: none;
  transition: all 0.3s ease;
  font-weight: 500;
  border-radius: 0;
}

.menu-item:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
}

.menu-item.active {
  color: #1db954;
  background: rgba(29, 185, 84, 0.1);
  border-right: 3px solid #1db954;
}

.menu-item i {
  width: 20px;
  text-align: center;
  font-size: 1.1rem;
}

.sidebar-footer {
  padding: 1rem 1.5rem;
  border-top: 1px solid #282828;
}

.social-links {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 35px;
  height: 35px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: #b3b3b3;
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-link:hover {
  background: rgba(29, 185, 84, 0.2);
  color: #1db954;
  transform: scale(1.1);
}

/* Content Area (inside main-content) */
.content-area {
  flex: 1;
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, #1e1e1e 0%, #121212 100%);
}

/* Top Bar */
.top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 4rem;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid #282828;
  position: sticky;
  top: 0;
  z-index: 50;
}

.top-bar-left {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav-toggle {
  display: none;
  background: rgba(0, 0, 0, 0.5);
  border: none;
  color: #ffffff;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.75rem;
  border-radius: 8px;
  transition: all 0.3s ease;
  width: 45px;
  height: 45px;
  align-items: center;
  justify-content: center;
}

.nav-toggle:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.05);
}

.nav-toggle:active {
  transform: scale(0.95);
}

.breadcrumb span {
  font-size: 1.5rem;
  font-weight: 700;
  color: #ffffff;
}

.top-bar-right {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.live-indicator {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(239, 68, 68, 0.2);
  border: 1px solid #ef4444;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
  color: #ef4444;
}

.live-dot {
  width: 8px;
  height: 8px;
  background: #ef4444;
  border-radius: 50%;
  animation: pulse 2s infinite;
}

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

.listener-count {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(29, 185, 84, 0.2);
  border: 1px solid #1db954;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
  color: #1db954;
}

/* Content Container */
.content-container {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 0 0 120px 0; /* Space for bottom player */
  width: 100%;
  box-sizing: border-box;
}

.content-view {
  display: none;
  padding: 3rem 4rem;
  min-height: 100%;
}

.content-view.active {
  display: block;
}

.view-header {
  margin-bottom: 2rem;
}

.view-header h1 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  background: linear-gradient(135deg, #1db954, #1ed760);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.view-header p {
  font-size: 1.1rem;
  color: #b3b3b3;
}

/* Now Playing View */
.now-playing-container {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  height: 100%;
}

/* Simplified current song display */
.current-song-display {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 2rem;
  background: linear-gradient(135deg, #1e1e1e, #2a2a2a);
  border-radius: 20px;
  border: 1px solid #282828;
  margin-bottom: 2rem;
  padding: 2rem;
}

.current-song-display {
  display: flex;
  align-items: center;
  gap: 2rem;
  text-align: left;
}

.song-artwork-large {
  width: 200px;
  height: 200px;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.song-artwork-large img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.default-artwork-large {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #1db954, #1ed760);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 4rem;
}

.song-details-large h1 {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  color: #ffffff;
  line-height: 1.2;
}

.song-details-large p {
  font-size: 1.5rem;
  color: #b3b3b3;
  margin-bottom: 1rem;
}

.song-stats {
  display: flex;
  gap: 2rem;
  margin-bottom: 1rem;
  font-size: 1rem;
  color: #b3b3b3;
}

.song-stats span {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* DJ info styles removed */

/* Recently Played Section */
.recently-played-section {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  padding: 2rem;
  border: 1px solid #282828;
}

.recently-played-section h2 {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: #ffffff;
}

.track-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.track-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem;
  border-radius: 8px;
  transition: all 0.3s ease;
  cursor: pointer;
  width: 100%;
  box-sizing: border-box;
}

.track-item:hover {
  background: rgba(255, 255, 255, 0.1);
}

.track-number {
  width: 30px;
  text-align: center;
  color: #b3b3b3;
  font-weight: 500;
}

.track-artwork {
  width: 50px;
  height: 50px;
  border-radius: 8px;
  background: linear-gradient(135deg, #1db954, #1ed760);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.2rem;
}

.track-info {
  flex: 1;
  min-width: 0; /* Permite que flex-item se encoja más allá de su contenido */
  overflow: hidden;
}

.track-title {
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 0.25rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  width: 100%;
}

.track-time {
  font-size: 0.9rem;
  color: #b3b3b3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Programs Tabs */
.programs-tabs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.programs-tab-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid #282828;
  border-radius: 12px;
  color: #b3b3b3;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.9rem;
  font-weight: 500;
}

.programs-tab-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

.programs-tab-btn.active {
  background: rgba(29, 185, 84, 0.2);
  border-color: #1db954;
  color: #1db954;
}

.programs-content {
  position: relative;
}

.programs-day-content {
  display: none;
}

.programs-day-content.active {
  display: block;
}

.programs-timeline {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.program-card {
  display: flex;
  gap: 1rem;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid #282828;
  border-radius: 12px;
  transition: all 0.3s ease;
}

.program-card:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

.program-card img {
  width: 80px;
  height: 80px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
}

.program-info {
  flex: 1;
}

.program-info h3 {
  font-size: 1.2rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.program-info p {
  color: #b3b3b3;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.program-schedule {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #1db954;
  font-size: 0.9rem;
  font-weight: 500;
}

/* Content Grids */
.podcasts-grid,
.videocasts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

.news-feed {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
}

.videos-ranking {
  display: block !important;
  width: 100% !important;
  grid-template-columns: none !important;
  gap: 0 !important;
}

.sponsors-showcase,
.promotions-showcase {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
}

/* Content Cards */
.content-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid #282828;
  border-radius: 16px;
  padding: 1.5rem;
  transition: all 0.3s ease;
  cursor: pointer;
  width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.content-card:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.content-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 1rem;
  max-width: 100%;
}

.content-card h3 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: #ffffff;
  word-wrap: break-word;
}

.content-card p {
  color: #b3b3b3;
  line-height: 1.6;
  margin-bottom: 1rem;
  word-wrap: break-word;
}

.card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
  color: #b3b3b3;
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* News Card Improvements */
.news-card {
  overflow: hidden;
  width: 100%;
  box-sizing: border-box;
}

.news-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.news-card .card-content {
  padding: 1.5rem;
}

.news-card .card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid #282828;
}

.news-date {
  color: #b3b3b3;
  font-size: 0.9rem;
}

.read-more-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: linear-gradient(135deg, #1db954, #1ed760);
  border: none;
  border-radius: 8px;
  color: white;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.read-more-btn:hover {
  background: linear-gradient(135deg, #1ed760, #1db954);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(29, 185, 84, 0.3);
}

.read-more-btn i {
  font-size: 0.8rem;
}

/* News Modal */
.news-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.news-modal.active {
  opacity: 1;
  visibility: visible;
}

.news-modal-content {
  background: #1e1e1e;
  border-radius: 16px;
  max-width: 800px;
  max-height: 90vh;
  width: 90%;
  overflow: hidden;
  border: 1px solid #282828;
  transform: scale(0.9);
  transition: transform 0.3s ease;
}

.news-modal.active .news-modal-content {
  transform: scale(1);
}

.news-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem;
  border-bottom: 1px solid #282828;
  background: rgba(29, 185, 84, 0.1);
}

.news-modal-header h2 {
  color: #1db954;
  font-size: 1.2rem;
  font-weight: 600;
}

.news-modal-close {
  background: none;
  border: none;
  color: #b3b3b3;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.news-modal-close:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

.news-modal-body {
  padding: 2rem;
  max-height: 70vh;
  overflow-y: auto;
}

.news-modal-image {
  width: 100%;
  max-height: 300px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 1.5rem;
}

.news-modal-title {
  font-size: 2rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1rem;
  line-height: 1.3;
}

.news-modal-meta {
  display: flex;
  gap: 2rem;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #282828;
}

.news-modal-meta span {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #b3b3b3;
  font-size: 0.9rem;
}

.news-modal-meta i {
  color: #1db954;
}

.news-modal-content-text {
  color: #e5e5e5;
  line-height: 1.8;
  font-size: 1.1rem;
}

.news-modal-content-text p {
  margin-bottom: 1.5rem;
}

.news-modal-content-text h1,
.news-modal-content-text h2,
.news-modal-content-text h3 {
  color: #ffffff;
  margin: 2rem 0 1rem 0;
}

.news-modal-content-text img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 1rem 0;
}

/* Podcast and Videocast Cards */
.podcast-card,
.videocast-card {
  position: relative;
  overflow: hidden;
}

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

.card-image img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.default-image {
  width: 100%;
  height: 200px;
  background: linear-gradient(135deg, #1db954, #1ed760);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 3rem;
}

.play-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.podcast-card:hover .play-overlay,
.videocast-card:hover .play-overlay {
  opacity: 1;
}

.podcast-card:hover .card-image img,
.videocast-card:hover .card-image img {
  transform: scale(1.05);
}

.play-overlay .play-btn {
  width: 60px;
  height: 60px;
  background: rgba(29, 185, 84, 0.9);
  border: none;
  border-radius: 50%;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.play-overlay .play-btn:hover {
  background: #1db954;
  transform: scale(1.1);
}

.play-button {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem;
  background: linear-gradient(135deg, #1db954, #1ed760);
  border: none;
  border-radius: 8px;
  color: white;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 1rem;
}

.play-button:hover {
  background: linear-gradient(135deg, #1ed760, #1db954);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(29, 185, 84, 0.3);
}

/* Podcast Modal */
.podcast-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.podcast-modal.active {
  opacity: 1;
  visibility: visible;
}

.podcast-modal-content {
  background: #1e1e1e;
  border-radius: 16px;
  max-width: 600px;
  max-height: 90vh;
  width: 90%;
  overflow: hidden;
  border: 1px solid #282828;
  transform: scale(0.9);
  transition: transform 0.3s ease;
}

.podcast-modal.active .podcast-modal-content {
  transform: scale(1);
}

.podcast-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem;
  border-bottom: 1px solid #282828;
  background: rgba(29, 185, 84, 0.1);
}

.podcast-modal-info {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.podcast-modal-image {
  width: 60px;
  height: 60px;
  border-radius: 8px;
  object-fit: cover;
}

.podcast-modal-text h2 {
  color: #ffffff;
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.podcast-modal-text p {
  color: #1db954;
  font-size: 0.9rem;
}

.podcast-modal-close {
  background: none;
  border: none;
  color: #b3b3b3;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.podcast-modal-close:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

.podcast-modal-body {
  padding: 2rem;
}

.podcast-description {
  margin-bottom: 2rem;
}

.podcast-description p {
  color: #e5e5e5;
  line-height: 1.6;
}

.podcast-player {
  margin-bottom: 1.5rem;
}

.podcast-player audio {
  border-radius: 8px;
  background: #282828;
}

.podcast-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #b3b3b3;
  font-size: 0.9rem;
}

.podcast-meta i {
  color: #1db954;
}

/* Videocast Modal */
.videocast-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.videocast-modal.active {
  opacity: 1;
  visibility: visible;
}

.videocast-modal-content {
  background: #1e1e1e;
  border-radius: 16px;
  max-width: 900px;
  max-height: 90vh;
  width: 90%;
  overflow: hidden;
  border: 1px solid #282828;
  transform: scale(0.9);
  transition: transform 0.3s ease;
}

.videocast-modal.active .videocast-modal-content {
  transform: scale(1);
}

.videocast-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem;
  border-bottom: 1px solid #282828;
  background: rgba(29, 185, 84, 0.1);
}

.videocast-modal-info h2 {
  color: #ffffff;
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.videocast-modal-info p {
  color: #1db954;
  font-size: 0.9rem;
}

.videocast-modal-close {
  background: none;
  border: none;
  color: #b3b3b3;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.videocast-modal-close:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

.videocast-modal-body {
  padding: 2rem;
  max-height: 70vh;
  overflow-y: auto;
}

.videocast-container {
  margin-bottom: 2rem;
  border-radius: 8px;
  overflow: hidden;
}

.videocast-container iframe,
.videocast-container video {
  width: 100%;
  border-radius: 8px;
}

.videocast-description {
  margin-bottom: 1.5rem;
}

.videocast-description p {
  color: #e5e5e5;
  line-height: 1.6;
}

.videocast-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #b3b3b3;
  font-size: 0.9rem;
}

.videocast-meta i {
  color: #1db954;
}

/* Video Ranking Styles */
.ranking-container {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.ranking-podium {
  display: flex;
  justify-content: space-evenly;
  align-items: end;
  gap: 2rem;
  margin-bottom: 2rem;
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.podium-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.podium-item:hover {
  transform: translateY(-10px);
}

.podium-item.first {
  order: 2;
}

.podium-item.second {
  order: 1;
}

.podium-item.third {
  order: 3;
}

.podium-rank {
  position: relative;
  margin-bottom: 1rem;
}

.rank-number {
  font-size: 3rem;
  font-weight: 900;
  color: #ffffff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.rank-crown {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 1.5rem;
}

.rank-crown.gold {
  color: #ffd700;
}

.rank-crown.silver {
  color: #c0c0c0;
}

.rank-crown.bronze {
  color: #cd7f32;
}

.podium-thumbnail {
  width: 280px;
  height: 160px;
  background: linear-gradient(135deg, #1db954, #1ed760);
  border-radius: 12px;
  position: relative;
  overflow: hidden;
  margin-bottom: 1rem;
}

.podium-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.podium-item:hover .podium-overlay {
  opacity: 1;
}

.podium-play-btn {
  width: 50px;
  height: 50px;
  background: rgba(29, 185, 84, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.2rem;
}

.podium-info {
  text-align: center;
}

.podium-info h3 {
  color: #ffffff;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.podium-stats {
  color: #1db954;
  font-size: 0.9rem;
  font-weight: 500;
}

.ranking-list {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  padding: 2rem;
  border: 1px solid #282828;
  width: 100%;
  box-sizing: border-box;
  min-height: 200px;
}

@media (max-width: 768px) {
  .ranking-list {
    padding: 1.5rem;
    border-radius: 12px;
  }
}

@media (min-width: 1200px) {
  .ranking-list {
    padding: 2.5rem;
  }
}

.ranking-list-title {
  color: #ffffff;
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.ranking-list-title i {
  color: #1db954;
}

.ranking-items {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  width: 100%;
  box-sizing: border-box;
}

@media (min-width: 1200px) {
  .ranking-items {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }
}

@media (min-width: 1600px) {
  .ranking-items {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 2rem;
  }
}

.ranking-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
  min-height: 100px;
}

@media (min-width: 1200px) {
  .ranking-item {
    gap: 1.5rem;
    padding: 1.5rem;
  }
}

.ranking-item:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateX(10px);
}

.ranking-position {
  min-width: 60px;
  text-align: center;
  flex-shrink: 0;
}

.position-number {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1db954;
}

.ranking-thumbnail {
  width: 80px;
  height: 50px;
  background: linear-gradient(135deg, #1db954, #1ed760);
  border-radius: 8px;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}

@media (min-width: 1200px) {
  .ranking-thumbnail {
    width: 100px;
    height: 60px;
  }
}

@media (min-width: 1600px) {
  .ranking-thumbnail {
    width: 120px;
    height: 70px;
  }
}

.ranking-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  color: white;
  font-size: 1rem;
}

.ranking-item:hover .ranking-overlay {
  opacity: 1;
}

.ranking-details {
  flex: 1;
}

.ranking-details h4 {
  color: #ffffff;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
  line-height: 1.3;
}

.ranking-details p {
  color: #b3b3b3;
  font-size: 0.85rem;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

@media (min-width: 1200px) {
  .ranking-details h4 {
    font-size: 1.1rem;
  }
  
  .ranking-details p {
    font-size: 0.9rem;
  }
}

.ranking-action {
  min-width: 60px;
  flex-shrink: 0;
}

.ranking-play-btn {
  width: 50px;
  height: 50px;
  background: #1db954;
  border: none;
  border-radius: 50%;
  color: white;
  font-size: 1.2rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.ranking-play-btn:hover {
  background: #1ed760;
  transform: scale(1.1);
}

/* Video Modal */
.video-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.video-modal.active {
  opacity: 1;
  visibility: visible;
}

.video-modal-content {
  background: #1e1e1e;
  border-radius: 16px;
  max-width: 1000px;
  max-height: 90vh;
  width: 90%;
  overflow: hidden;
  border: 1px solid #282828;
  transform: scale(0.9);
  transition: transform 0.3s ease;
}

.video-modal.active .video-modal-content {
  transform: scale(1);
}

.video-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem;
  border-bottom: 1px solid #282828;
  background: rgba(29, 185, 84, 0.1);
}

.video-modal-info {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.video-rank-badge {
  background: linear-gradient(135deg, #1db954, #1ed760);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-weight: 700;
  font-size: 1.1rem;
}

.video-modal-info h2 {
  color: #ffffff;
  font-size: 1.3rem;
  font-weight: 600;
}

.video-modal-close {
  background: none;
  border: none;
  color: #b3b3b3;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.video-modal-close:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

.video-modal-body {
  padding: 2rem;
  max-height: 70vh;
  overflow-y: auto;
}

.video-container {
  margin-bottom: 2rem;
  border-radius: 8px;
  overflow: hidden;
}

.video-container iframe,
.video-container video {
  width: 100%;
  border-radius: 8px;
}

.video-description {
  color: #e5e5e5;
  line-height: 1.6;
  font-size: 1.1rem;
}

/* Anuncio Cards */
.anuncio-card {
  position: relative;
  overflow: hidden;
}

.anuncio-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.anuncio-card:hover .anuncio-overlay {
  opacity: 1;
}

.anuncio-view-btn {
  width: 60px;
  height: 60px;
  background: rgba(255, 193, 7, 0.9);
  border: none;
  border-radius: 50%;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.anuncio-view-btn:hover {
  background: #ffc107;
  transform: scale(1.1);
}

.anuncio-button {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem;
  background: linear-gradient(135deg, #ffc107, #ff9800);
  border: none;
  border-radius: 8px;
  color: white;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 1rem;
}

.anuncio-button:hover {
  background: linear-gradient(135deg, #ff9800, #ffc107);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 193, 7, 0.3);
}

/* Anuncio Modal */
.anuncio-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.anuncio-modal.active {
  opacity: 1;
  visibility: visible;
}

.anuncio-modal-content {
  background: #1e1e1e;
  border-radius: 16px;
  max-width: 600px;
  max-height: 90vh;
  width: 90%;
  overflow: hidden;
  border: 1px solid #282828;
  transform: scale(0.9);
  transition: transform 0.3s ease;
}

.anuncio-modal.active .anuncio-modal-content {
  transform: scale(1);
}

.anuncio-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem;
  border-bottom: 1px solid #282828;
  background: rgba(255, 193, 7, 0.1);
}

.anuncio-modal-info {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.anuncio-icon {
  color: #ffc107;
  font-size: 1.5rem;
}

.anuncio-modal-info h2 {
  color: #ffffff;
  font-size: 1.2rem;
  font-weight: 600;
}

.anuncio-modal-close {
  background: none;
  border: none;
  color: #b3b3b3;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.anuncio-modal-close:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

.anuncio-modal-body {
  padding: 2rem;
  max-height: 70vh;
  overflow-y: auto;
}

.anuncio-modal-image {
  width: 100%;
  max-height: 300px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 1.5rem;
}

.anuncio-description {
  margin-bottom: 2rem;
}

.anuncio-description p {
  color: #e5e5e5;
  line-height: 1.6;
  font-size: 1.1rem;
}

.anuncio-actions {
  display: flex;
  justify-content: center;
}

.anuncio-link-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  background: linear-gradient(135deg, #ffc107, #ff9800);
  color: white;
  text-decoration: none;
  border-radius: 12px;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.anuncio-link-btn:hover {
  background: linear-gradient(135deg, #ff9800, #ffc107);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 193, 7, 0.4);
}

/* Responsive Design */
@media (min-width: 1400px) {
  .ranking-podium {
    gap: 4rem;
  }
  
  .podium-thumbnail {
    width: 320px;
    height: 180px;
  }
  
  .ranking-item {
    padding: 2rem;
    gap: 2rem;
  }
  
  .ranking-thumbnail {
    width: 140px;
    height: 80px;
  }
}

@media (max-width: 1024px) {
  .podium-thumbnail {
    width: 240px;
    height: 140px;
  }
}

@media (max-width: 768px) {
  .ranking-podium {
    flex-direction: column;
    align-items: center;
    gap: 2rem;
  }
  
  .podium-item.first,
  .podium-item.second,
  .podium-item.third {
    order: initial;
  }
  
  .podium-thumbnail {
    width: 200px;
    height: 120px;
  }
  
  .ranking-items {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .ranking-item {
    flex-direction: row;
    gap: 1rem;
    padding: 1rem;
    min-height: 80px;
  }
  
  .ranking-thumbnail {
    width: 70px;
    height: 45px;
  }
  
  .ranking-details h4 {
    font-size: 0.95rem;
  }
  
  .ranking-details p {
    font-size: 0.8rem;
    -webkit-line-clamp: 1;
    line-clamp: 1;
  }
}

/* Bottom Player */
.bottom-player {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 90px;
  background: linear-gradient(180deg, #1a1a1a 0%, #0a0a0a 100%);
  border-top: 1px solid #282828;
  display: flex;
  align-items: center;
  padding: 0 2rem;
  z-index: 1000;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.5);
}

.player-left {
  flex: 1;
  display: flex;
  align-items: center;
  min-width: 0;
  max-width: 350px;
}

.current-track-info {
  display: flex;
  align-items: center;
  gap: 1rem;
  width: 100%;
  min-width: 0;
}

.track-artwork {
  width: 60px;
  height: 60px;
  border-radius: 8px;
  overflow: hidden;
}

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

.default-player-artwork {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #1db954, #1ed760);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
}

.track-details {
  flex: 1;
  min-width: 0;
}

.track-title {
  font-weight: 600;
  color: #ffffff;
  font-size: 0.9rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.track-artist {
  font-size: 0.8rem;
  color: #b3b3b3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.favorite-btn {
  background: none;
  border: none;
  color: #b3b3b3;
  font-size: 1.1rem;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.favorite-btn:hover {
  color: #1db954;
  background: rgba(29, 185, 84, 0.1);
}

.player-center {
  flex: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  padding: 0 2rem;
}

.player-controls {
  display: flex;
  align-items: center;
  justify-content: center;
}

.player-info {
  flex: 1;
  display: flex;
  justify-content: center;
  min-width: 0;
}

.stream-stats {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  justify-content: center;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: #b3b3b3;
  white-space: nowrap;
}

.stat-item i {
  color: #1db954;
  font-size: 0.9rem;
}

.stat-live {
  color: #ef4444;
  font-weight: 600;
}

.live-dot-small {
  width: 6px;
  height: 6px;
  background: #ef4444;
  border-radius: 50%;
  animation: pulse 2s infinite;
}

.control-btn {
  background: none;
  border: none;
  color: #b3b3b3;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 50%;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.control-btn:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
}

.play-btn {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #1db954, #1ed760);
  color: white;
  font-size: 1.4rem;
  box-shadow: 0 4px 15px rgba(29, 185, 84, 0.3);
}

.play-btn:hover {
  background: linear-gradient(135deg, #1ed760, #1db954);
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(29, 185, 84, 0.5);
}

.player-right {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.5rem;
  max-width: 200px;
}

.player-extras {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.volume-control {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.volume-slider-container {
  width: 100px;
}

.volume-slider {
  width: 100%;
  height: 4px;
  background: #404040;
  border-radius: 2px;
  outline: none;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
}

.volume-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 12px;
  height: 12px;
  background: #1db954;
  border-radius: 50%;
  cursor: pointer;
}

.volume-slider::-moz-range-thumb {
  width: 12px;
  height: 12px;
  background: #1db954;
  border-radius: 50%;
  cursor: pointer;
  border: none;
}

/* Loading States */
.loading-content,
.loading-tracks {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3rem;
  color: #b3b3b3;
}

.loading-content i,
.loading-tracks i {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #1db954;
}

/* Loading Overlay */
.loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, #121212 0%, #1a1a1a 25%, #1db954 50%, #1ed760 75%, #191414 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 1;
  visibility: visible;
  transition: all 0.5s ease;
}

.loading-overlay.hidden {
  opacity: 0;
  visibility: hidden;
}

.loading-content {
  text-align: center;
  color: white;
}

.loading-logo {
  width: 150px;
  height: 150px;
  background: linear-gradient(135deg, #1db954, #1ed760);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  margin: 0 auto 30px;
  animation: pulse 2s infinite;
  position: relative;
  overflow: hidden;
}

.loading-logo-image {
  width: 120px;
  height: 120px;
  object-fit: contain;
  border-radius: 50%;
  z-index: 2;
  position: relative;
}

.logo-animation {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.3) 50%, transparent 70%);
  animation: logoShine 2s infinite;
}

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

.loading-content h2 {
  color: white;
  margin-bottom: 25px;
  font-size: 2rem;
  font-weight: 800;
  font-family: 'Inter', sans-serif;
}

.loading-progress {
  width: 350px;
  height: 6px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 3px;
  overflow: hidden;
  margin: 0 auto 25px;
}

.progress-bar {
  height: 100%;
  background: linear-gradient(135deg, #1db954, #1ed760);
  width: 0%;
  animation: progress 3s ease-in-out;
}

@keyframes progress {
  0% { width: 0%; }
  100% { width: 100%; }
}

.loading-content p {
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
  font-size: 1.1rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .sidebar {
    width: 240px;
  }
  
  .player-left,
  .player-right {
    width: 200px;
  }
  
  .content-view {
    padding: 2rem;
  }
  
  .top-bar {
    padding: 1rem 2rem;
  }
}

@media (max-width: 768px) {
  /* Sidebar móvil */
  .sidebar {
    position: fixed !important;
    left: -280px !important;
    top: 0;
    bottom: 0;
    z-index: 200;
    transition: left 0.3s ease;
    width: 280px;
    transform: none !important;
    background: #000000 !important;
    overflow-y: auto;
  }
  
  .sidebar.active {
    left: 0 !important;
    box-shadow: 5px 0 20px rgba(0, 0, 0, 0.8);
  }
  
  /* Botón de menú móvil */
  .nav-toggle {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    z-index: 100 !important;
    position: relative !important;
    visibility: visible !important;
    opacity: 1 !important;
  }
  
  .top-bar-left .nav-toggle {
    display: flex !important;
  }
  
  .main-content {
    margin-left: 0;
  }
  
  .content-area {
    width: 100%;
  }
  
  .top-bar {
    padding: 1rem;
  }
  
  .top-bar-left {
    flex: 1;
  }
  
  .top-bar-right {
    gap: 0.5rem;
  }
  
  .breadcrumb span {
    font-size: 1.2rem;
  }
  
  .live-indicator {
    padding: 0.4rem 0.8rem;
    font-size: 0.8rem;
  }
  
  /* Ocultar contador de oyentes en móvil */
  .listener-count {
    display: none !important;
  }
  
  /* Ocultar botón flotante de PWA en móvil */
  .pwa-floating-button {
    display: none !important;
  }
  
  .current-song-display {
    flex-direction: column;
    text-align: center;
    padding: 1.5rem;
  }
  
  .song-artwork-large {
    width: 150px;
    height: 150px;
  }
  
  .song-details-large h1 {
    font-size: 1.8rem;
  }
  
  .song-details-large p {
    font-size: 1.2rem;
  }
  
  .song-stats {
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
  }
  
  .bottom-player {
    padding: 0 1rem;
    height: auto;
    min-height: 90px;
  }
  
  .player-left {
    max-width: 200px;
  }
  
  .player-center {
    flex-direction: column;
    gap: 0.75rem;
    padding: 0 1rem;
  }
  
  .player-info {
    width: 100%;
  }
  
  .stream-stats {
    gap: 1rem;
    font-size: 0.75rem;
  }
  
  .stat-item {
    font-size: 0.75rem;
  }
  
  .stat-item i {
    font-size: 0.8rem;
  }
  
  .player-right {
    max-width: 100px;
  }
  
  .volume-control {
    display: none;
  }
  
  .podcasts-grid,
  .videocasts-grid,
  .news-feed,
  .sponsors-showcase,
  .promotions-showcase {
    grid-template-columns: 1fr !important;
    gap: 1rem;
  }
  
  /* News cards specific adjustments */
  .news-card {
    max-width: 100%;
  }
  
  .news-card img {
    width: 100%;
    height: auto;
    max-height: 200px;
    object-fit: cover;
  }
  
  .news-card .card-content {
    padding: 1rem;
  }
  
  .news-card h3 {
    font-size: 1.2rem;
    line-height: 1.3;
  }
  
  .news-card p {
    font-size: 0.9rem;
    line-height: 1.5;
  }
  
  .news-card .card-meta {
    flex-direction: column;
    gap: 0.75rem;
    align-items: flex-start;
  }
  
  .read-more-btn {
    width: 100%;
    justify-content: center;
  }
  
  .programs-tabs {
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 0.5rem;
  }
  
  .programs-tab-btn {
    flex-shrink: 0;
  }
  
  .view-header h1 {
    font-size: 2rem;
  }
  
  .view-header p {
    font-size: 1rem;
  }
}

/* Overlay para cerrar sidebar en móvil */
.sidebar-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.8);
  z-index: 150;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  pointer-events: none;
}

.sidebar-overlay.active {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}

@media (min-width: 769px) {
  .sidebar-overlay {
    display: none !important;
  }
}

@media (max-width: 768px) {
  .content-view {
    padding: 1.5rem 1rem;
  }
  
  .content-container {
    padding: 0 0 100px 0;
  }
}

@media (max-width: 480px) {
  .content-view {
    padding: 1rem 0.75rem;
  }
  
  .top-bar {
    padding: 0.75rem;
  }
  
  .breadcrumb span {
    font-size: 1rem;
  }
  
  .live-indicator span {
    display: none;
  }
  
  .live-indicator {
    padding: 0.4rem;
    min-width: auto;
  }
  
  /* Ocultar completamente el contador de oyentes */
  .listener-count {
    display: none !important;
  }
  
  /* Ocultar botón flotante de PWA */
  .pwa-floating-button {
    display: none !important;
  }
  
  /* Ajustar sidebar para móviles pequeños */
  .sidebar {
    width: 280px;
  }
  
  .current-song-display {
    padding: 1rem;
  }
  
  .song-artwork-large {
    width: 120px;
    height: 120px;
  }
  
  .song-details-large h1 {
    font-size: 1.5rem;
  }
  
  .song-details-large p {
    font-size: 1rem;
  }
  
  .song-stats {
    font-size: 0.85rem;
    gap: 0.75rem;
  }
  
  /* Mejorar controles del reproductor */
  .bottom-player {
    height: auto;
    min-height: 70px;
    padding: 0.5rem;
    flex-wrap: wrap;
  }
  
  .player-left {
    flex: 1;
    min-width: 150px;
    max-width: none;
  }
  
  .track-artwork {
    width: 45px;
    height: 45px;
  }
  
  .track-details {
    flex: 1;
    min-width: 0;
  }
  
  .track-title {
    font-size: 0.85rem;
  }
  
  .track-artist {
    font-size: 0.75rem;
  }
  
  .player-center {
    flex: 0 0 auto;
    padding: 0;
    gap: 0.5rem;
  }
  
  .player-controls {
    gap: 0;
  }
  
  .play-btn {
    width: 45px;
    height: 45px;
    font-size: 1.1rem;
  }
  
  .player-info {
    display: none;
  }
  
  .player-right {
    flex: 0 0 auto;
    max-width: none;
  }
  
  .volume-control {
    display: none;
  }
  
  /* Ajustar grids para móviles */
  .podcasts-grid,
  .videocasts-grid,
  .news-feed,
  .sponsors-showcase,
  .promotions-showcase {
    grid-template-columns: 1fr !important;
    gap: 0.75rem;
  }
  
  .content-card {
    padding: 1rem;
  }
  
  .content-card h3 {
    font-size: 1.1rem;
  }
  
  .content-card p {
    font-size: 0.9rem;
  }
  
  /* News cards en pantallas muy pequeñas */
  .news-card img {
    height: auto;
    max-height: 180px;
  }
  
  .news-card .card-content {
    padding: 0.75rem;
  }
  
  .news-card h3 {
    font-size: 1.1rem;
  }
  
  .news-card p {
    font-size: 0.85rem;
  }
  
  .news-date {
    font-size: 0.8rem;
  }
  
  .read-more-btn {
    padding: 0.6rem 1rem;
    font-size: 0.85rem;
  }
  
  .view-header h1 {
    font-size: 1.75rem;
  }
  
  .recently-played-section {
    padding: 1rem;
  }
  
  .recently-played-section h2 {
    font-size: 1.4rem;
  }
  
  .track-item {
    padding: 0.5rem;
    gap: 0.75rem;
  }
  
  .track-number {
    width: 25px;
    font-size: 0.9rem;
  }
  
  .track-artwork {
    width: 45px;
    height: 45px;
    font-size: 1rem;
  }
  
  .track-title {
    font-size: 0.95rem;
  }
  
  .track-time {
    font-size: 0.85rem;
  }
  
  .track-artwork {
    width: 40px;
    height: 40px;
  }
  
  .program-card {
    flex-direction: column;
    padding: 1rem;
  }
  
  .program-card img {
    width: 100%;
    height: auto;
  }
  
  /* Modales responsive */
  .news-modal-content,
  .podcast-modal-content,
  .videocast-modal-content,
  .video-modal-content,
  .anuncio-modal-content {
    width: 95%;
    max-width: 95%;
    max-height: 85vh;
  }
  
  .news-modal-body,
  .podcast-modal-body,
  .videocast-modal-body,
  .video-modal-body,
  .anuncio-modal-body {
    padding: 1rem;
    max-height: 65vh;
  }
  
  .news-modal-header,
  .podcast-modal-header,
  .videocast-modal-header,
  .video-modal-header,
  .anuncio-modal-header {
    padding: 1rem;
  }
  
  .news-modal-title {
    font-size: 1.5rem;
  }
  
  .news-modal-content-text {
    font-size: 1rem;
  }
  
  .video-container iframe,
  .videocast-container iframe {
    height: 250px;
  }
}


/* Window Controls */
.window-controls {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.control-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.control-dot.red { background: #ff5f57; }
.control-dot.yellow { background: #ffbd2e; }
.control-dot.green { background: #28ca42; }

/* Search Container */
.search-container {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 0.5rem 1rem;
  gap: 0.5rem;
  min-width: 300px;
}

.search-container i {
  color: #b3b3b3;
}

.search-container input {
  background: none;
  border: none;
  color: #ffffff;
  outline: none;
  flex: 1;
  font-size: 0.9rem;
}

.search-container input::placeholder {
  color: #b3b3b3;
}

/* Profile and Settings Buttons */
.profile-btn,
.settings-btn {
  background: none;
  border: none;
  color: #b3b3b3;
  font-size: 1.2rem;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.profile-btn:hover,
.settings-btn:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
}

/* Like Button */
.like-btn {
  background: none;
  border: none;
  color: #b3b3b3;
  font-size: 1.1rem;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.like-btn:hover {
  color: #1db954;
  background: rgba(29, 185, 84, 0.1);
}

/* Extra Buttons */
.extra-btn {
  background: none;
  border: none;
  color: #b3b3b3;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 50%;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.extra-btn:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
}

/* Volume Button */
.volume-btn {
  background: none;
  border: none;
  color: #b3b3b3;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.volume-btn:hover {
  color: #ffffff;
}

/* Fix for appearance property */
.volume-slider {
  -webkit-appearance: none;
  appearance: none;
}

/* Breadcrumb */
.breadcrumb {
  display: flex;
  align-items: center;
}

.breadcrumb span {
  font-size: 1.5rem;
  font-weight: 700;
  color: #ffffff;
}

/* Fix for missing grid classes */
.podcasts-grid,
.videocasts-grid,
.promotions-showcase {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

.sponsors-showcase {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
}

/* Social Hub */
.social-hub {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1.5rem;
}

/* Multimedia section removed */

/* Fix for live badge */
.live-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.25rem 0.75rem;
  background: rgba(239, 68, 68, 0.2);
  border: 1px solid #ef4444;
  border-radius: 12px;
  font-size: 0.8rem;
  font-weight: 600;
  color: #ef4444;
}

/* Progress Track */
.progress-track {
  position: relative;
  width: 100%;
  height: 100%;
}

/* Visualizer overlay styles removed */

/* Fix for missing player elements */
.current-track-info {
  display: flex;
  align-items: center;
  gap: 1rem;
  width: 100%;
}

.player-extras {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Ensure sidebar is properly positioned */
.sidebar {
  flex-shrink: 0;
}

/* Content container should scroll - duplicate removed */

/* Fix bottom player positioning */
.bottom-player {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 90px;
  background: #181818;
  border-top: 1px solid #282828;
  display: flex;
  align-items: center;
  padding: 0 1rem;
  z-index: 1000;
}/* Fi
x for large screens */
@media (min-width: 1025px) {
  .content-view {
    display: none;
  }
  
  .content-view.active {
    display: block;
  }
  
  .sidebar {
    position: relative;
    left: 0;
    transform: none;
  }
  
  .nav-toggle {
    display: none;
  }
  
  .content-container {
    padding: 0 0 120px 0;
  }
}

/* Ensure content is visible */
.content-view {
  min-height: 400px;
}

.loading-content {
  min-height: 200px;
}

/* Debug styles removed *//* En
d of file */


/* Loading Screen Personalizado - Template 3 */
.loading-logo {
  background: linear-gradient(135deg, #1e1e1e, #121212) !important;
}

.progress-bar {
  background: linear-gradient(135deg, #e74c3c, #c0392b) !important;
}

.loading-overlay {
  background: linear-gradient(135deg, #1e1e1e, #0a0a0a) !important;
}

/* TV Online Styles */
.tv-online-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.tv-mode {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  padding: 2rem;
  border: 1px solid #282828;
  width: 100%;
  box-sizing: border-box;
}

.tv-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #282828;
}

.tv-header i {
  font-size: 2rem;
  color: #1db954;
}

.tv-header h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #ffffff;
  margin: 0;
}

.video-player-container {
  position: relative;
  width: 100%;
  background: #000000;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 1.5rem;
}

.video-player {
  width: 100%;
  height: auto;
  min-height: 400px;
  background: #000000;
  border-radius: 12px;
  display: block;
}

.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: opacity 0.3s ease;
}

.video-controls {
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-play-btn {
  width: 80px;
  height: 80px;
  background: rgba(29, 185, 84, 0.9);
  border: none;
  border-radius: 50%;
  color: white;
  font-size: 2rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(29, 185, 84, 0.3);
}

.video-play-btn:hover {
  background: #1db954;
  transform: scale(1.1);
  box-shadow: 0 6px 25px rgba(29, 185, 84, 0.5);
}

.tv-status {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: #1db954;
  font-weight: 500;
}

.status-dot {
  width: 8px;
  height: 8px;
  background: #1db954;
  border-radius: 50%;
  animation: pulse 2s infinite;
}

.tv-unavailable {
  text-align: center;
  padding: 4rem 2rem;
  color: #b3b3b3;
}

.tv-unavailable i {
  font-size: 4rem;
  color: #666666;
  margin-bottom: 1.5rem;
}

.tv-unavailable h3 {
  font-size: 1.5rem;
  color: #ffffff;
  margin-bottom: 1rem;
}

.tv-unavailable p {
  font-size: 1rem;
  line-height: 1.6;
  max-width: 400px;
  margin: 0 auto;
}

/* Responsive TV Styles */
@media (max-width: 768px) {
  .tv-mode {
    padding: 1.5rem;
    border-radius: 12px;
  }
  
  .tv-header {
    margin-bottom: 1.5rem;
  }
  
  .tv-header i {
    font-size: 1.5rem;
  }
  
  .tv-header h3 {
    font-size: 1.3rem;
  }
  
  .video-player {
    min-height: 250px;
  }
  
  .video-play-btn {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
  }
  
  .tv-unavailable {
    padding: 3rem 1rem;
  }
  
  .tv-unavailable i {
    font-size: 3rem;
  }
  
  .tv-unavailable h3 {
    font-size: 1.3rem;
  }
  
  .tv-unavailable p {
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .tv-mode {
    padding: 1rem;
  }
  
  .video-player {
    min-height: 200px;
  }
  
  .video-play-btn {
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
  }
  
  .tv-unavailable {
    padding: 2rem 0.5rem;
  }
  
  .tv-unavailable i {
    font-size: 2.5rem;
  }
  
  .tv-unavailable h3 {
    font-size: 1.2rem;
  }
}