
body { background: #071a2b !important; height: auto; }

/* ========================================
   히어로 비주얼 영역
   ======================================== */
.td-hero {
  position: relative;
  background: linear-gradient(150deg, #071a2b 0%, #0a2940 35%, #0d3555 65%, #0a2940 100%);
  overflow: hidden;
  padding: 7rem 1.5rem 1.5rem;
  color: #fff;
  text-align: center;
}

/* 배경 장식 */
.td-hero::before {
  content: "";
  position: absolute;
  top: -20%;
  right: -15%;
  width: 22rem;
  height: 22rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,229,160,0.15) 0%, transparent 70%);
  pointer-events: none;
}
.td-hero::after {
  content: "";
  position: absolute;
  bottom: -25%;
  left: -20%;
  width: 18rem;
  height: 18rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,196,224,0.1) 0%, transparent 70%);
  pointer-events: none;
}

/* 글로우 라인 */
.td-hero__glow {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(0,229,160,0.4) 50%, transparent 100%);
}

/* ========================================
   날짜 서클 (어제-오늘-내일)
   ======================================== */
.td-hero__date-row {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  margin: 0 auto 1.25rem;
  z-index: 1;
}

/* 타임라인 연결선 */
.td-hero__date-row::before {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.06), rgba(0,229,160,0.15), rgba(255,255,255,0.06), transparent);
  z-index: 0;
}

/* 어제/내일 서클 */
.td-hero__date-side {
  width: 4.5rem;
  height: 4.5rem;
  border-radius: 50%;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0.45;
  flex-shrink: 0;
  z-index: 1;
}

.td-hero__date-side .td-hero__date-num {
  font-size: 1.25rem;
  font-weight: 700;
  color: rgba(255,255,255,0.5);
  line-height: 1;
}

.td-hero__date-side .td-hero__date-weekday {
  font-size: 0.625rem;
  color: rgba(255,255,255,0.35);
  margin-top: 0.1875rem;
  letter-spacing: 0.05em;
}

/* 오늘 서클 (센터) */
.td-hero__date-today {
  position: relative;
  width: 8.5rem;
  height: 8.5rem;
  flex-shrink: 0;
  z-index: 1;
}

.td-hero__date-inner {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: rgba(0,229,160,0.05);
  border: 2px solid rgba(0,229,160,0.3);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 1;
  backdrop-filter: blur(8px);
}

.td-hero__date-today .td-hero__date-num {
  font-size: 2.75rem;
  font-weight: 900;
  line-height: 1;
  background: linear-gradient(90deg, #00e5a0 0%, #00d4c8 30%, #00c4e0 60%, #00e5a0 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: td-shimmer 4s ease-in-out infinite;
  filter: drop-shadow(0 0 1rem rgba(0,229,160,0.35));
}

.td-hero__date-today .td-hero__date-weekday {
  font-size: 0.9375rem;
  font-weight: 600;
  color: rgba(255,255,255,0.75);
  margin-top: 0.25rem;
  letter-spacing: 0.1em;
}

/* 오늘 서클 뒤 글로우 */
.td-hero__date-today::before {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 13rem;
  height: 13rem;
  background: radial-gradient(circle, rgba(0,229,160,0.12) 0%, rgba(0,196,224,0.06) 40%, transparent 70%);
  animation: td-glow-pulse 4s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}

/* 서클 링 (리플) */
.td-hero__ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(0,229,160,0.15);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  animation: td-ring-pulse 4s ease-out infinite;
}

.td-hero__ring--1 { width: 10.5rem; height: 10.5rem; }
.td-hero__ring--2 { width: 13rem; height: 13rem; animation-delay: 1.2s; border-color: rgba(0,196,224,0.12); }
.td-hero__ring--3 { width: 15.5rem; height: 15.5rem; animation-delay: 2.4s; border-color: rgba(0,229,160,0.06); }

