.news-hero {
    position: relative;
    width: 100%;
    min-height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: transparent;
    border-bottom: 3px solid var(--nav-border);
    transition: background 0.4s ease, border-color 0.4s ease;
}

body.light-mode .news-hero {
    background: transparent;
}

.news-hero .hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background: url('../images/Banner1.jpg') center center / cover no-repeat;
    opacity: 0.15;
    transition: opacity 0.2s ease;
}

.news-hero-content {
    position: relative;
    z-index: 5;
    text-align: center;
    max-width: 800px;
    padding: 4rem 2rem;
}

.news-hero-content h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
    font-family: 'Orbitron', sans-serif;
    font-weight: 900;
    color: #ffffff;
    letter-spacing: 0.05em;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.5), 0 0 40px rgba(26, 35, 126, 0.8);
    transition: color 0.4s ease, text-shadow 0.4s ease;
}

.news-hero-content p {
    font-size: 1.3rem;
    font-family: 'Orbitron', sans-serif;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.95);
    letter-spacing: 0.03em;
    transition: color 0.4s ease;
}

body.light-mode .news-hero-content h1 {
    color: #000000;
    text-shadow: 0 0 20px rgba(0, 0, 0, 0.3), 0 0 40px rgba(100, 181, 246, 0.5);
}

body.light-mode .news-hero-content p {
    color: #000000;
}

.news-filters {
    background: transparent;
    padding: 4rem 2rem 4rem 2rem;
    position: relative;
    z-index: 100;
    transition: background 0.4s ease;
}

.news-filters .filter-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.news-filter-btn {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid #b71c1c;
    padding: 0.75rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    font-family: 'Orbitron', sans-serif;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.4s ease, border-color 0.4s ease, transform 0.4s ease, box-shadow 0.4s ease, color 0.4s ease;
}

.news-filter-btn:hover {
    border-color: #b71c1c;
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(183, 28, 28, 0.3);
}

.news-filter-btn.active {
    background: #b71c1c;
    color: #ffffff;
    border-color: #b71c1c;
    box-shadow: 0 8px 20px rgba(183, 28, 28, 0.4);
}

body.light-mode .news-filter-btn {
    border-color: #64B5F6;
}

body.light-mode .news-filter-btn:hover {
    border-color: #64B5F6;
    box-shadow: 0 8px 16px rgba(100, 181, 246, 0.3);
}

body.light-mode .news-filter-btn.active {
    background: #64B5F6;
    color: #ffffff;
    border-color: #64B5F6;
    box-shadow: 0 8px 20px rgba(100, 181, 246, 0.4);
}

.news-grid {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
    gap: 2.5rem;
}

.news-card {
    background: var(--nav-bg);
    border: 2px solid var(--nav-border);
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.4s cubic-bezier(0.4, 0, 0.2, 1), background 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    cursor: pointer;
}

.news-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26, 35, 126, 0.1) 0%, rgba(183, 28, 28, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    z-index: 1;
}

.news-card:hover::before {
    opacity: 1;
}

.news-card:hover {
    transform: translateY(-8px);
    border-color: #b71c1c;
    box-shadow: 0 16px 40px rgba(183, 28, 28, 0.3),
                0 0 60px rgba(26, 35, 126, 0.2);
}

body.light-mode .news-card:hover {
    border-color: #1976D2;
    box-shadow: 0 16px 40px rgba(25, 118, 210, 0.3),
                0 0 60px rgba(107, 140, 196, 0.2);
}

.news-card.featured {
    grid-column: span 2;
}

.news-card.featured .news-card-image {
    height: 400px;
}

.news-card.featured h2 {
    font-size: 2rem;
}

.news-card-image {
    position: relative;
    width: 100%;
    height: 250px;
    overflow: hidden;
    background: #000000;
}

.news-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.news-card-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60%;
    background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.8));
    z-index: 1;
}

.news-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.5rem 1rem;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-radius: 20px;
    z-index: 2;
    backdrop-filter: blur(10px);
}

.featured-badge {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    color: #000000;
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.4);
}

.release-badge {
    background: linear-gradient(135deg, #1a237e 0%, #b71c1c 100%);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(183, 28, 28, 0.4);
}

.event-badge {
    background: linear-gradient(135deg, #4CAF50 0%, #2E7D32 100%);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.4);
}

body.light-mode .release-badge {
    background: linear-gradient(135deg, #6b8cc4 0%, #1976D2 100%);
}

.news-card-content {
    padding: 2rem;
    position: relative;
    z-index: 2;
}

.news-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    gap: 1rem;
}

.news-category {
    display: inline-block;
    padding: 0.4rem 0.8rem;
    background: rgba(26, 35, 126, 0.2);
    color: var(--text-primary);
    font-family: 'Orbitron', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-radius: 12px;
    border: 1px solid var(--nav-border);
    transition: all 0.4s ease;
}

body.light-mode .news-category {
    background: rgba(107, 140, 196, 0.2);
}

.news-date {
    color: var(--text-secondary);
    font-family: 'Orbitron', sans-serif;
    font-size: 0.85rem;
    font-weight: 400;
    opacity: 0.7;
    transition: color 0.4s ease;
}

.news-card-content h2,
.news-card-content h3 {
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
    line-height: 1.3;
    transition: color 0.4s ease;
}

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

.news-card-content h3 {
    font-size: 1.3rem;
}

.news-card:hover h2,
.news-card:hover h3 {
    color: #b71c1c;
}

body.light-mode .news-card:hover h2,
body.light-mode .news-card:hover h3 {
    color: #1976D2;
}

.news-card-content p {
    color: var(--text-secondary);
    font-family: 'Orbitron', sans-serif;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.news-read-more {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-primary);
    font-family: 'Orbitron', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
    position: relative;
}

.news-read-more::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #1a237e, #b71c1c);
    transition: width 0.3s ease;
}

.news-read-more:hover::after {
    width: 100%;
}

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

body.light-mode .news-read-more::after {
    background: linear-gradient(90deg, #6b8cc4, #1976D2);
}

body.light-mode .news-read-more:hover {
    color: #1976D2;
}

.news-no-results {
    max-width: 800px;
    margin: 4rem auto;
    padding: 3rem 2rem;
    text-align: center;
    background: var(--nav-bg);
    border: 2px solid var(--nav-border);
    border-radius: 16px;
}

.news-no-results p {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.2rem;
    color: var(--text-secondary);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .news-card.featured {
        grid-column: span 1;
    }

    .news-card.featured .news-card-image {
        height: 250px;
    }

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

@media (max-width: 768px) {
    .news-hero-content h1 {
        font-size: 2.5rem;
    }

    .news-hero-content p {
        font-size: 1rem;
    }

    .news-filters {
        top: 140px;
        padding: 1.5rem 1rem;
    }

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

    .news-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin: 2rem auto;
    }

    .news-card-content {
        padding: 1.5rem;
    }

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

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

    .news-card-content p {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .news-hero-content {
        padding: 3rem 1.5rem;
    }

    .news-hero-content h1 {
        font-size: 2rem;
    }

    .news-filter-btn {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }

    .news-card-image {
        height: 200px;
    }

    .news-badge {
        font-size: 0.65rem;
        padding: 0.4rem 0.8rem;
    }
}
