@import url("https://fonts.googleapis.com/css2?family=Hanken+Grotesk:wght@400;500;600;700&family=Inter:wght@400;500&family=Playfair+Display:ital,wght@0,300;0,500;0,600;1,300;1,400;1,500&display=swap");

:root {
  --background: #121414;
  --card: #181a1a;
  --text-primary: #e1e1df;
  --text-secondary: #D0C5AF;
  --gold: #f2ca50;
  --soft-border: rgba(242, 202, 80, 0.14);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { min-height: 100%; }
html { background: #080a0a; }
body { 
  overflow-x: hidden; 
  color: var(--text-primary); 
  font-family: "Hanken Grotesk", sans-serif; 
}
button { border: 0; background: none; color: inherit; font: inherit; }

.app-container {
  width: min(100%, 415px);
  min-height: 100vh;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 48% 8%, rgba(242, 202, 80, 0.05), transparent 27%),
    radial-gradient(circle at 48% 75%, rgba(242, 202, 80, 0.025), transparent 34%),
    var(--background);
}

/* 공통 헤더 스타일 */
.common-header { 
  width: 100%; 
  height: 63px; 
  position: relative; 
  z-index: 10;
}

.menu-button { 
  width: 40px; 
  height: 40px; 
  position: absolute; 
  top: 9px; 
  left: 17px; 
  display: grid; 
  place-items: center; 
  cursor: pointer; 
}

.menu-button img { 
  width: 20px; 
  height: 14px; 
  display: block; 
}

.common-header h1 { 
  width: max-content; 
  position: absolute; 
  top: 9px; 
  left: 50%; 
  transform: translateX(-50%); 
  color: #fff; 
  font-family: "Playfair Display", serif; 
  font-size: 27px; 
  font-weight: 500; 
  line-height: 38px; 
  white-space: nowrap; 
}

/*=================================
    landing.html 페이지
===================================*/
/* 배경 이미지 및 컨테이너 설정 */
.welcome-container {
  position: relative;
  display: flex;
  flex-direction: column;
}

.welcome-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
        linear-gradient(rgba(18, 20, 20, 0.4), rgba(18, 20, 20, 0.4)),
        url('../images/landing_page.png') no-repeat center center / cover;
  z-index: 1;
}

.common-header {
  position: relative;
  z-index: 10;
}

.welcome-content {
  position: relative;
  z-index: 10;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 0 24px 60px;
  text-align: center;
}

.text-group {
  margin-top: auto;
  margin-bottom: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 50px;
}

.welcome-title {
  font-family: "Playfair Display", serif;
  font-size: 52px;
  font-weight: 500;
  color: #ffffff;
  line-height: 1.1;
  letter-spacing: -1.2px;
  font-style: normal;
}

.divider {
  width: 48px;
  height: 1px;
  background: rgba(242, 202, 80, 0.40);
  margin: 18px 0;
}

.welcome-subtitle {
  font-family: "Playfair Display", serif;
  font-style: italic;
  letter-spacing: 0.2px;
  margin-bottom: 24px;
  color: #D0C5AF;
  text-align: center;
  font-size: 32px;
  font-weight: 300;
  line-height: 40px;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.8);
}

.welcome-desc {
  font-family: "Hanken Grotesk", sans-serif;
  color: rgba(208, 197, 175, 0.70);
  text-align: center;
  font-family: "Hanken Grotesk";
  font-size: 12px;
  font-style: normal;
  font-weight: 500;
  line-height: 16px;
  letter-spacing: 2.4px;
  text-transform: uppercase;
}

/* 하단 버튼 영역 */
.action-group {
  width: 100%;
  margin-top: auto;
  padding-bottom: 20px;
}

.btn-enter {
  display: flex;
  width: 100%;

  padding: 20px 48px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  
  border-radius: 5px;
  border: 1px solid rgba(242, 202, 80, 0.40);
  /* background: rgba(18, 20, 20, 0.60); */
  backdrop-filter: blur(2px);
  
  color: #F2CA50;
  text-align: center;
  font-family: "Hanken Grotesk", sans-serif;
  font-size: 15px;
  font-style: normal;
  font-weight: 400;
  line-height: 16px;
  letter-spacing: 2.4px;
  text-transform: uppercase;

  cursor: pointer;
  transition: all 0.2s ease-in-out;
}

