/* ==========================================================
   components.css — UI 컴포넌트 (T-001)
   ========================================================== */

/* ==========================================================
   0. 공통 유틸 / 이미지 폴백
   ========================================================== */

.media {
  position: relative;
  overflow: hidden;
  background: linear-gradient(155deg, #23232c 0%, #14141a 55%, #0b0b0f 100%);
}

.media--light {
  background: linear-gradient(155deg, #eef0f4 0%, #e3e6ec 60%, #d9dce3 100%);
}

.media__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s var(--ease);
}

/* 이미지 로드 실패 시: 숨기고 .media 의 폴백 배경만 노출 */
.media__img.is-failed {
  display: none;
}

/* 폴백일 때만 보이는 장식 패턴 */
.media::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 26% 22%, rgba(124, 58, 237, 0.35), transparent 55%),
    radial-gradient(circle at 78% 78%, rgba(198, 242, 46, 0.16), transparent 52%);
  opacity: 0;
  transition: opacity 0.2s var(--ease);
  pointer-events: none;
}

.media.is-fallback::after {
  opacity: 1;
}

.media--light.is-fallback::after {
  background-image:
    radial-gradient(circle at 26% 22%, rgba(124, 58, 237, 0.14), transparent 55%),
    radial-gradient(circle at 78% 78%, rgba(17, 17, 17, 0.06), transparent 52%);
}

.scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.55) 0%,
    rgba(0, 0, 0, 0.12) 24%,
    rgba(0, 0, 0, 0.1) 42%,
    rgba(0, 0, 0, 0.62) 74%,
    rgba(0, 0, 0, 0.86) 100%
  );
  pointer-events: none;
}

/* ==========================================================
   1. 버튼 / 아이콘 버튼 / 뱃지
   ========================================================== */

.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: var(--radius-pill);
  color: var(--text);
  position: relative;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease);
}

.icon-btn:hover {
  background: var(--bg-soft);
}

.icon-btn__count {
  position: absolute;
  top: 2px;
  right: 0;
  min-width: 17px;
  height: 17px;
  padding: 0 4px;
  border-radius: var(--radius-pill);
  background: var(--red);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  line-height: 17px;
  text-align: center;
  border: 2px solid var(--surface);
  box-sizing: content-box;
}

.icon-btn__dot {
  position: absolute;
  top: 7px;
  right: 8px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--red);
  border: 2px solid var(--surface);
}

.round-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--surface);
  color: var(--text);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--line);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}

.round-btn:hover {
  transform: translateY(-1px) scale(1.04);
  box-shadow: var(--shadow-lg);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 40px;
  padding: 0 18px;
  border-radius: var(--radius-pill);
  font-size: var(--fs-body);
  font-weight: 700;
  transition: transform var(--dur) var(--ease), background var(--dur) var(--ease);
}

.btn:hover {
  transform: translateY(-1px);
}

.btn--lime {
  background: var(--lime);
  color: #10130a;
}

.btn--lime:hover {
  background: var(--lime-strong);
}

.btn--ghost-light {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.link-more {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--text-sub);
  transition: color var(--dur) var(--ease);
}

.link-more:hover {
  color: var(--text);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 22px;
  padding: 0 8px;
  border-radius: var(--radius-pill);
  font-size: var(--fs-2xs);
  font-weight: 800;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.badge--lime {
  background: var(--lime);
  color: #10130a;
}

.badge--red {
  background: var(--red);
  color: #fff;
}

.badge--purple {
  background: var(--purple);
  color: #fff;
}

.badge--dark {
  background: rgba(0, 0, 0, 0.62);
  color: #fff;
  backdrop-filter: blur(4px);
}

.badge--live {
  background: var(--red);
  color: #fff;
  height: 26px;
  padding: 0 11px;
  font-size: var(--fs-xs);
}

.badge--live .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #fff;
  animation: pulse-dot 1.4s var(--ease) infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

/* ==========================================================
   2. 헤더
   ========================================================== */

.logo {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.logo__word {
  display: flex;
  align-items: center;
  gap: 2px;
  font-size: 23px;
  font-weight: 900;
  letter-spacing: -0.03em;
  color: var(--text);
  line-height: 1.1;
}

.logo__bolt {
  color: var(--lime);
  filter: drop-shadow(0 1px 0 rgba(0, 0, 0, 0.12));
}

.logo__slogan {
  font-size: var(--fs-2xs);
  color: var(--text-sub);
  font-weight: 500;
  letter-spacing: -0.01em;
}

.search {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  max-width: 460px;
  height: 44px;
  padding: 0 18px;
  border-radius: var(--radius-pill);
  background: var(--bg);
  border: 1px solid transparent;
  color: var(--text-sub);
  transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease);
}

.search:focus-within {
  background: var(--surface);
  border-color: var(--line-strong);
}

.search__input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: none;
  outline: none;
  font-size: var(--fs-body);
  color: var(--text);
}

