/* Blog Styles */

.blog-page {
    padding-top: 80px;
    min-height: 100vh;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 25%, #f093fb 50%, #f5576c 75%, #4facfe 100%);
    background-size: 400% 400%;
    animation: blogGradient 20s ease infinite;
}

@keyframes blogGradient {
    0% { background-position: 0% 50%; }
    25% { background-position: 100% 50%; }
    50% { background-position: 100% 100%; }
    75% { background-position: 0% 100%; }
    100% { background-position: 0% 50%; }
}

/* Page Header */
.page-header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 25px;
    padding: 3rem;
    margin-bottom: 4rem;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
    margin-top: 50px;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #667eea, #764ba2, #f093fb, #f5576c, #4facfe);
    background-size: 300% 100%;
    animation: headerGradient 3s ease infinite;
}

@keyframes headerGradient {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.page-header-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.page-info h1 {
    font-size: 3.5rem;
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
    font-weight: 700;
    line-height: 1.2;
}

.page-info h1 i {
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 4px 8px rgba(102, 126, 234, 0.3));
    animation: iconPulse 2s ease-in-out infinite;
}

@keyframes iconPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.page-info p {
    font-size: 1.3rem;
    color: #555;
    line-height: 1.7;
    font-weight: 400;
}

.page-image {
    text-align: center;
    position: relative;
}

.page-image::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 30px;
    opacity: 0.1;
    z-index: -1;
    animation: imageBg 4s ease-in-out infinite;
}

@keyframes imageBg {
    0%, 100% { transform: rotate(0deg) scale(1); }
    50% { transform: rotate(1deg) scale(1.02); }
}

.page-image img {
    width: 100%;
    height: auto;
    border-radius: 25px;
    box-shadow: 0 30px 100px rgba(0, 0, 0, 0.2);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.page-image img:hover {
    transform: scale(1.05) rotate(1deg);
    box-shadow: 0 40px 120px rgba(0, 0, 0, 0.3);
}

/* Featured Article */
.featured-section {
    margin-bottom: 5rem;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    color: white;
    margin-bottom: 1rem;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    font-weight: 700;
}

.featured-article {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    transition: all 0.4s ease;
    position: relative;
}

.featured-article::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.featured-article:hover::before {
    transform: scaleX(1);
}

.featured-article:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 35px 100px rgba(0, 0, 0, 0.25);
}

.featured-image {
    position: relative;
    overflow: hidden;
    min-height: 300px;
}

.featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.featured-article:hover .featured-image img {
    transform: scale(1.08);
}

.featured-badge {
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.4);
}

.featured-content {
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 2rem;
    font-size: 0.9rem;
}

.category {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.date, .read-time {
    color: #888;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.date::before {
    content: '📅';
    font-size: 0.8rem;
}

.read-time::before {
    content: '⏱️';
    font-size: 0.8rem;
}

.featured-content h2 {
    font-size: 2.2rem;
    color: #333;
    margin-bottom: 1.5rem;
    line-height: 1.3;
    font-weight: 700;
}

.featured-content p {
    color: #666;
    line-height: 1.7;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.article-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 2rem;
}



/* Articles Grid */
.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 400px));
    gap: 2.5rem;
    margin-top: 3rem;
}

.article-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.4s ease;
    position: relative;
}

.article-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.article-card:hover::before {
    transform: scaleX(1);
}

.article-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.2);
}

.article-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

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

.article-content {
    padding: 2rem;
}

.article-content .category {
    margin-bottom: 1rem;
    display: inline-block;
}

.article-content h3 {
    font-size: 1.4rem;
    color: #333;
    margin-bottom: 1rem;
    line-height: 1.4;
    font-weight: 600;
}

.article-content p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.article-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.read-more {
    color: #667eea;
    font-weight: 600;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.read-more:hover {
    color: #764ba2;
    transform: translateX(5px);
}

/* Categories Grid */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.category-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.4s ease;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.category-card:hover::before {
    transform: scaleX(1);
}

.category-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.2);
}

.category-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: white;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.4);
}

.category-card h3 {
    font-size: 1.4rem;
    color: #333;
    margin-bottom: 0.8rem;
    font-weight: 600;
}

