/* Base Styles */
.page-ban-ca {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #1F2D3D; /* Text Main */
  background-color: #F4F7FB; /* Background */
}

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

.page-ban-ca__section-title {
  font-size: 36px;
  font-weight: 700;
  color: #1F2D3D; /* Text Main */
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
}

.page-ban-ca__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #4A8BFF 0%, #2F6BFF 100%);
  border-radius: 2px;
}

.page-ban-ca__subtitle {
  font-size: 18px;
  color: #1F2D3D;
  text-align: center;
  margin-bottom: 50px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

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

.page-ban-ca__btn-primary:hover {
  background: linear-gradient(180deg, #2F6BFF 0%, #4A8BFF 100%);
  box-shadow: 0 6px 20px rgba(47, 107, 255, 0.4);
}

.page-ban-ca__btn-secondary {
  background: #FFFFFF; /* Card BG */
  color: #2F6BFF; /* Main Color */
  border: 2px solid #2F6BFF;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-ban-ca__btn-secondary:hover {
  background: #2F6BFF;
  color: #FFFFFF;
  box-shadow: 0 4px 15px rgba(47, 107, 255, 0.3);
}

.page-ban-ca__btn-small {
  padding: 10px 20px;
  font-size: 16px;
  border-radius: 6px;
}

.page-ban-ca__center-cta {
  text-align: center;
  margin-top: 50px;
}

/* Image Base Styles */
.page-ban-ca img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  object-fit: cover;
}

/* Hero Section */
.page-ban-ca__hero-section {
  position: relative;
  min-height: 500px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding-bottom: 50px;
  overflow: hidden;
  padding-top: 10px; /* Small top padding */
}

.page-ban-ca__hero-image-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  max-height: 700px;
  overflow: hidden;
}

.page-ban-ca__hero-image {
  width: 100%;
  height: auto;
  min-height: 400px;
  object-fit: cover;
  border-radius: 0;
}

.page-ban-ca__hero-content {
  text-align: center;
  padding: 40px 15px;
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  background-color: rgba(255, 255, 255, 0.95); /* Semi-transparent white background for text */
  border-radius: 12px;
  margin-top: -80px; /* Overlap with image slightly for visual flow */
  box-shadow: 0 8px 30px rgba(0,0,0,0.1);
}

.page-ban-ca__main-title {
  font-size: clamp(28px, 4vw, 48px); /* Using clamp for H1 font size */
  font-weight: 800;
  color: #000000; /* Custom Color_1776249996415 */
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-ban-ca__description {
  font-size: 19px;
  color: #1F2D3D; /* Text Main */
  margin-bottom: 30px;
}

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

/* Intro Section */
.page-ban-ca__intro-section {
  padding: 80px 0;
}

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

.page-ban-ca__content-wrapper--reversed {
  flex-direction: row-reverse;
}

.page-ban-ca__text-block {
  flex: 1;
  font-size: 17px;
  line-height: 1.8;
}

.page-ban-ca__text-block p {
  margin-bottom: 20px;
  color: #1F2D3D;
}

.page-ban-ca__image-block {
  flex: 1;
  min-width: 300px;
}

/* Why ok8368 Section */
.page-ban-ca__dark-bg {
  background-color: #2F6BFF; /* Main Color */
  color: #FFFFFF;
}

.page-ban-ca__dark-bg .page-ban-ca__section-title,
.page-ban-ca__dark-bg .page-ban-ca__subtitle,
.page-ban-ca__dark-bg .page-ban-ca__card-title,
.page-ban-ca__dark-bg .page-ban-ca__feature-card p {
  color: #FFFFFF;
}

.page-ban-ca__dark-bg .page-ban-ca__section-title::after {
  background: #FFFFFF;
}

.page-ban-ca__why-ok8368 {
  padding: 80px 0;
}

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

.page-ban-ca__feature-card {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.page-ban-ca__feature-card:hover {
  transform: translateY(-10px);
}

.page-ban-ca__card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  margin-bottom: 20px;
  border-radius: 8px;
}

.page-ban-ca__card-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 15px;
}

.page-ban-ca__feature-card p {
  font-size: 16px;
  line-height: 1.7;
  opacity: 0.9;
}

/* Popular Games Section */
.page-ban-ca__popular-games {
  padding: 80px 0;
  background-color: #F4F7FB; /* Background */
}

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

.page-ban-ca__game-card {
  background: #FFFFFF; /* Card BG */
  border: 1px solid #D6E2FF; /* Border */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
  display: flex;
  flex-direction: column;
}

.page-ban-ca__game-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.page-ban-ca__game-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 8px 8px 0 0;
}

.page-ban-ca__game-title {
  font-size: 22px;
  font-weight: 700;
  color: #1F2D3D; /* Text Main */
  margin: 20px 15px 10px;
}

.page-ban-ca__game-card p {
  font-size: 16px;
  color: #1F2D3D;
  padding: 0 15px 20px;
  flex-grow: 1;
}

