.hero-peliculas-archive {
  position: relative;
  width: 100%;
  min-height: 100vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  background: url("https://oran.gob.ar/wp-content/uploads/2026/05/imagen-butacas-fondo-scaled.webp") center center / cover no-repeat;
}

.hero-peliculas-archive::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(5, 5, 5, 0.5) 0%, rgba(5, 5, 5, 0.3) 40%, rgba(5, 5, 5, 0.65) 100%),
    radial-gradient(ellipse at 50% 0%, rgba(245, 184, 77, 0.04) 0%, transparent 60%);
  z-index: 1;
}

.hero-peliculas-archive .vignette {
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 180px rgba(0, 0, 0, 0.8);
  pointer-events: none;
  z-index: 2;
}

.hero-peliculas-archive .particles {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  overflow: hidden;
}

.hero-peliculas-archive .particle {
  position: absolute;
  width: 2px;
  height: 2px;
  background: rgba(245, 184, 77, 0.3);
  border-radius: 50%;
  animation: float linear infinite;
}

@keyframes float {
  0% {
    transform: translateY(100vh) translateX(0);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    transform: translateY(-10vh) translateX(20px);
    opacity: 0;
  }
}

.hero-peliculas-archive .cinema-logo {
  position: relative;
  z-index: 10;
  text-align: center;
  margin-top: 60px;
  margin-bottom: 40px;
}

.hero-peliculas-archive .cinema-logo h1 {
  font-size: 4rem;
  font-weight: 800;
  letter-spacing: 10px;
  text-transform: uppercase;
  color: #fff;
  text-shadow:
    0 0 50px rgba(245, 184, 77, 0.25),
    0 2px 10px rgba(0, 0, 0, 0.8);
}

.hero-peliculas-archive .cinema-logo .subtitle {
  font-size: clamp(0.7rem, 1.2vw, 0.85rem);
  font-weight: 300;
  letter-spacing: 14px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  margin-top: 6px;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.8);
}

.hero-peliculas-archive .carousel-container {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 1400px;
  min-height: 58vh;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1200px;
  margin-top: 100px;
  margin-bottom: 100px;
}

.hero-peliculas-archive .carousel-track {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-peliculas-archive .carousel-slide {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: all 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform, opacity;
}

.hero-peliculas-archive .carousel-slide.is-left {
  transform: translateX(-300px) rotateY(35deg) scale(0.8);
  opacity: 0.55;
  z-index: 1;
  pointer-events: none;
}

.hero-peliculas-archive .carousel-slide.is-center {
  transform: translateX(0) rotateY(0deg) scale(1);
  opacity: 1;
  z-index: 3;
  pointer-events: auto;
}

.hero-peliculas-archive .carousel-slide.is-right {
  transform: translateX(300px) rotateY(-35deg) scale(0.8);
  opacity: 0.55;
  z-index: 1;
  pointer-events: none;
}

.hero-peliculas-archive .carousel-slide.is-hidden {
  transform: translateX(0) scale(0.5);
  opacity: 0;
  z-index: 0;
  pointer-events: none;
}

.hero-peliculas-archive .film-frame {
  display: flex;
  align-items: stretch;
  background: #000;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.8);
  transition: box-shadow 0.7s ease;
}

.hero-peliculas-archive .carousel-slide.is-center .film-frame {
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.9);
}

.hero-peliculas-archive .sprocket {
  width: 30px;
  background: #000;
  position: relative;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-evenly;
  padding: 18px 0;
  transition: width 0.7s ease;
}

.hero-peliculas-archive .carousel-slide.is-center .sprocket {
  width: 38px;
}

