/* style/resources-latest-game-guide.css */

:root {
    --primary-color: #0A2239;
    --secondary-color: #FFD700;
    --text-light: #ffffff;
    --text-dark: #333333;
    --background-dark: #121212;
    --background-light: #f8f9fa;
    --card-bg-dark: rgba(255, 255, 255, 0.1);
    --card-bg-light: #ffffff;
    --border-color: #e0e0e0;
}

.page-resources-latest-game-guide {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-light); /* Default text color for dark body background */
    background-color: var(--background-dark); /* Inherited from shared.css body */
}

.page-resources-latest-game-guide__dark-bg {
    background-color: var(--primary-color);
    color: var(--text-light);
}

.page-resources-latest-game-guide__light-bg {
    background-color: var(--background-light);
    color: var(--text-dark);
}

.page-resources-latest-game-guide__hero-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 80px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
    padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
}

.page-resources-latest-game-guide__hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.page-resources-latest-game-guide__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.4); /* Darken image for text readability */
}

.page-resources-latest-game-guide__hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
}

.page-resources-latest-game-guide__hero-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    color: var(--secondary-color);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-resources-latest-game-guide__hero-description {
    font-size: 1.2em;
    margin-bottom: 30px;
    color: var(--text-light);
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.6);
}

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

.page-resources-latest-game-guide__btn-primary,
.page-resources-latest-game-guide__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    white-space: normal;
    word-wrap: break-word;
    text-align: center;
    box-sizing: border-box;
}

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

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

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

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

.page-resources-latest-game-guide__content-area,
.page-resources-latest-game-guide__games-showcase,
.page-resources-latest-game-guide__guide-section,
.page-resources-latest-game-guide__promotions-section,
.page-resources-latest-game-guide__registration-section,
.page-resources-latest-game-guide__security-section,
.page-resources-latest-game-guide__faq-section,
.page-resources-latest-game-guide__conclusion-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
    box-sizing: border-box;
}

.page-resources-latest-game-guide__section-title {
    font-size: 2.5em;
    margin-bottom: 40px;
    text-align: center;
    color: var(--secondary-color);
}

.page-resources-latest-game-guide__light-bg .page-resources-latest-game-guide__section-title {
    color: var(--primary-color);
}

.page-resources-latest-game-guide__subsection-title {
    font-size: 1.8em;
    margin-top: 40px;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.page-resources-latest-game-guide__dark-bg .page-resources-latest-game-guide__subsection-title {
    color: var(--secondary-color);
}

.page-resources-latest-game-guide p {
    margin-bottom: 15px;
    font-size: 1.1em;
}

.page-resources-latest-game-guide__list {
    list-style: disc inside;
    margin-bottom: 20px;
    padding-left: 20px;
}

.page-resources-latest-game-guide__numbered-list {
    list-style: decimal inside;
    margin-bottom: 20px;
    padding-left: 20px;
}

.page-resources-latest-game-guide__list-item {
    margin-bottom: 10px;
    font-size: 1.1em;
}

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

.page-resources-latest-game-guide__card {
    background-color: var(--card-bg-dark);
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: var(--text-light);
}

.page-resources-latest-game-guide__light-bg .page-resources-latest-game-guide__card {
    background-color: var(--card-bg-light);
    color: var(--text-dark);
    border: 1px solid var(--border-color);
}

.page-resources-latest-game-guide__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-resources-latest-game-guide__card-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
    object-fit: cover;
    min-width: 200px;
    min-height: 200px;
}

