/* AD2N home: critical first viewport. Full section styles load non-blocking. */
.hero-slider-section {
  position: relative;
  width: 100%;
  height: 650px;
  overflow: hidden;
  color: #ffffff;
  background: #05070e;
}

.slider-bg-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  opacity: 0;
  background-position: center;
  background-size: cover;
  transform: translate3d(0, 0, 0);
}

.slider-bg-layer--image {
  display: block;
  object-fit: cover;
  object-position: center;
}

.slider-bg-layer.active {
  z-index: 2;
  opacity: 1;
}

.hero-slider-section::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(5, 7, 14, 0.65), rgba(5, 7, 14, 0.85));
}

.slider-content-wrapper {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slider-slide-item {
  position: absolute;
  inset: 0;
  z-index: 6;
  width: 90%;
  height: fit-content;
  margin: auto;
  max-width: 950px;
  color: #ffffff;
  text-align: center;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transform: none;
}

.slider-slide-item.active {
  visibility: visible !important;
  opacity: 1 !important;
  pointer-events: auto;
}

.slider-slide-item.active .subheading,
.slider-slide-item.active h1,
.slider-slide-item.active p,
.slider-slide-item.active .btn-hero-glow {
  visibility: visible !important;
  opacity: 1 !important;
}

/* A slow mobile parse or interrupted tween must never blank the active slide. */
.hero-slider-section:not([data-hero-slider-ready="true"]) .slider-slide-item.active,
.hero-slider-section:not([data-hero-slider-ready="true"]) .slider-slide-item.active .subheading,
.hero-slider-section:not([data-hero-slider-ready="true"]) .slider-slide-item.active h1,
.hero-slider-section:not([data-hero-slider-ready="true"]) .slider-slide-item.active p,
.hero-slider-section:not([data-hero-slider-ready="true"]) .slider-slide-item.active .btn-hero-glow {
  visibility: visible !important;
  opacity: 1 !important;
}

.slider-slide-item .subheading {
  display: inline-block;
  margin-bottom: 15px;
  color: #d50b52;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.slider-slide-item h1 {
  margin: 0 0 25px;
  color: #ffffff;
  font-size: 52px;
  font-weight: 900;
  line-height: 1.2;
}

.hero-slider-section .btn-hero-glow {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 42px;
  overflow: hidden;
  color: #ffffff;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 1px;
  text-decoration: none;
  background: linear-gradient(135deg, #d50b52, #ff2a6d);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50px;
  box-shadow: 0 10px 25px rgba(213, 11, 82, 0.45);
}

.slider-hud-controls {
  position: absolute;
  bottom: 30px;
  left: 50%;
  z-index: 10;
  display: flex;
  align-items: center;
  padding: 8px 24px;
  background: rgba(5, 10, 25, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  transform: translateX(-50%);
}

.hud-numbers-list {
  display: flex;
  align-items: center;
  gap: 24px;
}

.hud-num-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 4px 6px;
  color: rgba(255, 255, 255, 0.45);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  cursor: pointer;
}

.hud-num-btn.active {
  color: #ffffff;
}

.hud-num-btn .num-bar {
  position: relative;
  width: 28px;
  height: 3px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 2px;
}

.hud-num-btn .num-fill {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #d50b52, #ff2a6d);
  transform: scaleX(0);
  transform-origin: left center;
}

@media (max-width: 768px) {
  .hero-slider-section {
    min-height: 520px;
    height: calc(100vh - 64px);
    max-height: 600px;
  }

  .slider-bg-layer--image {
    object-position: 50% 30% !important;
  }

  .slider-slide-item {
    width: min(94%, 620px);
    padding: 0 10px;
    text-align: center !important;
  }

  .slider-slide-item p {
    text-align: center !important;
  }

  .slider-slide-item h1 {
    font-size: clamp(24px, 6.5vw, 32px);
    line-height: 1.25;
    margin-bottom: 16px;
    text-wrap: balance;
    overflow-wrap: normal;
    word-break: normal;
    text-align: center !important;
  }

  .slider-slide-item .subheading {
    font-size: 11px;
    letter-spacing: 1.5px;
    margin-bottom: 10px;
    text-align: center !important;
  }

  .hero-slider-section .btn-hero-glow {
    padding: 12px 28px;
    font-size: 14px;
    margin-left: auto !important;
    margin-right: auto !important;
    display: inline-flex !important;
    text-align: center !important;
  }
}