.category-card p {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.article-count {
    color: #667eea;
    font-weight: 700;
    font-size: 1rem;
    background: rgba(102, 126, 234, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    display: inline-block;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-header-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .page-info h1 {
        font-size: 3rem;
    }

    .featured-article {
        grid-template-columns: 1fr;
    }

    .featured-image {
        min-height: 250px;
    }

    .articles-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 2rem;
    }

    .categories-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .blog-page {
        padding-top: 60px;
    }

    .page-header {
        padding: 2rem;
        margin-bottom: 3rem;
    }

    .page-info h1 {
        font-size: 2.5rem;
    }

    .page-info p {
        font-size: 1.1rem;
    }

    .featured-content {
        padding: 2rem;
    }

    .featured-content h2 {
        font-size: 1.8rem;
    }

    .articles-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .article-content {
        padding: 1.5rem;
    }

    .categories-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 1rem;
    }

    .category-card {
        padding: 2rem;
    }

    .category-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .page-header {
        padding: 1.5rem;
        margin-bottom: 2rem;
    }

    .page-info h1 {
        font-size: 2rem;
    }

    .page-info p {
        font-size: 1rem;
    }

    .featured-content {
        padding: 1.5rem;
    }

    .featured-content h2 {
        font-size: 1.5rem;
    }

    .article-content {
        padding: 1.2rem;
    }

    .article-content h3 {
        font-size: 1.2rem;
    }

    .categories-grid {
        grid-template-columns: 1fr;
    }

    .category-card {
        padding: 1.5rem;
    }

    .article-meta {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }

    .search-section {
        padding: 2rem;
        margin: 3rem 0;
    }

    .search-input-group {
        flex-direction: column;
        gap: 1rem;
    }

    .search-btn {
        padding: 1rem;
        width: 100%;
    }

    .filter-options {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .filter-tags {
        justify-content: center;
    }
}

/* Search Section */
.search-section {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 25px;
    padding: 3rem;
    margin: 4rem 0;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
}

.search-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #667eea, #764ba2, #f093fb, #f5576c, #4facfe);
    background-size: 300% 100%;
    animation: searchGradient 3s ease infinite;
}

@keyframes searchGradient {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.search-header {
    text-align: center;
    margin-bottom: 2rem;
}

.search-header h3 {
    font-size: 1.8rem;
    color: #333;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.search-header p {
    color: #666;
    font-size: 1rem;
}

.search-input-group {
    display: flex;
    gap: 1rem;
    margin-bottom: 2.5rem;
    align-items: stretch;
}

.search-input-wrapper {
    flex: 1;
    position: relative;
}

.search-input-wrapper input {
    width: 100%;
    padding: 1rem 1rem 1rem 3rem;
    border: 2px solid rgba(102, 126, 234, 0.2);
    border-radius: 25px;
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    outline: none;
}

.search-input-wrapper input:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
    background: white;
}

.search-input-wrapper::before {
    content: '🔍';
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.2rem;
    z-index: 2;
}

.search-btn {
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border: none;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.search-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

.filter-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.filter-group label {
    font-weight: 700;
    color: #333;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.filter-group label::before {
    content: '📂';
    font-size: 1rem;
}

.filter-group select {
    padding: 0.8rem 1rem;
    border: 2px solid rgba(102, 126, 234, 0.2);
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    outline: none;
}

.filter-group select:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
    background: white;
}

.filter-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.filter-tag {
    background: rgba(102, 126, 234, 0.1);
    color: #667eea;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.filter-tag:hover,
.filter-tag.active {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}



.article-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.article-content {
    padding: 1.5rem;
}

.article-content .article-meta {
    margin-bottom: 1rem;
}

.article-content h3 {
    font-size: 1.2rem;
    color: #333;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.article-excerpt {
    color: #666;
    line-height: 1.5;
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.read-more {
    color: #667eea;
    font-weight: 600;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.3s ease;
}

.read-more:hover {
    color: #5a67d8;
}

/* Load More */
.load-more {
    text-align: center;
    margin: 3rem 0;
}

/* Newsletter Section */
.newsletter-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 25%, #f093fb 50%, #f5576c 75%, #4facfe 100%);
    background-size: 400% 400%;
    animation: newsletterGradient 15s ease infinite;
    color: white;
    border-radius: 30px;
    margin: 5rem 0;
    overflow: hidden;
    position: relative;
    box-shadow: 0 30px 100px rgba(0, 0, 0, 0.2);
}

@keyframes newsletterGradient {
    0% { background-position: 0% 50%; }
    25% { background-position: 100% 50%; }
    50% { background-position: 100% 100%; }
    75% { background-position: 0% 100%; }
    100% { background-position: 0% 50%; }
}

.newsletter-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 80%, rgba(255,255,255,0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(255,255,255,0.1) 0%, transparent 50%);
    animation: floatingOrbs 20s ease-in-out infinite;
    pointer-events: none;
}

@keyframes floatingOrbs {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    33% { transform: translateY(-15px) rotate(120deg); }
    66% { transform: translateY(10px) rotate(240deg); }
}

.newsletter-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    padding: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.newsletter-info h2 {
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
    font-weight: 800;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    line-height: 1.2;
}

.newsletter-info p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    line-height: 1.6;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.newsletter-info ul {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
}

.newsletter-info li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    opacity: 0.95;
    font-size: 1.1rem;
    font-weight: 500;
}

