.seccion-pack-estadio {
  width: 100%;
  min-height: calc(100vh - 95px); 
  display: flex;
  flex-direction: column;
  justify-content: center; 
  align-items: center;
  gap: auto; 
  padding: 0 0 25px 0;
  box-sizing: border-box;
  overflow-x: hidden; 
  margin-bottom: 5px;
  position: relative;
  min-height: auto !important;
  justify-content: flex-start !important;
  padding: 10px 0 25px 0 !important;
  gap: 0 !important;
}

   
.layout-dividido.estadio-top {
  display: flex !important;
  flex-direction: row !important;
  align-items: center; 
  justify-content: space-between; 
  width: 100%;
  max-width: 1800px; 
  margin: 0 auto;
  box-sizing: border-box;
  gap: 2%; 
}

.texto-estadio {
  flex: 0 0 25%; 
  text-align: left;
}

.contenedor-visor-3d {
  flex: 0 0 35%; 
  position: relative;
  height: 400px;
  cursor: ew-resize;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-left: 5%;
}

.img-angulo {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0;
  pointer-events: none;
  transition: transform 0.3s ease;
  z-index: 1;
  will-change: opacity; 
}

.img-angulo.activa {
  opacity: 1;
  z-index: 2; 
}

.contenedor-visor-3d:hover .img-angulo.activa {
  transform: scale(1.05);
  transition: transform 0.3s ease;
}

.indicador-arrastre {
  position: absolute;
  bottom: 0;
  background: rgba(255, 75, 68, 0.9);
  color: white;
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: bold;
  opacity: 1;
  transition: 0.3s;
  pointer-events: none;
  animation: latidoIndicador 2s infinite;
}