/* SALE 뱃지 */
.td-hero__badge {
  position: absolute;
  top: -0.125rem;
  right: -0.375rem;
  background: linear-gradient(135deg, #00e5a0, #00b894);
  color: #071a2b;
  font-size: 0.5625rem;
  font-weight: 800;
  padding: 0.25rem 0.5rem;
  border-radius: 0.75rem;
  z-index: 5;
  letter-spacing: 0.06em;
  box-shadow: 0 2px 10px rgba(0,229,160,0.5);
  animation: td-badge-pulse 2s ease-in-out infinite;
}

@keyframes td-badge-pulse {
  0%, 100% { transform: scale(1); box-shadow: 0 2px 10px rgba(0,229,160,0.5); }
  50% { transform: scale(1.08); box-shadow: 0 2px 14px rgba(0,229,160,0.7); }
}

/* ========================================
   메인 타이틀
   ======================================== */
.td-hero__head {
  position: relative;
  z-index: 1;
  margin-bottom: 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.td-hero__title {
  display: block;
  font-family: 'Black Han Sans', sans-serif;
  font-size: 4.5rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  line-height: 1.1;
  background: linear-gradient(135deg, #00e5a0 0%, #00d4c8 50%, #00c4e0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 2rem rgba(0,229,160,0.25));
}

/* ========================================
   태그 강조
   ======================================== */
.td-hero__highlight {
  position: relative;
  z-index: 1;
  margin-bottom: 1.25rem;
}

.td-hero__tag {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  background: rgba(0,229,160,0.06);
  border: 1px solid rgba(0,229,160,0.2);
  border-radius: 3.125rem;
  padding: 0.625rem 1.5rem;
  backdrop-filter: blur(8px);
  position: relative;
  overflow: hidden;
}

.td-hero__tag::after {
  content: "";
  position: absolute;
  inset: -10% -30%;
  background: linear-gradient(115deg,
    rgba(255,255,255,0) 0%,
    rgba(255,255,255,0.08) 44%,
    rgba(255,255,255,0.2) 50%,
    rgba(255,255,255,0.08) 56%,
    rgba(255,255,255,0) 100%
  );
  transform: translateX(-120%);
  animation: td-shine 4.5s linear infinite;
  pointer-events: none;
}

.td-hero__tag-sub {
  font-size: 0.9375rem;
  color: rgba(255,255,255,0.7);
  font-weight: 500;
}

.td-hero__tag-main {
  font-size: 1.375rem;
  font-weight: 900;
  color: #00e5a0;
  text-shadow: 0 0 0.75rem rgba(0,229,160,0.5), 0 0 2rem rgba(0,229,160,0.25);
}

/* ========================================
   안내
   ======================================== */
.td-hero__desc {
  position: relative;
  z-index: 1;
  margin: 0 auto;
  text-align: center;
}

.td-hero__desc-sub {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.4);
  line-height: 1.6;
  margin: 0;
}

/* ========================================
   장식 요소: 떠다니는 오브
   ======================================== */
.td-hero__orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

.td-hero__orb--1 {
  width: 6rem; height: 6rem;
  top: 12%; right: 5%;
  background: radial-gradient(circle, rgba(0,229,160,0.1) 0%, transparent 70%);
  animation: td-float 6s ease-in-out infinite;
}

.td-hero__orb--2 {
  width: 4rem; height: 4rem;
  top: 55%; left: 3%;
  background: radial-gradient(circle, rgba(0,196,224,0.08) 0%, transparent 70%);
  animation: td-float 8s ease-in-out infinite 1s;
}

.td-hero__orb--3 {
  width: 3rem; height: 3rem;
  bottom: 15%; right: 12%;
  background: radial-gradient(circle, rgba(0,229,160,0.08) 0%, transparent 70%);
  animation: td-float 7s ease-in-out infinite 2s;
}

/* 장식 요소: 도트 (별 대신 원형 도트) */
.td-hero__dot {
  position: absolute;
  width: 0.25rem;
  height: 0.25rem;
  border-radius: 50%;
  background: rgba(0,229,160,0.5);
  pointer-events: none;
  z-index: 2;
}

.td-hero__dot--1 { top: 15%; left: 15%; animation: td-twinkle 3s ease-in-out infinite; }
.td-hero__dot--2 { top: 8%; right: 20%; animation: td-twinkle 2.5s ease-in-out infinite 0.8s; width: 0.1875rem; height: 0.1875rem; }
.td-hero__dot--3 { top: 45%; right: 10%; animation: td-twinkle 3.5s ease-in-out infinite 1.5s; }
.td-hero__dot--4 { bottom: 28%; left: 8%; animation: td-twinkle 2.8s ease-in-out infinite 0.4s; width: 0.1875rem; height: 0.1875rem; }
.td-hero__dot--5 { top: 30%; left: 30%; animation: td-twinkle 4s ease-in-out infinite 2s; width: 0.3125rem; height: 0.3125rem; }
.td-hero__dot--6 { bottom: 20%; right: 25%; animation: td-twinkle 3.2s ease-in-out infinite 1.2s; }

/* ========================================
   애니메이션
   ======================================== */
@keyframes td-ring-pulse {
  0% { opacity: 0.8; transform: translate(-50%, -50%) scale(0.9); }
  100% { opacity: 0; transform: translate(-50%, -50%) scale(1.2); }
}

@keyframes td-shimmer {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}

@keyframes td-glow-pulse {
  0%, 100% { opacity: 0.6; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 1; transform: translate(-50%, -50%) scale(1.15); }
}

@keyframes td-shine {
  0% { transform: translateX(-120%) skewX(-6deg); }
  55% { transform: translateX(120%) skewX(-6deg); }
  100% { transform: translateX(120%) skewX(-6deg); }
}

@keyframes td-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-0.75rem); }
}

