/* News Page Styles */
.news-page {
    padding: 40px 0;
}

.news-header {
    text-align: center;
    margin-bottom: 40px;
    animation: slideIn 0.6s ease-out;
}

.news-header h1 {
    font-family: 'Lilita One', cursive;
    font-size: 3rem;
    color: var(--brawl-yellow);
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.4);
    margin-bottom: 15px;
}

.news-header p {
    font-size: 1.2rem;
    color: var(--text-secondary);
}

/* Featured News */
.featured-news {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: 40px;
    box-shadow: var(--shadow-lg);
    border: 3px solid var(--brawl-yellow);
    animation: slideIn 0.6s ease-out;
}

.featured-news-image {
    width: 100%;
    height: 350px;
    background: linear-gradient(135deg, rgba(30, 58, 95, 0.8) 0%, rgba(15, 52, 96, 0.8) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.featured-news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.featured-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--brawl-red);
    color: white;
    padding: 10px 20px;
    border-radius: var(--radius-xl);
    font-weight: 700;
    font-size: 0.9rem;
    box-shadow: var(--shadow-md);
    text-transform: uppercase;
}

.featured-news-content {
    padding: 30px;
}

.featured-news-content h2 {
    font-family: 'Lilita One', cursive;
    font-size: 2.2rem;
    color: var(--text-primary);
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.featured-news-content p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 20px;
}

.news-meta {
    display: flex;
    gap: 20px;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.news-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

/* News Grid */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 25px;
}

.news-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 2px solid transparent;
    transition: all 0.3s ease;
    cursor: pointer;
    animation: slideIn 0.5s ease-out;
    animation-fill-mode: both;
}

.news-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: var(--brawl-yellow);
    box-shadow: var(--shadow-glow);
}

.news-card-image {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, rgba(30, 58, 95, 0.8) 0%, rgba(15, 52, 96, 0.8) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.news-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-card-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--brawl-blue);
    color: white;
    padding: 6px 12px;
    border-radius: var(--radius-xl);
    font-weight: 700;
    font-size: 0.75rem;
    box-shadow: var(--shadow-sm);
    text-transform: uppercase;
}

.news-card-badge.update {
    background: var(--brawl-green);
}

.news-card-badge.event {
    background: var(--brawl-purple);
}

.news-card-badge.patch {
    background: var(--brawl-orange);
}

.news-card-content {
    padding: 20px;
}

.news-card-content h3 {
    font-family: 'Lilita One', cursive;
    font-size: 1.4rem;
    color: var(--text-primary);
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    line-height: 1.3;
}

.news-card-content p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-card-meta {
    display: flex;
    gap: 15px;
    color: var(--text-muted);
    font-size: 0.85rem;
}

.news-card-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

/* News Modal */
.news-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    padding: 20px;
    animation: fadeIn 0.3s ease-out;
}

.news-modal-content {
    background: var(--bg-card);
    border-radius: var(--radius-xl);
    max-width: 900px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: var(--shadow-lg);
    border: 3px solid var(--brawl-yellow);
    animation: slideIn 0.4s ease-out;
}

.news-modal-image {
    width: 100%;
    height: 300px;
    background: linear-gradient(135deg, rgba(30, 58, 95, 0.8) 0%, rgba(15, 52, 96, 0.8) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.news-modal-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-modal-body {
    padding: 35px;
}

.news-modal-body h2 {
    font-family: 'Lilita One', cursive;
    font-size: 2.5rem;
    color: var(--text-primary);
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.news-modal-body .news-meta {
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 2px solid rgba(255, 193, 7, 0.3);
}

.news-modal-body p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 20px;
    font-size: 1.05rem;
}

/* Load More Button */
.load-more {
    text-align: center;
    margin-top: 40px;
}

.load-more button {
    background: var(--bg-button);
    color: var(--brawl-darker);
    border: none;
    padding: 15px 40px;
    border-radius: var(--radius-xl);
    font-family: 'Nunito', sans-serif;
    font-weight: 800;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.load-more button:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-glow);
}

/* Responsive */
@media (max-width: 768px) {
    .news-header h1 {
        font-size: 2rem;
    }
    
    .featured-news-image {
        height: 250px;
    }
    
    .featured-news-content h2 {
        font-size: 1.6rem;
    }
    
    .news-grid {
        grid-template-columns: 1fr;
    }
    
    .news-modal-image {
        height: 200px;
    }
    
    .news-modal-body h2 {
        font-size: 1.8rem;
    }
    
    .news-modal-body {
        padding: 25px;
    }
}
