/* style/news-center.css */

/* General page styling */
.page-news-center {
    font-family: 'Arial', sans-serif;
    color: #333333; /* Dark gray for general text for good contrast */
    line-height: 1.6;
    background-color: #f8f8f8; /* Light background for readability */
}

/* Container for content width */
.page-news-center-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Hero Section */
.page-news-center-hero {
    background: linear-gradient(135deg, #0A246A 0%, #0A246A 70%, #FFD700 100%); /* Royal Blue to Gold gradient */
    color: #ffffff; /* White text on dark background */
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

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

.page-news-center-hero::after {
    content: '';
    position: absolute;
    bottom: -50px;
    right: -50px;
    width: 150px;
    height: 150px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: page-news-center-pulse 4s infinite reverse ease-in-out;
}

@keyframes page-news-center-pulse {
    0% { transform: scale(0.8); opacity: 0.5; }
    50% { transform: scale(1.2); opacity: 0.8; }
    100% { transform: scale(0.8); opacity: 0.5; }
}


.page-news-center-title {
    font-size: 2.8em;
    margin-bottom: 20px;
    font-weight: bold;
    color: #FFD700; /* Gold for main title */
}

.page-news-center-subtitle {
    font-size: 1.2em;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: #f0f0f0; /* Slightly off-white for subtitle */
}

.page-news-center-cta-buttons {
    margin-top: 30px;
}

/* Buttons */
.page-news-center-btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    margin: 10px;
    cursor: pointer;
    font-size: 1em;
}

.page-news-center-btn-primary {
    background-color: #FFD700; /* Gold button */
    color: #0A246A; /* Royal Blue text */
    border: 2px solid #FFD700;
}

.page-news-center-btn-primary:hover {
    background-color: #e6c200; /* Darker gold on hover */
    border-color: #e6c200;
    transform: translateY(-2px);
}

.page-news-center-btn-secondary {
    background-color: transparent;
    color: #FFD700; /* Gold text */
    border: 2px solid #FFD700;
}

.page-news-center-btn-secondary:hover {
    background-color: #FFD700;
    color: #0A246A; /* Royal Blue text on hover */
    transform: translateY(-2px);
}

.page-news-center-btn-view-details {
    background-color: #0A246A; /* Royal Blue button */
    color: #FFD700; /* Gold text */
    border: 1px solid #0A246A;
    padding: 8px 18px;
    font-size: 0.9em;
}

.page-news-center-btn-view-details:hover {
    background-color: #1a3a8a; /* Darker Royal Blue on hover */
    border-color: #1a3a8a;
    transform: translateY(-1px);
}

.page-news-center-btn-hero {
    background-color: #FFD700;
    color: #0A246A;
    border: 2px solid #FFD700;
    font-size: 1.1em;
    padding: 15px 30px;
    margin-top: 20px;
}

.page-news-center-btn-hero:hover {
    background-color: #e6c200;
    border-color: #e6c200;
    transform: translateY(-3px) scale(1.02);
}

/* Content Area */
.page-news-center-content {
    padding: 60px 0;
    background-color: #f8f8f8;
}

.page-news-center-section-title {
    font-size: 2.2em;
    color: #0A246A; /* Royal Blue for section titles */
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 10px;
}

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

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

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

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

.page-news-center-news-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-news-center-news-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

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

.page-news-center-news-title {
    font-size: 1.4em;
    margin-bottom: 15px;
    color: #0A246A; /* Royal Blue for news titles */
    font-weight: bold;
}

.page-news-center-news-title a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

.page-news-center-news-title a:hover {
    color: #FFD700; /* Gold on hover */
}

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

/* Responsible Gambling & Why Choose Sections */
.page-news-center-responsible-gambling,
.page-news-center-why-choose-kkwin {
    padding: 60px 0;
    background-color: #ffffff;
    margin-top: 60px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-news-center-responsible-gambling .page-news-center-section-title,
.page-news-center-why-choose-kkwin .page-news-center-section-title {
    margin-bottom: 20px;
}

.page-news-center-responsible-gambling .page-news-center-description,
.page-news-center-why-choose-kkwin .page-news-center-description {
    text-align: left;
    max-width: 100%;
    margin-bottom: 20px;
    padding: 0 20px;
}

.page-news-center-features-list {
    list-style: none;
    padding: 0 20px;
    margin-bottom: 30px;
}

.page-news-center-features-list li {
    background-color: #f0f3f7; /* Light blue-gray background for list items */
    margin-bottom: 10px;
    padding: 15px 20px;
    border-left: 5px solid #0A246A; /* Royal Blue accent */
    border-radius: 5px;
    font-size: 1em;
    color: #333333;
    transition: background-color 0.3s ease;
}

.page-news-center-features-list li:hover {
    background-color: #e0e6ed;
}

.page-news-center-features-list li strong {
    color: #0A246A;
}


/* Final CTA Section */
.page-news-center-cta-final {
    text-align: center;
    padding: 80px 0;
    background-color: #0A246A; /* Royal Blue background */
    color: #ffffff;
    margin-top: 60px;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.page-news-center-cta-final .page-news-center-section-title {
    color: #FFD700; /* Gold title on dark background */
    margin-bottom: 20px;
}

.page-news-center-cta-final .page-news-center-section-title::after {
    background-color: #FFD700;
}

.page-news-center-cta-final .page-news-center-description {
    color: #f0f0f0;
    max-width: 700px;
    margin-bottom: 40px;
}

.page-news-center-cta-image {
    max-width: 100%;
    height: auto;
    margin-top: 40px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    display: block;
    margin-left: auto;
    margin-right: auto;
}

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

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

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

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

    .page-news-center-news-grid {
        grid-template-columns: 1fr;
    }

    .page-news-center-btn {
        padding: 10px 20px;
        margin: 5px;
        font-size: 0.9em;
    }

    .page-news-center-hero,
    .page-news-center-content,
    .page-news-center-responsible-gambling,
    .page-news-center-why-choose-kkwin,
    .page-news-center-cta-final {
        padding: 40px 0;
    }
}

@media (max-width: 480px) {
    .page-news-center-title {
        font-size: 1.8em;
    }

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

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

    .page-news-center-description {
        font-size: 0.9em;
    }

    .page-news-center-btn {
        display: block;
        margin: 10px auto;
        width: fit-content;
    }

    .page-news-center-news-body {
        padding: 15px;
    }

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

    .page-news-center-news-excerpt {
        font-size: 0.85em;
    }
}