@font-face {
  font-family: 'Paperlogy';
  src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/2408-3@1.0/Paperlogy-1Thin.woff2') format('woff2');
  font-weight: 100;
  font-display: swap;
}

@font-face {
  font-family: 'Paperlogy';
  src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/2408-3@1.0/Paperlogy-2ExtraLight.woff2') format('woff2');
  font-weight: 200;
  font-display: swap;
}

@font-face {
  font-family: 'Paperlogy';
  src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/2408-3@1.0/Paperlogy-3Light.woff2') format('woff2');
  font-weight: 300;
  font-display: swap;
}

@font-face {
  font-family: 'Paperlogy';
  src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/2408-3@1.0/Paperlogy-4Regular.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: 'Paperlogy';
  src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/2408-3@1.0/Paperlogy-5Medium.woff2') format('woff2');
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: 'Paperlogy';
  src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/2408-3@1.0/Paperlogy-6SemiBold.woff2') format('woff2');
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: 'Paperlogy';
  src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/2408-3@1.0/Paperlogy-7Bold.woff2') format('woff2');
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: 'Paperlogy';
  src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/2408-3@1.0/Paperlogy-8ExtraBold.woff2') format('woff2');
  font-weight: 800;
  font-display: swap;
}

@font-face {
  font-family: 'Paperlogy';
  src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/2408-3@1.0/Paperlogy-9Black.woff2') format('woff2');
  font-weight: 900;
  font-display: swap;
}

:root {
  scroll-behavior: unset;
  --header-h: 100px;
  --footer-h: 85px;
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  font-family: 'Paperlogy', sans-serif;
  color: #fff;
  background: #111;
}

.page {
  height: 100vh;
  overflow-y: auto;
  overflow-x: hidden;
  /* scroll-snap-type: y mandatory; */
  /* -webkit-overflow-scrolling: touch; */
  box-sizing: border-box;
}

header.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-h);
  display: flex;
  align-items: center;
  z-index: 1000;
  background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0));
  overflow: hidden;
}

header.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1), rgba(0, 0, 0, 0));
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1), rgba(0, 0, 0, 0));
}

.header-inner {
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  padding: 0 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  box-sizing: border-box;
  position: relative;
  z-index: 1;
}

.brand {
  font-weight: 800;
  letter-spacing: -0.3px;
  white-space: nowrap;
  -webkit-user-select: none;
  user-select: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0px;
}

.brand img {
  height: calc(var(--header-h) * 0.7);
  width: auto;
  display: block;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-text div:nth-child(1) {
  font-family: 'Paperlogy', sans-serif;
  font-weight: 300;
  letter-spacing: 0.5px;
  padding-left: 10px;
}

.brand-text div:nth-child(2) {
  font-family: 'Paperlogy', sans-serif;
  font-weight: 700;
  font-style: italic;
  font-size: 35px;
  padding: 5px;
}

nav.header-nav {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav-btn {
  appearance: none;
  display: none; /* Initially hidden to prevent flicker */
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(0, 0, 0, 0.25);
  color: #fff;
  padding: 8px 10px;
  border-radius: 999px;
  font-size: 13px;
  line-height: 1;
  cursor: pointer;
  transition: background 160ms ease, border-color 160ms ease;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.nav-btn svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.nav-btn.home-btn {
  padding: 8px;
}

.nav-btn:hover {
  background: rgba(0, 0, 0, 0.4);
  border-color: rgba(255, 255, 255, 0.4);
}

.nav-btn.is-active {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.65);
}

footer.site-footer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: var(--footer-h);
  display: flex;
  align-items: center;
  z-index: 1000;
  background-image: linear-gradient(to top, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0));
  overflow: hidden;
}

footer.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  -webkit-mask-image: linear-gradient(to top, rgba(0, 0, 0, 1), rgba(0, 0, 0, 0));
  mask-image: linear-gradient(to top, rgba(0, 0, 0, 1), rgba(0, 0, 0, 0));
}

.footer-inner {
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  padding: 0 14px;
  box-sizing: border-box;
  font-size: 12px;
  opacity: 0.9;
  text-align: center;
  position: relative;
  z-index: 1;
}

.footer-logo-wrapper {
  height: var(--footer-h);
  padding: 20px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-logo {
  display: block;
  max-height: 100%;
  width: auto;
}

section {
  width: 100%;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 0px;
  box-sizing: border-box;
  position: relative;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
  padding-top: calc(var(--header-h) + 40px);
}

section.sec-1 {
  align-items: flex-end;
  /* padding-bottom: var(--footer-h); */
  padding-bottom: calc(var(--footer-h) + 40px);
}

section::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
}

