/* News & Updates Page Specific Styles */

.news-hero {
    padding: 2rem 0 3rem;
}

.page-header {
    position: relative;
    z-index: 5;
    text-align: center;
    padding: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.page-title {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #FCD116, #ffffff);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: bold;
}

.page-subtitle {
    font-size: 1.3rem;
    color: #e0e0e0;
    line-height: 1.6;
}

/* Breaking News Alert */
.breaking-news {
    background: linear-gradient(135deg, #d32f2f, #f57c00);
    padding: 1rem 0;
    position: relative;
    overflow: hidden;
    animation: pulse-glow 2s infinite;
}

@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 0 20px rgba(211, 47, 47, 0.3); }
    50% { box-shadow: 0 0 30px rgba(211, 47, 47, 0.6); }
}

.breaking-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    color: white;
    font-weight: bold;
}

.breaking-label {
    background: rgba(255, 255, 255, 0.2);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.9rem;
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0.7; }
}

.breaking-text {
    flex: 1;
    text-align: center;
}

.breaking-close {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.2rem 0.5rem;
    border-radius: 50%;
    transition: background 0.3s ease;
}

.breaking-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* News Content */
.news-content {
    background: #111111;
    padding: 3rem 2rem;
}

/* News Navigation */
.news-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    gap: 1rem;
    background: linear-gradient(135deg, #1a1a1a, #2a2a2a);
    padding: 1.5rem;
    border-radius: 15px;
    border: 1px solid rgba(252, 209, 22, 0.1);
}

