/* 기본 리셋 및 전역 설정 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16"><path fill="black" stroke="white" stroke-width="1" d="M0,0 L0,12 L3,9 L5,14 L7,13 L5,8 L9,8 Z"/></svg>'), auto;
}

body {
    font-family: 'Arial', sans-serif;
    overflow-x: hidden;
    background: #ffffff;
    color: #000000;
}

/* 90년대 매킨토시 스타일 커서 */
a, button, 
[role="button"],
.clickable,
.nav-left a, .nav-right a,
.submenu a,
.logo-container,
.gallery-work-item,
.modal-nav,
.modal-close,
input[type="submit"],
input[type="button"] {
    cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20"><path fill="black" stroke="white" stroke-width="1.5" d="M2,2 L2,14 L6,10 L9,17 L11,16 L8,9 L14,9 Z"/></svg>') 2 2, pointer !important;
}

/* 폰트 설정 */
h1, h2, h3, h4, h5, h6, 
.nav-left a, .nav-right a, 
.submenu a, .menu-title {
    font-family: 'Arial Rounded MT Bold', Arial, sans-serif;
}

/* 메인 콘텐츠 래퍼 */
.main-content-wrapper {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 200px 0 60px;
    overflow-y: auto;
}

/* 비디오 배경 */
.video-background {
    position: relative;
    width: 64%;
    max-width: 960px;
    height: auto;
    aspect-ratio: 16 / 9;
    margin: 0 auto 40px;
    overflow: hidden;
    background: transparent;
}

.video-background video {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* 메인 이미지 (비디오 아래) */
.main-image-container {
    position: relative;
    width: 64%;
    max-width: 960px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.main-bottom-image {
    width: 40%; /* shrink image to ~40% of container */
    height: auto;
    object-fit: contain;
    display: block;
}

/* 클릭시 플래시 효과 오버레이 */
.flash-overlay {
    position: fixed;
    inset: 0;
    background: #ffffff; /* solid white for dissolve */
    opacity: 0;
    pointer-events: none;
    transition: opacity 300ms linear; /* linear to avoid easing 'bounce' */
    z-index: 9999;
    will-change: opacity;
}

.flash-overlay.active {
    opacity: 1;
    pointer-events: auto; /* block interaction while white */
}

/* 메인 이미지가 클릭 가능한 요소임을 표시 */
.main-bottom-image { cursor: pointer; }

/* 모바일 반응형 */
@media screen and (max-width: 768px) {
    .video-background {
        width: 72%;
        max-width: none;
    }

    .main-image-container {
        width: 72%;
    }

    .main-bottom-image {
        width: 44%; /* increase by ~10% from 40% for better mobile visibility */
    }
}

@media screen and (max-width: 480px) {
    .video-background {
        width: 76%;
    }

    .main-image-container {
        width: 76%;
    }

    .main-bottom-image {
        width: 44%; /* maintain ~10% increase for small phones */
    }
}

/* 모바일 반응형 */
@media screen and (max-width: 768px) {
    .video-background {
        width: 90%;
        max-width: none;
    }
}

@media screen and (max-width: 480px) {
    .video-background {
        width: 95%;
    }
    
    .page-content {
        padding: 70px 16px 30px;
    }
}

/* Light mode for all pages */
body.dark-mode .main-nav,
body.dark-mode .nav-left a,
body.dark-mode .nav-right a,
body.dark-mode .nav-center {
    color: #000000 !important;
}

body.dark-mode .menu-btn span,
body.dark-mode .menu-btn span::before,
body.dark-mode .menu-btn span::after {
    background: #000000 !important;
}

body.dark-mode .page-content {
    color: #000000 !important;
}

body.dark-mode .page-content h1,
body.dark-mode .page-content h2,
body.dark-mode .page-content h3,
body.dark-mode .page-content p {
    color: #000000 !important;
}

/* 메인 네비게이션 */
.main-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 30px 50px;
}

.nav-left, .nav-right {
    display: flex;
    align-items: flex-start;
}

.nav-left ul, .nav-right ul {
    list-style: none;
    display: flex;
    gap: 40px;
}

.nav-left li, .nav-right li {
    position: relative;
}

.nav-left a, .nav-right a {
    color: #000000;
    text-decoration: none;
    font-size: 18px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20"><path fill="black" stroke="white" stroke-width="1.5" d="M2,2 L2,14 L6,10 L9,17 L11,16 L8,9 L14,9 Z"/></svg>') 2 2, pointer;
}

.nav-left a:hover, .nav-right a:hover {
    opacity: 0.7;
}

/* 중앙 로고 - 항상 화면 상단 중앙 고정 */
.nav-center {
    position: fixed;
    top: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1500;
    pointer-events: none;
}

.logo-container {
    position: relative;
    cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20"><path fill="black" stroke="white" stroke-width="1.5" d="M2,2 L2,14 L6,10 L9,17 L11,16 L8,9 L14,9 Z"/></svg>') 2 2, pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 12px 20px;
    border-radius: 16px;
    background: transparent;
    border: none;
    box-shadow: none;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: auto;
}

.logo-container:hover {
    transform: scale(1.05) translateY(-2px);
    background: transparent;
    border: none;
    box-shadow: none;
}

/* 로고 이미지 */
.logo-image {
    height: 66px;
    width: auto;
    max-width: 220px;
    filter: none;
    transition: all 0.4s ease;
    display: block;
}

.logo-container:hover .logo-image {
    filter: none;
}

/* 이미지 로드 실패 시 폴백 텍스트 */
.logo-fallback {
    display: none;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.95);
    font-size: 16px;
    font-family: 'Arial', sans-serif;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    transition: all 0.4s ease;
}

