:root {
  --hero-bg: #0b0716;
  --hero-text: #ffffff;
  --hero-muted: rgba(255, 255, 255, 0.72);
  --hero-accent-1: rgba(255, 60, 120, 0.42);
  --hero-accent-2: rgba(89, 62, 255, 0.35);
  --hero-accent-3: rgba(255, 196, 0, 0.18);
  --hero-button-bg: #ffd429;
  --hero-button-text: #111111;
  --hero-button-secondary-bg: rgba(255, 255, 255, 0.08);
  --hero-button-secondary-text: #ffffff;
  --hero-card-bg: rgba(11, 7, 22, 0.72);
  --hero-border: rgba(255, 255, 255, 0.1);
  --hero-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}

.hero-carousel-section {
  /* padding: 1rem; */
}

.hero-carousel {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(circle at top left, var(--hero-accent-1), transparent 34%),
    radial-gradient(circle at bottom right, var(--hero-accent-2), transparent 36%),
    linear-gradient(90deg, #140814 0%, #100a2a 45%, #08132d 70%, #1a0a18 100%);
  /* border-radius: 1.5rem; */
  box-shadow: var(--hero-shadow);
  color: var(--hero-text);
  min-height: 620px;
}

.hero-carousel::before,
.hero-carousel::after {
  content: "";
  position: absolute;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  filter: blur(40px);
  opacity: 0.9;
  pointer-events: none;
  z-index: 0;
}

.hero-carousel::before {
  top: -120px;
  right: -80px;
  background: radial-gradient(circle, var(--hero-accent-2) 0%, transparent 65%);
}

.hero-carousel::after {
  bottom: -140px;
  left: -80px;
  background: radial-gradient(circle, var(--hero-accent-1) 0%, transparent 65%);
}

.hero-slide {
  position: relative;
  min-height: 620px;
  z-index: 1;
}

.hero-bg-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  border-radius: 1.5rem;
}

.hero-bg-media img,
.hero-bg-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.18;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(8, 6, 16, 0.9) 0%, rgba(8, 6, 16, 0.78) 40%, rgba(8, 6, 16, 0.48) 100%);
  z-index: 1;
}

.hero-inner {
  position: relative;
  z-index: 2;
  min-height: 620px;
  padding: 2rem;
}

.hero-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 700;
  font-size: 1.1rem;
  color: #fff;
  text-decoration: none;
  margin-bottom: 2rem;
}

.hero-brand img {
  height: 38px;
  width: auto;
  object-fit: contain;
}

.hero-eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--hero-muted);
  margin-bottom: 1rem;
}

.hero-title {
  font-size: clamp(2.2rem, 6vw, 5rem);
  line-height: 0.95;
  font-weight: 800;
  margin-bottom: 1rem;
  text-transform: uppercase;
  word-break: keep-all;
  word-wrap: normal;
  white-space: normal;
  width: 100%;
}

.hero-description {
  color: var(--hero-muted);
  font-size: 1rem;
  max-width: 100%;
  margin-bottom: 1.75rem;
  word-break: keep-all;
  word-wrap: normal;
  white-space: normal;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 1rem;
}

.btn-hero-primary {
  background: var(--hero-button-bg);
  color: var(--hero-button-text);
  border: none;
  font-weight: 700;
  padding: 0.85rem 1.4rem;
  border-radius: 0.9rem;
  min-width: 150px;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: opacity 0.2s ease;
}

.btn-hero-primary:hover,
.btn-hero-primary:focus {
  background: var(--hero-button-bg);
  color: var(--hero-button-text);
  opacity: 0.92;
  text-decoration: none;
}

.btn-hero-secondary {
  background: var(--hero-button-secondary-bg);
  color: var(--hero-button-secondary-text);
  border: 1px solid rgba(255, 255, 255, 0.14);
  font-weight: 700;
  padding: 0.85rem 1.4rem;
  border-radius: 0.9rem;
  min-width: 150px;
  backdrop-filter: blur(8px);
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: background 0.2s ease;
}

