.page-tai-xiu {
    background-color: #140C0C;
    color: #FFF1E8; /* Text Main */
    font-family: Arial, sans-serif;
    line-height: 1.6;
    font-size: 17px;
}

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

.page-tai-xiu__hero-image {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
}

.page-tai-xiu__hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: brightness(0.6); /* Slightly darken image for text readability */
}

.page-tai-xiu__hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    padding: 40px 20px;
    background: rgba(0, 0, 0, 0.5); /* Semi-transparent background for text */
    border-radius: 10px;
    margin-top: 100px; /* Adjust to ensure it's not too high */
    margin-bottom: 100px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

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

.page-tai-xiu__tagline {
    font-size: 1.2em;
    color: #FFF1E8;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.6);
}

.page-tai-xiu__cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

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

.page-tai-xiu__btn-primary {
    background: linear-gradient(180deg, #FFB04A 0%, #D86A14 100%); /* Button Gradient */
    color: #FFF1E8; /* Text Main */
    border: none;
}

.page-tai-xiu__btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 176, 74, 0.4);
}

.page-tai-xiu__btn-secondary {
    background: #2A1212; /* Card BG */
    color: #F3C54D; /* Gold */
    border: 2px solid #F3C54D; /* Gold border */
}

.page-tai-xiu__btn-secondary:hover {
    background: #F3C54D; /* Gold */
    color: #140C0C; /* Background */
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(243, 197, 77, 0.3);
}

.page-tai-xiu__section {
    padding: 60px 0;
    margin-bottom: 20px;
    border-top: 1px solid #6A1E1E; /* Border */
}

.page-tai-xiu__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-tai-xiu__section-title {
    font-size: 2.5em;
    color: #F3C54D; /* Gold */
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.page-tai-xiu__paragraph {
    margin-bottom: 20px;
    color: #FFF1E8;
    font-size: 1.05em;
}

.page-tai-xiu__list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 20px;
}

.page-tai-xiu__list-item {
    background-color: #2A1212; /* Card BG */
    border-left: 5px solid #F3C54D; /* Gold */
    padding: 15px 20px;
    margin-bottom: 10px;
    border-radius: 5px;
    color: #FFF1E8;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.page-tai-xiu__list-item strong {
    color: #FFB04A; /* Lighter gold for emphasis */
}

.page-tai-xiu__image {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 30px auto;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
}

.page-tai-xiu__bet-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-tai-xiu__bet-card {
    background-color: #2A1212; /* Card BG */
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border: 1px solid #6A1E1E; /* Border */
}

.page-tai-xiu__bet-card-title {
    font-size: 1.8em;
    color: #F3C54D; /* Gold */
    margin-bottom: 15px;
    font-weight: bold;
}

.page-tai-xiu__bet-card-description {
    color: #FFF1E8;
    font-size: 1em;
    flex-grow: 1;
}

.page-tai-xiu__advantage-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 40px;
    list-style: none;
    padding: 0;
}

.page-tai-xiu__advantage-list .page-tai-xiu__list-item {
    border-left: none;
    border: 1px solid #6A1E1E; /* Border */
    background-color: #2A1212; /* Card BG */
    padding: 25px;
    text-align: left;
}

.page-tai-xiu__advantage-title {
    color: #FFB04A; /* Lighter gold */
    font-size: 1.5em;
    margin-bottom: 10px;
}

.page-tai-xiu__advantage-description {
    color: #FFF1E8;
    font-size: 0.95em;
}

.page-tai-xiu__step-list {
    list-style: none;
    padding: 0;
    counter-reset: step-counter;
}

.page-tai-xiu__step-list .page-tai-xiu__list-item {
    background-color: #2A1212; /* Card BG */
    border-left: none;
    border: 1px solid #6A1E1E; /* Border */
    padding: 25px 25px 25px 60px;
    position: relative;
    text-align: left;
}

.page-tai-xiu__step-list .page-tai-xiu__list-item::before {
    counter-increment: step-counter;
    content: "Bước " counter(step-counter);
    position: absolute;
    left: 20px;
    top: 20px;
    background-color: #C61F1F; /* Primary color */
    color: #FFF1E8;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.8em;
}

