/* style/blog-huong-dan-dang-ky-by88club.css */

:root {
    --primary-color: #FF8C1A;
    --secondary-color: #FFA53A;
    --card-bg-color: #17191F;
    --body-bg-color: #0D0E12;
    --text-main-color: #FFF3E6;
    --border-color: #A84F0C;
    --glow-color: #FFB04D;
    --deep-orange-color: #D96800;
}

.page-blog-huong-dan-dang-ky-by88club {
    font-family: 'Arial', sans-serif;
    color: var(--text-main-color); /* Body background is dark, so text should be light */
    background-color: var(--body-bg-color);
    line-height: 1.7;
    font-size: 16px;
}

.page-blog-huong-dan-dang-ky-by88club__container {
    max-width: 1150px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.page-blog-huong-dan-dang-ky-by88club__top-section {
    padding-top: 10px; /* Small top padding, relying on body for header offset */
    padding-bottom: 40px;
    text-align: center;
    background-color: var(--body-bg-color);
}

.page-blog-huong-dan-dang-ky-by88club__main-title {
    font-size: clamp(2.5rem, 5vw, 3rem);
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 0 0 10px rgba(255, 140, 26, 0.5);
}

.page-blog-huong-dan-dang-ky-by88club__intro-text {
    font-size: 1.15em;
    max-width: 800px;
    margin: 0 auto 30px;
    color: var(--text-main-color);
}

.page-blog-huong-dan-dang-ky-by88club__cta-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 30px;
}

.page-blog-huong-dan-dang-ky-by88club__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 30px;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow text wrapping */
    text-align: center;
    box-sizing: border-box;
    max-width: 100%;
}

.page-blog-huong-dan-dang-ky-by88club__btn--primary {
    background: linear-gradient(180deg, var(--secondary-color) 0%, var(--deep-orange-color) 100%);
    color: #ffffff; /* White text for primary button */
    border: 2px solid var(--primary-color);
    box-shadow: 0 5px 15px rgba(255, 140, 26, 0.4);
}

.page-blog-huong-dan-dang-ky-by88club__btn--primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 140, 26, 0.6);
}

.page-blog-huong-dan-dang-ky-by88club__btn--secondary {
    background-color: transparent;
    color: var(--primary-color); /* Brand color text for secondary button */
    border: 2px solid var(--primary-color);
    box-shadow: 0 5px 15px rgba(255, 140, 26, 0.2);
}

.page-blog-huong-dan-dang-ky-by88club__btn--secondary:hover {
    background-color: var(--primary-color);
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 140, 26, 0.4);
}

.page-blog-huong-dan-dang-ky-by88club__article-wrap {
    padding: 60px 0;
}

.page-blog-huong-dan-dang-ky-by88club__dark-bg {
    background-color: var(--card-bg-color);
}

.page-blog-huong-dan-dang-ky-by88club__section-title {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 700;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}

.page-blog-huong-dan-dang-ky-by88club__section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: var(--secondary-color);
    margin: 15px auto 0;
    border-radius: 2px;
}

.page-blog-huong-dan-dang-ky-by88club__text-block {
    font-size: 1.05em;
    margin-bottom: 20px;
    color: var(--text-main-color);
    text-align: justify;
}

.page-blog-huong-dan-dang-ky-by88club__benefits-list,
.page-blog-huong-dan-dang-ky-by88club__requirements-list,
.page-blog-huong-dan-dang-ky-by88club__important-notes-list {
    list-style: none;
    padding: 0;
    margin: 30px 0;
}

.page-blog-huong-dan-dang-ky-by88club__benefits-list li,
.page-blog-huong-dan-dang-ky-by88club__requirements-list li,
.page-blog-huong-dan-dang-ky-by88club__important-notes-list li {
    background-color: var(--card-bg-color);
    border-left: 5px solid var(--primary-color);
    padding: 15px 20px;
    margin-bottom: 15px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    color: var(--text-main-color);
    font-size: 1.05em;
}

.page-blog-huong-dan-dang-ky-by88club__benefits-list li strong,
.page-blog-huong-dan-dang-ky-by88club__requirements-list li strong,
.page-blog-huong-dan-dang-ky-by88club__important-notes-list li strong {
    color: var(--secondary-color);
    font-weight: 700;
}

