/* ============================================
   퀄리스포츠 팝업스토어 - 스타일시트
   수원 타임빌라스 팝업 2026.03.27 ~ 04.16
============================================ */

/* ---- 로컬 폰트: Paperlogy ---- */
@font-face { font-family: 'Paperlogy'; src: url('fonts/Paperlogy-1.000/Paperlogy-1Thin.ttf') format('truetype'); font-weight: 100; }
@font-face { font-family: 'Paperlogy'; src: url('fonts/Paperlogy-1.000/Paperlogy-2ExtraLight.ttf') format('truetype'); font-weight: 200; }
@font-face { font-family: 'Paperlogy'; src: url('fonts/Paperlogy-1.000/Paperlogy-3Light.ttf') format('truetype'); font-weight: 300; }
@font-face { font-family: 'Paperlogy'; src: url('fonts/Paperlogy-1.000/Paperlogy-4Regular.ttf') format('truetype'); font-weight: 400; }
@font-face { font-family: 'Paperlogy'; src: url('fonts/Paperlogy-1.000/Paperlogy-5Medium.ttf') format('truetype'); font-weight: 500; }
@font-face { font-family: 'Paperlogy'; src: url('fonts/Paperlogy-1.000/Paperlogy-6SemiBold.ttf') format('truetype'); font-weight: 600; }
@font-face { font-family: 'Paperlogy'; src: url('fonts/Paperlogy-1.000/Paperlogy-7Bold.ttf') format('truetype'); font-weight: 700; }
@font-face { font-family: 'Paperlogy'; src: url('fonts/Paperlogy-1.000/Paperlogy-8ExtraBold.ttf') format('truetype'); font-weight: 800; }
@font-face { font-family: 'Paperlogy'; src: url('fonts/Paperlogy-1.000/Paperlogy-9Black.ttf') format('truetype'); font-weight: 900; }

/* ---- 디자인 토큰: 스프링 테마 ---- */
:root {
  /* 봄 화사한 톤 (15% 추가 톤업) */
  --c-bg: #f9fbff;
  --c-bg2: #ffffff;
  --c-card: rgba(255, 255, 255, 0.92);
  --c-card-border: rgba(99, 149, 255, 0.15);
  --c-blue: #4f7cff;
  --c-blue-light: #6f9dff;
  --c-cyan: #34b8d9;
  --c-cyan-dim: rgba(52, 184, 217, 0.1);
  --c-pink: #f472b6;
  --c-pink-dim: rgba(244, 114, 182, 0.14);
  --c-gold: #f59e0b;
  --c-gold-dim: rgba(245, 158, 11, 0.14);
  --c-green: #22c55e;
  --c-white: #fff;
  --c-text: #1e2d5a;
  --c-muted: rgba(30, 45, 90, 0.55);
  --c-hero-overlay: linear-gradient(180deg, rgba(255,255,255,0.1) 0%, rgba(249,251,255,0.6) 60%, #f9fbff 100%);
  --radius-card: 20px;
  --radius-sm: 10px;
  --shadow-card: 0 4px 24px rgba(79,124,255,0.10), 0 0 0 1px rgba(99,149,255,0.14);
  --shadow-hover: 0 12px 48px rgba(79,124,255,0.22), 0 0 0 1px rgba(52,184,217,0.3);
  --transition: all 0.32s cubic-bezier(.4,0,.2,1);
}

/* ---- 리셋 & 기반 ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; overflow-x: hidden; }

body {
  font-family: 'Paperlogy', 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif;
  background-color: var(--c-bg);
  background-image:
    radial-gradient(ellipse 60vw 60vh at 20% 0%, rgba(255,180,210,0.3) 0%, transparent 70%),
    radial-gradient(ellipse 50vw 50vh at 85% 30%, rgba(160,200,255,0.25) 0%, transparent 70%),
    radial-gradient(ellipse 80vw 50vh at 50% 100%, rgba(180,230,200,0.2) 0%, transparent 70%);
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-size: cover;
  color: var(--c-text);
  min-height: 100vh;
  overflow-x: hidden;
  font-size: 16.5px;
  line-height: 1.7;
}

body::before {
  content: none;
}

/* ---- 래퍼 ---- */
.page-wrapper {
  position: relative;
  z-index: 1;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 20px 110px; /* 기존에는 위쪽이 0이었지만, body 자체나 다른 여백 때문에 밀릴 수 있음 */
}

/* ============================================
   히어로 섹션
============================================ */
.hero {
  position: relative;
  min-height: auto;
  padding-top: 0; /* 완전히 꼭대기로 붙임 */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
  padding-bottom: 0; /* 불필요한 하단 여백 제거 (section margin-top에 맡김) */
  overflow: visible;
}

/* ---- 히어로 로고 (기존 로고 제거되었으므로 현재 사용 안함) ---- */
.hero-logo {
  display: none;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 30%;
  filter: brightness(1.05) saturate(1.1);
  transition: transform 0.1s linear;
  opacity: 0.3;
}

.hero-overlay {
  display: none;
}

/* 기존 .hero-mascot 삭제 (dday-wrapper 내부로 이동함) */

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 20px 0; /* 위쪽 패딩 완전히 0으로 */
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(79,124,255,0.12);
  border: 1px solid rgba(79,124,255,0.35);
  border-radius: 100px;
  padding: 6px 18px;
  font-size: 12px;
  font-weight: 600;
  color: var(--c-blue);
  letter-spacing: 0.05em;
  margin-bottom: 12px; /* 기존 18px -> 12px로 축소하여 요소들을 더 위로 끌어올림 */
  animation: fadeInUp 0.7s ease both;
}

.hero-badge .dot {
  width: 7px; height: 7px;
  background: var(--c-blue);
  border-radius: 50%;
  animation: pulse-dot 1.5s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.7); }
}

.hero-center-logo {
  margin-bottom: 12px; /* 20px -> 12px로 축소 */
  animation: fadeInUp 0.7s 0.1s ease both;
}
.hero-center-logo img {
  height: clamp(29px, 4.4vw, 37px);
  width: auto;
}

.hero-title {
  font-size: clamp(32px, 8vw, 84px);
  font-weight: 900;
  color: #1e2d5a;
  line-height: 1.2;
  margin-bottom: 13px;
  animation: fadeInUp 0.7s 0.18s ease both;
  letter-spacing: -0.02em;
}

.hero-title span,
.hero-title em {
  font-style: italic;
  background: linear-gradient(90deg, var(--c-blue), #a78bfa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  padding-right: 0.25em;
  margin-right: -0.2em;
  display: inline-block;
}

.hero-subtitle {
  font-size: clamp(18px, 2.8vw, 26px);
  color: rgba(30, 45, 90, 0.75);
  margin-bottom: 44px;
  line-height: 1.5;
  animation: fadeInUp 0.7s 0.26s ease both;
}

.hero-meta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  animation: fadeInUp 0.7s 0.34s ease both;
}

.meta-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--c-text);
  font-weight: 500;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(79,124,255,0.15);
  border-radius: 100px;
  padding: 8px 22px;
  box-shadow: 0 4px 14px rgba(79,124,255,0.06);
}