/* 이미지 로드 실패 시 폴백 표시 */
.logo-image:not([src]), 
.logo-image[src=""], 
.logo-container.image-error .logo-image {
    display: none;
}

.logo-image:not([src]) + .logo-fallback,
.logo-image[src=""] + .logo-fallback,
.logo-container.image-error .logo-fallback {
    display: flex;
}

/* 서브메뉴 숨김 (기본) */
.submenu {
    display: none;
}

/* 서브메뉴 오버레이 */
.submenu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.95);
    z-index: 2000;
    display: none;
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.submenu-overlay.active {
    display: flex;
    opacity: 1;
    align-items: center;
    justify-content: center;
}

.submenu-content {
    text-align: center;
    color: #000000;
}

.submenu-content h2 {
    font-size: 48px;
    margin-bottom: 50px;
    text-transform: capitalize;
    letter-spacing: 2px;
    font-family: "AppleMyungjo", "Apple 명조", serif;
    font-weight: 400;
}

.submenu-content ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.submenu-content li a {
    color: #000000;
    text-decoration: none;
    font-size: 32px;
    text-transform: capitalize;
    letter-spacing: 1px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: block;
    padding: 20px 40px;
    border-radius: 16px;
    background: transparent;
    border: 1px solid rgba(0, 0, 0, 0.1);
    font-family: "AppleMyungjo", "Apple 명조", serif;
    font-weight: 400;
}

.submenu-content li a:hover {
    color: #000000;
    background: rgba(0, 0, 0, 0.05);
    border-color: rgba(0, 0, 0, 0.2);
    transform: scale(1.03) translateY(-2px);
}

/* 페이지 컨테이너 */
.page-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 500;
    background: #ffffff;
    opacity: 0;
    visibility: hidden;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
}

.page-container.active {
    opacity: 1;
    visibility: visible;
}

.page-content {
    padding: 120px 50px 50px;
    color: #000000;
    min-height: 100vh;
}

.page-content h1 {
    font-size: 64px;
    text-transform: uppercase;
    letter-spacing: 4px;
    margin-bottom: 50px;
    text-align: center;
}

.page-content h2 {
    font-size: 36px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin: 40px 0 20px;
}

.page-content p {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 20px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* About 페이지 푸터 */
.page-footer {
    text-align: center;
    height: 1.5cm;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-footer p {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 1px;
    margin: 0;
}

/* 로딩 오버레이 */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    z-index: 3000;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
}

.loading-overlay.active {
    display: flex;
    opacity: 1;
}

.loading-content {
    color: #000000;
    font-size: 24px;
    text-transform: uppercase;
    letter-spacing: 2px;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { opacity: 0.5; }
    50% { opacity: 1; }
    100% { opacity: 0.5; }
}

/* 페이드 전환 효과 */
.fade-transition {
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* 반응형 디자인 */
@media (max-width: 1200px) {
    .main-nav {
        padding: 20px 30px;
    }
    
    .nav-left ul, .nav-right ul {
        gap: 20px;
    }
    
    .nav-left a, .nav-right a {
        font-size: 16px;
    }
    
    .logo-container {
        padding: 10px 16px;
        border-radius: 14px;
    }
    
    .logo-image {
        height: 50px;
        max-width: 160px;
    }
    
    .logo-fallback {
        font-size: 14px;
    }
    
    .page-content h1 {
        font-size: 48px;
    }
    
    .submenu-content h2 {
        font-size: 36px;
    }
    
    .submenu-content li a {
        font-size: 24px;
        padding: 15px 30px;
        border-radius: 14px;
    }
}

@media (max-width: 900px) {
    .main-nav {
        padding: 15px 20px;
    }
    
    .nav-left ul, .nav-right ul {
        gap: 15px;
    }
    
    .nav-left a, .nav-right a {
        font-size: 14px;
    }
    
    .nav-center {
        top: 15px;
    }
    
    .logo-container {
        padding: 8px 14px;
        border-radius: 12px;
    }
    
    .logo-image {
        height: 45px;
        max-width: 140px;
    }
    
    .logo-fallback {
        font-size: 13px;
    }
}

@media (max-width: 768px) {
    .main-nav {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-start;
        padding: 15px 15px;
    }
    
    .nav-center {
        position: absolute;
        top: 15px;
        left: 50%;
        transform: translateX(-50%);
    }
    
    .logo-container {
        padding: 6px 12px;
        border-radius: 10px;
    }
    
    .logo-image {
        height: 40px;
        max-width: 120px;
    }
    
    .logo-fallback {
        font-size: 12px;
    }
    
    .nav-left, .nav-right {
        display: flex;
        align-items: flex-start;
    }
    
    .nav-left ul, .nav-right ul {
        gap: 10px;
    }
    
    .nav-left a, .nav-right a {
        font-size: 12px;
    }
    
    .page-content {
        padding: 90px 20px 30px;
    }
    
    .page-content h1 {
        font-size: 36px;
        letter-spacing: 2px;
    }
    
    .submenu-content h2 {
        font-size: 28px;
        margin-bottom: 30px;
    }
    
    .submenu-content li a {
        font-size: 20px;
        padding: 12px 24px;
        border-radius: 12px;
    }
    
    .submenu-content li a:hover {
        transform: scale(1.02) translateY(-1px);
        box-shadow: 
            0 8px 25px rgba(100, 150, 255, 0.12),
            0 4px 12px rgba(0, 0, 0, 0.08),
            inset 0 1px 0 rgba(255, 255, 255, 0.2),
            0 0 16px rgba(100, 150, 255, 0.08);
    }
}



/* 스크롤바 커스터마이징 */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.1);
}