@keyframes latidoIndicador {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

.contenedor-visor-3d:hover .indicador-arrastre {
  opacity: 0; 
}

.texto-estadio h1 {
  color: #FF4B44;
  font-size: 3rem;
  font-family: 'LaLigaOficial', sans-serif;
  margin-top: 10px;
  margin-bottom: 0px;
  font-weight: bold;
  letter-spacing: 1px;
}

.texto-estadio p {
  font-family: 'Nunito', sans-serif; 
  font-size: 0.82rem;      
  line-height: 1.55;       
  margin-bottom: 12px;     
  text-align: left;        
  color: #333333;          
  font-weight: 400;
}

.texto-estadio p strong,
.cabecera-pack-lateral p strong {
  font-weight: 700;
  color: #FF4B44; 
}
   
.contenedor-mini-slider {
  flex: 0 0 32%; 
  position: relative;
  height: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slider-track {
  position: relative;
  width: 250px; 
  height: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
}


.slide-item {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 12px;
  object-fit: cover;
  transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
  pointer-events: none; 
}


.slide-item.activa {
  transform: translateX(0) scale(1); 
  z-index: 4;
  opacity: 1;
  border: 4px solid #FF4B44; 
  pointer-events: auto; 
}

.slide-item.activa:hover {
  transform: translateX(0) scale(1.05); 
  box-shadow: 0 15px 40px rgba(255, 75, 68, 0.4); 
  cursor: pointer;
}


.slide-item.siguiente {
  transform: translateX(40px) scale(0.9); 
  z-index: 3;
  opacity: 0.7; 
}

.slide-item.anterior {
  transform: translateX(-40px) scale(0.9); 
  z-index: 3;
  opacity: 0.7;
}

.slide-item.img-flotante {
  background-color: #ffffff;
  object-fit: contain; 
}

.slide-item.img-flotante.activa {
  border: none;
  filter: drop-shadow(0 15px 30px rgba(40, 167, 69, 0.5));
}

.slide-item.img-flotante.activa:hover {
  filter: drop-shadow(0 20px 45px rgba(40, 167, 69, 0.8));
}


.slide-item.oculta {
  transform: translateX(0) scale(0.8); 
  z-index: 1;
  opacity: 0;
}


.btn-slider {
  position: absolute;
  z-index: 10;
  background: rgba(255, 75, 68, 0.9);
  color: white;
  border: none;
  border-radius: 50%;
  width: 45px;
  height: 45px;
  font-size: 1.4rem;
  cursor: pointer;
  transition: 0.2s;
  display: flex;
  justify-content: center;
  align-items: center;
}

.btn-slider:hover {
  background: #FF4B44;
  transform: scale(1.1); 
}

.btn-prev { left: -45px; }
.btn-next { right: -45px; }

   
.contenedor-estadio-animado {
  display: flex;
  align-items: center;
  justify-content: center;
}

.estadio-angulo {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0;
  transition: opacity 0.1s ease-in-out; 
}

.estadio-angulo.activa-interna {
  opacity: 1;
}

   
.estadio-callouts {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 85px; 
  width: 100%;
  max-width: 1250px; 
  margin: 15px auto 10px auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.callout-img {
  flex: 0 1 auto;
  height: 90px;
  width: auto;
  max-width: 32%;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.estadio-callouts .callout-img:nth-child(2) {
  height: 115px;
}

.callout-img:hover {
  transform: translateY(-8px) scale(1.05);
}

.estadio-callouts .callout-img:nth-child(2):hover {
  transform: translateY(-10px) scale(1.05);
}

.contenedor-estadio-animado:hover {
  cursor: zoom-in !important;
}

   
.modal-estadio {
  display: none; 
  position: fixed;
  z-index: 9999; 
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.85); 
  backdrop-filter: blur(5px);
  justify-content: center;
  align-items: center;
}

.modal-estadio.mostrar {
  display: flex;
  animation: fadeInModal 0.3s ease-out forwards;
}

@keyframes fadeInModal {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

.modal-contenido {
  position: relative;
  background: #ffffff;
  padding: 30px;
  border-radius: 12px;
  max-width: 800px;
  width: 90%;
  box-shadow: 0 25px 50px rgba(0,0,0,0.5);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cerrar-modal {
  position: absolute;
  top: 10px;
  right: 20px;
  color: #FF4B44;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  transition: transform 0.2s;
  line-height: 1;
}

.cerrar-modal:hover {
  transform: scale(1.15);
}

.modal-imagen-principal {
  width: 100%;
  height: 400px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 20px;
}

.modal-imagen-principal img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: opacity 0.2s ease-in-out; 
}

.modal-miniaturas {
  display: flex;
  gap: 15px;
  justify-content: center;
}

.modal-miniaturas .miniatura {
  width: 80px;
  height: 80px;
  object-fit: contain;
  border: 2px solid #eee;
  border-radius: 8px;
  cursor: pointer;
  padding: 5px;
  transition: all 0.2s ease;
}

.modal-miniaturas .miniatura:hover {
  border-color: #ccc;
  background: #fafafa;
}

.modal-miniaturas .miniatura.activa {
  border-color: #FF4B44;
  box-shadow: 0 4px 10px rgba(255, 75, 68, 0.2);
}

.scroll-down {
  position: center;
  bottom: 10px; 
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  opacity: 0.8;
  z-index: 10;
  margin-left: 23px;
}

.mouse {
  width: 22px;
  height: 35px;
  border: 2px solid #FF4B44; 
  border-radius: 20px;
  position: relative;
  margin-bottom: 5px;
  margin-top: 5px;
}

.wheel {
  width: 4px;
  height: 6px;
  background: #FFD100; 
  border-radius: 50%;
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  animation: scrollWheel 2s infinite;
}

@keyframes scrollWheel {
  0% { top: 6px; opacity: 1; }
  100% { top: 18px; opacity: 0; }
}

.arrows span {
  display: block;
  width: 10px;
  height: 10px;
  border-bottom: 2px solid #FF4B44; 
  border-right: 2px solid #FF4B44; 
  transform: rotate(45deg);
  margin: -5px auto;
  animation: scrollArrow 2s infinite;
}

.arrows span:nth-child(1) { animation-delay: 0s; }
.arrows span:nth-child(2) { animation-delay: -0.2s; }
.arrows span:nth-child(3) { animation-delay: -0.4s; }

@keyframes scrollArrow {
  0% { opacity: 0; transform: rotate(45deg) translate(-5px, -5px); }
  50% { opacity: 1; }
  100% { opacity: 0; transform: rotate(45deg) translate(5px, 5px); }
}

   
.seccion-alineaciones-vertical {
  width: 100%;
  max-width: 1800px;
  margin: 0 auto;
  padding: 40px 2%; 
  display: flex; 
  flex-direction: row;
  justify-content: space-between;
  align-items: stretch;
  box-sizing: border-box;
  margin-bottom: 15px;
}

.mitad-cancha {
  flex: 1;
  display: flex;
  flex-wrap: wrap; 
  justify-content: center;
  align-content: center;
  gap: 12px; 
  padding: 0 10px;
}

   
.separador-vertical-coral {
  width: 4px;
  background-color: #FF4B44; 
  border-radius: 5px;
  margin: 0 20px; 
  box-shadow: 0 2px 10px rgba(255, 75, 68, 0.3);
  opacity: 0.8;
}
   
.tarjeta-figura-estadio {
  position: relative;
  width: 18%; 
  min-width: 120px; 
  aspect-ratio: 1 / 1.4; 
  background-color: #fefefe; 
  border: 3px solid #FF4B44; 
  border-radius: 10px; 
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0;
  box-sizing: border-box;
}

.tarjeta-figura-estadio .tarjeta-imagen-completa {
  width: 100%;
  height: 100%;
  object-fit: cover; 
  z-index: 1;
}

.tarjeta-figura-estadio .checkbox-coral {
  bottom: 6px;
  left: 6px;
  z-index: 15;
}
   
.tarjeta-figura-estadio.edicion-especial::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.6) 50%, rgba(255,255,255,0) 100%);
  transform: skewX(-25deg);
  animation: brilloCromo 3.5s infinite;
  z-index: 10;
  pointer-events: none; 
}

@keyframes brilloCromo {
  0% { left: -100%; }
  20% { left: 200%; }
  100% { left: 200%; }
}

   
.banners-cierre-estadio {
  width: 100%;
  max-width: 1600px; 
  margin: 40px auto 60px auto; 
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px; 
  padding: 0 5%;
  box-sizing: border-box;
}

.img-banner-cierre {
  width: 48%; 
  max-width: 600px; 
  height: auto;
  object-fit: contain;
  transition: transform 0.3s ease, filter 0.3s ease;
  filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.1)); 
}

