html, body {
height: 100%;
margin: 0;
padding: 0;
font-family: 'Poppins', Arial, sans-serif;
background: url('fondo.jpg') no-repeat center center fixed;
background-size: cover;
color: #fff;
box-sizing: border-box;
}

body {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
min-height: 100vh;
min-width: 100vw;
position: relative;
overflow-x: hidden;
padding-top: 0;
}

.topbar {
position: absolute;
top: 0;
left: 0;
width: 100vw;
padding: 10px 0;
background: linear-gradient(90deg, #320082 0%, #029fdc 100%);
box-shadow: 0 2px 8px rgba(0,0,0,0.25);
font-size: 1.1rem;
font-weight: 400;
letter-spacing: 2px;
text-align: center;
text-transform: uppercase;
user-select: none;
z-index: 10;
}

#fechahora {
font-family: 'Montserrat', Arial, sans-serif;
font-weight: 700;
letter-spacing: 1.5px;
}

.contenido {
position: relative;
background: rgba(25, 32, 48, 0.6);
border-radius: 20px;
padding: 30px 100px 30px 100px;
display: flex;
flex-direction: column;
align-items: center;
box-shadow: 0 0 20px rgba(0,0,0,0.6);
max-width: 80vw;
z-index: 1;
overflow: hidden;
margin-bottom: 10px;
margin-top: 10px;
}

.contenido img {
width: 210px;
max-width: 150%;
height: auto;
margin-bottom: 10px;
filter: drop-shadow(0 4px 20px rgba(0,0,0,0.7));
position: relative;
z-index: 2;
}

#audio-player {
width: 150%;
max-width: 360px;
margin-bottom: 10px;
position: relative;
z-index: 2;
}

#streamAudio {
width: 100%;
border-radius: 8px;
outline: none;
}

#zeno-metadata {
font-size: 1rem;
color: #ffd966;
text-align: center;
margin-top: 1px;
user-select: none;
}

#backgroundWaves {
position: fixed;
bottom: 50px;
left: 0;
width: 154vw;
height: 50px;
z-index: 10;
pointer-events: none;
background: transparent;
display: block;
}

.aviso-proximamente {
font-family: 'Poppins', Arial, sans-serif;
font-weight: 900;
font-size: 2.5rem;
color: #ffcc00;
text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.85),
0 0 12px rgba(255, 204, 0, 0.8);
margin-bottom: 0;
user-select: none;
text-align: center;
z-index: 5;
pointer-events: none;
}

.bottombar {
position: fixed;
bottom: 0;
left: 0;
width: 100vw;
height: 48px;
padding: 5px 0 0 0;
background: linear-gradient(90deg, #320082 0%, #029fdc 100%);
box-shadow: 0 -2px 8px rgba(0,0,0,0.2);
text-align: center;
font-family: 'Poppins', Arial, sans-serif;
z-index: 11;
user-select: none;
display: flex;
justify-content: center;
align-items: center;
}

.bottombar a {
font-size: 1.45rem;
letter-spacing: 1px;
text-decoration: none;
font-weight: 400;
color: #fff;
text-transform: lowercase;
-webkit-background-clip: text;
-webkit-text-fill-color: white;
transition: all 0.5s ease;
cursor: pointer;
user-select: auto;
pointer-events: auto;
outline-offset: 3px;
line-height: 26px;
}

.bottombar a:hover,
.bottombar a:focus-visible {
background: linear-gradient(90deg, red, orange, yellow, green, cyan, blue, violet);
background-size: 400%;
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
animation: rainbow-move 5s linear infinite;
text-shadow: none;
outline: 2px solid #d2fffa;
outline-offset: 5px;
border-radius: 4px;
}

@keyframes rainbow-move {
0% { background-position: 0% 50%; }
100% { background-position: 100% 50%; }
}

@media (max-width: 900px) {
.contenido {
padding: 40px 40px;
}
.contenido img {
width: 140px;
}
#audio-player {
max-width: 320px;
}
.aviso-proximamente {
font-size: 2rem;
}
}

@media (max-width: 600px) {
.contenido {
padding: 30px 20px;
}
.contenido img {
width: 100px;
}
#audio-player {
max-width: 50%;
}
.aviso-proximamente {
font-size: 1.6rem;
}
}

#tv-streaming-tab {
  position: fixed;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  background-color: #029fdc;
  border-top-left-radius: 8px;
  border-bottom-left-radius: 8px;
  display: flex;
  justify-content: left;
  align-items: center;
  cursor: pointer;
  box-shadow: 0 0 8px rgba(2, 159, 220, 0.8);
  z-index: 15;
  overflow: hidden;
  transition: width 0.3s ease;
  white-space: nowrap;
}

#tv-streaming-tab:hover {
  width: 190px;
  cursor: default;
  justify-content: flex-start;
  padding-left: 10px;
}

#btn-streaming-tv {
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  color: white;
  font-size: 24px;
  cursor: pointer;
  flex-shrink: 0;
}

#tv-streaming-menu {
  color: white;
  font-weight: bold;
  font-size: 1rem;
  margin-left: 10px;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  user-select: none;
}

#tv-streaming-tab:hover #tv-streaming-menu {
  opacity: 1;
  pointer-events: auto;
}
