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

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

.page-fishing-games__dark-bg {
  background-color: #1A2B3C; /* Auxiliary color for sections */
  color: #ffffff;
}

.page-fishing-games__section-title {
  font-size: 38px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 60px;
  color: #FFD700; /* Primary color for titles */
  text-transform: uppercase;
  letter-spacing: 1px;
}

.page-fishing-games__subsection-title {
  font-size: 30px;
  font-weight: bold;
  text-align: center;
  margin-top: 50px;
  margin-bottom: 40px;
  color: #FFD700;
}

/* Hero Section */
.page-fishing-games__hero-section {
  position: relative;
  height: 600px; /* Adjust as needed */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding-top: 0; /* shared.css handles body padding-top, so this page's first section should not add it */
  padding-bottom: 0;
}

.page-fishing-games__hero-background-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.page-fishing-games__hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6); /* Dark overlay for text readability */
  z-index: 2;
}

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

.page-fishing-games__hero-title {
  font-size: 52px;
  color: #FFD700;
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

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

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

/* Buttons */
.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-fishing-games__btn-primary {
  background-color: #FFD700;
  color: #1A2B3C; /* Dark text for primary button */
  border: 2px solid #FFD700;
}

.page-fishing-games__btn-primary:hover {
  background-color: #e6c200;
  color: #0d1a26;
  transform: translateY(-2px);
}

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

.page-fishing-games__btn-secondary:hover {
  background-color: #FFD700;
  color: #1A2B3C;
  transform: translateY(-2px);
}

.page-fishing-games__btn-small {
  padding: 10px 20px;
  font-size: 16px;
}

/* Features Section */
.page-fishing-games__section--features {
  padding: 80px 0;
}

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

.page-fishing-games__feature-item {
  background-color: rgba(255, 255, 255, 0.05); /* Slightly transparent white for dark background */
  padding: 30px;
  border-radius: 10px;
  transition: transform 0.3s ease, background-color 0.3s ease;
  height: 100%;
  box-sizing: border-box;
}

.page-fishing-games__feature-item:hover {
  transform: translateY(-5px);
  background-color: rgba(255, 255, 255, 0.1);
}

.page-fishing-games__feature-icon {
  width: 100%;
  max-width: 200px;
  height: auto;
  margin-bottom: 20px;
  border-radius: 8px;
}

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

.page-fishing-games__feature-description {
  font-size: 16px;
  color: #f0f0f0;
}

/* Games Showcase Section */
.page-fishing-games__section--games {
  padding: 80px 0;
}

.page-fishing-games__game-showcase {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 60px;
}

.page-fishing-games__game-card {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  overflow: hidden;
  text-align: center;
  padding-bottom: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
  box-sizing: border-box;
}

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

.page-fishing-games__game-image {
  width: 100%;
  height: auto;
  display: block;
  margin-bottom: 15px;
  border-radius: 10px 10px 0 0;
}

.page-fishing-games__game-title {
  font-size: 22px;
  color: #FFD700;
  margin-bottom: 10px;
  padding: 0 15px;
}

.page-fishing-games__game-description {
  font-size: 15px;
  color: #f0f0f0;
  margin-bottom: 20px;
  padding: 0 15px;
}

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

.page-fishing-games__guide-item {
  background-color: rgba(255, 255, 255, 0.08);
  padding: 25px;
  border-radius: 8px;
  height: 100%;
  box-sizing: border-box;
}

.page-fishing-games__guide-heading {
  font-size: 20px;
  color: #FFD700;
  margin-bottom: 10px;
}

.page-fishing-games__guide-text {
  font-size: 16px;
  color: #e0e0e0;
}

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

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

.page-fishing-games__promo-card {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  overflow: hidden;
  text-align: center;
  padding-bottom: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
  box-sizing: border-box;
}

.page-fishing-games__promo-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-fishing-games__promo-image {
  width: 100%;
  height: auto;
  display: block;
  margin-bottom: 15px;
  border-radius: 10px 10px 0 0;
}

.page-fishing-games__promo-title {
  font-size: 22px;
  color: #FFD700;
  margin-bottom: 10px;
  padding: 0 15px;
}

.page-fishing-games__promo-description {
  font-size: 15px;
  color: #f0f0f0;
  margin-bottom: 20px;
  padding: 0 15px;
}

/* Join Section */
.page-fishing-games__section--join {
  padding: 80px 0;
}

.page-fishing-games__join-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  text-align: center;
}

