@font-face {
  font-family: "SUIT Variable";
  font-weight: 100 900;
  src: url("./SUIT-Variable.woff2") format("woff2-variations");
}

* { -webkit-tap-highlight-color: transparent; }

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,body{
  height: 100%;
}

body {
  font-family: "SUIT Variable", system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  min-height: 100vh;
  background: #000;
  overflow-x: hidden;
  overflow-y: auto;
  position: relative;
  scroll-snap-type: y mandatory;
  scroll-behavior: smooth;
}

.snap-section {
  scroll-snap-align: start;
  min-height: 100vh;
}


.bg-layer {
  position: fixed;
  inset: -20px;
  background: url("img/bg.jpg") center / cover no-repeat;
  filter: blur(10px);
  z-index: -2;
}

.bg-overlay {
  position: fixed;
  inset: 0;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(6px);
  z-index: -2;
}

.bottom-gradient {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  height: 30vh;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.6),
    rgba(0, 0, 0, 0)
  );
  pointer-events: none;
  z-index: -1;
}

.mobile-main {
  width: min(430px, 100vw);
  height: 100vh;
  margin: 0 auto;
}

.main-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.poster {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  height: auto;
  z-index: 1;
}
/* scroll to brochure */
.bottom-panel {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: #ffffff;
  border-radius: 24px 24px 0 0;
  padding: 20px 0 18px;
  text-align: center;
  z-index: 2;
}

.scroll-icon {
  width: 30px;
  height: auto;
  opacity: 0.8;
  margin-bottom: 8px;
}

.scroll-text {
  font-size: 14px;
  letter-spacing: 0.12em;
  color: #444;
}

@media (max-height: 700px) {
  .bottom-panel {
    padding: 14px 0 12px;
    border-radius: 18px 18px 0 0;
  }

  .scroll-text {
    font-size: 13px;
    letter-spacing: 0.08em;
  }
}

/* 브로슈어 */
@font-face {
  font-family: "Geoform";
  font-weight: 500;
  src: url("./Geoform-Medium.woff2") format("woff2");
}

#brochure {
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;
}

.brochure-track {
  display: flex;
  align-items: flex-start;
}

.brochure-panel {
  flex: 0 0 100%;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  scroll-snap-align: start;
}

.page {
  width: 100%;
  max-width: 430px;
  height: 100%;
  margin: 0 auto;
  padding: 40px 24px;
}


.page-title {
  font-family: "Geoform", "SUIT Variable", system-ui, sans-serif;
  font-size: 40px;
  line-height: 1.05;
  margin-bottom: 40px;
}

.page-body {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.page-lead {
  font-size: 14px;
  line-height: 1.9;
}

.page-lead strong {
  font-weight: 800;
}

.page-text {
  font-size: 13px;
  line-height: 1.9;
  color: #555;
}

.page-subtitle {
  font-size: 15px;
  font-weight: 600;
  margin-top: 20px;
  margin-bottom: 12px;
}

.page-list {
  list-style: none;
  font-size: 13px;
  line-height: 1.9;
  color: #555;
}

.page-list li::before {
  content: "- ";
}

.page-info {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.info-block + .info-block {
  margin-top: 4px;
}

/* 플로어 */
.floor-map {
  position: relative;
  width: min(200px, 82vw);
  margin: 16px auto 24px;
  line-height: 0;
  font-size: 0;
}


.floor-map-image {
  position: relative;
  width: 100%;
  height: auto;
  display: block;
}

.floor-zone {
  position: absolute;
  border: none;
  background: transparent;
  padding: 0;
  cursor: pointer;
  opacity: 0;
  color: transparent;
}

.zone-1 {
  top: 0%;
  left: 7%;
  width: 50%;
  height: 35%;
}
.zone-2 {
  top: 0%;
  left: 58%;
  width: 42%;
  height: 35%;
}

.zone-3 {
  top: 63%;
  left: 55%;
  width: 45%;
  height: 35%;
}

.zone-special {
  top: 44%;
  left: 20%;
  width: 35%;
  height: 20%;
}

.zone-4 {
  top: 0%;
  left: 0%;
  width: 50%;
  height: 35%;
}
.zone-5 {
  top: 0%;
  left: 58%;
  width: 42%;
  height: 35%;
}

.zone-6 {
  top: 63%;
  left: 55%;
  width: 45%;
  height: 35%;
}

.floor-list {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 13px;
}

.floor-list li {
  margin-bottom: 18px;
}

.floor-list a {
  text-decoration: none;
  color: #000;
}

.floor-list .num {
  display: inline-block;
  width: 32px;
  font-weight: 600;
}

.floor-list .title {
  font-weight: 600;
}

.floor-list .desc {
  display: block;
  margin-left: 32px;
  font-size: 12px;
  color: #666;
  margin-top: 4px;
}

.floor-list .special .num {
  width: auto;
  margin-right: 8px;
}

/* 반응형 */
/* =========================
   모바일 (<=768px)
========================= */
@media (max-width: 768px) {
  .brochure {
    padding: 60px 0 0 0;
    background: #ffffff;
  }
  #brochure {
    overflow-x: hidden;
    overflow-y: hidden;
    scroll-snap-type: none;
    touch-action: pan-y;
    overscroll-behavior-x: contain;
  }

  .page {
    padding: 40px 40px 44px;
    min-height: 580px;
    background: transparent;
    box-shadow: none;
  }

  .page-title {
    font-size: 32px;
    margin-bottom: 32px;
  }

  .floor-map {
    transform: scale(0.92);
    transform-origin: left top;
  }
}

/* =========================
   태블릿 (768px~1023px)
========================= */
@media (min-width: 768px) and (max-width: 1023px) {
  .brochure {
    max-width: 960px;
    margin: 0 auto 120px;
    padding: 100px 0 80px 0;
    background: #ffffff;
  }

  #brochure {
    overflow-x: hidden;
    overflow-y: hidden;
    scroll-snap-type: none;
    touch-action: pan-y;
    overscroll-behavior-x: contain;
  }

  .page {
    background: transparent;
    padding: 0 24px;
    box-shadow: none;
    min-height: auto;
  }
}


