/* News Page Styles */

/* News Hero Section */
.news-hero {
    padding: 120px 0 60px;
    text-align: center;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.1) 0%, rgba(59, 130, 246, 0.1) 100%);
}

.news-title {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 1rem;
    color: #fff;
}

.news-subtitle {
    font-size: 1.2rem;
    color: #cbd5e1;
    max-width: 600px;
    margin: 0 auto;
}

/* Filters Section */
.news-filters-section {
    padding: 40px 0;
    background: rgba(15, 23, 42, 0.5);
}

.news-filters {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.filter-btn {
    padding: 0.75rem 1.5rem;
    border: 2px solid rgba(124, 58, 237, 0.3);
    background: rgba(15, 23, 42, 0.8);
    color: #cbd5e1;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.filter-btn:hover {
    border-color: #7c3aed;
    background: rgba(124, 58, 237, 0.2);
    color: #fff;
    transform: translateY(-2px);
}

.filter-btn.active {
    background: linear-gradient(135deg, #7c3aed 0%, #3b82f6 100%);
    border-color: #7c3aed;
    color: #fff;
    box-shadow: 0 4px 15px rgba(124, 58, 237, 0.4);
}

/* Search Box */
.news-search {
    max-width: 600px;
    margin: 0 auto;
    position: relative;
}

.news-search input {
    width: 100%;
    padding: 1rem 3rem 1rem 1.5rem;
    border: 2px solid rgba(124, 58, 237, 0.3);
    background: rgba(15, 23, 42, 0.8);
    color: #fff;
    border-radius: 50px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.news-search input:focus {
    outline: none;
    border-color: #7c3aed;
    box-shadow: 0 0 20px rgba(124, 58, 237, 0.3);
}

.news-search input::placeholder {
    color: #64748b;
}

.news-search i {
    position: absolute;
    left: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    color: #7c3aed;
    font-size: 1.2rem;
}

/* News Grid */
.news-grid-section {
    padding: 60px 0;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
}

/* News Card */
.news-card {
    background: rgba(15, 23, 42, 0.8);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(124, 58, 237, 0.2);
    position: relative;
}

.news-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(124, 58, 237, 0.3);
    border-color: #7c3aed;
}

.featured-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: #000;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    box-shadow: 0 4px 15px rgba(251, 191, 36, 0.4);
}

.news-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

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

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

.category-badge {
    position: absolute;
    bottom: 15px;
    left: 15px;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.category-badge.sports {
    background: rgba(34, 197, 94, 0.9);
    color: #fff;
}

.category-badge.movies {
    background: rgba(239, 68, 68, 0.9);
    color: #fff;
}

.category-badge.series {
    background: rgba(168, 139, 250, 0.9);
    color: #fff;
}

.category-badge.offers {
    background: rgba(251, 191, 36, 0.9);
    color: #000;
}

.news-content {
    padding: 1.5rem;
}

.news-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    color: #94a3b8;
    font-size: 0.9rem;
}

.news-date {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.news-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.news-description {
    color: #cbd5e1;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.news-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #7c3aed;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.news-link:hover {
    color: #fbbf24;
    gap: 0.8rem;
}

/* Loading State */
.loading {
    text-align: center;
    padding: 4rem 0;
    color: #7c3aed;
}

.loading i {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.loading p {
    font-size: 1.2rem;
    color: #cbd5e1;
}

/* No Results */
.no-results {
    text-align: center;
    padding: 4rem 0;
}

.no-results i {
    font-size: 4rem;
    color: #64748b;
    margin-bottom: 1rem;
}

.no-results h3 {
    font-size: 1.8rem;
    color: #fff;
    margin-bottom: 0.5rem;
}

.no-results p {
    color: #94a3b8;
    font-size: 1.1rem;
}

/* Error Message */
.error-message {
    text-align: center;
    padding: 4rem 0;
    color: #ef4444;
}

.error-message i {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.error-message p {
    font-size: 1.2rem;
}

/* RSS Section */
.rss-section {
    padding: 40px 0 80px;
}

.rss-box {
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.1) 0%, rgba(124, 58, 237, 0.1) 100%);
    border: 2px solid rgba(251, 191, 36, 0.3);
    border-radius: 20px;
    padding: 2rem;
    display: flex;
    align-items: center;
    gap: 2rem;
    transition: all 0.3s ease;
}

.rss-box:hover {
    border-color: #fbbf24;
    box-shadow: 0 10px 30px rgba(251, 191, 36, 0.2);
}

.rss-box i {
    font-size: 3rem;
    color: #fbbf24;
}

.rss-content {
    flex: 1;
}

.rss-content h3 {
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: 0.5rem;
}

.rss-content p {
    color: #cbd5e1;
}

.rss-btn {
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: #000;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.rss-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(251, 191, 36, 0.4);
}

/* Responsive Design */
@media (max-width: 768px) {
    .news-title {
        font-size: 2rem;
    }

    .news-subtitle {
        font-size: 1rem;
    }

    .news-filters {
        gap: 0.5rem;
    }

    .filter-btn {
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
    }

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

    .rss-box {
        flex-direction: column;
        text-align: center;
    }

    .rss-btn {
        width: 100%;
        justify-content: center;
    }
}
