/* Reset básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body {
    font-family: Arial, sans-serif;
    background: black;
    color: white;
    
  }

/* 🔹 Fondo de Ondas */
#wave-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  overflow: hidden;
}

#wave-background svg {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 200%;
  animation: waveAnimation 8s infinite linear;
}

@keyframes waveAnimation {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* 🔹 Fondo de Ecualizador */
#equalizer-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: -1;
}

.bar {
  width: 15px;
  height: 30px;
  background: fuchsia;
  animation: equalizerAnimation 1.5s infinite ease-in-out alternate;
}

.bar:nth-child(1) { animation-duration: 1s; }
.bar:nth-child(2) { animation-duration: 1.2s; }
.bar:nth-child(3) { animation-duration: 0.8s; }
.bar:nth-child(4) { animation-duration: 1.5s; }
.bar:nth-child(5) { animation-duration: 1.1s; }
.bar:nth-child(6) { animation-duration: 0.9s; }
.bar:nth-child(7) { animation-duration: 1.3s; }
.bar:nth-child(8) { animation-duration: 1.4s; }
.bar:nth-child(9) { animation-duration: 1.6s; }
.bar:nth-child(10) { animation-duration: 1s; }

@keyframes equalizerAnimation {
  0% { height: 20px; }
  100% { height: 100px; }
}
  
  /* Encabezado */
  header {
    background: black;
    padding: 20px;
  }
  
  .header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    background-color: purple;
  }
  
  /* Logo */
  .logo img {
    max-width: 200px;
  }
  
  .radio-title {
    text-align: center;
    font-size: 24px;
    font-weight: bold;
    color: white; /* Cambia el color según tu diseño */
    margin: 10px 0;
  }
  
  /* Contenedor para la imagen y la información */
  .info-container {
    display: flex;
    align-items: center;
    background: violet;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    width: 100%;
    max-width: 500px;
    margin-top: 15px;
  }
  
  .img-container {
    flex-shrink: 0;
    margin-right: 15px;
  }
  
  .dj-img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #333;
  }
  
  .player-box {
    flex: 1;
  }
  
  .player-box audio {
    width: 90%;
    margin-bottom: 10px;
  }
  
  .info p {
    margin: 5px 0;
  }

  .listener-count {
    transition: color 0.3s ease-in-out, transform 0.3s ease-in-out;
  }
  
  /* Navbar centrado */
  .nav-container {
    max-width: 600px;
    margin: 20px auto;
  }
  
  .navbar {
    display: flex;
    justify-content: space-around;
    list-style: none;
    background: black;
    border-radius: 5px;
    overflow: hidden;
  }
  
  .navbar li {
    position: relative;
  }
  
  .navbar a {
    display: block;
    padding: 15px 20px;
    color: #fff;
    text-decoration: none;
    transition: transform 0.3s ease, background 0.3s ease;
  }
  
  .navbar a:hover {
    transform: translateY(-5px);
    background: white;
  }
  
  /* Secciones principales */
  .content-section {
    max-width: 1000px;
    margin: 20px auto;
    padding: 20px;
    /* background: #fff; */
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  }

  /* Espaciado y estructura para el contenedor inferior */
.request-timeline-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px; /* Espacio entre los elementos */
  margin-top: 70px;
  flex-wrap: wrap; /* Se adapta en dispositivos pequeños */
}

/* Contenedor de la solicitud */
.song-request {
  max-width: 400px;
  margin: 20px auto;
  flex: 1;
  padding: 15px;
  border: 2px solid #ff4500; /* Borde en color vibrante */
  border-radius: 10px;
  background-color: rgba(0, 0, 0, 0.8); /* Fondo oscuro semi-transparente */
  text-align: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Estilo de etiquetas y campos de entrada */
.song-request .form-group {
  margin-bottom: 15px;
  text-align: left;
}

.song-request label {
  font-weight: bold;
  color: #fff;
  display: block;
  margin-bottom: 5px;
}

.song-request input {
  width: 100%;
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 5px;
}

/* Botón estilizado */
.song-request button {
  background-color: #ff4500; /* Naranja vibrante */
  color: white;
  padding: 10px 15px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  width: 100%;
  font-size: 16px;
}

.song-request button:hover {
  background-color: #e03e00;
}

/* Imagen debajo del formulario */
.song-request img {
  width: 200px;
  border-radius: 10px;
}

/* Chat */
.chat-container {
  width: 100%;
  max-width: 400px;
  background: #1e1e1e;
  color: white;
  padding: 10px;
  border-radius: 8px;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
}

#chat-box {
  height: 300px;
  overflow-y: auto;
  padding: 10px;
  border-radius: 5px;
  margin-bottom: 10px;
}

.message {
  padding: 5px;
  margin: 5px 0;
  border-radius: 5px;
  background: #444;
}

