/* style/ban-ca.css */

/* General Styles for Bắn Cá Page */
.page-ban-ca {
  font-family: 'Arial', sans-serif;
  color: #F3F8FF; /* Main text color for dark body background */
  background-color: transparent; /* Body background is #000 from shared.css */
}

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

.page-ban-ca__section-title {
  font-size: 3em;
  font-weight: 700;
  text-align: center;
  margin-bottom: 20px;
  color: #F2C14E; /* Gold for main titles */
  line-height: 1.2;
}

.page-ban-ca__section-description {
  font-size: 1.2em;
  text-align: center;
  margin-bottom: 40px;
  color: #AFC4E8; /* Secondary text color */
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.page-ban-ca__card {
  background-color: #10233F; /* Card background */
  border: 1px solid #244D84; /* Border color */
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  color: #F3F8FF;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.page-ban-ca__dark-section {
  background-color: #08162B; /* Deep Navy background for dark sections */
  color: #F3F8FF;
}

/* Buttons */
.page-ban-ca__btn-primary,
.page-ban-ca__btn-secondary {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1em;
  transition: all 0.3s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%;
}

.page-ban-ca__btn-primary {
  background: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
  color: #F3F8FF;
  border: none;
}

.page-ban-ca__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(79, 168, 255, 0.4);
}

.page-ban-ca__btn-secondary {
  background: transparent;
  color: #F3F8FF;
  border: 2px solid #2B73F6;
}

.page-ban-ca__btn-secondary:hover {
  background: #2B73F6;
  color: #F3F8FF;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(79, 168, 255, 0.4);
}

/* Hero Section */
.page-ban-ca__hero-section {
  padding-top: 10px; /* Small top padding, body handles header offset */
  padding-bottom: 60px;
  background-color: #113B7A; /* Main brand color as background */
  position: relative;
  overflow: hidden;
}

.page-ban-ca__hero-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 16px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
}

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

.page-ban-ca__hero-title {
  font-size: clamp(2.5em, 5vw, 3.5em); /* Using clamp for responsive h1 */
  font-weight: 800;
  color: #F2C14E; /* Gold for main title */
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-ban-ca__hero-description {
  font-size: 1.1em;
  color: #AFC4E8;
  margin-bottom: 30px;
  line-height: 1.6;
}

.page-ban-ca__hero-buttons {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.page-ban-ca__hero-image {
  flex: 1 1 40%;
  min-width: 300px;
  text-align: center;
}

.page-ban-ca__hero-main-image {
  max-width: 100%;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
  display: block;
  margin: 0 auto;
}

/* Intro Section (Module 1) */
.page-ban-ca__intro-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-ban-ca__intro-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 25px;
  border-radius: 10px;
  background-color: #10233F; /* Card background */
  border: 1px solid #244D84; /* Border color */
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-ban-ca__icon-box-media {
  width: 200px;
  height: 200px;
  margin-bottom: 20px;
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 4px solid #F2C14E; /* Gold border for circular icons */
  box-shadow: 0 0 15px rgba(79, 168, 255, 0.6);
}

.page-ban-ca__icon-box-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 50%; /* Ensure image is also circular */
}

.page-ban-ca__intro-item-title {
  font-size: 1.8em;
  font-weight: 700;
  color: #F3F8FF;
  margin-bottom: 10px;
}

.page-ban-ca__intro-item-text {
  font-size: 1em;
  color: #AFC4E8;
  line-height: 1.5;
}

/* Advantages Section */
.page-ban-ca__advantages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-ban-ca__advantage-item {
  padding: 30px;
}

.page-ban-ca__advantage-icon {
  width: 100%;
  max-width: 400px; /* Example max-width for content images */
  height: auto;
  margin-bottom: 20px;
  border-radius: 8px;
}

.page-ban-ca__advantage-title {
  font-size: 1.8em;
  font-weight: 700;
  color: #F2C14E;
  margin-bottom: 10px;
}

.page-ban-ca__advantage-text {
  font-size: 1em;
  color: #AFC4E8;
  line-height: 1.6;
}

/* Guide Section */
.page-ban-ca__guide-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.page-ban-ca__guide-step {
  background-color: #10233F;
  border: 1px solid #244D84;
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  position: relative;
  box-shadow: 0 4px 10px 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: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
  color: #F3F8FF;
  font-size: 1.5em;
  font-weight: 700;
  margin-bottom: 15px;
  border: 2px solid #4FA8FF;
}

.page-ban-ca__guide-title {
  font-size: 1.6em;
  font-weight: 700;
  color: #F2C14E;
  margin-bottom: 10px;
}

.page-ban-ca__guide-text {
  font-size: 1em;
  color: #AFC4E8;
  line-height: 1.5;
}

.page-ban-ca__guide-image-container {
  text-align: center;
}

.page-ban-ca__guide-image {
  max-width: 100%;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  display: block;
  margin: 0 auto;
}

/* Tips Section */
.page-ban-ca__tips-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.page-ban-ca__tip-item {
  padding: 25px;
}

.page-ban-ca__tip-title {
  font-size: 1.6em;
  font-weight: 700;
  color: #F2C14E;
  margin-bottom: 10px;
}

.page-ban-ca__tip-text {
  font-size: 1em;
  color: #AFC4E8;
  line-height: 1.5;
}

.page-ban-ca__tips-image {
  max-width: 100%;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  display: block;
  margin: 0 auto;
}

/* Popular Games Section */
.page-ban-ca__game-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-ban-ca__game-card {
  padding: 20px;
}

.page-ban-ca__game-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 15px;
}

