.page-ban-ca {
  font-family: 'Arial', sans-serif;
  color: #333333;
  background-color: #FFFFFF;
  line-height: 1.6;
}

.page-ban-ca__section-spacing {
  padding: 40px 0;
}

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

.page-ban-ca__section-title {
  font-size: 2.5em;
  color: #26A9E0;
  text-align: center;
  margin-bottom: 30px;
  font-weight: bold;
}

.page-ban-ca__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  text-align: justify;
}

.page-ban-ca__text-link {
  color: #26A9E0;
  text-decoration: underline;
}

.page-ban-ca__center-buttons {
  text-align: center;
  margin-top: 30px;
}

.page-ban-ca__btn-primary,
.page-ban-ca__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  margin: 0 10px;
  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: #1e87b7;
  border-color: #1e87b7;
}

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

.page-ban-ca__btn-secondary:hover {
  background: #e0f2f7;
}

.page-ban-ca__btn-small {
  padding: 8px 18px;
  font-size: 0.9em;
}

/* Hero Section */
.page-ban-ca__hero-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 10px; /* Consistent with body padding-top from shared.css */
}

.page-ban-ca__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  max-height: 600px; /* Limit height for desktop hero */
}

.page-ban-ca__hero-content {
  padding: 40px 15px;
  max-width: 900px;
  margin: 0 auto;
}

.page-ban-ca__hero-title {
  font-size: 3.2em;
  color: #26A9E0;
  margin-bottom: 20px;
  font-weight: 900;
  line-height: 1.2;
}

.page-ban-ca__hero-description {
  font-size: 1.3em;
  color: #333333;
  margin-bottom: 30px;
}

.page-ban-ca__hero-cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

/* Dark Section */
.page-ban-ca__dark-section {
  background-color: #26A9E0;
  color: #ffffff;
}

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

.page-ban-ca__dark-section .page-ban-ca__text-block {
  color: #f0f0f0;
}

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

.page-ban-ca__advantage-item {
  background: rgba(255, 255, 255, 0.1);
  padding: 25px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-ban-ca__advantage-title {
  font-size: 1.5em;
  color: #ffffff;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-ban-ca__advantage-description {
  font-size: 1em;
  color: #f0f0f0;
}

/* Guide Section */
.page-ban-ca__guide-grid {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 40px;
}

.page-ban-ca__guide-card {
  flex: 0 0 calc(20% - 16px); /* 5 items per row, accounting for gap */
  max-width: calc(20% - 16px);
  text-align: center;
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s ease;
}

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

.page-ban-ca__guide-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 250 / 350; /* Fixed aspect ratio for vertical images */
  object-fit: contain;
  display: block;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Adjust padding-top for guide cards to create a staggered effect on desktop */
.page-ban-ca__guide-card--pos-1,
.page-ban-ca__guide-card--pos-5 {
  padding-top: 50px;
}

.page-ban-ca__guide-card--pos-2,
.page-ban-ca__guide-card--pos-4 {
  padding-top: 25px;
}

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

.page-ban-ca__game-card {
  background: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
}

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

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

.page-ban-ca__game-title {
  font-size: 1.6em;
  color: #26A9E0;
  margin: 15px 15px 10px;
  font-weight: bold;
}

.page-ban-ca__game-description {
  font-size: 0.95em;
  color: #555555;
  padding: 0 15px 15px;
  flex-grow: 1;
}

.page-ban-ca__game-card .page-ban-ca__btn-primary {
  margin: 15px;
  align-self: flex-start;
}

/* Tips Section */
.page-ban-ca__tips-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
}

.page-ban-ca__tips-list li {
  background: rgba(255, 255, 255, 0.15);
  padding: 15px 20px;
  margin-bottom: 10px;
  border-radius: 8px;
  font-size: 1.1em;
  color: #ffffff;
}

.page-ban-ca__tips-list li strong {
  color: #ffd700; /* Highlight important terms */
}

/* Promo Section */
.page-ban-ca__promo-card {
  display: flex;
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  margin-bottom: 30px;
  overflow: hidden;
}

.page-ban-ca__promo-card:nth-child(even) {
  flex-direction: row-reverse;
}

.page-ban-ca__promo-image {
  width: 50%;
  height: auto;
  object-fit: cover;
  display: block;
}

