.text-gold {
  color: #ffd780;
}

:root {
  --block-size: 100px;
  /* Tamaño base de los bloques pequeños (10x10) */
  --boss-size: calc(var(--block-size) * 3);
  /* Jefe 30x30 */
}


.main-content {
  padding-left: 0.5rem;

}

.character-grid {
  margin-bottom: 20px;
}

.weapon-card {
  border-radius: 5%;
  overflow: hidden;
  margin-bottom: 20px;

}



.btn-ver-detalles {
  background: black;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 1rem;
  transition: background 0.3s ease;
  margin-bottom: 1rem;
  border: 8px solid black;
}


.contenido-oculto {
  display: none;
  animation: fadeIn 0.4s ease-in-out forwards;
}

.contenido-oculto.visible {
  display: block;
}

.weapon-info {
  padding: 12px;
  color: var(--text-title);
  display: flex;
  flex-direction: column;
  gap: 4px;
  background-color: rgba(0, 0, 0, 0.3);
  text-align: center;
  /* Opcional, para legibilidad */
}

.weapon-image-container {
  width: 100%;
  /* Se ajusta al ancho del contenedor padre */
  aspect-ratio: 3 / 2;
  /* O define altura directamente */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

}

.weapon-name {
  font-size: 1rem;
  font-weight: bold;
  margin: 0;
}

.weapon-type,
.weapon-stats,
.weapon-base,
.weapon-mainstat {
  margin: 0;
  font-size: 1rem;
  color: var(--color-text-secondary);
}

.weapon-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 1.5rem;
}


/* Estilos generales para cualquier slider */
.slider-container {
  position: relative;
  width: 900px;
  max-width: 100%;
  overflow: hidden;
  padding-bottom: 2rem;
}

/* TRACK que contiene todos los slides (solo aplica a slider manual) */
.slider-track {
  display: flex;
  transition: transform 0.4s ease-in-out;
}

/* Slide base (común para manual y automático) */
.slide {
  min-width: 100%;
  display: none;
  object-fit: cover;
}

/* Slide visible */
.slide.active {
  display: block;
}

/* Botones del slider manual */
.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 2rem;
  background: rgba(255, 255, 255, 0.3);
  color: rgb(0, 0, 0);
  border: none;
  padding: 10px;
  cursor: pointer;
  z-index: 2;
}

.slider-btn.left {
  left: 10px;
}

.slider-btn.right {
  right: 10px;
}

/* === Estilos específicos para el slider automático === */
.auto-slider {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  height: auto;
}

.auto-slider .slider-track {
  position: relative;
  width: 100%;
  height: auto;
}

/* Slides en automático están en posición absoluta, pero el activo será relativo para empujar el contenedor */
.auto-slider .slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: auto;
  opacity: 0;
  transition: opacity 1s ease;
  z-index: 0;
  display: block;
}

.auto-slider .slide.active {
  opacity: 1;
  z-index: 1;
  position: relative;
}

/* Imagen dentro del slide: escala correctamente */
.auto-slider .slide img,
.slider-container .slide img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  /* usa "cover" si quieres llenar todo */
}


.grid-social {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 24px;

  max-width: 800px;
  margin-left: 0;
  /* <- elimina el centrado */
  margin-right: auto;
  /* <- opcional, asegura alineación izquierda */
  margin-bottom: 40px;
  /* o el valor que prefieras */
}



.icon-links {
  display: flex;
  gap: 40px;
}

.social-icon {
  width: 80px;
  height: 80px;
  background-color: #ffffff10;
  border: 2px solid #ffffff30;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s, transform 0.3s;
}

.social-icon:hover {
  background-color: #ffffff30;
  transform: scale(1.1);
}

.social-icon img {
  width: 52px;
  height: 52px;
}

/* Contenedor principal del grid */
.section-prox {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(7rem, 1fr));
  gap: 0.5rem;
  padding: 0.5rem;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}


