/* style/resources-platform-updates.css */

/* Biến màu */
:root {
    --primary-color: #007bff;
    --secondary-color: #ffc107;
    --dark-text-color: #212529; /* Dark for light backgrounds */
    --light-text-color: #f8f9fa; /* Light for dark backgrounds */
    --neutral-bg-color: #f2f2f2;
    --dark-bg-color: #001f4d; /* A darker shade of primary for contrast */
    --accent-color: #ff8400; /* Complementary to primary */
}

.page-resources-platform-updates {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--dark-text-color);
    background-color: var(--neutral-bg-color);
}

.page-resources-platform-updates__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Hero Section */
.page-resources-platform-updates__hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, #0056b3 100%); /* Darker blue gradient */
    color: var(--light-text-color);
    padding: 80px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
}

.page-resources-platform-updates__hero-content {
    flex: 1;
    min-width: 300px;
    max-width: 600px;
    padding-left: 20px; /* Adjust for better alignment */
}

.page-resources-platform-updates__hero-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    color: var(--light-text-color);
    line-height: 1.2;
    font-weight: bold;
}

.page-resources-platform-updates__hero-subtitle {
    font-size: 1.3em;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.9);
}

.page-resources-platform-updates__hero-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.page-resources-platform-updates__btn {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
}

.page-resources-platform-updates__btn--primary {
    background-color: var(--secondary-color);
    color: var(--dark-text-color);
    border: 2px solid var(--secondary-color);
}

.page-resources-platform-updates__btn--primary:hover {
    background-color: #e6ac00;
    border-color: #e6ac00;
    transform: translateY(-2px);
}

.page-resources-platform-updates__btn--secondary {
    background-color: transparent;
    color: var(--light-text-color);
    border: 2px solid var(--light-text-color);
}

.page-resources-platform-updates__btn--secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.page-resources-platform-updates__hero-image-wrapper {
    flex: 1;
    min-width: 300px;
    max-width: 500px;
    text-align: right;
    padding-right: 20px;
}

.page-resources-platform-updates__hero-image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* General Section Styling */
.page-resources-platform-updates__section {
    padding: 60px 0;
    background-color: var(--neutral-bg-color);
}

.page-resources-platform-updates__section--intro {
    background-color: #fff;
}

.page-resources-platform-updates__section:nth-of-type(even) {
    background-color: #f9f9f9;
}

.page-resources-platform-updates__section-title {
    font-size: 2.5em;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
}

.page-resources-platform-updates__text {
    font-size: 1.1em;
    margin-bottom: 20px;
    color: var(--dark-text-color);
    text-align: justify;
}

.page-resources-platform-updates__text--center {
    text-align: center;
}

