.page-tai-xiu {
    font-family: 'Arial', sans-serif;
    color: #FFF3E6; /* Text Main */
    background-color: #0D0E12; /* Background */
}

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

.page-tai-xiu__section {
    padding: 60px 0;
    position: relative;
    z-index: 1;
}

.page-tai-xiu__section-title {
    font-size: 36px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
    color: #FF8C1A;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.page-tai-xiu__content-block {
    line-height: 1.8;
    font-size: 17px;
    text-align: justify;
}

.page-tai-xiu__content-block p {
    margin-bottom: 20px;
}

.page-tai-xiu__content-block a {
    color: #FFA53A;
    text-decoration: none;
    font-weight: 600;
}

.page-tai-xiu__content-block a:hover {
    text-decoration: underline;
}

.page-tai-xiu__card {
    background-color: #17191F; /* Card BG */
    border: 1px solid #A84F0C; /* Border */
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-tai-xiu__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-tai-xiu__image-responsive {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 30px auto;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Hero Section */
.page-tai-xiu__hero-section {
    padding-top: 10px; /* Small top padding, body handles header offset */
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    min-height: auto;
    background-color: #0D0E12;
    padding-bottom: 40px;
}

.page-tai-xiu__hero-image-wrapper {
    width: 100%;
    max-height: 600px;
    overflow: hidden;
    position: relative;
    z-index: 0;
    margin-bottom: 30px;
}

.page-tai-xiu__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.page-tai-xiu__hero-content {
    position: static;
    transform: none;
    z-index: 1;
    max-width: 800px;
    padding: 0 20px;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
}

.page-tai-xiu__hero-title {
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 900;
    color: #FFB04D; /* Glow */
    margin-bottom: 15px;
    line-height: 1.2;
    text-shadow: 0 0 10px rgba(255, 176, 77, 0.7);
}

.page-tai-xiu__hero-description {
    font-size: clamp(16px, 2.5vw, 20px);
    margin-bottom: 30px;
    color: #FFF3E6;
}

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

.page-tai-xiu__btn-primary,
.page-tai-xiu__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 700;
    font-size: 18px;
    transition: all 0.3s ease;
    white-space: nowrap;
    cursor: pointer;
    border: none;
}

.page-tai-xiu__btn-primary {
    background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%);
    color: #ffffff; /* White text for contrast */
    box-shadow: 0 4px 15px rgba(255, 165, 58, 0.4);
}

.page-tai-xiu__btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 165, 58, 0.6);
}

.page-tai-xiu__btn-secondary {
    background: #17191F;
    color: #FF8C1A;
    border: 2px solid #FF8C1A;
    box-shadow: 0 4px 15px rgba(255, 140, 26, 0.2);
}

.page-tai-xiu__btn-secondary:hover {
    transform: translateY(-3px);
    background: #FF8C1A;
    color: #17191F;
    box-shadow: 0 6px 20px rgba(255, 140, 26, 0.4);
}

/* Intro Section */
.page-tai-xiu__intro-section {
    background-color: #0D0E12;
}

/* Rules Section */
.page-tai-xiu__rules-section {
    background-color: #17191F; /* Card BG as section background */
    color: #FFF3E6;
}

.page-tai-xiu__rule-item {
    margin-bottom: 30px;
    padding: 20px;
    background-color: #0D0E12;
    border-left: 5px solid #FF8C1A;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-tai-xiu__rule-title {
    font-size: 24px;
    color: #FFA53A;
    margin-bottom: 15px;
    font-weight: 600;
}

.page-tai-xiu__list {
    list-style-type: disc;
    margin-left: 20px;
    margin-bottom: 15px;
}

.page-tai-xiu__list--ordered {
    list-style-type: decimal;
}

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

/* Bet Types Section */
.page-tai-xiu__bet-types-section {
    background-color: #0D0E12;
}

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

.page-tai-xiu__bet-type-card {
    text-align: center;
}

.page-tai-xiu__bet-type-title {
    font-size: 22px;
    color: #FF8C1A;
    margin-bottom: 10px;
    font-weight: 700;
}

/* Strategy Section */
.page-tai-xiu__strategy-section {
    background-color: #17191F; /* Card BG as section background */
    color: #FFF3E6;
}

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

.page-tai-xiu__strategy-card {
    text-align: left;
}

.page-tai-xiu__strategy-title {
    font-size: 22px;
    color: #FFA53A;
    margin-bottom: 10px;
    font-weight: 700;
}

