:root {
    --primary-color: #FF8C1A;
    --secondary-color: #FFA53A;
    --button-gradient: linear-gradient(180deg, #FFA53A 0%, #D96800 100%);
    --card-bg-color: #17191F;
    --bg-color: #0D0E12;
    --text-main-color: #FFF3E6;
    --border-color: #A84F0C;
    --glow-color: #FFB04D;
    --deep-orange-color: #D96800;
}

.page-huong-dan-choi-huong-dan-dang-ky-mh88 {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-main-color);
    background-color: var(--bg-color);
}

.page-huong-dan-choi-huong-dan-dang-ky-mh88__content-container {
    max-width: 1170px;
    margin: 0 auto;
    padding: 0 16px;
    box-sizing: border-box;
}

/* Hero Section */
.page-huong-dan-choi-huong-dan-dang-ky-mh88__hero-section {
    padding-top: 10px; /* Adhering to the 10px rule for first section */
    padding-bottom: 60px;
    background-color: var(--bg-color);
}

.page-huong-dan-choi-huong-dan-dang-ky-mh88__hero-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
    padding: 40px 0; /* Adjusted for content-container padding */
}

.page-huong-dan-choi-huong-dan-dang-ky-mh88__hero-content {
    flex: 1 1 50%;
    min-width: 300px;
    text-align: left;
    color: var(--text-main-color);
}

