body {
    margin: 0;
    padding: 0;
    background-color: #121212;
    font-family: 'Poppins', sans-serif;
       overflow-x: hidden;
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
.logo-container {
    padding: 20px;
    text-align: center;
    background-color: #1e1e1e;
}

/* Estilo del logo */
.logo {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 48px;
    margin: 0;
}

/* Parte blanca: "Urban" */
.logo-urban {
    color: white;
}

/* Parte azul oscuro: "dle" */
.logo-dle {
    color: #2978b5;
}
.logo-link {
    text-decoration: none; /* Eliminar el subrayado del enlace */
    display: inline-block; /* Asegurarse de que el enlace abarque el logo completo */
}

.main-container {
    display: flex;
    justify-content: center;
    flex-direction: column; 
    align-items: center;
    padding: 40px 20px;
}

#resultados {
    margin-top: 10px;
    width: 100%;
    padding: 20px;
    background: #1e1e1e; /* Fondo oscuro como el header */
    border-radius: 12px;
    max-width: 550px;
    z-index: 10;
    display: none;
    box-shadow: 0 0 10px rgba(0,0,0,0.5);
}

.resultado {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px;
    background: #2c2c2c; /* Fondo del input */
    margin-bottom: 10px;
    border-radius: 10px;
    font-size: 18px;
    color: #ffffff;
    transition: background 0.3s ease;
    border: 1px solid #444;
    cursor: pointer; /* Añadido para que se vea como clickeable */
}

.resultado:hover {
    background: #3a3a3a;
}

.search-form {
    width: 100%;
    max-width: 600px;
}

/* Campo de texto grande y moderno */
.search-input {
    width: 100%;
    padding: 20px;
    font-size: 20px;
    border: none;
    border-radius: 12px;
    background-color: #2c2c2c;
    color: white;
    outline: none;
    box-shadow: 0 0 10px rgba(0,0,0,0.3);
}

.search-input::placeholder {
    color: #888;
}

.sugerencias-box {
    margin-top: 10px;
    width: 100%;



    max-width: 550px;
    z-index: 10;
    display: none;
    box-shadow: 0 0 10px rgba(0,0,0,0.5);
    



    align-items: center;
    gap: 15px;
    padding: 12px;
    background: #2c2c2c; /* Fondo del input */
    margin-bottom: 10px;
    border-radius: 10px;
    font-size: 18px;
    color: #ffffff;
    transition: background 0.3s ease;
    border: 1px solid #444;
    cursor: pointer; /* Añadido para que se vea como clickeable */
}

.sugerencia-item {
    padding: 8px 12px;
    font-family: 'Bebas Neue', sans-serif;
    cursor: pointer;
    font-size: 22px;
    
}

.sugerencia-item:hover {
    background: #3a3a3a;
}

.sugerencia-item div {
    padding: 10px;
    color: #333;

}

.song-title {

    font-size: 26px;
    color: white;
    padding-bottom: 4%;

}