.page-blog-huong-dan-dang-ky-by88club__figure {
    margin: 40px auto;
    text-align: center;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    max-width: 100%;
}

.page-blog-huong-dan-dang-ky-by88club__figure img {
    max-width: 100%;
    height: auto;
    display: block;
    width: 100%;
    object-fit: cover;
}

.page-blog-huong-dan-dang-ky-by88club__figcaption {
    background-color: rgba(var(--primary-color-rgb), 0.1);
    color: var(--text-main-color);
    padding: 15px;
    font-size: 0.95em;
    font-style: italic;
}

.page-blog-huong-dan-dang-ky-by88club__info-card,
.page-blog-huong-dan-dang-ky-by88club__warning-card {
    background-color: var(--card-bg-color);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 30px;
    margin-top: 40px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    color: var(--text-main-color);
}

.page-blog-huong-dan-dang-ky-by88club__card-title {
    font-size: 1.4em;
    color: var(--secondary-color);
    margin-bottom: 15px;
    font-weight: 700;
}

.page-blog-huong-dan-dang-ky-by88club__warning-card {
    border-color: #D96800; /* Darker orange for warning */
    background-color: #2a1a0c; /* Slightly darker background for warning */
}

.page-blog-huong-dan-dang-ky-by88club__step {
    background-color: var(--card-bg-color);
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-color);
}

.page-blog-huong-dan-dang-ky-by88club__step-title {
    font-size: 1.8em;
    color: var(--primary-color);
    margin-bottom: 20px;
    font-weight: 700;
    display: flex;
    align-items: center;
}

.page-blog-huong-dan-dang-ky-by88club__step-title::before {
    content: counter(step-counter);
    counter-increment: step-counter;
    background: linear-gradient(180deg, var(--secondary-color) 0%, var(--deep-orange-color) 100%);
    color: #ffffff;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2em;
    font-weight: 700;
    margin-right: 15px;
    flex-shrink: 0;
}

.page-blog-huong-dan-dang-ky-by88club__step-description {
    font-size: 1.05em;
    color: var(--text-main-color);
    margin-bottom: 15px;
    text-align: justify;
}

.page-blog-huong-dan-dang-ky-by88club__form-fields {
    list-style: disc;
    padding-left: 25px;
    margin-top: 20px;
    color: var(--text-main-color);
}

.page-blog-huong-dan-dang-ky-by88club__form-fields li {
    margin-bottom: 10px;
    font-size: 1em;
}

.page-blog-huong-dan-dang-ky-by88club__form-fields li strong {
    color: var(--secondary-color);
}

