/* ============================================================
   HERO VIDEO SLIDER — High-Impact Desktop & Mobile Formats
   ============================================================ */

/* ---------- Base Container ---------- */
.hero-slider {
  position: relative;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  min-height: 100vh;
  min-height: 100dvh;
  overflow: hidden;
  background: #000;
}

/* ---------- Individual Slide ---------- */
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.8s ease;
  pointer-events: none;
  z-index: 1;
}

.hero-slide.active {
  opacity: 1;
  pointer-events: none !important;
  z-index: 2;
}

/* ---------- Background Video ---------- */
.hero-slide video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none !important;
}

/* ---------- Gradient Overlay Base ---------- */
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
}

/* ---------- Shared Typography & UI Elements ---------- */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 42, 85, 0.12);
  border: 1px solid rgba(255, 42, 85, 0.35);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 999px;
  color: #FFAA00;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 700;
  line-height: 1.3;
  box-shadow: 0 2px 14px rgba(255, 42, 85, 0.18);
}

.hero-badge i {
  color: #FF2A55;
  font-size: 12px;
}

.hero-content h1 {
  font-family: 'Bebas Neue', sans-serif;
  color: #ffffff;
  text-align: left;
  margin: 0;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.95);
  width: 100%;
}

.hero-content p {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: rgba(255, 255, 255, 0.88);
  text-align: left;
  margin: 0;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.85);
  width: 100%;
}

.hero-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #FF2A55 0%, #FF9E00 100%);
  color: #ffffff;
  font-family: 'Bebas Neue', sans-serif;
  letter-spacing: 1.2px;
  text-decoration: none;
  border-radius: 999px;
  box-shadow: 0 4px 22px rgba(255, 42, 85, 0.45), 0 0 14px rgba(255, 170, 0, 0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
  cursor: pointer;
  text-align: center;
  border: none;
  box-sizing: border-box;
}

.hero-cta:hover,
.hero-cta:active {
  transform: scale(0.99);
  background: linear-gradient(135deg, #FF3E66 0%, #FFAA00 100%);
  box-shadow: 0 6px 30px rgba(255, 42, 85, 0.65), 0 0 20px rgba(255, 170, 0, 0.4);
  filter: brightness(1.08);
}

.hero-subtext {
  text-align: center;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: rgba(255, 255, 255, 0.68) !important;
  letter-spacing: 0.2px;
}

/* ---------- Scroll Down Cue (Centered at Screen Bottom) ---------- */
.hero-scroll-cue {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  text-decoration: none;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 600;
  letter-spacing: 1.3px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.82);
  transition: color 0.2s ease, transform 0.2s ease;
  z-index: 10;
  cursor: pointer !important;
  pointer-events: auto !important;
}

.hero-scroll-cue * {
  pointer-events: none;
}

.hero-scroll-cue:hover {
  color: #ffffff;
}

.hero-scroll-cue i {
  font-size: 11px;
  animation: heroBounce 1.8s ease-in-out infinite;
}

@keyframes heroBounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(5px);
  }
  60% {
    transform: translateY(2px);
  }
}

/* ---------- Sound Toggle Base ---------- */
.hero-sound-toggle {
  z-index: 10;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(0, 0, 0, 0.52);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.45);
}

.hero-sound-toggle:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: #fff;
  transform: scale(1.08);
}

/* ---------- Sound Hint Pill Base ---------- */
.hero-sound-hint {
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  padding: 6px 14px 6px 8px;
  color: #fff;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.2px;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transform: translateX(8px);
  animation: soundHintIn 0.5s 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards,
             soundHintOut 0.4s 4s ease forwards;
}

.hero-sound-hint .hint-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: linear-gradient(135deg, #FF2A55, #FF9E00);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  flex-shrink: 0;
  position: relative;
}

.hero-sound-hint .hint-icon::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 170, 0, 0.6);
  animation: soundRipple 1.4s 1.3s ease-out infinite;
}

@keyframes soundHintIn {
  to { opacity: 1; transform: translateX(0); }
}

@keyframes soundHintOut {
  to { opacity: 0; transform: translateX(6px); pointer-events: none; }
}

@keyframes soundRipple {
  0%   { transform: scale(1);   opacity: 0.7; }
  100% { transform: scale(2);   opacity: 0;   }
}

.hero-sound-hint.dismissed {
  display: none !important;
}


/* ============================================================
   FORMATO MOBILE (≤ 1023px)
   ============================================================ */
