/* style/ban-ca.css */

.page-ban-ca {
  font-family: 'Arial', sans-serif;
  color: #FFF3E6; /* Text Main */
  background-color: #0D0E12; /* Background */
}

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

.page-ban-ca__section-title {
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 700;
  text-align: center;
  margin-bottom: 20px;
  color: #FF8C1A; /* Primary color for titles */
  line-height: 1.2;
}

.page-ban-ca__section-description {
  font-size: 18px;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px;
  line-height: 1.6;
  color: #FFF3E6;
}

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

.page-ban-ca__btn-primary {
  background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%); /* Button color */
  color: #FFF3E6; /* Text Main */
  border: none;
  box-shadow: 0 4px 15px rgba(255, 140, 26, 0.4);
}

.page-ban-ca__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 140, 26, 0.6);
}

.page-ban-ca__btn-secondary {
  background: transparent;
  color: #FF8C1A; /* Primary color */
  border: 2px solid #A84F0C; /* Border color */
  box-shadow: none;
}

.page-ban-ca__btn-secondary:hover {
  background: rgba(255, 140, 26, 0.1);
  transform: translateY(-2px);
  box-shadow: 0 2px 8px rgba(255, 140, 26, 0.2);
}

.page-ban-ca__btn-play {
  background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%); /* Button color */
  color: #FFF3E6; /* Text Main */
  border: none;
  padding: 10px 24px;
  font-size: 16px;
}

.page-ban-ca__btn-play:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

.page-ban-ca__btn-view-more {
  background: #17191F; /* Card BG */
  color: #FF8C1A; /* Primary color */
  border: 1px solid #A84F0C; /* Border color */
  padding: 10px 24px;
  font-size: 16px;
}

.page-ban-ca__btn-view-more:hover {
  background: #FF8C1A;
  color: #17191F;
}

/* HERO Section */
.page-ban-ca__hero-section {
  padding-top: 10px; /* Small top padding, relying on body for header offset */
  padding-bottom: 60px;
  background-color: #0D0E12;
}

.page-ban-ca__hero-container {
  max-width: 1170px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 40px;
  padding: 20px 16px;
}

.page-ban-ca__hero-content {
  flex: 1 1 45%;
  min-width: 300px;
  text-align: left;
}

.page-ban-ca__hero-title {
  font-size: clamp(36px, 4.5vw, 56px);
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #FF8C1A;
}

.page-ban-ca__hero-description {
  font-size: 19px;
  line-height: 1.7;
  margin-bottom: 30px;
  color: #FFF3E6;
}

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

.page-ban-ca__hero-image {
  flex: 1 1 50%;
  text-align: center;
  min-width: 300px;
}

.page-ban-ca__hero-main-image {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(255, 140, 26, 0.3);
  display: block;
}

/* INTRO Section (Why Choose) */
.page-ban-ca__intro-section {
  padding: 60px 0;
  background-color: #17191F; /* Card BG */
}

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

.page-ban-ca__feature-item {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 30px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #A84F0C;
}

.page-ban-ca__feature-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(255, 140, 26, 0.2);
}

.page-ban-ca__icon-box-media {
  width: 200px;
  height: 200px;
  margin: 0 auto 20px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid #FF8C1A;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 15px rgba(255, 140, 26, 0.5);
}

.page-ban-ca__icon-box-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 50%; /* Ensure image itself is round */
}

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

.page-ban-ca__feature-text {
  font-size: 16px;
  line-height: 1.6;
  color: #FFF3E6;
}

/* GAMES Section */
.page-ban-ca__games-section {
  padding: 60px 0;
  background-color: #0D0E12;
}

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

.page-ban-ca__game-card {
  background-color: #17191F; /* Card BG */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #A84F0C;
}

.page-ban-ca__game-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(255, 140, 26, 0.3);
}

.page-ban-ca__game-card-image {
  width: 100%;
  height: 250px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
}

.page-ban-ca__game-card-content {
  padding: 25px;
  text-align: center;
}

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

.page-ban-ca__game-card-text {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 20px;
  color: #FFF3E6;
}

/* GUIDE Section */
.page-ban-ca__guide-section {
  padding: 60px 0;
  background-color: #17191F; /* Card BG */
}

.page-ban-ca__guide-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  text-align: center;
}

.page-ban-ca__guide-step-item {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 30px;
  border: 1px solid #A84F0C;
}

.page-ban-ca__guide-step-icon {
  position: relative;
  width: 120px;
  height: 120px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background-color: rgba(255, 140, 26, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #FF8C1A;
  box-shadow: 0 0 10px rgba(255, 140, 26, 0.3);
}

.page-ban-ca__guide-step-icon img {
  
  
  object-fit: contain;
  display: block;
}

.page-ban-ca__step-number {
  position: absolute;
  top: -10px;
  right: -10px;
  background-color: #D96800; /* Deep Orange */
  color: #FFF3E6;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 16px;
  border: 2px solid #FFF3E6;
}

.page-ban-ca__guide-step-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
  color: #FF8C1A;
}

.page-ban-ca__guide-step-text {
  font-size: 15px;
  line-height: 1.6;
  color: #FFF3E6;
}

/* PROMO Section */
.page-ban-ca__promo-section {
  padding: 60px 0;
  background-color: #0D0E12;
}

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

.page-ban-ca__promo-card {
  background-color: #17191F; /* Card BG */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #A84F0C;
}