.hero-peliculas-archive .sprocket::after {
  content: "";
  position: absolute;
  top: 18px;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: 12px;
  background: repeating-linear-gradient(to bottom, #dcdcdc 0px, #dcdcdc 12px, transparent 12px, transparent 26px);
  transition: width 0.7s ease;
}

.hero-peliculas-archive .carousel-slide.is-center .sprocket::after {
  width: 15px;
}

.hero-peliculas-archive .poster-wrapper {
  position: relative;
  width: 320px;
  aspect-ratio: 2 / 3;
  max-height: 55vh;
  border: 10px solid #000;
  overflow: hidden;
  background: #000;
  flex-shrink: 0;
  transition:
    width 0.7s ease,
    max-height 0.7s ease,
    border-width 0.7s ease;
}

.hero-peliculas-archive .carousel-slide.is-center .poster-wrapper {
  width: 480px;
  max-height: 68vh;
  border-width: 14px;
}

.hero-peliculas-archive .poster-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-peliculas-archive .movie-info {
  margin-top: 18px;
  text-align: center;
  opacity: 0;
  transform: translateY(15px);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1) 0.15s;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.hero-peliculas-archive .carousel-slide.is-center .movie-info {
  opacity: 1;
  transform: translateY(0);
}

.hero-peliculas-archive .movie-title {
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 1px;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.9);
}

.hero-peliculas-archive .btn-group {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 4px;
  flex-wrap: wrap;
}

.hero-peliculas-archive .btn-trailer {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  background: transparent;
  border: 1.5px solid rgba(255, 255, 255, 0.6);
  color: #fff;
  font-family: "Open Sans", sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(8px);
}

.hero-peliculas-archive .btn-trailer:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.9);
}

.hero-peliculas-archive .btn-trailer .play-icon {
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 5px 0 5px 8px;
  border-color: transparent transparent transparent currentColor;
  display: inline-block;
}

.hero-peliculas-archive .btn-buy {
  display: inline-block;
  padding: 12px 28px;
  background: #fff;
  border: 1.5px solid #fff;
  color: #0a0a0a;
  font-family: "Open Sans", sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-peliculas-archive .btn-buy:hover {
  background: transparent;
  color: #fff;
  box-shadow: 0 0 30px rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
}

.hero-peliculas-archive .nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 20;
  width: 50px;
  height: 50px;
  color: rgba(255, 255, 255, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 1.2rem;
  backdrop-filter: blur(4px);
  user-select: none;
}

.hero-peliculas-archive .nav-btn:hover {
  color: rgba(255, 255, 255, 0.4);
}

.hero-peliculas-archive .nav-prev {
  left: 18px;
}
.hero-peliculas-archive .nav-next {
  right: 18px;
}

.hero-peliculas-archive .btn-cartelera-fixed {
  position: relative;
  z-index: 20;
  display: inline-block;
  margin-top: 40px;
  margin-bottom: 5vh;
  padding: 14px 40px;
  background: #f5b84d;
  border: 2px solid #f5b84d;
  color: #0a0a0a;
  font-family: "Open Sans", sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 20px rgba(245, 184, 77, 0.25);
}

.hero-peliculas-archive .btn-cartelera-fixed:hover {
  background: transparent;
  color: #f5b84d;
  box-shadow: 0 0 40px rgba(245, 184, 77, 0.35);
  transform: translateY(-2px);
}

.hero-peliculas-archive .no-results {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 50vh;
  color: rgba(255, 255, 255, 0.6);
  text-align: center;
  padding: 40px;
}

.hero-peliculas-archive .no-results i {
  font-size: 3rem;
  color: #f5b84d;
  margin-bottom: 20px;
}

.hero-peliculas-archive .no-results h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 10px;
}

@media (max-width: 1024px) {
  .hero-peliculas-archive .carousel-container {
    max-width: 1080px;
  }
  .hero-peliculas-archive .carousel-slide.is-left {
    transform: translateX(-260px) rotateY(35deg) scale(0.8);
  }
  .hero-peliculas-archive .carousel-slide.is-right {
    transform: translateX(260px) rotateY(-35deg) scale(0.8);
  }
  .hero-peliculas-archive .carousel-slide .poster-wrapper {
    width: 280px;
  }
  .hero-peliculas-archive .carousel-slide.is-center .poster-wrapper {
    width: 400px;
  }
  .hero-peliculas-archive .cinema-logo h1 {
    font-size: 3rem;
  }
}

