/* style/resources-tai-xiu-gameplay-guide.css */
:root {
  --primary-color: #1A73E8;
  --secondary-color: #FFD700;
  --dark-bg-color: #1a1a2e;
  --light-text-color: #ffffff;
  --dark-text-color: #333333;
  --card-bg-color: #ffffff;
  --card-dark-bg-color: #2c2c4a;
  --border-color: #e0e0e0;
  --shadow-color: rgba(0, 0, 0, 0.1);
}

.page-resources-tai-xiu-gameplay-guide {
  font-family: 'Arial', sans-serif;
  line-height: 1.7;
  color: var(--dark-text-color);
  background-color: var(--dark-bg-1); /* Assume from shared.css */
  padding-top: 120px; /* Desktop padding for fixed header */
}

.page-resources-tai-xiu-gameplay-guide__dark-bg {
  background-color: var(--dark-bg-color);
  color: var(--light-text-color);
}

.page-resources-tai-xiu-gameplay-guide__light-bg {
  background-color: var(--card-bg-color);
  color: var(--dark-text-color);
}

.page-resources-tai-xiu-gameplay-guide__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-resources-tai-xiu-gameplay-guide__section {
  padding: 60px 0;
  margin-bottom: 20px;
  border-radius: 8px;
  overflow: hidden;
}

.page-resources-tai-xiu-gameplay-guide__section-title {
  font-size: 36px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 40px;
  color: inherit;
}

.page-resources-tai-xiu-gameplay-guide__text-block {
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 20px;
  text-align: justify;
}

.page-resources-tai-xiu-gameplay-guide__hero-banner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  background: linear-gradient(135deg, var(--primary-color), var(--dark-bg-color));
  color: var(--light-text-color);
  padding-top: 180px; /* Specific padding for hero section */
  border-radius: 0;
  margin-bottom: 0;
}

.page-resources-tai-xiu-gameplay-guide__hero-content {
  max-width: 800px;
  margin-bottom: 40px;
  z-index: 1;
}

.page-resources-tai-xiu-gameplay-guide__hero-title {
  font-size: 48px;
  font-weight: 900;
  margin-bottom: 20px;
  line-height: 1.2;
  color: var(--light-text-color);
}

.page-resources-tai-xiu-gameplay-guide__hero-description {
  font-size: 20px;
  line-height: 1.6;
  margin-bottom: 30px;
  color: var(--light-text-color);
}

.page-resources-tai-xiu-gameplay-guide__hero-cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: var(--secondary-color);
  color: var(--dark-bg-color);
  text-decoration: none;
  border-radius: 8px;
  font-size: 20px;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-resources-tai-xiu-gameplay-guide__hero-cta-button:hover {
  background: #e6c200;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-resources-tai-xiu-gameplay-guide__hero-image-container {
  width: 100%;
  max-width: 900px;
  margin-top: 30px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-resources-tai-xiu-gameplay-guide__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.page-resources-tai-xiu-gameplay-guide__feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-resources-tai-xiu-gameplay-guide__feature-card {
  background: var(--card-bg-color);
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px var(--shadow-color);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--border-color);
}

.page-resources-tai-xiu-gameplay-guide__feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-resources-tai-xiu-gameplay-guide__feature-icon {
  width: 120px; /* Minimum size 200x200px requirement, adjusting for display */
  height: auto;
  margin-bottom: 20px;
  object-fit: contain;
}

.page-resources-tai-xiu-gameplay-guide__feature-title {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 15px;
  color: var(--primary-color);
}

.page-resources-tai-xiu-gameplay-guide__feature-description {
  font-size: 16px;
  line-height: 1.7;
  color: var(--dark-text-color);
}

.page-resources-tai-xiu-gameplay-guide__step-by-step {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin-top: 40px;
}

.page-resources-tai-xiu-gameplay-guide__step-item {
  background: var(--card-dark-bg-color);
  color: var(--light-text-color);
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  flex: 1 1 300px;
  max-width: 350px;
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-resources-tai-xiu-gameplay-guide__step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background: var(--secondary-color);
  color: var(--dark-bg-color);
  border-radius: 50%;
  font-size: 30px;
  font-weight: bold;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-resources-tai-xiu-gameplay-guide__step-title {
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 15px;
  color: var(--light-text-color);
}

.page-resources-tai-xiu-gameplay-guide__step-description {
  font-size: 16px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.8);
}

.page-resources-tai-xiu-gameplay-guide__cta-button {
  display: inline-block;
  padding: 15px 30px;
  background: var(--primary-color);
  color: var(--light-text-color);
  text-decoration: none;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  margin-top: 40px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px var(--shadow-color);
}

.page-resources-tai-xiu-gameplay-guide__cta-button:hover {
  background: #155bb5;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.page-resources-tai-xiu-gameplay-guide__cta-button--large {
  padding: 18px 45px;
  font-size: 22px;
}