.meta-sep {
  opacity: 0.4;
  font-weight: 300;
  margin: 0 4px;
}

.chip-icon { font-size: 15px; }

.mascot-img {
  left: calc(100% + 10px);
  bottom: -15px;
  width: 125px;
}

/* ---- D-Day 카운터 ---- */
.dday-bar {
  display: flex;
  gap: 19px;
  justify-content: center;
  margin: 0 0 16px 0; /* 아래로 튀는 여백 추가 축소 */
  padding-top: 0;
  animation: fadeInUp 0.7s 0.2s ease both;
}

.dday-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: rgba(255,255,255,0.75);
  backdrop-filter: blur(10px);
  border: 4px solid rgba(79,124,255,0.28); /* 테두리 소폭 얇게 */
  border-radius: 26px; /* 곡률 축소상향 */
  padding: 26px 37px;
  min-width: 145px;
}

.dday-num {
  font-family: 'Paperlogy', sans-serif;
  font-size: 74px;
  font-weight: 800;
  color: var(--c-blue);
  line-height: 1;
}

.dday-label {
  font-size: 22px;
  color: var(--c-muted);
  margin-top: 8px;
  letter-spacing: 0.08em;
}

.dday-sep {
  font-size: 64px;
  color: var(--c-blue);
  align-self: center;
  margin-top: -11px;
  opacity: 0.5;
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ============================================
   섹션 공통
============================================ */
section { margin-top: 48px; }

.section-header {
  text-align: center;
  margin-bottom: 31px;
}

.section-eyebrow {
  display: inline-block;
  font-family: 'Paperlogy', sans-serif;
  font-size: clamp(12px, 2.2vw, 15px);
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--c-cyan);
  background: var(--c-cyan-dim);
  border: 1px solid rgba(34,211,238,0.3);
  border-radius: 100px;
  padding: 7px 18px;
  margin-bottom: 18px;
}

.section-title {
  font-size: clamp(32px, 8vw, 84px);
  font-weight: 900;
  color: #1e2d5a;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.section-title em {
  font-style: normal;
  background: linear-gradient(90deg, var(--c-blue), #a78bfa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-desc {
  margin-top: 11px;
  color: var(--c-muted);
  font-size: 15.5px;
}

.pill-desc {
  display: inline-block;
  margin-top: 16px;
  padding: 14px 28px;
  background: var(--c-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 100px;
  border: 1px solid var(--c-card-border);
  box-shadow: 0 4px 16px rgba(79,124,255,0.04);
  font-size: 15px;
  color: var(--c-text);
  font-weight: 600;
  line-height: 1.4;
}

/* ============================================
   글래스 카드 기반
============================================ */
.card {
  background: var(--c-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--c-card-border);
  border-radius: var(--radius-card);
  padding: 28px;
  box-shadow: var(--shadow-card);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.55) 0%, transparent 60%);
  pointer-events: none;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(52,184,217,0.35);
}

/* ============================================
   행사 개요 리스트
============================================ */
.overview-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
  max-width: 1100px;
  margin: 0 auto;
}

.overview-item {
  display: flex;
  align-items: center;
  gap: 12px; /* 18px -> 12px */
  width: 100%;
  max-width: 396px;
  padding: 12px 24px 12px 18px; /* 패딩 축소 */
  background: var(--c-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 100px;
  border: 1px solid var(--c-card-border);
  box-shadow: 0 4px 16px rgba(79,124,255,0.04);
  transition: var(--transition);
}

.overview-item:hover {
  background: #fff;
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(79,124,255,0.08);
  border-color: rgba(52,184,217,0.3);
}

.overview-icon {
  width: 38px; height: 38px; /* 48px -> 38px */
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px; /* 24px -> 20px */
  background: linear-gradient(135deg, rgba(79,124,255,0.08) 0%, rgba(167,139,250,0.12) 100%);
  border-radius: 50%;
  color: var(--c-blue);
  filter: drop-shadow(0 4px 8px rgba(79,124,255,0.12));
  flex-shrink: 0;
}

.overview-text {
  text-align: left;
}

.overview-text strong {
  display: block;
  font-size: 12px; /* 13px -> 12px */
  font-weight: 700;
  color: var(--c-blue);
  letter-spacing: 0.05em;
  margin-bottom: 2px;
}

.overview-text p {
  font-size: 14px; /* 16.5px -> 14px */
  color: var(--c-text);
  font-weight: 600;
  line-height: 1.4;
  margin: 0;
  word-break: keep-all; /* 줄바꿈 방지 추가 */
}

/* ============================================
   혜택 섹션
============================================ */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(242px, 1fr));
  gap: 20px;
}
.benefit-card {
  text-align: center;
  display: flex;
  flex-direction: column;
  position: relative;
  height: 100%;
}

.benefit-card:not(.special-benefit-card) {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: 1fr 60px 40px;
  gap: 10px;
  padding: clamp(30px, 6vw, 50px) clamp(12px, 3vw, 20px) clamp(12px, 3vw, 20px);
}

.benefit-body {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 15px;
}

.benefit-card > .tag-list {
  width: 100%;
  height: 100%;
  display: flex;
  flex-wrap: wrap;
  align-content: flex-start;
  justify-content: center;
  gap: 7px;
  margin: 0;
}

.benefit-card .benefit-warning {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 5px 10px 0;
  text-align: center;
  font-size: 10px;
  color: var(--c-pink);
  font-weight: 500;
  margin: 0;
  letter-spacing: -0.02em;
  line-height: 1.4;
}

/* 스페셜 혜택 전용 레이아웃 분리 */
.special-benefit-card {
  padding: 0;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.special-benefit-card .top-half {
  width: 100%;
  height: clamp(180px, 50vw, 250px);
  background: rgba(255, 255, 255, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.special-benefit-card .top-half img {
  position: absolute;
  top: 40px; /* 50px -> 40px 위로 당김 */
  left: 0;
  width: 100%;
  height: 200px; /* 190px -> 200px */
  object-fit: contain;
  transform: scale(1.03); /* 1.15 -> 1.03 (약 10% 축소) */
  z-index: 0;
}

.special-benefit-card .bottom-half {
  padding: clamp(20px, 5vw, 35px) clamp(14px, 4vw, 22px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 15px;
  width: 100%;
  flex: 1;
}

.benefit-number {
  position: absolute;
  top: 18px;
  left: 22px;
  font-family: 'Paperlogy', sans-serif;
  font-size: 12px;
  font-weight: 700;
  color: var(--c-blue);
  background: rgba(79,124,255,0.1);
  border: 1px solid rgba(79,124,255,0.25);
  border-radius: 100px;
  padding: 2px 11px;
  letter-spacing: 0.1em;
}

.benefit-icon-wrap {
  width: 75px;
  height: 75px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 33px;
  border: 2px solid;
  margin-top: 13px;
  overflow: hidden;
  position: relative;
}

.benefit-icon-wrap .real-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* display: none; */ /* 필요시 활성화 */
}

.benefit-icon-wrap.blue {
  background: rgba(79,124,255,0.12);
  border-color: rgba(79,124,255,0.35);
}
.benefit-icon-wrap.cyan {
  background: var(--c-cyan-dim);
  border-color: rgba(52,184,217,0.4);
}
.benefit-icon-wrap.gold {
  background: var(--c-gold-dim);
  border-color: rgba(245,158,11,0.4);
}
.benefit-icon-wrap.green {
  background: rgba(34,197,94,0.12);
  border-color: rgba(34,197,94,0.35);
}

.benefit-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--c-text);
  line-height: 1.4;
}

.benefit-card p {
  font-size: 13.5px;
  color: var(--c-muted);
  line-height: 1.5;
  margin: 0;
  word-break: keep-all;
}

/* 스페셜 카드는 박스가 크므로 내부 컨텐츠 사이즈 키움 */
.special-benefit-card h3 {
  font-size: 22px;
}
.special-benefit-card p {
  font-size: 15.5px;
}
.special-benefit-card .benefit-number-special {
  font-size: 14px;
  padding: 4px 14px;
}
.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  justify-content: center;
}