::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.5);
}

/* About 페이지 전용 스타일 */
.about-page .page-content {
    max-width: none;
    padding: 0;
}

.about-container {
    width: 90%;
    max-width: 1365px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 40px 0 60px;
}

.about-image-section {
    width: 100%;
    max-width: 1365px;
    margin-bottom: 0px;
}

.about-text-section {
    width: 100%;
    text-align: center;
    margin-top: 0;
}

/* 로고 섹션 전용 스타일 - Updated Dec 2 */
.about-container:last-of-type {
    padding: 40px 0 60px !important;
    width: 40% !important;
    max-width: 600px !important;
}

.about-container:last-of-type .about-image-section {
    max-width: 140px !important;
    margin-bottom: 0px;
}

.about-container:last-of-type .logo-placeholder {
    max-width: 140px !important;
}

.about-container:last-of-type .about-logo-image {
    max-width: none !important;
    width: 42% !important;
}

.image-placeholder {
    width: 100%;
    max-width: 1365px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-placeholder {
    width: 100%;
    max-width: 1365px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* About 페이지 이미지 스타일 */
.about-image {
    width: 100% !important;
    max-width: 1365px !important;
    height: auto;
    object-fit: contain;
    object-position: center;
    display: block;
}

.about-page .about-image {
    width: 100% !important;
    max-width: 1365px !important;
    height: auto !important;
}

.about-page .about-container .about-image {
    width: 100% !important;
    max-width: 1365px !important;
    min-width: 840px !important;
}

.about-logo-image {
    width: 42%;
    height: auto;
    object-fit: contain;
    object-position: center;
    display: block;
}

.helvetica-text {
    font-family: "Arial", sans-serif;
}

/* About 페이지 텍스트 스타일 */
.about-text-section {
    color: #000000 !important;
}

.about-text-section h1,
.about-text-section h2 {
    font-family: "Arial", sans-serif;
    color: #000000 !important;
}

.about-text-section h1 {
    margin-top: 0;
    margin-bottom: 30px;
    font-size: 36px;
}

.about-text-section h2 {
    margin-top: 35px;
    margin-bottom: 15px;
    font-size: 22px;
}

.about-text-section p {
    margin-bottom: 20px;
    font-size: 15px;
    color: #000000 !important;
    line-height: 1.7;
    max-width: none;
    margin-left: auto;
    margin-right: auto;
}

/* Identity 타이틀 스타일 */
.identity-title {
    font-family: "Arial", sans-serif;
    font-size: 23px !important;
    font-weight: bold !important;
}

/* 각주 스타일 */
.footnote-text {
    font-size: 12.8px !important;
    line-height: 1.6 !important;
    opacity: 0.85;
}

/* 반응형 디자인 */
@media (max-width: 1200px) {
    .about-container {
        width: 70%;
        gap: 35px;
    }
}

@media (max-width: 900px) {
    .about-container {
        width: 80%;
        flex-direction: column;
        gap: 40px;
    }
    
    .about-image-section {
        max-width: 400px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .about-container {
        width: 90%;
        padding: 0px 20px 40px;
        flex-direction: column;
    }
    
    .about-image-section {
        max-width: 350px;
        margin: 0 auto 30px;
    }
    
    .about-text-section {
        width: 100% !important;
        max-width: 100% !important;
        text-align: center;
    }
    
    .about-text-section h1 {
        font-size: 32px;
    }
    
    .about-text-section h2 {
        font-size: 22px;
        margin-top: 25px;
    }
    
    .about-text-section p {
        font-size: 15px;
        line-height: 1.8;
        text-align: center;
        width: 100% !important;
        max-width: 100% !important;
    }
    
    .identity-title {
        font-size: 20px !important;
    }
    
    .footnote-text {
        font-size: 12px !important;
        line-height: 1.7 !important;
    }
}

@media (max-width: 480px) {
    .about-container {
        width: 100%;
        padding: 0px 20px 30px;
    }
    
    .about-image-section {
        max-width: 280px;
        margin: 0 auto 25px;
    }
    
    .about-text-section {
        width: 100% !important;
        max-width: 100% !important;
    }
    
    .about-text-section h1 {
        font-size: 28px;
        margin-bottom: 20px;
    }
    
    .about-text-section h2 {
        font-size: 20px;
        margin-top: 20px;
        margin-bottom: 12px;
    }
    
    .about-text-section p {
        font-size: 14px;
        line-height: 1.8;
        margin-bottom: 15px;
        width: 100% !important;
        max-width: 100% !important;
    }
    
    .identity-title {
        font-size: 18px !important;
    }
    
    .footnote-text {
        font-size: 11px !important;
        line-height: 1.6 !important;
    }
}

/* Visual Art 갤러리 페이지 스타일 */
.visual-art-page {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 120px 40px 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    position: relative;
    background: #ffffff;
}

@media (max-width: 768px) {
    .visual-art-page {
        padding: 100px 20px 40px;
    }
}

.visual-art-page h1 {
    font-size: 64px;
    text-align: center;
    margin-bottom: 20px;
}

.page-intro {
    text-align: center;
    font-size: 18px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 80px;
    font-family: "Arial", sans-serif;
}

.gallery-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 50px;
    width: 100%;
}

.gallery-item {
    position: relative;
    cursor: pointer;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    max-width: 400px;
}

.gallery-item:hover {
    transform: translateY(-10px);
}

.gallery-image {
    position: relative;
    aspect-ratio: 4/5;
    border-radius: 20px;
    overflow: hidden;
    background: linear-gradient(
        135deg,
        rgba(100, 150, 255, 0.08) 0%,
        rgba(120, 180, 255, 0.05) 50%,
        rgba(140, 200, 255, 0.02) 100%
    );
    backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 
        0 20px 60px rgba(100, 150, 255, 0.15),
        0 8px 24px rgba(0, 0, 0, 0.2);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-item:hover .gallery-image {
    box-shadow: 
        0 30px 80px rgba(100, 150, 255, 0.25),
        0 12px 36px rgba(0, 0, 0, 0.3),
        0 0 40px rgba(100, 150, 255, 0.1);
}

.series-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* 새로운 간단한 갤러리 그리드 */
.gallery-grid-simple {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 50px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 60px;
    grid-template-areas: "left center right";
    align-items: center;
    justify-items: center;
}

.gallery-item-simple {
    position: relative;
    width: 100%;
    max-width: 400px;
    aspect-ratio: 4 / 5;
    cursor: pointer;
    overflow: hidden;
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.1);
}

.gallery-item-simple:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.gallery-item-simple img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
}

.gallery-center {
    grid-area: center;
}

.gallery-left {
    grid-area: left;
}

.gallery-right {
    grid-area: right;
}

/* 모바일: 세로 배치 (중앙 → 왼쪽 → 오른쪽) */
@media (max-width: 768px) {
    .gallery-grid-simple {
        grid-template-columns: 1fr;
        grid-template-areas: 
            "center"
            "left"
            "right";
        gap: 40px;
        padding: 0 20px;
        width: 100%;
    }
    
    .gallery-item-simple {
        max-width: 100%;
        width: 100%;
    }
}

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

.gallery-item:nth-child(2) .series-image {
    transform: scale(0.9);
}

.gallery-item:nth-child(2):hover .series-image {
    transform: translateY(-45px) scale(0.8);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(25px) saturate(200%);
    padding: 30px 25px;
    transform: translateY(100%);
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

/* 모바일 갤러리 오버레이 활성화 */
.gallery-overlay.active {
    transform: translateY(0);
}

.overlay-content h3 {
    color: #000000;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 12px;
    font-family: "Arial", sans-serif;
    text-shadow: none;
}

.overlay-content p {
    color: rgba(0, 0, 0, 0.8);
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
    font-family: "Arial", sans-serif;
}

/* 반응형 디자인 */
@media (max-width: 1200px) {
    .gallery-grid {
        gap: 40px;
    }
    
    .visual-art-page {
        padding: 50px 30px;
    }
}

@media (max-width: 900px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 35px;
    }
    
    .visual-art-page h1 {
        font-size: 48px;
    }
}

@media (max-width: 600px) {
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .visual-art-page {
        padding: 40px 20px;
    }
    
    .visual-art-page h1 {
        font-size: 36px;
    }
    
    .overlay-content h3 {
        font-size: 20px;
    }
    
    .gallery-overlay {
        padding: 25px 20px;
    }
}

/* Visual Art Footer */
.visual-art-footer {
    position: fixed;
    bottom: 20px;
    left: 0;
    right: 0;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.visual-art-footer p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 12px;
    font-family: "Arial", sans-serif;
    font-weight: 500;
    letter-spacing: 1px;
    margin: 0;
    text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.8);
}

