/* Blog Images Styles */

/* Blog List Page Enhancements */
.premium-blog-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.premium-blog-card:hover {
    transform: translateY(-8px);
}

.premium-blog-image {
    height: 180px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f3f4f6;
}

.premium-blog-image svg {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.premium-blog-image i[data-lucide] {
    position: relative;
    z-index: 10;
    font-size: 48px;
    width: 48px;
    height: 48px;
}

/* Featured Article Image */
.premium-glass .premium-feature-icon {
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Article Cover Image */
.article-cover {
    width: 100%;
    height: 400px;
    margin-bottom: 40px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: coverFadeIn 0.8s ease;
}

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

/* Inline Illustrations */
.article-illustration {
    margin: 40px 0;
    padding: 40px;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.05), rgba(245, 158, 11, 0.05));
    border-radius: 16px;
    text-align: center;
    animation: illustrationFadeIn 0.6s ease;
}

@keyframes illustrationFadeIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.article-illustration svg {
    max-width: 100%;
    height: auto;
}

.article-illustration p {
    color: #78716c;
    font-size: 14px;
    margin-top: 16px;
    font-style: italic;
}

/* Feature Cards with Icons */
.feature-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
    margin: 40px 0;
}

.feature-card {
    text-align: center;
    padding: 24px;
    background: linear-gradient(135deg, #fff, #fafaf9);
    border-radius: 12px;
    border: 1px solid rgba(16, 185, 129, 0.1);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.feature-card svg {
    width: 80px;
    height: 80px;
    margin: 0 auto 16px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .premium-blog-image {
        height: 140px;
    }
    
    .article-cover {
        height: 250px;
    }
    
    .article-illustration {
        padding: 24px;
    }
    
    .feature-cards-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .feature-card {
        padding: 20px;
    }
    
    .feature-card svg {
        width: 60px;
        height: 60px;
    }
}

/* Loading Animation for Images */
.image-loading {
    position: relative;
    background: linear-gradient(90deg, #f3f4f6 0%, #e5e7eb 50%, #f3f4f6 100%);
    background-size: 200% 100%;
    animation: imageLoading 1.5s ease-in-out infinite;
}

@keyframes imageLoading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

/* Pixel Art Pattern Overlay */
.pixel-pattern-overlay {
    position: absolute;
    inset: 0;
    opacity: 0.1;
    pointer-events: none;
}

.pixel-pattern-overlay::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: 
        repeating-linear-gradient(0deg, transparent, transparent 10px, rgba(0,0,0,0.03) 10px, rgba(0,0,0,0.03) 11px),
        repeating-linear-gradient(90deg, transparent, transparent 10px, rgba(0,0,0,0.03) 10px, rgba(0,0,0,0.03) 11px);
}

/* Image Captions */
.image-caption {
    text-align: center;
    color: #78716c;
    font-size: 14px;
    margin-top: 12px;
    font-style: italic;
}

/* Hover Effects */
.premium-blog-image:hover svg,
.article-illustration:hover svg {
    transform: scale(1.05);
    transition: transform 0.3s ease;
}