.page-ban-ca__game-title {
  font-size: 1.8em;
  font-weight: 700;
  margin-bottom: 10px;
}

.page-ban-ca__game-title a {
  color: #F2C14E; /* Gold for game titles */
  text-decoration: none;
}

.page-ban-ca__game-title a:hover {
  text-decoration: underline;
  color: #4FA8FF; /* Glow color on hover */
}

.page-ban-ca__game-text {
  font-size: 1em;
  color: #AFC4E8;
  margin-bottom: 20px;
  line-height: 1.5;
}

/* Promo Section */
.page-ban-ca__promo-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 30px;
  padding: 40px;
}

.page-ban-ca__promo-text {
  flex: 1 1 45%;
  min-width: 300px;
  text-align: left;
}

.page-ban-ca__promo-subtitle {
  font-size: 2em;
  font-weight: 700;
  color: #F2C14E;
  margin-bottom: 15px;
}

.page-ban-ca__promo-details {
  font-size: 1.1em;
  color: #AFC4E8;
  margin-bottom: 30px;
  line-height: 1.6;
}

.page-ban-ca__promo-image {
  flex: 1 1 45%;
  min-width: 300px;
  max-width: 100%;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* FAQ Section */
.page-ban-ca__faq-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.page-ban-ca__faq-item {
  background-color: #10233F; /* Card background */
  border: 1px solid #244D84; /* Border color */
  border-radius: 10px;
  overflow: hidden;
  color: #F3F8FF;
}

.page-ban-ca__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: 600;
  cursor: pointer;
  color: #F2C14E; /* Gold for questions */
  list-style: none; /* Remove default marker */
}

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

.page-ban-ca__faq-question:hover {
  background-color: rgba(43, 115, 246, 0.1);
}

.page-ban-ca__faq-toggle {
  font-size: 1.5em;
  font-weight: 700;
  color: #4FA8FF; /* Glow color for toggle icon */
  transition: transform 0.3s ease;
}

.page-ban-ca__faq-item[open] .page-ban-ca__faq-toggle {
  transform: rotate(45deg);
}