/* ========================================
   갤러리 상세 페이지 스타일
======================================== */

/* 갤러리 헤더 */
.gallery-detail-page {
    padding-top: 140px !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
}

.gallery-header {
    text-align: center;
    margin-bottom: 30px;
    padding: 0 20px;
    width: 100%;
}

/* 갤러리 설명 */
.gallery-description {
    max-width: none !important;
    width: 100% !important;
    max-height: 200px;
    margin: 0 auto 50px auto;
    padding: 20px 80px !important;
    color: rgba(255, 255, 255, 0.9);
    line-height: 2;
    overflow-y: auto;
    overflow-x: hidden;
}

/* 스크롤바 스타일링 */
.gallery-description::-webkit-scrollbar {
    width: 8px;
}

.gallery-description::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

.gallery-description::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 4px;
}

.gallery-description::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.5);
}

.gallery-description .description-kr {
    font-family: 'Arial', sans-serif;
    font-size: 1rem;
    margin-bottom: 40px;
    text-align: left;
    max-width: none !important;
    width: 100% !important;
}

.gallery-description .description-en {
    font-family: 'Arial', sans-serif;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
    text-align: left;
    max-width: none !important;
    width: 100% !important;
}

.gallery-title-image {
    max-height: 80px;
    margin-bottom: 20px;
    object-fit: contain;
}

