/* style/game-strategy-guides.css */

:root {
    --primary-color: #26A9E0;
    --secondary-color: #FFFFFF;
    --text-dark: #333333;
    --text-light: #ffffff;
    --bg-dark: #000000;
    --btn-login: #EA7C07;
}

.page-game-strategy-guides {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-light); /* Default text color for dark body background */
    background-color: var(--bg-dark); /* Ensure page background matches body if not inherited */
}

.page-game-strategy-guides__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    box-sizing: border-box;
}

/* Hero Section */
.page-game-strategy-guides__hero-section {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 600px;
    padding-top: var(--header-offset, 120px); /* Ensure spacing below fixed header */
    background-color: var(--primary-color);
    color: var(--text-light);
    overflow: hidden;
    text-align: center;
    flex-direction: column;
}

.page-game-strategy-guides__dark-bg {
    background-color: var(--bg-dark);
    color: var(--text-light);
}

.page-game-strategy-guides__light-bg {
    background-color: var(--secondary-color);
    color: var(--text-dark);
}

.page-game-strategy-guides__hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0.2; /* Subtle background image */
}

.page-game-strategy-guides__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.page-game-strategy-guides__hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: 20px;
}

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

.page-game-strategy-guides__hero-description {
    font-size: 1.2em;
    margin-bottom: 30px;
    color: var(--secondary-color);
}

.page-game-strategy-guides__btn-primary {
    display: inline-block;
    background-color: var(--btn-login); /* Use specific login color for CTA */
    color: var(--text-light);
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
    border: none;
    cursor: pointer;
}

.page-game-strategy-guides__btn-primary:hover {
    background-color: darken(var(--btn-login), 10%);
}

.page-game-strategy-guides__btn-secondary {
    display: inline-block;
    background-color: var(--secondary-color);
    color: var(--primary-color);
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease;
    border: 2px solid var(--primary-color);
    cursor: pointer;
}

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

/* General Section Styling */
.page-game-strategy-guides__section {
    padding: 60px 0;
    text-align: left;
}

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

.page-game-strategy-guides__dark-bg .page-game-strategy-guides__section-title {
    color: var(--secondary-color);
}

.page-game-strategy-guides__content-block {
    margin-bottom: 40px;
}