.page-ban-ca__game-card .page-ban-ca__btn-primary {
  margin: 0 15px 20px;
}

.page-ban-ca__game-trial {
  margin-top: 80px;
  text-align: center;
  background: #FFFFFF;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.page-ban-ca__game-trial-title {
  font-size: 28px;
  color: #1F2D3D;
  margin-bottom: 15px;
}

.page-ban-ca__game-trial p {
  font-size: 17px;
  color: #1F2D3D;
  margin-bottom: 30px;
}

.page-ban-ca__game-trial-frame {
  border: 2px solid #2F6BFF;
  border-radius: 10px;
  width: 100%;
  min-height: 500px;
}

/* How to Play Section */
.page-ban-ca__medium-bg {
  background-color: #F4F7FB; /* Background */
}

.page-ban-ca__how-to-play {
  padding: 80px 0;
  background-color: #F4F7FB;
}

.page-ban-ca__step-list {
  list-style: none;
  padding: 0;
  margin-top: 50px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-ban-ca__step-item {
  background: #FFFFFF; /* Card BG */
  border: 1px solid #D6E2FF; /* Border */
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
}

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

.page-ban-ca__step-title {
  font-size: 22px;
  font-weight: 700;
  color: #2F6BFF; /* Main Color */
  margin-bottom: 15px;
}

.page-ban-ca__step-item p {
  font-size: 16px;
  color: #1F2D3D;
}

/* Strategies Section */
.page-ban-ca__strategies {
  padding: 80px 0;
  background-color: #F4F7FB;
}

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

.page-ban-ca__strategy-card {
  background: #FFFFFF; /* Card BG */
  border: 1px solid #D6E2FF; /* Border */
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  text-align: center;
  transition: box-shadow 0.3s ease;
}

.page-ban-ca__strategy-card:hover {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.page-ban-ca__strategy-card .page-ban-ca__card-title {
  color: #2F6BFF;
  font-size: 20px;
  margin-bottom: 10px;
}

.page-ban-ca__strategy-card p {
  font-size: 16px;
  color: #1F2D3D;
}

/* Promotions Section */
.page-ban-ca__promotions {
  padding: 80px 0;
}

.page-ban-ca__promo-list {
  list-style: none;
  padding: 0;
  margin-top: 50px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-ban-ca__promo-item {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  padding: 20px 25px;
  margin-bottom: 15px;
  font-size: 18px;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-ban-ca__promo-item::before {
  content: '⭐';
  margin-right: 15px;
  font-size: 22px;
  line-height: 1;
}

/* Mobile Experience Section */
.page-ban-ca__mobile-experience {
  padding: 80px 0;
}

/* Security Section */
.page-ban-ca__security {
  padding: 80px 0;
}

.page-ban-ca__security-list {
  list-style: none;
  padding: 0;
  margin-top: 50px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-ban-ca__security-item {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  padding: 20px;
  font-size: 17px;
  color: #FFFFFF;
  display: flex;
  align-items: flex-start;
}

.page-ban-ca__security-item::before {
  content: '✅';
  margin-right: 15px;
  font-size: 20px;
  line-height: 1;
  flex-shrink: 0;
}

/* FAQ Section */
.page-ban-ca__faq-section {
  padding: 80px 0;
}

.page-ban-ca__faq-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 40px;
  margin-top: 50px;
  align-items: flex-start;
}

.page-ban-ca__faq-image-block {
  text-align: center;
}

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

.page-ban-ca__faq-items-wrapper {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

details.page-ban-ca__faq-item {
  margin-bottom: 0;
  border-radius: 10px;
  border: 1px solid #D6E2FF; /* Border */
  overflow: hidden;
  background: #FFFFFF; /* Card BG */
  box-shadow: 0 2px 10px 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 25px;
  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: #F4F7FB;
}

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

.page-ban-ca__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  color: #2F6BFF; /* Main Color */
  flex-shrink: 0;
  margin-left: 15px;
  width: 30px;
  text-align: center;
}

details.page-ban-ca__faq-item .page-ban-ca__faq-answer {
  padding: 0 25px 20px;
  background: #F4F7FB;
  border-radius: 0 0 10px 10px;
  font-size: 16px;
  color: #1F2D3D;
}

.page-ban-ca__faq-answer p {
  margin-bottom: 10px;
}

/* Final CTA Section */
.page-ban-ca__cta-final {
  padding: 100px 0;
  text-align: center;
}

.page-ban-ca__cta-final .page-ban-ca__description {
  font-size: 20px;
  margin-bottom: 40px;
  color: #FFFFFF;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-ban-ca__hero-content {
    margin-top: -60px;
    padding: 30px 15px;
  }

  .page-ban-ca__main-title {
    font-size: clamp(26px, 3.5vw, 42px);
  }

  .page-ban-ca__description {
    font-size: 18px;
  }

  .page-ban-ca__section-title {
    font-size: 30px;
    margin-bottom: 30px;
  }

  .page-ban-ca__subtitle {
    font-size: 16px;
    margin-bottom: 40px;
  }

  .page-ban-ca__intro-section,
  .page-ban-ca__why-ok8368,
  .page-ban-ca__popular-games,
  .page-ban-ca__how-to-play,
  .page-ban-ca__strategies,
  .page-ban-ca__promotions,
  .page-ban-ca__mobile-experience,
  .page-ban-ca__security,
  .page-ban-ca__faq-section,
  .page-ban-ca__cta-final {
    padding: 60px 0;
  }

  .page-ban-ca__content-wrapper {
    flex-direction: column;
    gap: 30px;
  }

  .page-ban-ca__content-wrapper--reversed {
    flex-direction: column;
  }

  .page-ban-ca__text-block,
  .page-ban-ca__image-block {
    flex: none;
    width: 100%;
  }

  .page-ban-ca__features-grid,
  .page-ban-ca__game-grid,
  .page-ban-ca__step-list,
  .page-ban-ca__strategy-grid,
  .page-ban-ca__security-list {
    gap: 20px;
    margin-top: 40px;
  }

  .page-ban-ca__game-trial-frame {
    min-height: 400px;
  }

  .page-ban-ca__faq-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .page-ban-ca__faq-image-block {
    order: 2;
  }

  .page-ban-ca__faq-items-wrapper {
    order: 1;
  }

  .page-ban-ca__faq-qtext {
    font-size: 17px;
  }
}

@media (max-width: 768px) {
  .page-ban-ca__hero-section {
    padding-bottom: 30px;
    padding-top: 10px; /* Top padding for body is handled by shared.css */
  }

  .page-ban-ca__hero-image {
    min-height: 250px;
  }

  .page-ban-ca__hero-content {
    margin-top: -40px;
    padding: 25px 15px;
  }

  .page-ban-ca__main-title {
    font-size: clamp(24px, 7vw, 36px) !important; /* Mobile H1 font size */
    margin-bottom: 15px;
  }

  .page-ban-ca__description {
    font-size: 16px;
    margin-bottom: 25px;
  }

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

  .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;
    padding: 12px 20px;
    font-size: 16px;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-ban-ca__section-title {
    font-size: 26px;
    margin-bottom: 25px;
  }

  .page-ban-ca__subtitle {
    font-size: 15px;
    margin-bottom: 30px;
  }

  .page-ban-ca__intro-section,
  .page-ban-ca__why-ok8368,
  .page-ban-ca__popular-games,
  .page-ban-ca__how-to-play,
  .page-ban-ca__strategies,
  .page-ban-ca__promotions,
  .page-ban-ca__mobile-experience,
  .page-ban-ca__security,
  .page-ban-ca__faq-section,
  .page-ban-ca__cta-final {
    padding: 40px 0;
  }

  .page-ban-ca__content-wrapper {
    gap: 20px;
  }

  .page-ban-ca__text-block,
  .page-ban-ca__image-block,
  .page-ban-ca__game-card,
  .page-ban-ca__feature-card,
  .page-ban-ca__step-item,
  .page-ban-ca__strategy-card,
  .page-ban-ca__promo-item,
  .page-ban-ca__security-item {
    padding-left: 15px;
    padding-right: 15px;
    box-sizing: border-box !important;
    max-width: 100% !important;
    width: 100% !important;
  }

  .page-ban-ca__features-grid,
  .page-ban-ca__game-grid,
  .page-ban-ca__step-list,
  .page-ban-ca__strategy-grid,
  .page-ban-ca__security-list {
    grid-template-columns: 1fr;
    gap: 15px;
    margin-top: 30px;
  }

  .page-ban-ca__card-image {
    height: 180px;
  }

  .page-ban-ca__game-image {
    height: 200px;
  }

  .page-ban-ca__game-trial {
    margin-top: 50px;
    padding: 25px;
  }

  .page-ban-ca__game-trial-title {
    font-size: 22px;
  }

  .page-ban-ca__game-trial p {
    font-size: 15px;
    margin-bottom: 20px;
  }

  .page-ban-ca__game-trial-frame {
    min-height: 300px;
  }

  .page-ban-ca__step-title {
    font-size: 20px;
  }

  .page-ban-ca__promo-item,
  .page-ban-ca__security-item {
    font-size: 16px;
    padding: 15px 20px;
  }

  .page-ban-ca__promo-item::before,
  .page-ban-ca__security-item::before {
    font-size: 18px;
  }

  .page-ban-ca__faq-qtext {
    font-size: 16px;
  }

  .page-ban-ca__faq-toggle {
    font-size: 24px;
    width: 25px;
  }

  details.page-ban-ca__faq-item summary.page-ban-ca__faq-question {
    padding: 15px 20px;
  }

  details.page-ban-ca__faq-item .page-ban-ca__faq-answer {
    padding: 0 20px 15px;
    font-size: 15px;
  }

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

  .page-ban-ca__cta-final .page-ban-ca__description {
    font-size: 17px;
  }
}