/* mgwpp-spotlight-carousel.css */
.mgwpp-spotlight-carousel {
  position: relative;
  min-height: 100vh;
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 100%);
  overflow: hidden;
  isolation: isolate;
}

.mgwpp-light-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  background: radial-gradient(
    circle at var(--mgwpp-x, 50%) var(--mgwpp-y, 50%),
    rgba(7, 186, 190, 0.15) 0%,
    rgba(7, 186, 190, 0.05) 30%,
    transparent 60%
  );
  mix-blend-mode: screen;
  z-index: 2;
}

.mgwpp-carousel-viewport {
  position: relative;
  min-height: 100vh;
  width: 100%;
}

.mgwpp-carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
    visibility 0.8s;
  z-index: 1;
}

.mgwpp-carousel-slide.mgwpp-active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}

.mgwpp-slide-content {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  padding: 4rem 6rem;
  gap: 4rem;
  box-sizing: border-box;
}

/* Text Content */
.mgwpp-text-content {
  flex: 1 1 400px;
  max-width: 550px;
  color: #fff;
  z-index: 3;
  transform: translateX(-30px);
  opacity: 0;
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.2s;
}

.mgwpp-active .mgwpp-text-content {
  transform: translateX(0);
  opacity: 1;
}

.mgwpp-slide-title {
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.1;
  background: linear-gradient(135deg, #ffffff 0%, #07babe 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: none;
}

.mgwpp-slide-subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 2rem;
  max-width: 480px;
}

/* CTA Button - Premium Styling */
.mgwpp-cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 2.5rem;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #0a0a0a;
  background: linear-gradient(135deg, #07babe 0%, #05a0a8 100%);
  border: none;
  border-radius: 50px;
  cursor: pointer;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow:
    0 4px 15px rgba(7, 186, 190, 0.3),
    0 0 0 0 rgba(7, 186, 190, 0.4);
}

.mgwpp-cta-button::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  transition: left 0.6s ease;
}

.mgwpp-cta-button:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow:
    0 8px 25px rgba(7, 186, 190, 0.4),
    0 0 0 4px rgba(7, 186, 190, 0.2);
  color: #0a0a0a;
  text-decoration: none;
}

.mgwpp-cta-button:hover::before {
  left: 100%;
}

.mgwpp-cta-button:active {
  transform: translateY(-1px) scale(0.98);
}

/* Image Container */
.mgwpp-image-container {
  position: relative;
  z-index: 1;
  flex: 1 1 400px;
  max-width: 700px;
  transform: translateX(30px) scale(0.95);
  opacity: 0;
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.3s;
}

.mgwpp-active .mgwpp-image-container {
  transform: translateX(0) scale(1);
  opacity: 1;
}

.mgwpp-carousel-image {
  max-height: 70vh;
  object-fit: contain;
  width: 100%;
  height: auto;
  border-radius: 16px;
  box-shadow:
    0 25px 50px -12px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(255, 255, 255, 0.1);
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.mgwpp-carousel-image:hover {
  transform: scale(1.02);
  box-shadow:
    0 30px 60px -15px rgba(0, 0, 0, 0.6),
    0 0 0 1px rgba(7, 186, 190, 0.3);
}

/* Navigation Arrows */
.mgwpp-carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: #fff;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s ease;
}

.mgwpp-carousel-arrow svg {
  width: 24px;
  height: 24px;
}

.mgwpp-carousel-arrow:hover {
  background: rgba(7, 186, 190, 0.2);
  border-color: rgba(7, 186, 190, 0.5);
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 0 20px rgba(7, 186, 190, 0.3);
}

.mgwpp-arrow-prev {
  left: 2rem;
}

.mgwpp-arrow-next {
  right: 2rem;
}

/* Navigation Dots */
.mgwpp-carousel-nav {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.75rem;
  z-index: 10;
  padding: 0.75rem 1.25rem;
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.mgwpp-nav-btn {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}

.mgwpp-nav-btn::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: transparent;
  transition: all 0.3s ease;
}

.mgwpp-nav-btn:hover {
  background: rgba(7, 186, 190, 0.5);
  transform: scale(1.2);
}

.mgwpp-nav-btn.mgwpp-active {
  background: #07babe;
  transform: scale(1.3);
  box-shadow: 0 0 15px rgba(7, 186, 190, 0.6);
}

/* Drag State */
.mgwpp-carousel-viewport.dragging {
  cursor: grabbing;
  user-select: none;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .mgwpp-slide-content {
    padding: 3rem 4rem;
    gap: 3rem;
  }

  .mgwpp-carousel-arrow {
    width: 48px;
    height: 48px;
  }

  .mgwpp-arrow-prev {
    left: 1rem;
  }

  .mgwpp-arrow-next {
    right: 1rem;
  }
}

@media (max-width: 768px) {
  .mgwpp-slide-content {
    flex-direction: column-reverse;
    padding: 2rem;
    gap: 2rem;
    justify-content: flex-end;
    padding-bottom: 6rem;
  }

  .mgwpp-text-content {
    max-width: 100%;
    text-align: center;
  }

  .mgwpp-slide-subtitle {
    max-width: 100%;
  }

  .mgwpp-image-container {
    max-width: 100%;
  }

  .mgwpp-carousel-image {
    max-height: 40vh;
  }

  .mgwpp-carousel-arrow {
    width: 44px;
    height: 44px;
    top: auto;
    bottom: 6rem;
    transform: none;
  }

  .mgwpp-carousel-arrow:hover {
    transform: scale(1.1);
  }

  .mgwpp-arrow-prev {
    left: 1.5rem;
  }

  .mgwpp-arrow-next {
    right: 1.5rem;
  }

  .mgwpp-carousel-nav {
    bottom: 1.5rem;
  }

  .mgwpp-cta-button {
    padding: 0.875rem 2rem;
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .mgwpp-slide-content {
    padding: 1.5rem;
    padding-bottom: 5rem;
  }

  .mgwpp-slide-title {
    font-size: 1.75rem;
  }

  .mgwpp-slide-subtitle {
    font-size: 0.95rem;
  }

  .mgwpp-carousel-arrow {
    width: 40px;
    height: 40px;
  }

  .mgwpp-carousel-arrow svg {
    width: 20px;
    height: 20px;
  }
}
