:root {
  --primary-color: #2C3E50; /* Deep Tech Blue */
  --secondary-color: #F39C12; /* Vibrant Orange */
  --text-dark: #333333;
  --text-light: #ffffff;
  --bg-light: #f9f9f9;
  --border-color: #e0e0e0;
}

.page-fishing-games {
  font-family: 'Arial', sans-serif;
  color: var(--text-dark); /* Default text color for light body background */
  line-height: 1.6;
  background-color: #ffffff; /* Explicitly setting for clarity, though shared.css might handle body */
}

/* Hero Section */
.page-fishing-games__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: var(--header-offset, 120px); /* Ensure space for fixed header */
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: var(--text-light); /* Light text for dark gradient background */
}

.page-fishing-games__hero-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.page-fishing-games__hero-image {
  width: 100%;
  margin-bottom: 30px;
}

.page-fishing-games__hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.page-fishing-games__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
}

.page-fishing-games__main-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: var(--text-light);
  font-weight: bold;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
}

.page-fishing-games__hero-description {
  font-size: 1.3em;
  max-width: 800px;
  margin: 0 auto 30px auto;
  color: rgba(255, 255, 255, 0.9);
}

.page-fishing-games__cta-group {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

.page-fishing-games__cta-button {
  display: inline-block;
  padding: 15px 40px;
  text-decoration: none;
  border-radius: 5px;
  font-size: 1.1em;
  font-weight: bold;
  transition: all 0.3s ease;
  box-sizing: border-box; /* Crucial for mobile button responsiveness */
  white-space: normal; /* Allow text wrap */
  word-wrap: break-word; /* Allow text break */
}

.page-fishing-games__cta-button--primary {
  background: var(--secondary-color);
  color: var(--text-light);
  border: 2px solid var(--secondary-color);
}

.page-fishing-games__cta-button--primary:hover {
  background: #d48e0f; /* Slightly darker orange */
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.page-fishing-games__cta-button--secondary {
  background: transparent;
  color: var(--text-light);
  border: 2px solid var(--text-light);
}

.page-fishing-games__cta-button--secondary:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* General Section Styles */
.page-fishing-games__section {
  padding: 60px 20px;
  margin-bottom: 20px;
  background-color: #ffffff;
}

.page-fishing-games__introduction {
  background-color: var(--bg-light);
}

.page-fishing-games__container {
  max-width: 1200px;
  margin: 0 auto;
}

.page-fishing-games__section-title {
  font-size: 2.2em;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

.page-fishing-games__paragraph {
  font-size: 1.1em;
  line-height: 1.8;
  margin-bottom: 20px;
  text-align: justify;
  color: var(--text-dark);
}

.page-fishing-games__highlight {
  color: var(--secondary-color);
  font-weight: bold;
}

.page-fishing-games__inline-link {
  color: var(--primary-color);
  text-decoration: underline;
  font-weight: bold;
}

.page-fishing-games__inline-link:hover {
  color: var(--secondary-color);
}

.page-fishing-games__image-wrapper {
  text-align: center;
  margin: 40px 0;
}

.page-fishing-games__image-wrapper img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  display: block; /* Ensure it's treated as a block for max-width/height auto */
  margin: 0 auto; /* Center the image */
}

/* Feature Grid */
.page-fishing-games__feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-fishing-games__feature-card {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: var(--text-dark); /* Ensure dark text on light card */
}

.page-fishing-games__feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.page-fishing-games__feature-card img {
  width: 100%;
  height: 200px; /* Fixed height for consistency, object-fit will handle aspect ratio */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
}

.page-fishing-games__card-title {
  font-size: 1.4em;
  color: var(--primary-color);
  margin-bottom: 15px;
  font-weight: bold;
}

.page-fishing-games__card-description {
  font-size: 1em;
  line-height: 1.7;
  color: var(--text-dark);
}

/* Game List / Step List */
.page-fishing-games__game-list,
.page-fishing-games__step-list,
.page-fishing-games__strategy-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
}

.page-fishing-games__list-item {
  background-color: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  margin-bottom: 15px;
  padding: 25px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s ease;
  color: var(--text-dark);
}

.page-fishing-games__list-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.page-fishing-games__list-title {
  font-size: 1.3em;
  color: var(--primary-color);
  margin-bottom: 10px;
  font-weight: bold;
}

.page-fishing-games__list-description {
  font-size: 1em;
  line-height: 1.7;
  color: var(--text-dark);
}

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

.page-fishing-games__cta-center--bottom {
  margin-top: 60px;
}

/* Promotions Section */
.page-fishing-games__promotions {
  background-color: var(--bg-light);
}

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

.page-fishing-games__promotion-card {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: var(--text-dark);
}

.page-fishing-games__promotion-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.page-fishing-games__promotion-card img {
  width: 100%;
  height: 220px; /* Fixed height for promo images */
  object-fit: cover;
  display: block;
}

.page-fishing-games__promotion-card .page-fishing-games__card-title {
  margin: 20px 20px 10px 20px;
  font-size: 1.3em;
}

.page-fishing-games__promotion-card .page-fishing-games__card-description {
  padding: 0 20px 20px 20px;
  font-size: 0.95em;
  color: #555;
}

.page-fishing-games__cta-link {
  display: inline-block;
  color: var(--secondary-color);
  text-decoration: none;
  font-weight: bold;
  padding: 0 20px 20px 20px;
  transition: color 0.2s ease;
}

.page-fishing-games__cta-link:hover {
  color: var(--primary-color);
}

/* Why Choose Us Section */
.page-fishing-games__why-choose-us {
  background-color: #ffffff;
}

.page-fishing-games__why-choose-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-fishing-games__why-choose-item {
  background-color: var(--bg-light);
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
  color: var(--text-dark);
}

.page-fishing-games__item-title {
  font-size: 1.3em;
  color: var(--primary-color);
  margin-bottom: 10px;
  font-weight: bold;
}

.page-fishing-games__item-description {
  font-size: 1em;
  line-height: 1.7;
  color: var(--text-dark);
}

/* FAQ Section */
.page-fishing-games__faq {
  background-color: var(--bg-light);
}

.page-fishing-games__faq-list {
  margin-top: 40px;
}

/* FAQ容器样式 */
.page-fishing-games__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

/* FAQ默认状态 - 答案隐藏 */
.page-fishing-games__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
  padding: 0 15px;
  opacity: 0;
}

