:root {
  --primary-color: #0A2342;
  --secondary-color: #FFD700;
  --text-color-dark-bg: #ffffff;
  --text-color-light-bg: #333333;
  --card-bg-color: #ffffff;
  --card-border-color: #e0e0e0;
  --button-hover-darken: #0056b3;
  --button-hover-lighten: #f0c000;
}

.page-fishing-games {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-color-dark-bg); /* Default text color for body background */
  background-color: #121212; /* Body background from shared.css */
  padding-top: 120px; /* Ensure content is not hidden by fixed header */
}

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

.page-fishing-games__dark-section {
  background-color: var(--primary-color);
  color: var(--text-color-dark-bg);
}

.page-fishing-games__section-title {
  font-size: 36px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 20px;
  color: var(--secondary-color);
}

.page-fishing-games__section-description {
  font-size: 18px;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
  color: #f0f0f0;
}

/* Introduction Section */
.page-fishing-games__introduction-section {
  padding: 60px 0;
  text-align: center;
}

.page-fishing-games__main-title {
  font-size: 48px;
  font-weight: 900;
  color: var(--secondary-color);
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-fishing-games__description {
  font-size: 18px;
  margin-bottom: 25px;
  line-height: 1.8;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-fishing-games__description strong {
  color: var(--secondary-color);
}

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

.page-fishing-games__cta-button {
  display: inline-block;
  padding: 15px 40px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  text-decoration: none;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  border: none;
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-fishing-games__cta-button--primary {
  background-color: var(--secondary-color);
  color: var(--primary-color);
}

.page-fishing-games__cta-button--primary:hover {
  background-color: var(--button-hover-lighten);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

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

.page-fishing-games__cta-button--secondary:hover {
  background-color: var(--secondary-color);
  color: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

/* Features Section */
.page-fishing-games__features-section {
  padding: 80px 0;
  background-color: #1a1a1a;
  color: var(--text-color-dark-bg);
}

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

.page-fishing-games__feature-item {
  background: var(--card-bg-color);
  color: var(--text-color-light-bg);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--card-border-color);
}

.page-fishing-games__feature-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.page-fishing-games__feature-image {
  width: 100%;
  max-width: 400px; /* Recommended size for content images */
  height: auto;
  margin-bottom: 20px;
  border-radius: 8px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

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

.page-fishing-games__feature-text {
  font-size: 16px;
  line-height: 1.7;
  color: #555;
}

/* Guide Section */
.page-fishing-games__guide-section {
  padding: 80px 0;
}

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

.page-fishing-games__step-item {
  text-align: center;
}

.page-fishing-games__step-icon {
  width: 60px;
  height: 60px;
  line-height: 60px;
  background-color: var(--secondary-color);
  color: var(--primary-color);
  border-radius: 50%;
  font-size: 32px;
  font-weight: bold;
  margin: 0 auto 20px auto;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.page-fishing-games__step-title {
  font-size: 24px;
  font-weight: bold;
  color: var(--text-color-dark-bg);
  margin-bottom: 15px;
}

.page-fishing-games__step-text {
  font-size: 16px;
  color: #f0f0f0;
}

.page-fishing-games__guide-cta {
  margin-top: 60px;
  text-align: center;
}

/* Game Types Section */
.page-fishing-games__game-types-section {
  padding: 80px 0;
  background-color: #1a1a1a;
  color: var(--text-color-dark-bg);
}

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

.page-fishing-games__game-card {
  background: var(--card-bg-color);
  color: var(--text-color-light-bg);
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--card-border-color);
}

.page-fishing-games__game-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.page-fishing-games__game-image {
  width: 100%;
  max-width: 600px; /* Recommended size for card images */
  height: auto;
  margin-bottom: 15px;
  border-radius: 8px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

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

.page-fishing-games__game-description {
  font-size: 15px;
  line-height: 1.6;
  color: #666;
  margin-bottom: 20px;
}

.page-fishing-games__cta-button--small {
  padding: 10px 25px;
  font-size: 16px;
  border-radius: 6px;
  background-color: var(--secondary-color);
  color: var(--primary-color);
}

.page-fishing-games__cta-button--small:hover {
  background-color: var(--button-hover-lighten);
}

/* Promotions Section */
.page-fishing-games__promotions-section {
  padding: 80px 0;
}

.page-fishing-games__promotions-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  margin-top: 50px;
}

.page-fishing-games__promo-item {
  display: flex;
  align-items: center;
  gap: 25px;
  background: rgba(255, 255, 255, 0.05);
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.page-fishing-games__promo-item:hover {
  transform: translateY(-5px);
}

.page-fishing-games__promo-image {
  width: 150px;
  height: 150px;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
}

.page-fishing-games__promo-content {
  flex-grow: 1;
}

.page-fishing-games__promo-title {
  font-size: 24px;
  font-weight: bold;
  color: var(--secondary-color);
  margin-bottom: 10px;
}

.page-fishing-games__promo-text {
  font-size: 16px;
  color: #f0f0f0;
}

.page-fishing-games__promotions-cta {
  margin-top: 60px;
  text-align: center;
}

/* Security Section */
.page-fishing-games__security-section {
  padding: 80px 0;
  background-color: #1a1a1a;
  color: var(--text-color-dark-bg);
}

.page-fishing-games__security-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-fishing-games__security-item {
  text-align: center;
  background: var(--card-bg-color);
  color: var(--text-color-light-bg);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  border: 1px solid var(--card-border-color);
}

.page-fishing-games__security-icon {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 20px;
}

.page-fishing-games__security-item-title {
  font-size: 22px;
  font-weight: bold;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.page-fishing-games__security-item-text {
  font-size: 16px;
  color: #555;
}

/* App Section */
.page-fishing-games__app-section {
  padding: 80px 0;
}

.page-fishing-games__app-container {
  display: flex;
  align-items: center;
  gap: 50px;
}

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

.page-fishing-games__app-benefits {
  list-style: none;
  padding: 0;
  margin: 30px 0;
  font-size: 17px;
  color: #f0f0f0;
}

.page-fishing-games__app-benefits li {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

.page-fishing-games__icon {
  font-size: 20px;
  margin-right: 10px;
  color: var(--secondary-color);
}

.page-fishing-games__icon--check::before {
  content: '✓'; /* Simple checkmark, could be an SVG icon */
  display: inline-block;
  width: 20px;
  height: 20px;
  text-align: center;
  line-height: 20px;
  border-radius: 50%;
  background-color: var(--secondary-color);
  color: var(--primary-color);
  font-weight: bold;
  font-size: 16px;
}

.page-fishing-games__app-image-wrapper {
  flex: 1;
  text-align: center;
}

.page-fishing-games__app-image {
  max-width: 100%;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* FAQ Section */
.page-fishing-games__faq-section {
  padding: 80px 0;
  background-color: #1a1a1a;
  color: var(--text-color-dark-bg);
}

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

/* FAQ容器样式 */
.page-fishing-games__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  overflow: hidden;
}

/* 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展开状态 - 🚨 使用!important和足够大的max-height确保一定能展开 */
.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: #2a2a2a;
  border-radius: 0 0 5px 5px;
  color: #f0f0f0;
}

/* 问题样式 */
.page-fishing-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: var(--primary-color);
  border: 1px solid #061a33;
  border-radius: 5px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
  color: var(--text-color-dark-bg);
}

.page-fishing-games__faq-question:hover {
  background: #0e2e52;
  border-color: #08203f;
}

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

/* 问题标题样式 */
.page-fishing-games__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  pointer-events: none; /* 防止h3标签阻止点击事件 */
  color: var(--secondary-color);
}

/* 切换图标 */
.page-fishing-games__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  line-height: 1;
  color: var(--secondary-color);
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
  pointer-events: none; /* 防止图标阻止点击事件 */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
}

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

/* Contact CTA Section */
.page-fishing-games__contact-cta-section {
  padding: 80px 0;
  text-align: center;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-fishing-games__main-title {
    font-size: 42px;
  }
  .page-fishing-games__section-title {
    font-size: 32px;
  }
  .page-fishing-games__app-container {
    flex-direction: column;
    gap: 30px;
  }
  .page-fishing-games__app-image-wrapper {
    order: -1; /* Image above content on smaller screens */
  }
}

@media (max-width: 768px) {
  .page-fishing-games {
    padding-top: 100px !important; /* Mobile padding for fixed header */
    font-size: 16px;
    line-height: 1.6;
  }
  .page-fishing-games__container {
    padding: 0 15px;
  }
  .page-fishing-games__main-title {
    font-size: 32px;
  }
  .page-fishing-games__section-title {
    font-size: 28px;
  }
  .page-fishing-games__section-description {
    font-size: 16px;
    margin-bottom: 30px;
  }
  .page-fishing-games__description {
    font-size: 16px;
  }
  .page-fishing-games__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-fishing-games__cta-button {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px !important;
    font-size: 16px !important;
  }
  .page-fishing-games__features-grid,
  .page-fishing-games__guide-steps,
  .page-fishing-games__game-grid,
  .page-fishing-games__security-content {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .page-fishing-games__feature-item,
  .page-fishing-games__game-card,
  .page-fishing-games__security-item {
    padding: 20px;
  }
  .page-fishing-games__feature-image,
  .page-fishing-games__game-image,
  .page-fishing-games__security-icon,
  .page-fishing-games__app-image {
    max-width: 100% !important;
    height: auto !important;
    width: 100% !important;
    display: block !important;
    box-sizing: border-box !important;
  }
  .page-fishing-games__promo-item {
    flex-direction: column;
    text-align: center;
    gap: 15px;
    padding: 20px;
  }
  .page-fishing-games__promo-image {
    width: 120px;
    height: 120px;
  }
  .page-fishing-games__promo-title {
    font-size: 20px;
  }
  .page-fishing-games__faq-question {
    padding: 15px;
  }
  .page-fishing-games__faq-question h3 {
    font-size: 16px;
  }
  .page-fishing-games__faq-toggle {
    font-size: 24px;
    width: 26px;
    height: 26px;
  }
  .page-fishing-games__faq-item.active .page-fishing-games__faq-answer {
    padding: 15px !important;
  }
  .page-fishing-games__app-content,
  .page-fishing-games__app-image-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
}