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

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

.page-tai-xiu__article-wrap {
    max-width: 900px; /* Narrower for long-form content */
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

/* Top Section */
.page-tai-xiu__top-section {
    padding-top: 10px; /* Small top padding, assuming body handles header offset */
    padding-bottom: 40px;
    text-align: center;
    background-color: #0A0A0A; /* Background */
}

.page-tai-xiu__main-title {
    font-size: clamp(2rem, 4vw, 3.2rem); /* H1 font size with clamp */
    font-weight: 700;
    line-height: 1.2;
    color: #F2C14E; /* Main Color */
    margin-bottom: 15px;
    text-shadow: 0 0 8px rgba(255, 211, 107, 0.4); /* Glow */
}

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

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

/* Buttons */
.page-tai-xiu__btn {
    display: inline-block;
    padding: 14px 30px;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    max-width: 100%; /* Ensure button responsiveness */
    box-sizing: border-box;
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow text wrapping */
    text-align: center;
}

.page-tai-xiu__btn--primary {
    background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); /* Button gradient */
    color: #0A0A0A; /* Dark text for bright button */
    border: none;
    box-shadow: 0 4px 15px rgba(242, 193, 78, 0.4);
}

.page-tai-xiu__btn--primary:hover {
    filter: brightness(1.1);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(242, 193, 78, 0.6);
}

.page-tai-xiu__btn--secondary {
    background-color: transparent;
    color: #F2C14E; /* Main Color */
    border: 2px solid #F2C14E; /* Main Color border */
}

.page-tai-xiu__btn--secondary:hover {
    background-color: #F2C14E; /* Main Color */
    color: #0A0A0A; /* Dark text for bright button */
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(242, 193, 78, 0.4);
}

/* General Section Styling */
.page-tai-xiu__section {
    padding: 60px 0;
    background-color: #0A0A0A; /* Background */
    border-bottom: 1px solid #3A2A12; /* Border */
}

.page-tai-xiu__section:last-of-type {
    border-bottom: none;
}

.page-tai-xiu__heading {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    font-weight: 700;
    color: #F2C14E; /* Main Color */
    text-align: center;
    margin-bottom: 40px;
    text-shadow: 0 0 5px rgba(255, 211, 107, 0.3);
}

.page-tai-xiu__subheading {
    font-size: clamp(1.4rem, 2.5vw, 1.8rem);
    font-weight: 600;
    color: #FFD36B; /* Auxiliary Color - Glow */
    margin-top: 30px;
    margin-bottom: 15px;
    line-height: 1.3;
}

.page-tai-xiu__paragraph {
    font-size: 1rem;
    margin-bottom: 20px;
    color: #FFF6D6; /* Text Main */
}

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

.page-tai-xiu__list-item {
    margin-bottom: 10px;
    color: #FFF6D6; /* Text Main */
}

.page-tai-xiu__list-item strong {
    color: #FFD36B; /* Auxiliary Color for emphasis */
}

/* Images */
.page-tai-xiu__figure {
    margin: 30px auto;
    text-align: center;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.page-tai-xiu__image {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(242, 193, 78, 0.2);
    margin: 0 auto; /* Center the image */
    min-width: 200px; /* Minimum size requirement */
    min-height: 200px; /* Minimum size requirement */
}

.page-tai-xiu__figcaption {
    font-size: 0.9rem;
    color: #FFD36B; /* Auxiliary Color */
    margin-top: 10px;
}

/* CTA Bottom */
.page-tai-xiu__cta-bottom,
.page-tai-xiu__cta-final {
    text-align: center;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px dashed #3A2A12; /* Border */
}

/* FAQ Section */
.page-tai-xiu__faq-list {
    margin-top: 30px;
}

.page-tai-xiu__faq-item {
    background-color: #111111; /* Card BG */
    border: 1px solid #3A2A12; /* Border */
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    color: #FFF6D6; /* Text Main */
}

.page-tai-xiu__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    font-size: 1.1rem;
    font-weight: 600;
    color: #F2C14E; /* Main Color */
    cursor: pointer;
    background-color: #111111; /* Card BG */
    transition: background-color 0.3s ease;
    list-style: none; /* Remove default marker for details summary */
}