.page-blog-huong-dan-dang-ky-by88club__btn--step-cta {
    margin-top: 25px;
    display: block;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

.page-blog-huong-dan-dang-ky-by88club__faq-item {
    background-color: var(--card-bg-color);
    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-blog-huong-dan-dang-ky-by88club__faq-question {
    font-size: 1.25em;
    color: var(--primary-color);
    padding: 20px 25px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    margin: 0;
    transition: background-color 0.3s ease;
}

.page-blog-huong-dan-dang-ky-by88club__faq-question:hover {
    background-color: rgba(var(--primary-color-rgb), 0.1);
}

.page-blog-huong-dan-dang-ky-by88club__faq-answer {
    padding: 0 25px 20px;
    font-size: 1.05em;
    color: var(--text-main-color);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-out, padding 0.5s ease-out;
}

.page-blog-huong-dan-dang-ky-by88club__faq-answer p {
    margin-bottom: 0;
    text-align: justify;
}

/* Active state for FAQ (JS will toggle this) */
.page-blog-huong-dan-dang-ky-by88club__faq-item.active .page-blog-huong-dan-dang-ky-by88club__faq-answer {
    max-height: 500px; /* Ample height for expansion */
    padding-top: 10px;
}

.page-blog-huong-dan-dang-ky-by88club__faq-item.active .page-blog-huong-dan-dang-ky-by88club__faq-question::after {
    content: '−';
}

.page-blog-huong-dan-dang-ky-by88club__faq-question::after {
    content: '+';
    font-size: 1.5em;
    color: var(--secondary-color);
    margin-left: 15px;
    transition: transform 0.3s ease;
}

.page-blog-huong-dan-dang-ky-by88club__final-cta-section {
    padding-top: 80px;
    padding-bottom: 80px;
    text-align: center;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-blog-huong-dan-dang-ky-by88club__main-title {
        font-size: 2.5rem;
    }

    .page-blog-huong-dan-dang-ky-by88club__section-title {
        font-size: 2rem;
    }

    .page-blog-huong-dan-dang-ky-by88club__btn {
        padding: 12px 25px;
        font-size: 1em;
    }
}

@media (max-width: 768px) {
    .page-blog-huong-dan-dang-ky-by88club {
        font-size: 15px;
        line-height: 1.6;
    }

    /* 1. Top section title + dual CTA */
    .page-blog-huong-dan-dang-ky-by88club__top-section {
        padding-top: 10px !important; /* Small top padding, reliance on body for header offset */
        padding-bottom: 30px;
    }

    .page-blog-huong-dan-dang-ky-by88club__main-title {
        font-size: 2rem !important;
        margin-bottom: 15px;
    }

    .page-blog-huong-dan-dang-ky-by88club__intro-text {
        font-size: 1em;
        margin-bottom: 20px;
    }

    .page-blog-huong-dan-dang-ky-by88club__cta-buttons {
        flex-direction: column; /* Stack buttons vertically */
        gap: 10px;
        padding: 0 15px;
        width: 100%;
        box-sizing: border-box;
    }

    .page-blog-huong-dan-dang-ky-by88club__btn {
        max-width: 100% !important;
        width: 100% !important;
        padding: 12px 20px;
        font-size: 1em;
        white-space: normal !important;
        word-wrap: break-word !important;
        box-sizing: border-box !important;
    }

    /* 2. Single column long text container */
    .page-blog-huong-dan-dang-ky-by88club__article-wrap {
        padding: 40px 0;
    }

    .page-blog-huong-dan-dang-ky-by88club__container {
        padding: 0 15px !important;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-blog-huong-dan-dang-ky-by88club__section-title {
        font-size: 1.7rem !important;
        margin-bottom: 30px;
    }

    .page-blog-huong-dan-dang-ky-by88club__text-block {
        font-size: 0.95em;
    }

    .page-blog-huong-dan-dang-ky-by88club__benefits-list li,
    .page-blog-huong-dan-dang-ky-by88club__requirements-list li,
    .page-blog-huong-dan-dang-ky-by88club__important-notes-list li {
        padding: 12px 15px;
        font-size: 0.95em;
    }

    .page-blog-huong-dan-dang-ky-by88club__info-card,
    .page-blog-huong-dan-dang-ky-by88club__warning-card {
        padding: 20px;
        margin-top: 30px;
    }

    .page-blog-huong-dan-dang-ky-by88club__card-title {
        font-size: 1.2em;
    }

    /* 3. Generic images and figures */
    .page-blog-huong-dan-dang-ky-by88club__figure {
        margin: 30px auto;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    }

    .page-blog-huong-dan-dang-ky-by88club img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
        object-fit: cover;
    }

    .page-blog-huong-dan-dang-ky-by88club__figcaption {
        font-size: 0.85em;
        padding: 10px;
    }

    /* 5. Registration tutorial and FAQ block */
    .page-blog-huong-dan-dang-ky-by88club__step {
        padding: 20px;
        margin-bottom: 20px;
    }

    .page-blog-huong-dan-dang-ky-by88club__step-title {
        font-size: 1.4em;
        margin-bottom: 15px;
    }

    .page-blog-huong-dan-dang-ky-by88club__step-title::before {
        width: 30px;
        height: 30px;
        font-size: 1em;
        margin-right: 10px;
    }

    .page-blog-huong-dan-dang-ky-by88club__step-description {
        font-size: 0.95em;
    }

    .page-blog-huong-dan-dang-ky-by88club__form-fields {
        padding-left: 20px;
    }

    .page-blog-huong-dan-dang-ky-by88club__form-fields li {
        font-size: 0.9em;
    }

    .page-blog-huong-dan-dang-ky-by88club__faq-question {
        font-size: 1.1em;
        padding: 15px 20px;
    }

    .page-blog-huong-dan-dang-ky-by88club__faq-answer {
        padding: 0 20px 15px;
        font-size: 0.95em;
    }

    .page-blog-huong-dan-dang-ky-by88club__final-cta-section {
        padding-top: 50px;
        padding-bottom: 50px;
    }
}