/* Base styles for the Bắn Cá page */
.page-ban-ca {
  font-family: 'Arial', 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: 20px;
  box-sizing: border-box;
}

/* Hero Section */
.page-ban-ca__hero-section {
  position: relative;
  padding-top: 10px; /* Small top padding, assuming shared.css handles body padding-top */
  margin-bottom: 40px;
  text-align: center;
  background-color: #F4F7FB;
}

.page-ban-ca__hero-image {
  width: 100%;
  height: auto;
  overflow: hidden;
  margin-bottom: 20px;
}

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

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

.page-ban-ca__main-title {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  color: #2F6BFF; /* Main color */
  margin-bottom: 15px;
  font-weight: 700;
  line-height: 1.2;
}

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

/* General Section Styling */
.page-ban-ca__section {
  padding: 40px 0;
  margin-bottom: 30px;
  background-color: #FFFFFF; /* Card BG */
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  border-radius: 12px;
}

.page-ban-ca__section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  color: #2F6BFF; /* Main color */
  text-align: center;
  margin-bottom: 25px;
  font-weight: 700;
}

.page-ban-ca__section-description {
  font-size: 1.05rem;
  color: #1F2D3D;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 30px;
}

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

.page-ban-ca__text-block {
  flex: 1;
  font-size: 1rem;
  color: #1F2D3D;
}

.page-ban-ca__text-block p {
  margin-bottom: 15px;
}

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

.page-ban-ca__image-block img,
.page-ban-ca__section-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  object-fit: cover;
}

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

/* Feature Cards */
.page-ban-ca__features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
  margin-bottom: 30px;
}

.page-ban-ca__feature-card {
  background-color: #F4F7FB; /* Background */
  padding: 25px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
  border: 1px solid #D6E2FF; /* Border */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-ban-ca__card-title {
  font-size: 1.35rem;
  color: #2F6BFF; /* Main color */
  margin-bottom: 10px;
  font-weight: 600;
}

.page-ban-ca__feature-card p {
  font-size: 0.95rem;
  color: #1F2D3D;
}

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

.page-ban-ca__game-card {
  background-color: #F4F7FB; /* Background */
  padding: 25px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
  border: 1px solid #D6E2FF; /* Border */
}

.page-ban-ca__game-card .page-ban-ca__card-title {
  margin-bottom: 15px;
}

.page-ban-ca__game-card p {
  font-size: 0.95rem;
  color: #1F2D3D;
  margin-bottom: 20px;
}

.page-ban-ca__game-trial-frame {
  border: none;
  border-radius: 8px;
  width: 100%;
  min-height: 250px; /* Minimum height for iframe */
}

/* How-To Play Steps */
.page-ban-ca__step-list {
  list-style: none;
  padding: 0;
  margin: 0 auto 30px;
  max-width: 800px;
}

.page-ban-ca__step-item {
  background-color: #F4F7FB; /* Background */
  padding: 20px 25px;
  border-radius: 10px;
  margin-bottom: 15px;
  border: 1px solid #D6E2FF; /* Border */
}

.page-ban-ca__step-title {
  font-size: 1.25rem;
  color: #000000; /* Custom Color_1776249996415 */
  margin-bottom: 8px;
  font-weight: 600;
}

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

.page-ban-ca__step-item a {
  color: #2F6BFF;
  text-decoration: underline;
}

/* Tips List */
.page-ban-ca__tip-list {
  list-style: none;
  padding: 0;
  margin: 0 auto 30px;
  max-width: 800px;
}

.page-ban-ca__tip-item {
  background-color: #F4F7FB; /* Background */
  padding: 20px 25px;
  border-radius: 10px;
  margin-bottom: 15px;
  border: 1px solid #D6E2FF; /* Border */
}

.page-ban-ca__tip-title {
  font-size: 1.25rem;
  color: #000000; /* Custom Color_1776249996415 */
  margin-bottom: 8px;
  font-weight: 600;
}

.page-ban-ca__tip-item p {
  font-size: 1rem;
  color: #1F2D3D;
}

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