.page-tai-xiu__step-title {
    color: #F3C54D; /* Gold */
    font-size: 1.6em;
    margin-bottom: 8px;
    margin-top: 0;
}

.page-tai-xiu__step-description {
    color: #FFF1E8;
    font-size: 1em;
}

.page-tai-xiu__promotion-list {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-tai-xiu__promotion-list .page-tai-xiu__list-item {
    border-left: none;
    border: 1px solid #6A1E1E; /* Border */
    background-color: #2A1212; /* Card BG */
    padding: 25px;
    text-align: left;
}

.page-tai-xiu__promotion-title {
    color: #FFB04A; /* Lighter gold */
    font-size: 1.5em;
    margin-bottom: 10px;
}

.page-tai-xiu__promotion-description {
    color: #FFF1E8;
    font-size: 0.95em;
}

.page-tai-xiu__faq-list {
    margin-top: 40px;
}

.page-tai-xiu__faq-item {
    background-color: #2A1212; /* Card BG */
    border: 1px solid #6A1E1E; /* Border */
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.page-tai-xiu__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    cursor: pointer;
    font-weight: bold;
    color: #F3C54D; /* Gold */
    font-size: 1.2em;
    background-color: #140C0C; /* Background */
    border-bottom: 1px solid #6A1E1E;
    list-style: none;
}

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

.page-tai-xiu__faq-qtext {
    flex-grow: 1;
}

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

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

.page-tai-xiu__faq-answer {
    padding: 20px;
    color: #FFF1E8;
    font-size: 1em;
    background-color: #2A1212; /* Card BG */
    border-top: 1px solid #6A1E1E;
}

.page-tai-xiu__conclusion .page-tai-xiu__cta-buttons {
    margin-top: 30px;
}

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

    /* HERO 主图区域 */
    .page-tai-xiu__hero-section {
        padding-top: 10px;
        min-height: 400px;
    }

    .page-tai-xiu__hero-content {
        padding: 30px 15px;
        margin-top: 50px;
        margin-bottom: 50px;
    }

    .page-tai-xiu__main-title {
        font-size: 2.2em;
        margin-bottom: 10px;
    }

    .page-tai-xiu__tagline {
        font-size: 1em;
        margin-bottom: 20px;
    }

    /* 按钮与按钮容器 */
    .page-tai-xiu__cta-buttons {
        flex-direction: column !important;
        gap: 15px;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-tai-xiu__btn-primary,
    .page-tai-xiu__btn-secondary,
    .page-tai-xiu a[class*="button"],
    .page-tai-xiu 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-tai-xiu__button-group,
    .page-tai-xiu__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;
    }
    
    /* 长文区 / 通用容器 */
    .page-tai-xiu__section {
        padding: 40px 0;
    }

    .page-tai-xiu__container {
        padding: 0 15px;
    }

    .page-tai-xiu__section-title {
        font-size: 2em;
        margin-bottom: 30px;
    }

    .page-tai-xiu__paragraph {
        font-size: 1em;
    }

    /* 通用图片与容器 */
    .page-tai-xiu img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        box-sizing: border-box !important;
    }

    .page-tai-xiu__section,
    .page-tai-xiu__card,
    .page-tai-xiu__container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    /* Bet Types Grid */
    .page-tai-xiu__bet-grid,
    .page-tai-xiu__advantage-list,
    .page-tai-xiu__promotion-list {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-tai-xiu__bet-card,
    .page-tai-xiu__advantage-list .page-tai-xiu__list-item,
    .page-tai-xiu__promotion-list .page-tai-xiu__list-item {
        padding: 20px;
    }

    .page-tai-xiu__bet-card-title,
    .page-tai-xiu__advantage-title,
    .page-tai-xiu__promotion-title {
        font-size: 1.4em;
    }

    /* FAQ Section */
    .page-tai-xiu__faq-question {
        padding: 15px;
        font-size: 1.1em;
    }

    .page-tai-xiu__faq-answer {
        padding: 15px;
    }
}