/* ── BASE ── */
#event-04 { background: #CFFFFE; padding: 0 !important; overflow: hidden; }
#event-04 .mob-br { display: none; }
#event-04 .pr-br { display: block; }
#event-04 .thumb-section { position: relative; z-index: 101; margin-top: -50px; padding: 0 50px 100px; }
/* ── TOP SECTION ── */
#event-04 .top-section { position: relative; padding: 80px 20px 280px; text-align: center; background: #CFFFFE; overflow: visible; }
 
/* ── LABEL ── */
#event-04 .label { display: block; font-size: 22px; font-weight: 600; text-align: center; letter-spacing: 0.02em; margin-bottom: 56px; position: relative; z-index: 2; }
#event-04 .label::after { content: ''; display: block; width: 36px; height: 1px; background: #222; margin: 12px auto 0; }
 
/* ── MAIN CIRCLE (PC: title + desc + illust 전부 원 안) ── */
#event-04 .main-circle { width: min(1000px, 92vw); height: min(1000px, 92vw); border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center; margin: 0 auto; box-sizing: border-box; padding: 50px clamp(40px, 8%, 80px); position: relative; }
#event-04 .title { font-size: clamp(26px, 3vw, 50px); font-weight: 600; text-align: center; line-height: 1.5; }
#event-04 .title.one { margin: 240px 0 0; }
#event-04 .title.two { margin: 50px 0; }
#event-04 .intro-desc { font-size: clamp(14px, 1.3vw, 18px); text-align: center; line-height: 1.8; font-weight: 600; margin: 0 0 24px; }
#event-04 .illust-wrap { display: flex; justify-content: center; align-items: center; width: 100%; flex: 1 0 auto;  }
#event-04 .illust { width: min(620px, 100%); display: block; }
#event-04 .illust.mob { display: none; }


/* ── DECORATIVES ── */
#event-04 .d01 { position: absolute; width: 5%; top: 10px; left: 155px; z-index: 3; pointer-events: none; }
#event-04 .d02 { position: absolute; width: 12%; bottom: 100px; left: 50px; z-index: 3; pointer-events: none; }
#event-04 .d03 { position: absolute; display: block; width: 15%; bottom: -310px; left: 0; right: 0; margin: 0 auto; z-index: 101; pointer-events: none; }
#event-04 .d04 { position: absolute; width:6%; bottom: 460px; right: 200px; z-index: 3; pointer-events: none; }
#event-04 .d05 { position: absolute; width:7%; bottom: -150px; right: 230px; z-index: 3; pointer-events: none; }
 
#event-04 .scallop { display: none; }
 
/* ── BODY SECTION ── */
#event-04 .body-section { position: relative; left: 50%; transform: translateX(-50%); background: #fff; width: 1600px; max-width: none; margin: -120px 0 0; padding: 130px 20px 140px; text-align: center; border-radius: 999px; box-sizing: border-box; overflow: visible; z-index: 100;}
#event-04 .body-desc, #event-04 .divider, #event-04 .coupon-card { max-width: 680px; margin-left: auto; margin-right: auto; }
#event-04 .body-desc { font-size: 19px; line-height: 1.6; margin: 70px auto 50px; max-width: 680px; font-weight:600; }
#event-04 .divider { border: none; border-top: 1px solid #000000; max-width: 680px; margin: 0 auto 80px; }
 
/* ── COUPON CARD ── */
#event-04 .coupon-card { padding-bottom: 80px; }
#event-04 .coupon-img { width: 200px; display: block; margin: 0 auto 12px; }
#event-04 .prize-name { font-size: 17px; font-weight: 600; margin: 0 auto 60px; }
 
/* ── PERIOD INFO ── */
#event-04 .prize-info { max-width: 580px; margin: 0 auto 80px; display: flex; flex-direction: column; gap: 14px; }
#event-04 .prize-row { display: flex; align-items: center; background: #fff; border-radius: 50px; padding: 8px 25px 8px 40px; gap: 30px; border: 1px solid; }
#event-04 .prize-lbl { font-size: 20px; font-weight: 700; white-space: nowrap; min-width: 80px; }
#event-04 .prize-val { font-size: 20px; font-weight: 500; }
 
/* ── BUTTONS ── */
#event-04 .e04-btns { display: flex; justify-content: center; gap: 30px; margin-bottom: 80px; }
#event-04 .e04-btn { padding: 12px 70px; border-radius: 50px; font-size: 27px; font-weight: 400; cursor: pointer; border: none; font-family: inherit; transition: opacity 0.2s; }
#event-04 .e04-btn:hover { opacity: 0.84; }
#event-04 .e04-sub { background: #424242; color: #fff; }
#event-04 .e04-join { background: #FF8EA8; color: #fff; }
 
