/* Base styles for the Bắn Cá page */
.page-ban-ca {
  font-family: 'Arial', sans-serif;
  color: #333333; /* Default text color for light backgrounds */
  line-height: 1.6;
  background-color: #f9f9f9;
}

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

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

.page-ban-ca__section-title {
  font-size: 36px;
  font-weight: 700;
  color: #26A9E0;
  text-align: center;
  margin-bottom: 40px;
  line-height: 1.2;
}

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

.page-ban-ca__text-block {
  font-size: 17px;
  margin-bottom: 20px;
  text-align: justify;
}

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

.page-ban-ca__btn-primary,
.page-ban-ca__btn-secondary,
.page-ban-ca__btn-play {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  text-align: center;
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

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

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

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

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

.page-ban-ca__btn-play {
  background: #EA7C07;
  color: #ffffff;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  font-size: 15px;
}

.page-ban-ca__btn-play:hover {
  background: #d86c06;
}

/* Hero Section */
.page-ban-ca__hero-section {
  position: relative;
  width: 100%;
  height: 600px; /* Adjusted height for desktop */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start; /* Content aligned to top */
  overflow: hidden;
  color: #ffffff;
  text-align: center;
  padding-top: 10px; /* Small top padding for the first content block */
}

.page-ban-ca__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.page-ban-ca__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin-top: 80px; /* Space from top after header */
  padding: 20px;
  background: rgba(0, 0, 0, 0.4); /* Semi-transparent background for readability */
  border-radius: 10px;
}

.page-ban-ca__main-title {
  font-size: clamp(32px, 4.5vw, 56px); /* Responsive font size */
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
}

.page-ban-ca__hero-description {
  font-size: 19px;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

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

/* Intro Section */
.page-ban-ca__intro-section {
  background: #ffffff;
}

/* Features Section */
.page-ban-ca__dark-section {
  background: #26A9E0;
  color: #ffffff;
}

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

.page-ban-ca__feature-card {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, background 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

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

.page-ban-ca__feature-icon {
  width: 100%; /* Ensure images take full width */
  height: auto;
  max-width: 250px;
  margin: 0 auto 20px;
  display: block;
  border-radius: 8px;
}

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

.page-ban-ca__feature-description {
  font-size: 16px;
  color: #f0f0f0;
}

/* Games Section */
.page-ban-ca__games-section {
  background: #f9f9f9;
}

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

.page-ban-ca__game-card {
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  text-align: center;
  padding-bottom: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-ban-ca__game-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  margin-bottom: 15px;
}

.page-ban-ca__game-title {
  font-size: 20px;
  font-weight: 700;
  color: #26A9E0;
  margin-bottom: 10px;
  padding: 0 15px;
}

.page-ban-ca__game-description {
  font-size: 15px;
  color: #555555;
  margin-bottom: 20px;
  padding: 0 15px;
}

/* Guide Section */
.page-ban-ca__guide-section {
  background: #ffffff;
}

.page-ban-ca__guide-list {
  list-style: decimal;
  padding-left: 25px;
  margin-bottom: 30px;
}

.page-ban-ca__guide-list li {
  font-size: 17px;
  margin-bottom: 15px;
  color: #333333;
}

.page-ban-ca__guide-list li strong {
  color: #26A9E0;
}

.page-ban-ca__guide-list li a {
  color: #EA7C07;
  text-decoration: underline;
}

.page-ban-ca__guide-list li a:hover {
  color: #d86c06;
}

.page-ban-ca__guide-cta {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 40px;
}

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

.page-ban-ca__promo-list li {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 15px;
  font-size: 17px;
  color: #f0f0f0;
  border-left: 4px solid #ffffff;
}

.page-ban-ca__promo-list li strong {
  color: #ffffff;
}

.page-ban-ca__promo-list li a {
  color: #f0f8ff;
  text-decoration: underline;
}

.page-ban-ca__promo-list li a:hover {
  color: #ffffff;
}

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

/* Why Choose Us Section */
.page-ban-ca__why-choose-us {
  background: #f9f9f9;
}

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

.page-ban-ca__why-card {
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-ban-ca__why-icon {
  width: 100%; /* Ensure images take full width */
  height: auto;
  max-width: 150px;
  margin: 0 auto 20px;
  display: block;
  border-radius: 8px;
}

.page-ban-ca__why-title {
  font-size: 20px;
  font-weight: 700;
  color: #26A9E0;
  margin-bottom: 10px;
}

.page-ban-ca__why-description {
  font-size: 15px;
  color: #555555;
}

.page-ban-ca__why-description a {
  color: #EA7C07;
  text-decoration: underline;
}

.page-ban-ca__why-description a:hover {
  color: #d86c06;
}

/* FAQ Section */
details.page-ban-ca__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #e0e0e0;
  overflow: hidden;
  background: #fff;
}
details.page-ban-ca__faq-item summary.page-ban-ca__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
}
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: #f5f5f5;
}
}
}