.newsletter-info i {
    color: #2ecc71;
    font-size: 1.3rem;
    background: rgba(46, 204, 113, 0.2);
    padding: 0.5rem;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.newsletter-form {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 25px;
    padding: 3rem;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.newsletter-form h3 {
    margin-bottom: 2rem;
    text-align: center;
    font-size: 1.8rem;
    font-weight: 700;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.newsletter-form .form-group {
    margin-bottom: 1.5rem;
}

.newsletter-form input[type="email"] {
    width: 100%;
    padding: 1.2rem 1.5rem;
    background: rgba(255, 255, 255, 0.95);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 25px;
    color: #333;
    font-size: 1rem;
    transition: all 0.3s ease;
    outline: none;
}

.newsletter-form input[type="email"]:focus {
    background: white;
    border-color: rgba(255, 255, 255, 0.8);
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.2);
}

.newsletter-form input[type="email"]::placeholder {
    color: #666;
}

.checkbox-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    font-size: 1rem;
    opacity: 0.95;
    line-height: 1.5;
    margin-bottom: 2rem;
}

.checkbox-item input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-top: 0.2rem;
    accent-color: #2ecc71;
    cursor: pointer;
}

.checkbox-item a {
    color: white;
    text-decoration: underline;
    font-weight: 600;
    transition: color 0.3s ease;
}

.checkbox-item a:hover {
    color: #2ecc71;
}

.newsletter-form .btn-large {
    width: 100%;
    padding: 1.2rem 2rem;
    background: linear-gradient(135deg, #2ecc71, #27ae60);
    color: white;
    border: none;
    border-radius: 25px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 8px 25px rgba(46, 204, 113, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.newsletter-form .btn-large:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(46, 204, 113, 0.5);
    background: linear-gradient(135deg, #27ae60, #2ecc71);
}

.newsletter-form .btn-large:active {
    transform: translateY(-1px);
}

.newsletter-form .btn-large i {
    font-size: 1.2rem;
}

/* Tags Section */
.tags-section {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 25px;
    padding: 3rem;
    margin: 4rem 0;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
}

.tags-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #667eea, #764ba2, #f093fb, #f5576c, #4facfe);
    background-size: 300% 100%;
    animation: tagsGradient 3s ease infinite;
}

@keyframes tagsGradient {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.tags-section .section-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.tags-section .section-header h2 {
    font-size: 2.2rem;
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

/* Tags Cloud */
.tags-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

.tags-cloud .tag {
    background: rgba(102, 126, 234, 0.1);
    color: #667eea;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    text-decoration: none;
    display: inline-block;
}

.tags-cloud .tag:hover,
.tags-cloud .tag.active {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
    border-color: rgba(102, 126, 234, 0.2);
}

/* Results Count */
.results-count {
    color: #666;
    font-size: 0.9rem;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 4rem 2rem;
    color: #666;
}

.empty-state i {
    font-size: 4rem;
    color: #ddd;
    margin-bottom: 1rem;
}

.empty-state h3 {
    margin-bottom: 0.5rem;
    color: #333;
}

/* Loading State */
.loading-state {
    text-align: center;
    padding: 2rem;
    color: #666;
}

.loading-spinner {
    display: inline-block;
    width: 40px;
    height: 40px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #667eea;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 1rem;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Responsive Design */
@media (max-width: 768px) {
    .featured-article {
        grid-template-columns: 1fr;
    }
    
    .featured-content {
        padding: 2rem;
    }
    
    .featured-content h2 {
        font-size: 1.5rem;
    }
    
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .articles-grid {
        grid-template-columns: 1fr;
    }
    
    .newsletter-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        padding: 3rem 2rem;
        text-align: center;
    }

    .newsletter-info h2 {
        font-size: 2.2rem;
    }

    .newsletter-info p {
        font-size: 1.1rem;
    }

    .newsletter-form {
        padding: 2.5rem;
    }
    
    .filter-options {
        grid-template-columns: 1fr;
    }
    
    .search-input-group {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .categories-grid {
        grid-template-columns: 1fr;
    }
    
    .category-card {
        padding: 1.5rem;
    }
    
    .category-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .featured-content {
        padding: 1.5rem;
    }
    
    .newsletter-content {
        padding: 2rem 1.5rem;
        gap: 2rem;
    }

    .newsletter-info h2 {
        font-size: 1.8rem;
    }

    .newsletter-info p {
        font-size: 1rem;
    }

    .newsletter-form {
        padding: 2rem;
    }

    .newsletter-form h3 {
        font-size: 1.4rem;
    }

    .tags-section {
        padding: 2rem;
        margin: 3rem 0;
    }

    .tags-section .section-header h2 {
        font-size: 1.8rem;
    }

    .tags-cloud {
        gap: 0.8rem;
    }

    .tags-cloud .tag {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }
}
