/* ================================================================
   Showcase — Hero Carousel
   ================================================================ */

.showcase-hero {
  display: flex;
  gap: 0;
  height: calc(100vh - var(--nav-h));
  min-height: 600px;
}

.carousel-wrap {
  flex: 1;
  position: relative;
  overflow: hidden;
  background: var(--c-bg);
  border-right: 1px solid var(--c-border);
}

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

.carousel-slide {
  min-width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: var(--c-bg);
}

.carousel-slide img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  user-select: none;
  -webkit-user-drag: none;
}

.carousel-slide .slide-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  gap: 16px;
  color: var(--c-text-4);
}
.carousel-slide .slide-placeholder svg { opacity: 0.3; }
.carousel-slide .slide-placeholder p {
  font-size: 14px;
  letter-spacing: 2px;
  font-weight: 500;
}

.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(15, 12, 23, 0.7);
  backdrop-filter: blur(4px);
  border: 1px solid var(--c-border);
  color: var(--c-text);
  font-size: 20px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--t-fast);
  z-index: 10;
  opacity: 0;
}
.carousel-wrap:hover .carousel-arrow { opacity: 0.8; }
.carousel-arrow:hover {
  background: var(--c-accent);
  border-color: var(--c-accent);
  opacity: 1 !important;
}

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

.carousel-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}
.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--c-border);
  cursor: pointer;
  transition: all var(--t-fast);
}
.carousel-dot.active {
  background: var(--c-accent);
  width: 24px;
  border-radius: 4px;
  box-shadow: 0 0 8px var(--c-accent-glow);
}

/* Sidebar (right of carousel) */
.showcase-sidebar {
  width: 340px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 40px;
  background: rgba(15, 12, 23, 0.4);
  backdrop-filter: blur(8px);
}

.hero-title {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -1px;
  margin-bottom: 16px;
}
.hero-accent {
  color: var(--c-accent);
  text-shadow: 0 0 30px var(--c-accent-glow);
}

.hero-sub {
  color: var(--c-text-3);
  font-size: 13px;
  line-height: 1.7;
  margin-bottom: 28px;
}

.showcase-count {
  margin-top: 20px;
  font-size: 11px;
  color: var(--c-text-4);
  letter-spacing: 1px;
  text-transform: uppercase;
}
.showcase-count span {
  color: var(--c-accent-bright);
  font-weight: 700;
}

/* Slide delete button */
.slide-actions {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 10;
  display: flex;
  gap: 6px;
  opacity: 0;
  transition: opacity var(--t-fast);
}
.carousel-slide:hover .slide-actions { opacity: 1; }
.slide-del-btn {
  background: rgba(8,6,13,0.8);
  border: 1px solid var(--c-border);
  color: #e88;
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  transition: all var(--t-fast);
}
.slide-del-btn:hover {
  border-color: var(--c-danger);
  background: rgba(230,57,70,0.15);
}

@media (max-width: 768px) {
  .showcase-hero { flex-direction: column; }
  .showcase-sidebar { width: 100%; padding: 24px; }
  .hero-title { font-size: 32px; }
}
