/* style/fishing-games.css */
.page-fishing-games {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Body background is dark, so text is light */
  background-color: #0a0a0a; /* Ensure consistency with body background */
}

.page-fishing-games a {
  color: #017439;
  text-decoration: none;
}

.page-fishing-games a:hover {
  text-decoration: underline;
}

/* Hero Section */
.page-fishing-games__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px;
  min-height: 600px;
  background: linear-gradient(135deg, #017439 0%, #004d2a 100%);
  color: #ffffff;
  overflow: hidden;
  padding-top: var(--header-offset, 120px);
}

.page-fishing-games__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: 0.3;
}

.page-fishing-games__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-fishing-games__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
}

.page-fishing-games__main-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #FFFF00; /* Yellow for prominence */
}

.page-fishing-games__hero-description {
  font-size: 1.2em;
  margin-bottom: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  text-transform: uppercase;
  transition: all 0.3s ease;
  text-align: center;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-fishing-games__btn-primary {
  background: #C30808; /* Đăng ký/Đăng nhập button color */
  color: #FFFF00; /* Đăng ký/Đăng nhập font color */
  border: 2px solid #C30808;
}

.page-fishing-games__btn-primary:hover {
  background: #a30606;
  border-color: #a30606;
}

.page-fishing-games__btn-secondary {
  background: transparent;
  color: #ffffff;
  border: 2px solid #ffffff;
}

.page-fishing-games__btn-secondary:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* Content Area */
.page-fishing-games__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
  background-color: #0a0a0a; /* Matches body background */
  color: #ffffff; /* Light text on dark background */
}

.page-fishing-games__dark-bg {
  background-color: #017439;
  color: #ffffff;
  padding: 60px 20px;
}

.page-fishing-games__light-bg {
  background-color: #ffffff;
  color: #333333; /* Dark text on light background */
}

.page-fishing-games__section-title {
  font-size: 2.5em;
  margin-bottom: 30px;
  text-align: center;
  color: #FFFF00; /* Yellow for prominence */
}

.page-fishing-games__sub-title {
  font-size: 1.8em;
  margin-bottom: 20px;
  color: #FFFF00;
}

.page-fishing-games__introduction-section p,
.page-fishing-games__advantages-section p,
.page-fishing-games__game-types-section p,
.page-fishing-games__guide-section p,
.page-fishing-games__tips-section p,
.page-fishing-games__promotions-section p,
.page-fishing-games__why-choose-section p,
.page-fishing-games__conclusion-section p {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: #f0f0f0;
}

.page-fishing-games__image-text-block {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.page-fishing-games__content-image {
  max-width: 500px;
  width: 100%;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
}

.page-fishing-games__text-content {
  flex: 1;
}

.page-fishing-games__text-content ul {
  list-style: none;
  padding: 0;
}

.page-fishing-games__text-content ul li {
  margin-bottom: 10px;
  font-size: 1.1em;
  position: relative;
  padding-left: 25px;
  color: #f0f0f0;
}

.page-fishing-games__text-content ul li::before {
  content: '✔';
  color: #FFFF00;
  position: absolute;
  left: 0;
  font-weight: bold;
}

/* Advantages Grid */
.page-fishing-games__advantages-grid,
.page-fishing-games__game-types-grid,
.page-fishing-games__tips-grid,
.page-fishing-games__reasons-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-fishing-games__advantage-card,
.page-fishing-games__game-type-card,
.page-fishing-games__tip-card,
.page-fishing-games__reason-card {
  background-color: #1a1a1a; /* Darker background for cards on dark section */
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
  color: #ffffff; /* Light text on dark card */
}

.page-fishing-games__advantage-card:hover,
.page-fishing-games__game-type-card:hover,
.page-fishing-games__tip-card:hover,
.page-fishing-games__reason-card:hover {
  transform: translateY(-10px);
}

.page-fishing-games__card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-fishing-games__card-title {
  font-size: 1.4em;
  margin-bottom: 15px;
  color: #FFFF00;
}

/* Guide Section */
.page-fishing-games__guide-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
}

.page-fishing-games__guide-list li {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 20px;
  border-radius: 8px;
  margin-bottom: 15px;
  font-size: 1.1em;
  color: #ffffff;
  position: relative;
  padding-left: 50px;
}

.page-fishing-games__guide-list li::before {
  content: attr(data-step);
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  background-color: #FFFF00;
  color: #017439;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}

.page-fishing-games__guide-list li:nth-child(1)::before { content: '1'; }
.page-fishing-games__guide-list li:nth-child(2)::before { content: '2'; }
.page-fishing-games__guide-list li:nth-child(3)::before { content: '3'; }
.page-fishing-games__guide-list li:nth-child(4)::before { content: '4'; }

/* Promotions Section */
.page-fishing-games__promo-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
}

.page-fishing-games__promo-list li {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 15px 20px;
  border-radius: 8px;
  margin-bottom: 10px;
  font-size: 1.1em;
  color: #ffffff;
  position: relative;
  padding-left: 35px;
}

