/* style/news-center.css */

/* General Page Styling */
.page-news-center {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f8f8;
}

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

.page-news-center__highlight {
    color: #003366; /* Main brand color for emphasis */
    font-weight: bold;
}

/* Hero Section */
.page-news-center__hero {
    background: linear-gradient(135deg, #003366 0%, #004488 100%); /* Dark blue gradient */
    color: #ffffff;
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-news-center__hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 204, 0, 0.1) 10%, transparent 70%); /* Subtle golden overlay */
    animation: page-news-center__hero-glow 15s infinite alternate;
    pointer-events: none;
    opacity: 0.3;
}

@keyframes page-news-center__hero-glow {
    0% { transform: translate(0, 0) rotate(0deg); opacity: 0.3; }
    50% { transform: translate(10%, 10%) rotate(5deg); opacity: 0.5; }
    100% { transform: translate(0, 0) rotate(0deg); opacity: 0.3; }
}

.page-news-center__hero-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

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

.page-news-center__cta-button {
    display: inline-block;
    background-color: #FFCC00; /* Auxiliary golden yellow */
    color: #003366; /* Deep blue for text */
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, transform 0.3s ease;
    border: none;
    cursor: pointer;
}

.page-news-center__cta-button:hover {
    background-color: #e6b800; /* Darker yellow on hover */
    transform: translateY(-3px);
}

/* Section Styling */
.page-news-center__section {
    padding: 60px 0;
    background-color: #ffffff;
    margin-bottom: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 51, 102, 0.05); /* Subtle shadow from main color */
}

.page-news-center__section:nth-of-type(even) {
    background-color: #f0f4f8; /* Light blue-grey for alternating sections */
}

.page-news-center__section-title {
    font-size: 2.5em;
    color: #003366; /* Main brand color */
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}

.page-news-center__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: #FFCC00; /* Auxiliary color for underline */
    border-radius: 2px;
}

.page-news-center__section-description {
    font-size: 1.1em;
    text-align: center;
    max-width: 900px;
    margin: 0 auto 40px auto;
    color: #555;
}

/* News Grid */
.page-news-center__news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.page-news-center__news-item {
    background-color: #ffffff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 51, 102, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.page-news-center__news-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(0, 51, 102, 0.15);
}

.page-news-center__news-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-bottom: 3px solid #FFCC00; /* Auxiliary color border */
}

.page-news-center__news-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.page-news-center__news-title {
    font-size: 1.5em;
    color: #003366;
    margin-bottom: 10px;
    line-height: 1.3;
}

.page-news-center__news-meta {
    font-size: 0.9em;
    color: #777;
    margin-bottom: 15px;
}

.page-news-center__news-excerpt {
    font-size: 1em;
    color: #444;
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-news-center__read-more {
    display: inline-block;
    color: #FFCC00; /* Auxiliary color for link */
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
    align-self: flex-start;
}

.page-news-center__read-more:hover {
    color: #e6b800;
    text-decoration: underline;
}

/* Platform Updates List */
.page-news-center__update-list {
    list-style: none;
    padding: 0;
    margin: 0 auto;
    max-width: 900px;
}

.page-news-center__update-list li {
    background-color: #fdfdfd;
    border: 1px solid #eee;
    border-left: 5px solid #003366; /* Main color accent */
    margin-bottom: 20px;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.page-news-center__update-title {
    font-size: 1.3em;
    color: #003366;
    margin-bottom: 10px;
}

.page-news-center__update-list p {
    color: #555;
}

.page-news-center__cta-button--secondary {
    background-color: transparent;
    border: 2px solid #003366;
    color: #003366;
    margin-left: 15px;
}

.page-news-center__cta-button--secondary:hover {
    background-color: #003366;
    color: #ffffff;
    transform: translateY(-3px);
}

/* Betting Tips Grid */
.page-news-center__tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.page-news-center__tip-item {
    background-color: #ffffff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 6px 15px rgba(0, 51, 102, 0.08);
    padding: 25px;
    text-align: center;
    transition: transform 0.3s ease;
}

.page-news-center__tip-item:hover {
    transform: translateY(-5px);
}

.page-news-center__tip-image {
    width: 100%;
    max-width: 150px;
    height: auto;
    margin-bottom: 20px;
    border-radius: 5px;
    border: 2px solid #FFCC00;
}

.page-news-center__tip-title {
    font-size: 1.4em;
    color: #003366;
    margin-bottom: 15px;
}

.page-news-center__tip-text {
    color: #555;
    font-size: 0.95em;
}

/* Bottom CTA Section */
.page-news-center__cta-bottom {
    background: linear-gradient(45deg, #003366, #004488);
    color: #ffffff;
    text-align: center;
    padding: 80px 0;
    margin-bottom: 0; /* Remove bottom margin for the last section */
}

.page-news-center__cta-title {
    font-size: 2.8em;
    margin-bottom: 20px;
    font-weight: 700;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
}

.page-news-center__cta-description {
    font-size: 1.2em;
    max-width: 900px;
    margin: 0 auto 40px auto;
    opacity: 0.9;
}

.page-news-center__cta-bottom .page-news-center__cta-button {
    margin: 0 10px;
    background-color: #FFCC00;
    color: #003366;
}

.page-news-center__cta-bottom .page-news-center__cta-button--secondary {
    background-color: transparent;
    border: 2px solid #FFCC00;
    color: #FFCC00;
}

.page-news-center__cta-bottom .page-news-center__cta-button--secondary:hover {
    background-color: #FFCC00;
    color: #003366;
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-news-center__hero-title {
        font-size: 2.5em;
    }
    .page-news-center__section-title {
        font-size: 2em;
    }
    .page-news-center__news-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    .page-news-center__hero {
        padding: 60px 0;
    }
    .page-news-center__hero-title {
        font-size: 2em;
    }
    .page-news-center__hero-subtitle {
        font-size: 1.1em;
    }
    .page-news-center__section {
        padding: 40px 0;
    }
    .page-news-center__section-title {
        font-size: 1.8em;
    }
    .page-news-center__news-item {
        flex-direction: column;
    }
    .page-news-center__news-image {
        height: 180px;
    }
    .page-news-center__cta-bottom .page-news-center__cta-button {
        margin: 10px 0;
        width: 80%;
    }
    .page-news-center__cta-bottom .page-news-center__cta-button--secondary {
        margin-left: 0;
    }
}

@media (max-width: 576px) {
    .page-news-center__hero-title {
        font-size: 1.8em;
    }
    .page-news-center__hero-subtitle {
        font-size: 1em;
    }
    .page-news-center__cta-button {
        padding: 12px 25px;
        font-size: 1em;
    }
    .page-news-center__section-title {
        font-size: 1.5em;
    }
    .page-news-center__news-grid,
    .page-news-center__tips-grid {
        grid-template-columns: 1fr;
    }
    .page-news-center__news-content,
    .page-news-center__tip-item {
        padding: 20px;
    }
    .page-news-center__cta-bottom .page-news-center__cta-title {
        font-size: 2em;
    }
    .page-news-center__cta-bottom .page-news-center__cta-description {
        font-size: 1em;
    }
}