@keyframes td-twinkle {
  0%, 100% { opacity: 0; transform: scale(0.5); }
  50% { opacity: 1; transform: scale(1); }
}

@keyframes td-countdown-pulse {
  0%, 100% { filter: drop-shadow(0 0 1rem rgba(0,229,160,0.15)); }
  50% { filter: drop-shadow(0 0 2rem rgba(0,229,160,0.35)); }
}

/* ========================================
   상품 없음 + 카운트다운
   ======================================== */
.td-empty {
  text-align: center;
  padding: 3rem 1.5rem 7.5rem;
  color: #fff;
}

.td-empty__title {
  font-size: 1.25rem;
  font-weight: 700;
  color: rgba(255,255,255,0.75);
  margin: 0 0 1.2rem;
}

.td-empty__countdown {
  margin-bottom: 1.2rem;
}

.td-empty__timer {
  font-size: 3.5rem;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
  background: linear-gradient(135deg, #00e5a0, #00c4e0);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 0.08em;
  margin-bottom: 0.75rem;
  animation: td-countdown-pulse 2s ease-in-out infinite;
}

.td-empty__sub {
  font-size: 0.9375rem;
  color: rgba(255,255,255,0.5);
  margin: 0;
}

/* ========================================
   하단 리스트 영역 — 오늘할인 전용
   ======================================== */
.td-list-wrap {
  padding: 1.25rem 1rem 5rem !important;
}

/* 오늘할인 전용: 할인율 그린 */
.td-list-wrap .discount { color: #00e5a0; }

/* 오늘할인 전용: 프로모션 뱃지 숨김 */
.td-list-wrap .badges { display: none; }

/* 별점 없음 표시는 item-promo.css 에서 공통 처리 */

/* ========================================
   모바일 GNB (다크)
   ======================================== */
.td-gnb.is-scrolled {
  background: #0a2235;
  box-shadow: 0 1px 4px rgba(0,0,0,0.3);
}

/* 스크롤업 */
.scroll-up { background: rgba(7,26,43,0.85); }

/* ========================================
   웹(.is-web) 전용 오버라이드
   ======================================== */
.is-web .td-hero {
  padding: 5rem 1.25rem 2rem;
}

.is-web .td-hero::before { width: 31rem; height: 31rem; }
.is-web .td-hero::after { width: 25rem; height: 25rem; }

/* 날짜 서클: 웹 */
.is-web .td-hero__date-row { gap: 2rem; margin-bottom: 1.5rem; }
.is-web .td-hero__date-side { width: 6rem; height: 6rem; }
.is-web .td-hero__date-side .td-hero__date-num { font-size: 1.625rem; }
.is-web .td-hero__date-side .td-hero__date-weekday { font-size: 0.75rem; }
.is-web .td-hero__date-today { width: 11rem; height: 11rem; }
.is-web .td-hero__date-today .td-hero__date-num { font-size: 3.5rem; }
.is-web .td-hero__date-today .td-hero__date-weekday { font-size: 1.0625rem; }
.is-web .td-hero__date-today::before { width: 17rem; height: 17rem; }
.is-web .td-hero__badge { font-size: 0.6875rem; padding: 0.3125rem 0.625rem; }
.is-web .td-hero__ring--1 { width: 13.5rem; height: 13.5rem; }
.is-web .td-hero__ring--2 { width: 16.5rem; height: 16.5rem; }
.is-web .td-hero__ring--3 { width: 19.5rem; height: 19.5rem; }

.is-web .td-hero__head { margin-bottom: 1.25rem; }
.is-web .td-hero__title { font-size: 5.5rem; }

.is-web .td-hero__highlight { margin-bottom: 0; }
.is-web .td-hero__tag { gap: 0.75rem; padding: 0.875rem 2rem; }
.is-web .td-hero__tag-sub { font-size: 1rem; }
.is-web .td-hero__tag-main { font-size: 1.5rem; }

/* 히어로 장식: 웹 확대 */
.is-web .td-hero__orb--1 { width: 10rem; height: 10rem; }
.is-web .td-hero__orb--2 { width: 7rem; height: 7rem; }
.is-web .td-hero__orb--3 { width: 5rem; height: 5rem; }

/* 안내: 웹 */
.is-web .td-hero__desc { padding-top: 1.5rem; }
.is-web .td-hero__desc-sub { font-size: 1rem; }

/* 하단 리스트: 웹 */
.is-web .td-list-wrap {
  max-width: 68.75rem;
  margin: 0 auto;
  padding: 2rem 1.25rem 3.75rem !important;
}

/* 웹 리스트 카드 스타일은 item-promo.css 에서 처리 */

/* 카운트다운: 웹 */
.is-web .td-empty { padding: 4rem 1.5rem 5rem; }
.is-web .td-empty__timer { font-size: 4rem; }


