@font-face {
  font-family: 'GeumsanButton';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/font-button.woff2') format('woff2'),
       url('../fonts/font-button.woff') format('woff');
}

@font-face {
  font-family: 'GeumsanSlogan';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/font-slogan.woff2') format('woff2'),
       url('../fonts/font-slogan.woff') format('woff');
}


html, body {
  margin: 0;
  padding: 0;
  background-color: rgb(26, 34, 56);
}

/* 기본 스타일 (모바일 우선) */

/* 애니메이션 */
@keyframes slideInFromLeft {
  from {
    opacity: 0;
    transform: translateX(-100%);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.animate-slide-in {
  animation: slideInFromLeft 1s ease-out forwards;
  opacity: 0;
}

.main-container {
  position: relative;
  width: 100%;
  max-width: 1374px;
  min-height: 911px;
  height: auto;
  margin: 0 auto;
  background-color: rgb(26, 34, 56);
  overflow: hidden;
}

/* 모바일 버전 (767px 이하) - 기본 스타일 */
html, body {
  overflow: auto;
  height: auto;
}

.main-container {
  min-height: 100vh;
  padding: 20px;
  box-sizing: border-box;
  max-width: 100%;
}

.content-wrapper {
  width: 100%;
  max-width: 100%;
}

/* PAD 버전 (768px ~ 1023px) */
@media (min-width: 768px) and (max-width: 1023px) {
  html, body {
    overflow: auto;
    height: auto;
  }

  .main-container {
    min-height: 100vh;
    padding: 30px;
    box-sizing: border-box;
    max-width: 100%;
  }

  .content-wrapper {
    width: 100%;
    max-width: 100%;
  }
}

/* PC 버전 (1024px 이상) */
@media (min-width: 1024px) {
  html, body {
    height: 100vh;
    overflow: hidden;
  }

  .main-container {
    height: 100vh;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
  }

  .content-wrapper {
    position: relative;
    width: 100%;
    max-width: 1325.62px;
  }
}

/* 배경 워터마크 */
.watermark-container {
  position: absolute;
  top: 91.1px;
  left: 91.1px;
  width: 1191.8px;
  height: 728.8px;
}

.watermark-clip {
  clip-path: polygon(4px 144.571px, 412.787px 144.571px, 412.787px 911px, 4px 911px);
}

.watermark-bg {
  position: absolute;
  width: 770.257px;
  height: 766.429px;
  transform: translate(-357.47px, 144.571px);
  opacity: 0.1;
}

.watermark-inner {
  width: 770.257px;
  height: 766.429px;
  position: relative;
}

.watermark-bg img {
  width: 770.257px;
  height: 766.429px;
  object-fit: contain;
  display: block;
}

/* 로고 (오른쪽 상단) */
.logo {
  position: absolute;
  width: 150.174px;
  height: 149.427px;
  right: 36.06px;
  top: 205.004px;
}

/* PC: 로고 크기 확대 */
@media (min-width: 1024px) {
  .logo {
    width: 200px;
    height: auto;
  }
}

.logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* PC: 로고 위치 조정 - "신뢰할 수 있는" 첫 행 뒤에 배치 */
@media (min-width: 1024px) {
  .logo {
    position: absolute;
    right: auto;
    left: calc(50% + 400px);
    top: 50%;
    transform: translateY(calc(-50% - 270px));
    width: 200px;
    height: auto;
  }
}

/* 메인 슬로건 */
.main-slogan {
  position: relative;
  left: auto;
  width: 100%;
  height: auto;
  padding-left: 27.6587px;
  box-sizing: border-box;
}

@media (min-width: 768px) {
  .main-slogan {
    top: auto;
    margin-top: 0;
  }
}

/* 모바일: 메인 슬로건 기본 스타일 */
@media (max-width: 767px) {
  .main-slogan {
    padding-left: 20px;
  }

  .main-slogan-text {
    font-size: clamp(20px, 6vw, 36px) !important;
    line-height: 1.4;
    width: 100%;
    height: auto;
    transform: none;
    padding: 20px 0;
    margin: 0;
  }

  .main-slogan-text p {
    margin: 5px 0;
  }
}

/* PAD: 메인 슬로건 */
@media (min-width: 768px) and (max-width: 1023px) {
  .main-slogan {
    padding-left: 30px;
  }

  .main-slogan-text {
    font-size: clamp(48px, 8vw, 80px);
    line-height: 1.4;
    width: 100%;
    height: auto;
    transform: none;
    padding: 20px 0;
  }
}

/* PC: 메인 슬로건 */
@media (min-width: 1024px) {
  .main-slogan {
    padding-left: 27.6587px;
  }

  .main-slogan-text {
    font-size: clamp(70px, 8vw, 112.776px);
    line-height: 1.6;
    width: 100%;
    max-width: 1296.8px;
    height: auto;
  }
}

.main-slogan-text {
  font-family: GeumsanSlogan, auto;
  color: rgb(208, 139, 19);
  line-height: 1.6;
  letter-spacing: 0em;
  width: 100%;
  max-width: 1296.8px;
  height: auto;
  transform: translate(0px, -23.1191px) scale(1.02223, 1.02223);
  transform-origin: 0px 0px;
  animation: slideInFromLeft 1s ease-out 0.2s forwards;
  opacity: 0;
}

.main-slogan-text p {
  margin: 0;
  padding: 0;
}

/* 보조 문구 */
.sub-text-wrapper {
  margin-top: 40px;
  width: 720.202px;
  height: 35.9255px;
  margin-left: auto;
  animation: slideInFromLeft 1s ease-out 0.6s forwards;
  opacity: 0;
}

.sub-text-outer {
  writing-mode: horizontal-tb;
  width: 828.218px;
  height: 41.3137px;
  transform: scale(0.86958, 0.86958);
  transform-origin: 0px 0px;
}

.sub-text-inner {
  transform: translate(3.51819px, 6.15683px);
}

.sub-text p {
  margin: 0;
  padding: 0;
  text-align: left;
}

.sub-text-content {
  font-family: GeumsanButton, auto !important;
  color: rgb(255, 255, 255);
  line-height: 29px;
  letter-spacing: 0.1em;
  list-style-type: none;
  margin: 0;
  padding: 0;
}

.sub-text-span {
  font-size: 1em;
  font-weight: 400;
  font-style: normal;
  color: rgb(255, 255, 255);
}

.sub-text-span.highlight {
  color: rgb(208, 139, 19);
}

/* 버튼 영역 */
.button-container {
  position: relative;
  width: 100%;
  margin-top: 31.9189px;
  padding-left: 36.1567px;
  box-sizing: border-box;
}

/* 모바일: 버튼 컨테이너 */
@media (max-width: 767px) {
  .button-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 20px;
    margin-top: 30px;
    gap: 15px;
    width: 100%;
    box-sizing: border-box;
  }
}

/* PAD: 버튼 컨테이너 */
@media (min-width: 768px) and (max-width: 1023px) {
  .button-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 30px;
    margin-top: 40px;
    gap: 20px;
    width: 100%;
    box-sizing: border-box;
  }
}

