/* ============================================
   HERO VIDEO SLIDER — Red Bull–Inspired
   ============================================ */

/* ---------- Container ---------- */
.hero-slider {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  background: #000;
}

/* ---------- Individual Slide ---------- */
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s ease;
  pointer-events: none;
  z-index: 1;
}

.hero-slide.active {
  opacity: 1;
  pointer-events: auto;
  z-index: 2;
}

/* ---------- Background Video ---------- */
.hero-slide video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---------- Gradient Overlay ---------- */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom,
      rgba(0, 0, 0, 0.15) 0%,
      rgba(0, 0, 0, 0.05) 40%,
      rgba(0, 0, 0, 0.55) 70%,
      rgba(0, 0, 0, 0.85) 100%);
  z-index: 1;
}

/* ---------- Text Content Block ---------- */
.hero-content {
  position: absolute;
  bottom: 100px;
  left: 60px;
  max-width: 600px;
  z-index: 3;
  color: #fff;
}

.hero-content h1 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 3.6rem;
  line-height: 1.05;
  letter-spacing: 1px;
  margin-bottom: 14px;
  text-align: left;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.6);
}

.hero-content p {
  font-family: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-size: 1.05rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 24px;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.5);
}

/* ---------- CTA Button ---------- */
.hero-cta {
  display: inline-block;
  padding: 14px 36px;
  background: #E50914;
  color: #fff;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.15rem;
  letter-spacing: 1.5px;
  text-decoration: none;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.25s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 20px rgba(229, 9, 20, 0.45);
}

.hero-cta:hover {
  background: #ff1a26;
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 8px 30px rgba(229, 9, 20, 0.65);
}

/* ---------- Sound Toggle ---------- */
.hero-sound-toggle {
  position: absolute;
  bottom: 110px;
  right: 60px;
  z-index: 5;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: #fff;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s ease;
}

.hero-sound-toggle:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: #fff;
  transform: scale(1.1);
}

/* ---------- Navigation Arrows ---------- */
.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  color: #fff;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.hero-arrow:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: #E50914;
  transform: translateY(-50%) scale(1.1);
}

.hero-arrow.prev {
  left: 24px;
}

.hero-arrow.next {
  right: 24px;
}

/* ---------- Capsule Pagination Indicators ---------- */
.hero-dots {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 5;
}

.hero-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  border: none;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
  padding: 0;
  position: relative;
  overflow: hidden;
  transition: width 0.4s ease, background 0.3s ease;
}

.hero-dot:hover:not(.active) {
  background: rgba(255, 255, 255, 0.55);
}

/* Active = capsule pill */
.hero-dot.active {
  width: 32px;
  background: rgba(255, 255, 255, 0.2);
}

/* Inner fill — grows left→right */
.progress-fill {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: #E50914;
  /* same red as .hero-cta */
  transform-origin: left center;
  transform: scaleX(var(--progress, 0));
  pointer-events: none;
}

/* ============================================
   RESPONSIVE — ≤ 768 px
   ============================================ */
@media (max-width: 768px) {
  .hero-slider {
    height: 60vh;
    min-height: 480px;
  }

  .hero-content {
    bottom: 90px;
    left: 24px;
    right: 24px;
    max-width: none;
  }

  .hero-content h1 {
    font-size: 2.2rem;
  }

  .hero-content p {
    font-size: 0.95rem;
  }

  .hero-cta {
    padding: 12px 28px;
    font-size: 1rem;
  }

  .hero-sound-toggle {
    bottom: 95px;
    right: 24px;
    width: 44px;
    height: 44px;
    font-size: 16px;
  }

  .hero-arrow {
    width: 42px;
    height: 42px;
    font-size: 16px;
  }

  .hero-arrow.prev {
    left: 12px;
  }

  .hero-arrow.next {
    right: 12px;
  }

  .hero-dots {
    bottom: 28px;
  }

  .hero-dot.active {
    width: 28px;
  }
}

/* ============================================
   RESPONSIVE — ≤ 480 px
   ============================================ */
@media (max-width: 480px) {
  .hero-content {
    bottom: 80px;
    left: 18px;
    right: 18px;
  }

  .hero-content h1 {
    font-size: 1.7rem;
  }

  .hero-content p {
    font-size: 0.88rem;
    margin-bottom: 18px;
  }

  .hero-arrow {
    display: none;
    /* touch-swipe is easier on tiny screens */
  }
}