.page-ban-ca__promo-content {
  width: 50%;
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.page-ban-ca__promo-title {
  font-size: 1.8em;
  color: #26A9E0;
  margin-bottom: 15px;
  font-weight: bold;
}

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

/* Download Section */
.page-ban-ca__download-flex {
  display: flex;
  align-items: center;
  gap: 40px;
}

.page-ban-ca__download-text-content {
  flex: 1;
}

.page-ban-ca__download-image-wrapper {
  flex: 1;
  text-align: center;
}

.page-ban-ca__download-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

.page-ban-ca__download-buttons {
  display: flex;
  gap: 15px;
  margin-top: 30px;
  justify-content: flex-start;
}

/* Conclusion Section */
.page-ban-ca__conclusion-section .page-ban-ca__text-block {
  text-align: center;
}

/* Footer Content */
.page-ban-ca__footer-content {
  background-color: #333333;
  color: #ffffff;
  padding: 20px 0;
  text-align: center;
  font-size: 0.9em;
  margin-top: 50px;
}

.page-ban-ca__copyright {
  margin: 0;
}

/* --- Responsive Styles --- */
@media (max-width: 1024px) {
  .page-ban-ca__hero-title {
    font-size: 2.8em;
  }
  .page-ban-ca__hero-description {
    font-size: 1.2em;
  }
  .page-ban-ca__section-title {
    font-size: 2em;
  }
  .page-ban-ca__advantages-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }
  .page-ban-ca__guide-card {
    flex: 0 0 calc(33.333% - 13.333px);
    max-width: calc(33.333% - 13.333px);
  }
  .page-ban-ca__guide-card--pos-1,
  .page-ban-ca__guide-card--pos-5,
  .page-ban-ca__guide-card--pos-2,
  .page-ban-ca__guide-card--pos-4 {
    padding-top: 0;
  }
  .page-ban-ca__game-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }
  .page-ban-ca__promo-card {
    flex-direction: column;
  }
  .page-ban-ca__promo-card:nth-child(even) {
    flex-direction: column;
  }
  .page-ban-ca__promo-image,
  .page-ban-ca__promo-content {
    width: 100%;
  }
  .page-ban-ca__download-flex {
    flex-direction: column;
  }
  .page-ban-ca__download-text-content,
  .page-ban-ca__download-image-wrapper {
    flex: none;
    width: 100%;
  }
  .page-ban-ca__download-buttons {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .page-ban-ca {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-ban-ca__section-spacing {
    padding: 30px 0 !important;
  }
  .page-ban-ca__container {
    padding-left: 15px !important;
    padding-right: 15px !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-ban-ca__hero-section {
    padding-top: 10px !important;
  }
  .page-ban-ca__hero-title {
    font-size: 2.2em !important;
    line-height: 1.3 !important;
  }
  .page-ban-ca__hero-description {
    font-size: 1em !important;
  }
  .page-ban-ca__hero-cta-buttons {
    flex-direction: column !important;
    gap: 15px !important;
  }
  .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;
    margin: 0 !important; /* Reset horizontal margin */
    padding-left: 15px !important;
    padding-right: 15px !important;
  }
  .page-ban-ca__hero-cta-buttons,
  .page-ban-ca__download-buttons {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
  }
  .page-ban-ca__section-title {
    font-size: 1.8em !important;
  }
  .page-ban-ca__text-block {
    font-size: 1em !important;
  }
  .page-ban-ca__advantages-grid {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }
  .page-ban-ca__advantage-title {
    font-size: 1.3em !important;
  }
  .page-ban-ca__guide-grid {
    display: grid !important; /* Override flex for specific grid */
    grid-template-columns: repeat(6, 1fr) !important; /* 6 columns for mobile grid */
    gap: 15px !important;
  }
  .page-ban-ca__guide-card {
    padding-top: 0 !important; /* Reset staggered padding */
    flex: none !important;
    max-width: 100% !important;
  }
  .page-ban-ca__guide-card--pos-1,
  .page-ban-ca__guide-card--pos-2 {
    grid-column: span 3 !important; /* First two take 3/6 width */
  }
  .page-ban-ca__guide-card--pos-3,
  .page-ban-ca__guide-card--pos-4,
  .page-ban-ca__guide-card--pos-5 {
    grid-column: span 2 !important; /* Next three take 2/6 width */
  }
  .page-ban-ca__guide-card img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-ban-ca__game-grid {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }
  .page-ban-ca__game-title {
    font-size: 1.4em !important;
  }
  .page-ban-ca__game-description {
    font-size: 0.9em !important;
  }
  .page-ban-ca__tips-list li {
    font-size: 1em !important;
    padding: 12px 15px !important;
  }
  .page-ban-ca__promo-card {
    flex-direction: column !important;
  }
  .page-ban-ca__promo-card:nth-child(even) {
    flex-direction: column !important;
  }
  .page-ban-ca__promo-image,
  .page-ban-ca__promo-content {
    width: 100% !important;
  }
  .page-ban-ca__promo-title {
    font-size: 1.5em !important;
  }
  .page-ban-ca__promo-description {
    font-size: 0.95em !important;
  }
  .page-ban-ca__download-flex {
    flex-direction: column !important;
    gap: 20px !important;
  }
  .page-ban-ca__download-text-content,
  .page-ban-ca__download-image-wrapper {
    width: 100% !important;
  }
  .page-ban-ca img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-ban-ca__footer-content {
    padding: 15px 0 !important;
  }
}