@media (max-width: 1023px) {
  .hero-slider {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
  }

  .hero-slide video {
    object-position: center 25%;
  }

  .hero-overlay {
    background: linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.45) 0%,
      rgba(0, 0, 0, 0.08) 22%,
      rgba(0, 0, 0, 0.22) 42%,
      rgba(0, 0, 0, 0.78) 68%,
      rgba(0, 0, 0, 0.95) 92%,
      #0A0A0A 100%
    );
  }

  /* Sound Toggle: Top Right on Mobile (below header) */
  .hero-sound-toggle {
    position: absolute;
    top: 76px;
    right: 18px;
    width: 44px;
    height: 44px;
    font-size: 16px;
  }

  .hero-sound-hint {
    position: absolute;
    top: 80px;
    right: 72px;
  }

  /* Content Block: Stretched across mobile bottom with safe padding */
  .hero-content {
    position: relative;
    z-index: 4;
    width: 100%;
    max-width: 580px;
    padding: 0 18px 8px 18px;
    margin-bottom: 44px; /* Space for scroll cue */
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    color: #fff;
    box-sizing: border-box;
  }

  .hero-badge {
    padding: 6px 14px;
    margin-bottom: 10px;
    font-size: 12.5px;
  }

  .hero-content h1 {
    font-size: clamp(2rem, 7.2vw, 3.2rem);
    line-height: 1.05;
    letter-spacing: 0.6px;
    margin-bottom: 10px;
  }

  .hero-content p {
    font-size: clamp(0.85rem, 3.2vw, 0.98rem);
    line-height: 1.45;
    margin-bottom: 16px;
  }

  .hero-cta {
    width: 100%;
    font-size: clamp(1.3rem, 4.8vw, 1.55rem);
    padding: 15px 24px;
  }

  .hero-subtext {
    width: 100%;
    font-size: clamp(0.72rem, 2.6vw, 0.82rem);
    margin: 9px 0 0 0 !important;
  }

  /* Scroll Cue: Centered at bottom on mobile */
  .hero-scroll-cue {
    position: absolute;
    bottom: max(14px, env(safe-area-inset-bottom, 14px));
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    font-size: clamp(0.68rem, 2.5vw, 0.78rem);
  }
}

/* Compact Mobile Heights (≤ 700px) */
@media (max-width: 1023px) and (max-height: 700px) {
  .hero-badge {
    padding: 4px 12px;
    font-size: 11.5px;
    margin-bottom: 6px;
  }

  .hero-content h1 {
    font-size: 1.85rem;
    margin-bottom: 6px;
  }

  .hero-content p {
    font-size: 0.82rem;
    line-height: 1.35;
    margin-bottom: 12px;
  }

  .hero-cta {
    padding: 12px 20px;
    font-size: 1.25rem;
  }

  .hero-subtext {
    margin: 6px 0 0 0 !important;
    font-size: 0.7rem;
  }

  .hero-content {
    margin-bottom: 36px;
  }

  .hero-scroll-cue {
    bottom: 8px;
    font-size: 0.65rem;
  }
}


/* ============================================================
   FORMATO PC / DESKTOP (≥ 1024px)
   ============================================================ */
@media (min-width: 1024px) {
  .hero-slider {
    display: block;
  }

  .hero-slide video {
    object-position: center center;
  }

  /* Dual gradient: left vignette for crystal-clear text + bottom blend */
  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(0, 0, 0, 0.82) 0%, rgba(0, 0, 0, 0.58) 36%, rgba(0, 0, 0, 0.1) 68%, rgba(0, 0, 0, 0.18) 100%),
      linear-gradient(180deg, rgba(0, 0, 0, 0.45) 0%, rgba(0, 0, 0, 0) 25%, rgba(0, 0, 0, 0.45) 75%, #0A0A0A 100%);
  }

  /* Text Content Block: Anchored on the LEFT */
  .hero-content {
    position: absolute;
    left: clamp(48px, 6.5vw, 96px);
    bottom: clamp(65px, 9.5vh, 115px);
    max-width: 580px;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    color: #fff;
    z-index: 4;
    box-sizing: border-box;
  }

  .hero-badge {
    padding: 7px 16px;
    font-size: 13px;
    margin-bottom: 14px;
  }

  .hero-content h1 {
    font-size: clamp(2.6rem, 3.8vw, 3.8rem);
    line-height: 1.04;
    letter-spacing: 0.8px;
    margin-bottom: 14px;
  }

  .hero-content p {
    font-size: 1.02rem;
    line-height: 1.5;
    max-width: 530px;
    margin-bottom: 24px;
  }

  .hero-cta {
    width: 100%;
    max-width: 450px;
    padding: 16px 36px;
    font-size: 1.45rem;
  }

  .hero-subtext {
    width: 100%;
    max-width: 450px;
    text-align: center;
    font-size: 0.78rem;
    margin: 10px 0 0 0 !important;
  }

  /* Sound Toggle: Anchored at the BOTTOM RIGHT on PC */
  .hero-sound-toggle {
    position: absolute;
    bottom: clamp(40px, 6vh, 60px);
    right: clamp(40px, 5vw, 70px);
    top: auto;
    left: auto;
    width: 50px;
    height: 50px;
    font-size: 18px;
  }

  /* Sound Hint Pill: Sits to the left of the bottom-right toggle */
  .hero-sound-hint {
    position: absolute;
    bottom: clamp(46px, 6vh + 6px, 66px);
    right: clamp(100px, 5vw + 60px, 130px);
    top: auto;
    left: auto;
  }

  /* Scroll Cue: Anchored in the BOTTOM CENTER of the entire screen */
  .hero-scroll-cue {
    position: absolute;
    bottom: 22px;
    left: 50%;
    transform: translateX(-50%);
    width: auto;
    font-size: 0.75rem;
    letter-spacing: 1.4px;
  }
}


