/* style/game-bai-chien-thuat-choi.css */

:root {
    --primary-color: #017439;
    --secondary-color: #FFFFFF;
    --text-color-dark: #333333;
    --text-color-light: #ffffff;
    --bg-color-light: #ffffff;
    --bg-color-dark: #017439;
    --register-color: #C30808;
    --login-color: #C30808;
    --register-login-font-color: #FFFF00;
}

.page-game-bai-chien-thuat-choi {
    font-family: Arial, sans-serif;
    color: var(--text-color-dark);
    background-color: var(--bg-color-light);
}

.page-game-bai-chien-thuat-choi__container {
    max-width: 1170px;
    margin: 0 auto;
    padding: 0 15px;
    box-sizing: border-box;
}

/* Hero Section */
.page-game-bai-chien-thuat-choi__hero-section {
    padding-top: 10px; /* Small top padding as body padding-top is handled by shared.css */
    padding-bottom: 60px;
    background-color: var(--secondary-color);
    color: var(--text-color-dark);
}

.page-game-bai-chien-thuat-choi__hero-container {
    display: flex;
    align-items: center;
    gap: 40px;
    padding: 40px 0;
    flex-wrap: wrap;
}

.page-game-bai-chien-thuat-choi__hero-content {
    flex: 1 1 50%;
    min-width: 300px;
}

.page-game-bai-chien-thuat-choi__main-title {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.page-game-bai-chien-thuat-choi__hero-description {
    font-size: 1.125rem;
    line-height: 1.6;
    margin-bottom: 30px;
}

.page-game-bai-chien-thuat-choi__cta-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.page-game-bai-chien-thuat-choi__btn-primary,
.page-game-bai-chien-thuat-choi__btn-secondary {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    text-align: center;
    box-sizing: border-box;
    max-width: 100%;
    white-space: normal;
    word-wrap: break-word;
}

.page-game-bai-chien-thuat-choi__btn-primary {
    background-color: var(--login-color); /* Using login color for primary CTA */
    color: var(--register-login-font-color); /* Using register/login font color */
    border: 2px solid var(--login-color);
}

.page-game-bai-chien-thuat-choi__btn-primary:hover {
    background-color: darken(var(--login-color), 10%);
    border-color: darken(var(--login-color), 10%);
}

.page-game-bai-chien-thuat-choi__btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.page-game-bai-chien-thuat-choi__btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--secondary-color);
}

.page-game-bai-chien-thuat-choi__hero-image {
    flex: 1 1 40%;
    min-width: 300px;
    text-align: center;
}

.page-game-bai-chien-thuat-choi__side-image {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Section Titles and Descriptions */
.page-game-bai-chien-thuat-choi__section-title {
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    font-weight: 700;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 20px;
    margin-top: 60px;
}

.page-game-bai-chien-thuat-choi__section-description {
    font-size: 1.0625rem;
    line-height: 1.6;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
}

/* Intro Section (Module 1 - Three circular images) */
.page-game-bai-chien-thuat-choi__intro-section {
    padding: 60px 0;
    background-color: #f9f9f9;
}

.page-game-bai-chien-thuat-choi__icon-boxes {
    display: flex;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap;
}

.page-game-bai-chien-thuat-choi__icon-box {
    flex: 1 1 300px;
    max-width: 350px;
    background-color: var(--secondary-color);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.page-game-bai-chien-thuat-choi__icon-box:hover {
    transform: translateY(-5px);
}

.page-game-bai-chien-thuat-choi__icon-box-media {
    width: 160px;
    height: 160px;
    margin: 0 auto 25px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid var(--primary-color);
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-game-bai-chien-thuat-choi__icon-box-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.page-game-bai-chien-thuat-choi__icon-box-title {
    font-size: 1.375rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.page-game-bai-chien-thuat-choi__icon-box-text {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-color-dark);
}

/* Game Strategy Tabs Section */
.page-game-bai-chien-thuat-choi__game-strategy-tabs {
    padding: 60px 0;
    background-color: var(--bg-color-light);
}

.page-game-bai-chien-thuat-choi__tab-nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 40px;
    border-bottom: 2px solid #e0e0e0;
    gap: 10px;
}

.page-game-bai-chien-thuat-choi__tab-button {
    background-color: transparent;
    border: none;
    padding: 15px 25px;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-color-dark);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    outline: none;
}

.page-game-bai-chien-thuat-choi__tab-button:hover,
.page-game-bai-chien-thuat-choi__tab-button.is-active {
    color: var(--primary-color);
}

.page-game-bai-chien-thuat-choi__tab-button.is-active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary-color);
}

.page-game-bai-chien-thuat-choi__tab-content {
    background-color: var(--secondary-color);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    padding: 40px;
}

.page-game-bai-chien-thuat-choi__game-panel {
    display: none;
}

.page-game-bai-chien-thuat-choi__game-panel.is-active {
    display: block;
}

