.gallery { background: var(--bg-dark); }

.gallery-slider-container {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-glass);
}

.gallery-track {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-slide {
  min-width: 100%;
  position: relative;
}

.gallery-slide img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  display: block;
}

.gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
  text-align: center;
}

.gallery-caption h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 4px;
  color: #fff;
}

.gallery-caption p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.8);
}

.gallery-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border-glass);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: var(--transition);
  z-index: 2;
  cursor: pointer;
}

.gallery-btn:hover {
  background: var(--primary);
  border-color: var(--primary);
}

.gallery-prev { left: 16px; }
.gallery-next { right: 16px; }

.gallery-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
}

.gallery-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--text-muted);
  cursor: pointer;
  transition: var(--transition);
  border: none;
  padding: 0;
}

.gallery-dot.active {
  width: 28px;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
}

@media (max-width: 768px) {
  .gallery-btn {
    width: 36px;
    height: 36px;
    font-size: 0.8rem;
  }
  .gallery-prev { left: 8px; }
  .gallery-next { right: 8px; }
  .gallery-caption { padding: 16px; }
  .gallery-caption h3 { font-size: 0.95rem; }
  .gallery-caption p { font-size: 0.75rem; }
}
