   * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        body {
            background-color: #000;
            color: white;
            font-family: Arial, sans-serif;
            overflow-x: hidden;
            height: 100vh;
            overflow-y: auto;
        }
        ::-webkit-scrollbar {
            width: 2px;
        }
        ::-webkit-scrollbar-track {
            background: rgba(255, 255, 255, 0.05);
        }
        ::-webkit-scrollbar-thumb {
            background: rgba(255, 255, 255, 0.2);
            border-radius: 1px;
        }
        ::-webkit-scrollbar-thumb:hover {
            background: rgba(255, 255, 255, 0.4);
        }
        .container {
            position: relative;
            height: 1000vh;
        }
        .image-container {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            display: flex;
            justify-content: center;
            align-items: center;
            z-index: 10;
        }
        .slide-image {
            position: absolute;
            max-width: 70%;
            max-height: 70%;
            object-fit: contain;
            border-radius: 8px;
            box-shadow: 0 0 30px rgba(255, 255, 255, 0.2);
            transition: all 1.5s cubic-bezier(0.2, 0.8, 0.2, 1);
            opacity: 0;
            transform: translate(0, 100vh) scale(0.3);
            cursor: pointer;
        }
        .slide-image.active {
            opacity: 1;
            transform: translate(0, 0) scale(1);
        }
        .slide-image.above {
            opacity: 0;
            transform: translate(0, -50vh) scale(0.7);
        }
        .detail-mode {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: 100;
            background-color: rgba(0, 0, 0, 0.95);
            opacity: 0;
            pointer-events: none;
            transition: opacity 0.6s ease;
        }
        .detail-mode.active {
            opacity: 1;
            pointer-events: all;
        }
        .detail-image-container {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            display: flex;
            justify-content: center;
            align-items: center;
            transition: none;
        }
        .detail-mode.active .detail-image-container {
            animation: slideToLeft 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
        }
        @keyframes slideToLeft {
            0% {
                width: 100%;
                left: 0;
                transform: scale(1);
            }
            100% {
                width: 50%;
                left: 0;
                transform: scale(0.85);
            }
        }
        .detail-content {
            position: absolute;
            top: 0;
            right: 0;
            width: 50%;
            height: 100%;
            padding: 60px 40px 40px;
            overflow-y: auto;
            opacity: 0;
            transform: translateX(100%);
        }
        .detail-mode.active .detail-content {
            animation: slideInFromRight 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) 0.2s forwards;
        }
        @keyframes slideInFromRight {
            0% {
                opacity: 0;
                transform: translateX(100%);
            }
            100% {
                opacity: 1;
                transform: translateX(0);
            }
        }
        .detail-title {
            font-size: 2rem;
            margin-bottom: 20px;
            color: #fff;
            opacity: 0;
            transform: translateY(20px);
        }
        .detail-mode.active .detail-title {
            animation: fadeInUp 0.6s ease 0.5s forwards;
        }
        .detail-description {
            font-size: 1.1rem;
            line-height: 1.6;
            margin-bottom: 30px;
            color: #ddd;
            opacity: 0;
            transform: translateY(20px);
            min-height: 1em;
        }
        .detail-mode.active .detail-description {
            animation: fadeInUp 0.6s ease 0.7s forwards;
        }
        .detail-gallery {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 15px;
            margin-top: 20px;
            opacity: 0;
            transform: translateY(20px);
        }
        .detail-mode.active .detail-gallery {
            animation: fadeInUp 0.6s ease 0.9s forwards;
        }
        .detail-gallery img {
            width: 100%;
            border-radius: 4px;
            cursor: pointer;
            transition: transform 0.3s ease;
        }
        .detail-gallery img:hover {
            transform: scale(1.03);
        }
        @keyframes fadeInUp {
            0% {
                opacity: 0;
                transform: translateY(20px);
            }
            100% {
                opacity: 1;
                transform: translateY(0);
            }
        }
        .close-btn {
            position: absolute;
            top: 20px;
            right: 20px;
            width: 40px;
            height: 40px;
            z-index: 110;
            cursor: pointer;
            opacity: 0;
            transform: scale(0.5) rotate(180deg);
            transition: all 0.3s ease;
        }
        .detail-mode.active .close-btn {
            animation: fadeInRotate 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 0.4s forwards;
        }
        .close-btn:hover {
            transform: scale(1.1) rotate(0deg);
            transition: all 0.2s ease;
        }
        @keyframes fadeInRotate {
            0% {
                opacity: 0;
                transform: scale(0.5) rotate(180deg);
            }
            100% {
                opacity: 1;
                transform: scale(1) rotate(0deg);
            }
        }
        .close-btn::before, .close-btn::after {
            content: '';
            position: absolute;
            width: 3px;
            height: 25px;
            background-color: white;
            top: 50%;
            left: 50%;
            transition: all 0.2s ease;
        }
        .close-btn::before {
            transform: translate(-50%, -50%) rotate(45deg);
        }
        .close-btn::after {
            transform: translate(-50%, -50%) rotate(-45deg);
        }
        .close-btn:hover::before,
        .close-btn:hover::after {
            background-color: #ff6b6b;
        }
        @media (max-width: 768px) {
            .slide-image {
                max-width: 90%;
                max-height: 75%;
            }
            .detail-mode.active .detail-image-container {
                animation: slideToTop 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
            }
            @keyframes slideToTop {
                0% {
                    width: 100%;
                    height: 100%;
                    top: 0;
                    transform: scale(1);
                    opacity: 1;
                }
                100% {
                    width: 100%;
                    height: 45%;
                    top: 0;
                    transform: scale(0.95);
                    opacity: 1;
                }
            }
            .detail-content {
                width: 100%;
                height: 55%;
                top: auto;
                bottom: 0;
                right: auto;
                transform: translateY(100%);
                padding: 30px 20px 20px;
                background: linear-gradient(to top, rgba(0, 0, 0, 0.98) 85%, rgba(0, 0, 0, 0.6));
                border-top-left-radius: 16px;
                border-top-right-radius: 16px;
            }
            .detail-mode.active .detail-content {
                animation: slideInFromBottom 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) 0.2s forwards;
            }
            @keyframes slideInFromBottom {
                0% {
                    opacity: 0;
                    transform: translateY(100%);
                }
                100% {
                    opacity: 1;
                    transform: translateY(0);
                }
            }
            .detail-title {
                font-size: 1.5rem;
                margin-bottom: 15px;
                padding-bottom: 10px;
                border-bottom: 1px solid rgba(255, 255, 255, 0.1);
            }
            .detail-description {
                font-size: 1rem;
                line-height: 1.5;
            }
            .detail-gallery {
                grid-template-columns: 1fr;
                gap: 12px;
            }
            .close-btn {
                top: 15px;
                right: 15px;
                width: 36px;
                height: 36px;
                background-color: rgba(0, 0, 0, 0.5);
                border-radius: 50%;
            }
            .slide-image:active {
                transform: translate(0, 0) scale(0.95);
                transition: transform 0.2s ease;
            }
        }
        .detail-mode.closing .detail-image-container {
            animation: slideBackToCenter 0.6s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
        }
        .detail-mode.closing .detail-content {
            animation: slideOutToRight 0.6s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
        }
        .detail-mode.closing .close-btn {
            animation: fadeOutRotate 0.4s ease forwards;
        }
        @keyframes slideBackToCenter {
            0% {
                width: 50%;
                left: 0;
                transform: scale(0.85);
            }
            100% {
                width: 100%;
                left: 0;
                transform: scale(1);
            }
        }
        @keyframes slideOutToRight {
            0% {
                opacity: 1;
                transform: translateX(0);
            }
            100% {
                opacity: 0;
                transform: translateX(100%);
            }
        }
        @keyframes fadeOutRotate {
            0% {
                opacity: 1;
                transform: scale(1) rotate(0deg);
            }
            100% {
                opacity: 0;
                transform: scale(0.5) rotate(-180deg);
            }
        }
        @media (max-width: 768px) {
            .detail-mode.closing .detail-image-container {
                animation: mobileSlideBackToCenter 0.6s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
            }
            .detail-mode.closing .detail-content {
                animation: slideOutToBottom 0.6s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
            }
            @keyframes mobileSlideBackToCenter {
                0% {
                    width: 100%;
                    height: 45%;
                    top: 0;
                    transform: scale(0.95);
                }
                100% {
                    width: 100%;
                    height: 100%;
                    top: 0;
                    transform: scale(1);
                }
            }
            @keyframes slideOutToBottom {
                0% {
                    opacity: 1;
                    transform: translateY(0);
                }
                100% {
                    opacity: 0;
                    transform: translateY(100%);
                }
            }
        }
        .star-layer-1, .star-layer-2, .star-layer-3 {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            pointer-events: none;
            transition: opacity 0.6s ease;
            z-index: 5;
        }
        .detail-mode.active .star-layer-1,
        .detail-mode.active .star-layer-2,
        .detail-mode.active .star-layer-3 {
            opacity: 0.2;
        }
        .preview-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.9);
            z-index: 199;
            opacity: 0;
            transition: opacity 0.3s ease;
        }
        .preview-overlay.active {
            opacity: 1;
        }