.search__input::placeholder {
  color: var(--text-faint);
}

.avatar {
  display: block;
  position: relative;
  border-radius: 50%;
  overflow: hidden;
  flex: none;
  background: linear-gradient(140deg, var(--purple-soft), var(--purple));
}

.avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.avatar img.is-failed,
.avatar-btn img.is-failed,
.pstrip__thumb img.is-failed {
  display: none;
}

.avatar-btn {
  position: relative;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid var(--line);
  margin-left: 2px;
  background: linear-gradient(140deg, var(--purple-soft), var(--purple));
}

.avatar-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ==========================================================
   3. 카테고리 칩
   ========================================================== */

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 36px;
  padding: 0 15px;
  border-radius: var(--radius-pill);
  background: var(--bg);
  color: var(--text);
  font-size: var(--fs-sm);
  font-weight: 600;
  white-space: nowrap;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease);
}

.chip:hover {
  background: var(--bg-soft);
}

.chip.is-active {
  background: #111;
  color: #fff;
}

.chip__emoji {
  font-size: 14px;
  line-height: 1;
}

.chip-all {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  flex: none;
  height: 36px;
  padding-left: 14px;
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--text-sub);
  border-left: 1px solid var(--line);
}

.chip-all:hover {
  color: var(--text);
}

/* ==========================================================
   4. 히어로 — 프로모 카드
   ========================================================== */

.promo {
  position: relative;
  flex: 0 0 var(--hero-promo-w);
  /* 레퍼런스처럼 쇼츠 카드와 같은 높이를 유지 (자체 비율은 고정하지 않음). (T-005) */
  height: var(--hero-card-h);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background:
    radial-gradient(120% 80% at 110% 8%, rgba(124, 58, 237, 0.55), transparent 60%),
    linear-gradient(165deg, #1a1a22 0%, #0e0e13 60%, #08080b 100%);
  color: #fff;
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
}

.promo__badge {
  align-self: flex-start;
}

.promo__title {
  margin-top: 18px;
  font-size: 30px;
  line-height: 1.28;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.promo__title em {
  font-style: normal;
  color: var(--lime);
}

.promo__sub {
  margin-top: 12px;
  font-size: var(--fs-sm);
  line-height: 1.6;
  color: var(--text-on-dark-sub);
}

.promo__cta {
  margin-top: 20px;
  align-self: flex-start;
}

.promo__deco {
  position: absolute;
  right: -34px;
  bottom: -30px;
  width: 210px;
  height: 210px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 32%, var(--purple-soft), var(--purple) 55%, rgba(124, 58, 237, 0) 72%);
  display: grid;
  place-items: center;
  opacity: 0.95;
}

.promo__deco::before {
  content: "";
  position: absolute;
  /* 원 크기가 브레이크포인트마다 달라져도 링 두께 비율이 유지되도록 % 사용 (T-005) */
  inset: 21%;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.35);
}

.promo__deco svg {
  position: relative;
  color: #fff;
  margin-left: 6px;
}

.promo__rings {
  position: absolute;
  left: -60px;
  top: 42%;
  width: 190px;
  height: 190px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 0 30px rgba(255, 255, 255, 0.03);
  pointer-events: none;
}

/* ==========================================================
   5. 히어로 — 쇼츠 카드 (9:16)
   ========================================================== */

.shorts {
  position: relative;
  flex: 0 0 var(--hero-card-w);
  aspect-ratio: 9 / 16;
  border-radius: var(--radius-lg);
  overflow: hidden;
  color: #fff;
  display: block;
  isolation: isolate;
}

.shorts:hover .media__img {
  transform: scale(1.045);
}

.shorts__layer {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  padding: 12px;
}

.shorts__top {
  display: flex;
  align-items: center;
  gap: 7px;
}

.shorts__avatar {
  width: 28px;
  height: 28px;
  border: 1.5px solid rgba(255, 255, 255, 0.85);
}

.shorts__id {
  display: flex;
  align-items: center;
  gap: 3px;
  font-size: var(--fs-xs);
  font-weight: 700;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
  min-width: 0;
}

.shorts__id span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.verified {
  color: #45b6ff;
  flex: none;
}

.follow-btn {
  margin-left: auto;
  height: 24px;
  padding: 0 10px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(6px);
  color: #fff;
  font-size: var(--fs-2xs);
  font-weight: 700;
  transition: background var(--dur) var(--ease);
}

.follow-btn:hover {
  background: rgba(255, 255, 255, 0.32);
}

.play-btn {
  position: absolute;
  top: 46%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
  border: 1.5px solid rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(6px);
  color: #fff;
  display: grid;
  place-items: center;
  transition: transform var(--dur) var(--ease), background var(--dur) var(--ease);
}