.page-ban-ca__promo-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(255, 140, 26, 0.3);
}

.page-ban-ca__promo-card-image {
  width: 100%;
  height: 220px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
}

.page-ban-ca__promo-card-content {
  padding: 25px;
  text-align: center;
}

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

.page-ban-ca__promo-card-text {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 20px;
  color: #FFF3E6;
}

.page-ban-ca__more-promo-cta {
  text-align: center;
  margin-top: 40px;
}

/* FAQ Section */
.page-ban-ca__faq-section {
  padding: 60px 0;
  background-color: #17191F; /* Card BG */
}

.page-ban-ca__faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.page-ban-ca__faq-item {
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid #A84F0C;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  transition: background-color 0.3s ease;
}

.page-ban-ca__faq-item:hover {
  background-color: rgba(255, 140, 26, 0.05);
}

.page-ban-ca__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 18px;
  font-weight: 600;
  color: #FF8C1A;
  cursor: pointer;
  list-style: none;
  user-select: none;
}

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

.page-ban-ca__faq-toggle {
  font-size: 24px;
  line-height: 1;
  margin-left: 15px;
  transition: transform 0.3s ease;
}

.page-ban-ca__faq-item[open] .page-ban-ca__faq-toggle {
  transform: rotate(45deg);
}

.page-ban-ca__faq-answer {
  padding: 0 25px 20px;
  font-size: 16px;
  line-height: 1.7;
  color: #FFF3E6;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-ban-ca__hero-title {
    font-size: clamp(32px, 4vw, 48px);
  }

  .page-ban-ca__hero-description {
    font-size: 17px;
  }

  .page-ban-ca__section-title {
    font-size: clamp(26px, 3vw, 38px);
  }

  .page-ban-ca__section-description {
    font-size: 16px;
  }

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

@media (max-width: 768px) {
  .page-ban-ca__hero-section {
    padding-top: 10px !important;
    padding-bottom: 40px;
  }

  .page-ban-ca__hero-container {
    flex-direction: column;
    gap: 30px;
    padding: 20px 15px;
  }

  .page-ban-ca__hero-content {
    text-align: center;
    order: 2; /* Content below image on mobile */
    flex: 1 1 100%;
  }

  .page-ban-ca__hero-title {
    font-size: clamp(30px, 8vw, 40px);
    margin-bottom: 15px;
  }

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

  .page-ban-ca__hero-cta-buttons {
    flex-direction: column;
    gap: 15px;
    width: 100%;
  }

  .page-ban-ca__btn-primary,
  .page-ban-ca__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 14px 20px;
    font-size: 16px;
  }

  .page-ban-ca__hero-image {
    order: 1; /* Image above content on mobile */
    flex: 1 1 100%;
  }

  /* Intro Section */
  .page-ban-ca__intro-section,
  .page-ban-ca__games-section,
  .page-ban-ca__guide-section,
  .page-ban-ca__promo-section,
  .page-ban-ca__faq-section {
    padding: 40px 0;
  }

  .page-ban-ca__content-container {
    padding: 20px 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-ban-ca__section-title {
    font-size: clamp(24px, 7vw, 32px);
    margin-bottom: 15px;
  }

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

  .page-ban-ca__features-grid,
  .page-ban-ca__game-cards-grid,
  .page-ban-ca__guide-steps,
  .page-ban-ca__promo-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .page-ban-ca__icon-box-media {
    width: 150px;
    height: 150px;
    border-width: 3px;
    margin-bottom: 15px;
  }

  .page-ban-ca__icon-box-media img {
    width: 100%;
    height: 100%;
  }

  .page-ban-ca__feature-title {
    font-size: 20px;
    margin-bottom: 10px;
  }

  .page-ban-ca__feature-text {
    font-size: 14px;
  }

  .page-ban-ca__game-card-image,
  .page-ban-ca__promo-card-image {
    height: 180px;
  }

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

  .page-ban-ca__game-card-title,
  .page-ban-ca__promo-card-title {
    font-size: 20px;
  }

  .page-ban-ca__game-card-text,
  .page-ban-ca__promo-card-text {
    font-size: 15px;
    margin-bottom: 15px;
  }

  .page-ban-ca__btn-play,
  .page-ban-ca__btn-view-more {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 15px;
  }

  .page-ban-ca__guide-step-icon {
    width: 100px;
    height: 100px;
    margin-bottom: 15px;
  }

  .page-ban-ca__guide-step-icon img {
    
    
  }

  .page-ban-ca__step-number {
    width: 28px;
    height: 28px;
    font-size: 14px;
    top: -8px;
    right: -8px;
  }

  .page-ban-ca__guide-step-title {
    font-size: 18px;
  }

  .page-ban-ca__guide-step-text {
    font-size: 14px;
  }

  .page-ban-ca__faq-question {
    padding: 15px 20px;
    font-size: 16px;
  }

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

  /* General image responsiveness for content area */
  .page-ban-ca img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    box-sizing: border-box !important;
  }

  /* Specific override for round feature images to maintain aspect ratio */
  .page-ban-ca__icon-box-media img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
  }

  .page-ban-ca__hero-cta-buttons,
  .page-ban-ca__button-group,
  .page-ban-ca__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 0;
    padding-right: 0;
    flex-wrap: wrap !important;
    gap: 10px;
  }
  .page-ban-ca__hero-cta-buttons {
    flex-direction: column;
  }
}