.tag-top-right {
  position: absolute;
  top: 18px;
  right: 22px;
  margin: 0;
}

.tag {
  font-size: 12px;
  padding: 3px 11px;
  border-radius: 100px;
  font-weight: 600;
}

.tag-blue  { background: rgba(79,124,255,0.12); color: var(--c-blue); border: 1px solid rgba(79,124,255,0.28); }
.tag-cyan  { background: var(--c-cyan-dim); color: var(--c-cyan); border: 1px solid rgba(52,184,217,0.3); }
.tag-gold  { background: var(--c-gold-dim); color: var(--c-gold); border: 1px solid rgba(245,158,11,0.3); }

/* ============================================
   사은품 이미지 카드
============================================ */
.gift-image-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  overflow: hidden;
  border-radius: var(--radius-card);
}

.special-gift-card {
  margin-bottom: 24px;
}

.gift-image-card img, .gift-bundle-img {
  width: 100%;
  max-width: 528px;
  height: auto;
  max-height: 352px;
  object-fit: contain;
  display: block;
  margin-top: 22px;
}

.gift-bundle-img {
  max-width: 100%;
  max-height: none;
  margin-bottom: 35px;
  margin-top: 0;
}

.special-gift-title {
  margin-bottom: 18px;
}

.special-gift-list {
  max-width: none;
  margin-top: 0;
}

.gift-image-card .gift-image-info {
  padding: clamp(20px, 4vw, 31px);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 22px;
  width: 100%;
}

.gift-group-title {
  font-size: 18px;
  font-weight: 800;
  color: var(--c-text);
  margin-bottom: 15px;
}

.benefit-box {
  width: 100%;
  max-width: 572px;
  background: var(--c-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 35px;
  border: 1px solid var(--c-card-border);
  box-shadow: 0 4px 16px rgba(79,124,255,0.04);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 9px 0;
}

.benefit-item {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 18px 31px;
  border-bottom: 1px solid rgba(79,124,255,0.06);
  font-size: 16.5px;
  color: var(--c-text);
  font-weight: 600;
  background: transparent;
  transition: background 0.2s ease;
}

.benefit-item:last-child {
  border-bottom: none;
}

.benefit-item:hover {
  background: rgba(255, 255, 255, 0.4);
}

.benefit-item .li-icon {
  font-size: 20px;
  flex-shrink: 0;
}

.benefit-item .li-badge {
  font-size: 12px;
  font-weight: 700;
  padding: 4px 11px;
  border-radius: 100px;
  margin-left: auto;
}

/* ============================================
   맥스 시리즈 섹션
============================================ */
.max-series-container {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
}

/* .max-hero-image removed */

.max-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 15px;
  margin-bottom: 24px;
}

.max-feature-item {
  padding: 26px 22px; /* 여백 조금 더 여유롭게 상향 */
  background: var(--c-card); /* rgba(255,255,255,0.55) 대신 카드 배경색으로 통일 */
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: var(--radius-sm);
  border: 1px solid var(--c-card-border);
  box-shadow: var(--shadow-card); /* 떠있는 느낌 추가 (그림자) */
  display: flex;
  align-items: flex-start;
  gap: 15px; /* 아이콘과 텍스트 간격 조정 상향 */
  transition: var(--transition);
}

.max-feature-item:hover {
  background: #fff;
  transform: translateY(-5px); /* 호버 시 떠오르는 모션 강화 */
  box-shadow: var(--shadow-hover);
  border-color: rgba(52,184,217,0.3);
}

.max-feature-item .feat-icon {
  font-size: 29px;
  flex-shrink: 0;
}

.max-feature-item h4 {
  font-size: 15.5px;
  font-weight: 700;
  color: var(--c-blue);
  margin-bottom: 4px;
}

.max-feature-item p {
  font-size: 14px;
  color: var(--c-muted);
  line-height: 1.55;
}

.lineup-pills-wrap {
  position: relative;
  width: 100%;
  max-width: 620px; /* 약 4개 모델만 보이도록 제한. 화면 커져도 화살표가 너무 멀어지지 않음 */
  margin: 0 auto;
  display: flex;
  align-items: center;
}

.pills-scroll-container {
  overflow-x: auto;
  scroll-behavior: smooth;
  -ms-overflow-style: none;  /* IE and Edge */
  scrollbar-width: none;  /* Firefox */
  width: 100%;
  padding: 5px 0; /* Box-shadow clipping 방지 */
}
.pills-scroll-container::-webkit-scrollbar {
  display: none;
}

.lineup-pills {
  display: flex;
  flex-wrap: nowrap;
  gap: 11px;
  justify-content: flex-start;
  width: max-content;
  margin: 0 auto;
  padding: 0 45px; /* 양끝 화살표 영역 공간 띄우기 (컴퓨터, 모바일 동일 적용) */
}

.lineup-pills-wrap .pills-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  min-width: 40px;
  max-width: 40px;
  min-height: 40px;
  max-height: 40px;
  padding: 0;
  margin: 0;
  flex-shrink: 0;
  z-index: 10;
  display: flex !important;
  background: white;
  border: 1px solid var(--c-card-border);
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  color: var(--c-blue);
  box-shadow: 0 4px 12px rgba(79, 124, 255, 0.15);
}
.lineup-pills-wrap .pills-nav-btn:active {
  transform: translateY(-50%) scale(0.9);
}
/* 안쪽으로 배치하여 버튼 아래로 탭들이 자연스럽게 숨겨지도록 처리 */
.lineup-pills-wrap .pills-nav-btn.prev { left: 8px; justify-content: center; padding: 0; }
.lineup-pills-wrap .pills-nav-btn.next { right: 8px; justify-content: center; padding: 0; }