.img-banner-cierre:hover {
  transform: translateY(-5px);
  filter: drop-shadow(0 10px 20px rgba(255, 75, 68, 0.2));
}

   
.btn-prev { left: calc(50% - 195px); }
.btn-next { right: calc(50% - 195px); }

.seccion-pack-estadio > br {
  display: none;
}


@media (max-height: 820px) and (min-width: 1025px) {
  .seccion-pack-estadio {
    min-height: auto;
    padding: 20px 0 35px 0;
    gap: 15px;
  }
  .contenedor-visor-3d {
    height: 310px;
  }
  .estadio-callouts {
    margin-top: 10px;
  }
  .callout-img {
    height: 85px;
  }
  .estadio-callouts .callout-img:nth-child(2) {
    height: 110px;
  }
  .scroll-down {
    margin-top: 6px;
    bottom: 6px;
    transform: translateX(-50%) scale(0.75);
    pointer-events: none;
  }
}


@media (max-width: 1280px) {
  .layout-dividido.estadio-top {
    padding: 20px 4%;
  }
  .contenedor-visor-3d {
    height: 340px;
    margin-left: 2%;
  }
  .slider-track {
    width: 220px;
    height: 220px;
  }
  .btn-prev { left: calc(50% - 185px); }
  .btn-next { right: calc(50% - 185px); }

  .estadio-callouts {
    max-width: 960px;
    padding: 0 4%;
  }
  .callout-img {
    height: 85px;
  }
  .estadio-callouts .callout-img:nth-child(2) {
    height: 110px;
  }

  .tarjeta-figura-estadio {
    min-width: 95px;
  }
}


@media (max-width: 1024px) {
  .seccion-pack-estadio {
    padding: 15px 0 20px 0 !important;
  }

  .layout-dividido.estadio-top {
    flex-direction: row !important;
    flex-wrap: wrap !important;
    justify-content: center;
    align-items: center;
    gap: 15px 4%;
    padding: 10px 4% !important;
  }

  .texto-estadio {
    flex: 0 0 100%;
    width: 100%;
    text-align: center;
  }
  .texto-estadio h1 {
    margin-top: 0;
    margin-bottom: 6px;
  }
  .texto-estadio p {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 8px auto;
  }

  .contenedor-visor-3d {
    flex: 0 0 46%;
    max-width: 350px;
    height: 260px;
    margin: 0;
  }

  .contenedor-mini-slider {
    flex: 0 0 46%;
    max-width: 350px;
    height: 240px;
    margin: 0;
  }
  .slider-track {
    width: 200px;
    height: 200px;
  }
  .btn-slider {
    width: 40px;
    height: 40px;
    margin: 0;
  }
  .btn-prev { left: calc(50% - 165px); }
  .btn-next { right: calc(50% - 165px); }

  
  .estadio-callouts {
    margin-top: 10px !important;
    justify-content: center !important;
    gap: 15px !important;
    padding: 0 4% !important;
  }
  .callout-img {
    width: 31% !important;
    max-width: 260px !important;
    height: auto !important;
    max-height: 85px !important;
  }
  .estadio-callouts .callout-img:nth-child(2) {
    width: 33% !important;
    max-width: 280px !important;
    height: auto !important;
    max-height: 100px !important;
  }

  .scroll-down {
    width: 25px;
    align-items: center;
    margin-left: 23px;
  }

  .seccion-alineaciones-vertical {
    flex-direction: column !important;
    align-items: center !important;
    gap: 20px !important;
    padding: 15px 4% !important;
  }
  .separador-vertical-coral {
    width: 85% !important;
    height: 4px !important;
    margin: 5px auto !important;
  }
  .mitad-cancha {
    width: 100% !important;
    max-width: 760px !important;
    gap: 10px !important;
    padding: 0 !important;
  }
  .tarjeta-figura-estadio {
    width: calc((100% - 30px) / 4) !important;
    max-width: 160px !important;
    min-width: 0 !important;
  }
}


