/* 결 GYEOL — 쇼케이스 페이지 전용 스타일 (2026-09-20 신설)
   .doc 레이아웃(guide.css) 위에 "주르륵 흐르는 영상 릴" 하나만 얹는다.
   실제 영상 0건인 지금은 .showcase-empty만 보이고 릴은 비어 있다(showcase.js가 토글). */

.showcase-reel {
  position: relative;
  margin: clamp(28px, 4vw, 48px) calc(var(--gutter) * -1) 0;
  padding: 0;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

.showcase-reel__track {
  display: flex;
  gap: clamp(14px, 1.6vw, 22px);
  width: max-content;
  padding: 4px var(--gutter);
  animation: showcase-scroll linear infinite;
  animation-duration: var(--showcase-duration, 40s);
}

.showcase-reel:hover .showcase-reel__track,
.showcase-reel:focus-within .showcase-reel__track {
  animation-play-state: paused;
}

@keyframes showcase-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.showcase-card {
  position: relative;
  flex: 0 0 auto;
  width: clamp(160px, 22vw, 220px);
  aspect-ratio: 9 / 16;
  border-radius: 10px;
  overflow: hidden;
  background: var(--panel-2);
  border: 1px solid var(--rule);
}

.showcase-card video,
.showcase-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.showcase-card__tag {
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 10px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  color: #F4EFE3;
  text-shadow: 0 1px 6px rgba(0,0,0,0.65);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.02em;
}

.showcase-card__tag b {
  font-size: 12px;
  font-weight: 600;
}

.showcase-empty {
  text-align: center;
  padding: clamp(40px, 6vw, 72px) var(--gutter);
  margin-top: clamp(20px, 3vw, 32px);
  border: 1px solid var(--rule);
  border-radius: 12px;
  background: var(--panel);
}

.showcase-empty__word {
  font-size: clamp(28px, 4vw, 44px);
  letter-spacing: 0.06em;
}

@media (prefers-reduced-motion: reduce) {
  .showcase-reel__track {
    animation: none;
    overflow-x: auto;
    scroll-snap-type: x proximity;
  }
}