.lineup-pill {
  background: var(--c-card); /* rgba(79,124,255,0.1) 대신 흰색 베이스 */
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--c-card-border);
  border-radius: 100px;
  padding: 11px 26px; /* 패딩 조금 늘림 */
  font-size: 15.5px;
  font-weight: 700; /* 600 -> 700으로 강조 */
  color: var(--c-blue);
  transition: var(--transition);
  cursor: pointer; /* 클릭 가능한 요소임을 나타냄 */
}

/* 선택된 버튼 디자인 */
.lineup-pill.active {
  background: var(--c-blue);
  color: #fff;
  border-color: var(--c-blue);
}

.lineup-pill:hover:not(.active) {
  background: rgba(79,124,255,0.08);
  border-color: var(--c-cyan);
  color: var(--c-cyan);
  transform: translateY(-2px);
}

/* ============================================
   FAQ 아코디언
============================================ */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.faq-item {
  background: rgba(255,255,255,0.72);
  border: 1px solid rgba(79,124,255,0.2);
  border-radius: 15px;
  overflow: hidden;
  transition: var(--transition);
}

.faq-item:hover {
  border-color: rgba(52,184,217,0.3);
}

.faq-item.open {
  border-color: rgba(52,184,217,0.45);
  background: rgba(255,255,255,0.92);
}

.faq-trigger {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 20px 24px;
  cursor: pointer;
  user-select: none;
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  color: inherit;
  font-family: inherit;
}

.faq-q-badge {
  width: 31px; height: 31px;
  background: var(--c-blue);
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Paperlogy', sans-serif;
  font-size: 14.5px;
  font-weight: 800;
  color: #fff;
  flex-shrink: 0;
}

.faq-trigger h4 {
  font-size: 16px;
  font-weight: 600;
  color: var(--c-text);
  flex: 1;
  line-height: 1.4;
}

.faq-arrow {
  font-size: 20px;
  color: var(--c-muted);
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.faq-item.open .faq-arrow { transform: rotate(180deg); color: var(--c-blue); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(.4,0,.2,1);
}

.faq-item.open .faq-answer { max-height: 300px; }

.faq-answer-inner {
  padding: 0 24px 22px 70px;
  font-size: 15px;
  color: var(--c-muted);
  line-height: 1.7;
}

/* ============================================
   CTA 섹션
============================================ */
.cta-card {
  text-align: center;
  padding: clamp(40px, 8vw, 66px) clamp(20px, 5vw, 44px);
  background: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 26px;
  border: 1px solid rgba(79, 124, 255, 0.2);
  box-shadow: 0 10px 40px rgba(79, 124, 255, 0.08);
}

.cta-title {
  font-size: clamp(31px, 5.5vw, 46px);
  font-weight: 800;
  color: #3b426e;
  margin-bottom: 26px;
  line-height: 1.4;
  letter-spacing: -0.02em;
}

.cta-sub {
  font-size: clamp(16.5px, 2.8vw, 20px);
  color: #7a82a6;
  margin-bottom: 44px;
  line-height: 1.6;
  font-weight: 500;
}

.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: center;
  margin-bottom: 40px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 18px 35px;
  border-radius: 110px;
  font-size: clamp(16.5px, 2.2vw, 18px);
  font-weight: 700;
  font-family: 'Paperlogy', sans-serif;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
  text-decoration: none;
  min-width: 264px;
}

.btn-primary {
  background: linear-gradient(135deg, #4f7cff, #2bc6dc);
  color: #fff;
  border: none;
  box-shadow: 0 4px 14px rgba(79, 124, 255, 0.4);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(37,99,235,0.5);
  filter: brightness(1.1);
}

.btn-secondary {
  background: #fff;
  color: #3b426e;
  border-color: rgba(79,124,255,0.2);
  box-shadow: 0 4px 14px rgba(79,124,255,0.06);
}

.btn-secondary:hover {
  background: rgba(255,255,255,0.85);
  border-color: rgba(52,184,217,0.5);
  color: var(--c-blue);
  transform: translateY(-3px);
}

.btn-kakao {
  background: #fae100;
  color: #191919;
  border-color: #fae100;
  box-shadow: 0 4px 14px rgba(250, 225, 0, 0.4);
}

.btn-kakao:hover {
  background: #FFD900;
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(254,229,0,0.35);
}

/* 해시태그 */
.hashtags {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  justify-content: center;
}

.hashtag {
  font-size: 13px;
  color: var(--c-muted);
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 100px;
  padding: 4px 13px;
  cursor: pointer;
  transition: var(--transition);
  font-weight: 500;
}

.hashtag:hover {
  background: rgba(34,211,238,0.12);
  border-color: rgba(34,211,238,0.3);
  color: var(--c-cyan);
}

/* 복사 스낵바 */
.snackbar {
  position: fixed;
  bottom: 33px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: rgba(34,211,238,0.95);
  color: #08101f;
  padding: 11px 26px;
  border-radius: 100px;
  font-size: 14.5px;
  font-weight: 700;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s ease;
  z-index: 1000;
  white-space: nowrap;
}

.snackbar.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ============================================
   반응형
============================================ */
@media (max-width: 640px) {
  .page-wrapper { padding: 0 12px 60px; }
  section { margin-top: 36px; }
  .card { padding: 20px 16px; }
  .benefit-card { padding: 24px 16px 58px 16px; }
  .gift-image-card,
  .max-features,
  .benefits-grid {
    grid-template-columns: 1fr;
  }
  .gift-image-card img { height: 200px; }
  .faq-answer-inner { padding: 0 16px 18px 16px; }
  
  .dday-bar { gap: 10px; }
  .dday-unit { min-width: 58px; padding: 12px 14px; border-width: 2.5px; border-radius: 17px; }
  .dday-num { font-size: 34px; }
  .dday-sep { font-size: 31px; margin-top: -5px; margin-left: -2px; margin-right: -2px; }
  .dday-label { font-size: 13px; margin-top: 5px; }
}


@media (max-width: 480px) {
  .overview-icon { font-size: 18px; } /* 22px -> 18px 모바일 아이콘 축소 */
  .dday-bar { gap: 7px; }
  .dday-unit { min-width: 50px; padding: 10px 12px; border-radius: 14px; }
  .dday-num { font-size: 29px; }
  .dday-sep { font-size: 26px; margin-top: -2px; margin-left: -3px; margin-right: -3px; }
  .dday-label { font-size: 12px; margin-top: 4px; }
  
  .meta-row { font-size: 12.5px; padding: 6px 16px; min-width: 90%; justify-content: center; }
  .mascot-img {
    width: 65px;
    left: auto;
    right: -25px;
    bottom: -15px;
  }

  /* 모바일 버튼 화면 넘침 방지 */
  .btn {
    min-width: 0;
    width: 100%;
  }
}

@media (max-width: 640px) {
  /* 모바일 라인업 가로 스크롤 요소 여백 조정 */
  .lineup-pills {
    padding: 0 45px; /* 양끝 화살표 영역 공간 띄우기 */
  }
  /* 모바일 라인업 가로 스크롤 버튼 주변 하얀색 그림자 가림막 삭제 */
  .lineup-pills-wrap::before,
  .lineup-pills-wrap::after {
    display: none;
  }

  /* 다시 동그란 버튼 모양으로 복구하되 모바일에서는 안쪽으로 배치 */
  .lineup-pills-wrap .pills-nav-btn {
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border: 1px solid var(--c-card-border);
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(79, 124, 255, 0.15);
  }
  .lineup-pills-wrap .pills-nav-btn:hover {
    transform: translateY(-50%) scale(1.05);
  }
  .lineup-pills-wrap .pills-nav-btn:active {
    transform: translateY(-50%) scale(0.9);
  }
  .lineup-pills-wrap .pills-nav-btn.prev, 
  .lineup-pills-wrap .pills-nav-btn.prev:hover { 
    left: 8px; 
    background: white; 
    justify-content: center; 
    padding-left: 0; 
  }
  .lineup-pills-wrap .pills-nav-btn.next,
  .lineup-pills-wrap .pills-nav-btn.next:hover { 
    right: 8px; 
    background: white; 
    justify-content: center; 
    padding-right: 0; 
  }
}

/* ============================================
   이미지 뷰어 네비게이션 화살표
============================================ */
.nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  background: var(--c-card);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--c-card-border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-blue);
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(79, 124, 255, 0.1);
  transition: all 0.25s cubic-bezier(.4,0,.2,1);
  z-index: 10;
}