/* FAQ展开状态 - ⚠️ Sử dụng!important và đủ lớn max-height để đảm bảo có thể mở rộng */
.page-fishing-games__faq-item.active .page-fishing-games__faq-answer {
  max-height: 2000px !important; /* ⚠️ Sử dụng!important để đảm bảo độ ưu tiên, giá trị đủ lớn để chứa mọi nội dung */
  padding: 20px 15px !important;
  opacity: 1;
  background: #f9f9f9;
  border-radius: 0 0 5px 5px;
}

/* Vấn đề kiểu dáng */
.page-fishing-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: 5px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.page-fishing-games__faq-question:hover {
  background: #f5f5f5;
  border-color: #d0d0d0;
}

.page-fishing-games__faq-question:active {
  background: #eeeeee;
}

/* Vấn đề tiêu đề kiểu dáng */
.page-fishing-games__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 1.1em;
  font-weight: 600;
  line-height: 1.5;
  pointer-events: none; /* Ngăn thẻ h3 chặn sự kiện click */
  color: var(--primary-color); /* Đảm bảo độ tương phản tốt */
}

/* Chuyển đổi biểu tượng */
.page-fishing-games__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  line-height: 1;
  color: #666;
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
  pointer-events: none; /* Ngăn biểu tượng chặn sự kiện click */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
}

