@font-face {
  font-family: 'Pretendard';
  src: url('../fonts/pretendard/Pretendard-Regular.subset.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Pretendard';
  src: url('../fonts/pretendard/Pretendard-Medium.subset.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Pretendard';
  src: url('../fonts/pretendard/Pretendard-SemiBold.subset.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Pretendard';
  src: url('../fonts/pretendard/Pretendard-Bold.subset.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Cafe24 Ohsquare';
  src: url('../fonts/ohsquare/ohsquare.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --red: #ff3a4a;
  --ink: #262626;
  --ink-2: #151518;
  --ink-3: #37373c;
  --gray: #767676;
  --gray-tab: #5b5b5b;
  --placeholder: #aaa;
  --phone: #f3f3f5;
  --surface: #f7f7f7;
  --dot: #d9d9d9;
  --notice-ink: #3d3231;

  --display: 'Cafe24 Ohsquare', 'Pretendard', sans-serif;
  --body: 'Pretendard', -apple-system, 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif;
}

* { box-sizing: border-box; }

button {
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  color: inherit;
  cursor: pointer;
}

em { font-style: normal; color: var(--red); }

[hidden] { display: none !important; }

body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font-family: var(--body);
  -webkit-font-smoothing: antialiased;
  word-break: keep-all;
}

img { display: block; }
picture { display: contents; }
picture > source { display: none; }

@media (min-width: 1024px) { .only-mo { display: none !important; } }

/* ── hero ─────────────────────────────────────────── */
.hero {
  height: 975px;
  padding: 30px 20px 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  background-image: url('../images/hero_bg.png');
  background-size: 111.33% 100%;
  background-position: center;
  background-repeat: no-repeat;
}

.hero__head {
  display: flex;
  flex-direction: column;
  gap: 60px;
  width: min(960px, 100%);
}

.hero__brand {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.hero__logo { width: 128px; height: 40px; }

.hero__copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  height: 319px;
  padding-top: 40px;
}

.hero__title {
  margin: 0;
  font-family: var(--display);
  font-size: 84px;
  font-weight: 400;
  line-height: normal;
  letter-spacing: -4.2px;
  color: var(--ink);
  white-space: nowrap;
}

.hero__sub {
  margin: 0;
  font-size: 32px;
  font-weight: 600;
  line-height: normal;
  letter-spacing: -0.64px;
  text-align: center;
  color: var(--ink);
}

.hero__meta {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-top: 40px;
  padding: 16px 40px;
  border-radius: 100px;
  background: #fff;
  filter: drop-shadow(2px 4px 2px rgba(0, 0, 0, .15));
}

.hero__meta-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 24px;
  font-weight: 400;
  line-height: normal;
  letter-spacing: -1.08px;
  color: var(--ink);
  white-space: pre;
}

.hero__meta-item b { font-weight: 700; }

.hero__meta-item i {
  width: 2px;
  height: 20px;
  background: var(--red);
}

.hero__kv { width: 850px; height: 424px; object-fit: contain; }

/* ── guide ────────────────────────────────────────── */
.guide {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 50px;
  padding: 120px 20px;
  background: #fff;
}

.guide__copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  padding-bottom: 30px;
  text-align: center;
}

.guide__title,
.sec-title {
  margin: 0;
  font-family: var(--display);
  font-size: 56px;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -2.8px;
  color: var(--ink);
}

.guide__sub,
.prizes__sub,
.card__desc {
  margin: 0;
  font-size: 24px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.48px;
  color: var(--ink);
}

/* tab */
.tab {
  display: flex;
  width: min(960px, 100%);
  padding: 5px;
  border: 2px solid rgba(0, 0, 0, .1);
  border-radius: 15px;
  background: #fff;
}

.tab__btn {
  flex: 1 0 0;
  min-width: 0;
  height: 70px;
  padding: 10px;
  border-radius: 10px;
  background: #fff;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -1.08px;
  color: var(--gray-tab);
}

.tab__btn.is-active {
  background: var(--red);
  color: #fff;
}

/* steps */
.steps {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  /* steps-wrap 이 fit-content 라 % 폭은 900 으로 접혀 카드 간격 30px 이 사라진다 */
  width: 960px;
  height: 480px;
}

.steps--present {
  gap: 50px;
  justify-content: center;
}

.phone {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  width: 300px;
  height: 480px;
  padding: 15px 130px;
  border-radius: 20px;
  background: var(--phone);
  overflow: hidden;
}

.phone__bar {
  display: flex;
  align-items: center;
  gap: 5px;
  width: 100%;
  padding: 6px 0 7px;
}

.phone__bar::before,
.phone__bar::after {
  content: '';
  height: 7px;
  border-radius: 10px;
  background: var(--dot);
  flex-shrink: 0;
}

.phone__bar::before { width: 48px; }
.phone__bar::after { width: 7px; }

.phone__label {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  flex-shrink: 0;
}

.phone__label--pad { padding: 10px 0; }

.phone__step {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  color: var(--red);
  text-decoration: underline;
  white-space: nowrap;
}

.phone__name {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.13;
  letter-spacing: -0.5px;
  text-align: center;
  color: var(--ink);
  white-space: nowrap;
}

.phone__name--alt { color: var(--ink-3); }
.phone__name--alt2 { color: var(--ink-2); }

.phone__shot {
  width: 265px;
  height: 340px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
}

.phone__shot--r15 { border-radius: 15px; }

.steps__hand {
  position: absolute;
  left: 74px;
  top: 163px;
  width: 121px;
  height: 142px;
}

.steps__hand--present { left: 353px; top: 337px; }

/* guide cta */
.guide__cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.guide__cta-top,
.guide__cta-bottom {
  margin: 0;
  font-size: 30px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: -0.6px;
  text-align: center;
  color: var(--ink);
}

.guide__cta-top mark {
  padding: 0 6px;
  background: var(--red);
  color: #fff;
}

/* ── event (참여방법 · 혜택 · 유의사항) ─────────────── */
.event {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 120px;
  padding: 160px 20px 120px;
  background: var(--surface);
}

.howto {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 50px;
  width: min(960px, 100%);
}

.howto__cards {
  display: flex;
  gap: 40px;
  width: 100%;
}

.card-wrap {
  flex: 1 0 0;
  min-width: 0;
  display: flex;
}

.card {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 50px 60px;
  border-radius: 30px;
  background: #fff;
}

.card__title {
  display: flex;
  align-items: center;
  gap: 12px;
}

.card__num {
  padding: 6px 10px;
  border-radius: 100px;
  background: var(--red);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.9px;
  color: #fff;
}

.card__name {
  margin: 0;
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -1.35px;
  color: var(--ink);
  white-space: nowrap;
}

.card__fig {
  position: relative;
  width: 272px;
  height: 216px;
}

.card__fig img {
  width: 272px;
  height: 216px;
  object-fit: contain;
}

.card__fig--bleed img {
  position: absolute;
  left: -14px;
  top: -18px;
  width: 300px;
  height: 238px;
}

.card__desc { text-align: center; }

.btn-apply {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  width: 600px;
  padding: 20px 40px;
  border-radius: 100px;
  background: var(--red);
  font-size: 28px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -1.26px;
  color: #fff;
}

.btn-apply__icon { width: 24px; height: 24px; }

/* prizes */
.prizes {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 50px;
  width: min(960px, 100%);
}

.prizes__copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
}

.prizes__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  column-gap: 30px;
  row-gap: 50px;
  width: 100%;
}