.nav-btn:hover {
  background: var(--c-blue);
  color: #fff;
  transform: translateY(-50%) scale(1.08);
  box-shadow: 0 8px 24px rgba(79, 124, 255, 0.25);
}

.nav-btn:active {
  transform: translateY(-50%) scale(0.95);
}

/* 데스크탑 기본: 좌/우 바깥으로 살짝 넓게 배치 */
.nav-btn.prev { left: -26px; }
.nav-btn.next { right: -26px; }

/* 좁은 화면 대응: 안쪽으로 당김 */
@media (max-width: 860px) {
  .nav-btn.prev { left: 8px; }
  .nav-btn.next { right: 8px; }
}

/* ============================================
   벚꽃 흩날리는 효과 (Cherry Blossom Effect)
============================================ */
#cherry-blossom-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none; /* 클릭 등 마우스 이벤트 무시 */
  z-index: 100; /* 대부분의 요소 위에 배치 (필요시 조정) */
  overflow: hidden;
}

.petal {
  position: absolute;
  top: -10%; /* 화면 약간 위에서 시작 */
  background: radial-gradient(circle at 30% 30%, #fff 0%, #ffd1dc 70%, #ffb6c1 100%);
  border-radius: 10% 80% 40% 70%; /* 꽃잎다운 불규칙한 둥근 모양 */
  box-shadow: 0 2px 4px rgba(255, 182, 193, 0.4);
  filter: blur(0.5px); /* 미세한 블러로 원근감 */
}

/* 아래로 떨어지는 애니메이션 */
@keyframes fall {
  0% { top: -10%; }
  100% { top: 110%; }
}

/* 좌우로 살랑살랑 흔들리는 애니메이션 */
@keyframes sway {
  0% { transform: translateX(0) rotate(0deg); }
  33% { transform: translateX(30px) rotate(45deg); }
  66% { transform: translateX(-20px) rotate(90deg); }
  100% { transform: translateX(10px) rotate(135deg); }
}

/* ============================================
   최상단 이동 버튼 (Scroll to Top)
============================================ */
.scroll-top-btn {
  position: fixed;
  bottom: 33px;
  right: 33px;
  width: 57px;
  height: 57px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--c-card-border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-blue);
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(79, 124, 255, 0.15);
  transition: all 0.3s cubic-bezier(.4,0,.2,1);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
}

.scroll-top-btn.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-top-btn:hover {
  background: var(--c-blue);
  color: #fff;
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(79, 124, 255, 0.3);
}

@media (max-width: 480px) {
  .scroll-top-btn {
    bottom: 22px;
    right: 22px;
    width: 48px;
    height: 48px;
  }
  .scroll-top-btn svg {
    width: 22px;
    height: 22px;
  }
}

/* ============================================
   새로운 럭키 드로우 디자인
============================================ */
.lucky-hero-card {
  position: relative;
  width: 100%;
  background: rgba(255, 255, 255, 0.75); /* Bright background */
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 30px;
  border: 1px solid rgba(255, 180, 210, 0.5); /* Pinkish border */
  box-shadow: 0 20px 50px rgba(244, 114, 182, 0.15), 0 0 0 1px rgba(255, 255, 255, 0.5) inset;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(30px, 6vw, 50px) clamp(20px, 5vw, 40px);
  animation: float-box 6s ease-in-out infinite alternate;
}

@keyframes float-box {
  0% { transform: translateY(0); box-shadow: 0 20px 50px rgba(244,114,182,0.15), 0 0 40px rgba(244, 114, 182, 0.1); }
  100% { transform: translateY(-10px); box-shadow: 0 30px 60px rgba(244,114,182,0.2), 0 0 60px rgba(244, 114, 182, 0.2); }
}

.lucky-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  z-index: 0;
  pointer-events: none;
}
.lucky-glow-1 {
  width: 300px; height: 300px;
  background: rgba(244, 114, 182, 0.3); /* Spring pink glow */
  top: -50px; right: -50px;
  animation: pulse-glow 4s ease-in-out infinite alternate;
}
.lucky-glow-2 {
  width: 250px; height: 250px;
  background: rgba(52, 184, 217, 0.3); /* Spring cyan glow */
  bottom: -50px; left: -50px;
  animation: pulse-glow 5s ease-in-out infinite alternate-reverse;
}

@keyframes pulse-glow {
  0% { transform: scale(1); opacity: 0.6; }
  100% { transform: scale(1.2); opacity: 1; }
}

.lucky-content {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 40px;
}

.lucky-text {
  flex: 1;
  color: #1e2d5a;
}

.lucky-eyebrow {
  display: inline-block;
  font-family: 'Paperlogy', sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--c-pink);
  background: rgba(244, 114, 182, 0.1);
  border: 1px solid rgba(244, 114, 182, 0.25);
  border-radius: 100px;
  padding: 8px 20px;
  margin-bottom: 20px;
}

.lucky-title {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 15px;
  letter-spacing: -0.02em;
}

