/* Glassmorphism Effects */
.glass-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow:
        0 8px 32px 0 rgba(156, 39, 176, 0.2),
        0 0 40px rgba(233, 30, 99, 0.15);
    transition: all 0.3s ease;
}

.glass-card:hover {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow:
        0 12px 48px 0 rgba(156, 39, 176, 0.3),
        0 0 60px rgba(233, 30, 99, 0.25);
    transform: translateY(-2px);
}

.glass-card-article {
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow:
        0 4px 16px 0 rgba(123, 44, 191, 0.15);
    transition: all 0.3s ease;
}

.glass-card-article:hover {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.22);
    box-shadow:
        0 8px 24px 0 rgba(123, 44, 191, 0.25),
        0 0 40px rgba(233, 30, 99, 0.15);
    transform: translateX(4px);
}

/* Gradient text */
.gradient-text {
    background: linear-gradient(135deg, #e91e63, #9c27b0, #673ab7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.2);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #e91e63, #9c27b0);
    border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #9c27b0, #673ab7);
}

/* Smooth animations */
* {
    scroll-behavior: smooth;
}

/* Badge styles */
.badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.badge-category {
    background: linear-gradient(135deg, rgba(233, 30, 99, 0.3), rgba(156, 39, 176, 0.3));
}

.badge-date {
    background: linear-gradient(135deg, rgba(103, 58, 183, 0.3), rgba(123, 44, 191, 0.3));
}

/* Article content styling */
.article-content {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(12px);
    border-radius: 1rem;
    padding: 2rem;
}

.article-content img {
    border-radius: 0.75rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    margin: 1.5rem auto;
}

.article-content a {
    color: #e91e63;
    text-decoration: underline;
    transition: color 0.2s;
}

.article-content a:hover {
    color: #9c27b0;
}

.article-content p {
    margin-bottom: 1rem;
    line-height: 1.8;
}

/* Glow effect */
.glow {
    animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
    from {
        text-shadow: 0 0 10px rgba(233, 30, 99, 0.5), 0 0 20px rgba(156, 39, 176, 0.3);
    }
    to {
        text-shadow: 0 0 20px rgba(233, 30, 99, 0.8), 0 0 30px rgba(156, 39, 176, 0.5);
    }
}

/* Loading animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #e91e63;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}
