/* Base Styles */
.page-ban-ca {
  font-family: Arial, sans-serif;
  color: #1F2D3D;
  line-height: 1.6;
  background-color: #F4F7FB;
}

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

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

.page-ban-ca__background-alt {
  background-color: #F4F7FB;
}

.page-ban-ca__dark-section {
  background: linear-gradient(180deg, #2F6BFF 0%, #4A8BFF 100%);
  color: #ffffff;
}

.page-ban-ca__section-title {
  font-size: clamp(28px, 4vw, 36px);
  color: #1F2D3D;
  text-align: center;
  margin-bottom: 40px;
  font-weight: 700;
}

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

.page-ban-ca__sub-title {
  font-size: clamp(22px, 3vw, 28px);
  color: #2F6BFF;
  margin-top: 30px;
  margin-bottom: 20px;
  font-weight: 600;
}

.page-ban-ca__text-block {
  font-size: 17px;
  margin-bottom: 20px;
  text-align: center;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-ban-ca__list {
  list-style: none;
  padding: 0;
  margin: 20px auto;
  max-width: 800px;
}

.page-ban-ca__list-item {
  background-color: #FFFFFF;
  border: 1px solid #D6E2FF;
  border-radius: 8px;
  padding: 15px 20px;
  margin-bottom: 10px;
  font-size: 16px;
  display: flex;
  align-items: center;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.page-ban-ca__list-item strong {
  color: #2F6BFF;
  margin-right: 8px;
}

/* Hero Section */
.page-ban-ca__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-top: 10px; /* Small top padding */
  background-color: #F4F7FB;
  position: relative;
  overflow: hidden;
}

.page-ban-ca__hero-image-wrapper {
  width: 100%;
  max-height: 600px; /* Limit height for hero image */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 30px;
}

.page-ban-ca__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  aspect-ratio: 16/9;
}

.page-ban-ca__hero-content {
  max-width: 900px;
  padding: 0 15px 60px;
  z-index: 1;
  position: relative;
}

.page-ban-ca__main-title {
  font-size: clamp(36px, 5vw, 48px);
  color: #1F2D3D;
  margin-bottom: 20px;
  font-weight: 800;
  line-height: 1.2;
}

.page-ban-ca__description {
  font-size: 18px;
  color: #1F2D3D;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-ban-ca__btn-primary,
.page-ban-ca__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  border-radius: 50px;
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-ban-ca__btn-primary {
  background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
  color: #ffffff;
  border: 2px solid transparent;
  box-shadow: 0 5px 15px rgba(47, 107, 255, 0.3);
}

.page-ban-ca__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(47, 107, 255, 0.4);
}

.page-ban-ca__btn-secondary {
  background: #FFFFFF;
  color: #2F6BFF;
  border: 2px solid #2F6BFF;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.page-ban-ca__btn-secondary:hover {
  transform: translateY(-3px);
  background: #F0F5FF;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

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

.page-ban-ca__game-card {
  background-color: #FFFFFF;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  text-align: center;
  padding-bottom: 25px;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-ban-ca__game-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

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

.page-ban-ca__game-title {
  font-size: 22px;
  color: #2F6BFF;
  margin-bottom: 10px;
  padding: 0 20px;
  font-weight: 700;
}

.page-ban-ca__game-description {
  font-size: 16px;
  color: #1F2D3D;
  padding: 0 20px;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-ban-ca__btn-play {
  display: inline-block;
  background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
  color: #ffffff;
  padding: 12px 25px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-ban-ca__btn-play:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(47, 107, 255, 0.4);
}

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

.page-ban-ca__step-item {
  background-color: #FFFFFF;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  padding: 30px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-ban-ca__step-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.page-ban-ca__step-image {
  width: 100%;
  max-width: 250px;
  height: auto;
  object-fit: contain;
  margin-bottom: 20px;
}

.page-ban-ca__step-title {
  font-size: 20px;
  color: #2F6BFF;
  margin-bottom: 15px;
  font-weight: 700;
}

.page-ban-ca__step-description {
  font-size: 16px;
  color: #1F2D3D;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-ban-ca__btn-link {
  color: #2F6BFF;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.page-ban-ca__btn-link:hover {
  color: #4A8BFF;
  text-decoration: underline;
}

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

.page-ban-ca__tip-card {
  background-color: rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, background-color 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.page-ban-ca__tip-card:hover {
  transform: translateY(-5px);
  background-color: rgba(255, 255, 255, 0.25);
}

.page-ban-ca__tip-title {
  font-size: 20px;
  color: #ffffff;
  margin-bottom: 15px;
  font-weight: 700;
}

.page-ban-ca__tip-description {
  font-size: 16px;
  color: #f0f0f0;
  margin-bottom: 15px;
}

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

.page-ban-ca__advantage-item {
  background-color: #FFFFFF;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  padding: 30px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-ban-ca__advantage-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.page-ban-ca__advantage-icon {
  width: 100%;
  max-width: 80px;
  height: auto;
  object-fit: contain;
  margin-bottom: 20px;
}

.page-ban-ca__advantage-title {
  font-size: 20px;
  color: #2F6BFF;
  margin-bottom: 15px;
  font-weight: 700;
}

.page-ban-ca__advantage-description {
  font-size: 16px;
  color: #1F2D3D;
}

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

.page-ban-ca__promo-card {
  background-color: #FFFFFF;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  text-align: center;
  padding-bottom: 25px;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-ban-ca__promo-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

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

.page-ban-ca__promo-title {
  font-size: 22px;
  color: #2F6BFF;
  margin-bottom: 10px;
  padding: 0 20px;
  font-weight: 700;
}

.page-ban-ca__promo-description {
  font-size: 16px;
  color: #1F2D3D;
  padding: 0 20px;
  margin-bottom: 20px;
  flex-grow: 1;
}

/* FAQ Section */
details.page-ban-ca__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  border: 1px solid #D6E2FF;
  overflow: hidden;
  background: #FFFFFF;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
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: #F0F5FF;
}
.page-ban-ca__faq-qtext {
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #1F2D3D;
}
.page-ban-ca__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #2F6BFF;
  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;
  font-size: 16px;
  color: #1F2D3D;
}
.page-ban-ca__faq-answer p {
  margin: 0;
  padding-top: 10px;
}
.page-ban-ca__faq-answer a {
  color: #2F6BFF;
  text-decoration: none;
  font-weight: 600;
}
.page-ban-ca__faq-answer a:hover {
  text-decoration: underline;
}

/* Conclusion Section */
.page-ban-ca__conclusion-section .page-ban-ca__text-block {
  font-size: 18px;
  font-weight: 500;
}
.page-ban-ca__conclusion-section .page-ban-ca__text-block a {
  color: #2F6BFF;
  text-decoration: none;
  font-weight: 700;
}
.page-ban-ca__conclusion-section .page-ban-ca__text-block a:hover {
  text-decoration: underline;
}

/* General Image Styles */
.page-ban-ca img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-ban-ca__hero-image {
    height: auto;
    max-height: 500px;
  }
  .page-ban-ca__main-title {
    font-size: clamp(32px, 4.5vw, 42px);
  }
  .page-ban-ca__description {
    font-size: 17px;
  }
  .page-ban-ca__section-title {
    font-size: clamp(26px, 3.5vw, 32px);
  }
  .page-ban-ca__games-grid,
  .page-ban-ca__guide-steps,
  .page-ban-ca__tips-grid,
  .page-ban-ca__advantages-grid,
  .page-ban-ca__promotions-grid {
    gap: 20px;
  }
  .page-ban-ca__game-image {
    height: 180px;
  }
  .page-ban-ca__promo-image {
    height: 150px;
  }
  .page-ban-ca__list-item {
    padding: 12px 15px;
    font-size: 15px;
  }
  .page-ban-ca__faq-qtext {
    font-size: 17px;
  }
  .page-ban-ca__faq-toggle {
    font-size: 22px;
  }
}

@media (max-width: 768px) {
  .page-ban-ca__section {
    padding: 40px 0;
  }
  .page-ban-ca__hero-section {
    padding-bottom: 40px;
  }
  .page-ban-ca__hero-image-wrapper {
    margin-bottom: 20px;
  }
  .page-ban-ca__hero-image {
    object-fit: contain !important;
    aspect-ratio: unset !important;
    max-height: 300px;
  }
  .page-ban-ca__hero-content {
    padding: 0 15px 40px;
  }
  .page-ban-ca__main-title {
    font-size: clamp(28px, 8vw, 36px);
  }
  .page-ban-ca__description {
    font-size: 16px;
    text-align: left;
  }
  .page-ban-ca__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
  .page-ban-ca__btn-primary,
  .page-ban-ca__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    font-size: 16px !important;
    padding: 12px 20px !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-ban-ca__section-title {
    font-size: clamp(24px, 7vw, 28px);
    margin-bottom: 30px;
  }
  .page-ban-ca__text-block {
    font-size: 15px;
    text-align: left;
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-ban-ca__sub-title {
    font-size: clamp(20px, 6vw, 24px);
    text-align: left;
    padding: 0 15px;
  }
  .page-ban-ca__list {
    padding: 0 15px;
  }
  .page-ban-ca__list-item {
    font-size: 14px;
  }
  .page-ban-ca__games-grid,
  .page-ban-ca__guide-steps,
  .page-ban-ca__tips-grid,
  .page-ban-ca__advantages-grid,
  .page-ban-ca__promotions-grid {
    grid-template-columns: 1fr;
    gap: 25px;
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow-x: hidden;
  }
  .page-ban-ca__game-card,
  .page-ban-ca__step-item,
  .page-ban-ca__tip-card,
  .page-ban-ca__advantage-item,
  .page-ban-ca__promo-card {
    padding: 25px 20px;
  }
  .page-ban-ca__game-image,
  .page-ban-ca__promo-image {
    height: auto !important;
    max-width: 100% !important;
    width: 100% !important;
  }
  .page-ban-ca__step-image {
    max-width: 150px;
  }
  .page-ban-ca__advantage-icon {
    max-width: 60px;
  }
  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;
  }
  details.page-ban-ca__faq-item .page-ban-ca__faq-answer {
    padding: 0 15px 15px;
  }
  .page-ban-ca__faq-answer p {
    font-size: 15px;
  }
  .page-ban-ca img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-ban-ca__container {
    padding: 0;
  }
  .page-ban-ca__games-section,
  .page-ban-ca__guide-section,
  .page-ban-ca__tips-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;
    overflow-x: hidden;
  }
}

@media (max-width: 480px) {
  .page-ban-ca__main-title {
    font-size: clamp(24px, 10vw, 32px);
  }
  .page-ban-ca__btn-primary,
  .page-ban-ca__btn-secondary {
    padding: 10px 15px !important;
    font-size: 15px !important;
  }
  .page-ban-ca__game-title,
  .page-ban-ca__promo-title {
    font-size: 20px;
  }
  .page-ban-ca__step-title,
  .page-ban-ca__tip-title,
  .page-ban-ca__advantage-title {
    font-size: 18px;
  }
  .page-ban-ca__faq-qtext {
    font-size: 15px;
  }
}