/* style/resources-b29-latest-game-reviews.css */

:root {
    --primary-color: #26A9E0;
    --secondary-color: #FFFFFF;
    --accent-color: #EA7C07;
    --dark-background: #050505;
    --light-text: #FFFFFF;
    --dark-text: #333333;
    --border-color: #e0e0e0;
}

.page-resources-b29-latest-game-reviews {
    color: var(--light-text); /* Body background is dark #050505, so use light text */
    background-color: var(--dark-background);
    font-family: Arial, sans-serif;
    line-height: 1.6;
    padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
}

.page-resources-b29-latest-game-reviews__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    box-sizing: border-box;
}

.page-resources-b29-latest-game-reviews__hero-section {
    position: relative;
    width: 100%;
    height: 600px; /* Adjust height as needed */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    text-align: center;
}

.page-resources-b29-latest-game-reviews__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.page-resources-b29-latest-game-reviews__hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 2;
}

.page-resources-b29-latest-game-reviews__hero-content {
    position: relative;
    z-index: 3;
    color: var(--light-text);
    max-width: 900px;
    padding: 20px;
}

.page-resources-b29-latest-game-reviews__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    line-height: 1.2;
    color: var(--secondary-color);
}

.page-resources-b29-latest-game-reviews__hero-description {
    font-size: 1.3em;
    margin-bottom: 30px;
    color: var(--secondary-color);
}

.page-resources-b29-latest-game-reviews__hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.page-resources-b29-latest-game-reviews__btn-primary,
.page-resources-b29-latest-game-reviews__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    box-sizing: border-box;
    max-width: 100%;
    white-space: normal;
    word-wrap: break-word;
}

.page-resources-b29-latest-game-reviews__btn-primary {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    border: 2px solid var(--primary-color);
}

.page-resources-b29-latest-game-reviews__btn-primary:hover {
    background-color: darken(var(--primary-color), 10%);
    border-color: darken(var(--primary-color), 10%);
}

.page-resources-b29-latest-game-reviews__btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.page-resources-b29-latest-game-reviews__btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--secondary-color);
}

.page-resources-b29-latest-game-reviews__section-title {
    font-size: 2.5em;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 10px;
}

.page-resources-b29-latest-game-reviews__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

.page-resources-b29-latest-game-reviews__subsection-title {
    font-size: 1.8em;
    color: var(--primary-color);
    margin-top: 30px;
    margin-bottom: 15px;
}

.page-resources-b29-latest-game-reviews__text-block {
    font-size: 1.1em;
    color: var(--light-text);
    margin-bottom: 20px;
    text-align: justify;
}

.page-resources-b29-latest-game-reviews__intro-section,
.page-resources-b29-latest-game-reviews__download-section,
.page-resources-b29-latest-game-reviews__security-section,
.page-resources-b29-latest-game-reviews__conclusion-section {
    padding: 60px 0;
    background-color: var(--dark-background);
    color: var(--light-text);
}

.page-resources-b29-latest-game-reviews__game-reviews-section,
.page-resources-b29-latest-game-reviews__promotions-section,
.page-resources-b29-latest-game-reviews__faq-section {
    padding: 60px 0;
    background-color: var(--primary-color);
    color: var(--light-text);
}

.page-resources-b29-latest-game-reviews__game-reviews-section .page-resources-b29-latest-game-reviews__section-title,
.page-resources-b29-latest-game-reviews__promotions-section .page-resources-b29-latest-game-reviews__section-title,
.page-resources-b29-latest-game-reviews__faq-section .page-resources-b29-latest-game-reviews__section-title {
    color: var(--secondary-color);
}

.page-resources-b29-latest-game-reviews__game-reviews-section .page-resources-b29-latest-game-reviews__section-title::after,
.page-resources-b29-latest-game-reviews__promotions-section .page-resources-b29-latest-game-reviews__section-title::after,
.page-resources-b29-latest-game-reviews__faq-section .page-resources-b29-latest-game-reviews__section-title::after {
    background-color: var(--secondary-color);
}

.page-resources-b29-latest-game-reviews__game-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-resources-b29-latest-game-reviews__game-card {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
    color: var(--light-text);
}

.page-resources-b29-latest-game-reviews__game-card:hover {
    transform: translateY(-10px);
}

.page-resources-b29-latest-game-reviews__game-card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.page-resources-b29-latest-game-reviews__game-card-title {
    font-size: 1.4em;
    margin: 15px 15px 10px 15px;
    color: var(--secondary-color);
    min-height: 60px;
}

.page-resources-b29-latest-game-reviews__game-card-title a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-resources-b29-latest-game-reviews__game-card-title a:hover {
    color: darken(var(--secondary-color), 10%);
}

.page-resources-b29-latest-game-reviews__game-card-description {
    font-size: 0.95em;
    padding: 0 15px 20px 15px;
    color: var(--light-text);
}

.page-resources-b29-latest-game-reviews__download-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
    text-align: center;
}

