.page-tai-xiu {
    font-family: Arial, sans-serif;
    color: #FFF5E1; /* Text Main */
    background-color: #B71C1C; /* Background */
    line-height: 1.6;
}

.page-tai-xiu__hero-section {
    position: relative;
    width: 100%;
    padding-top: 10px; /* Small top padding, body handles --header-offset */
    padding-bottom: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.page-tai-xiu__hero-image-wrapper {
    width: 100%;
    max-height: 70vh;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-tai-xiu__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    object-position: center;
    border-radius: 8px;
}

.page-tai-xiu__hero-content {
    position: relative;
    z-index: 2;
    padding: 20px;
    max-width: 900px;
    margin-top: 20px;
}

.page-tai-xiu__main-title {
    font-size: 2.8em;
    font-weight: bold;
    line-height: 1.2;
    margin-bottom: 15px;
    color: #FFD86A; /* Gold-like for title */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-tai-xiu__description {
    font-size: 1.1em;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: #FFF5E1; /* Text Main */
}

.page-tai-xiu__cta-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}

.page-tai-xiu__btn-primary,
.page-tai-xiu__btn-secondary {
    display: inline-block;
    padding: 14px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: all 0.3s ease;
    white-space: normal;
    word-wrap: break-word;
    text-align: center;
    box-sizing: border-box;
    max-width: 100%;
}

