/* content_gate.css — Fade-out + Fixed Overlay 방식 */

/* 게이트가 걸린 콘텐츠 영역을 감싸는 wrapper */
.gate-wrapper {
  position: relative;
  max-height: 480px;
  overflow: hidden;
}

/* wrapper 안 실제 콘텐츠(hero 이후 section들)는 그대로 두되,
   wrapper 자체가 높이 제한 + mask로 아래쪽이 자연스럽게 사라지게 처리 */
.gate-wrapper::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 220px;
  background: linear-gradient(180deg, rgba(250,249,246,0) 0%, rgba(250,249,246,0.85) 55%, rgba(250,249,246,1) 100%);
  pointer-events: none;
}

/* 스크롤 잠금 — body에 부여 */
body.gate-locked {
  overflow: hidden;
}

/* CTA 오버레이 — 화면 중앙 고정 */
.gate-overlay {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 2000;
  display: flex;
  justify-content: center;
  padding: 32px 20px 40px;
  background: linear-gradient(180deg, rgba(250,249,246,0) 0%, rgba(250,249,246,0.96) 30%, rgba(250,249,246,1) 100%);
}
.gate-box {
  max-width: 420px;
  width: 100%;
  text-align: center;
  background: #ffffff;
  border: 1px solid #e0ddd6;
  border-radius: 16px;
  padding: 32px 28px;
  box-shadow: 0 -8px 40px rgba(0,0,0,0.15);
}
.gate-title {
  font-family: 'Noto Serif KR', serif;
  font-size: 18px;
  font-weight: 700;
  color: #0a0a0f;
  margin-bottom: 10px;
}
.gate-sub {
  font-size: 13px;
  color: #6b6b78;
  margin-bottom: 22px;
}
.gate-cta {
  display: inline-block;
  padding: 14px 28px;
  background: #c8922a;
  color: #ffffff;
  font-weight: 700;
  font-size: 14px;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.2s;
}
.gate-cta:hover { background: #b07f22; }
