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

.page-game-strategy-guides {
    background-color: var(--background-color);
    color: var(--text-main-color); /* Default text color for the page */
}

.page-game-strategy-guides__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 60px 20px;
    padding-top: 10px; /* Small top padding, body handles header offset */
    background-color: var(--deep-green-color);
    box-sizing: border-box;
}

.page-game-strategy-guides__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    max-width: 1920px; /* Ensure image doesn't stretch too wide */
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    margin-bottom: 20px;
}

.page-game-strategy-guides__hero-content {
    width: 100%;
    max-width: 900px;
    text-align: center;
    padding: 20px;
    background: rgba(17, 39, 27, 0.8);
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.4);
    box-sizing: border-box;
}

.page-game-strategy-guides__main-title {
    color: var(--gold-color);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: 15px;
    max-width: 100%;
    text-shadow: 0 2px 5px rgba(0,0,0,0.3);
}

.page-game-strategy-guides__description {
    color: var(--text-secondary-color);
    font-size: 1.1em;
    line-height: 1.6;
    margin-bottom: 30px;
}

.page-game-strategy-guides__btn-primary,
.page-game-strategy-guides__btn-secondary,
.page-game-strategy-guides__btn-text-link {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1em;
    transition: all 0.3s ease;
    cursor: pointer;
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow text wrapping */
    box-sizing: border-box;
    max-width: 100%;
}

.page-game-strategy-guides__btn-primary {
    background: var(--button-gradient);
    color: #ffffff;
    border: none;
    box-shadow: 0 4px 15px rgba(34, 199, 104, 0.4);
}

.page-game-strategy-guides__btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(34, 199, 104, 0.6);
}

.page-game-strategy-guides__btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    margin-left: 15px;
}

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

.page-game-strategy-guides__content-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px 20px;
    box-sizing: border-box;
}

.page-game-strategy-guides__section-title {
    color: var(--gold-color);
    font-size: 2.5em;
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}

.page-game-strategy-guides__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-game-strategy-guides__text-block {
    color: var(--text-main-color);
    line-height: 1.8;
    margin-bottom: 20px;
    font-size: 1.05em;
}

.page-game-strategy-guides__list {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
}

.page-game-strategy-guides__list-item {
    position: relative;
    padding-left: 30px;
    margin-bottom: 10px;
    color: var(--text-main-color);
    line-height: 1.6;
}

.page-game-strategy-guides__list-item::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.2em;
}

.page-game-strategy-guides__ordered-list {
    list-style: none;
    padding: 0;
    counter-reset: item;
    margin-bottom: 20px;
}

.page-game-strategy-guides__ordered-list .page-game-strategy-guides__list-item {
    counter-increment: item;
    position: relative;
    padding-left: 40px;
}

.page-game-strategy-guides__ordered-list .page-game-strategy-guides__list-item::before {
    content: counter(item) '.';
    position: absolute;
    left: 0;
    color: var(--gold-color);
    font-weight: bold;
    font-size: 1.2em;
}

.page-game-strategy-guides__image-full-width {
    width: 100%;
    height: auto;
    display: block;
    margin: 30px auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-game-strategy-guides__game-category {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: 60px;
    background-color: var(--card-bg);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-color);
}

.page-game-strategy-guides__game-category:nth-child(even) {
    flex-direction: row-reverse;
}

.page-game-strategy-guides__game-subtitle {
    color: var(--primary-color);
    font-size: 1.8em;
    margin-bottom: 20px;
    width: 100%;
    font-weight: 600;
}

.page-game-strategy-guides__image-left,
.page-game-strategy-guides__image-right {
    width: 45%;
    height: auto;
    display: block;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    object-fit: cover;
}

.page-game-strategy-guides__image-left {
    margin-right: 5%;
}

.page-game-strategy-guides__image-right {
    margin-left: 5%;
}

.page-game-strategy-guides__game-category .page-game-strategy-guides__text-block,
.page-game-strategy-guides__game-category .page-game-strategy-guides__list {
    width: 50%;
}

.page-game-strategy-guides__btn-text-link {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 500;
    margin-top: 15px;
    display: inline-block;
    transition: color 0.3s ease;
    padding: 5px 0;
    border-bottom: 1px solid transparent;
}