.contenedor-artistas {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.artista-item {
    width: 300px;               /* Ancho fijo */
    height: 60px;               /* Alto fijo */
    background-color: #222;
    color: #fff;
    border-radius: 10px;
    font-weight: bold;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    transition: transform 0.2s ease, background-color 0.3s ease;
}

.correcto {
    background-color: #28a745 !important; /* Verde */
    color: #fff;
}

.incorrecto {
    background-color: #dc3545 !important; /* Rojo */
    color: #fff;
}


.info-icon {
    display: inline-block;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: #0ff;
    color: white;
    font-size: 18px;
    text-align: center;
    line-height: 30px;
    cursor: pointer;
    margin-left: 20px;
    transition: background-color 0.3s;
  }
  
  .info-icon:hover {
    background-color: #ff5733; /* Cambio de color al pasar el ratón */
  }
  
  /* Estilos del desplegable de la explicación */
  .info-icon {
    display: inline-block;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: #3a3a3a; /* Gris oscuro acorde a la página */
    color: white;
    font-size: 18px;
    text-align: center;
    line-height: 30px;
    cursor: pointer;
    margin-left: 40px; /* Lo movemos un poco más a la derecha */
    transition: background-color 0.3s;
  }
  
  .info-icon:hover {
    background-color: #0a74b6; /* Azul oscuro para el hover */
  }
  
  /* Estilos del desplegable de la explicación */
  .game-info {
    display: none; /* Oculto por defecto */
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(0, 0, 0, 0.8);
    padding: 20px;
    border-radius: 10px;
    max-width: 80%;
    max-height: 80%;
    overflow-y: auto;
    color: white;
    z-index: 9999;
    animation: fadeIn 0.5s ease;
  }
  
  .game-info .info-content {
    position: relative;
  }
  
  .game-info h2 {
    font-size: 24px;
    margin-bottom: 10px;
  }
  
  .game-info p {
    font-size: 18px;
    line-height: 1.5;
  }
  
  /* Botón de cerrar */
  .close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 30px;
    color: white;
    cursor: pointer;
  }
  
  /* Animación de aparición del desplegable */
  @keyframes fadeIn {
    from {
      opacity: 0;
      transform: translate(-50%, -60%);
    }
    to {
      opacity: 1;
      transform: translate(-50%, -50%);
    }
  }

  @keyframes rachaAnim {
    0% { transform: scale(1); }
    50% { transform: scale(1.3); }
    100% { transform: scale(1); }
  }
  #racha-anim.animar {
    animation: rachaAnim 0.5s ease;
  }

  @media (max-width: 700px) {
    .search-form {
      width: 100%;
      padding: 0 15px; /* Espacios laterales */
      box-sizing: border-box;
    }
  
    .search-input {
      width: 100%;
      font-size: 18px;
      padding-right: 16px;
    }
  
    .sugerencias-box,
    #resultados {
      margin: 10px 15px;
      width: auto;
      max-width: 100%;
      box-sizing: border-box;
    }
  
    .contenedor-artistas {
      gap: 10px;
    }
  
    .artista-item {
      width: 100%;
      max-width: 300px;
      font-size: 18px;
    }
  }
  @media (max-width: 400px) {
    .search-input {
      font-size: 16px;  
      padding-right: 14px;    
    }
  
    .search-form {
      padding: 0 10px; 
    }
  
    .sugerencias-box,
    #resultados {
      margin: 5px 10px; 
    }
  
    .artista-item {
      font-size: 16px; 
      padding: 10px;   
    }
  
    .logo {
      font-size: 32px; 
    }
  
    .logo-container {
      padding: 10px;
    }
  
    .info-icon {
      width: 24px;
      height: 24px;
      font-size: 14px;
      line-height: 24px;
    }
  
    .game-info {
      max-width: 90%;
      padding: 15px;
      font-size: 16px;
    }
  }

  .overlay-juegos {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8); /* Fondo oscuro del overlay */
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.ventana-juegos {
  background: #2c2c2c; /* Gris oscuro en lugar del blanco */
  border: 4px solid #003366; /* Borde azul oscuro */
  border-radius: 20px;
  padding: 40px 30px;
  text-align: center;
  box-shadow: 0 0 25px #003366aa;
  animation: zoomIn 0.6s ease;
  max-width: 95%;
  width: 600px;
  max-height: 90%;
  overflow-y: auto;
}

.ventana-juegos h2 {
  font-size: 28px;
  color: #ffffff;
  margin-bottom: 10px;
}

.ventana-juegos p {
  font-size: 18px;
  margin-bottom: 25px;
  color: #dddddd;
}

.botones-juegos {
  display: flex;
  flex-direction: column; /* Uno debajo de otro */
  align-items: center;
  gap: 20px;
  margin-top: 15px;
}