.page-game-bai-chien-thuat-choi__panel-title {
    font-size: 1.875rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 25px;
    text-align: center;
}

.page-game-bai-chien-thuat-choi__panel-image {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto 30px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.page-game-bai-chien-thuat-choi__game-panel p {
    font-size: 1.0625rem;
    line-height: 1.7;
    margin-bottom: 20px;
    color: var(--text-color-dark);
}

.page-game-bai-chien-thuat-choi__game-panel ul {
    list-style: disc;
    margin-left: 20px;
    margin-bottom: 20px;
}

.page-game-bai-chien-thuat-choi__game-panel ul li {
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 10px;
    color: var(--text-color-dark);
}

.page-game-bai-chien-thuat-choi__game-panel ul li strong {
    color: var(--primary-color);
}

.page-game-bai-chien-thuat-choi__btn-link {
    display: inline-block;
    margin-top: 15px;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.page-game-bai-chien-thuat-choi__btn-link:hover {
    color: darken(var(--primary-color), 10%);
    text-decoration: underline;
}

/* Advanced Tips Section */
.page-game-bai-chien-thuat-choi__advanced-tips-section {
    padding: 60px 0;
    background-color: #f9f9f9;
}

.page-game-bai-chien-thuat-choi__tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    justify-content: center;
}

.page-game-bai-chien-thuat-choi__tip-card {
    background-color: var(--secondary-color);
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: transform 0.3s ease;
}

.page-game-bai-chien-thuat-choi__tip-card:hover {
    transform: translateY(-5px);
}

.page-game-bai-chien-thuat-choi__tip-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.page-game-bai-chien-thuat-choi__tip-card-content {
    padding: 25px;
}

.page-game-bai-chien-thuat-choi__tip-title {
    font-size: 1.375rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 15px;
    padding: 0 25px;
}

.page-game-bai-chien-thuat-choi__tip-text {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-color-dark);
    padding: 0 25px 25px;
}

/* FAQ Section */
.page-game-bai-chien-thuat-choi__faq-section {
    padding: 60px 0;
    background-color: var(--bg-color-light);
}

.page-game-bai-chien-thuat-choi__faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.page-game-bai-chien-thuat-choi__faq-item {
    background-color: var(--secondary-color);
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.page-game-bai-chien-thuat-choi__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--primary-color);
    cursor: pointer;
    background-color: #f5f5f5;
    border-bottom: 1px solid #e0e0e0;
}

.page-game-bai-chien-thuat-choi__faq-item[open] .page-game-bai-chien-thuat-choi__faq-question {
    border-bottom: 1px solid var(--primary-color);
}

.page-game-bai-chien-thuat-choi__faq-question::-webkit-details-marker {
    display: none;
}

.page-game-bai-chien-thuat-choi__faq-toggle {
    font-size: 1.5rem;
    line-height: 1;
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.page-game-bai-chien-thuat-choi__faq-item[open] .page-game-bai-chien-thuat-choi__faq-toggle {
    transform: rotate(45deg);
}

.page-game-bai-chien-thuat-choi__faq-answer {
    padding: 20px 25px;
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-color-dark);
}

.page-game-bai-chien-thuat-choi__faq-answer p {
    margin-bottom: 15px;
}

.page-game-bai-chien-thuat-choi__faq-answer .page-game-bai-chien-thuat-choi__btn-primary {
    margin-top: 10px;
}

/* CTA Bottom Section */
.page-game-bai-chien-thuat-choi__cta-bottom-section {
    padding: 80px 0;
    background-color: var(--primary-color);
    color: var(--text-color-light);
    text-align: center;
}

.page-game-bai-chien-thuat-choi__cta-title {
    font-size: clamp(2.2rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-color-light);
}

.page-game-bai-chien-thuat-choi__cta-description {
    font-size: 1.125rem;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto 40px;
}

.page-game-bai-chien-thuat-choi__btn-large {
    padding: 16px 32px;
    font-size: 1.125rem;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-game-bai-chien-thuat-choi__hero-container {
        flex-direction: column;
        text-align: center;
    }

    .page-game-bai-chien-thuat-choi__hero-content {
        flex: 1 1 100%;
    }

    .page-game-bai-chien-thuat-choi__hero-image {
        flex: 1 1 100%;
        order: -1; /* Image above text on smaller screens */
        margin-bottom: 30px;
    }

    .page-game-bai-chien-thuat-choi__cta-buttons {
        justify-content: center;
    }

    .page-game-bai-chien-thuat-choi__icon-boxes {
        flex-direction: column;
        align-items: center;
    }

    .page-game-bai-chien-thuat-choi__icon-box {
        max-width: 400px;
    }
}