.content {
  width: 100%;
  max-width: 960px;
  text-align: center;
  z-index: 1;
  padding: 20px;
}

.home-intro {}

.home-intro .title {
  font-family: 'Paperlogy', sans-serif;
  margin: 0 0 8px;
  font-size: 28px;
  font-weight: 900;
}

.home-intro .desc {
  margin: 0;
  font-size: 16px;
  opacity: 0.85;
}

/* 메인 유튜브 영상 영역 */
.main-video-container {
  width: 100%;
  max-width: 680px;
  box-sizing: border-box;
  margin: 0 auto;
}

.main-video-wrapper {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  /* 16:9 비율 */
  background: rgba(255, 255, 255, 0.5);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(245, 249, 145, 0.7);
}

.main-video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.main-video-placeholder {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.main-video-placeholder:hover {
  transform: scale(1.02);
}

.main-video-placeholder::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* background: rgba(0, 0, 0, 0.3); */
  transition: background 0.3s ease;
}

.main-video-placeholder:hover::before {
  background: rgba(255, 255, 255, 0.5);
}

.main-play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  background: rgba(255, 0, 0, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.main-video-placeholder:hover .main-play-button {
  transform: translate(-50%, -50%) scale(1.1);
  background: rgba(255, 0, 0, 1);
}

.main-play-button::after {
  content: '';
  width: 0;
  height: 0;
  border-left: 24px solid white;
  border-top: 14px solid transparent;
  border-bottom: 14px solid transparent;
  margin-left: 4px;
}

.main-video-title {
  margin-top: 16px;
  font-size: 18px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.95);
  text-align: center;
}

.title {
  margin: 0 0 10px;
  font-size: 40px;
  letter-spacing: -0.5px;
}

.sec-3 .title {
  font-size: 40px;
  font-weight: 700;
  color: whitesmoke;
  font-family: 'Paperlogy', sans-serif;
}

@media (max-width: 720px) {
  .title {
    font-size: 28px;
  }

  .sec-3 .title {
    font-size: 28px;
  }
}

/* 공약 섹션 스타일 */
.promise-list {
  width: 100%;
  max-width: 960px;
  margin: 30px auto 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.promise-item {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
  cursor: pointer;
}

.promise-item:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.promise-number {
  font-size: 28px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.9);
  min-width: 50px;
  text-align: center;
  font-family: 'Paperlogy', sans-serif;
}

.promise-text {
  font-size: 15px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.95);
  line-height: 1.5;
  flex: 1;
}

@media (max-width: 720px) {
  .promise-list {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .promise-item {
    padding: 16px;
    gap: 12px;
  }

  .promise-number {
    font-size: 24px;
    min-width: 40px;
  }

  .promise-text {
    font-size: 14px;
  }
}

/* 경력 섹션 스타일 */
.career-list {
  width: 100%;
  max-width: 960px;
  margin: 30px auto 0;
  padding: 0;
}

.career-item {
  display: flex;
  gap: 30px;
  padding: 25px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.career-item:last-child {
  border-bottom: none;
}

.career-year {
  font-size: 16px;
  font-weight: 700;
  color: #333;
  min-width: 140px;
  font-family: 'Paperlogy', sans-serif;
}

.career-content {
  flex: 1;
}

.career-title {
  font-size: 18px;
  font-weight: 700;
  color: #333;
  margin: 0 0 8px;
  font-family: 'Paperlogy', sans-serif;
}

.career-desc {
  font-size: 15px;
  color: #666;
  margin: 0;
  line-height: 1.6;
}

.sec-4 .section-title {
  color: #333;
}

.sec-4 {
  position: relative;
  overflow: hidden;
}


/* 오버이미지 공통 스타일 */
.over-wrapper {
  position: absolute;
  /* height: 80%;
      max-height: 600px; */
  pointer-events: none;
  z-index: 1;
}

.over-wrapper .over-image {
  display: block;
  max-width: 100vw;
}

/* PC Positions */
@media (min-width: 721px) {
  .pos-left {
    bottom: 0;
    margin-left: calc((960px / 1) * -1);
  }

  .pos-left-center {
    top: 50%;
    margin-left: calc((960px / 1) * -1);
    transform: translate(0, -50%);
  }

  .pos-right {
    bottom: 0;
    margin-right: calc((960px / 1) * -1);
  }

  .pos-right-center {
    top: 50%;
    margin-right: calc((960px / 1) * -1);
    transform: translateY(-50%);
  }

  .pos-center {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }

  .pos-top {
    top: 0;
    left: 50%;
    transform: translateX(-50%);
  }

  .pos-bottom {
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
  }
}

@media (min-width: 721px) and (max-width: 960px) {

  .pos-left,
  .pos-left-center {
    margin-left: calc((720px / 1) * -1);
  }

  .pos-right {
    margin-right: calc((720px / 1) * -1);
  }

  .pos-right-center {
    margin-right: calc((720px / 1) * -1);
  }
}

/* 모바일 Positions (모두 가운데 정렬 원칙) */
@media (max-width: 720px) {
  .over-wrapper {
    left: 50%;
    transform: translateX(-50%);
  }

  .pos-left,
  .pos-right,
  .pos-bottom {
    bottom: 0;
  }

  .pos-top {
    top: 0;
  }

  .pos-center,
  .pos-left-center,
  .pos-right-center {
    top: 50%;
    transform: translate(-50%, -50%);
  }
}

.career-list {}

.career-item {
  flex-direction: column;
  gap: 10px;
  padding: 20px 0;
}

.career-year {
  font-size: 14px;
  min-width: auto;
}

.career-title {
  font-size: 16px;
}

.career-desc {
  font-size: 14px;
}

/* 연락처 섹션 스타일 */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
  padding: 0;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 15px 25px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 45px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  cursor: pointer;
}

.contact-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  background: rgba(255, 255, 255, 1);
}