/* PC: 버튼 컨테이너 */
@media (min-width: 1024px) {
  .button-container {
    display: flex;
    gap: 43.3px;
    padding-left: 36.1567px;
  }
}

.button-left,
.button-right {
  position: relative;
  text-decoration: none;
  width: 629.519px;
  height: 145.42px;
  background: rgb(235, 188, 60);
  border-radius: 21.28px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 5px solid transparent;
}

/* 모바일: 버튼 */
@media (max-width: 767px) {
  .button-left,
  .button-right {
    position: relative;
    left: auto;
    top: auto;
    width: 100%;
    max-width: 100%;
    height: auto;
    min-height: 70px;
    margin: 0;
    padding: 15px 20px;
    box-sizing: border-box;
  }

  .button-text {
    font-size: clamp(14px, 4vw, 22px) !important;
    line-height: 1.4;
    width: 100%;
    word-break: keep-all;
  }
}

/* PAD: 버튼 */
@media (min-width: 768px) and (max-width: 1023px) {
  .button-left,
  .button-right {
    position: relative;
    left: auto;
    top: auto;
    width: 100%;
    max-width: 600px;
    height: auto;
    min-height: 90px;
    margin: 0;
    padding: 20px 30px;
    box-sizing: border-box;
  }

  .button-text {
    font-size: clamp(24px, 4vw, 40px);
    line-height: 1.3;
    width: 100%;
    word-break: keep-all;
  }
}

/* PC: 버튼 */
@media (min-width: 1024px) {
  .button-left,
  .button-right {
    left: auto;
    top: auto;
    width: calc(50% - 21.65px);
    max-width: 629.519px;
  }

  .button-text {
    font-size: clamp(40px, 4.5vw, 65.4222px);
    line-height: 1.2;
  }
}