.play-btn svg {
  margin-left: 3px;
}

.shorts:hover .play-btn,
.creator:hover .play-btn {
  background: rgba(255, 255, 255, 0.34);
  transform: translate(-50%, -50%) scale(1.08);
}

.rail {
  position: absolute;
  right: 10px;
  bottom: 128px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.rail__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.55);
  transition: transform var(--dur) var(--ease);
}

.rail__item:hover {
  transform: scale(1.12);
}

.rail__item svg {
  filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.45));
}

.shorts__bottom {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.shorts__caption {
  font-size: var(--fs-xs);
  line-height: 1.45;
  font-weight: 600;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.pstrip {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(10px);
}

.pstrip__thumb {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  flex: none;
  background: linear-gradient(150deg, #3a3a46, #1b1b22);
  overflow: hidden;
  position: relative;
}

.pstrip__thumb img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pstrip__info {
  display: block;
  min-width: 0;
  flex: 1;
}

.pstrip__name {
  display: block;
  font-size: var(--fs-2xs);
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pstrip__price {
  display: block;
  font-size: var(--fs-xs);
  font-weight: 800;
  color: #fff;
  white-space: nowrap;
}

.pstrip__cart {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--lime);
  color: #10130a;
  display: grid;
  place-items: center;
  flex: none;
  transition: transform var(--dur) var(--ease);
}

.pstrip__cart:hover {
  transform: scale(1.1);
}

/* ==========================================================
   6. 신상 쇼츠 카드
   ========================================================== */

.newcard {
  position: relative;
  aspect-ratio: 9 / 16;
  border-radius: var(--radius-md);
  overflow: hidden;
  color: #fff;
  display: block;
  isolation: isolate;
}

.newcard:hover .media__img {
  transform: scale(1.05);
}

.newcard__layer {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  padding: 10px;
}

.newcard__top {
  display: flex;
  align-items: flex-start;
  gap: 6px;
}

.newcard__dur {
  height: 20px;
  padding: 0 7px;
  border-radius: var(--radius-xs);
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  font-size: var(--fs-2xs);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 3px;
}

.newcard__flag {
  margin-left: auto;
}

.newcard__bottom {
  margin-top: auto;
  display: flex;
  align-items: flex-end;
  gap: 8px;
}

.newcard__text {
  min-width: 0;
  flex: 1;
}

.newcard__caption {
  font-size: var(--fs-2xs);
  color: rgba(255, 255, 255, 0.8);
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

.newcard__name {
  margin-top: 3px;
  font-size: var(--fs-xs);
  font-weight: 700;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

.newcard__price {
  margin-top: 2px;
  font-size: 15px;
  font-weight: 900;
  letter-spacing: -0.02em;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

.newcard__add {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--purple);
  color: #fff;
  display: grid;
  place-items: center;
  flex: none;
  box-shadow: 0 4px 12px rgba(124, 58, 237, 0.45);
  transition: transform var(--dur) var(--ease), background var(--dur) var(--ease);
}

.newcard__add:hover {
  background: var(--purple-strong);
  transform: scale(1.1);
}

/* ==========================================================
   7. 상품 카드 (1:1 흰 카드)
   ========================================================== */

.product {
  background: var(--surface);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}

.product:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.product__media {
  aspect-ratio: 1 / 1;
  border-radius: 0;
}

.product:hover .media__img {
  transform: scale(1.05);
}

.product__badge {
  position: absolute;
  top: 9px;
  left: 9px;
  z-index: 2;
}

.product__info {
  padding: 11px 12px 12px;
  display: flex;
  align-items: flex-end;
  gap: 8px;
}

.product__text {
  min-width: 0;
  flex: 1;
}

.product__name {
  font-size: var(--fs-sm);
  font-weight: 600;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.7em;
}

.product__prices {
  margin-top: 5px;
  display: flex;
  align-items: baseline;
  gap: 6px;
  flex-wrap: nowrap;
  overflow: hidden;
  white-space: nowrap;
}

.product__price {
  font-size: 15px;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.product__was {
  font-size: var(--fs-2xs);
  color: var(--text-faint);
  text-decoration: line-through;
}

.product__off {
  font-size: var(--fs-xs);
  font-weight: 800;
  color: var(--red);
}

.product__actions {
  display: flex;
  align-items: center;
  gap: 2px;
  flex: none;
}

.product__act {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--text-sub);
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease);
}

.product__act:hover {
  background: var(--bg);
  color: var(--text);
}

.product__act.is-on {
  color: var(--red);
}

/* ==========================================================
   8. 크리에이터 픽 카드 (16:9)
   ========================================================== */

.creator {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-md);
  overflow: hidden;
  color: #fff;
  display: block;
  isolation: isolate;
}

.creator:hover .media__img {
  transform: scale(1.05);
}

.creator__layer {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  padding: 14px;
}

.creator__top {
  display: flex;
  align-items: center;
  gap: 9px;
}

.creator__avatar {
  width: 34px;
  height: 34px;
  border: 1.5px solid rgba(255, 255, 255, 0.85);
}

.creator__name {
  font-size: var(--fs-sm);
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 4px;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

.creator__followers {
  font-size: var(--fs-2xs);
  color: rgba(255, 255, 255, 0.72);
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

.creator__caption {
  margin-top: auto;
  font-size: var(--fs-body);
  font-weight: 700;
  line-height: 1.4;
  text-shadow: 0 1px 5px rgba(0, 0, 0, 0.55);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ==========================================================
   9. 정렬 탭
   ========================================================== */

.tab {
  height: 30px;
  padding: 0 13px;
  border-radius: var(--radius-pill);
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--text-sub);
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease);
}

.tab:hover {
  background: var(--bg-soft);
}

.tab.is-active {
  background: #111;
  color: #fff;
}

/* ==========================================================
   10. 하단 쿠폰 배너 / USP
   ========================================================== */

.coupon {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(90% 120% at 100% 0%, rgba(124, 58, 237, 0.4), transparent 62%),
    linear-gradient(140deg, #17171d 0%, #0d0d11 100%);
  color: #fff;
  padding: 34px 32px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.coupon__text {
  flex: 1;
  min-width: 0;
}

.coupon__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: var(--fs-xs);
  font-weight: 700;
  color: var(--lime);
  letter-spacing: 0.02em;
}

.coupon__title {
  margin-top: 10px;
  font-size: 30px;
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.28;
}

.coupon__title em {
  font-style: normal;
  color: var(--lime);
  font-size: 38px;
}

.coupon__sub {
  margin-top: 10px;
  font-size: var(--fs-body);
  color: var(--text-on-dark-sub);
}

.ticket {
  position: relative;
  flex: none;
  width: 224px;
  padding: 20px 22px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 45%, #5b21b6 100%);
  box-shadow: 0 14px 34px rgba(124, 58, 237, 0.42);
  color: #fff;
  overflow: hidden;
}

.ticket::before,
.ticket::after {
  content: "";
  position: absolute;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #0f0f14;
  top: 50%;
  transform: translateY(-50%);
}

.ticket::before {
  left: -11px;
}

.ticket::after {
  right: -11px;
}

.ticket__label {
  font-size: var(--fs-2xs);
  font-weight: 800;
  letter-spacing: 0.16em;
  color: rgba(255, 255, 255, 0.82);
}

.ticket__value {
  margin-top: 4px;
  font-size: 34px;
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.ticket__note {
  margin-top: 8px;
  padding-top: 10px;
  border-top: 1px dashed rgba(255, 255, 255, 0.4);
  font-size: var(--fs-2xs);
  color: rgba(255, 255, 255, 0.85);
}

.coupon__download {
  flex: none;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--lime);
  color: #10130a;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 26px rgba(198, 242, 46, 0.32);
  transition: transform var(--dur) var(--ease);
}

.coupon__download:hover {
  transform: translateY(-2px) scale(1.06);
}

.usp {
  border-radius: var(--radius-lg);
  background: linear-gradient(150deg, #1c1c23 0%, #101014 100%);
  color: #fff;
  padding: 26px 26px 24px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px 18px;
  align-content: center;
}

.usp__item {
  display: flex;
  gap: 12px;
}

.usp__icon {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--line-on-dark);
  display: grid;
  place-items: center;
  flex: none;
  color: var(--lime);
}

.usp__item:nth-child(even) .usp__icon {
  color: var(--purple-soft);
}

.usp__title {
  font-size: var(--fs-body);
  font-weight: 700;
}

.usp__desc {
  margin-top: 3px;
  font-size: var(--fs-xs);
  line-height: 1.5;
  color: var(--text-on-dark-sub);
}

/* ==========================================================
   11. 푸터
   ========================================================== */

.footer__brand .logo__word {
  font-size: 20px;
}

.footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-top: 14px;
  font-size: var(--fs-sm);
  color: var(--text-sub);
}

.footer__links a:hover {
  color: var(--text);
}

.footer__sns {
  display: flex;
  gap: 8px;
}

.sns-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  color: var(--text-sub);
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease);
}

.sns-btn:hover {
  background: #111;
  color: #fff;
  border-color: #111;
}

.footer__copy {
  font-size: var(--fs-xs);
  color: var(--text-faint);
}

.footer__credit {
  font-size: var(--fs-xs);
  color: var(--text-faint);
}

.to-top {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 36px;
  padding: 0 14px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line);
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--text-sub);
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease);
}

.to-top:hover {
  background: #111;
  color: #fff;
  border-color: #111;
}
