body {
            /* font-family: 'Inter', sans-serif;
            background-color: #f4f7f6;
            color: #2c3e50;
            padding: 20px 0; */
        }

        .gallery-card {
            background: #ffffff;
            border-radius: 12px;
            box-shadow: 0 8px 30px rgba(0,0,0,0.08);
            border: none;
            overflow: hidden;
            margin-top: 20px;
        }

        .article-title {
            font-size: 1.5rem;
            color: #1e3a8a;
            border-left: 5px solid #2563eb;
            padding-left: 15px;
            letter-spacing: 0.05em;
            display: flex;
            align-items: center;
            justify-content: space-between;
        }

        .flip-book-wrapper {
            perspective: 1500px;
            margin: 30px auto;
            position: relative;
            max-width: 900px;
            min-height: 420px;
            display: flex;
            justify-content: center;
            align-items: center;
        }

        .flip-book {
            width: 100%;
            height: 380px;
            position: relative;
            transform-style: preserve-3d;
            display: flex;
        }

        .book-page {
            width: 50%;
            height: 100%;
            position: absolute;
            top: 0;
            right: 0;
            transform-origin: left center;
            transition: transform 0.8s cubic-bezier(0.645, 0.045, 0.355, 1);
            transform-style: preserve-3d;
            cursor: pointer;
            box-shadow: inset -5px 0 10px rgba(0,0,0,0.1), 0 5px 15px rgba(0,0,0,0.1);
            border-radius: 0 8px 8px 0;
            background: #fff;
        }

        .page-front, .page-back {
            position: absolute;
            width: 100%;
            height: 100%;
            backface-visibility: hidden;
            top: 0;
            left: 0;
            border: 1px solid #e2e8f0;
            overflow: hidden;
            border-radius: 0 8px 8px 0;
        }

        .page-back {
            transform: rotateY(180deg);
            border-radius: 8px 0 0 8px;
        }

        .book-page.flipped {
            transform: rotateY(-180deg);
        }

        .page-img-wrapper {
            position: relative;
            width: 100%;
            height: 100%;
            overflow: hidden;
        }

        .page-img-wrapper img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.4s ease;
        }

        .page-img-wrapper:hover img {
            transform: scale(1.04);
        }

        .image-overlay {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
            color: #fff;
            padding: 15px;
            opacity: 0.9;
        }

        .zoom-badge {
            position: absolute;
            top: 15px;
            right: 15px;
            background: rgba(37, 99, 235, 0.9);
            color: #fff;
            padding: 6px 12px;
            border-radius: 20px;
            font-size: 0.8rem;
            box-shadow: 0 2px 8px rgba(0,0,0,0.2);
            transition: background 0.3s;
        }

        .page-img-wrapper:hover .zoom-badge {
            background: rgba(29, 78, 216, 1);
        }

        /* Controls */
        .book-controls {
            display: flex;
            justify-content: center;
            gap: 15px;
            margin-top: 10px;
        }

        .modal-content {
            background-color: rgba(15, 23, 42, 0.95);
            border: none;
            border-radius: 16px;
            box-shadow: 0 20px 40px rgba(0,0,0,0.5);
        }

        .modal-body {
            position: relative;
            padding: 20px;
        }

        #modalImage {
            max-height: 75vh;
            object-fit: contain;
            border-radius: 8px;
            box-shadow: 0 10px 25px rgba(0,0,0,0.3);
        }

        .modal-close-btn {
            position: absolute;
            top: 15px;
            right: 20px;
            color: #fff;
            font-size: 2rem;
            background: none;
            border: none;
            z-index: 1051;
            opacity: 0.8;
            transition: opacity 0.2s;
        }

        .modal-close-btn:hover {
            color: #ef4444;
            opacity: 1;
        }

        .modal-caption {
            color: #e2e8f0;
            margin-top: 15px;
            font-size: 1.1rem;
            font-weight: 500;
        }

        @media (max-width: 768px) {
            .flip-book-wrapper {
                min-height: 280px;
            }
            .flip-book {
                height: 250px;
            }
        }