.page-resources-b29-latest-game-reviews__download-item {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    color: var(--light-text);
}

.page-resources-b29-latest-game-reviews__download-image {
    max-width: 100%;
    height: auto;
    margin-bottom: 20px;
    border-radius: 8px;
}

.page-resources-b29-latest-game-reviews__download-item .page-resources-b29-latest-game-reviews__subsection-title {
    color: var(--primary-color);
    font-size: 1.6em;
    margin-top: 0;
}

.page-resources-b29-latest-game-reviews__security-image {
    max-width: 80%;
    height: auto;
    display: block;
    margin: 40px auto 30px auto;
    border-radius: 10px;
}

.page-resources-b29-latest-game-reviews__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.page-resources-b29-latest-game-reviews__faq-list {
    margin-top: 40px;
}

.page-resources-b29-latest-game-reviews__faq-item {
    background-color: rgba(255, 255, 255, 0.1);
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    color: var(--light-text);
}

.page-resources-b29-latest-game-reviews__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    font-size: 1.2em;
    font-weight: bold;
    cursor: pointer;
    background-color: rgba(255, 255, 255, 0.15);
    transition: background-color 0.3s ease;
}

.page-resources-b29-latest-game-reviews__faq-question:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.page-resources-b29-latest-game-reviews__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    transition: transform 0.3s ease;
}

.page-resources-b29-latest-game-reviews__faq-item.active .page-resources-b29-latest-game-reviews__faq-toggle {
    transform: rotate(45deg);
}

.page-resources-b29-latest-game-reviews__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 20px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    font-size: 1.1em;
    color: var(--light-text);
}

.page-resources-b29-latest-game-reviews__faq-item.active .page-resources-b29-latest-game-reviews__faq-answer {
    max-height: 1000px !important; /* Sufficiently large to show content */
    padding: 20px !important;
}

.page-resources-b29-latest-game-reviews__faq-answer p {
    margin: 0;
    padding-bottom: 10px;
}

.page-resources-b29-latest-game-reviews__faq-answer a {
    color: var(--secondary-color);
    text-decoration: underline;
}

.page-resources-b29-latest-game-reviews__faq-answer a:hover {
    color: var(--primary-color);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-resources-b29-latest-game-reviews__hero-title {
        font-size: 2.8em;
    }
    .page-resources-b29-latest-game-reviews__hero-description {
        font-size: 1.1em;
    }
    .page-resources-b29-latest-game-reviews__section-title {
        font-size: 2em;
    }
    .page-resources-b29-latest-game-reviews__subsection-title {
        font-size: 1.5em;
    }
}

@media (max-width: 768px) {
    .page-resources-b29-latest-game-reviews {
        font-size: 16px;
        line-height: 1.6;
    }

    .page-resources-b29-latest-game-reviews__hero-section {
        height: 450px;
    }

    .page-resources-b29-latest-game-reviews__hero-title {
        font-size: 2em;
        margin-bottom: 15px;
    }

    .page-resources-b29-latest-game-reviews__hero-description {
        font-size: 1em;
        margin-bottom: 20px;
    }

    .page-resources-b29-latest-game-reviews__hero-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .page-resources-b29-latest-game-reviews__btn-primary,
    .page-resources-b29-latest-game-reviews__btn-secondary {
        width: 100%;
        max-width: 100% !important;
        padding: 12px 20px;
    }

    .page-resources-b29-latest-game-reviews__container {
        padding-left: 15px;
        padding-right: 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-resources-b29-latest-game-reviews__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }

    .page-resources-b29-latest-game-reviews__subsection-title {
        font-size: 1.3em;
    }

    .page-resources-b29-latest-game-reviews__text-block {
        font-size: 1em;
    }

    .page-resources-b29-latest-game-reviews__game-grid,
    .page-resources-b29-latest-game-reviews__download-grid {
        grid-template-columns: 1fr;
    }

    .page-resources-b29-latest-game-reviews__game-card-image,
    .page-resources-b29-latest-game-reviews__download-image,
    .page-resources-b29-latest-game-reviews__security-image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    .page-resources-b29-latest-game-reviews__game-card,
    .page-resources-b29-latest-game-reviews__download-item,
    .page-resources-b29-latest-game-reviews__security-section,
    .page-resources-b29-latest-game-reviews__cta-buttons {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-resources-b29-latest-game-reviews__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .page-resources-b29-latest-game-reviews__intro-section,
    .page-resources-b29-latest-game-reviews__game-reviews-section,
    .page-resources-b29-latest-game-reviews__download-section,
    .page-resources-b29-latest-game-reviews__promotions-section,
    .page-resources-b29-latest-game-reviews__security-section,
    .page-resources-b29-latest-game-reviews__faq-section,
    .page-resources-b29-latest-game-reviews__conclusion-section {
        padding: 40px 0;
    }

    .page-resources-b29-latest-game-reviews__hero-section {
        padding-top: var(--header-offset, 120px) !important; /* Ensure hero section is below header on mobile */
    }
}