.page-fishing-games__promo-list li strong {
  color: #FFFF00;
}

.page-fishing-games__promo-list li::before {
  content: '★';
  color: #FFFF00;
  position: absolute;
  left: 10px;
  font-weight: bold;
}

/* CTA Center */
.page-fishing-games__cta-center {
  text-align: center;
  margin-top: 40px;
}

/* FAQ Section */
.page-fishing-games__faq-list {
  margin-top: 40px;
}

.page-fishing-games__faq-item {
  background-color: #1a1a1a; /* Darker background for FAQ items */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  color: #ffffff;
}

.page-fishing-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.2em;
  font-weight: bold;
  cursor: pointer;
  background-color: #017439;
  color: #ffffff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.page-fishing-games__faq-question:hover {
  background-color: #004d2a;
}

.page-fishing-games__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
}

.page-fishing-games__faq-item.active .page-fishing-games__faq-toggle {
  transform: rotate(45deg);
}

.page-fishing-games__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  background-color: #2a2a2a; /* Slightly lighter dark background for answer */
  color: #f0f0f0;
}

.page-fishing-games__faq-item.active .page-fishing-games__faq-answer {
  max-height: 1000px !important; /* Use !important to ensure override */
  padding: 20px;
}

.page-fishing-games__faq-answer p {
  margin: 0;
  font-size: 1.1em;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-fishing-games__main-title {
    font-size: 3em;
  }

  .page-fishing-games__section-title {
    font-size: 2em;
  }

  .page-fishing-games__image-text-block {
    flex-direction: column;
  }

  .page-fishing-games__content-image {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .page-fishing-games__hero-section {
    padding: 60px 15px;
  }

  .page-fishing-games__main-title {
    font-size: 2.2em;
  }

  .page-fishing-games__hero-description {
    font-size: 1em;
  }

  .page-fishing-games__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-fishing-games__btn-primary,
  .page-fishing-games__btn-secondary {
    width: 100%;
    padding: 12px 20px;
    font-size: 1em;
  }

  .page-fishing-games__content-area,
  .page-fishing-games__dark-bg {
    padding: 40px 15px;
  }

  .page-fishing-games__section-title {
    font-size: 1.8em;
  }

  .page-fishing-games__sub-title {
    font-size: 1.5em;
  }

  .page-fishing-games__introduction-section p,
  .page-fishing-games__advantages-section p,
  .page-fishing-games__game-types-section p,
  .page-fishing-games__guide-section p,
  .page-fishing-games__tips-section p,
  .page-fishing-games__promotions-section p,
  .page-fishing-games__why-choose-section p,
  .page-fishing-games__conclusion-section p,
  .page-fishing-games__text-content ul li,
  .page-fishing-games__guide-list li,
  .page-fishing-games__promo-list li,
  .page-fishing-games__faq-question,
  .page-fishing-games__faq-answer p {
    font-size: 1em;
    line-height: 1.5;
  }

  .page-fishing-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-fishing-games__section,
  .page-fishing-games__card,
  .page-fishing-games__container,
  .page-fishing-games__hero-section,
  .page-fishing-games__introduction-section,
  .page-fishing-games__advantages-section,
  .page-fishing-games__game-types-section,
  .page-fishing-games__guide-section,
  .page-fishing-games__tips-section,
  .page-fishing-games__promotions-section,
  .page-fishing-games__why-choose-section,
  .page-fishing-games__faq-section,
  .page-fishing-games__conclusion-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden;
  }

  .page-fishing-games__hero-section {
    padding-top: var(--header-offset, 120px) !important; /* Ensure hero section starts below header on mobile */
  }

  .page-fishing-games__cta-button,
  .page-fishing-games__btn-primary,
  .page-fishing-games__btn-secondary,
  .page-fishing-games a[class*="button"],
  .page-fishing-games a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  
  .page-fishing-games__cta-buttons,
  .page-fishing-games__button-group,
  .page-fishing-games__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 0px;
    padding-right: 0px;
    flex-wrap: wrap !important;
    gap: 10px;
  }
  
  .page-fishing-games__cta-buttons {
    display: flex;
    flex-direction: column; 
  }
}

/* Specific color contrast fixes based on body background */
.page-fishing-games__dark-bg {
  background-color: #017439;
  color: #ffffff;
}

.page-fishing-games__light-bg {
  background-color: #ffffff;
  color: #333333;
}

.page-fishing-games__advantage-card,
.page-fishing-games__game-type-card,
.page-fishing-games__tip-card,
.page-fishing-games__reason-card {
  background-color: #1a1a1a;
  color: #ffffff;
}

.page-fishing-games__faq-item {
  background-color: #1a1a1a;
  color: #ffffff;
}

.page-fishing-games__faq-answer {
  background-color: #2a2a2a;
  color: #f0f0f0;
}