/* style/game-strategies.css */

/* Color Palette Variables */
:root {
    --primary-color: #11A84E;
    --secondary-color: #22C768;
    --button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    --card-bg: #11271B;
    --background: #08160F;
    --text-main: #F2FFF6;
    --text-secondary: #A7D9B8;
    --border: #2E7A4E;
    --glow: #57E38D;
    --gold: #F2C14E;
    --divider: #1E3A2A;
    --deep-green: #0A4B2C;

    /* RGB values for transparent effects */
    --gold-rgb: 242, 193, 78;
}

/* Base styles for the page */
.page-game-strategies {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-main);
    background-color: var(--background);
}

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

/* Hero Section */
.page-game-strategies__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column; /* Image above text */
    align-items: center;
    padding: 60px 20px;
    padding-top: 10px; /* Small top padding, body handles --header-offset */
    text-align: center;
    background-color: var(--background);
}

.page-game-strategies__hero-image-wrapper {
    width: 100%;
    max-width: 1200px; /* Constrain image width */
    margin-bottom: 30px;
}

.page-game-strategies__hero-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    min-width: 200px;
    min-height: 200px;
}

.page-game-strategies__hero-content {
    max-width: 900px;
    color: var(--text-main);
}

.page-game-strategies__main-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem); /* Responsive font size for H1 */
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 20px;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.page-game-strategies__intro-text {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 30px;
}

.page-game-strategies__cta-buttons {
    display: flex;
    flex-wrap: wrap; /* Allow wrapping on small screens */
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.page-game-strategies__btn-primary,
.page-game-strategies__btn-secondary,
.page-game-strategies__btn-link {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
    text-align: center;
    box-sizing: border-box; /* Crucial for responsive buttons */
}

.page-game-strategies__btn-primary {
    background: var(--button-gradient);
    color: #ffffff;
    border: 2px solid transparent;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-game-strategies__btn-primary:hover {
    background: linear-gradient(180deg, var(--deep-green) 0%, var(--primary-color) 100%);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
    transform: translateY(-2px);
}

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

.page-game-strategies__btn-secondary:hover {
    background-color: rgba(var(--gold-rgb), 0.1);
    color: #ffffff;
    transform: translateY(-2px);
}

.page-game-strategies__btn-link {
    background: transparent;
    color: var(--gold);
    border: 1px solid var(--gold);
    padding: 10px 20px;
    font-size: 0.9em;
    border-radius: 5px;
}

.page-game-strategies__btn-link:hover {
    background-color: rgba(var(--gold-rgb), 0.1);
}

/* General Section Styles */
.page-game-strategies__section {
    padding: 60px 0;
    background-color: var(--background);
    color: var(--text-main);
}

.page-game-strategies__section--dark {
    background-color: var(--card-bg);
}

.page-game-strategies__section-title {
    font-size: 2.5rem;
    color: var(--gold);
    text-align: center;
    margin-bottom: 40px;
    font-weight: 600;
}

.page-game-strategies__sub-title {
    font-size: 1.8rem;
    color: var(--text-main);
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: 500;
}

.page-game-strategies__paragraph {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: var(--text-secondary);
}

.page-game-strategies__list {
    list-style: disc;
    margin-left: 20px;
    margin-bottom: 20px;
    color: var(--text-secondary);
}

.page-game-strategies__list-item {
    margin-bottom: 10px;
}

/* Image with Text Block */
.page-game-strategies__image-text-block {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-bottom: 40px;
}

.page-game-strategies__image-text-block--reverse {
    flex-direction: row-reverse;
}

.page-game-strategies__image-wrapper {
    flex: 1;
    min-width: 300px;
}

.page-game-strategies__content-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    min-width: 200px; /* Ensure min size */
    min-height: 200px; /* Ensure min size */
}

.page-game-strategies__text-content {
    flex: 2;
}

/* FAQ Section */
.page-game-strategies__faq-list {
    max-width: 800px;
    margin: 0 auto;
}

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

.page-game-strategies__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    cursor: pointer;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-main);
    background-color: var(--card-bg);
}

.page-game-strategies__faq-question:hover {
    background-color: rgba(var(--gold-rgb), 0.05);
}

.page-game-strategies__faq-toggle {
    font-size: 1.5rem;
    line-height: 1;
    margin-left: 15px;
    color: var(--gold);
    transition: transform 0.3s ease;
}

.page-game-strategies__faq-item[open] .page-game-strategies__faq-toggle {
    transform: rotate(45deg); /* Change '+' to 'x' or rotate */
}

.page-game-strategies__faq-item summary {
    list-style: none;
}

.page-game-strategies__faq-item summary::-webkit-details-marker {
    display: none;
}

.page-game-strategies__faq-answer {
    padding: 0 20px 20px;
    font-size: 1.1rem;
    color: var(--text-secondary);
    opacity: 0.9;
}

/* CTA Section */
.page-game-strategies__section--cta {
    text-align: center;
    padding: 80px 0;
    background: linear-gradient(135deg, var(--deep-green) 0%, var(--card-bg) 100%);
    color: var(--text-main);
}

.page-game-strategies__container--flex {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.page-game-strategies__cta-content {
    max-width: 800px;
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-game-strategies__main-title {
        font-size: clamp(2rem, 4.5vw, 3rem);
    }

    .page-game-strategies__section-title {
        font-size: 2rem;
    }

    .page-game-strategies__sub-title {
        font-size: 1.5rem;
    }

    .page-game-strategies__image-text-block {
        flex-direction: column;
        text-align: center;
    }

    .page-game-strategies__image-text-block--reverse {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .page-game-strategies__hero-section {
        padding: 40px 15px;
        padding-top: 10px !important; /* Small top padding for mobile */
    }

    .page-game-strategies__container,
    .page-game-strategies__section,
    .page-game-strategies__card,
    .page-game-strategies__image-text-block,
    .page-game-strategies__faq-list,
    .page-game-strategies__cta-buttons,
    .page-game-strategies__container--flex {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important; /* Prevent horizontal scroll */
    }

    .page-game-strategies__section {
        padding: 40px 0;
    }

    .page-game-strategies__main-title {
        font-size: clamp(1.8rem, 8vw, 2.5rem);
    }

    .page-game-strategies__intro-text {
        font-size: 1rem;
    }

    .page-game-strategies__section-title {
        font-size: 1.8rem;
    }

    .page-game-strategies__sub-title {
        font-size: 1.3rem;
    }

    .page-game-strategies__paragraph,
    .page-game-strategies__list-item,
    .page-game-strategies__faq-answer {
        font-size: 1rem;
    }

    /* Mobile specific image rules */
    .page-game-strategies img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    /* Mobile specific button rules */
    .page-game-strategies__cta-buttons {
        flex-direction: column; /* Stack buttons vertically */
        gap: 15px;
    }

    .page-game-strategies__btn-primary,
    .page-game-strategies__btn-secondary,
    .page-game-strategies__btn-link,
    .page-game-strategies a[class*="button"],
    .page-game-strategies a[class*="btn"] {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important; /* Allow text wrapping */
        word-wrap: break-word !important; /* Allow text wrapping */
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-game-strategies__faq-question {
        font-size: 1rem;
        padding: 15px;
    }

    .page-game-strategies__faq-toggle {
        font-size: 1.2rem;
    }
}

/* No CSS filters on images */
.page-game-strategies img {
    filter: none; /* Explicitly disable any potential filters */
}