/* Custom Glassmorphism Styles & Global Overrides */

/* Premium Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #021c15;
}
::-webkit-scrollbar-thumb {
    background: rgba(245, 158, 11, 0.3); /* Amber at 30% */
    border-radius: 4px;
    border: 2px solid #021c15;
}
::-webkit-scrollbar-thumb:hover {
    background: rgba(245, 158, 11, 0.6);
}

/* Glassmorphism Buttons */
.filter-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1.25rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: rgba(209, 250, 229, 0.8); /* emerald-100 */
    background: rgba(6, 78, 59, 0.2); /* Emerald glass */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(245, 158, 11, 0.15); /* amber border */
    border-radius: 9999px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.filter-btn:hover {
    background: rgba(6, 78, 59, 0.4);
    border-color: rgba(245, 158, 11, 0.5);
    color: #fff;
    box-shadow: 0 0 15px rgba(245, 158, 11, 0.15);
    transform: translateY(-2px);
}

.filter-btn.active {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.25), rgba(217, 119, 6, 0.15));
    border-color: rgba(245, 158, 11, 0.8);
    color: #f59e0b; /* Amber text */
    box-shadow: 0 0 20px rgba(245, 158, 11, 0.3), inset 0 0 10px rgba(245, 158, 11, 0.1);
}

/* Glassmorphic Cards */
.video-card {
    background: rgba(6, 78, 59, 0.15);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(245, 158, 11, 0.15);
    border-radius: 1rem;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 30px rgba(2, 28, 21, 0.3);
}

.video-card:hover {
    transform: translateY(-6px);
    border-color: rgba(245, 158, 11, 0.6);
    box-shadow: 0 15px 35px rgba(2, 28, 21, 0.5), 0 0 25px rgba(245, 158, 11, 0.15);
}

/* Thumbnail aspect-ratio container */
.thumbnail-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 ratio */
    height: 0;
    overflow: hidden;
    background: #01120d;
}

.thumbnail-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* Social icons link styling */
.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 50%;
    background: rgba(6, 78, 59, 0.2);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(245, 158, 11, 0.15);
    color: rgba(209, 250, 229, 0.8);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.social-link:hover {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.2), rgba(245, 158, 11, 0.05));
    border-color: rgba(245, 158, 11, 0.8);
    color: #f59e0b;
    transform: translateY(-4px) rotate(8deg);
    box-shadow: 0 0 15px rgba(245, 158, 11, 0.2);
}

/* Entrance animation for newly filtered cards */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.5s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

/* Highlight badge for active tags */
.tag-badge {
    background: rgba(245, 158, 11, 0.1);
    color: #f59e0b;
    border: 1px solid rgba(245, 158, 11, 0.2);
    border-radius: 9999px;
    padding: 0.25rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: capitalize;
    display: inline-block;
}