#chat-input {
  width: 90%;
  padding: 8px;
  margin-top: 10px;
  border-radius: 5px;
  border: none;
}

#send-btn {
  margin-top: 10px;
  padding: 8px 15px;
  border: none;
  background-color: #0084ff;
  color: white;
  cursor: pointer;
  border-radius: 5px;
}

/* Estilo para el widget de X (Twitter) */
/* Contenedor Inferior: Widgets de X y Discord */
.bottom-container {
  display: flex;
  justify-content: space-between; /* Espaciado uniforme */
  gap: 5px; /* Espacio entre los widgets */
}

/* Tamaño de los Widgets */
.twitter-timeline-container{  
  flex: 1; /* Ambos ocupan el mismo espacio */
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
  text-align: center;
}

.discord-widget-container {
  flex: 1; /* Ambos ocupan el mismo espacio */
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
  text-align: center;
}

.discord-widget-container iframe {
  width: 100%;
  height: 100%;
}

.discord-button {
  position: absolute;
  bottom: 10px;
  right: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background-color: #5865F2;
  border-radius: 50%;
  text-decoration: none;
  transition: background 0.3s, transform 0.2s;
}

.discord-button svg {
  width: 16px;
  height: 16px;
  fill: white;
}

.discord-button:hover {
  background-color: #4752C4;
  transform: scale(1.1);
}

/* Estilo de los botones de las redes sociales */
.discord-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 10px;
  padding: 10px 15px;
  font-size: 16px;
  color: white;
  background-color: #5865F2;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: background 0.3s, transform 0.2s;
}

.discord-button svg {
  width: 24px;
  height: 24px;
  fill: white;
}

.discord-button:hover {
  background-color: #4752C4;
  transform: scale(1.05);
}

/* Cartas de la sección Equipo */
  .rango-container {
    margin-bottom: 30px;
    text-align: center;
  }
  
  .card-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
  }
  
  .team-card {
    background: purple;
    border-radius: 10px;
    padding: 15px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
  }
  
  .team-card:hover {
    transform: scale(1.05);
  }
  
  .team-card img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
  }
  
  .team-card p {
    margin-top: 10px;
    font-weight: bold;
    color: white;
  }

  /* Cartas de la sección Alianzas */
  .alianzas-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, max-content)); /* Evita que las tarjetas se expandan más de su contenido */
    gap: 20px;
    justify-content: center;
    text-align: center;
    padding: 20px;
  }
  
  .alianza-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: purple;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out;
    overflow: hidden;
  }
  
  .alianza-card img {
    width: 100%;
    height: 200px; /* Altura fija para todas las imágenes */
    object-fit: cover; /* Recorta la imagen para llenar el espacio */
    border-radius: 10px 10px 0 0;
  }
  
  .alianza-card p {
    padding: 10px;
    font-size: 18px;
    font-weight: bold;
    background: purple;
  }
  
  .alianza-card:hover {
    transform: scale(1.05);
  }

  /* Carrusel */
  .carousel-container {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 10px;
  }
  
  .carousel {
    display: flex;
    transition: transform 0.5s ease;
  }
  
  .carousel-item {
    min-width: 100%;
  }
  
  .carousel-item img {
    width: 100%;
    display: block;
  }
  
  .carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    border: none;
    color: #fff;
    padding: 10px;
    cursor: pointer;
    border-radius: 50%;
    z-index: 1;
  }
  
  .carousel-btn.prev {
    left: 10px;
  }
  
  .carousel-btn.next {
    right: 10px;
  }
  
  /* Vacantes: Formulario */
  .vacantes-container {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
  }
  
  .vacantes-logo img {
    max-width: 150px;
    margin-bottom: 20px;
  }
  
  #vacantesForm {
    display: flex;
    flex-direction: column;
    gap: 10px;
    text-align: left;
  }
  
  #vacantesForm label {
    font-weight: bold;
  }
  
  #vacantesForm input,
  #vacantesForm textarea {
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 3px;
    width: 100%;
  }
  
  #vacantesForm button {
    padding: 10px;
    background: #333;
    color: #fff;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    transition: background 0.3s;
  }
  
  #vacantesForm button:hover {
    background: #555;
  }
  
  /* Redes Sociales */
  footer {
    text-align: center;
    padding: 20px;
    background: #111;
    color: white;
  }
  
  .social-icons a {
    margin: 0 10px;
    display: inline-block;
  }

  .copyright {
    margin-top: 10px;
    font-size: 14px;
    color: #bbb;
  }

  /* Adaptabilidad para dispositivos móviles */
  @media (max-width: 768px) {
    .header-content {
      flex-direction: column;
      align-items: center;
    }
  
    .info-container {
      flex-direction: column;
      align-items: center;
    }
  
    .img-container {
      margin: 0 0 15px 0;
    }
  }