/* News Page Styles */

.news-page {
    background: linear-gradient(135deg, #fefbef 0%, #f9fafb 100%);
    min-height: 100vh;
    padding-top: 2rem;
}

.page-header {
    text-align: center;
    padding: 3rem 0;
    background: linear-gradient(135deg, #ea580c 0%, #f59e0b 100%);
    color: white;
    margin-bottom: 3rem;
    border-radius: 0 0 2rem 2rem;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="news-pattern" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23news-pattern)"/></svg>');
    opacity: 0.7;
}

.page-header h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 1;
}

.page-subtitle {
    font-size: 1.25rem;
    opacity: 0.9;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

.news-categories {
    background: white;
    border-radius: 1rem;
    padding: 1.5rem;
    margin-bottom: 3rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.category-tabs {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.category-tab {
    background: transparent;
    border: 2px solid var(--border);
    color: var(--muted-foreground);
    padding: 0.75rem 1.5rem;
    border-radius: 2rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.category-tab:hover {
    border-color: #f59e0b;
    color: #ea580c;
    transform: translateY(-2px);
}

.category-tab.active {
    background: linear-gradient(135deg, #ea580c, #f59e0b);
    color: white;
    border-color: transparent;
    box-shadow: 0 5px 20px rgba(234, 88, 12, 0.3);
}

.news-grid {
    display: grid;
    gap: 2rem;
    margin-bottom: 4rem;
}

.news-item {
    background: white;
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 2px solid transparent;
}

.news-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    border-color: #f59e0b;
}

.news-item.featured {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 0;
    background: linear-gradient(135deg, #fef3c7 0%, #fed7aa 100%);
}

.news-item.featured-monthly {
    background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
    border: 2px solid #10b981;
}

.news-image {
    position: relative;
    height: 200px;
    background: linear-gradient(135deg, #f3f4f6, #e5e7eb);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.news-item.featured .news-image {
    height: auto;
    min-height: 300px;
}

.news-image-placeholder {
    font-size: 4rem;
    color: #9ca3af;
    opacity: 0.7;
}

.news-category-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: linear-gradient(135deg, #ea580c, #f59e0b);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 1rem;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.news-content {
    padding: 2rem;
}

.news-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.news-date,
.news-author {
    font-size: 0.85rem;
    color: var(--muted-foreground);
}

.news-date {
    font-weight: 600;
}

.news-content h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.news-content h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.news-content h2 a,
.news-content h3 a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.news-content h2 a:hover,
.news-content h3 a:hover {
    color: #ea580c;
}

.news-content p {
    color: var(--muted-foreground);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.news-tags {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.tag {
    background: linear-gradient(135deg, #f3f4f6, #e5e7eb);
    color: var(--muted-foreground);
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.tag:hover {
    background: #f59e0b;
    color: white;
    transform: translateY(-1px);
}

.game-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1rem;
    margin: 1.5rem 0;
    padding: 1.5rem;
    background: white;
    border-radius: 1rem;
    border: 2px solid #10b981;
}

.highlight-item {
    text-align: center;
}

.highlight-label {
    display: block;
    font-size: 0.8rem;
    color: var(--muted-foreground);
    margin-bottom: 0.25rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.highlight-value {
    font-size: 1.1rem;
    font-weight: 700;
    color: #10b981;
}

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

.read-more:hover {
    color: #dc2626;
}

.newsletter-signup {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    border-radius: 1.5rem;
    padding: 3rem;
    margin-bottom: 3rem;
    color: white;
    box-shadow: 0 20px 60px rgba(59, 130, 246, 0.2);
}

.newsletter-content {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 2rem;
    align-items: center;
    max-width: 800px;
    margin: 0 auto;
}

.newsletter-icon {
    font-size: 3rem;
    opacity: 0.9;
}

.newsletter-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.newsletter-content p {
    opacity: 0.9;
    margin: 0;
}

.newsletter-form {
    display: flex;
    gap: 1rem;
    min-width: 300px;
}

.newsletter-form input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: none;
    border-radius: 0.5rem;
    font-size: 0.9rem;
}

.newsletter-form input:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3);
}

.newsletter-form .btn {
    flex-shrink: 0;
    background: white;
    color: #3b82f6;
    font-weight: 600;
}

.newsletter-form .btn:hover {
    background: #f3f4f6;
}

.newsletter-disclaimer {
    text-align: center;
    font-size: 0.8rem;
    opacity: 0.8;
    margin-top: 1rem;
}

.newsletter-disclaimer a {
    color: white;
    text-decoration: underline;
}

.news-archive {
    background: white;
    border-radius: 1.5rem;
    padding: 3rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.news-archive h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 2rem;
    text-align: center;
}

.archive-links {
    display: grid;
    gap: 1rem;
    max-width: 400px;
    margin: 0 auto;
}

.archive-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-radius: 0.75rem;
    text-decoration: none;
    color: var(--foreground);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.archive-link:hover {
    background: linear-gradient(135deg, #f59e0b, #ea580c);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(234, 88, 12, 0.2);
}

.article-count {
    font-size: 0.9rem;
    font-weight: 600;
    opacity: 0.8;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .news-item.featured {
        grid-template-columns: 1fr;
    }
    
    .newsletter-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 1.5rem;
    }
    
    .newsletter-form {
        min-width: auto;
    }
}

@media (max-width: 768px) {
    .page-header {
        padding: 2rem 1rem;
        margin-bottom: 2rem;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
    
    .category-tabs {
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 0.5rem;
    }
    
    .category-tab {
        flex-shrink: 0;
    }
    
    .news-grid {
        gap: 1.5rem;
    }
    
    .news-content {
        padding: 1.5rem;
    }
    
    .newsletter-signup {
        padding: 2rem;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .news-archive {
        padding: 2rem;
    }
}