/* ===== ESTILOS EXCLUSIVOS PARA BOLETOS ===== */
.boleto-section {
  padding: 4rem 1rem;
  margin-top: 4rem; /* Añadido para separar de la sección anterior */
}

.boleto-title,
#boletos .peleadores-titulo h2 {
  text-align: center;
  font-size: clamp(2rem, 5vw, 2.8rem);
  color: #000;
  text-transform: uppercase;
  margin-bottom: 1.5rem; /* Aumentado para mejor espaciado */
}

.boleto-title span,
#boletos .peleadores-titulo h2 span {
  color: #d40a0a;
  font-weight: 700;
}

.boleto-subtitle,
#boletos .peleadores-titulo .subtema {
  color: #555;
  text-align: center;
  max-width: 600px;
  margin: 0 auto 2.5rem; /* Aumentado para mejor separación */
  font-size: clamp(1rem, 3vw, 1.2rem);
}

.boletos-wrapper {
  position: relative;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  overflow: hidden;
  padding: 0 1rem;
}

.boletos-container,
.boletos-carousel {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  gap: 20px;
  padding: 1.5rem 0;
  scroll-padding: 1.5rem;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
  scrollbar-width: none;
}

.boletos-container::-webkit-scrollbar,
.boletos-carousel::-webkit-scrollbar {
  display: none;
}

.boletos-carousel {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc(95% - 20px);
  padding: 1.5rem;
}

/* Tarjetas */
.boleto-card {
  flex: 0 0 95%;
  scroll-snap-align: center;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s, box-shadow 0.3s;
  min-width: 280px;
  max-width: 460px;
}

.boleto-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.boleto-img {
  width: 100%;
  height: 380px;
  object-fit: contain;
  border-bottom: 3px solid #d40a0a;
  background-color: #f8f8f8;
}

.boleto-info {
  padding: 1.5rem;
  text-align: center;
}

.boleto-info h3 {
  color: #d40a0a;
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.boleto-info .precio {
  font-size: 1.8rem;
  font-weight: 700;
  color: #000;
  margin: 0.5rem 0;
}

.boleto-info .zona,
.boleto-info .fecha-hora {
  color: #555;
  font-size: 0.95rem;
  margin: 0.3rem 0;
}

.boleto-info .btn {
  display: inline-block;
  background: #d40a0a;
  color: white;
  padding: 0.8rem 1.5rem;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  margin-top: 1rem;
  transition: all 0.3s;
}

.boleto-info .btn:hover {
  background: #a00808;
  transform: scale(1.05);
}

.slider-dots {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  padding: 1.5rem 0;
}

.slider-dots .dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(204, 204, 204, 0.7);
  cursor: pointer;
  transition: all 0.3s;
}

.slider-dots .dot:hover,
.slider-dots .dot.active {
  background: #d40a0a;
  transform: scale(1.2);
}

.boletos-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 0 0.5rem;
  pointer-events: none;
  z-index: 2;
}

.boletos-nav button {
  pointer-events: all;
  background: rgba(212, 10, 10, 0.7);
  color: white;
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  cursor: pointer;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  transition: all 0.3s;
}

.boletos-nav button:hover {
  background: #d40a0a;
  transform: scale(1.1);
}

/* ===== RESPONSIVE ===== */
@media (min-width: 576px) {
  .boleto-card {
    flex: 0 0 calc(90% - 20px);
    max-width: 440px;
  }
}

@media (min-width: 768px) {
  .boleto-card {
    flex: 0 0 calc(60% - 20px);
    max-width: 460px;
  }

  .boletos-nav {
    display: flex;
  }
}

@media (min-width: 992px) {
  .boleto-card {
    flex: 0 0 calc(33.33% - 20px);
    max-width: 480px;
  }

  .boletos-wrapper {
    padding: 0 2rem;
  }
}

@media (min-width: 1200px) {
  .boleto-card {
    flex: 0 0 calc(33.33% - 20px);
    max-width: 500px;
  }
}

@media (max-width: 768px) {
  .boleto-title,
  #boletos .peleadores-titulo h2 {
    font-size: 2rem;
    text-align: center;
    line-height: 1.3;
  }

  .boleto-subtitle,
  #boletos .peleadores-titulo .subtema {
    font-size: 1rem;
    text-align: center;
    padding: 0 1rem;
  }
}

@media (min-width: 769px) {
  .boleto-title,
  #boletos .peleadores-titulo h2 {
    font-size: 2.8rem;
  }

  .boleto-subtitle,
  #boletos .peleadores-titulo .subtema {
    font-size: 1.2rem;
  }
}