/* 슬라이드쇼 Play 버튼 */
.slideshow-play-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 32px;
    margin: 20px auto;
    background: transparent;
    border: 2px solid rgba(0, 0, 0, 0.3);
    border-radius: 50px;
    color: #000000;
    font-size: 1.1rem;
    font-family: 'Arial', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: none;
}

.slideshow-play-btn:hover {
    background: linear-gradient(
        135deg,
        rgba(100, 150, 255, 0.3) 0%,
        rgba(120, 180, 255, 0.25) 50%,
        rgba(140, 200, 255, 0.2) 100%
    );
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
    box-shadow: 
        0 12px 48px rgba(100, 150, 255, 0.25),
        0 4px 16px rgba(0, 0, 0, 0.15);
}

.slideshow-play-btn .play-icon {
    width: 24px;
    height: 24px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

/* 슬라이드쇼 컨테이너 */
.slideshow-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.98);
    z-index: 4000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    opacity: 1;
    transition: opacity 0.6s ease-in-out;
}

.slideshow-content {
    max-width: 1000px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    opacity: 1;
    transition: opacity 0.6s ease-in-out;
}

.slideshow-image {
    width: 100%;
    max-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slideshow-image img {
    max-width: 100%;
    max-height: 60vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.slideshow-text {
    text-align: center;
    color: white;
    max-width: 700px;
}

.slideshow-text h2 {
    font-size: 2rem;
    margin-bottom: 15px;
    font-family: 'Arial', sans-serif;
}

.slideshow-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: rgba(0, 0, 0, 0.9);
    font-family: "Arial", sans-serif;
}

/* 슬라이드쇼 진행바 */
.slideshow-progress-container {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: rgba(255, 255, 255, 0.2);
    cursor: pointer;
    z-index: 4001;
    transition: height 0.2s ease;
}

.slideshow-progress-container:hover {
    height: 6px;
}

.slideshow-progress-bar {
    height: 100%;
    background: rgba(255, 255, 255, 0.9);
    width: 0%;
    transition: width 0.1s linear;
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.3);
}

.slideshow-close-btn {
    position: fixed;
    top: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 4001;
}

.slideshow-close-btn:hover {
    background: rgba(0, 0, 0, 0.2);
    border-color: rgba(0, 0, 0, 0.5);
    transform: rotate(90deg);
}

/* 모바일 슬라이드쇼 */
@media (max-width: 768px) {
    .gallery-detail-page {
        padding-top: 80px !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    
    .gallery-header {
        padding: 0 20px;
    }
    
    .gallery-description {
        max-height: 180px !important;
        padding: 15px 20px !important;
    }
    
    .gallery-works-grid {
        width: 100vw !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding: 0 !important;
    }
    
    .slideshow-container {
        padding: 20px;
    }
    
    .slideshow-image {
        max-height: 50vh;
    }
    
    .slideshow-image img {
        max-height: 50vh;
    }
    
    .slideshow-text h2 {
        font-size: 1.5rem;
    }
    
    .slideshow-text p {
        font-size: 1rem;
    }
    
    .slideshow-close-btn {
        top: 20px;
        right: 20px;
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
    }
    
    .slideshow-play-btn {
        padding: 12px 24px;
        font-size: 1rem;
    }
}

/* 메인 갤러리 타이틀 이미지 (5:2 비율) */
.gallery-title-image-main {
    width: 100%;
    max-width: 600px;
    height: auto;
    aspect-ratio: 5 / 2;
    object-fit: contain;
    margin: 0 auto 10px;
    display: block;
}

.gallery-title-text {
    font-size: 2.5rem;
    color: white;
    margin-bottom: 20px;
    font-family: 'Arial', sans-serif;
}

.gallery-description {
    font-size: 1.1rem;
    color: rgba(0, 0, 0, 0.8);
    max-width: 700px;
    margin: 0 auto 30px;
    line-height: 1.7;
    font-family: "Arial", sans-serif;
}

/* 갤러리 작품 그리드 (정방형, 완벽한 비율 유지) */
.gallery-works-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    width: 100vw !important;
    max-width: 100vw !important;
    padding: 0 !important;
    margin: 0 !important;
    margin-left: calc(-50vw + 50%) !important;
    margin-right: calc(-50vw + 50%) !important;
}

/* 반응형 그리드 - 모든 디바이스에 맞춤 */
@media (max-width: 480px) {
    /* 스마트폰: 3열 */
    .gallery-works-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 0;
        width: 100vw !important;
    }
}

@media (min-width: 481px) and (max-width: 768px) {
    /* 큰 스마트폰/작은 태블릿: 3열 */
    .gallery-works-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 0;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    /* 태블릿/iPad: 3열 */
    .gallery-works-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 0;
    }
}

@media (min-width: 1025px) {
    /* 데스크톱: 3열 */
    .gallery-works-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 0;
    }
}

.gallery-work-item {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.gallery-work-item:hover {
    opacity: 0.8;
}

.gallery-work-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Blur-up 로딩 효과 */
.blur-load {
    filter: blur(20px);
    transition: filter 0.4s ease-out;
}

.blur-load.loaded {
    filter: blur(0);
}

/* 작품 상세 모달 */
.work-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.95);
    z-index: 3000;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    padding: 100px 40px 60px;
    overflow-y: auto;
    overflow-x: hidden;
}