.page-tai-xiu__btn-primary {
    background: linear-gradient(180deg, #FFD86A 0%, #E6B800 100%); /* Button color */
    color: #7A0E0E; /* Deep Red for text on gold button */
    border: none;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.page-tai-xiu__btn-primary:hover {
    background: linear-gradient(180deg, #E6B800 0%, #FFD86A 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4);
}

.page-tai-xiu__btn-secondary {
    background-color: #D32F2F; /* Card BG */
    color: #FFF5E1; /* Text Main */
    border: 2px solid #F2B544; /* Border color */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.page-tai-xiu__btn-secondary:hover {
    background-color: #E53935; /* Auxiliary color */
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4);
}

.page-tai-xiu__section {
    padding: 50px 0;
    background-color: #B71C1C; /* Background */
}

.page-tai-xiu__intro-section, .page-tai-xiu__rules-section, .page-tai-xiu__bet-types, .page-tai-xiu__strategy-section, .page-tai-xiu__advantages-section, .page-tai-xiu__registration-guide, .page-tai-xiu__faq-section, .page-tai-xiu__conclusion-section {
    background-color: #7A0E0E; /* Deep Red for section background */
    margin-bottom: 20px;
    border-radius: 12px;
    padding: 40px 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
}

.page-tai-xiu__article-wrap {
    max-width: 1150px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-tai-xiu__section-title {
    font-size: 2.2em;
    color: #FFD86A; /* Gold-like for titles */
    margin-bottom: 30px;
    text-align: center;
    font-weight: bold;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.page-tai-xiu__sub-title {
    font-size: 1.6em;
    color: #F4D34D; /* Gold */
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: bold;
}

.page-tai-xiu__text-block {
    font-size: 1.05em;
    margin-bottom: 20px;
    color: #FFF5E1; /* Text Main */
    line-height: 1.7;
}

.page-tai-xiu__list {
    list-style: disc;
    margin-left: 25px;
    margin-bottom: 20px;
    color: #FFF5E1; /* Text Main */
}

.page-tai-xiu__list-item {
    margin-bottom: 10px;
    font-size: 1.05em;
}

.page-tai-xiu__list-item strong {
    color: #F4D34D; /* Gold */
}

.page-tai-xiu__image-figure {
    margin: 30px auto;
    max-width: 800px;
    text-align: center;
    border: 1px solid #F2B544; /* Border color */
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.page-tai-xiu__content-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
}

.page-tai-xiu__image-caption {
    font-size: 0.9em;
    color: #FFF5E1; /* Text Main */
    padding: 10px;
    background-color: #D32F2F; /* Card BG */
}

.page-tai-xiu__center-cta {
    text-align: center;
    margin-top: 40px;
    margin-bottom: 20px;
}

.page-tai-xiu__faq-section {
    background-color: #D32F2F; /* Card BG */
    padding: 40px 20px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
}

.page-tai-xiu__faq-item {
    margin-bottom: 15px;
    border: 1px solid #F2B544; /* Border color */
    border-radius: 8px;
    overflow: hidden;
    background-color: #C91F17; /* Main color */
}

.page-tai-xiu__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    cursor: pointer;
    font-weight: bold;
    font-size: 1.1em;
    color: #FFD86A; /* Gold-like for FAQ questions */
    background-color: #E53935; /* Auxiliary color */
    list-style: none;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.page-tai-xiu__faq-question::-webkit-details-marker {
    display: none;
}

.page-tai-xiu__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    transition: transform 0.3s ease;
    color: #FFD86A;
}

.page-tai-xiu__faq-item[open] .page-tai-xiu__faq-toggle {
    transform: rotate(45deg);
}

.page-tai-xiu__faq-answer {
    padding: 15px 20px;
    background-color: #C91F17; /* Main color */
    color: #FFF5E1; /* Text Main */
    border-top: 1px solid #F2B544; /* Border color */
    font-size: 1em;
}

/* Mobile Responsiveness */
@media (max-width: 1024px) {
    .page-tai-xiu__main-title {
        font-size: 2.5em;
    }
    .page-tai-xiu__section-title {
        font-size: 2em;
    }
    .page-tai-xiu__sub-title {
        font-size: 1.4em;
    }
    .page-tai-xiu__btn-primary, .page-tai-xiu__btn-secondary {
        padding: 12px 25px;
        font-size: 1em;
    }
    .page-tai-xiu__article-wrap {
        padding: 0 15px;
    }
}

@media (max-width: 768px) {
    .page-tai-xiu {
        font-size: 16px;
        line-height: 1.6;
    }

    /* Top section and CTA */
    .page-tai-xiu__hero-section {
        padding-top: 10px !important;
        padding-bottom: 30px;
    }
    .page-tai-xiu__main-title {
        font-size: 2em;
        margin-bottom: 10px;
    }
    .page-tai-xiu__description {
        font-size: 1em;
        margin-bottom: 20px;
    }
    .page-tai-xiu__cta-buttons {
        flex-direction: column;
        gap: 10px;
        padding: 0 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .page-tai-xiu__btn-primary,
    .page-tai-xiu__btn-secondary {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding: 12px 15px;
        font-size: 1em;
    }

    /* Single column article wrap */
    .page-tai-xiu__article-wrap {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    /* Generic images and figure */
    .page-tai-xiu img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    .page-tai-xiu__image-figure {
        max-width: 100% !important;
        width: 100% !important;
        margin-left: 0;
        margin-right: 0;
        box-sizing: border-box !important;
    }
    .page-tai-xiu__content-image {
        border-radius: 0;
    }
    .page-tai-xiu__image-caption {
        font-size: 0.85em;
    }

    /* Section titles and subtitles */
    .page-tai-xiu__section-title {
        font-size: 1.8em;
        margin-bottom: 20px;
    }
    .page-tai-xiu__sub-title {
        font-size: 1.3em;
        margin-top: 25px;
        margin-bottom: 10px;
    }

    /* Text blocks and lists */
    .page-tai-xiu__text-block {
        font-size: 0.95em;
        margin-bottom: 15px;
    }
    .page-tai-xiu__list {
        margin-left: 20px;
    }
    .page-tai-xiu__list-item {
        font-size: 0.95em;
    }

    /* FAQ section */
    .page-tai-xiu__faq-section {
        padding: 30px 15px;
    }
    .page-tai-xiu__faq-question {
        font-size: 1em;
        padding: 12px 15px;
    }
    .page-tai-xiu__faq-answer {
        padding: 12px 15px;
        font-size: 0.95em;
    }
    .page-tai-xiu__faq-toggle {
        font-size: 1.3em;
    }
}