/* Base styles for the page-ban-ca */
.page-ban-ca {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light body background */
  background-color: #FFFFFF;
}

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

.page-ban-ca__section {
  padding: 60px 0;
  text-align: center;
}

.page-ban-ca__section-title {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 40px;
  color: #26A9E0;
}

.page-ban-ca__article-body {
  max-width: 900px;
  margin: 0 auto;
  text-align: left;
  font-size: 17px;
  line-height: 1.7;
}

.page-ban-ca__article-body p {
  margin-bottom: 1em;
}

.page-ban-ca__article-body ul,
.page-ban-ca__article-body ol {
  margin-bottom: 1em;
  padding-left: 20px;
}

.page-ban-ca__article-body li {
  margin-bottom: 0.5em;
}

.page-ban-ca__card {
  background: #ffffff;
  color: #333333;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 25px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
}

/* Buttons */
.page-ban-ca__btn-primary,
.page-ban-ca__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-ban-ca__btn-primary {
  background: #26A9E0;
  color: #ffffff;
  border: 2px solid #26A9E0;
}

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

.page-ban-ca__btn-secondary {
  background: #ffffff;
  color: #26A9E0;
  border: 2px solid #26A9E0;
}

.page-ban-ca__btn-secondary:hover {
  background: #26A9E0;
  color: #ffffff;
}

.page-ban-ca__button-container {
  margin-top: 30px;
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

/* Hero Section */
.page-ban-ca__hero-section {
  position: relative;
  padding: 10px 0 60px 0; /* Top padding 10px, not header-offset */
  color: #ffffff;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 500px;
}

.page-ban-ca__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

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

.page-ban-ca__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
  padding-top: 50px;
}

.page-ban-ca__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 800;
  margin-bottom: 20px;
  color: #FFFFFF;
  line-height: 1.2;
}

.page-ban-ca__hero-description {
  font-size: clamp(1rem, 2vw, 1.25rem);
  margin-bottom: 30px;
  color: #f0f0f0;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

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

/* Games Section */
.page-ban-ca__games-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 40px;
}

.page-ban-ca__game-card {
  padding: 20px;
}

.page-ban-ca__game-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 5px;
  margin-bottom: 15px;
  display: block;
}

.page-ban-ca__game-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 10px;
  color: #26A9E0;
}

.page-ban-ca__game-description {
  font-size: 15px;
  color: #555;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-ban-ca__game-button {
  width: 100%;
}

/* Guide Section */
.page-ban-ca__guide-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.page-ban-ca__guide-list li {
  margin-bottom: 30px;
}

.page-ban-ca__guide-title {
  font-size: 24px;
  font-weight: 700;
  color: #26A9E0;
  margin-bottom: 15px;
}

.page-ban-ca__tips-list {
  list-style: disc;
  padding-left: 25px;
  margin-top: 10px;
}

/* Strategy Section */
.page-ban-ca__strategy-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.page-ban-ca__strategy-list li {
  margin-bottom: 30px;
}

.page-ban-ca__strategy-title {
  font-size: 24px;
  font-weight: 700;
  color: #26A9E0;
  margin-bottom: 15px;
}

.page-ban-ca__weapon-tips,
.page-ban-ca__shooting-tips {
  list-style: disc;
  padding-left: 25px;
  margin-top: 10px;
}

/* Advantages Section */
.page-ban-ca__advantages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 40px;
}

.page-ban-ca__advantage-card {
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.page-ban-ca__advantage-image {
  width: 120px;
  height: 120px;
  object-fit: contain;
  margin-bottom: 15px;
  display: block;
}

.page-ban-ca__advantage-title {
  font-size: 20px;
  font-weight: 700;
  color: #26A9E0;
  margin-bottom: 10px;
}

.page-ban-ca__advantage-description {
  font-size: 15px;
  color: #555;
}

/* Promotions Section */
.page-ban-ca__promo-list {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left;
}

.page-ban-ca__promo-list li {
  background: #f9f9f9;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 20px;
}

.page-ban-ca__promo-title {
  font-size: 22px;
  font-weight: 700;
  color: #26A9E0;
  margin-bottom: 10px;
}

/* FAQ Section */
details.page-ban-ca__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  border: 1px solid #e0e0e0;
  overflow: hidden;
  background: #fff;
}

details.page-ban-ca__faq-item summary.page-ban-ca__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
}

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

details.page-ban-ca__faq-item summary.page-ban-ca__faq-question:hover {
  background: #f5f5f5;
}

