/* =========================================
   WINOTA HERO CAROUSEL STYLES
   ========================================= */

.winota-hero-container {
  position: relative;
  width: 100%;
  height: 90vh !important;
  /* overflow: hidden; */ /* Managed in partial */
  /* background: #1a0525; */
  background: transparent;
  margin-top: 0 !important;
  display: block !important; /* Force display */
}

/* Background - Stage/Curtains */
.winota-hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* background: url("/media/winota_media/assets/dashboard-bg.jpg") center bottom no-repeat; */
  background: transparent;
  /* background-size: cover; */
  z-index: 1;
}

/* Spotlight effect overlay */
.winota-hero-bg::after {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 100%;
  background: radial-gradient(
    ellipse at top,
    rgba(255, 255, 255, 0.15) 0%,
    transparent 70%
  );
  pointer-events: none;
  z-index: 2;
}

/* Cat */
.winota-hero-cat {
  position: absolute;
  bottom: 10px; /* Align with floor */
  left: 18%; /* Adjusted position */
  width: 240px; /* Increased size */
  height: auto;
  z-index: 30;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.5));
  transition: transform 0.3s ease;
  display: block !important;
}

.winota-hero-cat:hover {
  transform: scale(1.05) rotate(-5deg);
}

/* Carousel Stage (Right Side) */
.winota-carousel-stage {
  position: absolute;
  top: 0 !important;
  right: 12%; /* Moved closer to center (was 5%) */
  width: 40%;
  height: 104%;
  z-index: 10;
  pointer-events: none;
  display: block !important;
}

.hero-char {
  position: absolute;
  bottom: 20px !important; /* Lift slightly off absolute bottom */
  width: 380px !important; /* Slightly larger base size */
  height: auto;
  transition: all 0.6s cubic-bezier(0.25, 1, 0.5, 1);
  cursor: pointer;
  transform-origin: bottom center;
  pointer-events: auto;
  display: block !important;
}

.hero-char img {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.6));
  position: relative;
  z-index: 2;
}

/* GLOW EFFECT for Active Character */
.hero-char.pos-center::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 160%;
  height: 160%;
  background: url("/media/winota_media/assets/glow.png") center center no-repeat;
  background-size: contain;
  z-index: 1; /* Behind the image (img is z-index 2) */
  opacity: 0.8;
  pointer-events: none;
  animation: pulseGlow 3s infinite alternate;
}

@keyframes pulseGlow {
  0% {
    opacity: 0.7;
    transform: translate(-50%, -50%) scale(0.95);
  }
  100% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.05);
  }
}

/* Positions - Clustered tighter */
.hero-char.pos-center {
  left: 50%;
  transform: translateX(-50%) scale(1.3); /* Larger center char */
  z-index: 25;
  filter: brightness(1.1);
  opacity: 1 !important;
}

.hero-char.pos-left {
  left: 30%; /* Was 20%, moved closer to center */
  transform: translateX(-50%) scale(0.9);
  z-index: 15;
  opacity: 0.9 !important; /* Increased visibility */
  filter: brightness(0.6) blur(0px); /* Less blur */
}

.hero-char.pos-right {
  left: 70%; /* Was 80%, moved closer to center */
  transform: translateX(-50%) scale(0.9);
  z-index: 15;
  opacity: 0.9 !important;
  filter: brightness(0.6) blur(0px);
}

/* Content Overlay (Left Side) */
.winota-hero-overlay {
  position: absolute;
  top: 0;
  left: 12%; /* Moved closer to center (was 0 + padding) */
  width: 40%;
  height: 100%;
  z-index: 40;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center; /* Center align items */
  padding-left: 0;
  pointer-events: none;
}

.hero-text-content {
  display: flex;
  flex-direction: column;
  align-items: center; /* Center text block */
  text-align: center; /* Center text */
  gap: 15px;
  pointer-events: auto;
}

.hero-subtitle {
  font-family: "Oswald", sans-serif;
  font-size: 28px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 6px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
  margin-bottom: -10px; /* Pull closer to title */
}

