/* 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: #f8f8f8; /* Light background for the page */
}

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

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

.page-ban-ca__dark-bg {
  background-color: #017439; /* Brand primary color */
  color: #ffffff; /* White text for dark backgrounds */
}

.page-ban-ca__light-bg {
  background-color: #ffffff; /* Auxiliary color / White background */
  color: #333333; /* Dark text for light backgrounds */
}

.page-ban-ca__section-title {
  font-size: 36px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
  color: inherit;
}

.page-ban-ca__sub-title {
  font-size: 24px;
  font-weight: 600;
  margin-top: 30px;
  margin-bottom: 15px;
  color: inherit;
}

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

.page-ban-ca__text-link {
  color: #017439;
  text-decoration: underline;
}

.page-ban-ca__text-link:hover {
  color: #C30808;
}

/* Hero Section */
.page-ban-ca__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 10px; /* Small top padding, body handles header offset */
  padding-bottom: 60px;
  overflow: hidden;
}

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

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

.page-ban-ca__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 20px;
  background: rgba(0, 0, 0, 0.4); /* Dark overlay for text readability */
  border-radius: 10px;
}

.page-ban-ca__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 800;
  color: #FFFF00; /* Register/Login font color for highlight */
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-ban-ca__description {
  font-size: 20px;
  color: #ffffff;
  margin-bottom: 30px;
}

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

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

.page-ban-ca__btn-primary {
  background-color: #C30808; /* Register/Login color */
  color: #FFFF00; /* Register/Login font color */
  border: 2px solid #C30808;
}

.page-ban-ca__btn-primary:hover {
  background-color: #e02020;
  border-color: #e02020;
  transform: translateY(-2px);
}

.page-ban-ca__btn-secondary {
  background-color: #017439; /* Brand primary color */
  color: #ffffff;
  border: 2px solid #017439;
}

.page-ban-ca__btn-secondary:hover {
  background-color: #005a2d;
  border-color: #005a2d;
  transform: translateY(-2px);
}

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

/* Game Types Grid */
.page-ban-ca__grid {
  display: grid;
  gap: 30px;
}

.page-ban-ca__products-grid {
  grid-template-columns: repeat(3, 1fr);
}

.page-ban-ca__promo-grid {
  grid-template-columns: repeat(2, 1fr);
}

.page-ban-ca__card {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: center;
  display: flex;
  flex-direction: column;
  color: #333333;
}

.page-ban-ca__game-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
  border-bottom: 1px solid #eee;
}

.page-ban-ca__card-title {
  font-size: 22px;
  font-weight: 700;
  margin: 20px 15px 10px;
  color: #017439;
}

.page-ban-ca__card-text {
  font-size: 16px;
  padding: 0 15px;
  margin-bottom: 20px;
  flex-grow: 1;
  text-align: justify;
}

.page-ban-ca__card-button {
  margin: 0 15px 20px;
  width: calc(100% - 30px);
}

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

.page-ban-ca__promo-card .page-ban-ca__card-text {
  font-size: 15px;
}

/* Article Body for Guide and Tips */
.page-ban-ca__article-body {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-ban-ca__article-body p {
  font-size: 17px;
  margin-bottom: 15px;
  color: inherit;
  text-align: justify;
}

.page-ban-ca__article-body ul {
  list-style: disc;
  margin-left: 20px;
  margin-bottom: 20px;
  color: inherit;
}

.page-ban-ca__article-body li {
  margin-bottom: 10px;
  font-size: 17px;
}
}