@media (max-width: 768px) {
    /* HERO Section */
    .page-game-bai-chien-thuat-choi__hero-section {
        padding-top: 10px !important;
        padding-bottom: 40px;
    }

    .page-game-bai-chien-thuat-choi__hero-container {
        padding: 30px 0;
        gap: 20px;
    }

    .page-game-bai-chien-thuat-choi__main-title {
        font-size: 2rem;
        margin-bottom: 15px;
    }

    .page-game-bai-chien-thuat-choi__hero-description {
        font-size: 1rem;
        margin-bottom: 20px;
    }

    /* Buttons and Button Containers */
    .page-game-bai-chien-thuat-choi__cta-buttons {
        flex-direction: column;
        gap: 10px;
        padding: 0 15px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .page-game-bai-chien-thuat-choi__btn-primary,
    .page-game-bai-chien-thuat-choi__btn-secondary,
    .page-game-bai-chien-thuat-choi a[class*="button"],
    .page-game-bai-chien-thuat-choi 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;
    }
    
    .page-game-bai-chien-thuat-choi__cta-bottom-section .page-game-bai-chien-thuat-choi__btn-primary {
        padding-left: 15px;
        padding-right: 15px;
    }

    /* Section Titles and Descriptions */
    .page-game-bai-chien-thuat-choi__section-title {
        font-size: 1.8rem;
        margin-top: 40px;
        margin-bottom: 15px;
    }

    .page-game-bai-chien-thuat-choi__section-description {
        font-size: 0.9375rem;
        margin-bottom: 25px;
    }

    /* Intro Section (Module 1 - Three circular images) */
    .page-game-bai-chien-thuat-choi__intro-section {
        padding: 40px 0;
    }

    .page-game-bai-chien-thuat-choi__icon-box-media {
        width: 120px; /* Still equal width/height */
        height: 120px;
        margin-bottom: 15px;
    }

    .page-game-bai-chien-thuat-choi__icon-box-title {
        font-size: 1.2rem;
    }

    .page-game-bai-chien-thuat-choi__icon-box-text {
        font-size: 0.9375rem;
    }

    /* Game Strategy Tabs Section (Tab nav and panels stacking) */
    .page-game-bai-chien-thuat-choi__game-strategy-tabs {
        padding: 40px 0;
    }

    .page-game-bai-chien-thuat-choi__tab-nav {
        flex-direction: column;
        align-items: stretch;
        margin-bottom: 30px;
        border-bottom: none;
    }

    .page-game-bai-chien-thuat-choi__tab-button {
        font-size: 1rem;
        padding: 12px 15px;
        border-bottom: 1px solid #e0e0e0;
        text-align: left;
    }

    .page-game-bai-chien-thuat-choi__tab-button.is-active::after {
        width: 50px;
        left: 15px;
    }

    .page-game-bai-chien-thuat-choi__tab-content {
        padding: 25px 15px;
    }

    .page-game-bai-chien-thuat-choi__panel-title {
        font-size: 1.5rem;
        margin-bottom: 20px;
    }

    .page-game-bai-chien-thuat-choi__game-panel p,
    .page-game-bai-chien-thuat-choi__game-panel ul li {
        font-size: 0.9375rem;
    }

    /* Advanced Tips Section */
    .page-game-bai-chien-thuat-choi__advanced-tips-section {
        padding: 40px 0;
    }

    .page-game-bai-chien-thuat-choi__tips-grid {
        grid-template-columns: 1fr;
    }

    .page-game-bai-chien-thuat-choi__tip-image {
        height: 180px;
    }

    .page-game-bai-chien-thuat-choi__tip-title {
        font-size: 1.2rem;
        padding: 0 15px;
    }

    .page-game-bai-chien-thuat-choi__tip-text {
        font-size: 0.9375rem;
        padding: 0 15px 15px;
    }

    /* FAQ Section */
    .page-game-bai-chien-thuat-choi__faq-section {
        padding: 40px 0;
    }

    .page-game-bai-chien-thuat-choi__faq-question {
        font-size: 1rem;
        padding: 15px 20px;
    }

    .page-game-bai-chien-thuat-choi__faq-answer {
        padding: 15px 20px;
        font-size: 0.9375rem;
    }

    /* CTA Bottom Section */
    .page-game-bai-chien-thuat-choi__cta-bottom-section {
        padding: 60px 0;
    }

    .page-game-bai-chien-thuat-choi__cta-title {
        font-size: 1.8rem;
    }

    .page-game-bai-chien-thuat-choi__cta-description {
        font-size: 1rem;
        margin-bottom: 30px;
    }

    /* General Images and Containers */
    .page-game-bai-chien-thuat-choi img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    .page-game-bai-chien-thuat-choi__section,
    .page-game-bai-chien-thuat-choi__card,
    .page-game-bai-chien-thuat-choi__container,
    .page-game-bai-chien-thuat-choi__icon-box,
    .page-game-bai-chien-thuat-choi__tip-card,
    .page-game-bai-chien-thuat-choi__faq-item {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-game-bai-chien-thuat-choi__icon-box-media {
        /* Specific for circular images, height:auto not applicable */
        width: 100px;
        height: 100px;
        margin-bottom: 15px;
    }
}