.page-ban-ca__promo-card {
  background-color: #F4F7FB; /* Background */
  padding: 25px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
  border: 1px solid #D6E2FF; /* Border */
}

.page-ban-ca__promo-card .page-ban-ca__card-title {
  margin-bottom: 15px;
}

.page-ban-ca__promo-card p {
  font-size: 0.95rem;
  color: #1F2D3D;
}

/* CTA Buttons */
.page-ban-ca__cta-button {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  text-align: center;
  max-width: 100%; /* Ensures responsiveness */
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

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

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

.page-ban-ca__btn-secondary {
  background-color: #ffffff;
  color: #2F6BFF; /* Main color */
  border: 2px solid #2F6BFF; /* Main color */
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  margin-top: 20px;
}

.page-ban-ca__btn-secondary:hover {
  background-color: #e0eaff;
  color: #2F6BFF;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

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

.page-ban-ca__faq-item {
  background-color: #F4F7FB; /* Background */
  border: 1px solid #D6E2FF; /* Border */
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-ban-ca__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.15rem;
  font-weight: 600;
  color: #000000; /* Custom Color_1776249996415 */
  cursor: pointer;
  background-color: #F4F7FB;
  list-style: none; /* Remove default marker */
}

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

.page-ban-ca__faq-question .page-ban-ca__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  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: 1rem;
  color: #1F2D3D;
}

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

/* Copyright Info */
.page-ban-ca__copyright-info {
  text-align: center;
  padding: 30px 20px;
  font-size: 0.9rem;
  color: #1F2D3D;
  margin-top: 40px;
  background-color: #F4F7FB;
  border-top: 1px solid #D6E2FF;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-ban-ca__hero-content {
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-ban-ca__content-wrapper {
    flex-direction: column;
    text-align: center;
  }
  .page-ban-ca__image-block {
    order: -1; /* Image appears above text on smaller screens */
    margin-bottom: 20px;
  }
  .page-ban-ca__features-grid,
  .page-ban-ca__game-list,
  .page-ban-ca__promo-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .page-ban-ca__container {
    padding: 15px;
  }
  .page-ban-ca__hero-section {
    padding-top: 10px; /* Small top padding for mobile */
    margin-bottom: 20px;
  }
  .page-ban-ca__main-title {
    font-size: 2rem; /* Adjusted for mobile */
    line-height: 1.3;
  }
  .page-ban-ca__hero-description {
    font-size: 1rem;
    margin-bottom: 20px;
  }
  .page-ban-ca__section {
    padding: 20px 0;
    margin-bottom: 20px;
  }
  .page-ban-ca__section-title {
    font-size: 1.6rem;
    margin-bottom: 20px;
  }
  .page-ban-ca__section-description {
    font-size: 0.95rem;
    margin-bottom: 20px;
  }
  .page-ban-ca__text-block,
  .page-ban-ca__feature-card p,
  .page-ban-ca__game-card p,
  .page-ban-ca__promo-card p,
  .page-ban-ca__step-item p,
  .page-ban-ca__tip-item p,
  .page-ban-ca__faq-answer p {
    font-size: 0.95rem !important;
  }

  /* Universal image responsiveness for mobile */
  .page-ban-ca img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-ban-ca__section,
  .page-ban-ca__card,
  .page-ban-ca__container,
  .page-ban-ca__hero-image,
  .page-ban-ca__image-block,
  .page-ban-ca__game-card,
  .page-ban-ca__promo-card,
  .page-ban-ca__feature-card,
  .page-ban-ca__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Button responsiveness for mobile */
  .page-ban-ca__cta-button,
  .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;
    padding-left: 15px;
    padding-right: 15px;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
  .page-ban-ca__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: 15px;
    padding-right: 15px;
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  .page-ban-ca__hero-content .page-ban-ca__cta-button {
    margin-left: auto;
    margin-right: auto;
    display: block;
  }
  .page-ban-ca__step-item,
  .page-ban-ca__tip-item,
  .page-ban-ca__faq-item {
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-ban-ca__faq-question {
    padding: 15px;
    font-size: 1rem;
  }
  .page-ban-ca__faq-answer {
    padding: 0 15px 15px;
  }
}