.page-huong-dan-choi-huong-dan-dang-ky-mh88__main-title {
    font-size: clamp(2rem, 4vw, 3.5rem); /* Using clamp for H1 */
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.page-huong-dan-choi-huong-dan-dang-ky-mh88__hero-description {
    font-size: 1.15rem;
    margin-bottom: 30px;
    color: var(--text-main-color);
}

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

.page-huong-dan-choi-huong-dan-dang-ky-mh88__side-image {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Buttons */
.page-huong-dan-choi-huong-dan-dang-ky-mh88__cta-button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    text-align: center;
    max-width: 100%; /* Important for mobile */
    box-sizing: border-box; /* Important for mobile */
    white-space: normal; /* Important for mobile */
    word-wrap: break-word; /* Important for mobile */
}

.page-huong-dan-choi-huong-dan-dang-ky-mh88__btn-primary {
    background: var(--button-gradient);
    color: #ffffff;
    border: none;
}

.page-huong-dan-choi-huong-dan-dang-ky-mh88__btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

/* Guide Section */
.page-huong-dan-choi-huong-dan-dang-ky-mh88__guide-section {
    padding: 80px 0;
    background-color: var(--card-bg-color); /* Using Card BG color for contrast */
    color: var(--text-main-color);
}

.page-huong-dan-choi-huong-dan-dang-ky-mh88__section-title {
    font-size: clamp(1.8rem, 3vw, 2.8rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.page-huong-dan-choi-huong-dan-dang-ky-mh88__section-intro {
    font-size: 1.1rem;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
    color: var(--text-main-color);
}

.page-huong-dan-choi-huong-dan-dang-ky-mh88__guide-step {
    background-color: var(--bg-color); /* Inner step background */
    border-radius: 12px;
    padding: 40px;
    margin-bottom: 40px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
}

.page-huong-dan-choi-huong-dan-dang-ky-mh88__step-title {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--secondary-color);
    text-align: center;
}

.page-huong-dan-choi-huong-dan-dang-ky-mh88__guide-step p {
    font-size: 1.05rem;
    text-align: center;
    color: var(--text-main-color);
}

.page-huong-dan-choi-huong-dan-dang-ky-mh88__step-list {
    list-style: none;
    padding: 0;
    margin: 20px 0;
    text-align: left;
    width: 100%;
    max-width: 600px;
    color: var(--text-main-color);
}

.page-huong-dan-choi-huong-dan-dang-ky-mh88__step-list li {
    background-color: rgba(255, 255, 255, 0.05);
    border-left: 4px solid var(--primary-color);
    padding: 12px 15px;
    margin-bottom: 10px;
    border-radius: 4px;
    font-size: 1rem;
}

.page-huong-dan-choi-huong-dan-dang-ky-mh88__step-image {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-huong-dan-choi-huong-dan-dang-ky-mh88__cta-section {
    text-align: center;
    margin-top: 60px;
    padding: 40px;
    background: var(--deep-orange-color); /* Using Deep Orange for CTA background */
    border-radius: 12px;
    color: #ffffff; /* White text on Deep Orange */
}

.page-huong-dan-choi-huong-dan-dang-ky-mh88__cta-text {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 25px;
    color: #ffffff;
}

.page-huong-dan-choi-huong-dan-dang-ky-mh88__inline-link {
    color: var(--secondary-color);
    text-decoration: underline;
}

.page-huong-dan-choi-huong-dan-dang-ky-mh88__inline-link:hover {
    color: var(--primary-color);
}

/* FAQ Section */
.page-huong-dan-choi-huong-dan-dang-ky-mh88__faq-section {
    padding: 80px 0;
    background-color: var(--bg-color);
    color: var(--text-main-color);
}

.page-huong-dan-choi-huong-dan-dang-ky-mh88__faq-list {
    max-width: 900px;
    margin: 40px auto 0;
}

.page-huong-dan-choi-huong-dan-dang-ky-mh88__faq-item {
    background-color: var(--card-bg-color);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.page-huong-dan-choi-huong-dan-dang-ky-mh88__faq-item summary {
    list-style: none; /* Hide default marker */
    cursor: pointer;
    padding: 20px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--secondary-color);
    background-color: rgba(255, 255, 255, 0.05); /* Slightly lighter background for summary */
    transition: background-color 0.3s ease;
}

.page-huong-dan-choi-huong-dan-dang-ky-mh88__faq-item summary::-webkit-details-marker {
    display: none; /* Hide Chrome/Safari marker */
}

.page-huong-dan-choi-huong-dan-dang-ky-mh88__faq-item summary:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.page-huong-dan-choi-huong-dan-dang-ky-mh88__faq-qtext {
    flex-grow: 1;
}

.page-huong-dan-choi-huong-dan-dang-ky-mh88__faq-toggle {
    font-size: 1.5rem;
    margin-left: 15px;
    transition: transform 0.3s ease;
}

.page-huong-dan-choi-huong-dan-dang-ky-mh88__faq-item[open] .page-huong-dan-choi-huong-dan-dang-ky-mh88__faq-toggle {
    transform: rotate(45deg); /* Rotate for 'x' or '-' effect */
}

.page-huong-dan-choi-huong-dan-dang-ky-mh88__faq-answer {
    padding: 20px 25px 25px;
    font-size: 1rem;
    color: var(--text-main-color);
    border-top: 1px solid var(--border-color);
}

/* General image and container responsiveness for mobile */
.page-huong-dan-choi-huong-dan-dang-ky-mh88 img {
    max-width: 100%;
    height: auto;
    display: block;
}

.page-huong-dan-choi-huong-dan-dang-ky-mh88__section,
.page-huong-dan-choi-huong-dan-dang-ky-mh88__card,
.page-huong-dan-choi-huong-dan-dang-ky-mh88__container {
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
    overflow: hidden; /* Ensure content doesn't overflow */
}

/* Responsive styles */
@media (max-width: 768px) {
    /* HERO Section */
    .page-huong-dan-choi-huong-dan-dang-ky-mh88__hero-section {
        padding-top: 10px !important; /* Fixed header offset */
        padding-bottom: 40px;
    }

    .page-huong-dan-choi-huong-dan-dang-ky-mh88__hero-container {
        flex-direction: column;
        text-align: center;
        padding: 20px 15px;
        gap: 25px;
    }

    .page-huong-dan-choi-huong-dan-dang-ky-mh88__hero-content {
        text-align: center;
    }

    .page-huong-dan-choi-huong-dan-dang-ky-mh88__main-title {
        font-size: clamp(2rem, 8vw, 2.5rem);
        margin-bottom: 15px;
    }

    .page-huong-dan-choi-huong-dan-dang-ky-mh88__hero-description {
        font-size: 1rem;
        margin-bottom: 25px;
    }

    /* Guide Section */
    .page-huong-dan-choi-huong-dan-dang-ky-mh88__guide-section {
        padding: 40px 0;
    }

    .page-huong-dan-choi-huong-dan-dang-ky-mh88__section-title {
        font-size: clamp(1.5rem, 6vw, 2rem);
        margin-bottom: 15px;
    }

    .page-huong-dan-choi-huong-dan-dang-ky-mh88__section-intro {
        font-size: 1rem;
        margin-bottom: 30px;
    }

    .page-huong-dan-choi-huong-dan-dang-ky-mh88__guide-step {
        padding: 25px;
        margin-bottom: 25px;
        gap: 15px;
    }

    .page-huong-dan-choi-huong-dan-dang-ky-mh88__step-title {
        font-size: 1.5rem;
    }

    .page-huong-dan-choi-huong-dan-dang-ky-mh88__guide-step p,
    .page-huong-dan-choi-huong-dan-dang-ky-mh88__step-list li {
        font-size: 0.95rem;
    }

    .page-huong-dan-choi-huong-dan-dang-ky-mh88__cta-section {
        margin-top: 40px;
        padding: 30px;
    }

    .page-huong-dan-choi-huong-dan-dang-ky-mh88__cta-text {
        font-size: 1.2rem;
        margin-bottom: 20px;
    }

    /* FAQ Section */
    .page-huong-dan-choi-huong-dan-dang-ky-mh88__faq-section {
        padding: 40px 0;
    }

    .page-huong-dan-choi-huong-dan-dang-ky-mh88__faq-list {
        margin-top: 25px;
    }

    .page-huong-dan-choi-huong-dan-dang-ky-mh88__faq-item summary {
        padding: 15px 20px;
        font-size: 1rem;
    }

    .page-huong-dan-choi-huong-dan-dang-ky-mh88__faq-answer {
        padding: 15px 20px 20px;
        font-size: 0.95rem;
    }

    /* Universal image and container responsiveness */
    .page-huong-dan-choi-huong-dan-dang-ky-mh88 img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }

    .page-huong-dan-choi-huong-dan-dang-ky-mh88__content-container,
    .page-huong-dan-choi-huong-dan-dang-ky-mh88__section,
    .page-huong-dan-choi-huong-dan-dang-ky-mh88__card,
    .page-huong-dan-choi-huong-dan-dang-ky-mh88__container,
    .page-huong-dan-choi-huong-dan-dang-ky-mh88__hero-container,
    .page-huong-dan-choi-huong-dan-dang-ky-mh88__guide-step,
    .page-huong-dan-choi-huong-dan-dang-ky-mh88__cta-section,
    .page-huong-dan-choi-huong-dan-dang-ky-mh88__faq-list,
    .page-huong-dan-choi-huong-dan-dang-ky-mh88__faq-item {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    
    /* Button responsiveness */
    .page-huong-dan-choi-huong-dan-dang-ky-mh88__cta-button,
    .page-huong-dan-choi-huong-dan-dang-ky-mh88__btn-primary,
    .page-huong-dan-choi-huong-dan-dang-ky-mh88 a[class*="button"],
    .page-huong-dan-choi-huong-dan-dang-ky-mh88 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-huong-dan-dang-ky-mh88__cta-buttons, /* If there were multiple buttons in a group */
    .page-huong-dan-choi-huong-dan-dang-ky-mh88__button-group,
    .page-huong-dan-choi-huong-dan-dang-ky-mh88__btn-container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        flex-wrap: wrap !important;
        gap: 10px;
        display: flex; /* Ensure flex context for wrap */
        flex-direction: column; /* Stack buttons vertically */
    }
}