/* banner.css — 히어로 배너 슬라이더와 프로모션 팝업.
   색은 사이트 액센트 변수를 따라간다. 브랜드색을 여기에 박지 않는다. */

.hbn {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  margin: 0 0 18px;
  background: color-mix(in srgb, var(--fg, #fff) 4%, transparent);
  aspect-ratio: 4 / 1;
}
.hbn-track { position: absolute; inset: 0; }
.hbn-slide {
  position: absolute; inset: 0;
  opacity: 0; transition: opacity .5s ease;
  pointer-events: none;
}
.hbn-slide.on { opacity: 1; pointer-events: auto; }
.hbn-slide a { display: block; width: 100%; height: 100%; }
.hbn-img { width: 100%; height: 100%; object-fit: cover; display: block; }

.hbn-dots {
  position: absolute; left: 0; right: 0; bottom: 10px;
  display: flex; gap: 7px; justify-content: center; z-index: 2;
}
.hbn-dot {
  width: 8px; height: 8px; padding: 0; border-radius: 50%; cursor: pointer;
  border: 1px solid color-mix(in srgb, #fff 55%, transparent);
  background: color-mix(in srgb, #000 35%, transparent);
  transition: background .2s, width .2s;
}
.hbn-dot.on {
  width: 20px; border-radius: 5px;
  background: var(--acc, var(--mca-acc, #12c27a));
  border-color: transparent;
}

@media (max-width: 640px) {
  .hbn { aspect-ratio: 3 / 2; border-radius: 12px; margin-bottom: 12px; }
  .hbn-dots { bottom: 8px; }
}

/* ── 프로모션 팝업 ─────────────────────────────────────────────── */
.ppop-back {
  position: fixed; inset: 0; z-index: 9000;
  background: rgba(0, 0, 0, .62);
  display: flex; align-items: center; justify-content: center;
  padding: 18px;
}
.ppop-card {
  width: min(420px, 100%);
  border-radius: 16px; overflow: hidden;
  background: var(--panel, #121a24);
  border: 1px solid color-mix(in srgb, var(--acc, var(--mca-acc, #12c27a)) 24%, transparent);
  box-shadow: 0 18px 50px rgba(0, 0, 0, .5);
  animation: ppop-in .22s ease-out;
}
@keyframes ppop-in { from { transform: translateY(10px) scale(.985); opacity: 0; } to { transform: none; opacity: 1; } }
.ppop-img { width: 100%; display: block; }
.ppop-t { padding: 14px 16px 0; font-size: 16px; font-weight: 700; }
.ppop-b { padding: 6px 16px 0; font-size: 13.5px; line-height: 1.6; opacity: .82; }
.ppop-foot {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; padding: 14px 16px 15px; flex-wrap: nowrap;
}
.ppop-chk { display: flex; align-items: center; gap: 6px; font-size: 12.5px; opacity: .72; cursor: pointer; white-space: nowrap; }
.ppop-x {
  padding: 9px 18px; border-radius: 9px; cursor: pointer;
  color: #07130d; font-weight: 700; border: 1px solid transparent;
  background: linear-gradient(135deg, var(--acc, var(--mca-acc, #12c27a)), color-mix(in srgb, var(--acc, var(--mca-acc, #12c27a)) 72%, #000));
}