.work-modal.active {
    opacity: 1;
}

.modal-close {
    position: fixed;
    top: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: rgba(0, 0, 0, 0.1);
    border: 2px solid rgba(0, 0, 0, 0.3);
    border-radius: 50%;
    color: #000000;
    font-size: 2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 3001;
}

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

/* 모달 네비게이션 화살표 */
.modal-nav {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(0, 0, 0, 0.15);
    border: 2px solid rgba(0, 0, 0, 0.3);
    border-radius: 50%;
    color: #000000;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 3001;
    opacity: 0.7;
}

.modal-nav:hover {
    background: rgba(0, 0, 0, 0.25);
    border-color: rgba(0, 0, 0, 0.5);
    opacity: 1;
    transform: translateY(-50%) scale(1.1);
}

.modal-prev {
    left: 20px;
}

.modal-next {
    right: 20px;
}

.modal-nav svg {
    width: 24px;
    height: 24px;
}

.work-modal-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 800px;
    width: 100%;
    align-items: center;
    padding: 0 20px 40px;
    margin-top: 0;
}

.work-main-image {
    width: 100%;
    max-width: 700px;
    margin-top: 0;
}

.work-main-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
    display: block;
}

.work-description {
    color: #000000;
    padding: 20px 0;
    text-align: center;
    width: 100%;
}

.work-description h2 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    font-family: 'Arial', sans-serif;
}

.work-description p {
    font-size: 1rem;
    line-height: 1.8;
    color: rgba(0, 0, 0, 0.85);
    font-family: "Arial", sans-serif;
}

.work-supplement-image {
    width: 100%;
    max-width: 500px;
}

.work-supplement-image img {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
}

/* ========================================
   모바일 반응형 스타일
======================================== */

/* 햄버거 메뉴 버튼 */
.mobile-menu-toggle {
    display: none;
    position: fixed;
    top: 30px;
    left: 30px;
    z-index: 2000;
    width: 40px;
    height: 40px;
    background: transparent;
    border: none;
    cursor: pointer;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
    padding: 0;
}

.mobile-menu-toggle span {
    display: block;
    width: 28px;
    height: 3px;
    background: #000000;
    transition: all 0.3s ease;
    border-radius: 2px;
}

/* 흰색 모드 (페이지 접속 시) */
body.white-mode .mobile-menu-toggle span {
    background: #000000;
}

body.white-mode .nav-left a,
body.white-mode .nav-right a {
    color: #000000;
}

body.white-mode .logo-container {
    background: transparent;
    border: none;
}

body.white-mode .logo-fallback {
    color: #000000;
}

body.white-mode .page-container {
    color: #000000;
    background: #ffffff;
}

