@media (min-width: 1024px) {
main#gallery {
        position: relative;
    }
}

.pagination-item {
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.5rem;
    background: white;
    border: 1px solid #e5e7eb;
    color: #4b5563;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.pagination-item:hover {
    background: #f3f4f6;
    border-color: #d1d5db;
}

.pagination-item.active {
    background: #4f46e5;
    color: white;
    border-color: #4f46e5;
}

.pagination-item.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.custom-scrollbar {
    scrollbar-width: thin;
    scrollbar-color: #cbd5e1 transparent;
    overflow-y: auto;
    flex-grow: 1;
    scroll-behavior: smooth;
    background-color: #ffffff;
    position: relative;
}

.custom-scrollbar::-webkit-scrollbar {
    width: 6px;
}

.custom-scrollbar::-webkit-scrollbar-track {
    background: transparent;
}

.custom-scrollbar::-webkit-scrollbar-thumb {
    background-color: #cbd5e1;
    border-radius: 20px;
}

.sticky-tabs {
    position: sticky;
    top: 0;
    z-index: 50;
    background-color: #ffffff;
    padding: 1rem 0rem 0rem 0rem;
    margin: 0;
    border-bottom: 1px solid #f1f5f9;
    transition: all 0.3s ease;
}

.read-more-link {
    color: #4f46e5;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: flex;
    align-items: center;
    margin-top: auto;
}

.read-more-link i {
    margin-left: 0.5rem;
    font-size: 10px;
    transition: transform 0.2s;
}

.read-more-link:hover i {
    transform: translateX(3px);
}

.no-scrollbar::-webkit-scrollbar {
    display: none;
}

.no-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

@media (max-width: 639px) {
.js-video-toggle {
        display: none !important;
    }
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

@keyframes bounceLight {

    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.2);
        opacity: 0.8;
    }
}

.font-mono {
    font-family: 'JetBrains Mono', monospace;
}

.share-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    border-radius: 1rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: white;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    outline: none;
}

.share-btn:active {
    transform: scale(0.95);
}

.share-btn.whatsapp {
    background-color: #25d366;
}

.share-btn.facebook {
    background-color: #1877f2;
}

.share-btn.twitter {
    background-color: #1da1f2;
}

.share-btn.copy {
    background-color: #4f46e5;
}

.share-btn.native {
    background-color: #6366f1;
}

.share-btn:hover {
    opacity: 0.9;
    transform: translateY(-3px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

@media (max-width: 640px) {
.share-btn span {
        display: none;
    }

.share-btn {
        padding: 0.8rem 1rem;
        border-radius: 50%;
        aspect-ratio: 1/1;
        justify-content: center;
    }

.share-btn i {
        font-size: 1.1rem;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateX(-10px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Animasi muncul dari bawah (Slide Up Fade) */
@keyframes slideUpFade {
    0% {
        opacity: 0;
        transform: translateY(40px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-slide-up {
    /* Menggunakan cubic-bezier agar pergerakannya modern dan halus */
    animation: slideUpFade 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}