/* Benefits Section */
.page-tai-xiu__benefits-section {
    background-color: #0D0E12;
}

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

.page-tai-xiu__benefits-item {
    text-align: center;
}

.page-tai-xiu__benefits-title {
    font-size: 22px;
    color: #FF8C1A;
    margin-bottom: 10px;
    font-weight: 700;
}

/* FAQ Section */
.page-tai-xiu__faq-section {
    background-color: #17191F; /* Card BG as section background */
    color: #FFF3E6;
}

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

details.page-tai-xiu__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #A84F0C; /* Border */
  overflow: hidden;
  background: #0D0E12; /* Background */
}
details.page-tai-xiu__faq-item summary.page-tai-xiu__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
}
details.page-tai-xiu__faq-item summary.page-tai-xiu__faq-question::-webkit-details-marker {
  display: none;
}
details.page-tai-xiu__faq-item summary.page-tai-xiu__faq-question:hover {
  background: rgba(255, 140, 26, 0.1);
}
.page-tai-xiu__faq-qtext {
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #FFF3E6;
}
.page-tai-xiu__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #FFA53A;
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}
details.page-tai-xiu__faq-item .page-tai-xiu__faq-answer {
  padding: 0 20px 20px;
  background: #17191F; /* Card BG */
  border-radius: 0 0 5px 5px;
  color: #FFF3E6;
}

/* Conclusion Section */
.page-tai-xiu__conclusion-section {
    background-color: #0D0E12;
    text-align: center;
}

.page-tai-xiu__conclusion-cta {
    margin-top: 40px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-tai-xiu__container {
        padding: 20px 30px;
    }

    .page-tai-xiu__section-title {
        font-size: 32px;
    }

    .page-tai-xiu__hero-title {
        font-size: clamp(28px, 4vw, 42px);
    }

    .page-tai-xiu__hero-description {
        font-size: clamp(15px, 2.3vw, 18px);
    }

    .page-tai-xiu__btn-primary, .page-tai-xiu__btn-secondary {
        padding: 12px 25px;
        font-size: 16px;
    }

    .page-tai-xiu__bet-type-grid, .page-tai-xiu__strategy-grid, .page-tai-xiu__benefits-list {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 20px;
    }

    .page-tai-xiu__rule-title, .page-tai-xiu__bet-type-title, .page-tai-xiu__strategy-title, .page-tai-xiu__benefits-title {
        font-size: 20px;
    }

    .page-tai-xiu__faq-qtext {
        font-size: 17px;
    }
}

@media (max-width: 768px) {
    .page-tai-xiu__container {
        padding: 15px;
    }

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

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

    /* HERO 主图区域 */
    .page-tai-xiu__hero-section {
        padding-top: 10px; /* Small top padding, body handles header offset */
        min-height: auto;
        padding-bottom: 30px;
    }

    .page-tai-xiu__hero-image-wrapper {
        max-height: 300px;
        margin-bottom: 20px;
    }

    .page-tai-xiu__hero-image {
        object-fit: contain !important;
        aspect-ratio: unset !important;
        width: 100% !important;
        height: auto !important;
    }

    .page-tai-xiu__hero-content {
        position: static;
        transform: none;
        width: 100%;
        max-width: 100%;
        padding: 0 15px;
        background: transparent;
        box-shadow: none;
        border-radius: 0;
    }

    .page-tai-xiu__hero-title {
        font-size: 28px;
        margin-bottom: 10px;
    }

    .page-tai-xiu__hero-description {
        font-size: 15px;
        margin-bottom: 20px;
    }

    .page-tai-xiu__hero-cta-buttons {
        flex-direction: column;
        gap: 15px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        padding: 0 15px;
    }

    /* 按钮与按钮容器 */
    .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 20px;
        font-size: 16px;
    }

    /* 通用图片与容器 */
    .page-tai-xiu img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    
    .page-tai-xiu__content-block,
    .page-tai-xiu__card,
    .page-tai-xiu__rule-item,
    .page-tai-xiu__bet-type-grid,
    .page-tai-xiu__strategy-grid,
    .page-tai-xiu__benefits-list {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 0;
        padding-right: 0;
    }

    .page-tai-xiu__content-block p,
    .page-tai-xiu__list,
    .page-tai-xiu__rule-item {
        padding-left: 15px;
        padding-right: 15px;
    }
}