:root {
    --primary-color: #017439;
    --secondary-color: #FFFFFF;
    --register-button-color: #C30808;
    --login-button-color: #C30808;
    --register-login-font-color: #FFFF00;
    --dark-bg-color: #1a1a1a; /* Body background from shared.css */
    --text-on-dark-bg: #ffffff;
    --text-on-light-bg: #333333;
    --light-card-bg: #ffffff;
    --light-border-color: #e0e0e0;
}

.page-resources-game-strategies {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-on-dark-bg); /* Text color for body, based on dark background */
    background-color: var(--dark-bg-color); /* Ensure consistency, though body bg is from shared */
    padding-top: var(--header-offset, 120px); /* Fixed header offset */
}

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

.page-resources-game-strategies__section-title {
    font-size: 2.5em;
    color: var(--secondary-color); /* White for section titles on dark background */
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}

.page-resources-game-strategies__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-game-strategies__text-block {
    font-size: 1.1em;
    margin-bottom: 20px;
    color: var(--text-on-dark-bg);
}

/* Hero Section */
.page-resources-game-strategies__hero-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 80px 20px;
    background: linear-gradient(135deg, var(--primary-color), #004d26); /* Gradient with brand color */
    color: var(--secondary-color);
    gap: 40px;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
}

.page-resources-game-strategies__hero-content {
    flex: 1;
    min-width: 300px;
    max-width: 600px;
}

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

.page-resources-game-strategies__hero-description {
    font-size: 1.3em;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.9);
}

.page-resources-game-strategies__hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.page-resources-game-strategies__btn-primary,
.page-resources-game-strategies__btn-secondary {
    display: inline-block;
    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;
    text-align: center;
    box-sizing: border-box; /* Ensure padding and border are included in width */
}

.page-resources-game-strategies__btn-primary {
    background-color: var(--register-button-color); /* Use custom color for register/login type */
    color: var(--register-login-font-color); /* Custom font color for register/login */
    border: 2px solid var(--register-button-color);
}

.page-resources-game-strategies__btn-primary:hover {
    background-color: #a00606;
    border-color: #a00606;
}

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

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

.page-resources-game-strategies__hero-image-wrapper {
    flex: 1;
    min-width: 400px;
    max-width: 600px;
    text-align: center;
}

.page-resources-game-strategies__hero-image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    display: block; /* Ensure it behaves as a block element */
    margin: 0 auto; /* Center image */
}

/* Introduction Section */
.page-resources-game-strategies__introduction-section {
    padding: 60px 0;
    background-color: var(--dark-bg-color);
    color: var(--text-on-dark-bg);
}

/* Game Strategies Section */
.page-resources-game-strategies__game-strategies-section {
    padding: 60px 0;
    background-color: #2a2a2a; /* Slightly lighter dark background */
    color: var(--text-on-dark-bg);
}

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

.page-resources-game-strategies__game-card {
    background-color: rgba(255, 255, 255, 0.05); /* Semi-transparent white on dark bg */
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-resources-game-strategies__game-card:hover {
    transform: translateY(-5px);
}

.page-resources-game-strategies__card-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
    display: block;
}

.page-resources-game-strategies__card-title {
    font-size: 1.8em;
    color: var(--primary-color);
    margin-bottom: 15px;
    text-align: center;
}

.page-resources-game-strategies__card-list {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 1.05em;
}

.page-resources-game-strategies__card-list li {
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
    color: var(--text-on-dark-bg);
}

.page-resources-game-strategies__card-list li::before {
    content: '✓';
    color: var(--register-login-font-color); /* Use yellow for checkmark */
    position: absolute;
    left: 0;
    top: 0;
    font-weight: bold;
}

/* Advanced Tips Section */
.page-resources-game-strategies__advanced-tips-section {
    padding: 60px 0;
    background-color: var(--primary-color); /* Dark section with brand primary color */
    color: var(--secondary-color);
}

.page-resources-game-strategies__advanced-tips-section .page-resources-game-strategies__section-title {
    color: var(--secondary-color); /* White title on primary background */
}
.page-resources-game-strategies__advanced-tips-section .page-resources-game-strategies__section-title::after {
    background-color: var(--secondary-color); /* White line on primary background */
}


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

.page-resources-game-strategies__tip-card {
    background-color: rgba(255, 255, 255, 0.1); /* Semi-transparent white on primary bg */
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    color: var(--secondary-color);
}

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

/* Common Mistakes Section */
.page-resources-game-strategies__common-mistakes-section {
    padding: 60px 0;
    background-color: var(--dark-bg-color);
    color: var(--text-on-dark-bg);
}

.page-resources-game-strategies__mistake-list {
    list-style: none;
    padding: 0;
    max-width: 800px;
    margin: 0 auto;
}

.page-resources-game-strategies__mistake-list li {
    background-color: rgba(255, 255, 255, 0.05);
    border-left: 5px solid var(--register-button-color); /* Red border for mistakes */
    padding: 15px 20px;
    margin-bottom: 15px;
    border-radius: 5px;
    font-size: 1.1em;
    color: var(--text-on-dark-bg);
}

/* FAQ Section */
.page-resources-game-strategies__faq-section {
    padding: 60px 0;
    background-color: #2a2a2a;
    color: var(--text-on-dark-bg);
}

.page-resources-game-strategies__faq-list {
    max-width: 800px;
    margin: 0 auto 40px auto;
}

