.page-fishing-games {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default dark text for light body background */
  background-color: #FFFFFF; /* Body background from shared.css */
}

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

.page-fishing-games__section {
  padding: 60px 0;
  text-align: center;
}

.page-fishing-games__section-title {
  font-size: 36px;
  margin-bottom: 20px;
  color: #017439;
  font-weight: bold;
}

.page-fishing-games__section-subtitle {
  font-size: 18px;
  margin-bottom: 40px;
  color: #555555;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-fishing-games__text-block {
  font-size: 16px;
  margin-bottom: 20px;
  text-align: left;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  color: #333333;
}

.page-fishing-games__keyword {
  font-weight: bold;
  color: #017439;
}

/* 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); /* Ensures content is not hidden by fixed header */
  background: linear-gradient(135deg, #017439, #3cb06f);
  color: #FFFFFF;
}

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

.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__hero-title {
  font-size: 52px;
  font-weight: 900;
  margin-bottom: 20px;
  color: #FFFF00; /* Yellow for prominence */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
}

.page-fishing-games__hero-description {
  font-size: 20px;
  margin-bottom: 30px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  color: #FFFFFF;
}

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

.page-fishing-games__cta-button {
  display: inline-block;
  padding: 15px 40px;
  text-decoration: none;
  border-radius: 50px;
  font-size: 18px;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-fishing-games__btn-register {
  background: #C30808; /* Register button color */
  color: #FFFF00; /* Register button font color */
  border: 2px solid #C30808;
}

.page-fishing-games__btn-register:hover {
  background: #e02020;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-fishing-games__btn-download {
  background: #017439;
  color: #FFFFFF;
  border: 2px solid #017439;
}

.page-fishing-games__btn-download:hover {
  background: #02944e;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-fishing-games__btn-login {
  background: #C30808; /* Login button color */
  color: #FFFF00; /* Login button font color */
  border: 2px solid #C30808;
}

.page-fishing-games__btn-login:hover {
  background: #e02020;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Intro Section */
.page-fishing-games__intro-section {
  background-color: #FFFFFF;
  color: #333333;
}

/* Game Types Section */
.page-fishing-games__game-types-section {
  background-color: #017439; /* Primary color background */
  color: #FFFFFF;
}

.page-fishing-games__game-types-section .page-fishing-games__section-title,
.page-fishing-games__game-types-section .page-fishing-games__section-subtitle {
  color: #FFFFFF;
}

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

.page-fishing-games__game-card {
  background-color: #FFFFFF;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #333333;
  padding-bottom: 20px;
}

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

.page-fishing-games__game-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
}

.page-fishing-games__game-card .page-fishing-games__card-title {
  font-size: 24px;
  color: #017439;
  margin: 20px 20px 10px;
}

.page-fishing-games__game-card .page-fishing-games__card-text {
  font-size: 15px;
  color: #555555;
  padding: 0 20px;
  margin-bottom: 20px;
}

.page-fishing-games__game-card .page-fishing-games__btn-primary {
  background: #017439;
  color: #FFFFFF;
  border: none;
  padding: 10px 25px;
  border-radius: 5px;
  font-size: 16px;
  margin-top: 15px;
  margin-left: 20px;
  box-shadow: none;
}

.page-fishing-games__game-card .page-fishing-games__btn-primary:hover {
  background: #02944e;
  transform: none;
  box-shadow: none;
}

/* Features Section */
.page-fishing-games__features-section {
  background-color: #FFFFFF;
  color: #333333;
}

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

.page-fishing-games__feature-item {
  text-align: center;
  padding: 25px;
  background-color: #f9f9f9;
  border-radius: 10px;
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
}

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

.page-fishing-games__feature-item img {
  width: 100%;
  max-width: 400px;
  height: 250px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-fishing-games__feature-title {
  font-size: 22px;
  color: #017439;
  margin-bottom: 10px;
}

.page-fishing-games__feature-text {
  font-size: 15px;
  color: #555555;
}

/* Guide Section */
.page-fishing-games__guide-section {
  background-color: #017439;
  color: #FFFFFF;
}

.page-fishing-games__guide-section .page-fishing-games__section-title,
.page-fishing-games__guide-section .page-fishing-games__section-subtitle {
  color: #FFFFFF;
}

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

.page-fishing-games__step-item {
  background-color: #FFFFFF;
  border-radius: 10px;
  padding: 30px;
  text-align: left;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  color: #333333;
}

.page-fishing-games__step-title {
  font-size: 24px;
  color: #017439;
  margin-bottom: 15px;
}

.page-fishing-games__step-text {
  font-size: 15px;
  color: #555555;
  margin-bottom: 20px;
}

.page-fishing-games__step-item .page-fishing-games__btn-register,
.page-fishing-games__step-item .page-fishing-games__btn-primary {
  background: #C30808;
  color: #FFFF00;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  font-size: 15px;
  box-shadow: none;
}

.page-fishing-games__step-item .page-fishing-games__btn-register:hover,
.page-fishing-games__step-item .page-fishing-games__btn-primary:hover {
  background: #e02020;
  transform: none;
}

/* Promotions Section */
.page-fishing-games__promotions-section {
  background-color: #FFFFFF;
  color: #333333;
}

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

.page-fishing-games__promo-card {
  background-color: #f9f9f9;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #333333;
  padding-bottom: 20px;
}

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

.page-fishing-games__promo-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.page-fishing-games__promo-card .page-fishing-games__card-title {
  font-size: 22px;
  color: #017439;
  margin: 20px 20px 10px;
}

.page-fishing-games__promo-card .page-fishing-games__card-text {
  font-size: 15px;
  color: #555555;
  padding: 0 20px;
  margin-bottom: 20px;
}

.page-fishing-games__promo-card .page-fishing-games__btn-secondary {
  background: #FFFFFF;
  color: #017439;
  border: 2px solid #017439;
  padding: 10px 25px;
  border-radius: 5px;
  font-size: 16px;
  margin-top: 15px;
  margin-left: 20px;
  box-shadow: none;
}

.page-fishing-games__promo-card .page-fishing-games__btn-secondary:hover {
  background: #017439;
  color: #FFFFFF;
  transform: none;
}

/* Security & Support Section */
.page-fishing-games__security-support-section {
  background-color: #017439;
  color: #FFFFFF;
}

.page-fishing-games__security-support-section .page-fishing-games__section-title,
.page-fishing-games__security-support-section .page-fishing-games__section-subtitle {
  color: #FFFFFF;
}

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

.page-fishing-games__info-item {
  background-color: #FFFFFF;
  border-radius: 10px;
  padding: 30px;
  text-align: left;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  color: #333333;
}

.page-fishing-games__info-title {
  font-size: 24px;
  color: #017439;
  margin-bottom: 15px;
}

.page-fishing-games__info-text {
  font-size: 15px;
  color: #555555;
}

/* App Download Section */
.page-fishing-games__app-download-section {
  background-color: #FFFFFF;
  color: #333333;
}

.page-fishing-games__app-content {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-top: 40px;
  text-align: left;
}

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

.page-fishing-games__app-text p {
  font-size: 16px;
  margin-bottom: 30px;
}

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

.page-fishing-games__app-image img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
  min-width: 200px; /* Ensure min size */
  min-height: 200px; /* Ensure min size */
}

.page-fishing-games__btn-download.page-fishing-games__cta-button {
  background: #017439;
  color: #FFFFFF;
  border: 2px solid #017439;
  padding: 15px 30px;
  border-radius: 50px;
  font-size: 18px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-fishing-games__btn-download.page-fishing-games__cta-button:hover {
  background: #02944e;
  transform: translateY(-2px);
}

/* FAQ Section */
.page-fishing-games__faq-section {
  background-color: #f5f5f5;
  color: #333333;
}

.page-fishing-games__faq-list {
  max-width: 900px;
  margin: 40px auto 0;
  text-align: left;
}

/* 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;
  padding: 0 15px;
  opacity: 0;
}

/* FAQ展开状态 - 🚨 使用!important和足够大的max-height确保一定能展开 */
.page-fishing-games__faq-item.active .page-fishing-games__faq-answer {
  max-height: 2000px !important; /* 🚨 使用!important确保优先级，值足够大以容纳任何内容 */
  padding: 20px 15px !important;
  opacity: 1;
  background: #ffffff;
  border-radius: 0 0 5px 5px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

/* 问题样式 */
.page-fishing-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 5px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

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

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

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

/* 切换图标 */
.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; /* 防止图标阻止点击事件 */
  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: #017439;
  transform: rotate(45deg); /* Optional: animate to X */
}

/* Conclusion Section */
.page-fishing-games__conclusion-section {
  background-color: #017439;
  color: #FFFFFF;
}

.page-fishing-games__conclusion-section .page-fishing-games__section-title,
.page-fishing-games__conclusion-section .page-fishing-games__text-block {
  color: #FFFFFF;
}

.page-fishing-games__conclusion-section .page-fishing-games__keyword {
  color: #FFFF00;
}

.page-fishing-games__conclusion-section .page-fishing-games__cta-buttons {
  margin-top: 40px;
}

/* General Buttons */
.page-fishing-games__btn-primary {
  background: #017439;
  color: #ffffff;
  border: 2px solid transparent;
  padding: 10px 20px;
  border-radius: 5px;
  font-size: 16px;
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.page-fishing-games__btn-primary:hover {
  background: #02944e;
}

.page-fishing-games__btn-secondary {
  background: #ffffff;
  color: #017439;
  border: 2px solid #017439;
  padding: 10px 20px;
  border-radius: 5px;
  font-size: 16px;
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.page-fishing-games__btn-secondary:hover {
  background: #017439;
  color: #ffffff;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-fishing-games__hero-title {
    font-size: 44px;
  }
  .page-fishing-games__hero-description {
    font-size: 18px;
  }
  .page-fishing-games__section-title {
    font-size: 30px;
  }
  .page-fishing-games__section-subtitle {
    font-size: 16px;
  }
}

@media (max-width: 768px) {
  .page-fishing-games__hero-section {
    padding-top: var(--header-offset, 120px) !important;
    padding-bottom: 40px;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-fishing-games__hero-image img {
    border-radius: 4px;
  }
  .page-fishing-games__hero-title {
    font-size: 32px;
  }
  .page-fishing-games__hero-description {
    font-size: 16px;
  }
  .page-fishing-games__hero-cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-fishing-games__cta-button {
    padding: 12px 30px;
    font-size: 16px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-fishing-games__section {
    padding: 40px 0;
  }
  .page-fishing-games__container {
    padding: 0 15px;
  }
  .page-fishing-games__section-title {
    font-size: 26px;
  }
  .page-fishing-games__section-subtitle {
    font-size: 14px;
  }

  .page-fishing-games__game-grid,
  .page-fishing-games__features-grid,
  .page-fishing-games__guide-steps,
  .page-fishing-games__promo-grid,
  .page-fishing-games__info-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-fishing-games__game-card img,
  .page-fishing-games__feature-item img,
  .page-fishing-games__promo-card img {
    height: auto;
    min-height: 200px;
    max-width: 100% !important;
    width: 100% !important;
  }

  .page-fishing-games__app-content {
    flex-direction: column;
  }
  .page-fishing-games__app-image img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

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

  /* Ensure all images and containers are responsive and prevent overflow */
  .page-fishing-games img {
    max-width: 100% !important;
    height: auto !important;
    display: block;
  }
  
  .page-fishing-games__section,
  .page-fishing-games__card,
  .page-fishing-games__container,
  .page-fishing-games__game-card,
  .page-fishing-games__feature-item,
  .page-fishing-games__step-item,
  .page-fishing-games__promo-card,
  .page-fishing-games__info-item,
  .page-fishing-games__app-content,
  .page-fishing-games__faq-list,
  .page-fishing-games__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-fishing-games__hero-section .page-fishing-games__hero-container {
    padding-left: 0;
    padding-right: 0;
  }
  .page-fishing-games__hero-section .page-fishing-games__hero-image {
    padding-left: 0;
    padding-right: 0;
  }

  .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: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
  }
  
  .page-fishing-games__cta-buttons {
    display: flex;
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .page-fishing-games__hero-title {
    font-size: 28px;
  }
  .page-fishing-games__hero-description {
    font-size: 15px;
  }
  .page-fishing-games__section-title {
    font-size: 22px;
  }
  .page-fishing-games__section-subtitle {
    font-size: 13px;
  }
  .page-fishing-games__cta-button {
    padding: 10px 20px;
    font-size: 15px;
  }
  .page-fishing-games__game-card .page-fishing-games__card-title,
  .page-fishing-games__feature-title,
  .page-fishing-games__step-title,
  .page-fishing-games__promo-card .page-fishing-games__card-title,
  .page-fishing-games__info-title {
    font-size: 20px;
  }
  .page-fishing-games__game-card .page-fishing-games__card-text,
  .page-fishing-games__feature-text,
  .page-fishing-games__step-text,
  .page-fishing-games__promo-card .page-fishing-games__card-text,
  .page-fishing-games__info-text {
    font-size: 14px;
  }
}