.prize {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  width: 300px;
}

.prize__circle {
  position: relative;
  width: 240px;
  height: 240px;
  border-radius: 1000px;
  background: #fff;
  flex-shrink: 0;
}

/* 원 기준 좌표는 이미지에 구워져 있다. 원 밖으로 나가는 20px 여백 포함 */
.prize__circle img {
  position: absolute;
  left: 0;
  top: -20px;
  width: 244px;
  height: 260px;
}

.prize__text { text-align: center; }

.prize__name {
  margin: 0;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: -0.48px;
  color: var(--ink);
}

.prize__spec {
  margin: 0;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: -0.36px;
  color: var(--gray);
}

.prize__count {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.8;
  letter-spacing: -0.4px;
  color: var(--red);
}

/* notice */
.foot { width: 924px; }

.notice {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  padding: 40px 0;
  border-top: 1px solid rgba(0, 0, 0, 0.10);
}

.notice__head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.81px;
  color: var(--notice-ink);
}

.notice__head img { width: 20px; height: 20px; }

.notice__body {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.8;
  letter-spacing: -0.72px;
  color: var(--gray);
}

.notice__body ul {
  margin: 0;
  padding: 0;
  list-style: disc;
}

.notice__body li { margin-left: 24px; }

.notice__cont {
  margin: 0;
  padding-left: 24px;
}