.page-resources-tai-xiu-gameplay-guide__game-rules {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-resources-tai-xiu-gameplay-guide__rule-card {
  background: var(--card-bg-color);
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px var(--shadow-color);
  border: 1px solid var(--border-color);
}

.page-resources-tai-xiu-gameplay-guide__rule-title {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 15px;
  color: var(--primary-color);
}

.page-resources-tai-xiu-gameplay-guide__rule-description {
  font-size: 16px;
  line-height: 1.7;
  color: var(--dark-text-color);
}

.page-resources-tai-xiu-gameplay-guide__image-full-width {
  width: 100%;
  height: auto;
  display: block;
  margin-top: 40px;
  border-radius: 12px;
  box-shadow: 0 8px 25px var(--shadow-color);
  object-fit: cover;
}

.page-resources-tai-xiu-gameplay-guide__strategy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-resources-tai-xiu-gameplay-guide__strategy-card {
  background: var(--card-dark-bg-color);
  color: var(--light-text-color);
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-resources-tai-xiu-gameplay-guide__strategy-title {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 15px;
  color: var(--secondary-color);
}

.page-resources-tai-xiu-gameplay-guide__strategy-description {
  font-size: 16px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.8);
}

.page-resources-tai-xiu-gameplay-guide__promotion-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
}

.page-resources-tai-xiu-gameplay-guide__promotion-item {
  background: var(--card-bg-color);
  padding: 25px 30px;
  border-radius: 12px;
  box-shadow: 0 2px 10px var(--shadow-color);
  margin-bottom: 20px;
  border: 1px solid var(--border-color);
}

.page-resources-tai-xiu-gameplay-guide__promotion-title {
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 10px;
  color: var(--primary-color);
}

.page-resources-tai-xiu-gameplay-guide__promotion-description {
  font-size: 16px;
  line-height: 1.7;
  color: var(--dark-text-color);
}

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

.page-resources-tai-xiu-gameplay-guide__criteria-card {
  background: var(--card-dark-bg-color);
  color: var(--light-text-color);
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-resources-tai-xiu-gameplay-guide__criteria-title {
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 15px;
  color: var(--secondary-color);
}

.page-resources-tai-xiu-gameplay-guide__criteria-description {
  font-size: 16px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.8);
}

/* FAQ Section */
.page-resources-tai-xiu-gameplay-guide__faq-list {
  margin-top: 40px;
}

.page-resources-tai-xiu-gameplay-guide__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px var(--shadow-color);
}

.page-resources-tai-xiu-gameplay-guide__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: var(--card-bg-color);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.page-resources-tai-xiu-gameplay-guide__faq-question:hover {
  background: #f5f5f5;
  border-color: #d0d0d0;
}

.page-resources-tai-xiu-gameplay-guide__faq-question:active {
  background: #eeeeee;
}

.page-resources-tai-xiu-gameplay-guide__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  pointer-events: none;
  color: var(--dark-text-color);
}

.page-resources-tai-xiu-gameplay-guide__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  line-height: 1;
  color: var(--primary-color);
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
}

.page-resources-tai-xiu-gameplay-guide__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
  padding: 0 20px;
  opacity: 0;
  background: #f9f9f9;
  border-radius: 0 0 8px 8px;
  border-left: 1px solid var(--border-color);
  border-right: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  color: var(--dark-text-color);
}

.page-resources-tai-xiu-gameplay-guide__faq-answer p {
  margin: 0;
  font-size: 16px;
  line-height: 1.7;
  padding-bottom: 5px; /* Adjust for answer content spacing */
}

.page-resources-tai-xiu-gameplay-guide__faq-item.active .page-resources-tai-xiu-gameplay-guide__faq-answer {
  max-height: 2000px !important; /* Sufficiently large */
  padding: 20px !important;
  opacity: 1;
}

.page-resources-tai-xiu-gameplay-guide__faq-item.active .page-resources-tai-xiu-gameplay-guide__faq-toggle {
  color: var(--dark-text-color);
  transform: rotate(45deg);
}