.page-ban-ca__faq-qtext {
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #333333;
}

.page-ban-ca__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #666;
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}

details.page-ban-ca__faq-item .page-ban-ca__faq-answer {
  padding: 0 20px 20px;
  background: #f9f9f9;
  border-radius: 0 0 8px 8px;
  text-align: left;
}

.page-ban-ca__faq-answer p {
  margin-bottom: 0;
  color: #555;
}

/* Conclusion Section */
.page-ban-ca__conclusion-section {
  padding-bottom: 80px;
}

/* Responsive styles */
@media (max-width: 1024px) {
  .page-ban-ca__section-title {
    font-size: 32px;
  }
  .page-ban-ca__games-grid,
  .page-ban-ca__advantages-grid {
    gap: 20px;
  }
  .page-ban-ca__game-title {
    font-size: 20px;
  }
  .page-ban-ca__advantage-title {
    font-size: 18px;
  }
  .page-ban-ca__faq-qtext {
    font-size: 17px;
  }
}

@media (max-width: 768px) {
  .page-ban-ca {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-ban-ca__container {
    padding-left: 15px !important;
    padding-right: 15px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-ban-ca__section {
    padding: 40px 0;
  }
  .page-ban-ca__section-title {
    font-size: 28px;
    margin-bottom: 30px;
  }
  .page-ban-ca__article-body {
    font-size: 16px;
  }

  /* Hero Section */
  .page-ban-ca__hero-section {
    padding-top: 10px;
    min-height: 400px;
  }
  .page-ban-ca__hero-image {
    object-fit: contain !important;
    aspect-ratio: unset !important;
  }
  .page-ban-ca__hero-content {
    padding-top: 20px;
  }
  .page-ban-ca__main-title {
    font-size: 2rem; /* Adjusted for mobile, clamp handles min/max */
    margin-bottom: 15px;
  }
  .page-ban-ca__hero-description {
    font-size: 1rem;
    margin-bottom: 20px;
  }
  .page-ban-ca__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
  }

  /* Buttons general mobile adaption */
  .page-ban-ca__btn-primary,
  .page-ban-ca__btn-secondary,
  .page-ban-ca a[class*="button"],
  .page-ban-ca a[class*="btn"] {
    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__button-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
    flex-direction: column;
  }

  /* Games Section */
  .page-ban-ca__games-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    overflow-x: hidden;
  }
  .page-ban-ca__game-image {
    height: 150px;
  }
  .page-ban-ca__game-title {
    font-size: 18px;
  }
  .page-ban-ca__game-description {
    font-size: 14px;
  }

  /* Guide & Strategy Sections */
  .page-ban-ca__guide-title,
  .page-ban-ca__strategy-title,
  .page-ban-ca__promo-title {
    font-size: 20px;
  }
  .page-ban-ca__tips-list,
  .page-ban-ca__weapon-tips,
  .page-ban-ca__shooting-tips {
    padding-left: 20px;
  }

  /* Advantages Section */
  .page-ban-ca__advantages-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }
  .page-ban-ca__advantage-image {
    width: 100px;
    height: 100px;
  }
  .page-ban-ca__advantage-title {
    font-size: 16px;
  }
  .page-ban-ca__advantage-description {
    font-size: 14px;
  }

  /* Promotions Section */
  .page-ban-ca__promo-list li {
    padding: 15px;
  }

  /* FAQ Section */
  details.page-ban-ca__faq-item summary.page-ban-ca__faq-question {
    padding: 15px;
  }
  .page-ban-ca__faq-qtext {
    font-size: 16px;
  }
  .page-ban-ca__faq-toggle {
    font-size: 20px;
    width: 24px;
    margin-left: 10px;
  }
  details.page-ban-ca__faq-item .page-ban-ca__faq-answer {
    padding: 0 15px 15px;
  }

  /* General image and container responsiveness */
  .page-ban-ca img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-ban-ca__section,
  .page-ban-ca__card,
  .page-ban-ca__container,
  .page-ban-ca__hero-section,
  .page-ban-ca__games-section,
  .page-ban-ca__guide-section,
  .page-ban-ca__strategy-section,
  .page-ban-ca__advantages-section,
  .page-ban-ca__promotions-section,
  .page-ban-ca__faq-section,
  .page-ban-ca__conclusion-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-ban-ca__article-body {
    max-width: 100% !important;
    padding: 0;
  }
}