/* ── modal ────────────────────────────────────────── */
.modal {
  position: fixed;
  inset: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal__dim {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .38);
}

.modal__box {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  width: 500px;
  padding: 40px;
  border-radius: 30px;
  background: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .25);
}

.modal__box:focus { outline: none; }

.modal__close {
  position: absolute;
  left: 440px;
  top: 52px;
  width: 20px;
  height: 20px;
}

.modal__close img { width: 20px; height: 20px; }

.modal__head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
}

.modal__title {
  margin: 0;
  font-family: var(--display);
  font-size: 36px;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.9px;
  color: var(--ink);
}

.modal__desc {
  margin: 0;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.5px;
  color: var(--ink);
}

/* entry form */
.entry {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  width: 100%;
}

.entry__group {
  display: flex;
  flex-direction: column;
  gap: 30px;
  width: 100%;
}

.entry__fields,
.entry__terms {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
}

.entry__row {
  display: flex;
  align-items: center;
  gap: 40px;
  width: 100%;
}

.entry__label {
  width: 80px;
  flex-shrink: 0;
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.45px;
  color: var(--ink);
}

.entry__label--terms { width: auto; }

.entry__field {
  flex: 1 0 0;
  min-width: 0;
  padding: 16px 20px;
  border-radius: 10px;
  background: var(--surface);
}

.entry__field input {
  width: 100%;
  border: 0;
  background: none;
  font-family: inherit;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.45px;
  color: var(--ink);
}

.entry__field input:focus { outline: none; }
.entry__field:has(input:focus-visible) { outline: 2px solid var(--red); }
.entry__field input::placeholder { color: var(--placeholder); }

.entry__policy {
  height: 100px;
  padding: 16px 20px;
  border-radius: 10px;
  background: var(--surface);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.4px;
  color: var(--gray);
  overflow-y: auto;
}

.entry__policy p,
.entry__policy ul { margin: 0; }

.entry__policy ul { padding-left: 16px; }

.entry__policy .policy__h {
  font-weight: 600;
  color: var(--ink);
}

.entry__policy .policy__h ~ .policy__h { margin-top: 10px; }

.entry__policy::-webkit-scrollbar { width: 4px; }
.entry__policy::-webkit-scrollbar-thumb {
  border-radius: 100px;
  background: rgba(0, 0, 0, .1);
}

.entry__agree {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.32px;
  color: var(--ink);
  cursor: pointer;
}

.entry__agree input { position: absolute; opacity: 0; width: 0; height: 0; }

/* 미체크 상태는 시안에 없어 동일 규격의 테두리 박스로 처리 */
.entry__check {
  width: 20px;
  height: 20px;
  border: 1.5px solid var(--dot);
  border-radius: 4px;
  flex-shrink: 0;
}

.entry__agree input:checked + .entry__check {
  border: 0;
  border-radius: 0;
  background: url('../images/check.png') center / 20px 20px no-repeat;
}

.entry__agree input:focus-visible + .entry__check { outline: 2px solid var(--red); }

.entry__submit {
  padding: 16px 40px;
  border-radius: 100px;
  background: var(--red);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.9px;
  color: #fff;
}

.entry__submit:disabled { cursor: default; }


