/* CSS cho trang Các phiên bản Bắn Cá */
.page-ban-ca-cac-phien-ban {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default dark text for light body background */
  background-color: #FFFFFF;
}

.page-ban-ca-cac-phien-ban__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 15px;
  box-sizing: border-box;
}

.page-ban-ca-cac-phien-ban__hero-section {
  position: relative;
  padding-top: 10px; /* Adjust for fixed header, ~10px top padding */
  margin-bottom: 40px;
  text-align: center;
}

.page-ban-ca-cac-phien-ban__hero-image-container {
  width: 100%;
  overflow: hidden;
  margin-bottom: 20px;
}

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

.page-ban-ca-cac-phien-ban__hero-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 15px;
}

.page-ban-ca-cac-phien-ban__main-title {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  color: #017439;
  margin-bottom: 15px;
  line-height: 1.2;
  font-weight: bold;
}

.page-ban-ca-cac-phien-ban__intro-text {
  font-size: clamp(1rem, 2vw, 1.25rem);
  margin-bottom: 30px;
  color: #555555;
}

.page-ban-ca-cac-phien-ban__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.page-ban-ca-cac-phien-ban__btn-primary,
.page-ban-ca-cac-phien-ban__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-ban-ca-cac-phien-ban__btn-primary {
  background-color: #017439;
  color: #FFFFFF;
  border: 2px solid #017439;
}

.page-ban-ca-cac-phien-ban__btn-primary:hover {
  background-color: #005f2c;
  border-color: #005f2c;
}

.page-ban-ca-cac-phien-ban__btn-secondary {
  background-color: #FFFFFF;
  color: #017439;
  border: 2px solid #017439;
}

.page-ban-ca-cac-phien-ban__btn-secondary:hover {
  background-color: #f0f0f0;
  color: #005f2c;
  border-color: #005f2c;
}

.page-ban-ca-cac-phien-ban__section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  color: #017439;
  text-align: center;
  margin-bottom: 25px;
  margin-top: 40px;
  font-weight: bold;
}

.page-ban-ca-cac-phien-ban__section-description {
  font-size: 1.1rem;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 30px auto;
  color: #555555;
}

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

.page-ban-ca-cac-phien-ban__game-card {
  background-color: #FFFFFF;
  border: 1px solid #e0e0e0;
  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;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-bottom: 20px;
}

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

.page-ban-ca-cac-phien-ban__game-card-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  margin-bottom: 15px;
}

.page-ban-ca-cac-phien-ban__game-card-title {
  font-size: 1.5rem;
  color: #017439;
  margin-bottom: 10px;
  font-weight: bold;
  padding: 0 15px;
}

.page-ban-ca-cac-phien-ban__game-card-title a {
  color: inherit;
  text-decoration: none;
}

.page-ban-ca-cac-phien-ban__game-card-title a:hover {
  text-decoration: underline;
}

