/* ===== BASE ===== */
.s-carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: var(--t-card-radius);
  border: var(--t-border-width) solid var(--t-border);
  background: var(--t-card-bg);
}

.s-carousel-viewport {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.s-carousel-slide {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.s-carousel-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.s-carousel-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 16px;
  background: linear-gradient(transparent, rgba(0,0,0,0.6));
  color: #fff;
  font-size: 14px;
}

.s-carousel-content {
  padding: 24px;
  text-align: center;
}

.s-carousel-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  color: var(--t-text-muted);
  font-size: 14px;
}

/* Arrows */
.s-carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(0,0,0,0.45);
  color: #fff;
  border: none;
  cursor: pointer;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  z-index: 2;
}
.s-carousel-arrow:hover {
  background: rgba(0,0,0,0.7);
  transform: translateY(-50%) scale(1.1);
}
.s-carousel-prev { left: 12px; }
.s-carousel-next { right: 12px; }

/* Indicators */
.s-carousel-indicators {
  display: flex;
  justify-content: center;
  gap: 6px;
  padding: 12px;
}
.s-carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--t-border);
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  padding: 0;
}
.s-carousel-dot.active {
  background: var(--t-primary);
  width: 24px;
  border-radius: 4px;
}
.s-carousel-dot:hover {
  background: var(--t-text-muted);
}

/* ===== STYLE OVERRIDES ===== */

/* Brutalist */
.s-carousel-brutalist { border-radius: 0; border: 3px solid var(--t-text); }
.s-carousel-brutalist .s-carousel-caption { font-family: 'Courier New', monospace; }
.s-carousel-brutalist .s-carousel-arrow { border-radius: 0; }

/* Pixel */
.s-carousel-pixel { border-radius: 0; border: 3px solid var(--t-primary); }
.s-carousel-pixel .s-carousel-arrow { border-radius: 0; }

/* Neon */
.s-carousel-neon { border-color: var(--t-primary); box-shadow: 0 0 10px var(--t-primary); }
.s-carousel-neon .s-carousel-arrow { background: var(--t-primary); box-shadow: 0 0 8px var(--t-primary); }

/* Metro */
.s-carousel-metro { border-radius: 0; border: 2px solid var(--t-primary); }

/* Bootstrap */
.s-carousel-bootstrap { border: 1px solid var(--t-border); }

/* Cartoon */
.s-carousel-cartoon { border: 3px solid var(--t-text); box-shadow: 5px 5px 0 var(--t-primary); }
.s-carousel-cartoon .s-carousel-arrow { border: 2px solid var(--t-text); }

/* Carbon */
.s-carousel-carbon { border-radius: 0; border: 1px solid var(--t-border); font-family: 'IBM Plex Sans', sans-serif; }

/* Liquid Glass */
.s-carousel-liquid-glass { backdrop-filter: blur(24px) saturate(1.6); background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.15); }
.s-carousel-liquid-glass .s-carousel-arrow { background: rgba(255,255,255,0.15); backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,0.2); }