/* General styles */
.page-huong-dan-choi {
    font-family: Arial, sans-serif;
    color: #1F2D3D; /* Default text color, adjusted for light background */
    background-color: #F4F7FB; /* Default background */
    line-height: 1.6;
}

/* Hero Section */
.page-huong-dan-choi__hero-section {
    padding-top: 10px; /* Small top padding, body handles header offset */
    background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
    color: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-bottom: 40px;
}

.page-huong-dan-choi__hero-image-wrapper {
    width: 100%;
    max-width: 1200px;
    margin-bottom: 20px;
    overflow: hidden;
}

.page-huong-dan-choi__hero-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.page-huong-dan-choi__hero-content {
    text-align: center;
    max-width: 900px;
    padding: 0 20px;
}

.page-huong-dan-choi__main-title {
    font-size: clamp(2em, 4vw, 2.8em); /* H1 font size with clamp */
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 15px;
    color: #ffffff;
}

.page-huong-dan-choi__intro-text {
    font-size: 1.1em;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.page-huong-dan-choi__cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}

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

.page-huong-dan-choi__btn-primary {
    background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
    color: #ffffff;
    border: 2px solid transparent;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-huong-dan-choi__btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-huong-dan-choi__btn-secondary {
    background: #ffffff;
    color: #2F6BFF;
    border: 2px solid #2F6BFF;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-huong-dan-choi__btn-secondary:hover {
    background: #f0f0f0;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.page-huong-dan-choi__btn-outline {
    background: transparent;
    color: #2F6BFF;
    border: 2px solid #2F6BFF;
    padding: 10px 20px;
    font-size: 0.9em;
}

.page-huong-dan-choi__btn-outline:hover {
    background: #2F6BFF;
    color: #ffffff;
}

/* Sections */
.page-huong-dan-choi__section {
    padding: 60px 0;
    background-color: #F4F7FB;
    color: #1F2D3D;
}

.page-huong-dan-choi__section:nth-of-type(even) {
    background-color: #ffffff;
}

.page-huong-dan-choi__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-huong-dan-choi__section-title {
    font-size: 2.2em;
    font-weight: 700;
    color: #1F2D3D;
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}

.page-huong-dan-choi__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: #2F6BFF;
    border-radius: 2px;
}

.page-huong-dan-choi__text-block {
    font-size: 1.05em;
    line-height: 1.7;
    margin-bottom: 20px;
    text-align: justify;
    color: #1F2D3D;
}

.page-huong-dan-choi__text-block a {
    color: #2F6BFF;
    text-decoration: none;
    font-weight: 600;
}

.page-huong-dan-choi__text-block a:hover {
    text-decoration: underline;
}

/* Steps Section */
.page-huong-dan-choi__grid-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.page-huong-dan-choi__step-card {
    background-color: #FFFFFF;
    border: 1px solid #D6E2FF;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.page-huong-dan-choi__step-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.page-huong-dan-choi__step-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 25px;
    display: block;
}

.page-huong-dan-choi__step-title {
    font-size: 1.5em;
    font-weight: 700;
    color: #2F6BFF;
    margin-bottom: 15px;
}

.page-huong-dan-choi__step-description {
    font-size: 0.95em;
    color: #1F2D3D;
    line-height: 1.6;
    margin-bottom: 25px;
    flex-grow: 1;
}

/* Game Guide Section */
.page-huong-dan-choi__huong-dan-game .page-huong-dan-choi__text-block {
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.page-huong-dan-choi__game-guide-item {
    background-color: #FFFFFF;
    border: 1px solid #D6E2FF;
    border-radius: 12px;
    padding: 40px;
    margin-bottom: 30px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.05);
}

.page-huong-dan-choi__game-title {
    font-size: 1.8em;
    font-weight: 700;
    color: #2F6BFF;
    margin-bottom: 25px;
    text-align: center;
}

.page-huong-dan-choi__game-image {
    width: 100%;
    height: auto;
    max-height: 450px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 25px;
    display: block;
}

.page-huong-dan-choi__game-description {
    font-size: 1.05em;
    color: #1F2D3D;
    line-height: 1.7;
    margin-bottom: 20px;
    text-align: justify;
}

.page-huong-dan-choi__game-list {
    list-style-type: disc;
    margin-left: 25px;
    margin-bottom: 30px;
    color: #1F2D3D;
}

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

/* Tips Section */
.page-huong-dan-choi__meo-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.page-huong-dan-choi__meo-item {
    background-color: #FFFFFF;
    border: 1px solid #D6E2FF;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
    transition: transform 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.page-huong-dan-choi__meo-item:hover {
    transform: translateY(-3px);
}

.page-huong-dan-choi__meo-title {
    font-size: 1.3em;
    font-weight: 700;
    color: #2F6BFF;
    margin-bottom: 15px;
}

.page-huong-dan-choi__meo-description {
    font-size: 0.95em;
    color: #1F2D3D;
    line-height: 1.6;
    flex-grow: 1;
}

/* FAQ Section */
.page-huong-dan-choi__faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.page-huong-dan-choi__faq-item {
    background-color: #FFFFFF;
    border: 1px solid #D6E2FF;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.page-huong-dan-choi__faq-item summary {
    list-style: none;
    cursor: pointer;
    padding: 20px 25px;
    font-weight: 600;
    font-size: 1.1em;
    color: #1F2D3D;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
}

.page-huong-dan-choi__faq-item summary::-webkit-details-marker {
    display: none;
}

.page-huong-dan-choi__faq-item summary:hover {
    background-color: #F4F7FB;
}

.page-huong-dan-choi__faq-item[open] summary {
    background-color: #F4F7FB;
    color: #2F6BFF;
}

.page-huong-dan-choi__faq-qtext {
    flex-grow: 1;
}

.page-huong-dan-choi__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    margin-left: 15px;
    color: #2F6BFF;
    transition: transform 0.3s ease;
}