.contact-item.address {
  grid-column: 1 / -1;
}

.contact-icon {
  flex-shrink: 0;
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.contact-item:hover .contact-icon {
  transform: scale(1.15);
}

.contact-icon svg {
  width: 45px;
  height: 45px;
}

.contact-text {
  flex: 1;
  text-align: left;
}

.contact-label {
  font-size: 14px;
  font-weight: 600;
  color: #666;
  margin-bottom: 5px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.contact-value {
  font-size: 16px;
  font-weight: 500;
  color: #333;
}

.contact-item.address .contact-value {
  font-size: 15px;
  line-height: 1.5;
}

@media (max-width: 720px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 15px;
    margin-bottom: 100px;
  }

  .contact-item {
    padding: 15px 20px;
    gap: 15px;
  }

  .contact-icon {
    width: 35px;
    height: 35px;
  }

  .contact-icon svg {
    width: 35px;
    height: 35px;
  }

  .contact-label {
    font-size: 12px;
  }

  .contact-value {
    font-size: 14px;
  }

  .contact-item.address .contact-value {
    font-size: 13px;
  }
}

/* 레이어 팝업 스타일 */
.promise-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.promise-modal.is-active {
  opacity: 1;
  visibility: visible;
}

.promise-modal-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
}

.promise-modal-content {
  position: relative;
  width: 100%;
  max-width: 600px;
  max-height: 80vh;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  overflow-y: auto;
  transform: scale(0.9) translateY(20px);
  transition: transform 0.3s ease;
}

.promise-modal.is-active .promise-modal-content {
  transform: scale(1) translateY(0);
}

.promise-modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 36px;
  height: 36px;
  border: none;
  background: rgba(0, 0, 0, 0.1);
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  color: #333;
  font-size: 24px;
  line-height: 1;
}

.promise-modal-close:hover {
  background: rgba(0, 0, 0, 0.2);
  transform: rotate(90deg);
}

.promise-modal-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 25px;
  padding-bottom: 20px;
  border-bottom: 2px solid rgba(0, 0, 0, 0.1);
}

.promise-modal-number {
  font-size: 48px;
  font-weight: 700;
  color: #40a769;
  font-family: 'Paperlogy', sans-serif;
}

.promise-modal-title {
  font-size: 24px;
  font-weight: 700;
  color: #333;
  line-height: 1.4;
  flex: 1;
}

.promise-modal-body {
  color: #555;
  font-size: 16px;
  line-height: 1.8;
  white-space: pre-wrap;
}

.promise-modal-body p {
  margin: 0 0 15px;
}

.promise-modal-body p:last-child {
  margin-bottom: 0;
}

@media (max-width: 720px) {
  .promise-modal-content {
    padding: 30px 20px;
    max-height: 90vh;
  }

  .promise-modal-close {
    top: 15px;
    right: 15px;
    width: 32px;
    height: 32px;
    font-size: 20px;
  }

  .promise-modal-number {
    font-size: 36px;
  }

  .promise-modal-title {
    font-size: 20px;
  }

  .promise-modal-body {
    font-size: 15px;
  }
}

