/* style/huong-dan-choi-game-bai.css */

/* Base Styles */
.page-huong-dan-choi-game-bai {
    font-family: Arial, sans-serif;
    color: #333333; /* Dark text for light body background */
    line-height: 1.6;
    background-color: #ffffff; /* Explicitly set for clarity, though shared.css might define body */
}

.page-huong-dan-choi-game-bai__container {
    max-width: 1170px;
    margin: 0 auto;
    padding: 20px 15px;
    box-sizing: border-box;
}

.page-huong-dan-choi-game-bai__section-title {
    font-size: 2.5em;
    color: #017439;
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
    line-height: 1.2;
}

.page-huong-dan-choi-game-bai__text-block {
    font-size: 1.1em;
    margin-bottom: 20px;
    text-align: justify;
}

/* Buttons */
.page-huong-dan-choi-game-bai__cta-buttons {
    display: flex;
    gap: 20px;
    margin-top: 30px;
    justify-content: center;
    flex-wrap: wrap; /* Allow wrapping for multiple buttons */
}

.page-huong-dan-choi-game-bai__btn-primary,
.page-huong-dan-choi-game-bai__btn-secondary {
    display: inline-block;
    padding: 14px 30px;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
    text-align: center;
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow long words to break */
    box-sizing: border-box;
}

.page-huong-dan-choi-game-bai__btn-primary {
    background-color: #C30808; /* Register/Login color */
    color: #FFFF00; /* Register/Login text color */
    border: 2px solid #C30808;
}

.page-huong-dan-choi-game-bai__btn-primary:hover {
    background-color: #a00606;
    border-color: #a00606;
}

.page-huong-dan-choi-game-bai__btn-secondary {
    background-color: #017439; /* Main color */
    color: #ffffff; /* Auxiliary color */
    border: 2px solid #017439;
}

.page-huong-dan-choi-game-bai__btn-secondary:hover {
    background-color: #005a2d;
    border-color: #005a2d;
}

/* Hero Section */
.page-huong-dan-choi-game-bai__hero-section {
    padding-top: 10px; /* Small top padding, body handles header offset */
    padding-bottom: 60px;
    background-color: #f8f8f8;
}

.page-huong-dan-choi-game-bai__hero-container {
    display: flex;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}

.page-huong-dan-choi-game-bai__hero-content {
    flex: 1 1 50%;
    min-width: 300px;
    text-align: left;
}

.page-huong-dan-choi-game-bai__main-title {
    font-size: 3.2em;
    color: #017439;
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.2;
}

.page-huong-dan-choi-game-bai__hero-description {
    font-size: 1.2em;
    margin-bottom: 30px;
    color: #555555;
    text-align: justify;
}

.page-huong-dan-choi-game-bai__hero-image {
    flex: 1 1 40%;
    min-width: 300px;
    text-align: center;
}

.page-huong-dan-choi-game-bai__hero-side-image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

/* General Image Styling */
.page-huong-dan-choi-game-bai img {
    max-width: 100%;
    height: auto;
    display: block; /* Prevents extra space below images */
}

/* Intro Section */
.page-huong-dan-choi-game-bai__intro-section {
    padding: 60px 0;
    background-color: #ffffff; /* Light background for intro */
}

/* Game Types Section */
.page-huong-dan-choi-game-bai__game-types-section {
    padding: 60px 0;
    background-color: #f0f8f0; /* Light green tint */
}

.page-huong-dan-choi-game-bai__game-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.page-huong-dan-choi-game-bai__game-card {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
}

.page-huong-dan-choi-game-bai__game-card:hover {
    transform: translateY(-5px);
}

.page-huong-dan-choi-game-bai__game-card-image {
    width: 100%;
    height: 250px; /* Fixed height for consistency */
    object-fit: cover;
    display: block;
}

.page-huong-dan-choi-game-bai__game-card-title {
    font-size: 1.8em;
    color: #017439;
    margin: 20px 20px 10px;
    font-weight: bold;
}

.page-huong-dan-choi-game-bai__game-card-description {
    font-size: 1em;
    color: #555555;
    margin: 0 20px 20px;
    flex-grow: 1;
    text-align: justify;
}

/* Strategy Section */
.page-huong-dan-choi-game-bai__strategy-section {
    padding: 60px 0;
    background-color: #017439; /* Dark background */
    color: #ffffff; /* Light text */
}

.page-huong-dan-choi-game-bai__strategy-section .page-huong-dan-choi-game-bai__section-title {
    color: #ffffff;
}

