.hero {
  position: relative;
  height: 100vh;
  width: 100%;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
  text-align: center;
}

/* Video Carousel Container */
.video-carousel {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -3;
  overflow: hidden;
}

.video-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.video-slide.active {
  opacity: 1;
  z-index: 1;
}

.video-slide video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Ice particles + overlays */
#iceCanvas,
.fire-layer,
.water-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

#iceCanvas {
  z-index: -2;
}
.fire-layer {
  z-index: -1;
  background: radial-gradient(
    circle at 50% 90%,
    rgba(255, 120, 0, 0.9),
    rgba(255, 0, 0, 0.6) 40%,
    transparent 80%
  );
  animation: fireRise 4s ease-in-out infinite alternate;
  opacity: 0.5;
}
@keyframes fireRise {
  from {
    transform: translateY(20px);
    opacity: 0.8;
  }
  to {
    transform: translateY(-20px);
    opacity: 0.4;
  }
}

.water-layer {
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.25) 2px,
    transparent 2px
  );
  background-size: 80px 80px;
  animation: ripple 8s linear infinite;
  opacity: 0.5;
}
@keyframes ripple {
  0% {
    background-position: 0 0;
  }
  100% {
    background-position: 80px 80px;
  }
}

/* Content */
.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  padding: 0 10%;
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.6);
}

h1 {
  font-size: 2.5rem;
  margin-bottom: 10px;
}

/* Carousel Controls */
.prev,
.next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.4);
  border: none;
  color: white;
  font-size: 2rem;
  padding: 10px;
  cursor: pointer;
  z-index: 20;
}
.prev {
  left: 20px;
}
.next {
  right: 20px;
}