.juego-btn {
  background-color: #003366;
  color: white;
  padding: 20px 30px;
  border-radius: 14px;
  text-decoration: none;
  font-weight: bold;
  font-size: 20px;
  width: 100%; /* Ocupa el ancho del contenedor */
  max-width: 500px;
  box-shadow: 0 0 10px #00336677;
  transition: transform 0.3s, background-color 0.3s;
  box-sizing: border-box;
}
.juego-btn:hover {
  background-color: #005599;
  transform: scale(1.03);
}

.cerrar-juegos {
  margin-top: 30px;
  padding: 12px 20px;
  background-color: #777;
  color: white;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  font-size: 15px;
  transition: background-color 0.3s;
}
.cerrar-juegos:hover {
  background-color: #555;
}

@keyframes zoomIn {
  from {
    transform: scale(0.6);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

@media (max-width: 700px) {
  .ventana-juegos {
    width: 90%;
    padding: 25px 20px;
  }

  .juego-btn {
    font-size: 18px;
    padding: 16px 24px;
  }

  .ventana-juegos h2 {
    font-size: 22px;
  }

  .ventana-juegos p {
    font-size: 16px;
  }
}
@media (max-width: 600px) {
  .ventana-juegos {
    width: 80%;
    padding: 20px 15px;
  }

  .juego-btn {
    font-size: 16px;
    padding: 14px 20px;
    width: 100%; /* Ocupa el ancho del contenedor */
    max-width: 400px;
  }

  .ventana-juegos h2 {
    font-size: 20px;
  }

  .ventana-juegos p {
    font-size: 15px;
  }
}
@media (max-width: 530px) {
  .ventana-juegos {
    width: 80%;
    padding: 20px 15px;
  }

  .juego-btn {
    font-size: 14px;
    padding: 14px 20px;
    width: 100%; /* Ocupa el ancho del contenedor */
    max-width: 300px;
  }

  .ventana-juegos h2 {
    font-size: 20px;
  }

  .ventana-juegos p {
    font-size: 15px;
  }
}

@media (max-width: 400px) {
  .ventana-juegos {
    width: 80%;
    padding: 20px 15px;
  }

  .juego-btn {
    font-size: 13px;
    padding: 14px 20px;
    width: 100%; /* Ocupa el ancho del contenedor */
    max-width: 250px;
  }

  .ventana-juegos h2 {
    font-size: 20px;
  }

  .ventana-juegos p {
    font-size: 15px;
  }
}
.anuncio-inferior {
    max-width: 900px;
    margin: 40px auto;
    padding: 10px 0;
    background-color: #333;

    text-align: center;
    border-radius: 10px;
    font-size: 16px;
}
/* Anuncios laterales fijos */
.anuncios-laterales-contenedor {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
  height: 1000px; /* o lo que necesites para que haya scroll */
  display: flex;
  justify-content: space-between; /* para separar anuncios a ambos lados */
  gap: 20px; /* margen entre anuncios y contenido */
}

.anuncio-lateral {
  position: fixed;
  top: 150px; /* Ajusta según el header */
  width: 200px;  /* Más ancho */
  height: 600px; /* Ajusta según contenido */
  background-color: #222;
   height: calc(100vh - 400px);
  border-radius: 10px;
  box-shadow: 0 0 10px #000;
  z-index: 100;
  padding: 10px;
  color: white;
  font-size: 0.9em;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

/* Anuncios pegados al borde exterior */
.anuncio-izquierdo {
  left: 20px;  /* Pequeño margen desde el borde izquierdo */
}

.anuncio-derecho {
  right: 20px; /* Pequeño margen desde el borde derecho */
}
@media (max-width: 1270px) {
  .anuncio-lateral {
    display: none;
  }
}
@media (max-width: 1100px) {
 .anuncios-laterales-contenedor {
     max-width: 900px;
 }

}
@media (max-width: 900px) {
 .anuncios-laterales-contenedor {
     max-width: 500px;
 }

}
@media (max-width: 600px) {
 .anuncios-laterales-contenedor {
     max-width: 400px;
 }

}
@media (max-width: 400px) {
 .anuncios-laterales-contenedor {
     max-width: 320px;
 }

}