.hero-main-title {
  font-family: "Oswald", sans-serif;
  font-size: 50px;
  font-weight: 800;
  color: #ffd700;
  line-height: 1;
  text-shadow: 0 4px 10px rgba(0, 0, 0, 0.6);
}

.hero-main-title .highlight {
  color: #fff;
  font-size: 72px;
  display: block; /* Stack on new line naturally if br is used, or force block */
  margin-top: 5px;
}

.btn-winota-hero-cta {
  display: inline-flex;
  align-items: stretch; /* Stretch children to fill height */
  justify-content: center;
  background: none;
  border: none;
  box-shadow: none;
  padding: 0;
  margin-top: 25px;
  cursor: pointer;
  filter: drop-shadow(0 10px 10px rgba(0, 0, 0, 0.5));
  transition: transform 0.1s, filter 0.1s;
  height: 64px; /* Fixed height for the button images */
}

.btn-winota-hero-cta:hover {
  transform: translateY(-2px);
  filter: drop-shadow(0 15px 15px rgba(0, 0, 0, 0.6)) brightness(1.1);
}

.btn-winota-hero-cta:active {
  transform: translateY(2px);
  filter: drop-shadow(0 5px 5px rgba(0, 0, 0, 0.4));
}

.btn-l {
  width: 28px; /* Adjusted based on typical button cap ratios */
  background: url("/media/winota_media/assets/btn-primary-left.png") no-repeat
    right center;
  background-size: 100% 100%;
}

.btn-c {
  flex: 1;
  background: url("/media/winota_media/assets/btn-primary-center.png") repeat-x
    center center;
  background-size: auto 100%;
  color: #fff;
  font-family: "Oswald", sans-serif;
  font-size: 28px;
  font-weight: 700;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 10px;
  white-space: nowrap;
  text-shadow: 0 2px 2px rgba(0, 0, 0, 0.5);
}

.btn-r {
  width: 28px;
  background: url("/media/winota_media/assets/btn-primary-right.png") no-repeat
    left center;
  background-size: 100% 100%;
}

.hero-terms-link {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: underline;
  font-size: 13px;
  margin-top: 15px;
  cursor: pointer;
}

.hero-terms-link:hover {
  color: #fff;
}

/* Dots Navigation */
.hero-dots-nav {
  display: flex;
  gap: 12px;
  margin-top: 35px;
}

.h-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: all 0.3s;
  border: 2px solid transparent;
}

.h-dot:hover {
  background: rgba(255, 255, 255, 0.6);
}

.h-dot.active {
  background: #a90038;
  border-color: rgba(255, 255, 255, 0.5);
  transform: scale(1.2);
  box-shadow: 0 0 10px #a90038;
}

/* Responsive */
@media (max-width: 1024px) {
  .winota-hero-container {
    height: 500px;
  }
  .winota-hero-cat {
    width: 160px;
    left: 5%;
  }
  .winota-carousel-stage {
    right: 5%;
    width: 50%;
  }
  .winota-hero-overlay {
    left: 5%;
    width: 40%;
  }
  .hero-main-title {
    font-size: 40px;
  }
  .hero-main-title .highlight {
    font-size: 50px;
  }
  .hero-char {
    width: 280px !important;
  }
}

@media (max-width: 768px) {
  /* .winota-hero-container {
    height: 650px;
  } */
  .winota-hero-overlay {
    width: 100%;
    left: 0;
    align-items: center;
    padding-left: 0;
    top: 55%; /* Push text down */
    transform: translateY(-50%);
    height: auto;
  }
  .hero-text-content {
    align-items: center;
    text-align: center;
  }
  .winota-carousel-stage {
    width: 100%;
    right: 0;
    top: -80px; /* Pull characters up */
    height: 350px;
  }
  .hero-char {
    width: 220px !important;
  }
  /* Hide side chars on mobile */
  .hero-char.pos-left,
  .hero-char.pos-right {
    opacity: 0 !important;
    pointer-events: none;
  }
  .winota-hero-cat {
    display: none; /* Hide cat on mobile as per previous preference/space */
  }
}