.page-game-strategy-guides__btn-text-link:hover {
    color: var(--gold-color);
    border-color: var(--gold-color);
}

.page-game-strategy-guides__faq-section {
    background-color: var(--deep-green-color);
    padding: 60px 20px;
}

.page-game-strategy-guides__faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.page-game-strategy-guides__faq-item {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-game-strategy-guides__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    cursor: pointer;
    color: var(--text-main-color);
    font-weight: 600;
    font-size: 1.1em;
    background-color: var(--deep-green-color);
    border-bottom: 1px solid var(--border-color);
    user-select: none;
    transition: background-color 0.3s ease;
}

.page-game-strategy-guides__faq-item[open] .page-game-strategy-guides__faq-question {
    background-color: var(--primary-color);
    color: #ffffff;
}

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

.page-game-strategy-guides__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    margin-left: 15px;
}

.page-game-strategy-guides__faq-answer {
    padding: 20px 25px;
    color: var(--text-secondary-color);
    line-height: 1.7;
    font-size: 1em;
    background-color: var(--card-bg);
}

.page-game-strategy-guides__cta-section {
    text-align: center;
    padding: 60px 20px;
    background-color: var(--background-color);
}

.page-game-strategy-guides__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.page-game-strategy-guides__copyright-section {
    background-color: var(--deep-green-color);
    padding: 20px 20px;
    text-align: center;
    border-top: 1px solid var(--border-color);
}

.page-game-strategy-guides__copyright-text {
    color: var(--text-secondary-color);
    font-size: 0.9em;
    margin: 0;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-game-strategy-guides__main-title {
        font-size: 2.8em;
    }

    .page-game-strategy-guides__section-title {
        font-size: 2em;
    }

    .page-game-strategy-guides__game-category {
        padding: 20px;
    }

    .page-game-strategy-guides__game-category .page-game-strategy-guides__text-block,
    .page-game-strategy-guides__game-category .page-game-strategy-guides__list {
        width: 100%;
        margin-top: 20px;
    }

    .page-game-strategy-guides__image-left,
    .page-game-strategy-guides__image-right {
        width: 100%;
        margin: 0;
    }

    .page-game-strategy-guides__game-category:nth-child(even) {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .page-game-strategy-guides__hero-section {
        padding: 40px 15px;
        padding-top: 10px !important;
    }

    .page-game-strategy-guides__hero-content {
        padding: 15px;
    }

    .page-game-strategy-guides__main-title {
        font-size: 2em;
        line-height: 1.3;
    }

    .page-game-strategy-guides__description {
        font-size: 1em;
        margin-bottom: 20px;
    }

    .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: 12px 15px;
        margin: 0 0 10px 0 !important; /* Adjust margins for stacked buttons */
    }

    .page-game-strategy-guides__cta-buttons {
        flex-direction: column;
        gap: 10px;
    }

    .page-game-strategy-guides__content-container {
        padding: 20px 15px;
    }

    .page-game-strategy-guides__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }

    .page-game-strategy-guides__text-block,
    .page-game-strategy-guides__list-item {
        font-size: 0.95em;
    }

    /* Mobile image responsiveness */
    .page-game-strategy-guides img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    /* Mobile container responsiveness */
    .page-game-strategy-guides__section,
    .page-game-strategy-guides__card,
    .page-game-strategy-guides__container,
    .page-game-strategy-guides__hero-section,
    .page-game-strategy-guides__introduction-section,
    .page-game-strategy-guides__importance-section,
    .page-game-strategy-guides__game-types-section,
    .page-game-strategy-guides__code-advantage-section,
    .page-game-strategy-guides__tips-section,
    .page-game-strategy-guides__faq-section,
    .page-game-strategy-guides__cta-section,
    .page-game-strategy-guides__copyright-section,
    .page-game-strategy-guides__game-category {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }

    .page-game-strategy-guides__faq-question {
        font-size: 1em;
        padding: 15px 20px;
    }

    .page-game-strategy-guides__faq-answer {
        padding: 15px 20px;
    }
}

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

    .page-game-strategy-guides__section-title {
        font-size: 1.5em;
    }

    .page-game-strategy-guides__btn-primary,
    .page-game-strategy-guides__btn-secondary {
        font-size: 0.9em;
        padding: 10px 15px;
    }
}