/* style/news.css */
.page-news {
    font-family: 'Arial', sans-serif;
    color: #e0e0e0;
    background-color: #0A192F;
    line-height: 1.6;
}

.page-news-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-news-hero {
    background: linear-gradient(135deg, #0A192F, #1e3a62);
    padding: 100px 0;
    text-align: center;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.page-news-hero::before {
    content: '';
    position: absolute;
    top: -50px;
    left: -50px;
    width: 200px;
    height: 200px;
    background-color: rgba(255, 215, 0, 0.1);
    border-radius: 50%;
    animation: page-news-float 10s ease-in-out infinite alternate;
}

.page-news-hero::after {
    content: '';
    position: absolute;
    bottom: -50px;
    right: -50px;
    width: 150px;
    height: 150px;
    background-color: rgba(255, 215, 0, 0.15);
    border-radius: 50%;
    animation: page-news-float 12s ease-in-out infinite alternate-reverse;
}

@keyframes page-news-float {
    0% { transform: translate(0, 0); }
    100% { transform: translate(20px, 20px); }
}

.page-news-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    color: #FFD700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    font-weight: bold;
}

.page-news-subtitle {
    font-size: 1.3em;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: #ccc;
}

.page-news-btn {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    font-size: 1.1em;
    cursor: pointer;
    border: none;
}

.page-news-btn-primary {
    background-color: #FFD700;
    color: #0A192F;
}

.page-news-btn-primary:hover {
    background-color: #e6c200;
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.page-news-btn-secondary {
    background-color: #1e3a62;
    color: #FFD700;
    border: 1px solid #FFD700;
}

.page-news-btn-secondary:hover {
    background-color: #FFD700;
    color: #0A192F;
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.page-news-btn-link {
    background: none;
    color: #FFD700;
    padding: 0;
    text-decoration: underline;
    font-weight: normal;
}

.page-news-btn-link:hover {
    color: #e6c200;
    text-decoration: none;
}

.page-news-intro, .page-news-featured, .page-news-categories, .page-news-cta-section {
    padding: 60px 0;
    text-align: center;
}

.page-news-section-title {
    font-size: 2.5em;
    color: #FFD700;
    margin-bottom: 40px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.page-news-intro p, .page-news-description {
    font-size: 1.1em;
    max-width: 900px;
    margin: 0 auto 20px auto;
    color: #c0c0c0;
    text-align: justify;
}

.page-news-image-full-width {
    width: 100%;
    max-width: 900px;
    height: auto;
    border-radius: 10px;
    margin-top: 30px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

.page-news-featured-grid, .page-news-article-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-news-featured-card, .page-news-article-card {
    background-color: #1e3a62;
    border-radius: 12px;
    padding: 25px;
    text-align: left;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-news-featured-card:hover, .page-news-article-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.4);
}

.page-news-card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.page-news-card-title {
    font-size: 1.5em;
    color: #FFD700;
    margin-bottom: 15px;
    line-height: 1.4;
}

.page-news-card-title a {
    color: #FFD700;
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-news-card-title a:hover {
    color: #e6c200;
    text-decoration: underline;
}

.page-news-card-description {
    font-size: 1em;
    color: #b0b0b0;
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-news-cta-content {
    background-color: #1e3a62;
    padding: 50px;
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
    margin-top: 60px;
}

.page-news-cta-buttons {
    margin-top: 30px;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.page-news-floating-promo {
    position: fixed;
    right: 20px;
    bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 1000;
}

.page-news-floating-btn {
    display: block;
    width: 80px;
    padding: 10px 0;
    text-align: center;
    background-color: #FFD700;
    color: #0A192F;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.9em;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-news-floating-btn:hover {
    background-color: #e6c200;
    transform: scale(1.05);
}

.page-news-floating-btn-register {
    background-color: #FFD700;
}

.page-news-floating-btn-login {
    background-color: #FFD700;
}

.page-news-floating-btn-download {
    background-color: #FFD700;
}

.page-news-floating-btn-promo {
    background-color: #FFD700;
}

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

    .page-news-subtitle {
        font-size: 1.1em;
    }

    .page-news-section-title {
        font-size: 2em;
    }

    .page-news-featured-grid, .page-news-article-list {
        grid-template-columns: 1fr;
    }

    .page-news-cta-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .page-news-btn {
        width: 80%;
        margin: 0 auto;
    }

    .page-news-floating-promo {
        right: 10px;
        bottom: 10px;
        width: 70px;
    }

    .page-news-floating-btn {
        width: 100%;
        padding: 8px 0;
        font-size: 0.8em;
    }
}

@media (max-width: 480px) {
    .page-news-hero {
        padding: 60px 0;
    }

    .page-news-title {
        font-size: 2em;
    }

    .page-news-subtitle {
        font-size: 1em;
    }

    .page-news-intro, .page-news-featured, .page-news-categories, .page-news-cta-section {
        padding: 40px 0;
    }

    .page-news-section-title {
        font-size: 1.8em;
    }

    .page-news-container {
        padding: 0 15px;
    }

    .page-news-cta-content {
        padding: 30px;
    }
}