body.white-mode .page-container h1,
body.white-mode .page-container h2,
body.white-mode .page-container h3,
body.white-mode .page-container h4,
body.white-mode .page-container h5,
body.white-mode .page-container h6,
body.white-mode .page-container p,
body.white-mode .page-container li {
    color: #000000;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* 모바일 미디어 쿼리 */
@media (max-width: 768px) {
    /* 모바일 비디오 배경 - 화면 전체 덮기 */
    .video-background video {
        object-fit: cover;
        min-width: 100%;
        min-height: 100%;
        width: auto;
        height: auto;
    }

    /* 햄버거 버튼 표시 */
    .mobile-menu-toggle {
        display: flex;
    }

    /* 메인 네비게이션 숨김 (기본) */
    .main-nav {
        position: fixed;
        top: 0;
        left: -100%;
        width: auto;
        max-width: fit-content;
        height: 100vh;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        padding: 100px 30px 30px;
        transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        overflow-y: auto;
    }

    .main-nav.active {
        left: 0;
    }

    /* 좌우 메뉴 세로 배치 */
    .nav-left, .nav-right {
        flex-direction: column;
        width: 100%;
        margin-bottom: 40px;
    }

    .nav-left ul, .nav-right ul {
        flex-direction: column;
        gap: 20px;
        width: 100%;
    }

    .nav-left a, .nav-right a {
        font-size: 20px;
        display: block;
    }

    /* 모바일에서 로고 크기 조정 */
    .nav-center {
        top: 20px;
    }

    .logo-image {
        height: 38.5px; /* 35px의 110% */
    }

    .logo-fallback {
        font-size: 19.8px; /* 18px의 110% */
    }

    /* 페이지 컨테이너 모바일 최적화 */
    .page-container {
        padding: 100px 20px 60px;
    }

    /* About 페이지 모바일 최적화 */
    .about-container {
        width: 95% !important;
        max-width: 100% !important;
        padding: 60px 10px 40px !important;
    }

    .about-container .about-image-section {
        width: 100% !important;
        max-width: 100% !important;
        margin-bottom: 0px !important;
    }

    .image-placeholder {
        width: 100% !important;
        max-width: 100% !important;
    }

    .about-image {
        width: 95vw !important;
        max-width: 95vw !important;
        height: auto !important;
    }

    .about-page .about-image {
        width: 95vw !important;
        max-width: 95vw !important;
        height: auto !important;
    }

    .about-page .about-container .about-image {
        width: 95vw !important;
        max-width: 95vw !important;
        min-width: auto !important;
        height: auto !important;
    }

    /* Visual Art 갤러리 모바일 최적화 */
    .gallery-section {
        padding: 30px 0;
    }

    .gallery-section h2 {
        font-size: 22px;
        margin-bottom: 20px;
    }

    .gallery-grid {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        gap: 40px;
        padding: 20px;
    }

    .gallery-item {
        width: 85%;
        max-width: 450px;
        height: auto;
        margin: 0;
    }

    .gallery-image {
        width: 100%;
        padding-bottom: 100%;
        position: relative;
        overflow: hidden;
    }

    .series-image {
        position: absolute;
        top: 5%;
        left: 5%;
        width: 90%;
        height: 90%;
        object-fit: cover;
        border-radius: 8px;
    }

    .gallery-overlay {
        padding: 20px;
    }

    .overlay-content h3 {
        font-size: 1.2rem;
        margin-bottom: 8px;
    }

    .overlay-content p {
        font-size: 0.85rem;
        line-height: 1.4;
    }

    /* 갤러리 상세 페이지 모바일 최적화 */
    .gallery-detail-page {
        padding-top: 80px !important;
    }

    .gallery-header {
        margin-bottom: 25px;
        padding: 0 20px;
    }

    .gallery-description {
        padding: 15px 20px !important;
        margin-bottom: 40px;
        max-height: 180px;
        width: 100% !important;
    }

    .gallery-description .description-kr {
        font-size: 0.9rem;
        margin-bottom: 30px;
        line-height: 1.7;
        width: 100% !important;
    }

    .gallery-description .description-en {
        font-size: 0.85rem;
        line-height: 1.7;
        width: 100% !important;
    }

    .gallery-title-image {
        max-height: 50px;
        margin-bottom: 15px;
    }

    .gallery-title-text {
        font-size: 1.8rem;
        margin-bottom: 15px;
    }

    .gallery-description {
        font-size: 0.95rem;
        line-height: 1.6;
    }

    .gallery-works-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 0;
        padding: 0;
        width: 100%;
        max-width: 100vw;
    }

    .gallery-work-item {
        width: 100%;
        aspect-ratio: 1 / 1;
    }

    /* 작품 모달 모바일 최적화 */
    .work-modal {
        padding: 90px 15px 50px;
    }

    .modal-close {
        top: 20px;
        right: 20px;
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
    }

    .modal-nav {
        width: 40px;
        height: 40px;
        opacity: 0.8;
    }

    .modal-prev {
        left: 10px;
    }

    .modal-next {
        right: 10px;
    }

    .modal-nav svg {
        width: 20px;
        height: 20px;
    }

    .work-modal-content {
        max-width: 100%;
        padding: 0 15px 30px;
        gap: 15px;
    }

    .work-main-image {
        max-width: 100%;
    }

    .work-description h2 {
        font-size: 1.5rem;
        margin-bottom: 10px;
    }

    .work-description p {
        font-size: 0.95rem;
        line-height: 1.6;
    }

    .work-supplement-image {
        max-width: 100%;
    }

    /* 서브메뉴 오버레이 모바일 최적화 */
    .submenu-overlay {
        padding: 100px 20px 60px;
    }

    .submenu-content ul {
        gap: 15px;
    }

    .submenu-content a {
        font-size: 18px;
    }

    /* 비디오 배경 모바일 최적화 */
    .video-background video {
        object-fit: cover;
        width: 100%;
        height: 100%;
    }
}

/* 태블릿 사이즈 */
@media (min-width: 769px) and (max-width: 1024px) {
    .main-nav {
        padding: 25px 30px;
    }

    .nav-left ul, .nav-right ul {
        gap: 25px;
    }

    .nav-left a, .nav-right a {
        font-size: 16px;
    }

    .about-container {
        width: 75%;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

/* ========================================
   Artist Page - Trump Card Style
   ======================================== */

.artist-page {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 150px 40px 80px;
}

.artist-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 320px));
    gap: 40px;
    justify-content: center;
    max-width: 1400px;
    width: 100%;

}


.artist-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.artist-name {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Caslon Antique', serif;
    font-weight: normal;
    font-size: 72px;
    color: #000000;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.artist-card:hover .artist-name {
    opacity: 1;
}

/* 모바일 대응 */
@media (max-width: 768px) {
    .artist-page {
        padding: 120px 20px 60px;
    }
    
    .artist-grid {
        grid-template-columns: repeat(auto-fit, minmax(220px, 260px));
        gap: 30px;
    }
    
    .artist-name {
        font-size: 60px;
        padding: 15px;
    }
}

