.page-ban-ca {
  font-family: 'Arial', sans-serif;
  color: #333333; /* Dark text for light body background */
  line-height: 1.6;
  background-color: #FFFFFF; /* Explicitly set for clarity, though inherited from body */
}

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

.page-ban-ca__section-title {
  font-size: 2.5em;
  font-weight: 700;
  color: #017439;
  text-align: center;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-ban-ca__section-description {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-ban-ca__sub-title {
  font-size: 1.8em;
  font-weight: 600;
  color: #017439;
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-ban-ca__list {
  list-style: disc;
  margin-left: 20px;
  margin-bottom: 20px;
}

.page-ban-ca__list li {
  margin-bottom: 8px;
}

.page-ban-ca__btn {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1em;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  text-align: center;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-ban-ca__btn-primary {
  background-color: #C30808; /* Register/Login color */
  color: #FFFF00; /* Register/Login 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: #FFFFFF;
  color: #017439;
  border: 2px solid #017439;
}

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

.page-ban-ca__btn-link {
  color: #017439;
  text-decoration: none;
  font-weight: 600;
}

.page-ban-ca__btn-link:hover {
  text-decoration: underline;
}

.page-ban-ca__cta-center {
  text-align: center;
  margin-top: 40px;
}

/* Hero Section */
.page-ban-ca__hero-section {
  padding-top: 10px; /* Adjusted for shared header offset */
  padding-bottom: 40px;
  background-color: #FFFFFF;
}

.page-ban-ca__hero-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 40px;
  padding: 40px 16px;
}

.page-ban-ca__hero-content {
  flex: 1 1 45%;
  max-width: 550px;
  text-align: left;
  color: #333333;
}

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

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

.page-ban-ca__cta-buttons {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.page-ban-ca__hero-image {
  flex: 1 1 45%;
  text-align: center;
  max-width: 600px;
}

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

/* Intro Section */
.page-ban-ca__intro-section {
  background-color: #f8f8f8;
  padding: 60px 0;
}

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

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

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

.page-ban-ca__icon-box-media {
  width: 240px;
  height: 240px;
  margin: 0 auto 20px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid #017439;
  box-sizing: border-box;
}

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

.page-ban-ca__feature-title {
  font-size: 1.4em;
  font-weight: 700;
  color: #017439;
  margin-bottom: 10px;
}

.page-ban-ca__feature-text {
  font-size: 1em;
  color: #555555;
}

/* Game Overview Section */
.page-ban-ca__game-overview-section {
  background-color: #017439;
  color: #ffffff;
  padding: 60px 0;
}

.page-ban-ca__game-overview-section .page-ban-ca__section-title {
  color: #ffffff;
}

.page-ban-ca__game-overview-section .page-ban-ca__sub-title {
  color: #FFFF00;
}

.page-ban-ca__content-wrapper {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
  margin-top: 40px;
}

.page-ban-ca__text-block {
  flex: 1 1 50%;
  max-width: 600px;
}

.page-ban-ca__image-block {
  flex: 1 1 40%;
  text-align: center;
}

.page-ban-ca__image-block img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  display: block;
}

/* Why Choose Rik Section */
.page-ban-ca__why-choose-rik-section {
  background-color: #ffffff;
  padding: 60px 0;
}

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

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

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

.page-ban-ca__benefit-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
}

.page-ban-ca__benefit-title {
  font-size: 1.3em;
  font-weight: 700;
  color: #017439;
  margin: 20px 15px 10px;
}

.page-ban-ca__benefit-text {
  font-size: 1em;
  color: #555555;
  padding: 0 15px 20px;
}

/* Promotions Section */
.page-ban-ca__promotions-section {
  background-color: #017439;
  color: #ffffff;
  padding: 60px 0;
}

.page-ban-ca__promotions-section .page-ban-ca__section-title {
  color: #ffffff;
}

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

.page-ban-ca__promo-card {
  background: #ffffff;
  color: #333333;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

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

.page-ban-ca__promo-content {
  padding: 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

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

.page-ban-ca__promo-description {
  font-size: 1em;
  color: #555555;
  margin-bottom: 20px;
  flex-grow: 1;
}

/* Game Gallery Section */
.page-ban-ca__game-gallery-section {
  background-color: #f8f8f8;
  padding: 60px 0;
}

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

.page-ban-ca__gallery-item {
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  text-align: center;
}

.page-ban-ca__gallery-item img {
  width: 100%;
  
  object-fit: cover;
  display: block;
}

.page-ban-ca__gallery-title {
  font-size: 1.2em;
  font-weight: 600;
  color: #017439;
  padding: 15px;
}

/* FAQ Section */
.page-ban-ca__faq-section {
  background-color: #017439;
  color: #ffffff;
  padding: 60px 0;
}

.page-ban-ca__faq-section .page-ban-ca__section-title {
  color: #ffffff;
}

.page-ban-ca__faq-list {
  margin-top: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-ban-ca__faq-item {
  background: #ffffff;
  color: #333333;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-ban-ca__faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 25px;
  font-size: 1.1em;
  font-weight: 600;
  color: #017439;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #e6ffe6;
  border-bottom: 1px solid #ccebcc;
}

.page-ban-ca__faq-item summary::-webkit-details-marker {
  display: none;
}

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

.page-ban-ca__faq-item[open] .page-ban-ca__faq-question {
  background-color: #d9f2d9;
  border-bottom: none;
}

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

/* Blog Section */
.page-ban-ca__blog-section {
  background-color: #ffffff;
  padding: 60px 0;
}

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

.page-ban-ca__blog-card {
  background: #f8f8f8;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease;
}

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

.page-ban-ca__blog-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.page-ban-ca__blog-content {
  padding: 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.page-ban-ca__blog-title {
  font-size: 1.3em;
  font-weight: 700;
  color: #017439;
  margin-bottom: 10px;
}

.page-ban-ca__blog-title a {
  color: #017439;
  text-decoration: none;
}

.page-ban-ca__blog-title a:hover {
  text-decoration: underline;
}

.page-ban-ca__blog-meta {
  font-size: 0.9em;
  color: #888888;
  margin-bottom: 15px;
}

.page-ban-ca__blog-excerpt {
  font-size: 1em;
  color: #555555;
  margin-bottom: 20px;
  flex-grow: 1;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-ban-ca__hero-container {
    flex-direction: column-reverse;
    text-align: center;
  }
  .page-ban-ca__hero-content {
    text-align: center;
    max-width: 100%;
  }
  .page-ban-ca__cta-buttons {
    justify-content: center;
  }
  .page-ban-ca__features-grid,
  .page-ban-ca__benefits-grid,
  .page-ban-ca__promo-grid,
  .page-ban-ca__gallery-grid,
  .page-ban-ca__blog-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
  .page-ban-ca__content-wrapper {
    flex-direction: column;
  }
  .page-ban-ca__text-block,
  .page-ban-ca__image-block {
    flex: 1 1 100%;
    max-width: 100%;
  }
  .page-ban-ca__promo-card {
    flex-direction: column;
  }
}

@media (max-width: 768px) {
  .page-ban-ca {
    font-size: 15px;
    line-height: 1.5;
  }
  .page-ban-ca__container {
    padding: 20px 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-ban-ca__section-title {
    font-size: 2em;
    margin-bottom: 15px;
  }
  .page-ban-ca__section-description {
    font-size: 1em;
    margin-bottom: 20px;
  }
  .page-ban-ca__sub-title {
    font-size: 1.5em;
    margin-top: 20px;
  }

  /* HERO Section */
  .page-ban-ca__hero-section {
    padding-top: 10px !important;
    padding-bottom: 20px;
  }
  .page-ban-ca__hero-container {
    padding: 20px 15px;
    gap: 20px;
  }
  .page-ban-ca__main-title {
    font-size: 2em;
  }
  .page-ban-ca__hero-description {
    font-size: 1em;
  }
  .page-ban-ca__cta-buttons {
    flex-direction: column;
    gap: 10px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 0 15px;
  }
  .page-ban-ca__btn-primary,
  .page-ban-ca__btn-secondary,
  .page-ban-ca__btn {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 12px 15px;
  }

  /* Intro Section */
  .page-ban-ca__intro-section {
    padding: 40px 0;
  }
  .page-ban-ca__features-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-ban-ca__icon-box-media {
    width: 200px;
    height: 200px;
    margin-bottom: 15px;
  }

  /* Game Overview Section */
  .page-ban-ca__game-overview-section {
    padding: 40px 0;
  }

  /* Why Choose Rik Section */
  .page-ban-ca__why-choose-rik-section {
    padding: 40px 0;
  }
  .page-ban-ca__benefits-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-ban-ca__benefit-card img {
    height: 200px;
  }

  /* Promotions Section */
  .page-ban-ca__promotions-section {
    padding: 40px 0;
  }
  .page-ban-ca__promo-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-ban-ca__promo-card img {
    
  }

  /* Game Gallery Section */
  .page-ban-ca__game-gallery-section {
    padding: 40px 0;
  }
  .page-ban-ca__gallery-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  .page-ban-ca__gallery-item img {
    
  }

  /* FAQ Section */
  .page-ban-ca__faq-section {
    padding: 40px 0;
  }
  .page-ban-ca__faq-item summary {
    padding: 15px 20px;
    font-size: 1em;
  }
  .page-ban-ca__faq-answer {
    padding: 10px 20px 15px;
  }

  /* Blog Section */
  .page-ban-ca__blog-section {
    padding: 40px 0;
  }
  .page-ban-ca__blog-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-ban-ca__blog-card img {
    
  }

  /* General Image & Container rules for mobile */
  .page-ban-ca img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-ban-ca__section,
  .page-ban-ca__card,
  .page-ban-ca__container,
  .page-ban-ca__hero-content,
  .page-ban-ca__content-wrapper,
  .page-ban-ca__text-block,
  .page-ban-ca__image-block,
  .page-ban-ca__features-grid,
  .page-ban-ca__benefits-grid,
  .page-ban-ca__promo-grid,
  .page-ban-ca__gallery-grid,
  .page-ban-ca__blog-grid {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-ban-ca__hero-content,
  .page-ban-ca__text-block {
    padding-left: 0;
    padding-right: 0;
  }
  .page-ban-ca__cta-center {
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-ban-ca__cta-center .page-ban-ca__btn {
    width: 100% !important;
  }
}