/* Base styles for the Bắn Cá page */
.page-ban-ca {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #FFF1E8; /* Text Main */
  background-color: #140C0C; /* Background */
}

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

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

.page-ban-ca__section-title {
  font-size: 38px;
  font-weight: 700;
  color: #F3C54D; /* Gold */
  text-align: center;
  margin-bottom: 40px;
  line-height: 1.2;
}

.page-ban-ca__section-subtitle {
  font-size: 28px;
  font-weight: 600;
  color: #FFF1E8;
  text-align: center;
  margin-top: 50px;
  margin-bottom: 30px;
}

.page-ban-ca p {
  margin-bottom: 20px;
  font-size: 17px;
}

.page-ban-ca a {
  color: #FFB04A;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-ban-ca a:hover {
  color: #D86A14;
}

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

.page-ban-ca__btn-primary {
  background: linear-gradient(180deg, #FFB04A 0%, #D86A14 100%); /* Button color */
  color: #FFF1E8;
  box-shadow: 0 5px 15px rgba(255, 176, 74, 0.4);
}

.page-ban-ca__btn-primary:hover {
  background: linear-gradient(180deg, #D86A14 0%, #FFB04A 100%);
  box-shadow: 0 8px 20px rgba(255, 176, 74, 0.6);
}

.page-ban-ca__btn-secondary {
  background-color: transparent;
  color: #FFB04A;
  border: 2px solid #FFB04A;
}

.page-ban-ca__btn-secondary:hover {
  background-color: #FFB04A;
  color: #140C0C;
}

.page-ban-ca__btn-play,
.page-ban-ca__btn-promo {
  background: linear-gradient(180deg, #FFB04A 0%, #D86A14 100%);
  color: #FFF1E8;
  font-size: 16px;
  padding: 10px 20px;
  border-radius: 5px;
}

.page-ban-ca__btn-play:hover,
.page-ban-ca__btn-promo:hover {
  background: linear-gradient(180deg, #D86A14 0%, #FFB04A 100%);
}

.page-ban-ca__btn-full-width {
  width: 100%;
}

/* Hero Section */
.page-ban-ca__hero-section {
  padding-top: 10px; /* Small top padding, assuming body handles header offset */
  padding-bottom: 60px;
  background-color: #140C0C;
  overflow: hidden;
}

.page-ban-ca__hero-section .page-ban-ca__container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

.page-ban-ca__hero-image-wrapper {
  width: 100%;
  max-width: 1200px;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.page-ban-ca__main-visual {
  width: 100%;
  height: auto;
  display: block;
}

.page-ban-ca__hero-content {
  text-align: center;
  max-width: 900px;
}

.page-ban-ca__main-title {
  font-size: clamp(2.2rem, 4vw, 3.5rem); /* Using clamp for H1 font size */
  font-weight: 800;
  color: #F3C54D; /* Gold */
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-ban-ca__intro-text {
  font-size: 19px;
  margin-bottom: 30px;
  color: #FFF1E8;
}

.page-ban-ca__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
  width: 100%; /* Button container responsiveness */
  max-width: 100%; /* Button container responsiveness */
  box-sizing: border-box; /* Button container responsiveness */
  overflow: hidden; /* Button container responsiveness */
}

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

.page-ban-ca__advantage-card {
  background-color: #2A1212; /* Card BG */
  border: 1px solid #6A1E1E; /* Border */
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-ban-ca__advantage-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

.page-ban-ca__advantage-card img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-ban-ca__advantage-card .page-ban-ca__card-title {
  font-size: 22px;
  color: #F3C54D; /* Gold */
  margin-bottom: 15px;
}

.page-ban-ca__advantage-card p {
  font-size: 16px;
  color: #FFF1E8;
}

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

.page-ban-ca__game-card {
  background-color: #2A1212; /* Card BG */
  border: 1px solid #6A1E1E; /* Border */
  border-radius: 10px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-ban-ca__game-card img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 15px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-ban-ca__game-card .page-ban-ca__card-title {
  font-size: 24px;
  color: #F3C54D; /* Gold */
  margin-bottom: 10px;
}

.page-ban-ca__game-card p {
  font-size: 16px;
  color: #FFF1E8;
  margin-bottom: 20px;
}

.page-ban-ca__game-trial-wrapper {
  margin-top: 60px;
  background-color: #2A1212;
  border: 1px solid #6A1E1E;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  text-align: center;
}

.page-ban-ca__game-trial-frame {
  border: 2px solid #FFB04A;
  border-radius: 8px;
  margin-top: 20px;
  margin-bottom: 30px;
  width: 100%;
  max-width: 100%; /* Image container responsiveness */
  box-sizing: border-box; /* Image container responsiveness */
  overflow: hidden; /* Image container responsiveness */
}

.page-ban-ca__trial-info {
    font-size: 18px;
    color: #FFF1E8;
    margin-bottom: 25px;
}

/* How To Play Section */
.page-ban-ca__step-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
}

.page-ban-ca__step-list li {
  background-color: #2A1212; /* Card BG */
  border: 1px solid #6A1E1E; /* Border */
  border-radius: 10px;
  padding: 25px;
  margin-bottom: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-ban-ca__step-list li h3 {
  font-size: 24px;
  color: #F3C54D; /* Gold */
  margin-top: 0;
  margin-bottom: 15px;
}

.page-ban-ca__step-list li p {
  font-size: 17px;
  color: #FFF1E8;
  margin-bottom: 0;
}

/* Strategies Section */
.page-ban-ca__strategy-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
}

.page-ban-ca__strategy-list li {
  background-color: #2A1212; /* Card BG */
  border: 1px solid #6A1E1E; /* Border */
  border-radius: 10px;
  padding: 25px;
  margin-bottom: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-ban-ca__strategy-list li h3 {
  font-size: 24px;
  color: #F3C54D; /* Gold */
  margin-top: 0;
  margin-bottom: 15px;
}

.page-ban-ca__strategy-list li p {
  font-size: 17px;
  color: #FFF1E8;
  margin-bottom: 0;
}

.page-ban-ca__strategy-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 40px auto 0 auto;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
}

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

.page-ban-ca__promo-card {
  background-color: #2A1212; /* Card BG */
  border: 1px solid #6A1E1E; /* Border */
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-ban-ca__promo-card img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-ban-ca__promo-card .page-ban-ca__card-title {
  font-size: 22px;
  color: #F3C54D; /* Gold */
  margin-bottom: 15px;
}

.page-ban-ca__promo-card p {
  font-size: 16px;
  color: #FFF1E8;
  margin-bottom: 20px;
}

/* FAQ Section */
details.page-ban-ca__faq-item {
  margin-bottom: 15px;
  border-radius: 10px;
  border: 1px solid #6A1E1E; /* Border */
  overflow: hidden;
  background: #2A1212; /* Card BG */
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}
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;
  color: #FFF1E8;
  font-weight: 600;
  font-size: 18px;
}
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: #7E0D0D; /* Deep Red */
}
.page-ban-ca__faq-qtext {
  flex: 1;
  line-height: 1.5;
  text-align: left;
}
.page-ban-ca__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  color: #FFB04A;
  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 25px;
  background: #140C0C; /* Background */
  border-radius: 0 0 10px 10px;
  color: #FFF1E8;
  font-size: 16px;
}

/* CTA Bottom */
.page-ban-ca__cta-bottom {
  text-align: center;
  margin-top: 50px;
}

/* Global image responsiveness */
.page-ban-ca img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Mobile Responsiveness (max-width: 768px) */
@media (max-width: 768px) {
  .page-ban-ca {
    font-size: 15px;
    line-height: 1.5;
  }

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

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

  .page-ban-ca__section-subtitle {
    font-size: 22px;
    margin-top: 30px;
    margin-bottom: 20px;
  }

  /* Top Text / Hero Section */
  .page-ban-ca__hero-section {
    padding-top: 10px; /* Small top padding */
    padding-bottom: 40px;
  }

  .page-ban-ca__hero-section .page-ban-ca__container {
    gap: 30px;
  }

  .page-ban-ca__main-title {
    font-size: 2rem; /* Adjusted for mobile */
    margin-bottom: 15px;
  }

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

  .page-ban-ca__cta-buttons {
    flex-direction: column; /* Buttons stack vertically on mobile */
    gap: 15px;
    padding: 0 15px; /* Added padding for buttons */
    width: 100% !important; /* Force full width */
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  
  .page-ban-ca__cta-buttons .page-ban-ca__btn-primary,
  .page-ban-ca__cta-buttons .page-ban-ca__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 16px;
  }

  /* Advantage Grid */
  .page-ban-ca__advantage-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

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

  .page-ban-ca__advantage-card .page-ban-ca__card-title {
    font-size: 20px;
  }

  /* Game Types Section */
  .page-ban-ca__game-list {
    grid-template-columns: 1fr;
    gap: 20px;
  }

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

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

  .page-ban-ca__game-trial-wrapper {
    margin-top: 40px;
    padding: 20px;
  }

  .page-ban-ca__game-trial-frame {
    height: 400px; /* Adjusted height for mobile */
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-ban-ca__trial-info {
    font-size: 16px;
  }

  /* How To Play Section */
  .page-ban-ca__step-list li {
    padding: 20px;
  }

  .page-ban-ca__step-list li h3 {
    font-size: 20px;
  }

  /* Strategies Section */
  .page-ban-ca__strategy-list li {
    padding: 20px;
  }

  .page-ban-ca__strategy-list li h3 {
    font-size: 20px;
  }

  .page-ban-ca__strategy-image {
    margin-top: 30px;
  }

  /* Promotions Section */
  .page-ban-ca__promo-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

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

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