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

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

.page-fishing-games__section-title {
  font-size: 2.5em;
  color: #017439;
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

.page-fishing-games__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  line-height: 1.7;
  text-align: justify;
}

.page-fishing-games__text-link {
  color: #017439;
  text-decoration: underline;
}

.page-fishing-games__text-link:hover {
  color: #005f2c;
}

/* Buttons */
.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary,
.page-fishing-games a[class*="button"],
.page-fishing-games a[class*="btn"] {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 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-color: #017439;
  color: #ffffff;
  border: 2px solid #017439;
}

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

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

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

/* Specific button colors */
.page-fishing-games__register-link {
  color: #FFFF00; /* Custom color for register link text */
  background-color: #C30808; /* Custom background for register button */
  padding: 5px 10px;
  border-radius: 5px;
  text-decoration: none;
}

.page-fishing-games__register-link:hover {
  background-color: #a00606;
}

.page-fishing-games__login-link {
  color: #FFFF00; /* Custom color for login link text */
  background-color: #C30808; /* Custom background for login button */
  padding: 5px 10px;
  border-radius: 5px;
  text-decoration: none;
}

.page-fishing-games__login-link:hover {
  background-color: #a00606;
}

.page-fishing-games__button-group {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
  flex-wrap: wrap; /* Allow wrapping on smaller screens */
}

/* Sections with specific backgrounds */
.page-fishing-games__dark-section {
  background-color: #017439;
  color: #ffffff;
}

.page-fishing-games__dark-section .page-fishing-games__section-title,
.page-fishing-games__dark-section .page-fishing-games__text-link {
  color: #ffffff;
}

.page-fishing-games__dark-section .page-fishing-games__text-link:hover {
  color: #f0f0f0;
}

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

/* Hero Section */
.page-fishing-games__hero-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 500px;
  padding-top: 0; /* Handled by shared for body, so hero doesn't double it */
}

.page-fishing-games__hero-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.5); /* Dark overlay for text readability */
  z-index: 2;
}

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

.page-fishing-games__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
}

.page-fishing-games__hero-description {
  font-size: 1.3em;
  margin-bottom: 30px;
}

.page-fishing-games__hero-buttons .page-fishing-games__hero-btn {
  font-size: 1.1em;
  padding: 15px 30px;
  border-radius: 10px;
}

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

/* Games Section */
.page-fishing-games__games-section {
  padding: 60px 0;
}

.page-fishing-games__games-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 40px;
}

.page-fishing-games__game-card {
  background-color: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  color: #333333;
}

.page-fishing-games__game-card:hover {
  transform: translateY(-5px);
}

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

.page-fishing-games__game-title {
  font-size: 1.5em;
  font-weight: bold;
  padding: 15px 20px 0;
}

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

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

.page-fishing-games__game-description {
  padding: 0 20px 20px;
  font-size: 0.95em;
  color: #555555;
}

/* Features Section */
.page-fishing-games__features-section {
  padding: 60px 0;
}

.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 {
  background-color: #f9f9f9;
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

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

.page-fishing-games__feature-icon {
  width: 100%;
  height: auto;
  max-width: 150px;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-fishing-games__feature-title {
  font-size: 1.4em;
  color: #017439;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-fishing-games__feature-description {
  font-size: 1em;
  color: #555555;
}

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

.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);
  margin-bottom: 15px;
  padding: 20px;
  border-radius: 8px;
  font-size: 1.1em;
  line-height: 1.8;
  color: #ffffff;
}

.page-fishing-games__guide-list li strong {
  color: #FFFF00;
  font-size: 1.2em;
}

/* Strategy Section */
.page-fishing-games__strategy-section {
  padding: 60px 0;
}

.page-fishing-games__strategy-content {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  margin-top: 40px;
}

.page-fishing-games__strategy-text {
  flex: 2;
}

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

.page-fishing-games__strategy-image {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  display: block;
}

.page-fishing-games__strategy-list {
  list-style: disc;
  padding-left: 25px;
  font-size: 1.1em;
  color: #333333;
}

