:root {
  --primary-color: #5865F2;
  --secondary-color: #6C63FF;
  --accent-color: #9EA4FF;
  --card-bg: rgba(15, 20, 40, 0.9);
}

.global-banner-slideshow {
  border-radius: 15px;
  overflow: hidden;
  background: var(--card-bg);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(92, 101, 242, 0.2);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
}

.global-banner-wrapper {
  position: relative;
  width: 100%;
  max-height: 250px;
  overflow: hidden;
  direction: ltr !important;
}

.global-banner-slides {
  display: flex;
  width: 100%;
  height: 250px;
  transition: transform 0.5s ease-in-out;
  will-change: transform;
  direction: ltr !important;
  flex-direction: row;
}

.global-banner-slide {
  min-width: 100%;
  max-width: 100%;
  width: 100%;
  flex: 0 0 100%;
  flex-shrink: 0;
  position: relative;
  cursor: pointer;
  height: 250px;
}

.global-banner-slide img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  object-position: center;
  display: block;
  background: #000;
}

.global-banner-prev,
.global-banner-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(92, 101, 242, 0.7);
  color: white;
  border: none;
  padding: 0.8rem;
  cursor: pointer;
  font-size: 1.1rem;
  border-radius: 50%;
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 10;
}

.global-banner-prev:hover,
.global-banner-next:hover {
  background: rgba(92, 101, 242, 0.9);
  transform: translateY(-50%) scale(1.1);
}

.global-banner-prev {
  left: 1rem;
}

.global-banner-next {
  right: 1rem;
}

.global-banner-indicators {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
  z-index: 10;
}

.global-banner-indicator {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  border: 2px solid rgba(92, 101, 242, 0.5);
  cursor: pointer;
  transition: all 0.3s ease;
}

.global-banner-indicator.active {
  background: var(--primary-color);
  transform: scale(1.3);
}

.global-banner-indicator:hover {
  background: rgba(92, 101, 242, 0.7);
}

.global-banner-slideshow.hidden {
  display: none;
}

@media (max-width: 768px) {
  .global-banner-wrapper {
    max-height: 180px;
  }

  .global-banner-slide img {
    height: 180px;
  }

  .global-banner-prev,
  .global-banner-next {
    width: 35px;
    height: 35px;
    padding: 0.5rem;
    font-size: 0.9rem;
  }

  .global-banner-prev {
    left: 0.5rem;
  }

  .global-banner-next {
    right: 0.5rem;
  }

  .global-banner-indicator {
    width: 8px;
    height: 8px;
  }
}
