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

:root {
    --primary-color: #017439;
    --secondary-color: #FFFFFF;
    --text-color-dark-bg: #FFFFFF;
    --text-color-light-bg: #333333;
    --button-register-color: #C30808;
    --button-login-color: #C30808;
    --background-color-general: #FFFFFF;
    --font-color-register-login: #FFFF00;
    --card-bg-dark-mode: rgba(255, 255, 255, 0.1);
    --border-color-light: #e0e0e0;
}

.page-resources-latest-game-strategies {
    font-family: 'Arial', sans-serif;
    color: var(--text-color-dark-bg); /* Body background is dark, so text is light */
    background-color: transparent; /* inherited from body */
}

.page-resources-latest-game-strategies__hero-section {
    position: relative;
    width: 100%;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding-top: var(--header-offset, 120px); /* Ensure content is not covered by fixed header */
}

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

.page-resources-latest-game-strategies__hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7); /* Dark overlay for text readability */
    z-index: 2;
}

.page-resources-latest-game-strategies__hero-content {
    position: relative;
    z-index: 3;
    max-width: 900px;
    padding: 20px;
}

.page-resources-latest-game-strategies__hero-title {
    font-size: 3.5em;
    color: var(--text-color-dark-bg);
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-resources-latest-game-strategies__hero-description {
    font-size: 1.2em;
    color: var(--text-color-dark-bg);
    margin-bottom: 30px;
    line-height: 1.6;
}

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

.page-resources-latest-game-strategies__btn-primary,
.page-resources-latest-game-strategies__btn-secondary {
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    white-space: nowrap;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

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

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

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

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

.page-resources-latest-game-strategies__btn-primary--large {
    padding: 18px 40px;
    font-size: 1.3em;
}

.page-resources-latest-game-strategies__content-area {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
}

.page-resources-latest-game-strategies__introduction-section {
    background-color: #0a0a0a;
    color: var(--text-color-dark-bg);
}

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

.page-resources-latest-game-strategies__section-title--light {
    color: var(--secondary-color);
}

.page-resources-latest-game-strategies__text-block {
    font-size: 1.1em;
    line-height: 1.8;
    margin-bottom: 20px;
    color: var(--text-color-dark-bg);
}

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

.page-resources-latest-game-strategies__games-strategies-section {
    background-color: var(--primary-color);
    padding: 60px 0;
}

.page-resources-latest-game-strategies__image-full-width {
    width: 100%;
    height: auto;
    display: block;
    margin-bottom: 40px;
    border-radius: 8px;
}

.page-resources-latest-game-strategies__strategy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.page-resources-latest-game-strategies__strategy-card {
    background-color: var(--card-bg-dark-mode);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    color: var(--text-color-dark-bg);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

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

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

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

.page-resources-latest-game-strategies__card-text {
    font-size: 1em;
    line-height: 1.7;
    margin-bottom: 15px;
    flex-grow: 1;
}

.page-resources-latest-game-strategies__card-list {
    list-style: disc inside;
    font-size: 0.95em;
    line-height: 1.6;
    margin-top: 10px;
    padding-left: 20px;
}

.page-resources-latest-game-strategies__card-list li {
    margin-bottom: 5px;
}

.page-resources-latest-game-strategies__management-section {
    background-color: #0a0a0a;
    color: var(--text-color-dark-bg);
}

.page-resources-latest-game-strategies__two-column-layout {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.page-resources-latest-game-strategies__column-text {
    flex: 1;
}

.page-resources-latest-game-strategies__column-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-resources-latest-game-strategies__image-responsive {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
}

.page-resources-latest-game-strategies__sub-section-title {
    font-size: 2em;
    color: var(--primary-color);
    margin-top: 30px;
    margin-bottom: 20px;
}

.page-resources-latest-game-strategies__promotions-section {
    background-color: var(--primary-color);
    padding: 60px 0;
    text-align: center;
}

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

.page-resources-latest-game-strategies__link-inline {
    color: var(--secondary-color);
    text-decoration: underline;
}

.page-resources-latest-game-strategies__link-inline:hover {
    color: lighten(var(--secondary-color), 10%);
}

.page-resources-latest-game-strategies__faq-section {
    background-color: #0a0a0a;
    color: var(--text-color-dark-bg);
}

.page-resources-latest-game-strategies__faq-container {
    max-width: 800px;
    margin: 0 auto;
    border-radius: 10px;
    overflow: hidden;
}

.page-resources-latest-game-strategies__faq-item {
    background-color: var(--card-bg-dark-mode);
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.page-resources-latest-game-strategies__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.2em;
    font-weight: bold;
    cursor: pointer;
    color: var(--secondary-color);
    transition: background-color 0.3s ease;
}

.page-resources-latest-game-strategies__faq-question:hover {
    background-color: rgba(255, 255, 255, 0.15);
}

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

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

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

.page-resources-latest-game-strategies__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 25px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: var(--text-color-dark-bg);
}

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

.page-resources-latest-game-strategies__faq-answer p {
    margin: 0;
    font-size: 1em;
    line-height: 1.7;
}

.page-resources-latest-game-strategies__faq-image {
    margin-top: 40px;
    width: 100%;
    display: block;
}

.page-resources-latest-game-strategies__cta-final-section {
    background-color: #0a0a0a;
    padding: 80px 0;
    text-align: center;
}

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

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

    .page-resources-latest-game-strategies__two-column-layout {
        flex-direction: column;
    }
    .page-resources-latest-game-strategies__column-image {
        order: -1; /* Image appears above text on smaller screens */
        margin-bottom: 30px;
    }
}

@media (max-width: 768px) {
    .page-resources-latest-game-strategies__hero-section {
        min-height: 500px;
        padding-top: var(--header-offset, 120px) !important; /* Ensure content is not covered */
    }
    .page-resources-latest-game-strategies__hero-title {
        font-size: 2.2em;
    }

    .page-resources-latest-game-strategies__hero-description,
    .page-resources-latest-game-strategies__text-block,
    .page-resources-latest-game-strategies__card-text,
    .page-resources-latest-game-strategies__card-list li,
    .page-resources-latest-game-strategies__faq-answer p {
        font-size: 1em;
        line-height: 1.7;
    }

    .page-resources-latest-game-strategies__section-title,
    .page-resources-latest-game-strategies__sub-section-title {
        font-size: 1.8em;
    }

    .page-resources-latest-game-strategies__btn-primary,
    .page-resources-latest-game-strategies__btn-secondary,
    .page-resources-latest-game-strategies a[class*="button"],
    .page-resources-latest-game-strategies a[class*="btn"] {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding: 12px 20px;
        font-size: 1em;
    }

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

    .page-resources-latest-game-strategies__cta-buttons {
        flex-direction: column;
        gap: 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-resources-latest-game-strategies__content-area,
    .page-resources-latest-game-strategies__section,
    .page-resources-latest-game-strategies__card,
    .page-resources-latest-game-strategies__container {
      max-width: 100% !important;
      width: 100% !important;
      box-sizing: border-box !important;
      padding-left: 15px;
      padding-right: 15px;
    }

    .page-resources-latest-game-strategies img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    /* Ensure content images are not too small */
    .page-resources-latest-game-strategies__image-full-width,
    .page-resources-latest-game-strategies__card-image,
    .page-resources-latest-game-strategies__image-responsive,
    .page-resources-latest-game-strategies__faq-image {
        min-width: 200px !important;
        min-height: 200px !important;
    }

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

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

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

@media (max-width: 480px) {
    .page-resources-latest-game-strategies__hero-title {
        font-size: 1.8em;
    }
    .page-resources-latest-game-strategies__section-title {
        font-size: 1.5em;
    }
    .page-resources-latest-game-strategies__sub-section-title {
        font-size: 1.6em;
    }
    .page-resources-latest-game-strategies__btn-primary--large {
        font-size: 1.1em;
        padding: 15px 25px;
    }
}