.page-resources-platform-updates__link-text {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.page-resources-platform-updates__link-text:hover {
    color: var(--accent-color);
    text-decoration: underline;
}

/* Features Section */
.page-resources-platform-updates__feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.page-resources-platform-updates__feature-item {
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-resources-platform-updates__feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.page-resources-platform-updates__feature-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.page-resources-platform-updates__feature-title {
    font-size: 1.6em;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: bold;
}

.page-resources-platform-updates__feature-description {
    font-size: 1em;
    color: #555;
    text-align: justify;
}

/* Games Section */
.page-resources-platform-updates__game-showcase {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.page-resources-platform-updates__game-card {
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-resources-platform-updates__game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.page-resources-platform-updates__game-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.page-resources-platform-updates__game-title {
    font-size: 1.5em;
    color: var(--primary-color);
    padding: 20px 20px 10px;
    font-weight: bold;
}

.page-resources-platform-updates__game-description {
    font-size: 1em;
    color: #555;
    padding: 0 20px 20px;
    text-align: justify;
}

/* Performance Section */
.page-resources-platform-updates__list {
    list-style: none;
    padding: 0;
    margin-top: 20px;
}

.page-resources-platform-updates__list li {
    background-color: #fff;
    padding: 15px 20px;
    margin-bottom: 10px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    font-size: 1.05em;
    color: var(--dark-text-color);
    display: flex;
    align-items: center;
}

.page-resources-platform-updates__list li::before {
    content: '✅';
    margin-right: 15px;
    font-size: 1.2em;
    color: var(--secondary-color);
}

.page-resources-platform-updates__list-strong {
    color: var(--primary-color);
}

.page-resources-platform-updates__full-width-image {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
    border-radius: 10px;
    margin: 40px 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* App Download Section */
.page-resources-platform-updates__section--app-download {
    background-color: var(--primary-color);
    color: var(--light-text-color);
    padding: 80px 0;
}

.page-resources-platform-updates__app-download-content {
    display: flex;
    align-items: center;
    gap: 50px;
    flex-wrap: wrap;
}

.page-resources-platform-updates__app-text {
    flex: 1;
    min-width: 300px;
}

.page-resources-platform-updates__app-image-wrapper {
    flex: 1;
    min-width: 300px;
    text-align: center;
}

.page-resources-platform-updates__app-image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.page-resources-platform-updates__section--app-download .page-resources-platform-updates__section-title {
    color: var(--light-text-color);
}

.page-resources-platform-updates__section--app-download .page-resources-platform-updates__text {
    color: rgba(255, 255, 255, 0.9);
}

.page-resources-platform-updates__section--app-download .page-resources-platform-updates__list li {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--light-text-color);
}

.page-resources-platform-updates__section--app-download .page-resources-platform-updates__list li::before {
    color: var(--secondary-color);
}

.page-resources-platform-updates__btn--large {
    padding: 16px 32px;
    font-size: 1.2em;
    margin-top: 30px;
}

/* CTA Section */
.page-resources-platform-updates__section--cta {
    background: linear-gradient(45deg, var(--dark-bg-color) 0%, var(--primary-color) 100%);
    color: var(--light-text-color);
    padding: 80px 0;
    text-align: center;
}

.page-resources-platform-updates__cta-content {
    max-width: 900px;
}

.page-resources-platform-updates__section-title--light {
    color: var(--light-text-color);
}

.page-resources-platform-updates__text--light {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
}

.page-resources-platform-updates__cta-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.page-resources-platform-updates__btn--accent {
    background-color: var(--secondary-color);
    color: var(--dark-text-color);
    border: 2px solid var(--secondary-color);
}

.page-resources-platform-updates__btn--accent:hover {
    background-color: #e6ac00;
    border-color: #e6ac00;
    transform: translateY(-2px);
}

.page-resources-platform-updates__btn--outline {
    background-color: transparent;
    color: var(--light-text-color);
    border: 2px solid var(--light-text-color);
}

.page-resources-platform-updates__btn--outline:hover {
    background-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

/* FAQ Section */
.page-resources-platform-updates__section--faq {
    background-color: #fff;
}

.page-resources-platform-updates__faq-item {
    background-color: #fefefe;
    border: 1px solid #eee;
    border-radius: 8px;
    margin-bottom: 15px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

.page-resources-platform-updates__faq-question {
    font-size: 1.3em;
    color: var(--primary-color);
    margin-bottom: 10px;
    font-weight: bold;
}

.page-resources-platform-updates__faq-answer {
    font-size: 1em;
    color: #444;
    line-height: 1.7;
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-resources-platform-updates__hero {
        flex-direction: column-reverse;
        text-align: center;
        padding: 60px 0;
    }

    .page-resources-platform-updates__hero-content,
    .page-resources-platform-updates__hero-image-wrapper {
        padding: 0;
        max-width: 100%;
    }

    .page-resources-platform-updates__hero-title {
        font-size: 2.5em;
    }

    .page-resources-platform-updates__hero-subtitle {
        font-size: 1.1em;
    }

    .page-resources-platform-updates__hero-actions {
        justify-content: center;
    }

    .page-resources-platform-updates__section-title {
        font-size: 2em;
    }

    .page-resources-platform-updates__app-download-content {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .page-resources-platform-updates__hero {
        padding: 40px 0;
    }

    .page-resources-platform-updates__hero-title {
        font-size: 2em;
    }

    .page-resources-platform-updates__hero-subtitle {
        font-size: 1em;
    }

    .page-resources-platform-updates__btn {
        padding: 12px 20px;
        font-size: 1em;
    }

    .page-resources-platform-updates__section {
        padding: 40px 0;
    }

    .page-resources-platform-updates__section-title {
        font-size: 1.8em;
    }

    .page-resources-platform-updates__feature-grid,
    .page-resources-platform-updates__game-showcase {
        grid-template-columns: 1fr;
    }

    .page-resources-platform-updates__cta-actions {
        flex-direction: column;
    }

    .page-resources-platform-updates__btn--large {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .page-resources-platform-updates__hero-actions {
        flex-direction: column;
    }

    .page-resources-platform-updates__btn {
        width: 100%;
    }

    .page-resources-platform-updates__section-title {
        font-size: 1.5em;
    }

    .page-resources-platform-updates__text {
        font-size: 0.95em;
    }

    .page-resources-platform-updates__faq-question {
        font-size: 1.1em;
    }
}