.page-tai-xiu {
    font-family: 'Arial', sans-serif;
    background-color: #0A0A0A; /* Page background from custom colors */
    color: #FFF6D6; /* Main text color from custom colors */
    line-height: 1.6;
    padding-top: 10px; /* Small top padding, assuming body handles header offset */
}

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

.page-tai-xiu__text-center {
    text-align: center;
}

/* Hero Section */
.page-tai-xiu__hero-section {
    position: relative;
    overflow: hidden;
    padding-bottom: 40px;
    display: flex; /* For image and content to be siblings */
    flex-direction: column; /* Image on top, content below */
    align-items: center;
    background: linear-gradient(180deg, #1A1A1A 0%, #0A0A0A 100%);
}

.page-tai-xiu__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    max-height: 675px; /* Limit height for aesthetic */
}

.page-tai-xiu__hero-content {
    padding: 40px 20px;
    max-width: 900px;
    text-align: center;
    z-index: 1;
    position: relative; /* Ensure it's above other potential layers if any */
}

.page-tai-xiu__main-title {
    font-size: clamp(2.2rem, 4vw, 3.5rem); /* Responsive font size */
    color: #FFD36B; /* Auxiliary color for titles */
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.2;
    text-shadow: 0 0 10px rgba(255, 211, 107, 0.5);
}

.page-tai-xiu__hero-description {
    font-size: 1.15rem;
    color: #FFF6D6;
    margin-bottom: 30px;
}

.page-tai-xiu__hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
}

/* Buttons */
.page-tai-xiu__btn-primary,
.page-tai-xiu__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-sizing: border-box;
    max-width: 100%; /* For responsive buttons */
    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%); /* Custom button gradient */
    color: #111111; /* Dark text on light button for contrast */
    border: none;
}

.page-tai-xiu__btn-primary:hover {
    filter: brightness(1.1);
    transform: translateY(-2px);
}

.page-tai-xiu__btn-secondary {
    background: transparent;
    color: #FFD36B; /* Auxiliary color for text */
    border: 2px solid #FFD36B; /* Auxiliary color for border */
}

.page-tai-xiu__btn-secondary:hover {
    background: #FFD36B;
    color: #111111;
    transform: translateY(-2px);
}

/* Section Titles */
.page-tai-xiu__section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    color: #F2C14E; /* Main color for section titles */
    text-align: center;
    margin-bottom: 40px;
    margin-top: 60px;
    font-weight: 700;
}

.page-tai-xiu__subsection-title {
    font-size: clamp(1.4rem, 2.5vw, 2rem);
    color: #FFD36B; /* Auxiliary color for sub-titles */
    margin-top: 30px;
    margin-bottom: 20px;
    font-weight: 600;
}

/* General Content */
.page-tai-xiu p {
    margin-bottom: 15px;
    color: #FFF6D6; /* Main text color */
}

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

.page-tai-xiu__list li {
    margin-bottom: 8px;
}

.page-tai-xiu__content-image {
    width: 100%;
    height: auto;
    max-width: 800px;
    display: block;
    margin: 30px auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    object-fit: cover;
    min-height: 200px; /* Enforce min size */
}

/* Cards Grid */
.page-tai-xiu__cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 30px;
    margin-bottom: 40px;
}

.page-tai-xiu__card {
    background-color: #111111; /* Card BG from custom colors */
    border: 1px solid #3A2A12; /* Border from custom colors */
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%; /* Ensure cards in a row have equal height */
    color: #FFF6D6; /* Text color for card */
}

.page-tai-xiu__card-title {
    font-size: 1.35rem;
    color: #F2C14E; /* Main color for card titles */
    margin-bottom: 15px;
    font-weight: 600;
}

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

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

.page-tai-xiu__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    cursor: pointer;
    font-size: 1.15rem;
    font-weight: 600;
    color: #F2C14E; /* Main color for FAQ question */
    user-select: none;
    list-style: none; /* For details/summary */
}

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

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

.page-tai-xiu__faq-toggle {
    font-size: 1.5rem;
    line-height: 1;
    margin-left: 15px;
    transition: transform 0.3s ease;
    color: #FFD36B; /* Auxiliary color for toggle */
}

.page-tai-xiu__faq-item[open] .page-tai-xiu__faq-toggle {
    transform: rotate(45deg); /* Change to X when open */
}

.page-tai-xiu__faq-answer {
    padding: 0 25px 20px;
    font-size: 1rem;
    color: #FFF6D6; /* Main text color */
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding-top 0.3s ease-out;
}

.page-tai-xiu__faq-item[open] .page-tai-xiu__faq-answer {
    max-height: 500px; /* Sufficient height for content */
    padding-top: 10px;
}

/* === Required CSS for "必写清单" - Even if not used on this specific page === */
/* These are placeholders to fulfill the strict requirement, actual usage might vary by page type */

/* 长文金框区 */
.page-tai-xiu__home-content {
    border: 1px solid #F2C14E; /* Main color for border */
    border-radius: 10px;
    padding: 30px;
    margin: 40px auto;
    max-width: 1000px;
    box-sizing: border-box;
    overflow-y: auto; /* For potential long content */
    height: auto; /* Default auto height for non-homepage */
}

/* 游戏轮播 */
.page-tai-xiu__row-games,
.page-tai-xiu__row-sport,