.banner-carousel {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #fff5f8 0%, #f0f8ff 100%);
  z-index: 1;
}

.carousel {
  height: 400px;
  position: relative;
  z-index: 1;
}

.carousel-inner {
  height: 100%;
  z-index: 1;
}

.carousel-item {
  height: 100%;
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: transform 0.8s ease-in-out;
  z-index: 1;
}

.carousel-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.2);
  z-index: 1;
}

.carousel-caption {
  position: absolute;
  top: 30%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  text-align: center;
  width: 90%;
  max-width: 800px;
}

.banner-title {
  font-size: 3.5rem;
  font-weight: 800;
  margin-top: 1.5rem;
  text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.5);
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, #fff, #ffe4e1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: titleGlow 3s ease-in-out infinite alternate;
}

@keyframes titleGlow {
  0% {
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.8));
  }
  100% {
    filter: drop-shadow(0 0 20px rgba(255, 107, 157, 0.6));
  }
}

.banner-subtitle {
  font-size: 1.5rem;
  font-weight: 600;
  color: white;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
  margin-bottom: 2rem;
  opacity: 0.95;
}

.carousel-indicators {
  bottom: 10px;
  z-index: 2;
}

.carousel-indicators [data-bs-target] {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, 0.5);
  background-color: transparent;
  transition: all 0.3s ease;
}

.carousel-indicators [data-bs-target].active {
  background-color: #ff6b9d;
  border-color: white;
  transform: scale(1.2);
}

.carousel-control-prev,
.carousel-control-next {
  width: 60px;
  height: 60px;
  top: 50%;
  transform: translateY(-50%);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 255, 255, 0.3);
  transition: all 0.3s ease;
  z-index: 2;
}

.carousel-control-prev {
  left: 30px;
}

.carousel-control-next {
  right: 30px;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
  background: rgba(255, 107, 157, 0.8);
  border-color: rgba(255, 255, 255, 0.8);
  transform: translateY(-50%) scale(1.1);
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  width: 24px;
  height: 24px;
  filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.5));
}

.carousel-decorations {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  z-index: 2;
}

.decoration-balloon,
.decoration-confetti {
  position: absolute;
  font-size: 2rem;
  animation: floatDecoration 8s ease-in-out infinite;
  opacity: 0.7;
}

.balloon-left {
  top: 10%;
  left: 5%;
  animation-delay: 0s;
}

.balloon-right {
  top: 15%;
  right: 8%;
  animation-delay: 4s;
}

.confetti-1 {
  top: 20%;
  left: 15%;
  animation-delay: 1s;
}

.confetti-2 {
  bottom: 25%;
  right: 20%;
  animation-delay: 3s;
}

.confetti-3 {
  top: 30%;
  right: 35%;
  animation-delay: 6s;
}

@keyframes floatDecoration {
  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
    opacity: 0.7;
  }
  25% {
    transform: translateY(-15px) rotate(5deg);
    opacity: 0.9;
  }
  50% {
    transform: translateY(-10px) rotate(-3deg);
    opacity: 0.8;
  }
  75% {
    transform: translateY(-20px) rotate(3deg);
    opacity: 0.9;
  }
}

.banner-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    45deg,
    rgba(255, 107, 157, 0.1) 0%,
    rgba(196, 76, 255, 0.1) 50%,
    rgba(76, 201, 255, 0.1) 100%
  );
  z-index: 1;
}

[data-bs-theme="dark"] .banner-carousel {
  background: linear-gradient(135deg, #1a1a1a 0%, #2d1b2e 100%);
}

[data-bs-theme="dark"] .carousel-control-prev,
[data-bs-theme="dark"] .carousel-control-next {
  background: rgba(0, 0, 0, 0.4);
  border-color: rgba(255, 255, 255, 0.2);
}

[data-bs-theme="dark"] .carousel-control-prev:hover,
[data-bs-theme="dark"] .carousel-control-next:hover {
  background: rgba(168, 85, 247, 0.8);
}

@media (max-width: 768px) {
  .carousel {
    height: 400px;
  }

  .banner-title {
    font-size: 2.5rem;
    margin-top: 20% !important;
  }

  .banner-subtitle {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
  }

  .banner-cta {
    font-size: 1rem;
    padding: 0.8rem 2rem;
  }

  .carousel-control-prev {
    left: 15px;
  }

  .carousel-control-next {
    right: 15px;
  }

  .decoration-balloon,
  .decoration-confetti {
    font-size: 1.5rem;
  }
}

@media (max-width: 576px) {
  .carousel {
    height: 350px;
  }

  .banner-title {
    font-size: 2rem;
  }

  .banner-subtitle {
    font-size: 1rem;
  }

  .carousel-control-prev,
  .carousel-control-next {
    width: 45px;
    height: 45px;
  }
}
