/* Blog Page Specific Styles */

/* Blog Hero */
.blog-hero {
    background-image: url('../images/hero_mobile_bg.png');
    min-height: 60vh;
}

/* Blog Content */
.blog-content {
    padding: 80px 0;
    background: var(--bg-dark);
}

/* Filter Section */
.filter-section {
    margin-bottom: 50px;
    text-align: center;
}

.filter-section h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 25px;
}

.filter-buttons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    max-width: 1000px;
    margin: 0 auto;
}

.filter-btn {
    padding: 12px 20px;
    background: transparent;
    color: var(--text-muted);
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
    font-size: 0.95rem;
}

.filter-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.2);
}

.filter-btn.active {
    background: var(--gradient-cyber);
    color: var(--bg-dark);
    border-color: var(--primary-color);
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.4);
}

@media (max-width: 600px) {
    .filter-buttons {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }
    
    .filter-btn {
        padding: 10px 15px;
        font-size: 0.9rem;
    }
}

/* Articles Grid */
.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.article-card {
    background: var(--bg-card);
    border-radius: var(--border-radius);
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: var(--transition);
    opacity: 1;
    transform: scale(1);
}

.article-card.hidden {
    opacity: 0;
    transform: scale(0.95);
    pointer-events: none;
}

.article-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border-color: var(--primary-color);
}

.article-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: var(--transition);
}

.article-card:hover .article-image {
    transform: scale(1.05);
}

.article-content {
    padding: 25px;
}

.article-category {
    display: inline-block;
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: bold;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.article-category.jeux-casino {
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
    color: white;
}

.article-category.paris-sportifs {
    background: linear-gradient(135deg, #00d2d3, #01a3a4);
    color: white;
}

.article-category.bonus-promotions {
    background: linear-gradient(135deg, #feca57, #ff9ff3);
    color: var(--bg-dark);
}

.article-category.conseils-pratiques {
    background: linear-gradient(135deg, #5f27cd, #341f97);
    color: white;
}

.article-content h3 {
    color: var(--primary-color);
    font-size: 1.4rem;
    margin-bottom: 12px;
    line-height: 1.3;
    transition: var(--transition);
}

.article-card:hover .article-content h3 {
    color: var(--secondary-color);
    text-shadow: 0 0 10px var(--secondary-color);
}

.article-content p {
    color: var(--text-muted);
    margin-bottom: 20px;
    line-height: 1.6;
    font-size: 0.95rem;
}

.article-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 20px;
    padding-top: 15px;
    border-top: 1px solid var(--border-color);
}

.article-date {
    color: var(--primary-color);
}

.article-read {
    color: var(--text-muted);
}

.article-link {
    display: inline-block;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: bold;
    transition: var(--transition);
    position: relative;
    padding-bottom: 2px;
}

.article-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-cyber);
    transition: var(--transition);
}

.article-link:hover::after {
    width: 100%;
}

.article-link:hover {
    color: var(--secondary-color);
    text-shadow: 0 0 8px var(--secondary-color);
}

.article-link.disabled {
    color: var(--text-muted);
    cursor: not-allowed;
    opacity: 0.6;
}

.article-link.disabled:hover {
    color: var(--text-muted);
    text-shadow: none;
}

.article-link.disabled::after {
    display: none;
}

@media (max-width: 900px) {
    .articles-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .article-image {
        height: 200px;
    }
    
    .article-content {
        padding: 20px;
    }
}

/* No Results */
.no-results {
    text-align: center;
    padding: 60px 20px;
    background: var(--bg-card);
    border-radius: var(--border-radius);
    border: 2px dashed var(--border-color);
}

.no-results-content h3 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.no-results-content p {
    color: var(--text-muted);
    margin-bottom: 25px;
    font-size: 1.1rem;
}

/* Newsletter Section */
.newsletter {
    padding: 80px 0;
    background: var(--bg-darker);
    position: relative;
    overflow: hidden;
}

.newsletter::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 20%, rgba(0, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 0, 255, 0.1) 0%, transparent 50%);
}

.newsletter-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.newsletter h2 {
    font-size: clamp(2rem, 4vw, 2.8rem);
    background: var(--gradient-cyber);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
}

.newsletter p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 40px;
    line-height: 1.6;
}

.newsletter-form {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.newsletter-form input {
    flex: 1;
    padding: 15px 20px;
    background: var(--bg-card);
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    color: var(--text-light);
    font-size: 1rem;
    transition: var(--transition);
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.2);
}

.newsletter-form input::placeholder {
    color: var(--text-muted);
}

.newsletter-form button {
    padding: 15px 30px;
    background: var(--gradient-cyber);
    color: var(--bg-dark);
    border: none;
    border-radius: var(--border-radius);
    font-weight: bold;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.newsletter-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0, 255, 255, 0.4);
}

.newsletter-note {
    color: var(--text-muted);
    font-size: 0.9rem;
    font-style: italic;
}

@media (max-width: 600px) {
    .newsletter-form {
        flex-direction: column;
        gap: 15px;
    }
    
    .newsletter-form input,
    .newsletter-form button {
        width: 100%;
    }
}

/* Animation Classes */
.fade-in {
    animation: fadeIn 0.5s ease-in-out;
}

.fade-out {
    animation: fadeOut 0.3s ease-in-out;
}

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

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