.page-ban-ca-cac-phien-ban__game-card-description {
  font-size: 1rem;
  color: #666666;
  padding: 0 20px;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-ban-ca-cac-phien-ban__game-card-button {
  background-color: #C30808;
  color: #FFFF00;
  padding: 10px 20px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
  max-width: calc(100% - 40px); /* Account for padding */
  width: 100%;
  box-sizing: border-box;
}

.page-ban-ca-cac-phien-ban__game-card-button:hover {
  background-color: #a00606;
}

.page-ban-ca-cac-phien-ban__feature-section {
  padding: 60px 0;
  margin-top: 40px;
}

.page-ban-ca-cac-phien-ban__dark-section {
  background-color: #017439;
  color: #FFFFFF;
}

.page-ban-ca-cac-phien-ban__dark-section .page-ban-ca-cac-phien-ban__section-title {
  color: #FFFFFF;
}

.page-ban-ca-cac-phien-ban__dark-section .page-ban-ca-cac-phien-ban__section-description {
  color: #f0f0f0;
}

.page-ban-ca-cac-phien-ban__dark-section .page-ban-ca-cac-phien-ban__feature-title {
  color: #FFFF00; /* Use custom color for contrast */
}

.page-ban-ca-cac-phien-ban__dark-section .page-ban-ca-cac-phien-ban__feature-item p {
  color: #f0f0f0;
}

.page-ban-ca-cac-phien-ban__feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-ban-ca-cac-phien-ban__feature-item {
  text-align: center;
  padding: 20px;
  border-radius: 10px;
  background-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-ban-ca-cac-phien-ban__feature-icon {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 20px;
}

.page-ban-ca-cac-phien-ban__feature-title {
  font-size: 1.4rem;
  margin-bottom: 10px;
  font-weight: bold;
}

.page-ban-ca-cac-phien-ban__guide-section {
  padding: 60px 0;
}

.page-ban-ca-cac-phien-ban__guide-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
}

.page-ban-ca-cac-phien-ban__guide-list li {
  background-color: #f9f9f9;
  border-left: 5px solid #017439;
  padding: 25px;
  margin-bottom: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.page-ban-ca-cac-phien-ban__guide-step-title {
  font-size: 1.6rem;
  color: #017439;
  margin-bottom: 10px;
}

.page-ban-ca-cac-phien-ban__guide-list li p {
  margin-bottom: 15px;
  color: #555555;
}

.page-ban-ca-cac-phien-ban__tips-section {
  padding: 60px 0;
  background-color: #f5f5f5;
}

.page-ban-ca-cac-phien-ban__tips-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-ban-ca-cac-phien-ban__tip-item {
  background-color: #FFFFFF;
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.page-ban-ca-cac-phien-ban__tip-title {
  font-size: 1.5rem;
  color: #017439;
  margin-bottom: 15px;
}

.page-ban-ca-cac-phien-ban__tip-item p {
  color: #555555;
}

.page-ban-ca-cac-phien-ban__text-center {
  text-align: center;
  margin-top: 30px;
}

.page-ban-ca-cac-phien-ban__why-choose-section {
  padding: 60px 0;
}

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

.page-ban-ca-cac-phien-ban__why-list li {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-ban-ca-cac-phien-ban__why-item-title {
  font-size: 1.6rem;
  color: #FFFF00; /* Custom color for contrast on dark background */
  margin-bottom: 10px;
}

.page-ban-ca-cac-phien-ban__why-list li p {
  color: #f0f0f0;
  margin-bottom: 15px;
}

.page-ban-ca-cac-phien-ban__conclusion-section {
  padding: 60px 0;
}

/* General image and container responsiveness */
.page-ban-ca-cac-phien-ban img {
  max-width: 100%;
  height: auto;
  display: block;
}

.page-ban-ca-cac-phien-ban__hero-image-container,
.page-ban-ca-cac-phien-ban__game-card-image,
.page-ban-ca-cac-phien-ban__feature-icon {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
}

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

  .page-ban-ca-cac-phien-ban__container {
    padding: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  /* HERO section */
  .page-ban-ca-cac-phien-ban__hero-section {
    padding-top: 10px; /* Keep small top padding */
    margin-bottom: 20px;
  }

  .page-ban-ca-cac-phien-ban__main-title {
    font-size: 2rem;
  }

  .page-ban-ca-cac-phien-ban__intro-text {
    font-size: 1rem;
  }

  .page-ban-ca-cac-phien-ban__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  /* Buttons */
  .page-ban-ca-cac-phien-ban__btn-primary,
  .page-ban-ca-cac-phien-ban__btn-secondary,
  .page-ban-ca-cac-phien-ban__game-card-button,
  .page-ban-ca-cac-phien-ban a[class*="button"],
  .page-ban-ca-cac-phien-ban 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;
  }

  /* Section titles and descriptions */
  .page-ban-ca-cac-phien-ban__section-title {
    font-size: 1.8rem;
    margin-top: 20px;
    margin-bottom: 15px;
  }

  .page-ban-ca-cac-phien-ban__section-description {
    font-size: 0.95rem;
    margin-bottom: 20px;
    padding: 0 10px;
  }

  /* Game grid */
  .page-ban-ca-cac-phien-ban__game-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-ban-ca-cac-phien-ban__game-card-image {
    height: 180px;
  }

  .page-ban-ca-cac-phien-ban__game-card-title {
    font-size: 1.3rem;
  }

  .page-ban-ca-cac-phien-ban__game-card-description {
    font-size: 0.9rem;
  }

  /* Feature grid */
  .page-ban-ca-cac-phien-ban__feature-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-ban-ca-cac-phien-ban__feature-item {
    padding: 15px;
  }

  .page-ban-ca-cac-phien-ban__feature-title {
    font-size: 1.2rem;
  }

  /* Guide list */
  .page-ban-ca-cac-phien-ban__guide-list li {
    padding: 20px;
  }

  .page-ban-ca-cac-phien-ban__guide-step-title {
    font-size: 1.4rem;
  }

  /* Tips grid */
  .page-ban-ca-cac-phien-ban__tips-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-ban-ca-cac-phien-ban__tip-title {
    font-size: 1.3rem;
  }

  /* Why choose list */
  .page-ban-ca-cac-phien-ban__why-list {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-ban-ca-cac-phien-ban__why-item-title {
    font-size: 1.4rem;
  }

  /* Ensure all images are responsive */
  .page-ban-ca-cac-phien-ban img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-ban-ca-cac-phien-ban__hero-image-container,
  .page-ban-ca-cac-phien-ban__game-card-image,
  .page-ban-ca-cac-phien-ban__feature-icon,
  .page-ban-ca-cac-phien-ban__section,
  .page-ban-ca-cac-phien-ban__card,
  .page-ban-ca-cac-phien-ban__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-ban-ca-cac-phien-ban__cta-buttons,
  .page-ban-ca-cac-phien-ban__button-group,
  .page-ban-ca-cac-phien-ban__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-cac-phien-ban__cta-buttons {
    flex-direction: column;
  }
}