/* ── FINE PRINT ── */
#event-04 .e04-notice { list-style: none; border-top: 1px solid #000;  padding-top: 20px; }
#event-04 .e04-notice li { font-size: 15px; line-height: 1.6; text-align: left;}
 
 /* ══════════════════════════════════
   MOBILE
══════════════════════════════════ */
@media (max-width: 768px) {
  
  #event-04 .mob-br { display: block; }
  #event-04 .pr-br { display: none; }
  
  /* 상단: z-index 없음 → 흰 타원 아래 레이어 (사람 하체가 타원에 가려짐) */
  #event-04 .top-section { padding: 50px 0 0; z-index: auto; }
  #event-04 .label { font-size: 16px; letter-spacing: -0.3px; margin-bottom: 15px; }
  #event-04 .label::after { margin: 8px auto 0; }
  /* transform 제거 → stacking context 해제 (코인이 타원 위로 올라올 수 있게) */
  #event-04 .main-circle { width: 360px; height: auto; border-radius: 0; margin: 0 auto; transform: none; padding: 30px 0 0; justify-content: flex-start; }
  #event-04 .title { font-size: 26px; font-weight: 500; line-height: 1.45; margin: 0 0 30px; }
  #event-04 .title.one { margin: 0 0 10px; }
  #event-04 .title.two { margin: 0 0 30px; }
  #event-04 .intro-desc { font-size: 17px; font-weight: 500; line-height: 1.8; margin: 0 0 26px; }
  #event-04 .illust-wrap { width: 100%; height: auto; margin: 0 auto; flex: none; }
  #event-04 .illust.pc { display: block; }
  #event-04 .illust.mob { display: none; }
  #event-04 .illust { max-width: 500px; margin: 0 auto; }

  /* 코인 장식: 흰 타원(z-index 100)보다 위 */
  #event-04 .d01, #event-04 .d02, #event-04 .d03, #event-04 .d04, #event-04 .d05 { z-index: 102; }
  #event-04 .d01 { width: 8%; top: 35px; left: 24px; }
  #event-04 .d02 { width: 14%; bottom:100px; left:-18px; } 
  #event-04 .d03 { width: 23%; bottom: -80px; }
  #event-04 .d04 { width: 6%; right: 23px; bottom: 390px; }
  #event-04 .d05 { width: 13%; right: 15px; bottom: 88px; }

  /* 본문: 흰 타원 하나로 전체 감싸기 (margin-top으로 일러스트 하체를 덮음) */
  #event-04 .body-section { width: 100%; left: 0; transform: none; margin: -30px 0 0; padding: 140px 20px 160px; background: transparent; border-radius: 0; overflow: visible; }
  #event-04 .body-section::before { content: ''; position: absolute; top: 0; bottom: 0; left: 50%; width: 140vw; transform: translateX(-50%); background: #fff; border-radius: 70vw / 55vw; z-index: -1; }

  #event-04 .circle-desc { width: auto; height: auto; border-radius: 0; background: none; overflow: visible; padding: 0; margin: 0 auto; }
  #event-04 .body-desc { font-size: 15px; line-height: 1.95; margin: 0 auto 48px; }
  #event-04 .circle-desc .body-desc { font-size: 18px; line-height: 1.65; }
  #event-04 .divider { display: block; width: min(100%, 420px); margin: 0 auto 50px; }

  #event-04 .circle-coupon { width: auto; margin: 0 auto; }
  #event-04 .circle-coupon::before { display: none; }
  #event-04 .coupon-card, #event-04 .circle-coupon .coupon-card { background: transparent; border-radius: 0; padding: 0 0 20px; margin-top: 0; }
  #event-04 .body-desc, #event-04 .coupon-card { width: min(100%, 420px); max-width: 420px; margin-left: auto; margin-right: auto; }

  #event-04 .coupon-img { width: 160px; }
  #event-04 .prize-name { font-size: 16px; margin-bottom: 50px; }
  #event-04 .prize-info { margin: 0 auto 60px; }
  #event-04 .prize-row { flex-direction: column; padding: 12px 5px; gap: 4px; border-radius: 300px; text-align: center; align-items: center; letter-spacing: -0.5px; }
  #event-04 .prize-lbl { font-size: 16px; min-width: auto; }
  #event-04 .prize-val { font-size: 16px; }
  #event-04 .e04-btns { margin-bottom: 60px; }
  #event-04 .e04-btn { font-size: 20px; padding: 9px 38px; white-space: nowrap; }

  /* 썸네일: 타원 하단에 겹치기 */
  #event-04 .thumb-section { margin-top: -100px; padding: 0 20px 40px; }
}

@media (max-width: 430px) {
  #event-04 .e04-btns { gap: 20px; }
  #event-04 .coupon-img { margin: 0 auto 12px; }
}