.container {
  max-width: 1600px; /* ancho máximo del container */
  margin: 0 auto; /* centra horizontalmente */
}

.accordion {
  display: flex;
  height: 500px;

  margin-top: 70px;
}

/* Pestañas (verticales, ancho proporcional) */
.tab {
  flex: 3;
  display: flex;
  align-items: stretch; /* que el inner ocupe todo el alto */
  justify-content: center;
  cursor: pointer;
  color: #fff;
  font-weight: bold;
  overflow: hidden;
  border-radius: 20px;
}

.tab-inner {
  display: flex;
  flex-direction: column; /* apila título arriba e imagen abajo */
  justify-content: space-between; /* título arriba, imagen abajo */
  align-items: center;
  width: 100%;
  height: 100%;
  padding: 10px;
  box-sizing: border-box;
}

.tab-title {
  font-size: 1.4em;
  margin-bottom: 10px;
  margin-top: 50px;
}

.tab-inner img {
  height: auto;
  max-width: 100%;
  align-self: center;
}

.content {
  flex: 4;
  padding: 20px;
  text-align: justify;
  display: none;
  color: #fff;
  background-size: cover;
  background-position: center;
  border-radius: 20px;
  position: relative; /* necesario para el overlay */
  overflow: hidden; /* asegura que el overlay no se salga */
  transition: all 0.4s ease; /* transición suave */

  transition: all 0.8s ease; /* transición suave */
  box-shadow: 0 0 40px rgba(0, 200, 255, 0.5); /* halo celeste */
}

.content:hover {
  transition: all 0.8s ease; /* transición suave */
  box-shadow: 0 0 10px rgba(0, 200, 255, 0.5); /* halo celeste */

  transform: scale(1.05); /* zoom pequeño, 5% más grande */
}

/* Overlay oscuro */
.content::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: 20px;
  box-shadow: 0 0 40px rgba(0, 200, 255, 0.5); /* halo celeste */
  opacity: 0;
  transition: opacity 0.4s ease;
}

/* El contenido de texto siempre encima */
.content > * {
  position: relative;
  z-index: 1;
}

.content.active::before {
  opacity: 1; /* aparece el brillo al mostrarse */
}

/* Fondos personalizados */
.content.lunes {
  background-image: url("../img/latamjump.png");
}
.content.martes {
  background-image: url("../img/falguy.jpg");
}
.content.miercoles {
  background-image: url("../img/cajas2.jpg");
}
.content.jueves {
  background-image: url("../img/cajas2.jpg");
}
.content.viernes {
  background-image: url("../img/carrera.jpg");
}
.content.sabado {
  background-image: url("../img/cajas2.jpg");
}
.content.domingo {
  background-image: url("../img/fondo.jpeg");
}

/* Colores de pestañas */
.day1 {
  background: #1e1e1e;
}
.day2 {
  background: #262525;
}
.day3 {
  background: #1e1e1e;
}
.day4 {
  background: #262525;
}
.day5 {
  background: #1e1e1e;
}
.day6 {
  background: #262525;
}
.day7 {
  background: #1e1e1e;
}

.ganador {
  text-align: center;
  margin-top: 40px;
  color: #fff;
  background: rgba(0, 0, 0, 0.4); /* efecto glass oscuro */
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border-radius: 12px;
  padding: 20px;
}

.ganador h2 {
  font-size: 2em;
  margin-bottom: 10px;
}

.ganador .nombre {
  font-size: 1.5em;
  font-weight: bold;
  margin-bottom: 15px;
}

.ganador .copa {
  width: 80px;
  height: auto;
  display: block;
  margin: 0 auto;
}

/* Celda que contiene avatar + nombre */
.player {
  display: flex; /* coloca avatar y nombre en fila */
  align-items: center; /* centra verticalmente */
  gap: 8px; /* espacio entre avatar y nombre */
}

/* Imagen del avatar */
.player .avatar {
  width: 32px; /* tamaño fijo */
  height: 32px;

  object-fit: cover;
}

/* Nombre del jugador */
.player .name {
  color: #fff;
}
