/* Custom Social Styles for Polify */

:root {
    --primary: #37546D;
    --fb-gray: #F0F2F5;
    --fb-card: #FFFFFF;
    --fb-divider: #E4E6EB;
    --fb-text: #050505;
    --fb-sub-text: #65676B;
}

body {
    -webkit-tap-highlight-color: transparent;
}

/* Scrollbar Styles */
.scrollbar-hide::-webkit-scrollbar {
    display: none;
}

.scrollbar-hide {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.hover-scrollbar:hover::-webkit-scrollbar {
    display: block;
    width: 8px;
}

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--fb-gray);
}

::-webkit-scrollbar-thumb {
    background: #bcc0c4;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: #9fa4a8;
}

/* Animations */
@keyframes pop {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.2);
    }

    100% {
        transform: scale(1);
    }
}

.like-active {
    color: var(--primary) !important;
}

.like-active i {
    animation: pop 0.3s ease;
    font-weight: 900;
}

/* Card Styling */
.post-card {
    transition: transform 0.2s ease;
}

/* Story Highlights */
.story-border {
    border: 3px solid var(--primary);
}

/* Glassmorphism for mobile header */
@media (max-width: 1024px) {
    header {
        background: rgba(255, 255, 255, 0.9);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
    }
}

/* Pulse for notifications */
.notif-pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.5);
        opacity: 0;
    }

    100% {
        transform: scale(1);
        opacity: 0;
    }
}

/* Advert Pulse Animation */
@keyframes advert-pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 10px 15px -3px rgba(55, 84, 109, 0.3);
    }

    50% {
        transform: scale(1.02);
        box-shadow: 0 20px 25px -5px rgba(55, 84, 109, 0.4);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 10px 15px -3px rgba(55, 84, 109, 0.3);
    }
}

.advert-pulse {
    animation: advert-pulse 4s ease-in-out infinite;
}

/* Slideshow Animations */
@keyframes slide-fade {

    0%,
    33.33% {
        opacity: 1;
    }

    33.34%,
    100% {
        opacity: 0;
    }
}

.animate-slide-1 {
    animation: slide-fade 12s infinite 0s;
}

.animate-slide-2 {
    animation: slide-fade 12s infinite 4s;
}

.animate-slide-3 {
    animation: slide-fade 12s infinite 8s;
}

@keyframes progress {
    from { width: 0; }
    to { width: 100%; }
}

.animate-progress {
    animation: progress linear forwards;
}