/* 모바일 전용 랜딩페이지 (PNG 섹션 + 하단 고정 CTA + 초 소수점 2자리 카운트다운) */

:root{
  --bg: #0b0d12;
  --card: #121622;
  --card2: #0f1320;
  --text: #e9eef7;
  --muted: #aeb8cc;
  --line: rgba(255,255,255,0.08);
  --shadow: 0 10px 30px rgba(0,0,0,0.35);
  --radius: 18px;

  --cta-height: 94px; /* 안전영역 제외 높이 */
  --maxw: 720px;
}

*{ box-sizing: border-box; }
html,body{ height: 100%; }
body{
  margin: 0;
  background: radial-gradient(1200px 900px at 30% -10%, rgba(122,162,255,0.22), transparent 55%),
              radial-gradient(900px 700px at 90% 10%, rgba(214,97,255,0.14), transparent 55%),
              var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Noto Sans KR", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  letter-spacing: -0.2px;
  padding-bottom: calc(var(--cta-height) + env(safe-area-inset-bottom, 0px) + 18px);
}

a{ color: inherit; text-decoration: none; }

.top{
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(10px);
  background: rgba(11,13,18,0.62);
  border-bottom: 1px solid var(--line);
}
.top__inner{
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 14px 16px;
}
.brand{
  display: flex;
  gap: 12px;
  align-items: center;
}
.brand__badge{
  width: 40px;
  height: 40px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-weight: 900;
  background: linear-gradient(135deg, rgba(122,162,255,0.95), rgba(214,97,255,0.95));
  box-shadow: 0 8px 20px rgba(122,162,255,0.18);
}
.brand__name{
  font-weight: 800;
  font-size: 15px;
  line-height: 1.1;
}
.brand__sub{
  margin-top: 2px;
  font-size: 12px;
  color: var(--muted);
}

.main{
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 16px;
}

.intro{
  padding: 14px 2px 18px;
}
.intro__title{
  margin: 6px 0 10px;
  font-size: 24px;
  line-height: 1.25;
  font-weight: 900;
}
.intro__desc{
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
  font-size: 14px;
}
.hint{
  margin-top: 14px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(18,22,34,0.55);
}
.hint__dot{
  width: 8px;
  height: 8px;
  border-radius: 100px;
  background: rgba(122,162,255,0.95);
  box-shadow: 0 0 0 6px rgba(122,162,255,0.12);
}
.hint__text{
  font-size: 12px;
  color: var(--muted);
}

.sections{
  display: grid;
  gap: 12px;
  padding-bottom: 6px;
}

.box{
  border-radius: var(--radius);
  overflow: hidden;
  background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.box__img{
  width: 100%;
  height: auto;
  display: block;
  background: var(--card2);
}
.box__caption{
  padding: 12px 14px 14px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.foot{
  padding: 28px 2px 8px;
}
.foot__text{
  margin: 0;
  font-size: 12px;
  color: rgba(233,238,247,0.76);
  line-height: 1.6;
}
.foot__text--muted{
  color: rgba(174,184,204,0.72);
}

/* 하단 고정 CTA 버튼 */
.cta{
  position: fixed;
  left: 14px;
  right: 14px;
  bottom: calc(12px + env(safe-area-inset-bottom, 0px));
  z-index: 50;

  display: grid;
  grid-template-rows: auto auto auto;
  gap: 4px;

  padding: 12px 14px 12px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.14);
  background: linear-gradient(135deg, rgba(122,162,255,0.95), rgba(214,97,255,0.95));
  box-shadow: 0 20px 45px rgba(0,0,0,0.40);
  -webkit-tap-highlight-color: transparent;

  max-width: var(--maxw);
  margin: 0 auto;

  /* 버튼 내부 텍스트(조기 마감/신청하기/카운트다운) 가운데 정렬 */
  text-align: center;
}

.cta:active{
  transform: translateY(1px);
}

.cta__urgency{
  font-size: 17px;
  font-weight: 800;
  opacity: 0.92;
  color: #06eeb8;
}
.cta__label{
  font-size: 30px;
    color: #06eeb8;

  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.4px;
}
.cta__countdown{
  display: inline-flex;
    color: #06eeb8;

  gap: 6px;
  align-items: baseline;
  justify-content: center;
  font-variant-numeric: tabular-nums;
  opacity: 0.95;
}
.cta__countdownPrefix{
  font-size: 12px;
  font-weight: 700;
  opacity: 0.9;
}
.cta__timer{
  font-size: 14px;
  font-weight: 900;
}

/* 작은 화면에서 더 촘촘하게 */
@media (max-width: 360px){
  .intro__title{ font-size: 22px; }
  .cta__label{ font-size: 17px; }
  .cta__timer{ font-size: 13px; }
}
