         /* ======================================== */
         /* ======== 페이지 전환 애니메이션용 ==========  */
         /* ======================================== */

/* 전역 설정 보정 */
html, body {
    margin: 0;
    padding: 0;
    width: 100vw !important;
    height: 100% !important; /* vh 대신 % 사용으로 안정성 확보 */
    overflow-x: hidden !important;
    /* overflow: hidden !important; <- 이 줄을 삭제하거나 주석 처리하세요 */
    background-color: #ffffff !important;
}

/* 실제 콘텐츠 컨테이너: 세로 스크롤을 직접 제어 */
#page-container {
    position: relative;
    width: 100%;
    height: 100vh; /* 화면 높이에 고정 */
    overflow-y: scroll !important; /* 항상 스크롤 가능하게 강제 */
    -webkit-overflow-scrolling: touch; /* iOS 모바일 부드러운 스크롤 */
    display: flex;
    flex-direction: column;
}

/* 다음 페이지 프레임 */
#next-page-frame {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    border: none;
    z-index: 999999;
    background-color: #ffffff;
    box-shadow: 0 0 30px rgba(0,0,0,0.2);
    display: none;
    will-change: transform;
}