.page-fishing-games__strategy-list li {
  margin-bottom: 10px;
}

.page-fishing-games__strategy-list li strong {
  color: #017439;
}

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

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

.page-fishing-games__promo-card {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  color: #ffffff;
}

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

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

.page-fishing-games__promo-title {
  font-size: 1.4em;
  font-weight: bold;
  padding: 15px 20px 0;
}

.page-fishing-games__promo-title a {
  color: #ffffff;
  text-decoration: none;
}

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

.page-fishing-games__promo-description {
  padding: 0 20px 20px;
  font-size: 0.95em;
}

/* Security Section */
.page-fishing-games__security-section {
  padding: 60px 0;
}

/* FAQ Section */
.page-fishing-games__faq-section {
  padding: 60px 0;
}

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

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

.page-fishing-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  font-size: 1.2em;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-fishing-games__faq-question:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

.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;
  font-size: 1.1em;
  color: #f0f0f0;
}

.page-fishing-games__faq-item.active .page-fishing-games__faq-answer {
  max-height: 1000px !important; /* Sufficiently large value */
  padding: 15px 20px;
}

/* Conclusion Section */
.page-fishing-games__conclusion-section {
  padding: 60px 0 80px;
}

/* General image styling for content area */
.page-fishing-games img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

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

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

  .page-fishing-games__games-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .page-fishing-games__features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .page-fishing-games__promotions-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .page-fishing-games__strategy-content {
    flex-direction: column;
    align-items: center;
  }

  .page-fishing-games__strategy-image-wrapper {
    margin-top: 30px;
  }
}

@media (max-width: 768px) {
  /* HERO主图区域 */
  .page-fishing-games__hero-section {
    min-height: 400px;
    padding-top: 0; /* Ensures no double padding if shared provides body padding */
  }

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

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

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

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

  .page-fishing-games__hero-buttons .page-fishing-games__hero-btn {
    font-size: 1em;
    padding: 12px 20px;
    width: 100% !important;
    max-width: 100% !important;
  }

  /* 产品展示图区域 */
  .page-fishing-games__games-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }
  
  .page-fishing-games__games-grid .page-fishing-games__game-card:nth-child(-n+4) {
    grid-column: auto; /* Reset for 1 column layout */
  }

  .page-fishing-games__game-image {
    height: 200px;
  }

  /* 通用图片与容器 */
  .page-fishing-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-fishing-games__container,
  .page-fishing-games__introduction-section,
  .page-fishing-games__games-section,
  .page-fishing-games__features-section,
  .page-fishing-games__guide-section,
  .page-fishing-games__strategy-section,
  .page-fishing-games__promotions-section,
  .page-fishing-games__security-section,
  .page-fishing-games__faq-section,
  .page-fishing-games__conclusion-section {
    padding-left: 15px !important;
    padding-right: 15px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow-x: hidden;
  }

  /* 按钮与按钮容器 */
  .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;
    flex-direction: column;
  }

  /* 其他内容模块 */
  .page-fishing-games__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }

  .page-fishing-games__text-block,
  .page-fishing-games__guide-list li,
  .page-fishing-games__strategy-list li,
  .page-fishing-games__promo-description,
  .page-fishing-games__feature-description,
  .page-fishing-games__faq-answer p {
    font-size: 1em;
    line-height: 1.6;
  }

  .page-fishing-games__features-grid {
    grid-template-columns: 1fr;
  }

  .page-fishing-games__promotions-grid {
    grid-template-columns: 1fr;
  }

  .page-fishing-games__faq-question {
    font-size: 1.1em;
    padding: 15px;
  }

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

  .page-fishing-games__guide-list li {
    padding: 15px;
  }
  
  .page-fishing-games__feature-icon {
    max-width: 100px;
  }

  .page-fishing-games__feature-title {
    font-size: 1.2em;
  }
}

@media (max-width: 480px) {
  .page-fishing-games__hero-title {
    font-size: 1.8em;
  }
  .page-fishing-games__hero-description {
    font-size: 0.9em;
  }
  .page-fishing-games__section-title {
    font-size: 1.5em;
  }
}