/* Blog Page Styles - GameCygen */

.blog-container {
    padding-top: calc(var(--header-height) + 40px);
    padding-bottom: var(--spacing-xl);
    background: var(--bg-primary);
    min-height: 100vh;
}

.category-filters {
    display: flex;
    justify-content: center;
    gap: var(--spacing-sm);
    margin: var(--spacing-xl) 0;
    flex-wrap: wrap;
}

.filter-btn {
    background: var(--bg-card);
    color: var(--text-secondary);
    border: 2px solid var(--border-color);
    padding: 12px 24px;
    border-radius: 25px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover {
    border-color: var(--accent-color);
    color: var(--accent-color);
    transform: translateY(-2px);
}

.filter-btn.active {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    border-color: var(--accent-color);
    box-shadow: 0 4px 15px var(--glow-color);
}

@media (max-width: 768px) {
    .category-filters {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-sm);
    }
    
    .filter-btn {
        width: 100%;
        padding: 10px 16px;
        font-size: 0.9rem;
    }
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-lg);
}

@media (max-width: 768px) {
    .articles-grid {
        grid-template-columns: 1fr;
    }
}

.article-card {
    background: var(--bg-card);
    border-radius: 15px;
    overflow: hidden;
    border: 2px solid var(--border-color);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 15px var(--shadow-color);
}

.article-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px var(--glow-color);
    border-color: var(--accent-color);
}

.article-card.hidden {
    display: none;
}

.article-image {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: var(--ocean-dark);
}

.article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.category-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 6px 16px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 0.8rem;
    text-transform: uppercase;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.category-badge.mechanics {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: white;
}

.category-badge.themes {
    background: linear-gradient(135deg, #9b59b6 0%, #8e44ad 100%);
    color: white;
}

.category-badge.technical {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    color: white;
}

.category-badge.psychology {
    background: linear-gradient(135deg, #1abc9c 0%, #16a085 100%);
    color: white;
}

.category-badge.reviews {
    background: linear-gradient(135deg, #f39c12 0%, #e67e22 100%);
    color: white;
}

.article-content {
    padding: var(--spacing-lg);
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.article-content h3 {
    color: var(--accent-color);
    font-size: 1.4rem;
    margin-bottom: var(--spacing-sm);
    line-height: 1.4;
}

.article-excerpt {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: var(--spacing-md);
    flex-grow: 1;
}

.article-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-md);
    padding-top: var(--spacing-sm);
    border-top: 1px solid var(--border-color);
}

.read-time,
.article-date {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.article-link {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 12px 24px;
    border-radius: 25px;
    font-weight: bold;
    text-align: center;
    border: 2px solid var(--accent-color);
    transition: all 0.3s ease;
    display: inline-block;
}

.article-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px var(--glow-color);
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
}