.page-fishing-games__step-card {
  background-color: rgba(255, 255, 255, 0.05);
  padding: 30px;
  border-radius: 10px;
  transition: transform 0.3s ease, background-color 0.3s ease;
  height: 100%;
  box-sizing: border-box;
}

.page-fishing-games__step-card:hover {
  transform: translateY(-5px);
  background-color: rgba(255, 255, 255, 0.1);
}

.page-fishing-games__step-icon {
  width: 100%;
  max-width: 180px;
  height: auto;
  margin-bottom: 20px;
  border-radius: 8px;
}

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

.page-fishing-games__step-description {
  font-size: 16px;
  color: #f0f0f0;
  margin-bottom: 20px;
}

/* FAQ Section */
.page-fishing-games__section--faq {
  padding: 80px 0;
}

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

.page-fishing-games__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  background-color: rgba(255, 255, 255, 0.05);
}

.page-fishing-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background-color: #1A2B3C; /* Dark background for question */
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  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-color: #2a3d50;
  border-color: #FFD700;
}

.page-fishing-games__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  color: #FFD700; /* Primary color for FAQ question */
  pointer-events: none;
}

.page-fishing-games__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  line-height: 1;
  color: #FFD700;
  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 {
  transform: rotate(45deg); /* Rotate for 'x' effect, or change to '-' */
  color: #ffffff;
}

.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 25px;
  opacity: 0;
  color: #e0e0e0;
}

.page-fishing-games__faq-item.active .page-fishing-games__faq-answer {
  max-height: 2000px !important;
  padding: 20px 25px !important;
  opacity: 1;
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 0 0 8px 8px;
}

/* Media Queries for Responsiveness */
@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: 34px;
    margin-bottom: 50px;
  }

  .page-fishing-games__subsection-title {
    font-size: 26px;
    margin-top: 40px;
    margin-bottom: 30px;
  }

  .page-fishing-games__container {
    padding: 30px 20px;
  }

  .page-fishing-games__btn-primary,
  .page-fishing-games__btn-secondary {
    padding: 12px 25px;
    font-size: 16px;
  }

  .page-fishing-games__feature-title,
  .page-fishing-games__game-title,
  .page-fishing-games__promo-title,
  .page-fishing-games__step-title {
    font-size: 22px;
  }

  .page-fishing-games__guide-heading {
    font-size: 18px;
  }

  .page-fishing-games__faq-question h3 {
    font-size: 17px;
  }
}

@media (max-width: 768px) {
  /* HERO 主图区域 */
  .page-fishing-games__hero-section {
    height: 500px;
    padding-top: 0 !important; /* shared.css handles body padding-top */
  }

  .page-fishing-games__hero-content {
    padding: 15px;
  }

  .page-fishing-games__hero-title {
    font-size: 36px;
    margin-bottom: 15px;
  }

  .page-fishing-games__hero-description {
    font-size: 16px;
    margin-bottom: 25px;
  }

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

  /* 按钮与按钮容器 */
  .page-fishing-games__btn-primary,
  .page-fishing-games__btn-secondary,
  .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__hero-buttons,
  .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__container,
  .page-fishing-games__section,
  .page-fishing-games__feature-item,
  .page-fishing-games__game-card,
  .page-fishing-games__promo-card,
  .page-fishing-games__step-card,
  .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 img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-fishing-games__section-title {
    font-size: 28px;
    margin-bottom: 40px;
  }

  .page-fishing-games__subsection-title {
    font-size: 22px;
    margin-top: 30px;
    margin-bottom: 25px;
  }

  .page-fishing-games__features-grid,
  .page-fishing-games__game-showcase,
  .page-fishing-games__promotions-grid,
  .page-fishing-games__join-steps {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-fishing-games__feature-icon,
  .page-fishing-games__step-icon {
    max-width: 150px;
  }

  .page-fishing-games__feature-title,
  .page-fishing-games__game-title,
  .page-fishing-games__promo-title,
  .page-fishing-games__step-title {
    font-size: 20px;
  }

  .page-fishing-games__feature-description,
  .page-fishing-games__game-description,
  .page-fishing-games__promo-description,
  .page-fishing-games__step-description,
  .page-fishing-games__guide-text {
    font-size: 15px;
  }

  /* FAQ */
  .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: 24px;
    height: 24px;
  }

  .page-fishing-games__faq-answer {
    padding: 0 15px;
  }

  .page-fishing-games__faq-item.active .page-fishing-games__faq-answer {
    padding: 15px !important;
  }
}