/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   클릭샘 이벤트 상세 페이지
━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
:root {
  --p:       #00BFA5;
  --p-d:     #00A896;
  --p-l:     #E0F5F2;
  --p-xl:    #F0FEFA;
  --navy:    #0F172A;
  --body:    #334155;
  --muted:   #64748B;
  --border:  #E2E8F0;
  --bg:      #F8FAFC;
  --green:   #10B981;
  --red:     #EF4444;
  --orange:  #F59E0B;
  --blue:    #3B82F6;
  --radius:  16px;
  --shadow:  0 4px 24px rgba(0,0,0,.07);
  --shadow-lg: 0 12px 48px rgba(0,0,0,.11);
}

#ce-wrap {
  font-family: 'Noto Sans KR', 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif;
  color: var(--navy);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
#ce-wrap *, #ce-wrap *::before, #ce-wrap *::after { box-sizing: border-box; }
#ce-wrap a { color: inherit; text-decoration: none; }
#ce-wrap h1, #ce-wrap h2, #ce-wrap h3, #ce-wrap p { margin: 0; }
#ce-wrap img { max-width: 100%; }

/* ── 상단 바 ── */
.ce-topbar {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.ce-topbar-inner {
  max-width: 760px; margin: 0 auto; padding: 14px 20px;
  display: flex; align-items: center; justify-content: space-between;
}
.ce-logo { display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: 1.15rem; color: var(--p); }
.ce-logo img { height: 26px; width: auto; }
.ce-topnav { display: flex; align-items: center; gap: 18px; font-size: .9rem; font-weight: 600; }
.ce-topnav a { color: var(--body); }
.ce-topnav a:hover { color: var(--p); }
.ce-topnav-cta {
  padding: 8px 14px; border: 1px solid var(--border); border-radius: 999px;
  color: var(--navy) !important;
}
.ce-topnav-cta:hover { border-color: var(--p); color: var(--p) !important; }

/* ── 메인 ── */
.ce-main { max-width: 760px; margin: 0 auto; padding: 0 20px 60px; }

/* ── 히어로 ── */
.ce-hero {
  text-align: center;
  padding: 56px 28px 64px;
  margin: 28px 0 8px;
  border-radius: 24px;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.ce-hero-referral { background: linear-gradient(135deg, #3B82F6 0%, #2563EB 100%); }
.ce-hero-naver    { background: linear-gradient(135deg, #10B981 0%, #059669 100%); }
.ce-hero-card     { background: linear-gradient(135deg, #64748B 0%, #475569 100%); }
.ce-hero-badge {
  display: inline-block; padding: 6px 14px; border-radius: 999px;
  background: rgba(255,255,255,.22); font-size: .8rem; font-weight: 800;
  letter-spacing: .02em; margin-bottom: 16px;
}
.ce-hero-title { font-size: 2rem; font-weight: 900; line-height: 1.3; letter-spacing: -.02em; }
.ce-hero-title em { font-style: normal; }
.ce-hero-referral .ce-hero-title em { color: #BFDBFE; }
.ce-hero-naver .ce-hero-title em { color: #A7F3D0; }
.ce-hero-card .ce-hero-title em { color: #FCD34D; }
.ce-hero-sub { margin-top: 16px; font-size: 1.02rem; font-weight: 500; opacity: .95; }
.ce-hero-sub strong { font-weight: 800; }
.ce-hero-emoji { font-size: 3.4rem; margin-top: 22px; line-height: 1; }

/* ── 섹션 공통 ── */
.ce-section { margin-top: 40px; }
.ce-sec-eyebrow { text-align: center; color: var(--p); font-weight: 800; font-size: .9rem; }
.ce-sec-title { text-align: center; font-size: 1.5rem; font-weight: 900; letter-spacing: -.02em; margin-top: 8px; margin-bottom: 24px; }

/* ── 카드 ── */
.ce-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 28px 24px;
}

/* 추천인코드 카드 */
.ce-code-card { text-align: center; }
.ce-code-label { font-weight: 800; font-size: 1.05rem; }
.ce-code-desc { margin-top: 10px; color: var(--muted); font-size: .92rem; }

/* 버튼 */
.ce-btn {
  display: inline-block; margin-top: 18px; padding: 13px 24px;
  border-radius: 12px; font-weight: 800; font-size: .98rem; color: #fff !important;
  transition: transform .15s ease, box-shadow .15s ease;
}
.ce-btn:hover { transform: translateY(-2px); }
.ce-btn-blue   { background: var(--blue); box-shadow: 0 8px 24px rgba(59,130,246,.35); }
.ce-btn-green  { background: var(--green); box-shadow: 0 8px 24px rgba(16,185,129,.35); }
.ce-btn-orange { background: var(--orange); box-shadow: 0 8px 24px rgba(245,158,11,.35); }

/* ── 스텝 ── */
.ce-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.ce-step {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 22px 18px;
}
.ce-step-no {
  display: inline-block; padding: 4px 10px; border-radius: 999px;
  background: var(--p-l); color: var(--p-d); font-size: .72rem; font-weight: 800; margin-bottom: 12px;
}
.ce-step h3 { font-size: 1.02rem; font-weight: 800; line-height: 1.4; }
.ce-step p { margin-top: 8px; color: var(--muted); font-size: .87rem; line-height: 1.6; }

/* ── 혜택 ── */
.ce-benefit { display: flex; flex-direction: column; gap: 14px; }
.ce-benefit-row {
  display: flex; gap: 14px; align-items: flex-start;
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 20px;
}
.ce-benefit-pill {
  flex-shrink: 0; padding: 6px 12px; border-radius: 999px;
  font-size: .78rem; font-weight: 800; white-space: nowrap;
}
.ce-pill-blue  { background: #DBEAFE; color: #2563EB; }
.ce-pill-green { background: #D1FAE5; color: #059669; }
.ce-benefit-row strong { display: block; font-size: 1rem; font-weight: 800; }
.ce-benefit-row p { margin-top: 6px; color: var(--muted); font-size: .9rem; }

/* ── 강조/경고 카드 ── */
.ce-highlight, .ce-warn-card { display: flex; gap: 16px; align-items: flex-start; }
.ce-highlight-ic, .ce-warn-ic { font-size: 2rem; line-height: 1; flex-shrink: 0; }
.ce-highlight strong, .ce-warn-card strong { display: block; font-size: 1.05rem; font-weight: 800; }
.ce-highlight p { margin-top: 8px; color: var(--body); font-size: .94rem; }
.ce-highlight b { color: var(--green); }
.ce-warn-card { border-color: #FCD9A8; background: #FFFBF3; }
.ce-check-ul { margin: 12px 0 0; padding: 0; list-style: none; }
.ce-check-ul li { position: relative; padding-left: 24px; margin-bottom: 8px; color: var(--body); font-size: .94rem; }
.ce-check-ul li::before { content: "✓"; position: absolute; left: 0; color: var(--orange); font-weight: 900; }

/* ── 특징 그리드 ── */
.ce-feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.ce-feature {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 22px 20px;
}
.ce-feature-ic { font-size: 1.8rem; line-height: 1; }
.ce-feature h3 { margin-top: 12px; font-size: 1.05rem; font-weight: 800; }
.ce-feature p { margin-top: 8px; color: var(--muted); font-size: .9rem; }

/* ── 가격 카드 ── */
.ce-price-card {
  text-align: center; background: #fff; border: 1px solid var(--border);
  border-radius: 22px; box-shadow: var(--shadow-lg); padding: 36px 24px;
}
.ce-price-label { color: var(--orange); font-weight: 800; font-size: .95rem; }
.ce-price-amount { font-size: 2.8rem; font-weight: 900; color: var(--navy); margin-top: 8px; letter-spacing: -.02em; }
.ce-price-amount span { font-size: 1.2rem; font-weight: 800; margin-left: 2px; }
.ce-price-desc { margin-top: 12px; color: var(--muted); font-size: .94rem; }

/* ── CTA 박스 ── */
.ce-cta-box {
  text-align: center; padding: 40px 28px; border-radius: 22px;
  background: var(--p-xl); border: 1px solid var(--p-l);
}
.ce-cta-box h2 { font-size: 1.35rem; font-weight: 900; }
.ce-cta-box p { margin-top: 10px; color: var(--muted); }

/* ── 비고 ── */
.ce-note { margin-top: 18px; color: var(--muted); font-size: .8rem; line-height: 1.6; text-align: center; }

/* ── 푸터 ── */
.ce-footer { border-top: 1px solid var(--border); background: #fff; }
.ce-footer-inner {
  max-width: 760px; margin: 0 auto; padding: 22px 20px;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px;
}
.ce-footer-back { color: var(--p); font-weight: 700; font-size: .92rem; }
.ce-footer-copy { color: var(--muted); font-size: .82rem; }

/* ── 반응형 ── */
@media (max-width: 600px) {
  .ce-hero-title { font-size: 1.6rem; }
  .ce-steps { grid-template-columns: 1fr; }
  .ce-feature-grid { grid-template-columns: 1fr; }
  .ce-benefit-row { flex-direction: column; }
  .ce-topnav { gap: 12px; }
}