.nav-filters {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.7rem 1.5rem;
    background: transparent;
    border: 1px solid #555;
    color: #aaa;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.filter-btn.active,
.filter-btn:hover {
    background: #FCD116;
    color: #000;
    border-color: #FCD116;
    transform: translateY(-2px);
}

.search-box {
    display: flex;
    gap: 0.5rem;
}

.search-box input {
    padding: 0.7rem 1rem;
    background: #333;
    border: 1px solid #555;
    border-radius: 25px;
    color: #fff;
    width: 250px;
}

.search-box input:focus {
    outline: none;
    border-color: #FCD116;
    box-shadow: 0 0 10px rgba(252, 209, 22, 0.3);
}

.search-box button {
    padding: 0.7rem 1rem;
    background: #FCD116;
    border: none;
    border-radius: 25px;
    color: #000;
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-box button:hover {
    background: #FFD740;
    transform: scale(1.05);
}

/* Featured Section */
.featured-section {
    margin-bottom: 4rem;
}

.featured-section h2 {
    font-size: 2.5rem;
    color: #FCD116;
    margin-bottom: 2rem;
    text-align: center;
}

.featured-article {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 2rem;
    background: linear-gradient(135deg, #1a1a1a, #2a2a2a);
    border-radius: 20px;
    padding: 2rem;
    border: 1px solid rgba(252, 209, 22, 0.2);
    position: relative;
    overflow: hidden;
}

.featured-article::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #FCD116, #0057B8, #FCD116);
    background-size: 200% 100%;
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.featured-image {
    position: relative;
    background: linear-gradient(135deg, #333, #444);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 200px;
}

.image-placeholder {
    font-size: 4rem;
    color: #FCD116;
    filter: drop-shadow(0 0 20px rgba(252, 209, 22, 0.3));
}

.featured-category {
    position: absolute;
    top: 15px;
    left: 15px;
    background: linear-gradient(135deg, #d32f2f, #f57c00);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: bold;
}

.featured-content h3 {
    font-size: 1.8rem;
    color: #ffffff;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.article-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.article-meta span {
    font-size: 0.9rem;
    color: #aaa;
}

.priority {
    padding: 0.2rem 0.6rem;
    border-radius: 10px;
    font-weight: bold;
    font-size: 0.8rem;
}

.priority.high {
    background: #d32f2f;
    color: white;
}

.priority.medium {
    background: #f57c00;
    color: white;
}

.priority.low {
    background: #4caf50;
    color: white;
}

.priority.critical {
    background: #9c27b0;
    color: white;
    animation: pulse 1.5s infinite;
}

.featured-content p {
    color: #c0c0c0;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.featured-actions {
    display: flex;
    gap: 1rem;
}

.read-more-btn {
    background: linear-gradient(135deg, #FCD116, #0057B8);
    color: #ffffff;
    padding: 0.8rem 2rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
}

.read-more-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(252, 209, 22, 0.3);
}

.share-btn {
    background: transparent;
    border: 2px solid #FCD116;
    color: #FCD116;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
}

.share-btn:hover {
    background: #FCD116;
    color: #000;
}

/* News Section */
.news-section {
    margin-bottom: 4rem;
}

.news-section h2 {
    font-size: 2.5rem;
    color: #FCD116;
    margin-bottom: 2rem;
    text-align: center;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.news-card {
    background: linear-gradient(135deg, #1a1a1a, #2a2a2a);
    border-radius: 15px;
    padding: 1.5rem;
    border: 1px solid rgba(252, 209, 22, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.news-card:hover {
    transform: translateY(-5px);
    border-color: rgba(252, 209, 22, 0.3);
    box-shadow: 0 10px 30px rgba(252, 209, 22, 0.1);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.card-category {
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: bold;
}

.card-category.alerts {
    background: linear-gradient(135deg, #d32f2f, #f57c00);
    color: white;
}

.card-category.updates {
    background: linear-gradient(135deg, #FCD116, #f57c00);
    color: #000;
}

.card-category.advisories {
    background: linear-gradient(135deg, #ff9800, #ffc107);
    color: #000;
}

.card-category.announcements {
    background: linear-gradient(135deg, #4caf50, #8bc34a);
    color: white;
}

.card-date {
    color: #aaa;
    font-size: 0.9rem;
}

.news-card h3 {
    color: #ffffff;
    margin-bottom: 1rem;
    font-size: 1.2rem;
    line-height: 1.4;
}

.news-card p {
    color: #c0c0c0;
    line-height: 1.5;
    margin-bottom: 1.5rem;
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.priority-badge {
    padding: 0.2rem 0.6rem;
    border-radius: 10px;
    font-size: 0.8rem;
    font-weight: bold;
}

.priority-badge.critical {
    background: #9c27b0;
    color: white;
    animation: pulse 1.5s infinite;
}

.priority-badge.high {
    background: #d32f2f;
    color: white;
}

.priority-badge.medium {
    background: #f57c00;
    color: white;
}

.priority-badge.low {
    background: #4caf50;
    color: white;
}

.read-link {
    color: #FCD116;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.read-link:hover {
    color: #FFD740;
    text-decoration: underline;
}

/* Load More Section */
.load-more-section {
    text-align: center;
}

.load-more-btn {
    background: transparent;
    border: 2px solid #FCD116;
    color: #FCD116;
    padding: 1rem 2rem;
    border-radius: 25px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: bold;
    transition: all 0.3s ease;
}

.load-more-btn:hover {
    background: #FCD116;
    color: #000;
    transform: scale(1.05);
}

/* Updates Section */
.updates-section {
    margin-bottom: 4rem;
}

.updates-section h2 {
    font-size: 2.5rem;
    color: #FCD116;
    margin-bottom: 2rem;
    text-align: center;
}

.updates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.update-card {
    background: linear-gradient(135deg, #1a1a1a, #2a2a2a);
    border-radius: 15px;
    padding: 1.5rem;
    border: 1px solid rgba(252, 209, 22, 0.1);
    transition: all 0.3s ease;
}

.update-card:hover {
    transform: translateY(-3px);
    border-color: rgba(252, 209, 22, 0.3);
}

.update-header {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.update-icon {
    font-size: 2rem;
    color: #FCD116;
}

.update-info h3 {
    color: #ffffff;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.update-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.9rem;
}

.update-date {
    color: #aaa;
}

.update-status {
    padding: 0.2rem 0.6rem;
    border-radius: 10px;
    font-size: 0.8rem;
    font-weight: bold;
}

.update-status.deployed {
    background: #4caf50;
    color: white;
}

.update-status.pending {
    background: #ff9800;
    color: white;
}

.update-status.available {
    background: #FCD116;
    color: #000;
}

.update-card p {
    color: #c0c0c0;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.update-actions {
    display: flex;
    gap: 0.5rem;
}

.download-btn,
.schedule-btn,
.details-btn {
    padding: 0.5rem 1rem;
    border-radius: 20px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: bold;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.download-btn {
    background: #FCD116;
    color: #000;
}

.schedule-btn {
    background: #ff9800;
    color: white;
}

.details-btn {
    background: transparent;
    color: #FCD116;
    border: 1px solid #FCD116;
}

.download-btn:hover,
.schedule-btn:hover {
    transform: scale(1.05);
}

.details-btn:hover {
    background: #FCD116;
    color: #000;
}

/* Subscription Section */
.subscription-section {
    background: linear-gradient(135deg, #3d0000, #6b0000);
    border-radius: 20px;
    padding: 3rem;
    margin: 4rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.subscription-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 20%, rgba(252, 209, 22, 0.1) 0%, transparent 50%);
}

.subscription-content {
    position: relative;
    z-index: 2;
}

.subscription-section h2 {
    color: #ffffff;
    font-size: 2.2rem;
    margin-bottom: 1rem;
}

.subscription-section > p {
    color: #e0e0e0;
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
}

.subscription-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.subscription-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.subscription-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
}

.sub-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.subscription-card h3 {
    color: #ffffff;
    margin-bottom: 1rem;
}

.subscription-card p {
    color: #e0e0e0;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.subscription-form {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.subscription-form input {
    padding: 0.8rem;
    border: none;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.9);
    color: #333;
}

.subscription-form button,
.notification-btn {
    padding: 0.8rem;
    background: #FCD116;
    color: #000;
    border: none;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.subscription-form button:hover,
.notification-btn:hover {
    background: #FFD740;
    transform: scale(1.02);
}

/* Archive Section */
.archive-section {
    margin: 4rem 0;
}

.archive-section h2 {
    font-size: 2.5rem;
    color: #FCD116;
    margin-bottom: 2rem;
    text-align: center;
}

.archive-filters {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.archive-filters select,
.archive-filters button {
    padding: 0.7rem 1rem;
    background: #333;
    border: 1px solid #555;
    color: #fff;
    border-radius: 8px;
    cursor: pointer;
}

.archive-filters button {
    background: #FCD116;
    color: #000;
    font-weight: bold;
    transition: all 0.3s ease;
}

.archive-filters button:hover {
    background: #FFD740;
}

.archive-results {
    background: linear-gradient(135deg, #1a1a1a, #2a2a2a);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    color: #aaa;
    min-height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* RSS Section */
.rss-section {
    margin: 4rem 0;
}

.rss-section h2 {
    font-size: 2.5rem;
    color: #FCD116;
    margin-bottom: 2rem;
    text-align: center;
}

.rss-feeds {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.rss-feed {
    background: linear-gradient(135deg, #1a1a1a, #2a2a2a);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid rgba(252, 209, 22, 0.1);
    display: flex;
    gap: 1rem;
    transition: all 0.3s ease;
}

.rss-feed:hover {
    border-color: rgba(252, 209, 22, 0.3);
    transform: translateY(-3px);
}

.rss-icon {
    font-size: 2rem;
    color: #FCD116;
}

.rss-content h3 {
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.rss-content p {
    color: #aaa;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.rss-link {
    color: #FCD116;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.rss-link:hover {
    color: #FFD740;
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    .page-title {
        font-size: 2.5rem;
    }
    
    .news-nav {
        flex-direction: column;
        align-items: stretch;
    }
    
    .nav-filters {
        justify-content: center;
    }
    
    .search-box {
        justify-content: center;
    }
    
    .search-box input {
        width: 200px;
    }
    
    .featured-article {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .featured-image {
        min-height: 150px;
    }
    
    .news-grid {
        grid-template-columns: 1fr;
    }
    
    .subscription-options {
        grid-template-columns: 1fr;
    }
    
    .archive-filters {
        flex-direction: column;
        align-items: center;
    }
    
    .breaking-content {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
    
    .breaking-text {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .news-content {
        padding: 2rem 1rem;
    }
    
    .featured-article,
    .news-card,
    .update-card {
        padding: 1rem;
    }
    
    .subscription-section {
        padding: 2rem 1rem;
    }
    
    .filter-btn {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }
}