/* Base styles for the Bắn Cá page */
.page-ban-ca {
  font-family: Arial, sans-serif;
  color: #1F2D3D;
  background-color: #F4F7FB;
  line-height: 1.6;
}

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

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

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

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

.page-ban-ca__text-block {
  font-size: 17px;
  line-height: 1.8;
  text-align: justify;
  margin-bottom: 20px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-ban-ca__text-block--light {
  color: #F4F7FB;
}

/* Buttons */
.page-ban-ca__btn-primary,
.page-ban-ca__btn-secondary,
.page-ban-ca__btn-play-now,
.page-ban-ca__btn-view-details {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-ban-ca__btn-primary {
  background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
  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;
  border: 2px solid #2F6BFF;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-ban-ca__btn-secondary:hover {
  background-color: #F4F7FB;
  color: #2458CC;
  border-color: #2458CC;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.page-ban-ca__btn-play-now {
  background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
  color: #FFFFFF;
  border: none;
  padding: 10px 20px;
  font-size: 16px;
  border-radius: 6px;
  margin-top: 15px;
}

.page-ban-ca__btn-play-now:hover {
  background: linear-gradient(180deg, #2F6BFF 0%, #4A8BFF 100%);
}

.page-ban-ca__btn-view-details {
  background-color: #F4F7FB;
  color: #2F6BFF;
  border: 1px solid #D6E2FF;
  padding: 10px 20px;
  font-size: 16px;
  border-radius: 6px;
  margin-top: 15px;
}

.page-ban-ca__btn-view-details:hover {
  background-color: #D6E2FF;
}

/* Hero Section */
.page-ban-ca__hero-section {
  position: relative;
  background-color: #2F6BFF;
  min-height: 500px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  overflow: hidden;
  padding-top: 10px; /* Small top padding, body handles main offset */
}

.page-ban-ca__hero-image-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  max-height: 700px;
  overflow: hidden;
}

.page-ban-ca__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  filter: brightness(0.7); /* Darken image slightly for text contrast */
}

.page-ban-ca__hero-content-wrapper {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 60px 20px;
  color: #FFFFFF;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 25px;
}

.page-ban-ca__hero-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  margin-bottom: 15px;
  font-weight: 900;
  line-height: 1.2;
  color: #FFFFFF;
}

.page-ban-ca__hero-description {
  font-size: 20px;
  margin-bottom: 30px;
  line-height: 1.6;
}

.page-ban-ca__hero-cta-buttons {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
  width: 100%;
  max-width: 500px;
}

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

/* Features Section */
.page-ban-ca__dark-section {
  background-color: #2F6BFF;
  color: #FFFFFF;
}

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

.page-ban-ca__feature-card {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

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

.page-ban-ca__feature-card p {
  font-size: 16px;
  line-height: 1.7;
  color: #F4F7FB;
}

/* Game Lobbies Section */
.page-ban-ca__game-lobbies-section {
  background-color: #FFFFFF;
}

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

.page-ban-ca__lobby-card {
  background-color: #F4F7FB;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-bottom: 25px;
}

.page-ban-ca__lobby-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  margin-bottom: 20px;
}

.page-ban-ca__lobby-title {
  font-size: 24px;
  font-weight: bold;
  color: #1F2D3D;
  margin-bottom: 10px;
}

.page-ban-ca__lobby-card p {
  font-size: 16px;
  color: #555555;
  padding: 0 20px;
  margin-bottom: 15px;
}

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

.page-ban-ca__guide-list {
  list-style: none;
  padding: 0;
  max-width: 900px;
  margin: 40px auto 0 auto;
}

.page-ban-ca__guide-list li {
  background-color: #FFFFFF;
  border-left: 5px solid #2F6BFF;
  padding: 25px 30px;
  margin-bottom: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-ban-ca__guide-list li strong {
  font-size: 20px;
  color: #2F6BFF;
  display: block;
  margin-bottom: 10px;
}

.page-ban-ca__guide-list li p {
  font-size: 16px;
  line-height: 1.7;
  color: #333333;
  margin: 0;
}

/* Tips Section */
.page-ban-ca__tips-section {
  background-color: #FFFFFF;
}

.page-ban-ca__tips-content {
  display: flex;
  align-items: flex-start;
  gap: 50px;
  margin-top: 40px;
}

.page-ban-ca__tips-text {
  flex: 1;
}

.page-ban-ca__tips-list {
  list-style: none;
  padding: 0;
  margin-top: 20px;
}

.page-ban-ca__tips-list li {
  margin-bottom: 15px;
  font-size: 17px;
  color: #333333;
  line-height: 1.7;
  position: relative;
  padding-left: 25px;
}

.page-ban-ca__tips-list li::before {
  content: '✓';
  color: #2F6BFF;
  position: absolute;
  left: 0;
  top: 0;
  font-weight: bold;
}

.page-ban-ca__tips-list li strong {
  color: #1F2D3D;
}

.page-ban-ca__tips-image-wrapper {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-ban-ca__tips-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Promotions Section */
.page-ban-ca__promotions-section {
  background-color: #2F6BFF;
}

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

.page-ban-ca__promotion-card {
  background-color: #FFFFFF;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  padding-bottom: 25px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

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

.page-ban-ca__promotion-title {
  font-size: 22px;
  font-weight: bold;
  color: #1F2D3D;
  margin-bottom: 10px;
  padding: 0 20px;
}

.page-ban-ca__promotion-card p {
  font-size: 16px;
  color: #555555;
  padding: 0 20px;
}

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

/* FAQ Section */
.page-ban-ca__faq-section {
  background-color: #F4F7FB;
}

.page-ban-ca__faq-list {
  max-width: 900px;
  margin: 40px auto 0 auto;
}

details.page-ban-ca__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #D6E2FF;
  overflow: hidden;
  background: #FFFFFF;
}
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: #F4F7FB;
}
.page-ban-ca__faq-qtext {
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #1F2D3D;
}
.page-ban-ca__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #2F6BFF;
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}
details.page-ban-ca__faq-item .page-ban-ca__faq-answer {
  padding: 0 20px 20px;
  background: #F9F9F9;
  border-radius: 0 0 5px 5px;
  color: #333333;
}
details.page-ban-ca__faq-item .page-ban-ca__faq-answer p {
  margin-bottom: 0;
}