/* ── mobile (360 시안) ────────────────────────────── */
/* 하한 1023: steps 가 phone 300px×3=900 고정이라 그 아래는 PC 레이아웃이 넘친다 */
@media (max-width: 1023px) {
  .only-pc { display: none !important; }

  /* hero */
  .hero {
    height: 700px;
    gap: 40px;
    padding: 30px 20px 0;
    justify-content: flex-start;
    background-image: url('../images/mo_hero_bg.png');
    background-size: 111.33% 1000px;
    background-position: 50% 0;
  }

  .hero__head { width: 100%; gap: 40px; }
  .hero__logo { width: 84px; height: 26px; }
  .hero__telcos { width: 210px; }

  .hero__copy { gap: 15px; height: auto; padding-top: 0; }

  .hero__title {
    font-size: 56px;
    line-height: 1.2;
    letter-spacing: -2.8px;
    white-space: normal;
    text-align: center;
  }

  .hero__sub {
    font-size: 20px;
    letter-spacing: -0.6px;
    color: var(--gray);
  }

  .hero__sub-strong { color: var(--ink); }

  .hero__meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    margin-top: 15px;
    padding: 20px 30px;
    border-radius: 12px;
  }

  .hero__meta-item { font-size: 18px; letter-spacing: -0.81px; }

  .hero__kv { width: 320px; height: 203px; object-fit: cover; }

  /* guide */
  .guide { gap: 30px; padding: 80px 20px; }
  .guide__copy { gap: 30px; padding-bottom: 20px; }

  .guide__title,
  .sec-title { font-size: 40px; letter-spacing: -2px; }

  .guide__sub,
  .prizes__sub,
  .card__desc { font-size: 20px; letter-spacing: -0.4px; }

  .tab { width: 100%; }
  .tab__btn { font-size: 20px; letter-spacing: -0.9px; }

  /* steps 슬라이더 */
  .steps-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    width: 100%;
  }

  .steps {
    width: 300px;
    gap: 50px;
    justify-content: flex-start;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .steps::-webkit-scrollbar { display: none; }

  .phone { flex: 0 0 300px; scroll-snap-align: center; }

  .steps__hand--present { display: none; }

  /* guide cta */
  .guide__cta { gap: 4px; padding-top: 30px; }

  .guide__cta-top,
  .guide__cta-bottom { font-size: 24px; letter-spacing: -0.48px; }

  .guide__cta-top mark { margin-right: 6px; }

  /* event */
  .event { gap: 80px; padding: 80px 20px; }

  .howto { width: 100%; gap: 30px; }
  .howto__cards { flex-direction: column; gap: 60px; }
  .card-wrap { flex-direction: column; gap: 20px; }

  .card { padding: 40px 16px; }

  .card__fig:not(.card__fig--bleed),
  .card__fig:not(.card__fig--bleed) img { width: 288px; height: 228px; }
  .card__name { font-size: 24px; }

  .card__desc { white-space: nowrap; }

  .btn-apply {
    width: 100%;
    gap: 20px;
    padding: 13px 40px;
    font-size: 24px;
    line-height: 1.4;
  }

  .telcobar {
    display: flex;
    gap: 10px;
    width: 100%;
  }

  .telcobar a {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 20px 10px;
    border-radius: 10px;
    background: #545454;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.9px;
    white-space: nowrap;
    color: #fff;
    text-decoration: none;
  }

  .telcobar a:last-child { gap: 5px; }

  .telcobar img { width: 20px; height: 20px; }

  /* prizes */
  .prizes { width: 100%; }

  .prizes__row {
    flex-direction: column;
    flex-wrap: nowrap;
    gap: 80px;
  }

  .prize { width: 240px; }

  .prize__name,
  .prize__spec,
  .prize__count { white-space: nowrap; }

  /* 슬라이더 도트 */
  .dots {
    display: flex;
    justify-content: center;
    gap: 20px;
  }

  .dots button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--dot);
  }

  .dots button.is-on { background: var(--red); }

  /* footer */
  .foot {
    display: flex;
    flex-direction: column;
    gap: 50px;
    width: 100%;
  }

  .share {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    padding: 20px 0 30px;
    border-bottom: 1px solid rgba(0, 0, 0, .1);
  }

  .share__title {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 0;
    font-size: 24px;
    font-weight: 700;
    letter-spacing: -1.08px;
    color: #545454;
  }

  .share__title img { width: 21px; height: 24px; }

  .share__btns { display: flex; gap: 20px; }

  .share__btn {
    width: 60px;
    height: 60px;
  }

  .share__btn img { width: 60px; height: 60px; }

  .notice { padding: 0; border-top: 0; }

  /* modal — 하단 탭바(safe-area)까지 감안한 풀스크린 시트 */
  .modal { height: 100dvh; }
  .modal__dim { display: none; }

  .modal__box {
    width: 100%;
    height: 100%;
    gap: 30px;
    padding: 60px 20px calc(40px + env(safe-area-inset-bottom));
    border-radius: 0;
    box-shadow: none;
    justify-content: flex-start;
    overflow-y: auto;
  }

  .modal__close { left: auto; right: 20px; top: 30px; }

  .entry { gap: 30px; }
  .entry__group { gap: 30px; padding-bottom: 20px; }
  .entry__fields { gap: 20px; }

  .entry__row {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .entry__label { width: auto; }
}

/* 시안은 360 기준이라 그 아래에서는 고정폭 요소만 좁힌다 */
@media (max-width: 359px) {
  .telcobar a { gap: 5px; padding: 20px 6px; font-size: 18px; }
  .share__btns { gap: 12px; }
}
