.page-ban-ca__hero-section {
  padding-top: 10px;
  padding-bottom: 60px;
  background-color: #f8f8f8;
  color: #333333;
}

.page-ban-ca__hero-container {
  max-width: 1170px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  padding: 20px 16px;
}

.page-ban-ca__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
}

.page-ban-ca__hero-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.page-ban-ca__hero-content {
  text-align: center;
  max-width: 800px;
}

.page-ban-ca__main-title {
  font-size: clamp(2em, 4vw, 2.8em);
  font-weight: 700;
  line-height: 1.2;
  color: #017439;
  margin-bottom: 20px;
}

.page-ban-ca__description {
  font-size: 1.1em;
  line-height: 1.6;
  margin-bottom: 30px;
  color: #555555;
}

.page-ban-ca__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.page-ban-ca__btn-primary,
.page-ban-ca__btn-secondary,
.page-ban-ca__btn-play,
.page-ban-ca__btn-view-more {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.05em;
  transition: all 0.3s ease;
  text-align: center;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-ban-ca__btn-primary {
  background-color: #C30808; /* Đăng ký color */
  color: #FFFF00; /* Đăng ký font color */
  border: 2px solid #C30808;
}

.page-ban-ca__btn-primary:hover {
  background-color: #a00606;
  border-color: #a00606;
}

.page-ban-ca__btn-secondary {
  background-color: #017439;
  color: #FFFFFF;
  border: 2px solid #017439;
}

.page-ban-ca__btn-secondary:hover {
  background-color: #005a2e;
  border-color: #005a2e;
}

.page-ban-ca__intro-section,
.page-ban-ca__game-list-section,
.page-ban-ca__guide-section,
.page-ban-ca__promo-section,
.page-ban-ca__faq-section,
.page-ban-ca__cta-final-section {
  padding: 60px 0;
  color: #333333;
  background-color: #ffffff;
}

.page-ban-ca__intro-section {
  background-color: #f0fdf4; /* Light green background */
}

.page-ban-ca__section-title {
  font-size: clamp(1.8em, 3.5vw, 2.5em);
  font-weight: 700;
  color: #017439;
  text-align: center;
  margin-bottom: 20px;
}

.page-ban-ca__section-description {
  font-size: 1.05em;
  line-height: 1.6;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 40px;
  color: #555555;
}

.page-ban-ca__container {
  max-width: 1170px;
  margin: 0 auto;
  padding: 0 16px;
}

.page-ban-ca__features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-ban-ca__feature-item {
  text-align: center;
  background-color: #ffffff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.page-ban-ca__feature-item:hover {
  transform: translateY(-5px);
}

.page-ban-ca__icon-box-media {
  width: 160px;
  height: 160px;
  margin: 0 auto 25px;
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #e6faed; /* Lighter green for icon background */
  box-shadow: 0 0 0 8px rgba(1, 116, 57, 0.1);
}

.page-ban-ca__icon-box-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}

.page-ban-ca__feature-title {
  font-size: 1.5em;
  font-weight: 600;
  color: #017439;
  margin-bottom: 15px;
}

.page-ban-ca__feature-text {
  font-size: 1em;
  line-height: 1.6;
  color: #666666;
}

.page-ban-ca__game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.page-ban-ca__game-card {
  background-color: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  text-align: center;
  transition: transform 0.3s ease;
}

.page-ban-ca__game-card:hover {
  transform: translateY(-5px);
}

.page-ban-ca__game-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.page-ban-ca__game-title {
  font-size: 1.4em;
  font-weight: 600;
  color: #017439;
  margin: 20px 15px 10px;
}

.page-ban-ca__game-text {
  font-size: 0.95em;
  line-height: 1.6;
  color: #666666;
  padding: 0 15px 20px;
}

.page-ban-ca__btn-play {
  background-color: #C30808;
  color: #FFFF00;
  border: 2px solid #C30808;
  margin-bottom: 20px;
  width: calc(100% - 60px); /* Adjust for padding */
}

.page-ban-ca__btn-play:hover {
  background-color: #a00606;
  border-color: #a00606;
}

.page-ban-ca__guide-section {
  background-color: #f8f8f8;
}

.page-ban-ca__guide-step {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-bottom: 60px;
}

.page-ban-ca__guide-step:last-of-type {
  margin-bottom: 0;
}

.page-ban-ca__guide-step--reverse {
  flex-direction: row-reverse;
}

.page-ban-ca__guide-content {
  flex: 1;
  max-width: 50%;
}

.page-ban-ca__guide-image-wrapper {
  flex: 1;
  max-width: 50%;
  width: 100%;
  overflow: hidden;
  box-sizing: border-box;
}

.page-ban-ca__guide-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}

.page-ban-ca__guide-subtitle {
  font-size: 1.6em;
  font-weight: 600;
  color: #017439;
  margin-bottom: 15px;
}

.page-ban-ca__guide-content p {
  font-size: 1em;
  line-height: 1.7;
  color: #555555;
}

.page-ban-ca__promo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
}

.page-ban-ca__promo-card {
  background-color: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  text-align: center;
  transition: transform 0.3s ease;
}

.page-ban-ca__promo-card:hover {
  transform: translateY(-5px);
}

.page-ban-ca__promo-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.page-ban-ca__promo-title {
  font-size: 1.4em;
  font-weight: 600;
  color: #017439;
  margin: 20px 15px 10px;
}