.page-tai-xiu__faq-question:hover {
    background-color: rgba(242, 193, 78, 0.1);
}

.page-tai-xiu__faq-item[open] > .page-tai-xiu__faq-question {
    background-color: rgba(242, 193, 78, 0.15);
}

.page-tai-xiu__faq-toggle {
    font-size: 1.5rem;
    line-height: 1;
    transform: rotate(0deg);
    transition: transform 0.3s ease;
    color: #FFD36B; /* Glow */
}

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

/* Hide default details marker */
.page-tai-xiu__faq-item summary::-webkit-details-marker {
    display: none;
}
.page-tai-xiu__faq-item summary::marker {
    display: none;
}

.page-tai-xiu__faq-answer {
    padding: 0 25px 20px;
    font-size: 1rem;
    color: #FFF6D6; /* Text Main */
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-tai-xiu__container,
    .page-tai-xiu__article-wrap {
        padding: 0 25px;
    }

    .page-tai-xiu__main-title {
        font-size: clamp(2rem, 5vw, 3rem);
    }

    .page-tai-xiu__heading {
        font-size: clamp(1.6rem, 4vw, 2.2rem);
    }

    .page-tai-xiu__subheading {
        font-size: clamp(1.2rem, 3vw, 1.6rem);
    }

    .page-tai-xiu__btn {
        padding: 12px 25px;
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    /* 1. 顶区标题 + 双 CTA */
    .page-tai-xiu__top-section {
        padding-top: 10px !important; /* Small top padding for mobile, as body handles header offset */
        padding-bottom: 30px;
    }

    .page-tai-xiu__main-title {
        font-size: clamp(1.8rem, 6vw, 2.5rem);
        margin-bottom: 10px;
    }

    .page-tai-xiu__description {
        font-size: 1rem;
        margin-bottom: 20px;
    }

    .page-tai-xiu__top-cta {
        flex-direction: column; /* Stack buttons vertically */
        gap: 15px;
        padding-left: 15px;
        padding-right: 15px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        overflow: hidden;
    }

    /* 2. 单栏长文容器 */
    .page-tai-xiu__article-wrap {
        padding-left: 15px !important;
        padding-right: 15px !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-tai-xiu__section {
        padding: 40px 0;
    }

    .page-tai-xiu__heading {
        font-size: clamp(1.5rem, 5vw, 2rem);
        margin-bottom: 30px;
    }

    .page-tai-xiu__subheading {
        font-size: clamp(1.1rem, 4vw, 1.4rem);
        margin-top: 25px;
        margin-bottom: 10px;
    }

    .page-tai-xiu__paragraph,
    .page-tai-xiu__list-item,
    .page-tai-xiu__faq-answer p {
        font-size: 0.95rem;
    }

    /* 3. 通用图片与 figure */
    .page-tai-xiu__figure {
        margin: 20px auto;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    .page-tai-xiu__image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        min-width: 200px !important; /* Ensure min size */
        min-height: 200px !important; /* Ensure min size */
    }

    .page-tai-xiu__figcaption {
        font-size: 0.85rem;
    }

    /* 4. 按钮与按钮容器 */
    .page-tai-xiu__btn,
    .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: 12px 15px !important; /* Adjust padding for smaller screens */
        font-size: 1rem !important;
    }

    .page-tai-xiu__cta-bottom,
    .page-tai-xiu__cta-final {
        margin-top: 30px;
        padding-top: 15px;
        padding-left: 15px;
        padding-right: 15px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    /* 5. 注册教程与 FAQ 区块 */
    .page-tai-xiu__faq-item {
        margin-bottom: 10px;
    }

    .page-tai-xiu__faq-question {
        padding: 15px 20px;
        font-size: 1rem;
    }

    .page-tai-xiu__faq-toggle {
        font-size: 1.3rem;
    }

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