.btn-hero-secondary:hover,
.btn-hero-secondary:focus {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  text-decoration: none;
}

.hero-feature-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding: 0.5rem 0;
}

.hero-feature-card {
  width: 100%;
  max-width: 430px;
  /* background: var(--hero-card-bg); */
  /* border: 1px solid var(--hero-border); */
  /* border-radius: 1.25rem; */
  padding: 1rem;
  backdrop-filter: blur(12px);
  /* box-shadow: 0 18px 50px rgba(0, 0, 0, 0.28); */
}

.hero-feature-image,
.hero-feature-video,
.hero-feature-embed {
  width: 100%;
  min-height: 260px;
  border: 0;
  border-radius: 1rem;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.04);
}

.hero-feature-image img,
.hero-feature-video video {
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
  display: block;
  border-radius: 1rem;
}

.event-card {
  border-radius: 1rem;
  overflow: hidden;
  background: #120d22;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
}

.event-card img {
  width: 100%;
  height: 190px;
  object-fit: cover;
}

.event-card-body {
  padding: 1rem;
}

.event-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  background: rgba(255, 212, 41, 0.16);
  color: #ffd429;
  margin-bottom: 0.9rem;
}

.event-card h5 {
  margin-bottom: 0.6rem;
  font-weight: 700;
}

.event-meta {
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.92rem;
  margin-bottom: 0.85rem;
}

.carousel-indicators {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  margin: 0;
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

.carousel-indicators [data-bs-target] {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid rgba(255, 212, 41, 0.5);
  background-color: transparent;
  opacity: 1;
}

.carousel-indicators .active {
  background-color: #ffd429;
  border-color: #ffd429;
}

.hero-slide-count {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  z-index: 6;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.48);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #fff;
  font-weight: 700;
  backdrop-filter: blur(8px);
}

.hero-slide-count .current {
  color: #ffd429;
}

.carousel-control-prev,
.carousel-control-next {
  width: 54px;
  opacity: 1;
  position: relative;
  background: transparent;
  border: none;
  padding: 0;
  margin: 0;
  flex-shrink: 0;
}

.carousel-controls-wrapper {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  width: auto;
}

.carousel-controls-center {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background-color: rgba(0, 0, 0, 0.35);
  background-size: 45% 45%;
  backdrop-filter: blur(6px);
}

@media (max-width: 991.98px) {
  .hero-carousel,
  .hero-slide,
  .hero-inner {
    min-height: unset;
  }

  .hero-inner {
    padding: 1.5rem;
  }

  .hero-title {
    max-width: 100%;
  }

  .hero-content-left {
    margin-bottom: 1.5rem;
  }

  .hero-feature-card {
    max-width: 100%;
  }

  .hero-slide-count {
    top: 1rem;
    right: 1rem;
  }
}

@media (max-width: 575.98px) {
  .hero-carousel-section {
    padding: 0.5rem;
  }

  .hero-carousel {
    border-radius: 1rem;
  }

  .hero-bg-media,
  .hero-feature-image img,
  .hero-feature-video video,
  .hero-feature-image,
  .hero-feature-video,
  .hero-feature-embed,
  .hero-feature-card,
  .event-card {
    border-radius: 0.9rem;
  }

  .hero-inner {
    padding: 1rem;
  }

  .hero-brand {
    margin-bottom: 1.25rem;
  }

  .hero-title {
    font-size: clamp(2rem, 12vw, 3.25rem);
    word-break: keep-all;
    width: 100%;
  }

  .hero-description {
    font-size: 0.95rem;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-feature-image,
  .hero-feature-video,
  .hero-feature-embed,
  .hero-feature-image img,
  .hero-feature-video video {
    min-height: 220px;
  }

  .carousel-control-prev,
  .carousel-control-next {
    display: flex;
  }
}