/* Conclusion Section */
.page-ban-ca__conclusion-section {
  background-color: #FFFFFF;
}

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

/* General image styles */
.page-ban-ca img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-ban-ca__hero-title {
    font-size: clamp(2rem, 4.5vw, 3rem);
  }
  .page-ban-ca__hero-description {
    font-size: 18px;
  }
  .page-ban-ca__section-title {
    font-size: 30px;
  }
  .page-ban-ca__text-block {
    font-size: 16px;
  }
  .page-ban-ca__features-grid,
  .page-ban-ca__lobbies-grid,
  .page-ban-ca__promotions-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
  .page-ban-ca__tips-content {
    flex-direction: column;
    align-items: center;
  }
  .page-ban-ca__tips-text,
  .page-ban-ca__tips-image-wrapper {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .page-ban-ca__container {
    padding: 0 15px !important;
  }
  .page-ban-ca__section-spacing {
    padding: 40px 0 !important;
  }
  .page-ban-ca__hero-section {
    padding-top: 10px !important;
  }
  .page-ban-ca__hero-image {
    object-fit: contain !important;
    position: relative !important;
    height: auto !important;
    filter: none !important;
  }
  .page-ban-ca__hero-image-wrapper {
    max-height: none !important;
  }
  .page-ban-ca__hero-content-wrapper {
    padding: 30px 15px !important;
    gap: 15px !important;
  }
  .page-ban-ca__hero-title {
    font-size: clamp(1.8rem, 8vw, 2.5rem) !important;
    margin-bottom: 10px !important;
  }
  .page-ban-ca__hero-description {
    font-size: 16px !important;
    margin-bottom: 20px !important;
  }
  .page-ban-ca__hero-cta-buttons {
    flex-direction: column !important;
    gap: 10px !important;
    max-width: 100% !important;
  }
  .page-ban-ca__btn-primary,
  .page-ban-ca__btn-secondary,
  .page-ban-ca__btn-play-now,
  .page-ban-ca__btn-view-details {
    max-width: 100% !important;
    width: 100% !important;
    padding: 12px 20px !important;
    font-size: 16px !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-ban-ca__section-title {
    font-size: 26px !important;
    margin-bottom: 30px !important;
  }
  .page-ban-ca__text-block {
    font-size: 15px !important;
    text-align: left !important;
  }
  .page-ban-ca__features-grid,
  .page-ban-ca__lobbies-grid,
  .page-ban-ca__promotions-grid {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }
  .page-ban-ca__feature-title {
    font-size: 20px !important;
  }
  .page-ban-ca__lobby-image,
  .page-ban-ca__promotion-image {
    height: 180px !important;
  }
  .page-ban-ca__lobby-title,
  .page-ban-ca__promotion-title {
    font-size: 20px !important;
  }
  .page-ban-ca__guide-list li {
    padding: 20px 25px !important;
  }
  .page-ban-ca__guide-list li strong {
    font-size: 18px !important;
  }
  .page-ban-ca__guide-list li p {
    font-size: 15px !important;
  }
  .page-ban-ca__tips-content {
    gap: 30px !important;
  }
  .page-ban-ca__tips-list li {
    font-size: 15px !important;
  }
  .page-ban-ca__tips-image {
    box-shadow: none !important;
  }
  .page-ban-ca__promo-cta-wrapper {
    margin-top: 30px !important;
  }
  details.page-ban-ca__faq-item summary.page-ban-ca__faq-question { padding: 15px !important; }
  .page-ban-ca__faq-qtext { font-size: 16px !important; }
  details.page-ban-ca__faq-item .page-ban-ca__faq-answer { padding: 0 15px 15px !important; }
  .page-ban-ca img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-ban-ca__hero-image-wrapper,
  .page-ban-ca__tips-image-wrapper,
  .page-ban-ca__section,
  .page-ban-ca__card,
  .page-ban-ca__container,
  .page-ban-ca__hero-cta-buttons,
  .page-ban-ca__promo-cta-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    /* padding-left: 15px; padding-right: 15px; handled by .page-ban-ca__container */
  }
  .page-ban-ca__lobbies-grid, .page-ban-ca__promotions-grid {
    overflow-x: hidden;
  }
}