@media (max-width: 480px) {
    .artist-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .artist-card {
        border-radius: 6px;
    }
    
    .artist-name {
        font-size: 48px;
        padding: 10px;
    }

/* ==========================================
   MOVIE PAGE
========================================== */

.movie-page {
    width: 100%;
    min-height: 100vh;

    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;

    align-items: start;

    padding: 140px 80px 80px;
    box-sizing: border-box;

    background-image: url('assets/images/movie-background.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    font-family: 'Gowun Batang', serif;
}

.movie-video {
    width: 100%;
}

.movie-video iframe {
    width: 100%;
    aspect-ratio: 16 / 9;

    display: block;
    border: 0;

    border-radius: 12px;
    overflow: hidden;

    box-shadow: 0 10px 30px rgba(0,0,0,.15);
}

.movie-info {
    background: rgba(255,255,255,.92);

    padding: 28px;
    border-radius: 12px;

    box-sizing: border-box;
}

.movie-info h1 {
    margin: 0 0 18px;

    font-family: 'STIX Two Text', serif;
    font-size: 2rem;
    line-height: 1.2;
}

.movie-info p {
    margin: 0;

    font-size: 1rem;
    line-height: 1.9;

    word-break: keep-all;
}

/* ==========================================
   TABLET
========================================== */

@media (max-width: 1024px) {

    .movie-page {
        gap: 40px;
        padding: 120px 40px 60px;
    }

}

/* ==========================================
   MOBILE
========================================== */

@media (max-width: 768px) {

    .movie-page {
        display: flex;
        flex-direction: column;

        padding: 100px 20px 40px;
        gap: 24px;
    }

    .movie-video,
    .movie-info {
        width: 100%;
    }

    .movie-info {
        padding: 20px;
    }

    .movie-info h1 {
        font-size: 1.5rem;
        margin-bottom: 12px;
    }

    .movie-info p {
        font-size: 0.95rem;
        line-height: 1.8;
    }

}

/}

/* ==========================================
   SMALL MOBILE
========================================== */

@media (max-width: 480px) {

    .movie-page {
        padding: 90px 16px 30px;
    }

    .movie-info {
        padding: 18px;
    }

    .movie-info h1 {
        font-size: 1.3rem;
    }

}

/* ========================================
   Collage Art 서브탭
======================================== */

.collage-tab-nav {
    display: flex;
    justify-content: center;
    margin: 30px auto 50px;
    width: fit-content;
    border: 2px solid #000000;
    border-radius: 4px;
    overflow: hidden;
}

.collage-tab-btn {
    background: #000000;
    color: #ffffff;
    font-family: 'Gowun Batang', serif;
    font-size: 1rem;
    padding: 12px 28px;
    border: none;
    border-right: 1px solid rgba(255,255,255,0.25);
    cursor: pointer;
    letter-spacing: 0.5px;
    outline: none;
    box-shadow: inset 0 -3px 0 rgba(255,255,255,0.1);
    transition: background 0.15s ease;
}

.collage-tab-btn:last-child {
    border-right: none;
}

.collage-tab-btn:hover {
    background: #222222;
}

.collage-tab-btn:active {
    box-shadow: inset 0 3px 6px rgba(0,0,0,0.5);
    transform: translateY(1px);
}

.collage-tab-btn.active {
    background: #111111;
    box-shadow: inset 0 3px 8px rgba(0,0,0,0.6);
    transform: translateY(1px);
}

.collage-tab-panel {
    display: none !important;
    width: 100%;
    max-width: 960px;
    margin: 0 auto;
    padding: 0 24px 60px;
    font-family: 'Gowun Batang', serif;
}

.collage-tab-panel.active {
    display: block !important;
}

.perspective-row {
    display: flex;
    gap: 40px;
    align-items: center;
    margin-bottom: 60px;
}

.perspective-row.reverse {
    flex-direction: row-reverse;
}

.perspective-row .text-block,
.perspective-row .img-block {
    flex: 1;
}

.perspective-row .img-block img {
    width: 100%;
    height: auto;
    display: block;
}

.perspective-row .text-block p {
    font-family: 'Gowun Batang', serif;
    font-size: 0.95rem;
    line-height: 1.5;
    color: #000000;
    margin: 0;
}

.perspective-text-center {
    margin-bottom: 60px;
    text-align: center;
}

.perspective-text-center p {
    font-family: 'Gowun Batang', serif;
    font-size: 0.95rem;
    line-height: 1.5;
    color: #000000;
}

.perspective-img-row {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 60px;
    width: 100%;
}

.perspective-img-row img {
    width: calc(100% - 12px);
    height: auto;
    object-fit: cover;
    display: block;
    flex-shrink: 0;
}

.synopsis-block {
    margin-bottom: 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}


@media (max-width: 768px) {
    .synopsis-block p {
        text-align: justify;
        text-align-last: left;
    }
}
.synopsis-block img {
    width: 100%;
    height: auto;
    display: block;
    margin-bottom: 30px;
}

.synopsis-block p {
    font-family: 'Gowun Batang', serif;
    font-size: 0.95rem;
    line-height: 1.5;
    color: #000000;
    white-space: normal
    word-break: keep-all
}

.original-story-text {
    margin-bottom: 40px;
    padding: 0 24px;
}

.original-story-text p {
    font-family: 'Gowun Batang', serif;
    font-size: 0.95rem;
    line-height: 1.9;
    color: #000000;
    white-space: pre-line;
}

@media (max-width: 768px) {
    .gallery-detail-page {
        padding-top: 60px !important;
    }

    .collage-tab-nav {
        margin: 20px auto 36px;
    }

    .collage-tab-btn {
        font-size: 0.82rem;
        padding: 10px 14px;
    }

    .perspective-row,
    .perspective-row.reverse {
        flex-direction: column;
        gap: 24px;
    }

    .perspective-img-row {
        flex-direction: column;
    }

    .perspective-img-row img {
        width: 100%;
        flex: none;
    }
}