.page-resources-latest-game-guide__card-title {
    font-size: 1.5em;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.page-resources-latest-game-guide__light-bg .page-resources-latest-game-guide__card-title {
    color: var(--primary-color);
}

.page-resources-latest-game-guide__card-title a {
    color: inherit;
    text-decoration: none;
}

.page-resources-latest-game-guide__card-title a:hover {
    text-decoration: underline;
}

.page-resources-latest-game-guide__card p {
    font-size: 1em;
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-resources-latest-game-guide__card-button {
    width: 100%;
}

.page-resources-latest-game-guide__content-image {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 30px auto;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    min-width: 200px;
    min-height: 200px;
}

.page-resources-latest-game-guide__promotion-cta,
.page-resources-latest-game-guide__register-cta,
.page-resources-latest-game-guide__security-cta,
.page-resources-latest-game-guide__final-cta {
    text-align: center;
    margin-top: 40px;
}

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

.page-resources-latest-game-guide__feature-item {
    background-color: var(--card-bg-dark);
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    color: var(--text-light);
}

.page-resources-latest-game-guide__feature-icon {
    width: 100px;
    height: 100px;
    object-fit: contain;
    margin-bottom: 15px;
    min-width: 200px;
    min-height: 200px;
}

.page-resources-latest-game-guide__feature-title {
    font-size: 1.4em;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.page-resources-latest-game-guide__faq-container {
    margin-top: 30px;
}

.page-resources-latest-game-guide__faq-item {
    background-color: var(--card-bg-light);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    color: var(--text-dark);
}

.page-resources-latest-game-guide__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    background-color: #f0f0f0;
    font-weight: bold;
    font-size: 1.1em;
    color: var(--primary-color);
}

.page-resources-latest-game-guide__faq-question:hover {
    background-color: #e0e0e0;
}

.page-resources-latest-game-guide__faq-question h3 {
    margin: 0;
    font-size: 1.1em;
}

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

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

.page-resources-latest-game-guide__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 25px;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

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

.page-resources-latest-game-guide__text-link {
    color: var(--primary-color);
    text-decoration: underline;
}

.page-resources-latest-game-guide__text-link:hover {
    color: darken(var(--primary-color), 10%);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-resources-latest-game-guide__hero-title {
        font-size: 2.8em;
    }

    .page-resources-latest-game-guide__section-title {
        font-size: 2em;
    }

    .page-resources-latest-game-guide__subsection-title {
        font-size: 1.6em;
    }
}

@media (max-width: 768px) {
    .page-resources-latest-game-guide__hero-section {
        padding: 60px 15px;
        padding-top: var(--header-offset, 120px) !important;
    }

    .page-resources-latest-game-guide__hero-title {
        font-size: 2.2em;
    }

    .page-resources-latest-game-guide__hero-description {
        font-size: 1em;
    }

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

    .page-resources-latest-game-guide__btn-primary,
    .page-resources-latest-game-guide__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 20px;
        font-size: 1em;
    }

    .page-resources-latest-game-guide__content-area,
    .page-resources-latest-game-guide__games-showcase,
    .page-resources-latest-game-guide__guide-section,
    .page-resources-latest-game-guide__promotions-section,
    .page-resources-latest-game-guide__registration-section,
    .page-resources-latest-game-guide__security-section,
    .page-resources-latest-game-guide__faq-section,
    .page-resources-latest-game-guide__conclusion-section {
        padding: 40px 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

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

    .page-resources-latest-game-guide__subsection-title {
        font-size: 1.4em;
        margin-top: 30px;
    }

    .page-resources-latest-game-guide p,
    .page-resources-latest-game-guide__list-item {
        font-size: 1em;
    }

    .page-resources-latest-game-guide__game-cards-grid,
    .page-resources-latest-game-guide__promo-cards-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-resources-latest-game-guide__card-image,
    .page-resources-latest-game-guide__content-image,
    .page-resources-latest-game-guide__feature-icon {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
        min-width: 200px !important;
        min-height: 200px !important;
    }

    .page-resources-latest-game-guide__card,
    .page-resources-latest-game-guide__feature-item {
        padding: 20px;
    }

    .page-resources-latest-game-guide__faq-question {
        padding: 15px 20px;
        font-size: 1em;
    }

    .page-resources-latest-game-guide__faq-answer {
        padding: 0 20px;
    }

    .page-resources-latest-game-guide__faq-item.active .page-resources-latest-game-guide__faq-answer {
        padding: 15px 20px;
    }

    .page-resources-latest-game-guide__video-section,
    .page-resources-latest-game-guide__video-container,
    .page-resources-latest-game-guide__video-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }

    .page-resources-latest-game-guide video,
    .page-resources-latest-game-guide__video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
}

@media (max-width: 480px) {
    .page-resources-latest-game-guide__hero-title {
        font-size: 1.8em;
    }

    .page-resources-latest-game-guide__section-title {
        font-size: 1.5em;
    }
}