.page-huong-dan-choi-game-bai__strategy-image {
    max-width: 800px;
    margin: 0 auto 40px;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.page-huong-dan-choi-game-bai__strategy-list {
    list-style: disc;
    max-width: 800px;
    margin: 0 auto;
    padding-left: 25px;
}

.page-huong-dan-choi-game-bai__strategy-list li {
    margin-bottom: 15px;
    font-size: 1.1em;
}

.page-huong-dan-choi-game-bai__strategy-list li strong {
    color: #FFFF00; /* Highlight important points */
}

/* Tips Section */
.page-huong-dan-choi-game-bai__tips-section {
    padding: 60px 0;
    background-color: #ffffff; /* Light background */
}

.page-huong-dan-choi-game-bai__tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.page-huong-dan-choi-game-bai__tip-item {
    background-color: #f8f8f8;
    border-left: 5px solid #017439;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-huong-dan-choi-game-bai__tip-title {
    font-size: 1.5em;
    color: #017439;
    margin-bottom: 15px;
    font-weight: bold;
}

.page-huong-dan-choi-game-bai__tip-item p {
    font-size: 1em;
    color: #555555;
    text-align: justify;
}

/* FAQ Section */
.page-huong-dan-choi-game-bai__faq-section {
    padding: 60px 0;
    background-color: #017439; /* Dark background */
    color: #ffffff; /* Light text */
}

.page-huong-dan-choi-game-bai__faq-section .page-huong-dan-choi-game-bai__section-title {
    color: #ffffff;
}

.page-huong-dan-choi-game-bai__faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.page-huong-dan-choi-game-bai__faq-item {
    background-color: #ffffff;
    color: #333333;
    margin-bottom: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.page-huong-dan-choi-game-bai__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    font-size: 1.2em;
    font-weight: bold;
    cursor: pointer;
    background-color: #f5f5f5;
    border-bottom: 1px solid #eeeeee;
}

.page-huong-dan-choi-game-bai__faq-item[open] > .page-huong-dan-choi-game-bai__faq-question {
    background-color: #e0e0e0;
    border-bottom: none;
}

.page-huong-dan-choi-game-bai__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    margin-left: 15px;
}

.page-huong-dan-choi-game-bai__faq-item[open] .page-huong-dan-choi-game-bai__faq-toggle {
    content: "−"; /* Changes to minus sign when open */
}

.page-huong-dan-choi-game-bai__faq-answer {
    padding: 0 20px 20px;
    font-size: 1em;
    color: #555555;
    text-align: justify;
}

/* CTA Bottom Section */
.page-huong-dan-choi-game-bai__cta-bottom-section {
    padding: 60px 0;
    background-color: #f8f8f8;
    text-align: center;
}

.page-huong-dan-choi-game-bai__cta-bottom-section .page-huong-dan-choi-game-bai__text-block {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 30px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-huong-dan-choi-game-bai__hero-container {
        flex-direction: column;
        text-align: center;
    }

    .page-huong-dan-choi-game-bai__hero-content {
        text-align: center;
    }

    .page-huong-dan-choi-game-bai__main-title {
        font-size: 2.8em;
    }

    .page-huong-dan-choi-game-bai__section-title {
        font-size: 2.2em;
    }

    .page-huong-dan-choi-game-bai__game-card-title {
        font-size: 1.6em;
    }

    .page-huong-dan-choi-game-bai__strategy-image {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    /* HERO Section */
    .page-huong-dan-choi-game-bai__hero-section {
        padding-top: 10px !important; /* Small top padding for mobile, body handles header offset */
        padding-bottom: 40px;
    }

    .page-huong-dan-choi-game-bai__hero-container {
        padding: 20px 15px;
        flex-direction: column;
        gap: 20px;
    }

    .page-huong-dan-choi-game-bai__hero-content {
        flex: 1 1 100%;
        text-align: center;
    }

    .page-huong-dan-choi-game-bai__main-title {
        font-size: 2em;
        margin-bottom: 15px;
    }

    .page-huong-dan-choi-game-bai__hero-description {
        font-size: 1em;
        margin-bottom: 20px;
    }

    .page-huong-dan-choi-game-bai__hero-image {
        flex: 1 1 100%;
        order: -1; /* Image above text on mobile */
    }

    .page-huong-dan-choi-game-bai__hero-side-image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }

    /* Buttons */
    .page-huong-dan-choi-game-bai__cta-buttons {
        flex-direction: column;
        gap: 10px;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-huong-dan-choi-game-bai__btn-primary,
    .page-huong-dan-choi-game-bai__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;
        font-size: 1em;
    }

    /* General Sections and Titles */
    .page-huong-dan-choi-game-bai__container {
        padding: 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-huong-dan-choi-game-bai__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }

    .page-huong-dan-choi-game-bai__text-block {
        font-size: 1em;
    }

    /* Game Types Section */
    .page-huong-dan-choi-game-bai__game-list {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-huong-dan-choi-game-bai__game-card-image {
        height: 200px;
    }

    .page-huong-dan-choi-game-bai__game-card-title {
        font-size: 1.5em;
        margin: 15px 15px 8px;
    }

    .page-huong-dan-choi-game-bai__game-card-description {
        margin: 0 15px 15px;
    }

    /* Strategy Section */
    .page-huong-dan-choi-game-bai__strategy-image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        margin-bottom: 20px;
    }

    .page-huong-dan-choi-game-bai__strategy-list {
        padding-left: 20px;
    }

    .page-huong-dan-choi-game-bai__strategy-list li {
        font-size: 1em;
        margin-bottom: 10px;
    }

    /* Tips Section */
    .page-huong-dan-choi-game-bai__tips-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-huong-dan-choi-game-bai__tip-item {
        padding: 20px;
    }

    .page-huong-dan-choi-game-bai__tip-title {
        font-size: 1.3em;
        margin-bottom: 10px;
    }

    /* FAQ Section */
    .page-huong-dan-choi-game-bai__faq-question {
        padding: 15px;
        font-size: 1.1em;
    }

    .page-huong-dan-choi-game-bai__faq-answer {
        padding: 0 15px 15px;
    }

    /* CTA Bottom Section */
    .page-huong-dan-choi-game-bai__cta-bottom-section {
        padding: 40px 0;
    }

    .page-huong-dan-choi-game-bai__cta-bottom-section .page-huong-dan-choi-game-bai__text-block {
        margin-bottom: 20px;
    }

    /* Universal image responsive rule */
    .page-huong-dan-choi-game-bai img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
}