/* 스토리 섹션 스타일 */
.story-container {
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.sec-2 {
  position: relative;
  overflow: hidden;
}

/* 좌측 래퍼 관련 CSS (통합됨) */

.story-section {
  margin-bottom: 40px;
}

.story-section:last-child {
  margin-bottom: 0;
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  padding-bottom: 12px;
  position: relative;
}

.section-header-content {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  justify-content: center;
  position: relative;
}

.section-title {
  font-size: 40px;
  font-weight: 700;
  color: #333;
  margin: 0;
  text-align: center;
  font-family: 'Paperlogy', sans-serif;
}

.section-title-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.section-title-icon svg {
  width: 100%;
  height: 100%;
}

.section-title-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.sec-2 .section-title {
  color: #333333;
}

@media (max-width: 720px) {
  .section-title {
    font-size: 28px;
  }

  .section-title-icon {
    width: 28px;
    height: 28px;
  }
}

.youtube-channel-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  margin-left: 8px;
  background: rgba(255, 255, 255, 0.3);
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  border-radius: 50%;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  animation: channelPulse 2s ease-in-out infinite;
}

@keyframes channelPulse {

  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  }

  50% {
    transform: scale(1.1);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  }
}

.youtube-channel-link:hover {
  background: rgba(255, 255, 255, 0.5);
  animation: channelBounce 0.6s ease-in-out infinite;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

@keyframes channelBounce {

  0%,
  100% {
    transform: translateX(0);
  }

  25% {
    transform: translateX(-3px);
  }

  75% {
    transform: translateX(3px);
  }
}

.youtube-channel-link svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.load-more-btn {
  display: block;
  margin: 40px auto 0;
  padding: 14px 32px;
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-radius: 30px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.load-more-btn:hover {
  background: rgba(255, 255, 255, 0.3);
  border-color: rgba(255, 255, 255, 0.6);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.load-more-btn:active {
  transform: translateY(0);
}

.section-link {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: color 0.2s ease;
}

.section-link:hover {
  color: #fff;
}

/* 유튜브 채널 리스트 */
.youtube-slider {
  width: 100%;
  margin: 0;
  padding: 0;
}

.youtube-list {
  display: flex;
  overflow-x: auto;
  gap: 16px;
  padding: 20px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  /* 가로 스크롤바 숨기기 */
  scrollbar-width: none;
  -ms-overflow-style: none;
  max-width: fit-content;
  margin: 0 auto;
}

.youtube-list::-webkit-scrollbar {
  display: none;
}

.youtube-item-wrapper {
  flex: 0 0 auto;
  width: calc(100vw - 80px); /* 화면 크기에 맞추되 좌우 여백 확보 */
  max-width: 320px; /* 최대 크기 설정 - 쇼츠와 일반 영상 모두 이 폭을 가짐 */
  scroll-snap-align: center;
  margin-bottom: 0;
  display: flex;
  align-items: center; /* 높이가 다를 때 중앙 정렬 */
}

.youtube-item {
  width: 100%;
  background: #000;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* 쇼츠 비율 적용 (기본 9:16) */
.youtube-item-wrapper.shorts .youtube-item {
  padding-top: 177.78%;
}

/* 일반 영상 비율 적용 (16:9) */
.youtube-item-wrapper.normal .youtube-item {
  padding-top: 56.25%;
}

/* 모바일 반응형 갭 조정 */
@media (max-width: 720px) {
  .youtube-list {
    gap: 12px;
  }
}

/* 삭제된 옛날 코드들 */

/* 공지사항 리스트 */
.notice-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.notice-item {
  background: #fff;
  border-radius: 8px;
  padding: 16px;
  border: 1px solid #e0e0e0;
  transition: background 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.notice-item:hover {
  background: #f9f9f9;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.notice-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.notice-badge {
  padding: 3px 8px;
  background: rgba(255, 100, 100, 0.8);
  border-radius: 4px;
  font-size: 11px;
  font-weight: 600;
  color: #fff;
}

.notice-badge.normal {
  background: rgba(100, 150, 255, 0.8);
}

.notice-title {
  font-size: 15px;
  font-weight: 600;
  color: #333;
  margin: 0;
  flex: 1;
}

.notice-date {
  font-size: 12px;
  color: #666;
}

.notice-content {
  font-size: 13px;
  color: #555;
  line-height: 1.5;
  margin: 0;
}

.desc {
  margin: 0;
  opacity: 0.9;
  font-size: 16px;
  line-height: 1.6;
}

.scroll-hint {
  position: fixed;
  left: 50%;
  bottom: calc(var(--footer-h) + 0px);
  transform: translateX(-50%);
  z-index: 1200;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.70);
  font-size: 13px;
  letter-spacing: 0.2px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 220ms ease;
}

.scroll-hint.is-visible {
  opacity: 1;
}

.scroll-hint .mouse {
  width: 22px;
  height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  position: relative;
}

.scroll-hint .mouse::after {
  content: "";
  position: absolute;
  top: 8px;
  left: 50%;
  width: 3px;
  height: 6px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.6);
  transform: translateX(-50%);
  animation: wheel 1.6s ease-in-out infinite;
}

@keyframes wheel {
  0% {
    transform: translateX(-50%) translateY(0);
    opacity: 0.2;
  }

  30% {
    opacity: 1;
  }

  60% {
    transform: translateX(-50%) translateY(10px);
    opacity: 0.35;
  }

  100% {
    opacity: 0.2;
  }
}

.entry-guide {
  position: fixed;
  left: 50%;
  top: calc(var(--header-h) + 10px);
  transform: translateX(-50%);
  z-index: 1200;
  max-width: min(420px, 92vw);
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.20);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  font-size: 13px;
  line-height: 1.4;
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease, transform 220ms ease;
}

.entry-guide.is-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.orientation-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0, 0, 0, 0.45);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  align-items: center;
  justify-content: center;
  padding: 18px;
  box-sizing: border-box;
  text-align: center;
}

