/* Base styles for the Bắn Cá page */
.page-ban-ca {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light backgrounds */
  background-color: var(--secondary-color, #ffffff); /* Ensure body background is light */
}

/* Hero Section */
.page-ban-ca__hero-section {
  position: relative;
  padding-top: 10px; /* Small top padding, relying on body for header offset */
  background-color: #f0f8ff;
  text-align: center;
}

.page-ban-ca__hero-image {
  width: 100%;
  overflow: hidden;
}

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

.page-ban-ca__hero-content {
  max-width: 900px;
  margin: -120px auto 40px auto; /* Pull content up over image slightly */
  position: relative;
  z-index: 1;
  padding: 20px;
  background-color: rgba(255, 255, 255, 0.9);
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-ban-ca__main-title {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  color: #26A9E0;
  margin-bottom: 15px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.5px;
  max-width: 90%;
  margin-left: auto;
  margin-right: auto;
}

.page-ban-ca__subtitle {
  font-size: 1.1rem;
  color: #555;
  margin-bottom: 30px;
  max-width: 80%;
  margin-left: auto;
  margin-right: auto;
}

.page-ban-ca__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.page-ban-ca__btn-primary,
.page-ban-ca__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-ban-ca__btn-primary {
  background-color: #26A9E0;
  color: #FFFFFF;
  border: 2px solid #26A9E0;
}

.page-ban-ca__btn-primary:hover {
  background-color: #1e87c0;
  border-color: #1e87c0;
}

.page-ban-ca__btn-secondary {
  background-color: #FFFFFF;
  color: #26A9E0;
  border: 2px solid #26A9E0;
}

.page-ban-ca__btn-secondary:hover {
  background-color: #e0f2f7;
  color: #1e87c0;
  border-color: #1e87c0;
}

/* General Section Styles */
.page-ban-ca__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

.page-ban-ca__section-title {
  font-size: 2.5rem;
  color: #26A9E0;
  text-align: center;
  margin-bottom: 30px;
  font-weight: 700;
}

.page-ban-ca__section-title--white {
  color: #FFFFFF;
}

.page-ban-ca__text-block {
  font-size: 1.1rem;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
  color: #555;
}

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

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

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

.page-ban-ca__feature-item {
  background-color: #FFFFFF;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  text-align: center;
}

.page-ban-ca__feature-item img {
  width: 100%;
  height: auto;
  max-height: 200px;
  object-fit: contain;
  margin-bottom: 20px;
  border-radius: 8px;
}

.page-ban-ca__feature-title {
  font-size: 1.5rem;
  color: #26A9E0;
  margin-bottom: 10px;
  font-weight: 600;
}

/* Game Types Section */
.page-ban-ca__dark-section {
  background-color: #26A9E0;
  color: #FFFFFF;
}

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

.page-ban-ca__game-card {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 20px;
  border-radius: 10px;
  text-align: center;
  transition: transform 0.3s ease, background-color 0.3s ease;
}

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

.page-ban-ca__game-card img {
  width: 100%;
  height: auto;
  max-height: 250px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
}

.page-ban-ca__game-title {
  font-size: 1.6rem;
  color: #FFFFFF;
  margin-bottom: 10px;
  font-weight: 600;
}

.page-ban-ca__game-description {
  font-size: 1rem;
  color: #f0f0f0;
  margin-bottom: 20px;
}

.page-ban-ca__game-btn {
  display: inline-block;
  padding: 10px 25px;
  background-color: #EA7C07; /* Login color */
  color: #FFFFFF;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-ban-ca__game-btn:hover {
  background-color: #c96800;
}

/* Why Choose Section */
.page-ban-ca__advantage-list {
  list-style: none;
  padding: 0;
  max-width: 800px;
  margin: 40px auto;
  text-align: left;
}

.page-ban-ca__advantage-list li {
  font-size: 1.1rem;
  margin-bottom: 15px;
  display: flex;
  align-items: flex-start;
  color: #333333;
}

.page-ban-ca__list-icon {
  color: #26A9E0;
  font-size: 1.5rem;
  margin-right: 15px;
  line-height: 1;
}

.page-ban-ca__cta-bottom {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 40px;
}

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

.page-ban-ca__strategy-item {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 20px;
  border-radius: 10px;
  text-align: center;
  color: #FFFFFF;
}

.page-ban-ca__strategy-item img {
  width: 100%;
  height: auto;
  max-height: 250px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
}

.page-ban-ca__strategy-title {
  font-size: 1.6rem;
  color: #FFFFFF;
  margin-bottom: 10px;
  font-weight: 600;
}

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

.page-ban-ca__testimonial-card {
  background-color: #FFFFFF;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  text-align: center;
}

.page-ban-ca__testimonial-text {
  font-style: italic;
  color: #555;
  margin-bottom: 15px;
}

.page-ban-ca__testimonial-author {
  font-weight: bold;
  color: #26A9E0;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .page-ban-ca {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-ban-ca__hero-content {
    margin: -80px auto 20px auto;
    padding: 15px;
    max-width: 95%;
  }

  .page-ban-ca__main-title {
    font-size: clamp(1.8rem, 7vw, 2.5rem);
  }

  .page-ban-ca__subtitle {
    font-size: 1rem;
    max-width: 95%;
  }

  .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;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .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;
    flex-wrap: wrap !important;
    gap: 10px;
  }

  .page-ban-ca__section-title {
    font-size: 2rem;
  }

  .page-ban-ca__text-block {
    font-size: 1rem;
    max-width: 95%;
  }

  .page-ban-ca__feature-grid,
  .page-ban-ca__game-grid,
  .page-ban-ca__strategy-grid,
  .page-ban-ca__testimonial-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-ban-ca__feature-item img,
  .page-ban-ca__game-card img,
  .page-ban-ca__strategy-item img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-ban-ca__container {
    padding: 30px 15px;
  }

  .page-ban-ca__advantage-list {
    margin: 30px auto;
  }

  .page-ban-ca__advantage-list li {
    font-size: 1rem;
  }

  .page-ban-ca__list-icon {
    font-size: 1.2rem;
    margin-right: 10px;
  }
}