@media (max-width: 768px) {
  .hero-peliculas-archive .carousel-container {
    max-width: 100%;
    min-height: 55vh;
    margin-top: 30px;
    margin-bottom: 50px;
  }
  .hero-peliculas-archive .carousel-slide.is-left {
    transform: translateX(-200px) rotateY(30deg) scale(0.8);
  }
  .hero-peliculas-archive .carousel-slide.is-right {
    transform: translateX(200px) rotateY(-30deg) scale(0.8);
  }
  .hero-peliculas-archive .carousel-slide .poster-wrapper {
    width: 220px;
    max-height: 44vh;
    border-width: 6px;
  }
  .hero-peliculas-archive .carousel-slide.is-center .poster-wrapper {
    width: 300px;
    max-height: 52vh;
  }
  .hero-peliculas-archive .sprocket {
    width: 22px;
    padding: 14px 0;
  }
  .hero-peliculas-archive .carousel-slide.is-center .sprocket {
    width: 28px;
  }
  .hero-peliculas-archive .sprocket::after {
    width: 9px;
    top: 14px;
    bottom: 14px;
    background: repeating-linear-gradient(to bottom, #dcdcdc 0px, #dcdcdc 10px, transparent 10px, transparent 22px);
  }
  .hero-peliculas-archive .carousel-slide.is-center .sprocket::after {
    width: 12px;
  }
  .hero-peliculas-archive .movie-info {
    margin-top: 14px;
    gap: 6px;
  }
  .hero-peliculas-archive .btn-group {
    gap: 10px;
  }
  .hero-peliculas-archive .btn-buy,
  .hero-peliculas-archive .btn-trailer {
    padding: 10px 22px;
    font-size: 0.75rem;
  }
  .hero-peliculas-archive .nav-btn {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }
  .hero-peliculas-archive .nav-prev {
    left: 6px;
  }
  .hero-peliculas-archive .nav-next {
    right: 6px;
  }
  .hero-peliculas-archive .btn-cartelera-fixed {
    padding: 12px 32px;
    font-size: 0.8rem;
    margin-top: 8px;
  }
  .hero-peliculas-archive .cinema-logo {
    margin-top: 30px;
    margin-bottom: 20px;
  }
}

@media (max-width: 610px) {
  .hero-peliculas-archive .cinema-logo h1 {
    font-size: 2rem;
    letter-spacing: 5px;
  }
  .hero-peliculas-archive .cinema-logo .subtitle {
    letter-spacing: 10px;
  }
}

@media (max-width: 480px) {
  .hero-peliculas-archive .carousel-slide.is-left {
    transform: translateX(-160px) rotateY(25deg) scale(0.8);
  }
  .hero-peliculas-archive .carousel-slide.is-right {
    transform: translateX(160px) rotateY(-25deg) scale(0.8);
  }
  .hero-peliculas-archive .carousel-slide .poster-wrapper {
    width: 190px;
    border-width: 5px;
  }
  .hero-peliculas-archive .carousel-slide.is-center .poster-wrapper {
    width: 260px;
  }
  .hero-peliculas-archive .sprocket {
    width: 20px;
  }
  .hero-peliculas-archive .carousel-slide.is-center .sprocket {
    width: 24px;
  }
  .hero-peliculas-archive .sprocket::after {
    width: 8px;
  }
  .hero-peliculas-archive .movie-title {
    font-size: 1rem;
  }
  .hero-peliculas-archive .btn-group {
    gap: 8px;
  }
  .hero-peliculas-archive .btn-buy,
  .hero-peliculas-archive .btn-trailer {
    padding: 9px 18px;
    font-size: 0.7rem;
    letter-spacing: 1px;
  }
  .hero-peliculas-archive .cinema-logo .subtitle {
    letter-spacing: 5px;
  }
  .hero-peliculas-archive .carousel-container {
    margin-top: 0px;
    margin-bottom: 20px;
  }
}
