/* ==========================================================
   추천 이벤트 페이지 (/invite) — "친구 10명 추천하면 1개월 무료"
   공식 이벤트 · 메인 홈페이지(site.css) 테마 그대로
   ========================================================== */

/* 상단 */
.inv-top { position: absolute; inset: 0 0 auto; z-index: 10; padding: 22px 0; }
.inv-top .inner { display: flex; justify-content: space-between; align-items: center; }
.inv-top img { height: 52px; width: auto; }
.inv-top-cta { padding: 12px 22px; border-radius: 999px; background: var(--blue); color: var(--white); font-size: 16px; font-weight: 900; }

/* 1. 첫 화면 */
.inv-hero { padding: 180px 0 120px; text-align: center; background: linear-gradient(180deg, var(--ice), var(--white)); }
.inv-badge { display: inline-block; padding: 10px 20px; border-radius: 999px; background: var(--navy); color: var(--white); font-size: 18px; font-weight: 900; }
.inv-hero h1 { margin-top: 28px; font-size: clamp(50px, 8vw, 110px); font-weight: 900; line-height: 1.08; letter-spacing: -.06em; color: var(--navy); }
.inv-hero h1 em { font-style: normal; color: var(--blue); }
.inv-lead { margin-top: 28px; font-size: clamp(20px, 2.3vw, 27px); font-weight: 700; line-height: 1.5; color: var(--text); }
.inv-lead b { color: var(--blue); }
.inv-btns { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; margin-top: 40px; }
.inv-chips { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.inv-chips span { padding: 9px 16px; border-radius: 999px; background: var(--white); box-shadow: inset 0 0 0 2px var(--line); font-size: 16px; font-weight: 800; color: var(--navy); }

/* 2. 도장판 */
.inv-board { background: var(--white); }
.inv-ticket {
  display: grid; grid-template-columns: 1.1fr .9fr; max-width: 900px; margin: 70px auto 0;
  border-radius: 32px; overflow: hidden; background: var(--gray); box-shadow: 0 24px 60px rgba(8, 24, 53, .12);
}
.inv-stamps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; padding: 40px; align-content: center; }
.inv-stamps i {
  aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center;
  border: 3px dashed #C5CCDA; color: var(--muted); font-style: normal; font-size: 20px; font-weight: 900; background: var(--white);
}
.inv-stamps i:nth-child(-n+7) { border: 0; background: var(--blue); color: var(--white); }
.inv-stamps i.last { border-color: var(--blue); color: var(--blue); }
.inv-prize { position: relative; display: flex; flex-direction: column; justify-content: center; padding: 40px; background: var(--navy); color: var(--white); }
.inv-prize::before { content: ""; position: absolute; left: -1px; top: 20px; bottom: 20px; border-left: 3px dashed rgba(255, 255, 255, .3); }
.inv-prize small { font-size: 17px; font-weight: 800; color: var(--sky); }
.inv-prize b { margin-top: 8px; font-size: clamp(30px, 3.4vw, 42px); font-weight: 900; line-height: 1.15; letter-spacing: -.04em; }
.inv-prize span { margin-top: 12px; font-size: 16px; font-weight: 700; color: rgba(255, 255, 255, .7); }
.inv-count { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 900px; margin: 24px auto 0; }
.inv-count div { padding: 30px 32px; border-radius: 26px; }
.inv-count .ok { background: var(--ice); }
.inv-count .no { background: var(--gray); }
.inv-count b { font-size: 21px; font-weight: 900; color: var(--navy); }
.inv-count p { margin-top: 10px; font-size: 18px; font-weight: 600; line-height: 1.55; color: var(--text); }
.inv-count strong { color: var(--blue); }

/* 3. 참여 방법 */
.inv-how { background: var(--gray); }
.inv-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 70px; padding: 0; list-style: none; }
.inv-steps li { padding: 40px 34px; border-radius: 30px; background: var(--white); }
.inv-steps b { display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; background: var(--blue); color: var(--white); font-size: 20px; font-weight: 900; }
.inv-steps h3 { margin-top: 20px; font-size: 26px; font-weight: 900; letter-spacing: -.03em; color: var(--navy); }
.inv-steps p { margin-top: 10px; font-size: 18px; font-weight: 600; line-height: 1.6; color: var(--muted); }
.inv-steps strong { color: var(--blue); }
.inv-msg { max-width: 820px; margin: 30px auto 0; padding: 32px; border-radius: 28px; background: var(--white); }
.inv-msg-head { font-size: 19px; font-weight: 900; color: var(--navy); }
.inv-msg pre { margin: 14px 0 18px; padding: 20px; border-radius: 16px; background: #FEE500; color: #191919; font-family: inherit; font-size: 17px; font-weight: 600; line-height: 1.6; white-space: pre-wrap; }
.inv-msg .btn { height: 58px; font-size: 18px; }

/* 4. 이용권 받는 방법 */
.inv-stores { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; max-width: 900px; margin: 70px auto 0; }
.inv-store { padding: 38px 36px; border-radius: 30px; background: var(--gray); }
.inv-store .os { font-size: 18px; font-weight: 900; color: var(--blue); }
.inv-store h3 { margin-top: 8px; font-size: 26px; font-weight: 900; color: var(--navy); }
.inv-store ol { margin: 18px 0 0; padding-left: 22px; display: flex; flex-direction: column; gap: 8px; font-size: 17px; font-weight: 700; color: var(--text); }
.inv-get-note { margin-top: 26px; text-align: center; font-size: 16px; font-weight: 600; color: var(--muted); }

/* 5. 유의사항 */
.inv-rules { background: var(--gray); }
.inv-rule-list { max-width: 900px; margin: 60px auto 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 12px; }
.inv-rule-list li { padding: 22px 26px; border-radius: 20px; background: var(--white); font-size: 17px; font-weight: 600; line-height: 1.6; color: var(--text); }
.inv-rule-list b { color: var(--navy); font-weight: 900; }

/* 6. FAQ */
.inv-faq { background: var(--white); }

/* 7. 마지막 */
.inv-final .btn { margin-top: 40px; }
.inv-final strong { color: var(--white); }

@media (max-width: 900px) {
  .inv-ticket, .inv-count, .inv-steps, .inv-stores { grid-template-columns: 1fr; }
  .inv-prize::before { left: 20px; right: 20px; top: -1px; bottom: auto; border-left: 0; border-top: 3px dashed rgba(255, 255, 255, .3); }
}
@media (max-width: 760px) {
  .inv-top img { height: 40px; }
  .inv-top-cta { padding: 10px 16px; font-size: 14px; }
  .inv-hero { padding: 130px 0 90px; }
  .inv-hero h1 { font-size: 52px; }
  .inv-btns { flex-direction: column; }
  .inv-stamps { padding: 26px; gap: 10px; }
  .inv-prize { padding: 30px 26px; }
  .inv-steps li, .inv-store { padding: 32px 26px; }
  .inv-steps { margin-top: 50px; }
}