/* Final CTA button styling */
.page-resources-tai-xiu-gameplay-guide__cta-button--final {
  background: var(--secondary-color);
  color: var(--dark-bg-color);
  margin-top: 60px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-resources-tai-xiu-gameplay-guide__cta-button--final:hover {
  background: #e6c200;
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-resources-tai-xiu-gameplay-guide__hero-title {
    font-size: 40px;
  }
  .page-resources-tai-xiu-gameplay-guide__hero-description {
    font-size: 18px;
  }
  .page-resources-tai-xiu-gameplay-guide__section-title {
    font-size: 32px;
  }
  .page-resources-tai-xiu-gameplay-guide__feature-icon {
    width: 100px; /* Still ensuring min 200px equivalent visual space or content */
  }
}

@media (max-width: 768px) {
  .page-resources-tai-xiu-gameplay-guide {
    padding-top: 100px !important; /* Mobile padding for fixed header */
    font-size: 16px;
    line-height: 1.6;
  }
  .page-resources-tai-xiu-gameplay-guide__hero-banner {
    padding-top: 140px !important; /* Mobile specific padding for hero */
    padding-bottom: 40px;
  }
  .page-resources-tai-xiu-gameplay-guide__hero-title {
    font-size: 32px;
    margin-bottom: 15px;
  }
  .page-resources-tai-xiu-gameplay-guide__hero-description {
    font-size: 16px;
    margin-bottom: 25px;
  }
  .page-resources-tai-xiu-gameplay-guide__hero-cta-button {
    padding: 12px 30px;
    font-size: 16px;
  }
  .page-resources-tai-xiu-gameplay-guide__section {
    padding: 40px 0;
  }
  .page-resources-tai-xiu-gameplay-guide__section-title {
    font-size: 28px;
    margin-bottom: 30px;
  }
  .page-resources-tai-xiu-gameplay-guide__text-block {
    font-size: 15px;
  }
  .page-resources-tai-xiu-gameplay-guide__feature-card,
  .page-resources-tai-xiu-gameplay-guide__step-item,
  .page-resources-tai-xiu-gameplay-guide__rule-card,
  .page-resources-tai-xiu-gameplay-guide__strategy-card,
  .page-resources-tai-xiu-gameplay-guide__promotion-item,
  .page-resources-tai-xiu-gameplay-guide__criteria-card {
    padding: 20px;
    border-radius: 8px;
  }
  .page-resources-tai-xiu-gameplay-guide__feature-icon {
    width: 80px; /* Still ensuring min 200px equivalent visual space or content */
    margin-bottom: 15px;
  }
  .page-resources-tai-xiu-gameplay-guide__feature-title,
  .page-resources-tai-xiu-gameplay-guide__step-title,
  .page-resources-tai-xiu-gameplay-guide__rule-title,
  .page-resources-tai-xiu-gameplay-guide__strategy-title,
  .page-resources-tai-xiu-gameplay-guide__promotion-title,
  .page-resources-tai-xiu-gameplay-guide__criteria-title {
    font-size: 20px;
  }
  .page-resources-tai-xiu-gameplay-guide__step-number {
    width: 50px;
    height: 50px;
    font-size: 24px;
    margin-bottom: 15px;
  }
  .page-resources-tai-xiu-gameplay-guide__cta-button {
    padding: 12px 25px;
    font-size: 16px;
    margin-top: 30px;
  }
  .page-resources-tai-xiu-gameplay-guide__cta-button--large {
    padding: 15px 35px;
    font-size: 18px;
  }
  .page-resources-tai-xiu-gameplay-guide__image-full-width {
    border-radius: 8px;
  }
  .page-resources-tai-xiu-gameplay-guide__faq-question {
    padding: 15px;
  }
  .page-resources-tai-xiu-gameplay-guide__faq-question h3 {
    font-size: 16px;
  }
  .page-resources-tai-xiu-gameplay-guide__faq-toggle {
    font-size: 24px;
    width: 28px;
    height: 28px;
  }
  .page-resources-tai-xiu-gameplay-guide__faq-answer {
    padding: 0 15px;
  }
  .page-resources-tai-xiu-gameplay-guide__faq-item.active .page-resources-tai-xiu-gameplay-guide__faq-answer {
    padding: 15px !important;
  }
  .page-resources-tai-xiu-gameplay-guide img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-resources-tai-xiu-gameplay-guide__section,
  .page-resources-tai-xiu-gameplay-guide__container,
  .page-resources-tai-xiu-gameplay-guide__hero-banner,
  .page-resources-tai-xiu-gameplay-guide__feature-grid,
  .page-resources-tai-xiu-gameplay-guide__step-by-step,
  .page-resources-tai-xiu-gameplay-guide__game-rules,
  .page-resources-tai-xiu-gameplay-guide__strategy-grid,
  .page-resources-tai-xiu-gameplay-guide__promotion-list,
  .page-resources-tai-xiu-gameplay-guide__criteria-grid,
  .page-resources-tai-xiu-gameplay-guide__faq-list {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}

@media (max-width: 480px) {
  .page-resources-tai-xiu-gameplay-guide__hero-title {
    font-size: 28px;
  }
  .page-resources-tai-xiu-gameplay-guide__section-title {
    font-size: 24px;
  }
  .page-resources-tai-xiu-gameplay-guide__feature-title,
  .page-resources-tai-xiu-gameplay-guide__step-title,
  .page-resources-tai-xiu-gameplay-guide__rule-title,
  .page-resources-tai-xiu-gameplay-guide__strategy-title,
  .page-resources-tai-xiu-gameplay-guide__promotion-title,
  .page-resources-tai-xiu-gameplay-guide__criteria-title {
    font-size: 18px;
  }
  .page-resources-tai-xiu-gameplay-guide__cta-button--large {
    padding: 12px 25px;
    font-size: 16px;
  }
  .page-resources-tai-xiu-gameplay-guide__hero-image-container {
    margin-top: 15px;
    border-radius: 8px;
  }
  .page-resources-tai-xiu-gameplay-guide__step-item,
  .page-resources-tai-xiu-gameplay-guide__feature-card,
  .page-resources-tai-xiu-gameplay-guide__rule-card,
  .page-resources-tai-xiu-gameplay-guide__strategy-card,
  .page-resources-tai-xiu-gameplay-guide__criteria-card {
    flex: 1 1 100%;
    max-width: 100%;
  }
}