    @keyframes fadeInUp {
        from { opacity: 0; transform: translateY(30px); }
        to { opacity: 1; transform: translateY(0); }
    }
    
    @keyframes fadeIn {
        from { opacity: 0; }
        to { opacity: 1; }
    }
    
    .fade-in-up {
        animation: fadeInUp 1s ease-out forwards;
    }
    
    #splash {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: #F9F7F3;
        z-index: 9999;
        display: flex;
        align-items: center;
        justify-content: center;
        opacity: 1;
        transition: opacity 0.5s ease;
    }
    
    #splash.hide {
        opacity: 0;
        pointer-events: none;
    }
    
    #splash-logo img {
        max-width: 300px;
        max-height: 300px;
        width: auto;
        height: auto;
        animation: fadeIn 1s ease-in-out;
    }
    
    .info-window {
        padding: 8px;
        width: 120px;
        text-align: center;
    }
    
    .info-window img {
        max-width: 100%;
        height: auto;
    }
    
    #map {
        width: 100%;
        height: 400px;
        border-radius: 16px;
        overflow: hidden;
    }
    
    html {
        scroll-behavior: smooth;
    }

    /* 배경 이미지 전환 효과 추가 */
    #random-bg-container img.bg-main-image {
        opacity: 1; 
        transition: opacity 1s ease-in-out;
        display: block; 
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    /* 갤러리 썸네일 컨테이너 스타일링 */
    #gallery-thumbnails {
        display: flex;
        overflow-x: auto;
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    #gallery-thumbnails::-webkit-scrollbar {
        display: none;
    }

    .thumbnail-item {
        flex-shrink: 0;
        width: 150px;
        margin-right: 1rem;
        position: relative;
        cursor: pointer;
        transition: transform 0.3s ease;
    }

    @media (max-width: 768px) {
        .thumbnail-item {
            width: 120px;
            margin-right: 0.75rem;
        }
    }

    .thumbnail-item:hover .thumbnail-img {
        transform: translateY(calc(-100% + 150px));
    }
    
    @media (max-width: 768px) {
        .thumbnail-item:hover .thumbnail-img {
            transform: translateY(calc(-100% + 120px));
        }
    }
    
    .thumbnail-img-container {
        height: 150px;
        overflow: hidden;
        border-radius: 8px;
        box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    }

    @media (max-width: 768px) {
        .thumbnail-img-container {
            height: 120px;
        }
    }

    .thumbnail-img {
        width: 100%;
        height: auto;
        transition: transform 10s ease-in-out;
        will-change: transform;
    }

    .gallery-nav-button {
        transition: background-color 0.3s, opacity 0.3s;
    }

    .gallery-nav-button:hover:not(:disabled) {
        background-color: rgba(216, 201, 184, 0.8);
    }
    
    #main-gallery-image {
        opacity: 1;
        transition: opacity 0.5s ease-in-out; 
    }
    
    /* 배경 로고 */
    #random-bg-container {
        position: relative;
        width: 100%;
        height: calc(var(--real-vh, 1vh) * 100);
        overflow: hidden;
        background: #000;
    }

    .bg-logo {
        width: 80px !important;
        height: 80px !important;
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        z-index: 40;
        transition: all 0.3s ease;
    }

    .bg-logo.is-video-trigger {
        cursor: pointer;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
    }

    .bg-logo.is-video-trigger.show {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .bg-logo.is-video-trigger:hover {
        transform: translate(-50%, -50%) scale(1.08);
    }

    /* ===== Vimeo Fullscreen Hero Layer ===== */
    .jink-vimeo-container {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        max-width: none;
        margin: 0;
        transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 20;
        overflow: hidden;
        background: #000;
    }

    .jink-vimeo-container.jink-vimeo-closed {
        opacity: 0;
        pointer-events: none;
    }

    .jink-vimeo-container.jink-vimeo-closed .jink-vimeo-wrapper {
        visibility: hidden;
        pointer-events: none;
    }

    .jink-vimeo-wrapper {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        overflow: hidden;
        z-index: 5;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .jink-vimeo-frame {
        position: absolute;
        top: 53%;
        left: 50%;
        width: 100vw;
        height: 56.25vw; /* 16:9 */
        min-width: 177.78vh;
        min-height: calc(var(--real-vh, 1vh) * 100);
        transform: translate(-50%, -50%);
        border: none;
        border-radius: 0;
        z-index: 5;
        pointer-events: none;
    }

    /* 닫기 버튼 */
    .jink-vimeo-close-btn {
        position: absolute;
        bottom: 20px;
        left: 20px;
        width: 24px;
        height: 24px;
        background: transparent;
        border: none;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 999;
        transition: all 0.3s ease;
        font-size: 30px;
        color: white;
        text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
        border-radius: 9999px;
        backdrop-filter: blur(4px);
        -webkit-tap-highlight-color: transparent;
        pointer-events: auto;
        touch-action: manipulation;
    }

    .jink-vimeo-close-btn:hover {
        transform: scale(1.1);
        color: #dddddd;
    }

    /* 기존 로고 컨테이너는 유지하되 사용 안함 */
    .jink-vimeo-logo-container {
        display: none !important;
    }

    .jink-vimeo-logo-wrapper {
        width: 80px;
        height: 80px;
        background: #D8C9B8;
        border-radius: 50%;
        cursor: pointer;
        transition: all 0.3s ease;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .jink-vimeo-logo-wrapper:hover {
        transform: scale(1.1);
    }

    .jink-vimeo-logo-image {
        width: 70%;
        height: 70%;
        object-fit: contain;
    }

    /* 영상 클릭 막는 투명 레이어 */
    .jink-vimeo-blocker {
        position: absolute;
        inset: 0;
        z-index: 10;
        background: transparent;
        cursor: default;
        pointer-events: auto;
    }

    /* 모바일에서는 레이어 자체도 16:9 */
    @media (max-width: 768px) {
        #random-bg-container {
            height: 56.25vw;
            min-height: 56.25vw;
            max-height: 56.25vw;
        }

        .jink-vimeo-container {
            height: 56.25vw;
            min-height: 56.25vw;
            max-height: 56.25vw;
        }

        .jink-vimeo-wrapper {
            height: 56.25vw;
            min-height: 56.25vw;
            max-height: 56.25vw;
        }

        .jink-vimeo-frame {
            position: absolute;
            top: 50%;
            left: 50%;
            width: 100%;
            height: 100%;
            min-width: 0;
            min-height: 0;
            max-width: 100%;
            max-height: 100%;
            aspect-ratio: 16 / 9;
            transform: translate(-50%, -50%);
        }

        .jink-vimeo-close-btn {
            bottom: 10px;
            left: 10px;
            width: 20px;
            height: 20px;
            font-size: 18px;
            z-index: 1001;
        }

        .bg-logo {
            width: 60px !important;
            height: 60px !important;
        }
    }