.page-ban-ca__promo-text {
  font-size: 0.95em;
  line-height: 1.6;
  color: #666666;
  padding: 0 15px 20px;
}

.page-ban-ca__btn-view-more {
  background-color: #017439;
  color: #FFFFFF;
  border: 2px solid #017439;
  margin-bottom: 20px;
  width: calc(100% - 60px);
}

.page-ban-ca__btn-view-more:hover {
  background-color: #005a2e;
  border-color: #005a2e;
}

.page-ban-ca__faq-list {
  margin-top: 40px;
}

.page-ban-ca__faq-item {
  background-color: #f9f9f9;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-ban-ca__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.15em;
  font-weight: 600;
  color: #333333;
  cursor: pointer;
  background-color: #ffffff;
  user-select: none;
  list-style: none; /* For details/summary */
}

.page-ban-ca__faq-question::-webkit-details-marker {
  display: none; /* Hide default marker for WebKit */
}

.page-ban-ca__faq-qtext {
  flex-grow: 1;
}

.page-ban-ca__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  color: #017439;
}

.page-ban-ca__faq-item[open] .page-ban-ca__faq-question {
  background-color: #e6faed;
}

.page-ban-ca__faq-answer {
  padding: 15px 25px 25px;
  font-size: 1em;
  line-height: 1.7;
  color: #555555;
  background-color: #f9f9f9;
}

.page-ban-ca__cta-final-section {
  background-color: #017439;
  color: #ffffff;
  text-align: center;
}

.page-ban-ca__cta-final-section .page-ban-ca__section-title,
.page-ban-ca__cta-final-section .page-ban-ca__section-description {
  color: #ffffff;
}

.page-ban-ca__cta-final-section .page-ban-ca__btn-primary {
  background-color: #C30808;
  color: #FFFF00;
  border-color: #C30808;
}

.page-ban-ca__cta-final-section .page-ban-ca__btn-primary:hover {
  background-color: #a00606;
  border-color: #a00606;
}

.page-ban-ca__cta-final-section .page-ban-ca__btn-secondary {
  background-color: #ffffff;
  color: #017439;
  border-color: #ffffff;
}

.page-ban-ca__cta-final-section .page-ban-ca__btn-secondary:hover {
  background-color: #f0f0f0;
  border-color: #f0f0f0;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-ban-ca__hero-container {
    flex-direction: column;
    text-align: center;
  }

  .page-ban-ca__hero-content {
    max-width: 100%;
  }

  .page-ban-ca__guide-step {
    flex-direction: column;
    gap: 30px;
  }

  .page-ban-ca__guide-step--reverse {
    flex-direction: column;
  }

  .page-ban-ca__guide-content,
  .page-ban-ca__guide-image-wrapper {
    max-width: 100%;
  }

  .page-ban-ca__features-grid,
  .page-ban-ca__game-grid,
  .page-ban-ca__promo-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-ban-ca__hero-section {
    padding-top: 10px !important;
    padding-bottom: 40px;
  }

  .page-ban-ca__main-title {
    font-size: clamp(1.8em, 7vw, 2.5em);
  }

  .page-ban-ca__description {
    font-size: 1em;
  }

  .page-ban-ca__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
  }

  .page-ban-ca__btn-primary,
  .page-ban-ca__btn-secondary,
  .page-ban-ca__btn-play,
  .page-ban-ca__btn-view-more {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-ban-ca__intro-section,
  .page-ban-ca__game-list-section,
  .page-ban-ca__guide-section,
  .page-ban-ca__promo-section,
  .page-ban-ca__faq-section,
  .page-ban-ca__cta-final-section {
    padding: 40px 0;
  }

  .page-ban-ca__section-title {
    font-size: clamp(1.6em, 6vw, 2.2em);
    margin-bottom: 15px;
  }

  .page-ban-ca__section-description {
    font-size: 0.95em;
    margin-bottom: 30px;
  }

  .page-ban-ca__container {
    padding: 0 15px;
  }

  .page-ban-ca__features-grid,
  .page-ban-ca__game-grid,
  .page-ban-ca__promo-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .page-ban-ca__feature-item,
  .page-ban-ca__game-card,
  .page-ban-ca__promo-card {
    padding: 25px;
  }

  .page-ban-ca__icon-box-media {
    width: 120px;
    height: 120px;
    margin-bottom: 20px;
  }

  .page-ban-ca__feature-title {
    font-size: 1.3em;
  }

  .page-ban-ca__game-image,
  .page-ban-ca__promo-image {
    height: 180px;
  }

  .page-ban-ca__game-title,
  .page-ban-ca__promo-title {
    font-size: 1.2em;
  }

  .page-ban-ca__guide-step {
    margin-bottom: 40px;
  }

  .page-ban-ca__guide-subtitle {
    font-size: 1.4em;
  }

  .page-ban-ca__guide-content p {
    font-size: 0.95em;
  }

  .page-ban-ca__faq-question {
    padding: 15px 20px;
    font-size: 1em;
  }

  .page-ban-ca__faq-answer {
    padding: 10px 20px 20px;
    font-size: 0.95em;
  }

  .page-ban-ca img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-ban-ca__hero-image-wrapper,
  .page-ban-ca__guide-image-wrapper,
  .page-ban-ca__game-card,
  .page-ban-ca__promo-card,
  .page-ban-ca__feature-item,
  .page-ban-ca__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
}