/* Items del grid - Tamaño consistente */
.grid-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(30, 30, 50, 0.7);
  border-radius: 12px;
  padding: 20px 10px;
  border: 1px solid rgba(255, 215, 128, 0.2);
  transition: all 0.3s ease;
  text-decoration: none;
  height: 100%;
  /* Ocupa toda la altura disponible */
  min-height: 60px;
  /* Altura mínima fija */
  box-sizing: border-box;
  /* Incluye padding en dimensiones */
  position: relative;
}

/* Contenedor interno para alineación perfecta */
.grid-item-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

/* Iconos - Tamaño fijo */
.grid-icon {
  width: 2rem;
  height: 2rem;
  object-fit: contain;
  margin-bottom: 12px;
  flex-shrink: 0;
  /* Evita que se reduzcan */
}

/* Texto - Control de tamaño */
.grid-text {
  color: var(--text-light);
  font-size: 0.6rem;
  /* ≈9–10px */
  line-height: 1.1;
  font-weight: 500;
  margin: 0;
  text-align: center;
  width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  /* Máximo 2 líneas */
  -webkit-box-orient: vertical;
  max-height: 2rem;
  /* Altura máxima basada en tamaño de fuente */

  padding: 0 5px;
}

.video-container {
  position: relative;
  padding-bottom: 56.25%;
  /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  margin: 20px 0;
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.redeem-button {
  display: inline-block;
  background-color: #5b8def;
  color: white;
  padding: 10px 20px;
  border-radius: 8px;
  text-decoration: none;

  font-size: 1rem;
  transition: background-color 0.3s ease;
  margin: 1rem auto;
  text-align: center;
}

/* Centrado en bloque */
.redeem-button {
  display: block;
  width: max-content;
  margin-left: auto;
  margin-right: auto;
}


.award-container {
  display: flex;
  flex-wrap: wrap;
  /* Permite que los cards salten de línea */
  gap: 1rem;
  /* Espacio entre cards */
  justify-content: center;
  /* Centrar horizontalmente */
  margin: 20px 0;
}

.award-card {
  display: flex;
  flex-direction: column;
  /* Imagen arriba, texto abajo */
  align-items: center;
  justify-content: center;
  background: #1e1e2f;

  border-radius: 12px;
}

.award-card img {
  width: 70px;
  height: 70px;
  object-fit: contain;
  margin-bottom: 2px;
}

.award-amount {
  font-size: 0.8rem;
  font-weight: bold;
  color: #fff;
  text-align: center;
}

.award-amount img {
  width: 24px;
  /* tamaño de la imagen */
  height: 24px;
  object-fit: contain;
}




/* Contenedor principal de los tabs */
.tabs-container {
  background: #2a2a3a;
  border-radius: 10px;
  width: 100%;
  margin: auto;

  box-sizing: border-box;
}

/* Cabecera de tabs */
.tabs-header {
  display: flex;
  border-bottom: 1px solid #444;
  gap: 4px;
  /* pequeño espacio entre tabs */
  flex-wrap: wrap;
  /* permite que en móviles salten de línea */
}

/* Botones de los tabs */
.tab-btn {
  flex: 1;
  /* distribuye el espacio de manera uniforme */
  max-width: 150px;
  /* límite para textos largos */
  text-align: center;
  padding: 8px 10px;
  font-size: 0.5rem;
  /* tamaño reducido */
  color: #bbb;
  cursor: pointer;
  position: relative;
  transition: color 0.3s;


}

/* Botón activo */
.tab-btn.active {
  color: #fff;
}

.tab-btn.active::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 25%;
  width: 50%;
  height: 3px;
  background: #5f86ff;
  border-radius: 5px;
}

/* Opción para tabs aún más pequeños */
.tab-btn.small {
  font-size: 12px;
  max-width: 120px;
}

/* Contenido de cada tab */
.tab-content {
  display: none;
  padding: 20px;

  color: #ccc;
}

.tab-content.active {
  display: block;
}

/* Caja vacía estilo placeholder */
.empty-box {
  margin-top: 50px;
  font-size: 14px;
  opacity: 0.8;
}