:root {
  --main-color: #FF8C1A;
  --auxiliary-color: #FFA53A;
  --card-bg-color: #17191F;
  --background-color: #0D0E12;
  --text-main-color: #FFF3E6;
  --border-color: #A84F0C;
  --glow-color: #FFB04D;
  --deep-orange-color: #D96800;
}

/* General styles for the Bắn Cá page */
.page-ban-ca {
  font-family: Arial, sans-serif;
  color: var(--text-main-color, #FFF3E6);
  background-color: var(--background-color, #0D0E12);
  line-height: 1.6;
}

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

.page-ban-ca__section-title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: bold;
  color: var(--text-main-color, #FFF3E6);
  text-align: center;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-ban-ca__section-description {
  font-size: clamp(16px, 2vw, 18px);
  color: #c0c0c0;
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Buttons */
.page-ban-ca__btn-primary,
.page-ban-ca__btn-secondary,
.page-ban-ca__btn-tertiary {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 16px;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
}

.page-ban-ca__btn-primary {
  background: linear-gradient(180deg, var(--auxiliary-color, #FFA53A) 0%, var(--deep-orange-color, #D96800) 100%);
  color: #ffffff;
  border: none;
  box-shadow: 0 4px 15px rgba(255, 165, 58, 0.4);
}

.page-ban-ca__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 165, 58, 0.6);
}

.page-ban-ca__btn-secondary {
  background: transparent;
  color: var(--auxiliary-color, #FFA53A);
  border: 2px solid var(--auxiliary-color, #FFA53A);
}

.page-ban-ca__btn-secondary:hover {
  background: var(--auxiliary-color, #FFA53A);
  color: #ffffff;
}

.page-ban-ca__btn-tertiary {
  background: var(--card-bg-color, #17191F);
  color: var(--auxiliary-color, #FFA53A);
  border: 1px solid var(--border-color, #A84F0C);
  font-size: 14px;
  padding: 8px 20px;
}

.page-ban-ca__btn-tertiary:hover {
  background: var(--auxiliary-color, #FFA53A);
  color: #FFF3E6;
}

/* Hero Section */
.page-ban-ca__hero-section {
  padding-top: 10px; /* Small top padding, body handles header offset */
  padding-bottom: 60px;
  background-color: var(--background-color, #0D0E12);
}

.page-ban-ca__hero-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding-top: 40px;
  padding-bottom: 40px;
}

.page-ban-ca__hero-content {
  flex: 1;
  max-width: 50%;
  text-align: left;
}

.page-ban-ca__hero-title {
  font-size: clamp(36px, 5vw, 58px);
  font-weight: 900;
  color: var(--text-main-color, #FFF3E6);
  margin-bottom: 20px;
  line-height: 1.1;
}

.page-ban-ca__hero-description {
  font-size: clamp(18px, 2.2vw, 22px);
  color: #c0c0c0;
  margin-bottom: 30px;
}

.page-ban-ca__cta-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  max-width: 100%;
  box-sizing: border-box;
}

.page-ban-ca__hero-image {
  flex: 1;
  max-width: 50%;
  text-align: center;
}

.page-ban-ca__hero-image img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

/* Introduction Section */
.page-ban-ca__intro-section {
  padding: 80px 0;
  background-color: var(--card-bg-color, #17191F);
}

.page-ban-ca__intro-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 60px;
  text-align: center;
}

.page-ban-ca__icon-box {
  background-color: var(--card-bg-color, #17191F);
  padding: 30px;
  border-radius: 12px;
  border: 1px solid var(--border-color, #A84F0C);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-ban-ca__icon-box-media {
  width: 240px;
  height: 240px;
  margin: 0 auto 20px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--auxiliary-color, #FFA53A);
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-ban-ca__icon-box-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 50%;
}

.page-ban-ca__icon-box-title {
  font-size: 24px;
  font-weight: bold;
  color: var(--text-main-color, #FFF3E6);
  margin-bottom: 10px;
}

.page-ban-ca__icon-box-text {
  font-size: 16px;
  color: #c0c0c0;
}

/* Content Grid (About, Promotions) */
.page-ban-ca__content-grid {
  display: flex;
  align-items: center;
  gap: 40px;
  padding: 60px 0;
}

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

.page-ban-ca__content-text .page-ban-ca__section-title {
  text-align: left;
  margin-top: 0;
}

.page-ban-ca__content-text p {
  font-size: 17px;
  color: #c0c0c0;
  margin-bottom: 20px;
  line-height: 1.7;
}

.page-ban-ca__content-image {
  flex: 1;
  text-align: center;
}

.page-ban-ca__content-image img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

/* About Game Section */
.page-ban-ca__about-game-section {
  background-color: var(--background-color, #0D0E12);
}

/* How to Play Section */
.page-ban-ca__how-to-play-section {
  padding: 80px 0;
  background-color: var(--card-bg-color, #17191F);
}

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

.page-ban-ca__guide-item {
  background-color: var(--card-bg-color, #17191F);
  padding: 30px;
  border-radius: 12px;
  border: 1px solid var(--border-color, #A84F0C);
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-ban-ca__guide-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--auxiliary-color, #FFA53A);
  color: #FFF3E6;
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(255, 165, 58, 0.4);
}

.page-ban-ca__guide-title {
  font-size: 22px;
  font-weight: bold;
  color: var(--text-main-color, #FFF3E6);
  margin-bottom: 10px;
}

.page-ban-ca__guide-text {
  font-size: 16px;
  color: #c0c0c0;
}

.page-ban-ca__guide-cta {
  text-align: center;
  margin-top: 60px;
}

/* Game Showcase Section */
.page-ban-ca__game-showcase-section {
  padding: 80px 0;
  background-color: var(--background-color, #0D0E12);
}

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

.page-ban-ca__game-card {
  background-color: var(--card-bg-color, #17191F);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border-color, #A84F0C);
  text-align: center;
  display: flex;
  flex-direction: column;
}

.page-ban-ca__game-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.page-ban-ca__game-card-title {
  font-size: 20px;
  font-weight: bold;
  color: var(--text-main-color, #FFF3E6);
  margin: 20px 15px 10px;
}

.page-ban-ca__game-card-title a {
  color: inherit;
  text-decoration: none;
}

.page-ban-ca__game-card-title a:hover {
  color: var(--auxiliary-color, #FFA53A);
}

.page-ban-ca__game-card-text {
  font-size: 15px;
  color: #c0c0c0;
  padding: 0 15px;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-ban-ca__game-card .page-ban-ca__btn-tertiary {
  margin: 0 15px 20px;
}

/* Promotions Section */
.page-ban-ca__promo-section {
  background-color: var(--card-bg-color, #17191F);
}

.page-ban-ca__promo-section .page-ban-ca__content-grid {
  flex-direction: row-reverse;
}

.page-ban-ca__promo-section .page-ban-ca__content-text .page-ban-ca__btn-primary {
  margin-top: 20px;
}

/* FAQ Section */
.page-ban-ca__faq-section {
  padding: 80px 0;
  background-color: var(--background-color, #0D0E12);
}

.page-ban-ca__faq-list {
  margin-top: 60px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-ban-ca__faq-item {
  background-color: var(--card-bg-color, #17191F);
  border: 1px solid var(--border-color, #A84F0C);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-ban-ca__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 18px;
  font-weight: bold;
  color: var(--text-main-color, #FFF3E6);
  cursor: pointer;
  background-color: var(--card-bg-color, #17191F);
  user-select: none;
}

.page-ban-ca__faq-question::-webkit-details-marker {
  display: none;
}

.page-ban-ca__faq-qtext {
  flex-grow: 1;
}

.page-ban-ca__faq-toggle {
  font-size: 24px;
  line-height: 1;
  margin-left: 15px;
  color: var(--auxiliary-color, #FFA53A);
}

.page-ban-ca__faq-item[open] .page-ban-ca__faq-toggle {
  content: "−";
}

.page-ban-ca__faq-answer {
  padding: 0 25px 20px;
  font-size: 16px;
  color: #c0c0c0;
  line-height: 1.7;
}

/* Final CTA Section */
.page-ban-ca__cta-final-section {
  padding: 80px 0;
  background: linear-gradient(90deg, var(--deep-orange-color, #D96800) 0%, var(--auxiliary-color, #FFA53A) 100%);
  text-align: center;
}

.page-ban-ca__cta-final-section .page-ban-ca__section-title {
  color: #FFF3E6;
}

.page-ban-ca__cta-final-section .page-ban-ca__section-description {
  color: #fff;
  margin-bottom: 40px;
}

.page-ban-ca__cta-final-section .page-ban-ca__btn-primary {
  background: #FFF3E6;
  color: var(--deep-orange-color, #D96800);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-ban-ca__cta-final-section .page-ban-ca__btn-primary:hover {
  background: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-ban-ca__hero-container {
    flex-direction: column;
    text-align: center;
  }

  .page-ban-ca__hero-content {
    max-width: 100%;
    text-align: center;
  }

  .page-ban-ca__hero-image {
    max-width: 80%;
    margin-top: 30px;
  }

  .page-ban-ca__cta-buttons {
    justify-content: center;
  }

  .page-ban-ca__content-grid {
    flex-direction: column;
  }

  .page-ban-ca__content-text .page-ban-ca__section-title {
    text-align: center;
  }

  .page-ban-ca__promo-section .page-ban-ca__content-grid {
    flex-direction: column; 
  }
}

@media (max-width: 768px) {
  /* General */
  .page-ban-ca__container {
    padding-left: 15px !important;
    padding-right: 15px !important;
  }

  .page-ban-ca__section-title {
    font-size: 28px !important;
    margin-bottom: 15px !important;
  }

  .page-ban-ca__section-description {
    font-size: 16px !important;
    margin-bottom: 30px !important;
  }

  /* HERO Section */
  .page-ban-ca__hero-section {
    padding-top: 10px !important;
    padding-bottom: 40px !important;
  }
  
  .page-ban-ca__hero-container {
    padding-top: 20px !important;
    padding-bottom: 20px !important;
    gap: 20px !important;
  }

  .page-ban-ca__hero-title {
    font-size: 32px !important;
    margin-bottom: 15px !important;
  }

  .page-ban-ca__hero-description {
    font-size: 16px !important;
    margin-bottom: 25px !important;
  }

  .page-ban-ca__cta-buttons {
    flex-direction: column !important;
    gap: 10px !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden !important;
  }

  .page-ban-ca__btn-primary,
  .page-ban-ca__btn-secondary,
  .page-ban-ca__btn-tertiary,
  .page-ban-ca a[class*="button"],
  .page-ban-ca a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    padding: 12px 15px !important;
    font-size: 15px !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    box-sizing: border-box !important;
  }

  .page-ban-ca__hero-image {
    max-width: 100% !important;
  }

  .page-ban-ca__hero-image img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  /* Introduction Section */
  .page-ban-ca__intro-section {
    padding: 40px 0 !important;
  }

  .page-ban-ca__intro-grid {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
    margin-top: 30px !important;
  }

  .page-ban-ca__icon-box-media {
    width: 200px !important;
    height: 200px !important;
    margin-bottom: 15px !important;
  }

  /* Content Grid (About, Promotions) */
  .page-ban-ca__content-grid {
    padding: 40px 0 !important;
    gap: 30px !important;
    flex-direction: column !important;
  }

  .page-ban-ca__content-text .page-ban-ca__section-title {
    text-align: center !important;
  }

  .page-ban-ca__content-image img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  /* How to Play Section */
  .page-ban-ca__how-to-play-section {
    padding: 40px 0 !important;
  }

  .page-ban-ca__guide-steps {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
    margin-top: 30px !important;
  }

  .page-ban-ca__guide-cta {
    margin-top: 40px !important;
  }

  /* Game Showcase Section */
  .page-ban-ca__game-showcase-section {
    padding: 40px 0 !important;
  }

  .page-ban-ca__showcase-grid {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
    margin-top: 30px !important;
  }

  .page-ban-ca__game-card img {
    max-width: 100% !important;
    width: 100% !important;
    
  }

  /* FAQ Section */
  .page-ban-ca__faq-section {
    padding: 40px 0 !important;
  }

  .page-ban-ca__faq-list {
    margin-top: 30px !important;
  }

  .page-ban-ca__faq-question {
    padding: 15px 20px !important;
    font-size: 16px !important;
  }

  .page-ban-ca__faq-answer {
    padding: 0 20px 15px !important;
    font-size: 15px !important;
  }

  /* Final CTA Section */
  .page-ban-ca__cta-final-section {
    padding: 40px 0 !important;
  }

  .page-ban-ca__cta-final-section .page-ban-ca__btn-primary {
    max-width: 100% !important;
    width: 100% !important;
    padding: 12px 15px !important;
    font-size: 16px !important;
  }
}

/* Universal image responsive styles for content area */
.page-ban-ca img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* All containers that might hold images or buttons */
.page-ban-ca__section,
.page-ban-ca__card,
.page-ban-ca__container,
.page-ban-ca__cta-buttons,
.page-ban-ca__button-group,
.page-ban-ca__btn-container {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

/* Mobile specific overrides for images and containers */
@media (max-width: 768px) {
  .page-ban-ca img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-ban-ca__section,
  .page-ban-ca__card,
  .page-ban-ca__container,
  .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;
  }

  /* Specific rule for circular images, height should not be auto */
  .page-ban-ca__icon-box-media img {
    height: 100% !important;
    object-fit: cover !important;
  }
}