@media (max-width: 768px) {
  .layout-dividido.estadio-top {
    flex-direction: column !important;
    flex-wrap: nowrap !important;
    gap: 12px !important;
  }

  .texto-estadio h1 {
    font-size: 2.2rem !important;
  }

  .texto-estadio p {
    margin-bottom: 6px !important;
  }

  
  .contenedor-visor-3d {
    flex: 0 0 auto !important;
    width: 95% !important;
    max-width: 440px !important;
    height: 300px !important;
    margin: 5px auto !important;
  }

  .indicador-arrastre {
    bottom: -5px !important;
    padding: 6px 18px !important;
    font-size: 0 !important; 
  }

  .indicador-arrastre::after {
    content: "↔ Desliza con el dedo para explorar ↕";
    font-size: 0.9rem !important;
    display: inline-block;
  }

  .contenedor-mini-slider {
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: 320px !important;
    height: 195px !important;
    margin: 0 auto !important;
  }
  .slider-track {
    width: 175px !important;
    height: 175px !important;
  }
  .slide-item.siguiente { transform: translateX(22px) scale(0.9) !important; }
  .slide-item.anterior { transform: translateX(-22px) scale(0.9) !important; }
  .btn-slider {
    width: 36px !important;
    height: 36px !important;
    font-size: 1.05rem !important;
  }
  .btn-prev { left: calc(50% - 140px) !important; }
  .btn-next { right: calc(50% - 140px) !important; }

  
  .estadio-callouts {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 16px !important;
    width: 100% !important;
    margin: 15px auto !important;
    padding: 0 10px !important;
    box-sizing: border-box !important;
  }

  .callout-img,
  .estadio-callouts .callout-img:nth-child(2) {
    width: 88% !important;
    max-width: 290px !important;
    height: auto !important;
    max-height: 75px !important;
  }

  
  .seccion-alineaciones-vertical {
    flex-direction: column !important;
    padding: 10px 2% !important;
    gap: 20px !important;
  }

  .separador-vertical-coral {
    width: 80% !important;
    height: 3px !important;
    margin: 15px auto !important;
  }

  .mitad-cancha {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 6px !important;
    width: 100% !important;
    max-width: 440px !important;
    margin: 0 auto !important;
    justify-items: center !important;
    padding: 0 !important;
  }

  .tarjeta-figura-estadio {
    width: 100% !important;
    max-width: 95px !important;
    aspect-ratio: 1 / 1.4 !important;
    min-width: 0 !important;
    border-width: 1.5px !important;
    border-radius: 6px !important;
  }

  

  .tarjeta-figura-estadio .checkbox-coral {
    width: clamp(9px, 2.3vw, 13px) !important;
    height: clamp(9px, 2.3vw, 13px) !important;
    bottom: 3px !important;
    left: 3px !important;
    border-width: 1px !important;
    border-radius: 3px !important;
  }

  .tarjeta-figura-estadio .checkbox-coral:checked::after {
    font-size: clamp(7px, 1.8vw, 10px) !important;
  }
}


@media (max-width: 400px) {
  .contenedor-visor-3d {
    height: 230px !important;
    max-width: 290px !important;
  }
  .contenedor-mini-slider {
    height: 180px !important;
  }
  .slider-track {
    width: 155px !important;
    height: 155px !important;
  }
  .btn-slider {
    width: 32px !important;
    height: 32px !important;
    font-size: 0.95rem !important;
  }
  .btn-prev { left: calc(50% - 125px) !important; }
  .btn-next { right: calc(50% - 125px) !important; }

  .mitad-cancha {
    max-width: 340px !important;
    gap: 5px !important;
  }
  .tarjeta-figura-estadio {
    max-width: 78px !important;
  }
  .tarjeta-figura-estadio .checkbox-coral {
    width: 10px !important;
    height: 10px !important;
    bottom: 2px !important;
    left: 2px !important;
  }
  .tarjeta-figura-estadio .checkbox-coral:checked::after {
    font-size: 8px !important;
  }
  
}