.page-tai-xiu { font-family: 'Arial', sans-serif; color: #333333; line-height: 1.6; background-color: #FFFFFF; }
.page-tai-xiu__container { max-width: 1170px; margin: 0 auto; padding: 40px 16px; box-sizing: border-box; }

/* Hero Section */
.page-tai-xiu__hero-section { padding-top: 10px; padding-bottom: 40px; background-color: #F0F8FF; }
.page-tai-xiu__hero-container { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 40px; }
.page-tai-xiu__hero-content { flex: 1 1 45%; min-width: 300px; }
.page-tai-xiu__hero-title { font-size: clamp(2.5rem, 5vw, 3.5rem); font-weight: 700; color: #26A9E0; margin-bottom: 20px; line-height: 1.2; }
.page-tai-xiu__hero-description { font-size: 1.1rem; margin-bottom: 30px; color: #555555; }
.page-tai-xiu__hero-actions { display: flex; gap: 15px; flex-wrap: wrap; }
.page-tai-xiu__hero-image { flex: 1 1 45%; text-align: center; min-width: 300px; }
.page-tai-xiu__hero-image img { max-width: 100%; height: auto; border-radius: 8px; box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1); display: block; }

/* Buttons */
.page-tai-xiu__btn { display: inline-block; padding: 12px 25px; border-radius: 5px; text-decoration: none; font-weight: 600; text-align: center; transition: background-color 0.3s ease, color 0.3s ease; white-space: normal; word-wrap: break-word; box-sizing: border-box; max-width: 100%; }
.page-tai-xiu__btn-primary { background-color: #26A9E0; color: #FFFFFF; border: 2px solid #26A9E0; }
.page-tai-xiu__btn-primary:hover { background-color: #1a7fb3; border-color: #1a7fb3; }
.page-tai-xiu__btn-secondary { background-color: #FFFFFF; color: #26A9E0; border: 2px solid #26A9E0; }
.page-tai-xiu__btn-secondary:hover { background-color: #26A9E0; color: #FFFFFF; }

/* Section Titles */
.page-tai-xiu__section-title { font-size: 2.2rem; font-weight: 700; color: #26A9E0; text-align: center; margin-bottom: 20px; line-height: 1.3; }
.page-tai-xiu__section-description { font-size: 1.1rem; color: #555555; text-align: center; max-width: 800px; margin: 0 auto 40px; }

/* Intro Section */
.page-tai-xiu__intro-section { padding: 60px 0; }
.page-tai-xiu__intro-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; margin-top: 40px; }
.page-tai-xiu__feature-item { text-align: center; padding: 25px; background-color: #FFFFFF; border-radius: 10px; box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05); transition: transform 0.3s ease; }
.page-tai-xiu__feature-item:hover { transform: translateY(-5px); }
.page-tai-xiu__icon-box-media { width: 180px; height: 180px; aspect-ratio: 1/1; margin: 0 auto 20px; border-radius: 50%; overflow: hidden; border: 3px solid #26A9E0; }
.page-tai-xiu__icon-box-media img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; display: block; }
.page-tai-xiu__feature-title { font-size: 1.5rem; color: #26A9E0; margin-bottom: 15px; }
.page-tai-xiu__feature-text { font-size: 1rem; color: #666666; }

/* Guide Section */
.page-tai-xiu__guide-section { padding: 60px 0; background-color: #F0F8FF; }
.page-tai-xiu__guide-grid { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 40px; margin-top: 40px; }
.page-tai-xiu__guide-steps { flex: 1 1 55%; min-width: 300px; }
.page-tai-xiu__guide-steps ol { list-style: none; counter-reset: step-counter; padding: 0; margin: 0; }
.page-tai-xiu__guide-steps li { margin-bottom: 30px; position: relative; padding-left: 50px; }
.page-tai-xiu__guide-steps li::before { content: counter(step-counter); counter-increment: step-counter; position: absolute; left: 0; top: 0; width: 35px; height: 35px; background-color: #26A9E0; color: #FFFFFF; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 1.2rem; }
.page-tai-xiu__guide-steps h3 { font-size: 1.4rem; color: #26A9E0; margin-bottom: 10px; }
.page-tai-xiu__guide-steps p { color: #555555; }
.page-tai-xiu__guide-image { flex: 1 1 35%; min-width: 300px; text-align: center; }
.page-tai-xiu__guide-image img { max-width: 100%; height: auto; border-radius: 8px; box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1); display: block; }

/* Betting Options Section */
.page-tai-xiu__bet-options-section { padding: 60px 0; }
.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: #FFFFFF; padding: 25px; border-radius: 10px; box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05); border-left: 5px solid #26A9E0; }
.page-tai-xiu__bet-card h3 { font-size: 1.4rem; color: #26A9E0; margin-bottom: 10px; }
.page-tai-xiu__bet-card p { color: #666666; }
.page-tai-xiu__image-center { text-align: center; margin-top: 40px; }
.page-tai-xiu__image-center img { max-width: 100%; height: auto; border-radius: 8px; box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1); display: block; margin: 0 auto; }

/* Strategy Section */
.page-tai-xiu__strategy-section { padding: 60px 0; background-color: #F0F8FF; }
.page-tai-xiu__strategy-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; margin-top: 40px; }
.page-tai-xiu__strategy-item { background-color: #FFFFFF; padding: 25px; border-radius: 10px; box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05); border-top: 5px solid #26A9E0; }
.page-tai-xiu__strategy-item h3 { font-size: 1.4rem; color: #26A9E0; margin-bottom: 10px; }
.page-tai-xiu__strategy-item p { color: #666666; }

/* Promo Section */
.page-tai-xiu__promo-section { padding: 60px 0; background-color: #26A9E0; color: #FFFFFF; }
.page-tai-xiu__promo-section .page-tai-xiu__section-title, .page-tai-xiu__promo-section .page-tai-xiu__section-description { color: #FFFFFF; }
.page-tai-xiu__promo-content { display: flex; flex-wrap: wrap; align-items: center; gap: 40px; margin-top: 40px; }
.page-tai-xiu__promo-text { flex: 1 1 50%; min-width: 300px; }
.page-tai-xiu__promo-text h3 { font-size: 1.6rem; margin-bottom: 15px; color: #FFFFFF; }
.page-tai-xiu__promo-text p { margin-bottom: 20px; font-size: 1.1rem; }
.page-tai-xiu__promo-image { flex: 1 1 40%; min-width: 300px; text-align: center; }
.page-tai-xiu__promo-image img { max-width: 100%; height: auto; border-radius: 8px; box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2); display: block; }
.page-tai-xiu__promo-section .page-tai-xiu__btn-secondary { background-color: #FFFFFF; color: #26A9E0; border-color: #FFFFFF; }
.page-tai-xiu__promo-section .page-tai-xiu__btn-secondary:hover { background-color: #F0F8FF; color: #26A9E0; border-color: #F0F8FF; }

/* Why Oke88 Section */
.page-tai-xiu__why-oke88-section { padding: 60px 0; }
.page-tai-xiu__why-oke88-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; margin-top: 40px; }
.page-tai-xiu__why-oke88-item { background-color: #FFFFFF; padding: 25px; border-radius: 10px; box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05); transition: transform 0.3s ease; }
.page-tai-xiu__why-oke88-item:hover { transform: translateY(-5px); }
.page-tai-xiu__why-oke88-item h3 { font-size: 1.4rem; color: #26A9E0; margin-bottom: 10px; }
.page-tai-xiu__why-oke88-item p { color: #666666; }

/* FAQ Section */
.page-tai-xiu__faq-section { padding: 60px 0; background-color: #F0F8FF; }
.page-tai-xiu__faq-list { max-width: 900px; margin: 40px auto 0; }
.page-tai-xiu__faq-item { background-color: #FFFFFF; border-radius: 8px; margin-bottom: 15px; box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05); }
.page-tai-xiu__faq-item summary { display: flex; justify-content: space-between; align-items: center; padding: 18px 25px; cursor: pointer; font-weight: 600; font-size: 1.1rem; color: #26A9E0; list-style: none; }
.page-tai-xiu__faq-item summary::-webkit-details-marker { display: none; }
.page-tai-xiu__faq-question { flex-grow: 1; }
.page-tai-xiu__faq-toggle { font-size: 1.5rem; line-height: 1; margin-left: 15px; }
.page-tai-xiu__faq-answer { padding: 15px 25px 25px; border-top: 1px solid #EEEEEE; color: #555555; }

/* General Image Styling */
.page-tai-xiu img { max-width: 100%; height: auto; display: block; }

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-tai-xiu__hero-container { gap: 30px; }
  .page-tai-xiu__hero-title { font-size: clamp(2rem, 4.5vw, 3rem); }
  .page-tai-xiu__section-title { font-size: 2rem; }
  .page-tai-xiu__intro-grid, .page-tai-xiu__bet-grid, .page-tai-xiu__strategy-grid, .page-tai-xiu__why-oke88-grid { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
  .page-tai-xiu__icon-box-media { width: 160px; height: 160px; }
}

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

  /* HERO Section */
  .page-tai-xiu__hero-section { padding-top: 10px !important; padding-bottom: 30px !important; }
  .page-tai-xiu__hero-container { flex-direction: column; text-align: center; gap: 20px; }
  .page-tai-xiu__hero-content, .page-tai-xiu__hero-image { flex: 1 1 100%; min-width: unset; }
  .page-tai-xiu__hero-title { font-size: clamp(1.8rem, 8vw, 2.5rem); margin-bottom: 15px; }
  .page-tai-xiu__hero-description { font-size: 1rem; margin-bottom: 25px; }
  .page-tai-xiu__hero-actions { flex-direction: column; gap: 10px; width: 100%; max-width: 100%; box-sizing: border-box; padding: 0 15px; }
  .page-tai-xiu__btn { width: 100% !important; max-width: 100% !important; padding: 10px 15px !important; font-size: 0.95rem; }

  /* General Titles */
  .page-tai-xiu__section-title { font-size: 1.8rem; margin-bottom: 15px; }
  .page-tai-xiu__section-description { font-size: 0.95rem; margin-bottom: 30px; padding: 0 10px; }

  /* Intro Section */
  .page-tai-xiu__intro-section { padding: 40px 0; }
  .page-tai-xiu__intro-grid { grid-template-columns: 1fr; gap: 20px; }
  .page-tai-xiu__icon-box-media { width: 150px; height: 150px; margin: 0 auto 15px; border-width: 2px; }
  .page-tai-xiu__feature-title { font-size: 1.3rem; }

  /* Guide Section */
  .page-tai-xiu__guide-section { padding: 40px 0; }
  .page-tai-xiu__guide-grid { flex-direction: column; gap: 30px; }
  .page-tai-xiu__guide-steps, .page-tai-xiu__guide-image { flex: 1 1 100%; min-width: unset; }
  .page-tai-xiu__guide-steps li { padding-left: 45px; margin-bottom: 25px; }
  .page-tai-xiu__guide-steps li::before { width: 30px; height: 30px; font-size: 1rem; }
  .page-tai-xiu__guide-steps h3 { font-size: 1.2rem; }

  /* Betting Options Section */
  .page-tai-xiu__bet-options-section { padding: 40px 0; }
  .page-tai-xiu__bet-grid { grid-template-columns: 1fr; gap: 20px; }
  .page-tai-xiu__bet-card { padding: 20px; }
  .page-tai-xiu__bet-card h3 { font-size: 1.3rem; }

  /* Strategy Section */
  .page-tai-xiu__strategy-section { padding: 40px 0; }
  .page-tai-xiu__strategy-grid { grid-template-columns: 1fr; gap: 20px; }
  .page-tai-xiu__strategy-item { padding: 20px; }
  .page-tai-xiu__strategy-item h3 { font-size: 1.3rem; }

  /* Promo Section */
  .page-tai-xiu__promo-section { padding: 40px 0; }
  .page-tai-xiu__promo-content { flex-direction: column; gap: 30px; }
  .page-tai-xiu__promo-text, .page-tai-xiu__promo-image { flex: 1 1 100%; min-width: unset; }
  .page-tai-xiu__promo-text h3 { font-size: 1.4rem; }
  .page-tai-xiu__promo-text p { font-size: 1rem; }

  /* Why Oke88 Section */
  .page-tai-xiu__why-oke88-section { padding: 40px 0; }
  .page-tai-xiu__why-oke88-grid { grid-template-columns: 1fr; gap: 20px; }
  .page-tai-xiu__why-oke88-item { padding: 20px; }
  .page-tai-xiu__why-oke88-item h3 { font-size: 1.3rem; }

  /* FAQ Section */
  .page-tai-xiu__faq-section { padding: 40px 0; }
  .page-tai-xiu__faq-list { margin-top: 30px; }
  .page-tai-xiu__faq-item summary { padding: 15px 20px; font-size: 1rem; }
  .page-tai-xiu__faq-answer { padding: 10px 20px 20px; font-size: 0.95rem; }

  /* Universal Image and Container Mobile Rules */
  .page-tai-xiu img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-tai-xiu__section,
  .page-tai-xiu__card,
  .page-tai-xiu__container,
  .page-tai-xiu__hero-container,
  .page-tai-xiu__intro-grid,
  .page-tai-xiu__guide-grid,
  .page-tai-xiu__bet-grid,
  .page-tai-xiu__strategy-grid,
  .page-tai-xiu__promo-content,
  .page-tai-xiu__why-oke88-grid {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
  }
  /* Ensure buttons in groups wrap */
  .page-tai-xiu__hero-actions { flex-wrap: wrap !important; gap: 10px !important; }
}