.page-resources-how-to-choose-reputable-reward-games {
  color: var(--text-color-dark);
  background-color: #f1f3f5;
  padding-top: 120px; /* Thêm padding-top để tránh header cố định che khuất nội dung */
}

@media (max-width: 768px) {
  .page-resources-how-to-choose-reputable-reward-games {
    padding-top: 100px; /* Điều chỉnh padding-top cho thiết bị di động */
  }
}

.page-resources-how-to-choose-reputable-reward-games__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-resources-how-to-choose-reputable-reward-games__section-title {
  font-size: 36px;
  font-weight: bold;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 40px;
  line-height: 1.3;
}

.page-resources-how-to-choose-reputable-reward-games__section-description {
  font-size: 18px;
  color: var(--text-color-dark);
  text-align: center;
  margin-bottom: 50px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-resources-how-to-choose-reputable-reward-games__cta-button {
  display: inline-block;
  padding: 15px 35px;
  background: linear-gradient(135deg, var(--secondary-color), #FFB800);
  color: #ffffff;
  text-decoration: none;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: none;
}

.page-resources-how-to-choose-reputable-reward-games__cta-button:hover {
  background: linear-gradient(135deg, #FFB800, var(--secondary-color));
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Hero Subpage Section */
.page-resources-how-to-choose-reputable-reward-games__hero-subpage-section {
  background: linear-gradient(135deg, #1A202C, #2D3748);
  color: #ffffff;
  padding: 80px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-resources-how-to-choose-reputable-reward-games__hero-subpage-container {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.page-resources-how-to-choose-reputable-reward-games__hero-subpage-title {
  font-size: 48px;
  font-weight: bold;
  margin-bottom: 25px;
  line-height: 1.2;
  color: var(--secondary-color);
}

.page-resources-how-to-choose-reputable-reward-games__hero-subpage-description {
  font-size: 20px;
  line-height: 1.6;
  margin-bottom: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-resources-how-to-choose-reputable-reward-games__hero-subpage-section .page-resources-how-to-choose-reputable-reward-games__cta-button {
  font-size: 20px;
  padding: 18px 45px;
}

/* Introduction Section */
.page-resources-how-to-choose-reputable-reward-games__introduction-section {
  padding: 80px 0;
  background-color: #ffffff;
}

.page-resources-how-to-choose-reputable-reward-games__content-wrapper {
  display: flex;
  align-items: center;
  gap: 40px;
}

.page-resources-how-to-choose-reputable-reward-games__image-left {
  flex-shrink: 0;
  width: 45%;
  max-width: 500px;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  object-fit: cover;
}

.page-resources-how-to-choose-reputable-reward-games__text-block {
  flex-grow: 1;
  font-size: 17px;
  line-height: 1.7;
  color: #333333;
}

.page-resources-how-to-choose-reputable-reward-games__text-block p {
  margin-bottom: 15px;
}

.page-resources-how-to-choose-reputable-reward-games__text-block p:last-child {
  margin-bottom: 0;
}

/* Criteria Section */
.page-resources-how-to-choose-reputable-reward-games__criteria-section {
  padding: 80px 0;
  background-color: var(--primary-color);
  color: #ffffff;
}

.page-resources-how-to-choose-reputable-reward-games__criteria-section .page-resources-how-to-choose-reputable-reward-games__section-title {
  color: var(--secondary-color);
}

.page-resources-how-to-choose-reputable-reward-games__criteria-section .page-resources-how-to-choose-reputable-reward-games__section-description {
  color: #f0f0f0;
}

.page-resources-how-to-choose-reputable-reward-games__criteria-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-resources-how-to-choose-reputable-reward-games__criteria-card {
  background-color: #ffffff;
  color: #333333;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-resources-how-to-choose-reputable-reward-games__criteria-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.page-resources-how-to-choose-reputable-reward-games__card-image {
  width: 100%;
  max-width: 300px; /* Ensure images are not too small */
  height: auto;
  margin-bottom: 25px;
  border-radius: 8px;
  object-fit: cover;
}

.page-resources-how-to-choose-reputable-reward-games__criteria-card h3 {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 15px;
  color: var(--primary-color);
}

.page-resources-how-to-choose-reputable-reward-games__criteria-card p {
  font-size: 16px;
  line-height: 1.7;
}

.page-resources-how-to-choose-reputable-reward-games__cta-bottom {
  text-align: center;
  margin-top: 60px;
}

.page-resources-how-to-choose-reputable-reward-games__cta-bottom p {
  font-size: 20px;
  color: #f0f0f0;
  margin-bottom: 30px;
}

.page-resources-how-to-choose-reputable-reward-games__cta-button--large {
  padding: 18px 45px;
  font-size: 20px;
}

/* Benefits Section */
.page-resources-how-to-choose-reputable-reward-games__benefits-section {
  padding: 80px 0;
  background-color: #f1f3f5;
}

.page-resources-how-to-choose-reputable-reward-games__benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-resources-how-to-choose-reputable-reward-games__benefit-item {
  background-color: #ffffff;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-resources-how-to-choose-reputable-reward-games__benefit-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.page-resources-how-to-choose-reputable-reward-games__benefit-icon {
  width: 100px;
  height: 100px;
  margin-bottom: 20px;
  object-fit: contain;
}

.page-resources-how-to-choose-reputable-reward-games__benefit-title {
  font-size: 22px;
  font-weight: bold;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.page-resources-how-to-choose-reputable-reward-games__benefit-item p {
  font-size: 16px;
  line-height: 1.6;
  color: #333333;
}

/* FAQ Section */
.page-resources-how-to-choose-reputable-reward-games__faq-section {
  padding: 80px 0;
  background-color: var(--primary-color);
  color: #ffffff;
}

.page-resources-how-to-choose-reputable-reward-games__faq-section .page-resources-how-to-choose-reputable-reward-games__section-title {
  color: var(--secondary-color);
}

.page-resources-how-to-choose-reputable-reward-games__faq-list {
  margin-top: 50px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-resources-how-to-choose-reputable-reward-games__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-resources-how-to-choose-reputable-reward-games__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 25px;
  opacity: 0;
  color: #333333; /* Đảm bảo màu chữ tối trên nền sáng */
}

.page-resources-how-to-choose-reputable-reward-games__faq-item.active .page-resources-how-to-choose-reputable-reward-games__faq-answer {
  max-height: 2000px !important;
  padding: 20px 25px !important;
  opacity: 1;
  background: #f9f9f9;
  border-radius: 0 0 8px 8px;
}

.page-resources-how-to-choose-reputable-reward-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  background: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
  color: var(--primary-color);
}

.page-resources-how-to-choose-reputable-reward-games__faq-question:hover {
  background: #f5f5f5;
  border-color: #d0d0d0;
}

.page-resources-how-to-choose-reputable-reward-games__faq-question:active {
  background: #eeeeee;
}

.page-resources-how-to-choose-reputable-reward-games__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  pointer-events: none;
}

.page-resources-how-to-choose-reputable-reward-games__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  line-height: 1;
  color: var(--secondary-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-how-to-choose-reputable-reward-games__faq-item.active .page-resources-how-to-choose-reputable-reward-games__faq-toggle {
  color: var(--primary-color);
  transform: rotate(45deg);
}

.page-resources-how-to-choose-reputable-reward-games__faq-answer p {
  margin-bottom: 10px;
  line-height: 1.6;
}

.page-resources-how-to-choose-reputable-reward-games__faq-answer a {
  color: var(--primary-color);
  text-decoration: underline;
}

.page-resources-how-to-choose-reputable-reward-games__faq-answer a:hover {
  color: var(--secondary-color);
}

/* Conclusion Section */
.page-resources-how-to-choose-reputable-reward-games__conclusion-section {
  padding: 80px 0;
  background-color: #ffffff;
  text-align: center;
}

.page-resources-how-to-choose-reputable-reward-games__conclusion-section p {
  font-size: 18px;
  line-height: 1.7;
  color: #333333;
  margin-bottom: 25px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-resources-how-to-choose-reputable-reward-games__cta-final {
  margin-top: 50px;
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.page-resources-how-to-choose-reputable-how-to-choose-reputable-reward-games__cta-button--secondary {
  background: none;
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
  box-shadow: none;
}

.page-resources-how-to-choose-reputable-reward-games__cta-button--secondary:hover {
  background: var(--primary-color);
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-resources-how-to-choose-reputable-reward-games__hero-subpage-title {
    font-size: 40px;
  }

  .page-resources-how-to-choose-reputable-reward-games__hero-subpage-description {
    font-size: 18px;
  }

  .page-resources-how-to-choose-reputable-reward-games__section-title {
    font-size: 30px;
  }

  .page-resources-how-to-choose-reputable-reward-games__content-wrapper {
    flex-direction: column;
  }

  .page-resources-how-to-choose-reputable-reward-games__image-left {
    width: 100%;
    max-width: 600px;
    margin-bottom: 30px;
  }

  .page-resources-how-to-choose-reputable-reward-games__criteria-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }

  .page-resources-how-to-choose-reputable-reward-games__card-image {
    max-width: 250px;
  }

  .page-resources-how-to-choose-reputable-reward-games__benefits-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  }

  .page-resources-how-to-choose-reputable-reward-games__faq-question h3 {
    font-size: 17px;
  }

  .page-resources-how-to-choose-reputable-reward-games__faq-toggle {
    font-size: 24px;
    width: 28px;
    height: 28px;
  }

  .page-resources-how-to-choose-reputable-reward-games__cta-button {
    padding: 12px 25px;
    font-size: 16px;
  }
}

@media (max-width: 768px) {
  .page-resources-how-to-choose-reputable-reward-games__hero-subpage-section {
    padding: 60px 15px;
  }

  .page-resources-how-to-choose-reputable-reward-games__hero-subpage-title {
    font-size: 32px;
    margin-bottom: 15px;
  }

  .page-resources-how-to-choose-reputable-reward-games__hero-subpage-description {
    font-size: 16px;
    margin-bottom: 25px;
  }

  .page-resources-how-to-choose-reputable-reward-games__hero-subpage-section .page-resources-how-to-choose-reputable-reward-games__cta-button {
    font-size: 16px;
    padding: 15px 30px;
  }

  .page-resources-how-to-choose-reputable-reward-games__introduction-section,
  .page-resources-how-to-choose-reputable-reward-games__criteria-section,
  .page-resources-how-to-choose-reputable-reward-games__benefits-section,
  .page-resources-how-to-choose-reputable-reward-games__faq-section,
  .page-resources-how-to-choose-reputable-reward-games__conclusion-section {
    padding: 50px 0;
  }

  .page-resources-how-to-choose-reputable-reward-games__section-title {
    font-size: 26px;
    margin-bottom: 30px;
  }

  .page-resources-how-to-choose-reputable-reward-games__section-description {
    font-size: 16px;
    margin-bottom: 40px;
  }

  .page-resources-how-to-choose-reputable-reward-games__text-block {
    font-size: 15px;
  }

  .page-resources-how-to-choose-reputable-reward-games__image-left {
    width: 100%;
    margin-bottom: 25px;
  }

  .page-resources-how-to-choose-reputable-reward-games__criteria-card {
    padding: 25px;
  }

  .page-resources-how-to-choose-reputable-reward-games__criteria-card h3 {
    font-size: 20px;
  }

  .page-resources-how-to-choose-reputable-reward-games__card-image {
    max-width: 200px;
  }

  .page-resources-how-to-choose-reputable-reward-games__benefit-icon {
    width: 80px;
    height: 80px;
  }

  .page-resources-how-to-choose-reputable-reward-games__benefit-title {
    font-size: 19px;
  }

  .page-resources-how-to-choose-reputable-reward-games__faq-question {
    padding: 18px 20px;
  }

  .page-resources-how-to-choose-reputable-reward-games__faq-question h3 {
    font-size: 16px;
  }

  .page-resources-how-to-choose-reputable-reward-games__faq-toggle {
    font-size: 22px;
    width: 26px;
    height: 26px;
  }

  .page-resources-how-to-choose-reputable-reward-games__faq-item.active .page-resources-how-to-choose-reputable-reward-games__faq-answer {
    padding: 15px 20px !important;
  }

  .page-resources-how-to-choose-reputable-reward-games__conclusion-section p {
    font-size: 16px;
  }

  .page-resources-how-to-choose-reputable-reward-games__cta-final {
    flex-direction: column;
    gap: 15px;
  }

  .page-resources-how-to-choose-reputable-reward-games__cta-button--large {
    font-size: 16px;
    padding: 15px 30px;
    width: 100%;
    max-width: 300px;
  }
}

/* Color Contrast Fixes based on smart system - applied to specific elements */
.page-resources-how-to-choose-reputable-reward-games__dark-bg {
  background: var(--primary-color);
  color: #ffffff; /* Deep background with light text */
}

.page-resources-how-to-choose-reputable-reward-games__light-bg {
  background: #ffffff;
  color: #333333; /* Light background with dark text */
}

.page-resources-how-to-choose-reputable-reward-games__criteria-section .page-resources-how-to-choose-reputable-reward-games__section-title,
.page-resources-how-to-choose-reputable-reward-games__faq-section .page-resources-how-to-choose-reputable-reward-games__section-title {
  color: var(--secondary-color); /* Gold on dark primary for titles */
}

.page-resources-how-to-choose-reputable-reward-games__hero-subpage-title {
  color: var(--secondary-color); /* Gold on dark primary */
}

.page-resources-how-to-choose-reputable-reward-games__cta-button {
  background: linear-gradient(135deg, var(--secondary-color), #FFB800); /* Gold gradient for CTA */
  color: #ffffff; /* White text on gold */
}

.page-resources-how-to-choose-reputable-reward-games__cta-button--secondary {
  border: 2px solid var(--primary-color); /* Dark border for secondary button */
  color: var(--primary-color); /* Dark text on light background */
}

.page-resources-how-to-choose-reputable-reward-games__cta-button--secondary:hover {
  background: var(--primary-color);
  color: #ffffff; /* White text on dark primary on hover */
}

.page-resources-how-to-choose-reputable-reward-games__faq-question {
  color: var(--primary-color); /* Dark text on white FAQ question background */
}

.page-resources-how-to-choose-reputable-reward-games__faq-toggle {
  color: var(--secondary-color); /* Gold toggle on white FAQ question background */
}

.page-resources-how-to-choose-reputable-reward-games__faq-item.active .page-resources-how-to-choose-reputable-reward-games__faq-toggle {
  color: var(--primary-color); /* Dark toggle when active */
}

.page-resources-how-to-choose-reputable-reward-games__faq-answer {
  color: #333333; /* Dark text on light FAQ answer background */
}