.page-game-strategy-guides__content-subtitle {
    font-size: 1.8em;
    margin-top: 30px;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.page-game-strategy-guides__dark-bg .page-game-strategy-guides__content-subtitle {
    color: var(--secondary-color);
}

.page-game-strategy-guides p {
    font-size: 1.1em;
    margin-bottom: 15px;
    line-height: 1.7;
    color: inherit; /* Inherit from section for contrast */
}

.page-game-strategy-guides p a {
    color: var(--primary-color);
    text-decoration: underline;
}

.page-game-strategy-guides__dark-bg p a {
    color: var(--secondary-color);
}

.page-game-strategy-guides__image-full-width {
    width: 100%;
    height: auto;
    display: block;
    margin: 40px 0;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    min-width: 200px;
    min-height: 200px;
}

.page-game-strategy-guides__image-center {
    display: block;
    margin: 40px auto;
    max-width: 80%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    min-width: 200px;
    min-height: 200px;
}

/* Strategy Cards */
.page-game-strategy-guides__game-strategies-section .page-game-strategy-guides__container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.page-game-strategy-guides__strategy-card {
    background-color: rgba(255, 255, 255, 0.1); /* Semi-transparent white for dark background */
    color: var(--text-light);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.page-game-strategy-guides__light-bg .page-game-strategy-guides__strategy-card {
    background-color: var(--secondary-color);
    color: var(--text-dark);
    border: 1px solid #e0e0e0;
}

.page-game-strategy-guides__card-title {
    font-size: 1.5em;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.page-game-strategy-guides__light-bg .page-game-strategy-guides__card-title {
    color: var(--primary-color);
}

.page-game-strategy-guides__dark-bg .page-game-strategy-guides__card-title {
    color: var(--secondary-color);
}

.page-game-strategy-guides__card-image {
    width: 100%;
    height: 250px; /* Fixed height for consistency */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    min-width: 200px;
    min-height: 200px;
}

.page-game-strategy-guides__card-list {
    list-style-type: disc;
    margin-left: 20px;
    margin-bottom: 20px;
    padding: 0;
    color: inherit;
}

.page-game-strategy-guides__card-list li {
    margin-bottom: 10px;
    font-size: 1em;
    color: inherit;
}

/* FAQ Section */
.page-game-strategy-guides__faq-list {
    margin-top: 30px;
}

.page-game-strategy-guides__faq-item {
    background-color: rgba(255, 255, 255, 0.1); /* Semi-transparent white for dark background */
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.page-game-strategy-guides__light-bg .page-game-strategy-guides__faq-item {
    background-color: var(--secondary-color);
    border: 1px solid #e0e0e0;
}

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

.page-game-strategy-guides__dark-bg .page-game-strategy-guides__faq-question {
    color: var(--secondary-color);
}

.page-game-strategy-guides__faq-question:hover {
    background-color: rgba(255, 255, 255, 0.05);
}

.page-game-strategy-guides__light-bg .page-game-strategy-guides__faq-question:hover {
    background-color: #f5f5f5;
}

.page-game-strategy-guides__faq-title {
    margin: 0;
    font-size: 1em;
    color: inherit;
}

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

.page-game-strategy-guides__faq-item.active .page-game-strategy-guides__faq-toggle {
    transform: rotate(45deg);
}

.page-game-strategy-guides__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 20px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: inherit;
}

.page-game-strategy-guides__faq-item.active .page-game-strategy-guides__faq-answer {
    max-height: 1000px !important; /* Sufficiently large to accommodate content */
    padding: 15px 20px;
}

.page-game-strategy-guides__faq-answer p {
    margin: 0;
    font-size: 1em;
}

/* Conclusion Section */
.page-game-strategy-guides__conclusion-section {
    text-align: center;
    background-color: var(--primary-color);
    color: var(--text-light);
}

.page-game-strategy-guides__conclusion-text {
    font-size: 1.2em;
    margin-bottom: 25px;
}

.page-game-strategy-guides__conclusion-text a {
    color: var(--secondary-color);
    text-decoration: underline;
}

.page-game-strategy-guides__conclusion-text a:hover {
    color: var(--text-light);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-game-strategy-guides__hero-title {
        font-size: 3em;
    }
    .page-game-strategy-guides__section-title {
        font-size: 2em;
    }
    .page-game-strategy-guides__content-subtitle {
        font-size: 1.6em;
    }
    .page-game-strategy-guides__hero-section {
        min-height: 500px;
    }
}

@media (max-width: 768px) {
    .page-game-strategy-guides__hero-section {
        padding-top: var(--header-offset, 120px) !important; /* Ensure spacing below fixed header for mobile */
        min-height: 400px;
    }
    .page-game-strategy-guides__hero-title {
        font-size: 2.2em;
    }
    .page-game-strategy-guides__hero-description {
        font-size: 1em;
    }
    .page-game-strategy-guides__btn-primary,
    .page-game-strategy-guides__btn-secondary {
        padding: 12px 25px;
        font-size: 0.9em;
    }

    .page-game-strategy-guides__section {
        padding: 40px 0;
    }
    .page-game-strategy-guides__section-title {
        font-size: 1.8em;
    }
    .page-game-strategy-guides__content-subtitle {
        font-size: 1.4em;
    }
    .page-game-strategy-guides p,
    .page-game-strategy-guides__card-list li,
    .page-game-strategy-guides__faq-question,
    .page-game-strategy-guides__faq-answer p {
        font-size: 1em;
    }

    .page-game-strategy-guides__game-strategies-section .page-game-strategy-guides__container {
        grid-template-columns: 1fr;
    }
    .page-game-strategy-guides__strategy-card {
        padding: 20px;
    }
    .page-game-strategy-guides__card-image {
        height: 200px;
    }

    /* Mobile image responsiveness */
    .page-game-strategy-guides img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-game-strategy-guides__image-full-width,
    .page-game-strategy-guides__image-center {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        min-width: 200px !important;
        min-height: 200px !important;
    }

    /* Mobile button responsiveness */
    .page-game-strategy-guides__btn-primary,
    .page-game-strategy-guides__btn-secondary,
    .page-game-strategy-guides a[class*="button"],
    .page-game-strategy-guides 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-left: 15px;
        padding-right: 15px;
        margin-bottom: 10px; /* Add some space between stacked buttons */
    }
    .page-game-strategy-guides__hero-content .page-game-strategy-guides__btn-primary {
        margin-bottom: 0;
    }

    .page-game-strategy-guides__container,
    .page-game-strategy-guides__section,
    .page-game-strategy-guides__strategy-card,
    .page-game-strategy-guides__faq-item {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-game-strategy-guides__faq-item {
        padding: 0;
    }
    .page-game-strategy-guides__faq-question {
        padding: 15px;
    }
    .page-game-strategy-guides__faq-answer {
        padding: 0 15px;
    }
    .page-game-strategy-guides__faq-item.active .page-game-strategy-guides__faq-answer {
        padding: 15px;
    }
}