.lucky-title span {
  background: linear-gradient(90deg, #f472b6, #34b8d9);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.lucky-desc {
  font-size: 17px;
  color: rgba(30, 45, 90, 0.75);
  line-height: 1.6;
  margin-bottom: 30px;
}

.lucky-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.l-tag {
  background: rgba(244, 114, 182, 0.08);
  border: 1px solid rgba(244, 114, 182, 0.2);
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 13.5px;
  font-weight: 600;
  color: #f472b6;
  backdrop-filter: blur(10px);
}

.lucky-image-wrapper {
  flex: 1;
  max-width: 400px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  cursor: pointer;
}

.lucky-box-and-balls {
  position: relative;
  width: 100%;
  animation: float 4s ease-in-out infinite;
  transition: transform 0.3s ease;
  filter: drop-shadow(0 20px 30px rgba(244,114,182,0.15));
}
.lucky-image-wrapper:hover .lucky-box-and-balls {
  transform: scale(1.05);
  filter: drop-shadow(0 25px 40px rgba(244,114,182,0.25));
}

.lucky-box-img {
  width: 100%;
  height: auto;
  object-fit: contain;
  position: relative;
  z-index: 5;
}

.lucky-balls-container {
  position: absolute;
  top: 48%; left: 50%;
  transform: translate(-50%, -50%);
  width: 62%; height: 50%;
  z-index: 1; /* Below the box front if it's transparent */
  pointer-events: none;
}

.lucky-gacha-ball {
  position: absolute;
  width: 28px; height: 28px; /* 32px -> 28px 추가 축소 */
  border-radius: 50%;
  box-shadow: inset -5px -5px 15px rgba(0,0,0,0.3), inset 5px 5px 10px rgba(255,255,255,0.7), 0 5px 10px rgba(0,0,0,0.2);
}

.lucky-gacha-ball.red { background: radial-gradient(circle at 30% 30%, #ff6b6b, #c0392b); }
.lucky-gacha-ball.blue { background: radial-gradient(circle at 30% 30%, #4facfe, #00f2fe); }
.lucky-gacha-ball.yellow { background: radial-gradient(circle at 30% 30%, #ffe259, #ffa751); z-index: 2; }
.lucky-gacha-ball.green { background: radial-gradient(circle at 30% 30%, #43e97b, #38f9d7); z-index: 2; }
.lucky-gacha-ball.purple { background: radial-gradient(circle at 30% 30%, #c471ed, #f64f59); z-index: 3; }

/* 내부 공 15개 꽉 채우기 (bottom, left 좌표 퍼센트로 분산) */
.lucky-gacha-ball.b1 { bottom: 2%; left: 6%; z-index: 1; transform: rotate(15deg) scale(0.9); }
.lucky-gacha-ball.b2 { bottom: 0%; left: 24%; z-index: 3; transform: rotate(-25deg); }
.lucky-gacha-ball.b3 { bottom: 1%; left: 43%; z-index: 2; transform: rotate(10deg) scale(0.85); }
.lucky-gacha-ball.b4 { bottom: 1%; left: 62%; z-index: 4; transform: rotate(-10deg); }
.lucky-gacha-ball.b5 { bottom: 3%; left: 80%; z-index: 1; transform: rotate(35deg); }

.lucky-gacha-ball.b6 { bottom: 18%; left: 10%; z-index: 4; transform: rotate(-5deg); }
.lucky-gacha-ball.b7 { bottom: 15%; left: 30%; z-index: 5; transform: rotate(45deg) scale(1.05); }
.lucky-gacha-ball.b8 { bottom: 20%; left: 50%; z-index: 4; transform: rotate(-15deg); }
.lucky-gacha-ball.b9 { bottom: 16%; left: 72%; z-index: 5; transform: rotate(20deg) scale(0.95); }

.lucky-gacha-ball.b10 { bottom: 32%; left: 8%; z-index: 6; transform: rotate(30deg); }
.lucky-gacha-ball.b11 { bottom: 28%; left: 25%; z-index: 7; transform: rotate(-40deg) scale(0.9); }
.lucky-gacha-ball.b12 { bottom: 35%; left: 45%; z-index: 6; transform: rotate(5deg); }
.lucky-gacha-ball.b13 { bottom: 30%; left: 65%; z-index: 8; transform: rotate(-10deg) scale(1.1); }
.lucky-gacha-ball.b14 { bottom: 38%; left: 82%; z-index: 7; transform: rotate(25deg); }
.lucky-gacha-ball.b15 { bottom: 48%; left: 15%; z-index: 9; transform: rotate(15deg); }

.lucky-gacha-ball.b19 { bottom: 45%; left: 35%; z-index: 10; transform: rotate(-20deg) scale(0.95); }
.lucky-gacha-ball.b20 { bottom: 52%; left: 55%; z-index: 9; transform: rotate(40deg); }
.lucky-gacha-ball.b21 { bottom: 49%; left: 75%; z-index: 10; transform: rotate(-5deg) scale(1.05); }

.lucky-gacha-ball.b22 { bottom: 65%; left: 10%; z-index: 11; transform: rotate(5deg) scale(0.9); }
.lucky-gacha-ball.b23 { bottom: 62%; left: 30%; z-index: 12; transform: rotate(-15deg); }
.lucky-gacha-ball.b24 { bottom: 68%; left: 50%; z-index: 11; transform: rotate(25deg); }
.lucky-gacha-ball.b25 { bottom: 60%; left: 70%; z-index: 12; transform: rotate(-30deg) scale(0.95); }

.lucky-gacha-ball.b26 { bottom: 82%; left: 20%; z-index: 13; transform: rotate(10deg); }
.lucky-gacha-ball.b27 { bottom: 78%; left: 42%; z-index: 14; transform: rotate(-25deg) scale(1.05); }
.lucky-gacha-ball.b28 { bottom: 84%; left: 62%; z-index: 13; transform: rotate(15deg) scale(0.9); }

.lucky-gacha-ball.b29 { bottom: 95%; left: 35%; z-index: 15; transform: rotate(-5deg); }
.lucky-gacha-ball.b30 { bottom: 92%; left: 55%; z-index: 14; transform: rotate(35deg) scale(0.95); }

/* 상자 바깥으로 굴러나온 공들 */
.lucky-gacha-ball.out-box {
  width: 55px; height: 55px;
  position: absolute;
  filter: drop-shadow(0 15px 20px rgba(0,0,0,0.15));
}
.lucky-gacha-ball.b16 { bottom: -15px; left: -30px; transform: rotate(-15deg); z-index: 10; }
.lucky-gacha-ball.b17 { bottom: 30px; right: -45px; transform: rotate(35deg); z-index: 10; }
.lucky-gacha-ball.b18 { bottom: -20px; right: 20px; transform: rotate(60deg); z-index: 10; }
.lucky-gacha-ball.b31 { bottom: 10px; left: -50px; transform: rotate(10deg); z-index: 9; }
.lucky-gacha-ball.b32 { bottom: 40px; left: -25px; transform: rotate(-45deg); z-index: 8; }

.click-badge {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--c-pink);
  color: #fff;
  padding: 8px 16px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 700;
  z-index: 10;
  box-shadow: 0 10px 20px rgba(244, 114, 182, 0.4);
  animation: bounce-badge 1.5s infinite;
  white-space: nowrap;
}
.click-badge::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border-width: 6px;
  border-style: solid;
  border-color: var(--c-pink) transparent transparent transparent;
}
@keyframes bounce-badge {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(-10px); }
}

@media (max-width: 768px) {
  .lucky-content {
    flex-direction: column;
    text-align: center;
  }
  .lucky-tags {
    justify-content: center;
  }
  .lucky-title {
    font-size: 28px;
  }
  .lucky-hero-card {
    padding: 40px 25px;
  }
}

/* ============================================
   럭키 드로우 모달
============================================ */
.lucky-modal {
  position: fixed;
  inset: 0;
  background: rgba(30, 45, 90, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.lucky-modal.show {
  opacity: 1; visibility: visible;
}
.lucky-modal-content {
  background: var(--c-bg2);
  border-radius: 30px;
  width: 90%;
  max-width: 400px;
  padding: 40px 30px;
  text-align: center;
  position: relative;
  transform: scale(0.9) translateY(20px);
  transition: transform 0.4s cubic-bezier(.4,0,.2,1);
  box-shadow: 0 30px 60px rgba(0,0,0,0.2);
}
.lucky-modal.show .lucky-modal-content {
  transform: scale(1) translateY(0);
}
.lucky-modal-close {
  position: absolute;
  top: 20px; right: 20px;
  font-size: 24px;
  color: var(--c-muted);
  cursor: pointer;
  background: none; border: none;
}
.lucky-result-box {
  min-height: 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.lucky-won-icon { font-size: 60px; margin-bottom: 10px; animation: popIn 0.5s cubic-bezier(.175,.885,.32,1.275) both; }
.lucky-won-title { font-size: 22px; font-weight: 800; color: var(--c-text); margin-bottom: 5px; animation: fadeInUp 0.5s 0.1s both; }
.lucky-won-name { font-size: 28px; font-weight: 900; margin-bottom: 15px; animation: fadeInUp 0.5s 0.2s both; }
.lucky-won-desc { font-size: 15px; color: var(--c-muted); line-height: 1.5; animation: fadeInUp 0.5s 0.3s both; margin-bottom: 25px; }

@keyframes popIn {
  0% { transform: scale(0); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}
.lucky-loading {
  font-size: 20px; font-weight: 700; color: var(--c-pink);
  animation: pulse 1s infinite alternate;
}
@keyframes pulse { 0% { opacity: 0.5; } 100% { opacity: 1; } }

.lucky-retry-btn {
  background: linear-gradient(90deg, #f472b6, #34b8d9);
  color: #fff;
  border: none;
  padding: 14px 30px;
  border-radius: 100px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 10px 20px rgba(244, 114, 182, 0.3);
  transition: all 0.2s;
  animation: fadeInUp 0.5s 0.4s both;
}
.lucky-retry-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 25px rgba(244, 114, 182, 0.4);
}

/* ============================================
   리팩토링 추가 클래스 (인라인 스타일 대체)
=========================================== */


/* index.html 디데이 오픈 배너 */
.dday-open-banner {
  display: flex;
  justify-content: center;
  margin: 0 20px 24px;
  animation: fadeInUp 0.7s 0.2s ease both;
}

.dday-open-title {
  margin: 0;
  padding: 16px 48px;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 2px solid rgba(79,124,255,0.3);
  border-radius: 100px;
  box-shadow: 0 12px 32px rgba(79,124,255,0.15);
}

.meta-row-relative {
  position: relative;
}

.benefit-desc-lg {
  font-size: clamp(16px, 2.5vw, 24px);
  margin-top: 16px;
  margin-bottom: 32px;
}

.gift-overview-list {
  margin-top: -12px;
  margin-bottom: 24px;
}

.container-md {
  max-width: 900px;
  margin: 0 auto;
}

.container-lg {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
}

.special-gift-title-centered {
  text-align: center;
  margin-bottom: 24px;
  font-size: 20px;
}

.benefits-grid-mb32 {
  margin-bottom: 32px;
}

/* 스페셜 혜택 카드 뱃지 및 태그 */
.benefit-number-special {
  color: var(--c-gold);
  background: var(--c-white);
  border-color: rgba(245,158,11,0.25);
  z-index: 10;
}

.tag-top-right-z10 {
  z-index: 10;
}

.tag-gold-white-bg {
  background: var(--c-white) !important;
}

/* 펌프 이미지 및 헬멧 이미지 위치/크기 조정 */
.type1-img-scale {
  transform: scale(0.65) !important;
}
.pump-img-scale {
  transform: scale(0.6) !important;
}

.benefit-warning-red {
  color: #ff4d88;
}

/* 럭키드로우 섹션 */
.lucky-draw-section {
  margin-top: 60px;
  padding-bottom: 40px;
}

/* 자전거 뷰어 관련 공통 배치 */
.viewer-wrap-style {
  display: block;
  position: relative;
  max-width: 800px;
  margin: 32px auto 0;
}

.viewer-inner-style {
  width: 100%;
  height: clamp(400px, 135vw, 640px); /* 기존 380~540px 대비 전체적으로 높이를 키워 이미지 사이즈 상향 */
  background: transparent;
  border: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--c-blue);
  font-weight: 700;
}

/* CTA 하단 영역 */
.cta-content-wrap {
  text-align: center;
  padding: clamp(40px, 8vw, 60px) clamp(16px, 4vw, 20px);
}

.cta-main-title {
  font-size: clamp(26px, 5vw, 42px);
  font-weight: 800;
  color: var(--c-text);
  margin-bottom: 16px;
  line-height: 1.35;
  letter-spacing: -0.02em;
}

.cta-gradient-text {
  display: inline-block;
  background: linear-gradient(90deg, var(--c-blue), var(--c-cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  padding-right: 4px;
}

.cta-sub-desc {
  font-size: clamp(15px, 2.5vw, 18px);
  color: var(--c-muted);
  margin-bottom: 40px;
  line-height: 1.6;
  font-weight: 500;
}

/* main.js 자전거 뷰어 내 동적 생성 요소 */
.benefit-alert-box {
  margin-top: 20px;
  padding: 12px 24px;
  background: rgba(255, 77, 136, 0.08);
  border: 1px solid rgba(255, 77, 136, 0.3);
  border-radius: 100px;
  color: #ff4d88;
  font-weight: 700;
  font-size: 15px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  animation: fadeInUp 0.5s 0.3s ease both;
  text-align: center;
}

.benefit-alert-icon {
  font-size: 18px;
}

/* 뷰어 최상위 랩 */
.viewer-stage {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  border-radius: 18px;
  padding-bottom: 24px;
  box-sizing: border-box;
}

/* 이미지 컨테이너 영역 */
.viewer-img-container {
  width: 100%;
  height: calc(100% - 60px);
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 32px; /* 스와이프 텍스트 전용 공간 확보 */
  box-sizing: border-box;
}

/* 스와이프 기능 대응 */
.swipe-container {
  touch-action: pan-y; /* 수평 스와이프 허용, 수직 스크롤 유지 */
  user-select: none;
  -webkit-user-drag: none;
}
.swipe-container img {
  pointer-events: none; /* 드래그 기본 동작 방지 */
}

/* 도트 인디케이터 컨테이너 */
.viewer-dots {
  position: absolute;
  bottom: 0px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}

/* 개별 도트 스타일 */
.viewer-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

/* 활성 도트 스타일 */
.viewer-dot.active {
  background: var(--c-blue);
  width: 22px;
  border-radius: 100px;
}

/* 이미지 애니메이션 기본 값 */
.viewer-bike-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  animation: fadeIn 0.4s ease both;
  transition: transform 0.3s ease;
}

/* 스와이프 힌트 오버레이 */
.swipe-hint {
  position: absolute;
  top: 6px; /* 추가된 패딩 공간 위쪽으로 살짝 여백을 주어 배치 */
  left: 50%;
  transform: translateX(-50%);
  color: rgba(30, 45, 90, 0.4); 
  font-size: 14px;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 6px;
  z-index: 10;
  pointer-events: none;
  animation: pulseHint 2.5s infinite;
  text-shadow: 0 1px 4px rgba(255, 255, 255, 0.8); /* 이미지와 겹쳐도 텍스트가 잘 보이도록 흰색 글로우 추가 */
}

@keyframes pulseHint {
  0% { opacity: 0.6; transform: translateX(-50%) scale(1); }
  50% { opacity: 1; transform: translateX(-50%) scale(1.03); }
  100% { opacity: 0.6; transform: translateX(-50%) scale(1); }
}

/* 네비게이션 그룹 영역 */
.viewer-nav-group {
  position: relative;
  margin-top: 15px;
  display: flex;
  flex-direction: column;
  align-items: stretch; /* 가격 배지와 상세 버튼 가로 너비 일치 */
  justify-content: center;
  gap: 10px;
  width: max-content;   /* 가장 넓은 배지 폭에 맞춤 */
  margin-left: auto;
  margin-right: auto;   /* 부모 컨테이너 중앙 정렬 */
  animation: fadeInUp 0.5s 0.2s ease both;
}

/* 좌/우 화살표 버튼 */
.viewer-nav-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: white;
  border: 1px solid rgba(0,0,0,0.05);
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--c-blue);
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
}
.viewer-nav-btn:hover {
  background: var(--c-light, #f0f4ff);
  transform: scale(1.05);
}

/* 가격 배지 링크 */
.viewer-price-badge {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 14px 28px 14px 36px;
  border-radius: 100px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
  border: 1px solid rgba(79, 124, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center; /* 텍스트 묶음을 중앙에 고정 */
  gap: 12px;
  text-decoration: none;
  color: inherit;
  transition: all 0.2s ease;
  white-space: nowrap;
  min-width: clamp(280px, 85vw, 340px); /* 가장 긴 프로미니맥스 텍스트에 기준을 맞춘 고정 너비 */
  box-sizing: border-box;
}

.viewer-price-badge.multi-price {
  flex-direction: column;
  align-items: stretch;
  gap: 6px;
  padding: 14px 24px;
  border-radius: 20px;
}
.viewer-price-badge.multi-price .price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.viewer-price-badge.multi-price .price-row.single-line {
  justify-content: center;
  margin-top: -2px;
}

.viewer-price-note {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.viewer-price-note.highlight-val {
  color: #ff6b81; /* 핑크색 글씨 */
}
.viewer-price-badge.multi-price .viewer-price-name {
  display: flex;
  align-items: baseline;
  gap: 6px;
}
.viewer-price-badge.multi-price .viewer-price-name small {
  font-size: 13px;
  color: #7b8fac;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.viewer-price-badge.multi-price .viewer-price-name small.highlight-opt {
  color: var(--c-blue);
  background: rgba(79, 124, 255, 0.12);
  padding: 3px 8px;
  border-radius: 6px;
  font-weight: 800;
}

.viewer-price-badge.multi-price .viewer-price-val.highlight-val {
  color: #ff4757;
  font-size: 19px;
}

.viewer-price-badge.multi-price .opt-tag {
  background: var(--c-cyan, #4f7cff);
  color: white;
  font-size: 11px;
  font-weight: 800;
  padding: 3px 6px;
  border-radius: 4px;
  margin-left: 6px;
  vertical-align: middle;
}

.viewer-price-name {
  font-size: 16px;
  font-weight: 800;
  color: var(--c-cyan);
}

.viewer-price-sep {
  width: 1px;
  height: 14px;
  background: rgba(30, 45, 90, 0.2);
}

.viewer-price-val {
  font-size: 20px;
  font-weight: 900;
  color: var(--c-blue);
}

/* 하단 상세페이지 이동 와이드 버튼 */
.viewer-detail-btn-wide {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 12px 18px;
  background: linear-gradient(135deg, var(--c-blue) 0%, #3a62d0 100%);
  color: white;
  font-size: 15px;
  font-weight: 700;
  border-radius: 100px;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(79, 124, 255, 0.25);
  transition: all 0.2s ease;
  box-sizing: border-box;
}

.viewer-detail-btn-wide:hover {
  transform: translateY(-2px);
  background: var(--c-cyan);
  box-shadow: 0 6px 16px rgba(52, 184, 217, 0.3);
}

/* ============================================
   리팩토링 유틸리티 클래스 & 분리된 스타일
============================================ */
.nowrap { white-space: nowrap; }
.keep-all { word-break: keep-all; }

.meta-row.hero-meta-row {
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px;
}
.meta-sep.meta-sep-spaced {
  margin: 0 4px;
}

.cta-container {
  text-align: center;
  padding: 60px 20px;
}
.cta-title {
  font-size: clamp(26px, 5vw, 42px);
  font-weight: 800;
  color: var(--c-text);
  margin-bottom: 16px;
  line-height: 1.35;
  letter-spacing: -0.02em;
  word-break: keep-all;
}
.cta-title-highlight {
  display: inline-block;
  background: linear-gradient(90deg, var(--c-blue), var(--c-cyan));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  padding-right: 4px;
}
.cta-desc {
  font-size: clamp(15px, 2.5vw, 18px);
  color: var(--c-muted);
  margin-bottom: 40px;
  line-height: 1.6;
  font-weight: 500;
}

/* ============================================
   상세페이지 모달
============================================ */
.detail-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  overscroll-behavior: none;
  transition: all 0.3s ease;
}

.detail-modal.show {
  opacity: 1;
  pointer-events: auto;
}

.detail-modal-content {
  background: var(--c-bg);
  width: 90%;
  max-width: 800px;
  height: 85vh;
  border-radius: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
  transform: translateY(30px) scale(0.95);
  transition: all 0.4s cubic-bezier(.4,0,.2,1);
}

.detail-modal.show .detail-modal-content {
  transform: translateY(0) scale(1);
}

.detail-modal-close {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 40px;
  height: 40px;
  background: rgba(0,0,0,0.5);
  color: white;
  border: none;
  border-radius: 50%;
  font-size: 26px;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}

.detail-modal-close:hover {
  background: rgba(0,0,0,0.8);
}

.detail-result-box {
  flex: 1;
  overflow-y: auto;
  overscroll-behavior-y: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.detail-result-box img {
  width: 100%;
  height: auto;
  display: block;
}

/* 스크롤바 커스텀 */
.detail-result-box::-webkit-scrollbar {
  width: 8px;
}
.detail-result-box::-webkit-scrollbar-track {
  background: rgba(0,0,0,0.05);
}
.detail-result-box::-webkit-scrollbar-thumb {
  background: rgba(0,0,0,0.2);
  border-radius: 4px;
}