.orientation-overlay .inner {
  width: 100%;
  max-width: 360px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 16px;
  padding: 18px 16px;
  box-sizing: border-box;
}

.orientation-overlay .title {
  margin: 8px 0 6px;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.2px;
}

.orientation-overlay .text {
  margin: 0;
  font-size: 13px;
  opacity: 0.9;
  line-height: 1.45;
}

.orientation-overlay .icon {
  width: 72px;
  height: 72px;
  margin: 0 auto;
  opacity: 0.95;
  animation: rotateHint 1.35s ease-in-out infinite;
}

@keyframes rotateHint {

  0%,
  100% {
    transform: rotate(-8deg);
  }

  50% {
    transform: rotate(8deg);
  }
}

@media (max-width: 935px) and (orientation: landscape) {
  .orientation-overlay {
    display: flex;
  }
}

/* Removed hardcoded background-attachment: fixed */

@supports (height: 100dvh) {
  .page {
    height: 100dvh;
  }

  section.full-height {
    min-height: 100dvh;
  }
}

@media (max-width: 720px) {
  .main-video-container {}

  .main-video-wrapper {
    border-radius: 12px;
  }

  .main-play-button {
    width: 60px;
    height: 60px;
  }

  .main-play-button::after {
    border-left: 18px solid white;
    border-top: 11px solid transparent;
    border-bottom: 11px solid transparent;
  }
}

@media (min-width: 721px) {
  .title {
    font-size: 46px;
  }

  .desc {
    font-size: 18px;
  }
}

/* Section Backgrounds */


/* 갤러리 섹션 */
.sec-gallery {
  min-height: 100vh;
  padding: 60px 20px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.sec-gallery .content {
  width: 100%;
  max-width: 960px;
}

.gallery-grid-public {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 8px;
}

@media (min-width: 600px) {
  .gallery-grid-public {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }
}

@media (min-width: 900px) {
  .gallery-grid-public {
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
  }
}

.gallery-item {
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  animation: galleryFadeIn 0.4s ease both;
  position: relative;
}

.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0);
  transition: background 0.2s;
}

.gallery-item:hover::after {
  background: rgba(0, 0, 0, 0.15);
}

.gallery-item img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

@keyframes galleryFadeIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.gallery-load-more-btn {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 12px 40px;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.gallery-load-more-btn:hover {
  background: rgba(255, 255, 255, 0.25);
}

.gallery-load-more-btn:disabled {
  opacity: 0.5;
  cursor: wait;
}

/* 라이트박스 */
.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: rgba(0, 0, 0, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  animation: galleryFadeIn 0.2s ease;
}

.lightbox-content {
  max-width: 90vw;
  max-height: 90vh;
  text-align: center;
}

.lightbox-content img {
  max-width: 100%;
  max-height: 85vh;
  border-radius: 8px;
  object-fit: contain;
}

.lightbox-title {
  color: rgba(255, 255, 255, 0.8);
  margin-top: 12px;
  font-size: 14px;
}