/* intro.css - 인트로 페이지 */

/* ── 전체화면 레이아웃 ── */
html, body {
  height: 100%;
}

.intro {
  position: relative;
  width: 100%;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* ── 배경 이미지 ── */
.intro__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-color: #222;
  /* JS에서 background-image 주입 */
}

/* ── 어두운 오버레이 (텍스트 가독성) ── */
.intro__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}

/* ── 중앙 콘텐츠 ── */
.intro__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
}

/* 메인 타이틀 */
.intro__title {
  font-size: 48px;
  font-weight: 700;
  color: var(--color-white);
  letter-spacing: -1px;
  line-height: 1.2;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.5);
}

/* 서브타이틀 */
.intro__sub {
  font-size: 18px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.8);
  letter-spacing: 2px;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.5);
}

/* 갤러리 입장 버튼 */
.intro__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 16px;
  padding: 0 36px;
  height: 48px;
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.8);
  border-radius: 24px;
  color: var(--color-white);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 1px;
  transition: background 0.3s, border-color 0.3s;
}

.intro__btn:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--color-white);
}