.page-ban-ca__faq-answer {
  padding: 0 25px 20px;
  font-size: 1em;
  color: #AFC4E8;
  line-height: 1.6;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-ban-ca__hero-container {
    padding: 40px 16px;
  }

  .page-ban-ca__section-title {
    font-size: 2.5em;
  }

  .page-ban-ca__section-description {
    font-size: 1.1em;
  }

  .page-ban-ca__promo-content {
    flex-direction: column;
  }

  .page-ban-ca__promo-text,
  .page-ban-ca__promo-image {
    flex: 1 1 100%;
    min-width: unset;
  }
}

@media (max-width: 768px) {
  /* Hero Section */
  .page-ban-ca__hero-section {
    padding-top: 10px !important; /* Small top padding, body handles header offset */
  }

  .page-ban-ca__hero-container {
    flex-direction: column;
    text-align: center;
    padding: 30px 15px;
  }

  .page-ban-ca__hero-content {
    flex: 1 1 100%;
    min-width: unset;
    text-align: center;
  }

  .page-ban-ca__hero-title {
    font-size: clamp(2em, 8vw, 2.5em) !important;
    margin-bottom: 15px;
  }

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

  .page-ban-ca__hero-buttons {
    flex-direction: column;
    gap: 15px;
    width: 100%;
  }

  .page-ban-ca__btn-primary,
  .page-ban-ca__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    padding: 12px 20px !important;
    font-size: 1em !important;
  }

  .page-ban-ca__hero-image {
    flex: 1 1 100%;
    min-width: unset;
    margin-top: 20px;
  }

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

  /* General Section Styles */
  .page-ban-ca__container {
    padding: 30px 15px;
  }

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

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

  /* Intro Section (Module 1) */
  .page-ban-ca__intro-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-ban-ca__icon-box-media {
    width: 150px !important;
    height: 150px !important;
    border-width: 3px !important;
  }

  .page-ban-ca__intro-item-title {
    font-size: 1.5em !important;
  }

  /* Advantages Section */
  .page-ban-ca__advantages-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-ban-ca__advantage-item {
    padding: 20px;
  }

  .page-ban-ca__advantage-icon {
    max-width: 100% !important;
    height: auto !important;
  }

  .page-ban-ca__advantage-title {
    font-size: 1.5em !important;
  }

  /* Guide Section */
  .page-ban-ca__guide-steps {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-ban-ca__guide-step {
    padding: 20px;
  }

  .page-ban-ca__guide-number {
    width: 40px !important;
    height: 40px !important;
    font-size: 1.2em !important;
  }

  .page-ban-ca__guide-title {
    font-size: 1.4em !important;
  }

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

  /* Tips Section */
  .page-ban-ca__tips-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-ban-ca__tip-item {
    padding: 20px;
  }

  .page-ban-ca__tip-title {
    font-size: 1.4em !important;
  }

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

  /* Popular Games Section */
  .page-ban-ca__game-list {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-ban-ca__game-card {
    padding: 15px;
  }

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

  .page-ban-ca__game-title {
    font-size: 1.5em !important;
  }

  /* Promo Section */
  .page-ban-ca__promo-content {
    flex-direction: column;
    padding: 25px;
    gap: 20px;
  }

  .page-ban-ca__promo-text {
    text-align: center;
  }

  .page-ban-ca__promo-subtitle {
    font-size: 1.8em !important;
  }

  .page-ban-ca__promo-details {
    font-size: 1em !important;
  }

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

  /* FAQ Section */
  .page-ban-ca__faq-question {
    padding: 15px 20px;
    font-size: 1.1em !important;
  }

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

  /* Universal Image and Container Mobile Rules */
  .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__hero-buttons,
  .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;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-ban-ca__cta-buttons,
  .page-ban-ca__button-group,
  .page-ban-ca__btn-container {
    flex-wrap: wrap !important;
    gap: 10px;
    flex-direction: column;
  }

  /* Specific exception for circular images in Module 1 to maintain aspect ratio */
  .page-ban-ca__icon-box-media img {
    height: 100% !important; /* Override height:auto for circular images */
    object-fit: cover !important;
  }
}