.page-fishing-games__faq-item.active .page-fishing-games__faq-toggle {
  color: var(--secondary-color); /* Sử dụng màu phụ cho trạng thái hoạt động */
  transform: rotate(45deg); /* Xoay để tạo hiệu ứng dấu trừ */
}


/* Final CTA Section */
.page-fishing-games__final-cta {
  background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
  color: var(--text-light);
  text-align: center;
  padding: 80px 20px;
}

.page-fishing-games__final-cta .page-fishing-games__section-title {
  color: var(--text-light);
  margin-bottom: 30px;
}

.page-fishing-games__final-cta .page-fishing-games__paragraph {
  color: rgba(255, 255, 255, 0.9);
  max-width: 800px;
  margin: 0 auto 40px auto;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-fishing-games__main-title {
    font-size: 2.8em;
  }
  .page-fishing-games__hero-description {
    font-size: 1.2em;
  }
  .page-fishing-games__section-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-fishing-games__hero-section {
    padding-top: var(--header-offset, 120px) !important; /* Ensure space for fixed header on mobile */
    padding-bottom: 40px;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-fishing-games__main-title {
    font-size: 2.2em;
    margin-bottom: 15px;
  }
  .page-fishing-games__hero-description {
    font-size: 1em;
    margin-bottom: 25px;
  }
  .page-fishing-games__cta-group {
    flex-direction: column; /* Stack buttons vertically on mobile */
    gap: 15px;
  }
  .page-fishing-games__cta-button {
    max-width: 100% !important;
    width: 100% !important;
    padding: 12px 25px;
    font-size: 1em;
    margin: 0 auto; /* Center button if it's the only one */
  }

  .page-fishing-games__section {
    padding: 40px 15px;
  }
  .page-fishing-games__container {
    padding-left: 0;
    padding-right: 0;
  }
  .page-fishing-games__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }
  .page-fishing-games__paragraph {
    font-size: 0.95em;
  }

  /* Images */
  .page-fishing-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    box-sizing: border-box !important;
  }
  .page-fishing-games__image-wrapper {
    padding: 0 15px; /* Add padding to image wrapper to prevent overflow */
  }

  .page-fishing-games__feature-grid,
  .page-fishing-games__promotion-grid,
  .page-fishing-games__why-choose-grid {
    grid-template-columns: 1fr; /* Single column layout for cards */
    gap: 20px;
  }

  .page-fishing-games__feature-card,
  .page-fishing-games__promotion-card,
  .page-fishing-games__why-choose-item {
    padding: 20px;
  }
  .page-fishing-games__feature-card img {
     /* Adjust height for mobile */
  }
  .page-fishing-games__promotion-card img {
     /* Adjust height for mobile */
  }

  .page-fishing-games__card-title,
  .page-fishing-games__list-title,
  .page-fishing-games__item-title,
  .page-fishing-games__faq-question h3 {
    font-size: 1.1em;
  }
  .page-fishing-games__card-description,
  .page-fishing-games__list-description,
  .page-fishing-games__item-description {
    font-size: 0.9em;
  }

  /* FAQ Mobile */
  .page-fishing-games__faq-question {
    padding: 15px;
    flex-wrap: wrap;
  }
  .page-fishing-games__faq-question h3 {
    font-size: 1em;
    width: calc(100% - 40px); /* Adjust width for toggle */
  }
  .page-fishing-games__faq-toggle {
    margin-left: 10px;
    width: 24px;
    height: 24px;
    font-size: 20px;
  }
  .page-fishing-games__faq-item.active .page-fishing-games__faq-answer {
    padding: 15px !important;
  }

  .page-fishing-games__final-cta {
    padding: 60px 15px;
  }
}

/* Smallest mobile screens */
@media (max-width: 480px) {
  .page-fishing-games__main-title {
    font-size: 1.8em;
  }
  .page-fishing-games__hero-description {
    font-size: 0.9em;
  }
  .page-fishing-games__section-title {
    font-size: 1.6em;
  }
}