.page-huong-dan-choi__faq-item[open] .page-huong-dan-choi__faq-toggle {
    transform: rotate(45deg);
}

.page-huong-dan-choi__faq-answer {
    padding: 0 25px 20px 25px;
    font-size: 0.95em;
    color: #1F2D3D;
    line-height: 1.6;
}

.page-huong-dan-choi__faq-answer p {
    margin-bottom: 10px;
}

.page-huong-dan-choi__faq-answer a {
    color: #2F6BFF;
    text-decoration: none;
    font-weight: 600;
}

.page-huong-dan-choi__faq-answer a:hover {
    text-decoration: underline;
}

/* Final CTA Section */
.page-huong-dan-choi__cta-final {
    text-align: center;
    padding: 80px 0;
    background: linear-gradient(180deg, #2F6BFF 0%, #6FA3FF 100%);
    color: #ffffff;
}

.page-huong-dan-choi__cta-final .page-huong-dan-choi__section-title {
    color: #ffffff;
}

.page-huong-dan-choi__cta-final .page-huong-dan-choi__section-title::after {
    background-color: #ffffff;
}

.page-huong-dan-choi__cta-final .page-huong-dan-choi__text-block {
    color: #ffffff;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 40px;
}

.page-huong-dan-choi__cta-final .page-huong-dan-choi__cta-buttons {
    max-width: 700px;
}

/* --- Responsive Styles --- */
@media (max-width: 1024px) {
    .page-huong-dan-choi__hero-content {
        padding: 0 40px;
    }

    .page-huong-dan-choi__main-title {
        font-size: clamp(1.8em, 4vw, 2.5em);
    }

    .page-huong-dan-choi__section-title {
        font-size: 2em;
    }

    .page-huong-dan-choi__grid-steps {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }

    .page-huong-dan-choi__meo-list {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    /* HERO 主图区域 */
    .page-huong-dan-choi__hero-section {
        padding-top: 10px; /* Consistent small top padding */
        padding-bottom: 30px;
    }

    .page-huong-dan-choi__hero-image-wrapper {
        margin-bottom: 15px;
    }

    .page-huong-dan-choi__main-title {
        font-size: clamp(1.5em, 7vw, 2em); /* Adjust H1 for smaller screens */
        padding: 0 10px;
    }

    .page-huong-dan-choi__intro-text {
        font-size: 1em;
        padding: 0 15px;
        margin-bottom: 25px;
    }

    /* 按钮与按钮容器 */
    .page-huong-dan-choi__cta-buttons {
        flex-direction: column; /* Stack buttons vertically */
        gap: 15px;
        padding: 0 15px;
    }

    .page-huong-dan-choi__btn-primary,
    .page-huong-dan-choi__btn-secondary,
    .page-huong-dan-choi__btn-outline,
    .page-huong-dan-choi a[class*="button"],
    .page-huong-dan-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-huong-dan-choi img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    .page-huong-dan-choi__section,
    .page-huong-dan-choi__card,
    .page-huong-dan-choi__container,
    .page-huong-dan-choi__cta-buttons,
    .page-huong-dan-choi__button-group,
    .page-huong-dan-choi__btn-container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-huong-dan-choi__section {
        padding: 40px 0;
    }

    .page-huong-dan-choi__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
        padding: 0 10px;
    }

    .page-huong-dan-choi__text-block {
        font-size: 0.95em;
        padding: 0 10px;
    }

    /* 长文金框区 */
    .page-huong-dan-choi__home-content {
        height: auto;
        overflow-y: visible;
        padding: 20px;
    }

    /* 游戏轮播 */
    .page-huong-dan-choi__slider-track {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
        gap: 10px;
    }
    .page-huong-dan-choi__game-slide {
        flex: 0 0 160px;
        max-width: 160px;
        scroll-snap-align: start;
    }

    /* 合作品牌六宫格 */
    .page-huong-dan-choi__banners-top-wrapper {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 8px;
    }
    .page-huong-dan-choi__banner-item img {
        
        
    }

    /* 博客卡片区 */
    .page-huong-dan-choi__blog-masonry {
        display: grid;
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .page-huong-dan-choi__blog-slide {
        flex: 0 0 100%;
        max-width: 100%;
    }
    .page-huong-dan-choi__blog-slider-track {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
        gap: 15px;
    }


    .page-huong-dan-choi__grid-steps {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .page-huong-dan-choi__step-card {
        padding: 25px;
    }

    .page-huong-dan-choi__step-image {
        height: 180px;
        margin-bottom: 20px;
    }

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

    .page-huong-dan-choi__game-guide-item {
        padding: 30px 20px;
        margin-bottom: 20px;
    }

    .page-huong-dan-choi__game-title {
        font-size: 1.5em;
        margin-bottom: 20px;
    }
}