@media (min-width: 1024px) {

  #brochure {
    background: #ffffff;
    height: 100vh;
    margin: 0;
    padding: 0;
    overflow: hidden;
  }

  .brochure {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
  }

  .brochure-track {
    display: flex;
    width: 100%;
    height: 100%;
    align-items: stretch;
  }

  .brochure-panel {
    flex: 0 0 100vw;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: stretch;
    overflow: hidden;
  }

  .panel-floor1,
  .panel-floor2 {
    flex: 0 0 50vw;
    height: 100vh;
  }

  .page-body > p:nth-of-type(2) {
    padding-bottom: 22vh;
  }
  .page {
    max-width: 960px;
    width: 100%;
    height: 100vh;
    margin: 0 auto;
    padding: clamp(36px, 4.2vh, 64px) 88px clamp(28px, 3.2vh, 52px);
    box-sizing: border-box;
    overflow: hidden;
  }

  .page-info .page-title {
    padding-bottom: 26vh;
    margin-bottom: 0;
  }

  .page-title {
     margin-bottom: 10vh;
    font-size: clamp(34px, 3.4vw, 46px);
    line-height: 1.06;
    margin-bottom: clamp(16px, 2.2vh, 32px);
  }

  .floor-label {
    font-size: clamp(16px, 1.2vw, 20px);
    margin-bottom: clamp(8px, 1.2vh, 14px);
  }

  .page-body {
    display: flex;
    flex-direction: column;
    gap: clamp(10px, 1.2vh, 16px);
  }

  .page-lead {
    font-size: clamp(14px, 1.25vw, 17px);
    line-height: 1.65;
    margin: 0;
  }

  .page-text {
    font-size: clamp(13px, 1.05vw, 15px);
    line-height: 1.65;
    margin: 0;
    color: #555;
  }

  .page-subtitle {
    font-size: clamp(15px, 1.2vw, 18px);
    margin-top: clamp(8px, 1.2vh, 14px);
    margin-bottom: clamp(6px, 1vh, 10px);
  }

  .page-list {
    font-size: clamp(13px, 1.0vw, 14px);
    line-height: 1.65;
    color: #555;
  }

  .page-list li {
    margin-bottom: clamp(4px, 0.8vh, 8px);
  }

  .floor-map {
    padding-bottom: 0;
    width: min(220px, 14vw);
    margin: clamp(10px, 1.2vh, 14px) auto clamp(12px, 1.6vh, 18px);
    margin-bottom: 6vh;
  }

  .floor-list {
    font-size: clamp(13px, 1.0vw, 14px);
  }

  .floor-list li {
    margin-bottom: clamp(10px, 1.2vh, 14px);
  }

  .floor-list .num {
    width: 28px;
  }

  .floor-list .title {
    font-size: clamp(14px, 1.1vw, 16px);
  }

  .floor-list .desc {
    font-size: clamp(12px, 0.95vw, 13px);
    opacity: 0.75;
    margin-top: 3px;
  }
}

/* 모바일 권고창 */
#pc-popup {
  position: fixed;
  inset: 0;
  display: none;
  justify-content: center;
  align-items: center;
  background: rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(6px);
  z-index: 9999;
}

.pc-popup-box {
  background: rgba(255, 255, 255, 0.96);
  border-radius: 24px;
  padding: 28px 36px 24px;
  width: 100%;
  max-width: 360px;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.18);
  text-align: center;
  animation: pcPopupFade 0.25s ease-out;
}

.pc-popup-box p {
  margin: 0 0 18px;
  font-size: 14px;
  line-height: 1.7;
  color: #222;
}

#pc-popup-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 120px;
  height: 36px;
  border-radius: 999px;
  border: none;
  background: #111;
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
}

#pc-popup-close:active {
  transform: translateY(1px);
}

@keyframes pcPopupFade {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 하이퍼링크 */
@media (min-width: 1024px) {
  .page-info .page-title {
    padding-bottom: 0;
    margin-bottom: clamp(12px, 1.6vh, 20px);
  }

  .page-info {
    gap: clamp(16px, 2vh, 24px);
  }
}

.page-guide { position: relative; }

.mobile-swipe-hint { display: none; }

@media (max-width: 768px) {
  .mobile-swipe-hint{
    display: block;
    position: absolute;
    right: 20px;
    bottom: 24px;
    font-size: 15px;
    letter-spacing: 0.12em;
    color: #000;
    opacity: 0.8;
    pointer-events: none;
    z-index: 10;
  }
}