.page-resources-game-strategies__faq-item {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

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

.page-resources-game-strategies__faq-question:hover {
    background-color: #004d26; /* Slightly darker green on hover */
}

.page-resources-game-strategies__faq-toggle {
    font-size: 1.5em;
    font-weight: bold;
    width: 30px;
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    background-color: var(--secondary-color);
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.page-resources-game-strategies__faq-item.active .page-resources-game-strategies__faq-toggle {
    transform: rotate(45deg); /* Plus to X (or minus sign) */
}

.page-resources-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-on-dark-bg);
    background-color: rgba(255, 255, 255, 0.03); /* Lighter background for answer */
}

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

.page-resources-game-strategies__faq-answer p {
    margin: 0;
    font-size: 1.05em;
}

.page-resources-game-strategies__cta-bottom {
    text-align: center;
    margin-top: 50px;
}

.page-resources-game-strategies__cta-bottom p {
    font-size: 1.3em;
    margin-bottom: 25px;
    color: var(--secondary-color);
}

/* Conclusion Section */
.page-resources-game-strategies__conclusion-section {
    padding: 60px 0;
    background-color: var(--primary-color);
    color: var(--secondary-color);
    text-align: center;
}

.page-resources-game-strategies__conclusion-section .page-resources-game-strategies__section-title {
    color: var(--secondary-color);
}
.page-resources-game-strategies__conclusion-section .page-resources-game-strategies__section-title::after {
    background-color: var(--secondary-color);
}

.page-resources-game-strategies__call-to-action {
    margin-top: 40px;
}

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

@media (max-width: 768px) {
    .page-resources-game-strategies {
        font-size: 16px;
        line-height: 1.6;
        padding-top: var(--header-offset, 120px) !important; /* Ensure mobile header offset */
    }

    .page-resources-game-strategies__hero-section {
        flex-direction: column;
        text-align: center;
        padding: 60px 15px;
    }

    .page-resources-game-strategies__hero-content,
    .page-resources-game-strategies__hero-image-wrapper {
        min-width: unset;
        max-width: 100%;
        width: 100%;
    }

    .page-resources-game-strategies__hero-title {
        font-size: 2.5em;
    }

    .page-resources-game-strategies__hero-description {
        font-size: 1.1em;
    }

    .page-resources-game-strategies__hero-buttons {
        flex-direction: column;
        gap: 15px;
        width: 100%;
    }

    .page-resources-game-strategies__btn-primary,
    .page-resources-game-strategies__btn-secondary {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-resources-game-strategies__container {
        padding: 0 15px;
    }

    .page-resources-game-strategies__section-title {
        font-size: 2em;
        margin-bottom: 30px;
    }

    /* Image responsive for mobile */
    .page-resources-game-strategies img {
        max-width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-resources-game-strategies__section,
    .page-resources-game-strategies__card,
    .page-resources-game-strategies__container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    /* Specific image container for hero */
    .page-resources-game-strategies__hero-image-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        overflow: hidden !important;
        box-sizing: border-box !important;
    }

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

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

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

    .page-resources-game-strategies__cta-bottom p {
        font-size: 1.1em;
    }
}

@media (max-width: 480px) {
    .page-resources-game-strategies__hero-title {
        font-size: 2em;
    }
    .page-resources-game-strategies__hero-description {
        font-size: 1em;
    }
    .page-resources-game-strategies__btn-primary,
    .page-resources-game-strategies__btn-secondary {
        font-size: 1em;
        padding: 12px 20px;
    }
}

/* Ensure all content area images are at least 200px wide/high */
.page-resources-game-strategies__hero-image,
.page-resources-game-strategies__card-image {
    min-width: 200px;
    min-height: 200px;
    object-fit: cover; /* Ensure images cover their area without distortion */
}

/* Color contrast enforcement */
.page-resources-game-strategies__dark-section {
  background: var(--primary-color); /* #017439 */
  color: var(--secondary-color); /* #FFFFFF */
}
.page-resources-game-strategies__dark-section .page-resources-game-strategies__section-title {
  color: var(--secondary-color);
}
.page-resources-game-strategies__dark-section .page-resources-game-strategies__section-title::after {
  background-color: var(--secondary-color);
}
/* Ensure text on dark body background is white */
.page-resources-game-strategies__introduction-section,
.page-resources-game-strategies__game-strategies-section,
.page-resources-game-strategies__common-mistakes-section,
.page-resources-game-strategies__faq-section {
    background-color: var(--dark-bg-color); /* #1a1a1a */
    color: var(--text-on-dark-bg); /* #ffffff */
}
.page-resources-game-strategies__game-card,
.page-resources-game-strategies__mistake-list li,
.page-resources-game-strategies__faq-item {
    background-color: rgba(255, 255, 255, 0.05); /* Light transparent background on dark body */
    color: var(--text-on-dark-bg); /* #ffffff */
}
.page-resources-game-strategies__faq-answer {
    background-color: rgba(255, 255, 255, 0.03); /* Lighter transparent background for answers */
    color: var(--text-on-dark-bg); /* #ffffff */
}
.page-resources-game-strategies__faq-question {
    background-color: var(--primary-color); /* #017439 */
    color: var(--secondary-color); /* #FFFFFF */
}
.page-resources-game-strategies__faq-toggle {
    background-color: var(--secondary-color); /* #FFFFFF */
    color: var(--primary-color); /* #017439 */
}
.page-resources-game-strategies__btn-primary {
    background-color: var(--register-button-color); /* #C30808 */
    color: var(--register-login-font-color); /* #FFFF00 */
}
.page-resources-game-strategies__btn-secondary {
    background-color: transparent;
    color: var(--secondary-color); /* #FFFFFF */
    border-color: var(--secondary-color); /* #FFFFFF */
}