/* Base Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

a {
  all: unset; /* 완전히 초기화 (권장) */
  cursor: pointer;
}

html, body {
  width: 100%;
  min-height: 100vh;
  background-color: #000;
  overflow-x: hidden;
  font-family: 'YESMyoungjo-Regular', serif;
}

/* Layout */
.background-wrapper {
  position: relative;
  width: 100%;
}

.background-container img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  position: relative;
  z-index: 1;
}

/* Particle */
.particle-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 28%;
  z-index: 2;
  pointer-events: none;
}

#particles-js {
  width: 100%;
  height: 100%;
}

/* Lottie Elements */
.lottie-ship {
  position: absolute;
  top: 31%;
  left: 50%;
  transform: translateX(-50%);
  width: 400px;
  height: 400px;
  z-index: 3;
  pointer-events: none;
}

/* 시작 */
#gnb {
  position: fixed;
  top: 30px;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
  z-index: 31;
}

.gnb-center {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8vw;
  font-size: 16px;
  font-family: 'Pretendard', sans-serif;
  font-weight: 300;
  color: #A7A7A7;
  z-index: 32;
  cursor: pointer;
}

.gnb-center span:hover{
  font-weight: 300;
  color: #fff;
}

#gnbTitle {
  position: absolute;
  right: 3vw;
  font-size: 14px;
  font-family: 'YESMyoungjo-Regular', serif;
  opacity: 0.6;
  white-space: nowrap;
  font-size: 12px;
  z-index: 32;
  cursor: pointer;
}

.content-wrapper {
  position: absolute;
  top: 0%; /*위치조절*/
  left: 50%;
  transform: translate(-50%, 0);
  width: 90%;
  max-width: 1200px;
  z-index: 30;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-text {
  z-index: 30;
  text-align: center;
  font-family: "Anonymous Pro", monospace;
  font-size: clamp(24px, 4.5vw, 72px);
  font-style: normal;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: 21.618px;
  white-space: nowrap;
  background: linear-gradient(180deg, #001646 -13.69%, rgba(79, 103, 153, 0.32) 90.77%, rgba(159, 183, 237, 0.00) 195.24%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  mix-blend-mode: plus-lighter;
  margin-top: 260px;
  margin-bottom: 140px; /*위치조절*/
}

.main-title {
  z-index: 30;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-bottom: 60px; /*위치조절*/
}

.title-cn {
  filter: brightness(0) invert(1);
  width: 233px;
  height: auto;
  display: block;
  margin-bottom: 30px; /*위치조절*/
}

.title-ko {
  filter: brightness(0) invert(1);
  width: 449px;
  height: auto;
  display: block;
}

.main-subtitle {
  text-align: center;
  color: white;
  z-index: 30;
  font-family: 'YESMyoungjo-Regular', serif;
  white-space: nowrap;
}

.subtitle-phrase {
  font-size: clamp(16px, 2vw, 27px);
  font-weight: 300;
  margin-bottom: 26px; /*위치조절*/
  white-space: nowrap;
}

.subtitle-date {
  display: inline-block;
  background-color: black;
  padding: 8px 20px;
  border-radius: 6px;
  font-weight: 500;
  font-size: clamp(14px, 1.6vw, 22px);
  margin-bottom: 140px; /*위치조절*/
  white-space: nowrap;
}

.subtitle-desc {
  font-size: clamp(14px, 1.6vw, 22px);
  line-height: 2;
  opacity: 0.8;
}

.content-1 {
  text-align: center;
  color: white;
  z-index: 30;
  font-family: 'YESMyoungjo-Regular', serif;
  white-space: nowrap;
  margin-top: 600px; /*위치조절*/
  margin-bottom: 300px;
}

.content-1 p {
  font-size: clamp(14px, 1.6vw, 22px);
  line-height: 2.4;
  opacity: 0.8;
}

.content-2 {
  text-align: center;
  color: white;
  z-index: 30;
  font-family: 'YESMyoungjo-Regular', serif;
  width: 80%;
}
.content-2 .first {
  font-size: clamp(24px, 3vw, 36px);
}

.text-line {
  width: 280px;
  margin-top: 10px;
  margin-bottom: 40px;
}

.content-2 .second {
  font-size: clamp(14px, 2vw, 26px);
  margin-bottom: 20px;
  font-weight: 700;
}
.content-2 .third, .third_mobile, .third_tablet, .third_mobile_micro {
  font-family: 'Pretendard', sans-serif;
  font-size: clamp(12px, 1.8vw, 18px);
  font-weight: 400;
  line-height: 2.6;
  color: #C9D0E4;
  margin-bottom: 200px;
}

.third_mobile, .third_tablet, .third_mobile_micro{
  display: none;
}

.content-3 {
  z-index: 30;
  width: 100%;
  display: flex;
  justify-content: center;
}

.image-container {
  display: flex;
  justify-content: center;
  gap: 30px;
}

.gallery-image {
  width: 30%;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
  transition: transform 0.8s ease, opacity 0.8s ease;
  opacity: 0.4;
}

.gallery-image.center {
  opacity: 1;
}



/* 끝 */

/* Animations */
@keyframes float {
  0% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(5vw, -5vh);
  }
}
.gnb-background{
  display: none;
  position: fixed;
  background-color: #fff;
  opacity: 0.5;
  z-index: 2;
  width: 100vw;
  padding: 20px 0px;
  color: transparent;
}

/* 공통 클래스 */
.fade-in-up {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 1s ease, transform 1s ease;
}

/* 화면에 보일 때 추가되는 클래스 */
.fade-in-up.show {
  opacity: 1;
  transform: translateY(0);
}

.content-wrapper > * {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 1.2s ease, transform 1.2s ease;
  will-change: opacity, transform;
}

.content-wrapper > *.show {
  opacity: 1;
  transform: translateY(0);
} 