.btn-enter:hover,
.btn-enter:active {
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.00);
  box-shadow: 0 0 20px 0 rgba(242, 202, 80, 0.10) inset;
}

/*=================================
    final.html 페이지
===================================*/

.final-container {
  position: relative;
  display: flex;
  flex-direction: column;
}

.final-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    linear-gradient(rgba(18, 20, 20, 0.4), rgba(18, 20, 20, 0.4)),
    url('../images/final_page.png') no-repeat center center / cover;
  z-index: 1;
}

.final-content {
  position: relative;
  z-index: 10;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 0 24px 60px;
  text-align: center;
}

/* 상단 골드 서브타이틀 (MY MCM JOURNEY) */
.final-subcaption {
  font-family: "Hanken Grotesk", sans-serif;
  font-weight: 500;
  line-height: 16px;
  margin-bottom: 24px;
  color: rgba(242, 202, 80, 0.70);
  text-align: center;
  font-size: 12px;
  font-style: normal;
  letter-spacing: 4.8px;
  text-transform: uppercase;
}

/* 메인 타이틀 (Your journey is complete.) */
.final-title {
  font-family: "Playfair Display", serif;
  font-size: 48px;
  font-weight: 500;
  font-style: normal;
  margin-bottom: 30px;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.8);
  color: #FFF;
  text-align: center;
  line-height: 48px;
  letter-spacing: -1.2px;
}

/* 다이아몬드 구분선 (◆) */
.final-diamond-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  margin-bottom: 17px;
}

.final-diamond-divider .line1 {
  width: 80px;
  height: 0.5px;
  background: linear-gradient(90deg, rgba(242, 202, 80, 0.00) 0%, rgba(242, 202, 80, 0.40) 100%);
}

.final-diamond-divider .line2 {
  width: 80px;
  height: 0.5px;
  background: linear-gradient(270deg, rgba(242, 202, 80, 0.00) 0%, rgba(242, 202, 80, 0.40) 100%);
}

.final-diamond-divider .diamond {
  width: 8px;
  height: 8px;
  transform: rotate(45deg);
  flex-shrink: 0;
  background: rgba(242, 202, 80, 0.80);
  box-shadow: 0 0 10px 0 rgba(242, 202, 80, 0.50);
}

/* 하단 설명 문구 (YOU'VE HONORED YOUR PAST...) */
.final-desc {
  font-family: "Hanken Grotesk", sans-serif;
  font-weight: 500;
  color: rgba(208, 197, 175, 0.80);
  text-align: center;
  font-size: 12px;
  font-style: normal;
  line-height: 19.5px;
  letter-spacing: 1.8px;
  text-transform: uppercase;
}

.final-desc.highlight {
  margin-top: 15px;
}

/*=================================
    preparing.html (개발중 페이지)
===================================*/

.preparing-container {
  position: relative;
  display: flex;
  flex-direction: column;
  background-color: #080706;
}

.preparing-content {
  position: relative;
  z-index: 10;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  padding: 40px 24px 20px;
  text-align: center;
}

/* 이미지 감싸는 박스 및 크기 지정 */
.preparing-image-wrap {
  width: 240px;
  height: 240px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: auto;
  margin-bottom: 24px;
}

.preparing-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

/* 안내 텍스트 영역 */
.preparing-text {
  margin-top: 0;
  margin-bottom: auto;
}

.preparing-title {
  letter-spacing: -0.5px;
  margin-bottom: 12px;
  white-space: nowrap;
  color: #E2E2E2;
  text-align: center;
  font-family: "Playfair Display";
  font-size: 28px;
  font-weight: 500;
  line-height: 36px;
}

.preparing-subtitle {
  letter-spacing: -0.2px;
  color: #D0C5AF;
  text-align: center;
  font-family: Inter;
  font-size: 16px;
  font-weight: 300;
  line-height: 26px;
}

/* 햄버거 메뉴 기본 숨김 처리 */
.hamburger-menu,
.menu-overlay,
.drawer-menu,
#hamburgerMenu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 99999;
  background-color: #000;
}

/* 활성화되었을 때만 노출 */
.hamburger-menu.is-active,
.menu-overlay.is-active,
.drawer-menu.is-active,
#hamburgerMenu.is-active {
  display: flex !important;
  flex-direction: column;
}