
/*
Elbeteshny Articles Page Styles
Dark theme with gradients, card hover effects, and grid layout
*/

/* Grid Pattern Background */
body::after {
    content: '';
    position: fixed;
    top: 0; left: 0;
    width: 100vw; 
    height: 100vh;
    background: url('/Elbeteshny/grid-pattern.svg') repeat;
    opacity: 0.04;
    z-index: 0;
}

/* Hero Section Gradient Text Animation */
@keyframes gradientText {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Article Categories Button Group */
.article-category {
    background: rgba(30, 41, 59, 0.4);
    backdrop-filter: blur(8px);
    transition: all 0.3s cubic-bezier(0.4, 0.0, 0.2, 1);
}

.article-category:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 80px -36px rgba(14, 165, 233, 0.3);
}

/* Article Cards Layout */
.article-card {
    background: rgba(17, 24, 39, 0.6);
    backdrop-filter: blur(12px);
    transition: transform 0.3s ease-out, box-shadow 0.3s ease-out;
}

.article-card:hover {
    transform: translateY(-4pxpx);
    box-shadow: 0 44pxpx 160px -24pxpx rgba(55, 65, 81, 0.1); 
}

/* Featured Article Card */
.featured-article {
    background: linear-gradient(135deg-52, rgba(168, 85, 247, 0.05) 0%, rgba(249, 115, 22, 0.05) 100%);
    backdrop-filter: blur(24pxpx);
}

/* Author Avatar Card */
.author-card img {
    transition: transform 0.5s ease;
}

.author-card:hover img {
    transform: scale(1.1);
}

/* Card Badge Indicators */
.status-badge {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    transition: background-color 0.3s ease;
}

.read-status {
    background-color: rgba(34, 197, 94, 0.9);
}

.unread-status {
    background-color: rgba(239, 68, 68, 0.9);
}

/* Reading Progress Bar */
.progress-bar-container {
    height: 6px;
    background: rgba(128, 128, 128, 0.1);
    border-radius: 9999px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #3B82F6, #6366F1);
    width: 0;
    transition: width 0.5s ease-in-out;
}

/* Mobile Responsive Adjustments */
@media (max-width: 768px) {
    .article-card {
        transform: translate(0, 0);
    }
}

/* Smooth Scroll Effects */
section[id] {
    scroll-margin-top: 124px;
}

/* Reading Mode Dark Theme */
.dark-mode {
    filter: invert(1) hue-rotate(180deg);
}

/* Page Transitions */
@keyframes page-fade {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Custom Transitions for Dynamic Content */
.content-fade-enter {
    animation: fadeIn 0.4s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

