body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background-color: #350525;
}

/* Box Superior con imagen principal */
#box-superior {
  background-color: none;
  padding: 0;
}

#box-superior img {
  width: 100%;
  height: auto;
  display: block;
}

.seo-title {
  position: absolute;
  left: -9999px;
}

/* Box de botones horizontales */
#box-botones {
  display: flex;
  align-items: center;
  /* Cambiar space-between por gap para que no se estiren demasiado */
  gap: 20px;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  padding: 5px 10px; /* opcional, para un poco de espacio interno */
}

/* Contenedor de los botones principales */
#subbox-botones {
  flex: 3;
  display: flex;
  gap: 10px;
  align-items: center;
}

/* Contenedor para el botón donar */
#subbox-donar {
  flex: 1;
  display: flex;
  justify-content: center; /* o flex-end si querés que quede pegado a la derecha */
  align-items: center;
}

/* Contenedor extra (reproductor música) */
#subbox-extra {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

/* Estilo para los botones de navegación */
#subbox-botones button {
  padding: 10px 20px;
  margin: 5px 0;
  font-size: 16px;
  cursor: pointer;
  color: white;
  background-color: #555;
  border: none;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

/* Hover para los botones */
#subbox-botones button:hover {
  background-color: #777;
}

/* Contenedor inferior: divide en dos columnas */
#contenedor-inferior {
  display: flex;
  flex-wrap: wrap;
  padding: 20px;
  gap: 20px;
}

/* 3/4 de ancho: información principal */
#box-info-detallada {
  flex: 3;
  background-color: white;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0,0,0,0.2);
  min-width: 250px;
}

/* 1/4 de ancho: miniaturas/info breve */
#box-miniaturas {
  flex: 1;
  background-color: #eee;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
  min-width: 200px;
}

#box-miniaturas img {
  max-width: 100%;
  margin-bottom: 10px;
  border-radius: 5px;
}

.img-mantenimiento {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(77, 0, 64, 0.425);
}

#box-miniaturas img {
  cursor: pointer;
  transition: transform 0.2s ease;
}

#box-miniaturas img:hover {
  transform: scale(1.05);
}

.galeria-imagenes {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin: 10px 0;
  flex-wrap: wrap;
}

.galeria-imagenes img {
  width: 19%; 
  border-radius: 5px;
  object-fit: cover;
  cursor: pointer;
  transition: transform 0.3s;
}

.galeria-imagenes img:hover {
  transform: scale(1.05);
}

.contenedor-video {
  margin-top: 20px;
}

.contenedor-video {
  position: relative;
}

.boton-steam {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  background-color: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 10px 20px;
  border: none;
  text-decoration: none;
  font-weight: bold;
  z-index: 2;
  border-radius: 5px;
}

.video-fondo {
  width: 100%;
  display: block;
}

#reproductor-musica {
  background-color: #5a0253;
  color: #fff;
  padding: 5px 15px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  max-width: 100%;
  height: 32px;
}

#btn-play {
  background-color: #5a0147;
  border: none;
  color: white;
  padding: 1px 1px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 16px;
}

#btn-play:hover {
  background-color: #af00a6;
}

#titulo-cancion {
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 140px;
}

hr {
  border: none;
  border-top: 2px solid #410038; /* o el color que prefieras */
  margin: 8px 0;
  width: 100%;
}

.games-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap; /* para que en pantallas chicas se apilen */
  margin-top: 20px;
}

.game-item {
  text-align: center;
  cursor: pointer;
}

.game-item img {
  width: 200px; /* tamaño que quieras */
  height: auto;
  border-radius: 10px;
  transition: transform 0.2s;
}

.game-item img:hover {
  transform: scale(1.05);
}

.game-item p {
  margin-top: 8px;
  font-weight: bold;
}

.video-fondo-iframe-wrapper {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 ratio para que mantenga la proporción */
  overflow: hidden;
  border-radius: 10px; /* Igual que tu video actual, opcional */
  box-shadow: 0 0 10px rgba(0,0,0,0.2);
  margin-top: 10px;
}

.video-fondo-iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none; /* Para que no interfiera con clicks */
}

.noticia {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
  gap: 15px;
}

.noticia-izquierda {
  flex-direction: row;
}

.noticia-derecha {
  flex-direction: row-reverse;
}

.imagen-noticia {
  width: 150px;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
}

.texto-noticia {
  max-width: 70%;
}

.fecha-noticia {
  font-weight: bold;
  color: #490043;
  margin: 0 0 6px 0;
  font-size: 0.9em;
  font-family: 'Arial', sans-serif;
}

.eventos-container {
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding-bottom: 50px;
}

.evento h3 {
  margin-bottom: 10px;
  color: #490043;
}

.galeria {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.galeria img.mini-img {
  width: 100px;
  height: 70px;
  object-fit: cover;
  cursor: pointer;
  border: 2px solid #fff;
  border-radius: 4px;
  transition: transform 0.2s;
}

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.img-grande {
  max-width: 90%;
  max-height: 90%;
  border: 3px solid #fff;
  border-radius: 6px;
  cursor: zoom-out;
}

.banner-home {
  background-image: url('Recursos/Banner-Home.webp');
  background-size: auto 150px;
  background-position: center top;
  background-repeat: no-repeat;

  height: 150px; 
  display: flex;
  align-items: center;
  justify-content: center;

  color: #490043;
  text-align: left;
  font-size: 1.5em;
  font-weight: bold;
  border-radius: 8px 8px 0 0;
}

.banner-games {
  background-image: url('Recursos/Banner-Games.webp');
  background-size: auto 150px;
  background-position: center top;
  background-repeat: no-repeat;

  height: 150px; 
  display: flex;
  align-items: center;
  justify-content: center;

  color: #490043;
  text-align: left;
  font-size: 1.5em;
  font-weight: bold;
  border-radius: 8px 8px 0 0;
}

@media (max-width: 900px) {

  #box-botones {
    flex-direction: column;
    align-items: stretch;
  }

  #subbox-botones {
    justify-content: center;
    flex-wrap: wrap;
  }

  #subbox-extra {
    justify-content: center;
  }

  #contenedor-inferior {
    flex-direction: column;
  }

  #box-info-detallada,
  #box-miniaturas {
    width: 100%;
  }

  .galeria-imagenes img {
    width: 48%;
  }

  .game-item img {
    width: 150px;
  }

  .imagen-noticia {
    width: 100px;
  }

}