.button-left:hover,
.button-right:hover {
  border: 5px solid rgb(255, 230, 150);
  box-shadow: 0 0 30px rgba(255, 230, 150, 0.9), 0 0 50px rgba(255, 230, 150, 0.7);
}

.button-text {
  font-family: GeumsanButton, auto;
  color: rgb(26, 34, 56);
  line-height: 1.2;
  letter-spacing: -0.03em;
  text-align: center;
  width: 100%;
  max-width: 623.831px;
}

/* 안내 문구 */
.info-text {
  position: relative;
  left: auto;
  top: auto;
  width: 644.668px;
  height: 44.2387px;
  margin: 20px auto 0;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: slideInFromLeft 1s ease-out 1s forwards;
  opacity: 0;
}

/* 모바일: 안내 문구 */
@media (max-width: 767px) {
  .info-text {
    position: relative;
    left: auto;
    top: auto;
    width: 100%;
    height: auto;
    margin: 40px 0 20px;
    padding: 0 20px;
    box-sizing: border-box;
  }

  .info-text p {
    font-size: clamp(11px, 2.5vw, 14px);
    line-height: 1.5;
    transform: none;
    white-space: normal;
    word-break: keep-all;
  }
}

/* PAD: 안내 문구 */
@media (min-width: 768px) and (max-width: 1023px) {
  .info-text {
    position: relative;
    left: auto;
    top: auto;
    width: 100%;
    height: auto;
    margin: 50px auto 20px;
    padding: 0 30px;
    box-sizing: border-box;
  }

  .info-text p {
    font-size: clamp(14px, 2.5vw, 22px);
    line-height: 1.4;
    transform: none;
    white-space: normal;
    word-break: keep-all;
  }
}

/* PC: 안내 문구 */
@media (min-width: 1024px) {
  .info-text {
    margin-top: 50px;
    width: 100%;
    max-width: 644.668px;
  }

  .info-text p {
    font-size: clamp(20px, 2.5vw, 28px);
    line-height: 1.3;
    white-space: nowrap;
  }
}

.info-text p {
  font-family: GeumsanButton, auto;
  font-size: clamp(14px, 2.5vw, 32px);
  color: rgb(254, 254, 254);
  line-height: 1.3;
  letter-spacing: 0.1em;
  margin: 0;
  padding: 0;
  transform: none;
  transform-origin: center center;
  white-space: nowrap;
  text-align: center;
}

/* 모바일: 워터마크 및 로고 */
@media (max-width: 767px) {
  .watermark-container,
  .watermark-clip,
  .watermark-bg {
    display: none;
  }

  .logo {
    position: relative;
    width: 120px;
    height: auto;
    right: auto;
    top: auto;
    margin: 20px auto;
    text-align: center;
    display: block;
  }

  .sub-text-wrapper {
    position: relative;
    width: 100%;
    height: auto;
    margin: 20px 0;
    margin-left: 0;
    padding: 0 20px;
    box-sizing: border-box;
  }

  .sub-text-outer {
    width: 100%;
    height: auto;
    transform: none;
  }

  .sub-text-inner {
    transform: none;
  }

  .sub-text {
    width: 100%;
  }

  .sub-text-content {
    font-size: clamp(12px, 3vw, 18px) !important;
    line-height: 1.6;
    text-align: left;
  }
}

/* PAD: 워터마크 및 로고 */
@media (min-width: 768px) and (max-width: 1023px) {
  .watermark-container,
  .watermark-clip,
  .watermark-bg {
    display: none;
  }

  .logo {
    position: relative;
    width: 140px;
    height: auto;
    right: auto;
    top: auto;
    margin: 30px auto;
    text-align: center;
    display: block;
  }

  .sub-text-wrapper {
    position: relative;
    width: 100%;
    height: auto;
    margin: 30px 0;
    margin-left: 0;
    padding: 0 30px;
    box-sizing: border-box;
  }

  .sub-text-outer {
    width: 100%;
    height: auto;
    transform: none;
  }

  .sub-text-inner {
    transform: none;
  }

  .sub-text {
    width: 100%;
  }

  .sub-text-content {
    font-size: clamp(20px, 3vw, 30px);
    line-height: 1.5;
    text-align: left;
  }
}

/* PC: 워터마크 및 로고는 기본 스타일 유지 */

/* PC: 보조 문구 */
@media (min-width: 1024px) {
  .sub-text-content {
    font-size: clamp(30px, 2.5vw, 35.1819px);
    line-height: 29px;
  }
}

