.page-fishing-games {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #333333;
  background-color: #FFFFFF;
}

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

.page-fishing-games__dark-section {
  background-color: #017439;
  color: #ffffff;
}

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

/* Hero Section */
.page-fishing-games__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  padding-bottom: 50px;
  overflow: hidden;
}

.page-fishing-games__hero-image-wrapper {
  width: 100%;
  max-height: 600px;
  overflow: hidden;
  position: relative;
  z-index: 1;
}

.page-fishing-games__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.7); /* Slightly dim the image for text contrast */
}

.page-fishing-games__hero-content {
  position: absolute;
  z-index: 2;
  max-width: 800px;
  padding: 20px;
  background-color: rgba(0, 0, 0, 0.4); /* Semi-transparent overlay for text */
  border-radius: 10px;
  margin-top: auto; /* Push content to bottom of hero if image is taller */
  margin-bottom: 20px;
}

.page-fishing-games__main-title {
  font-size: 3.2em;
  font-weight: 700;
  margin-bottom: 15px;
  line-height: 1.2;
  color: #FFFFFF;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-fishing-games__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #f0f0f0;
}

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

.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

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

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

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

.page-fishing-games__btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

/* Section Titles and Descriptions */
.page-fishing-games__section-title {
  font-size: 2.5em;
  font-weight: 700;
  text-align: center;
  margin-bottom: 20px;
  color: inherit; /* Inherit color from parent section */
}

.page-fishing-games__section-description {
  font-size: 1.1em;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 40px auto;
  color: inherit;
}

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

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

.page-fishing-games__text-block a:hover {
  color: #005a2d;
}

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

/* Game Types Section */
.page-fishing-games__game-types-section {
  padding: 60px 0;
}

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

.page-fishing-games__game-card {
  background-color: #ffffff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  padding-bottom: 20px;
  display: flex;
  flex-direction: column;
  color: #333333;
}

.page-fishing-games__game-card-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  margin-bottom: 15px;
}

.page-fishing-games__game-card-title {
  font-size: 1.5em;
  font-weight: 600;
  margin-bottom: 10px;
  padding: 0 15px;
}

.page-fishing-games__game-card-description {
  font-size: 0.95em;
  padding: 0 15px;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-fishing-games__btn-play {
  background-color: #017439;
  color: #FFFFFF;
  padding: 10px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.3s ease;
  margin-top: auto;
  display: inline-block;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-fishing-games__btn-play:hover {
  background-color: #005a2d;
}

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

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

.page-fishing-games__guide-layout {
  display: flex;
  gap: 40px;
  align-items: flex-start;
}

.page-fishing-games__guide-content {
  flex: 2;
}

.page-fishing-games__guide-image-wrapper {
  flex: 1;
  min-width: 300px;
  max-width: 500px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.page-fishing-games__guide-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.page-fishing-games__guide-list {
  list-style-type: decimal;
  margin-left: 25px;
  margin-bottom: 20px;
  font-size: 1.05em;
}

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

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

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

.page-fishing-games__strategy-list {
  list-style-type: disc;
  margin-left: 25px;
  margin-top: 30px;
  font-size: 1.05em;
  color: #ffffff;
}

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

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

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

.page-fishing-games__promo-grid {
  display: flex;
  gap: 40px;
  align-items: flex-start;
}

.page-fishing-games__promo-content {
  flex: 2;
}

.page-fishing-games__promo-image-wrapper {
  flex: 1;
  min-width: 300px;
  max-width: 500px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

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

.page-fishing-games__promo-list {
  list-style-type: disc;
  margin-left: 25px;
  margin-bottom: 20px;
  font-size: 1.05em;
}

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

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

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

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

.page-fishing-games__feature-card {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  color: #FFFFFF;
}

.page-fishing-games__feature-title {
  font-size: 1.3em;
  font-weight: 600;
  margin-bottom: 10px;
  color: #FFFF00;
}

.page-fishing-games__feature-description {
  font-size: 0.95em;
  line-height: 1.6;
}

.page-fishing-games__platform-image-wrapper {
  width: 100%;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  margin-top: 40px;
}

.page-fishing-games__platform-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

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

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

details.page-fishing-games__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #e0e0e0;
  overflow: hidden;
  background: #fff;
  color: #333333;
}

details.page-fishing-games__faq-item summary.page-fishing-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
}

details.page-fishing-games__faq-item summary.page-fishing-games__faq-question::-webkit-details-marker {
  display: none;
}

details.page-fishing-games__faq-item summary.page-fishing-games__faq-question:hover {
  background: #f5f5f5;
}

.page-fishing-games__faq-qtext {
  flex: 1;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #333333;
}

.page-fishing-games__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #666;
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}

details.page-fishing-games__faq-item .page-fishing-games__faq-answer {
  padding: 0 20px 20px;
  background: #f9f9f9;
  border-radius: 0 0 5px 5px;
}

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

/* Mobile Responsive Styles */
@media (max-width: 1024px) {
  .page-fishing-games__hero-content {
    margin-top: 0;
    margin-bottom: 0;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: none;
  }

  .page-fishing-games__main-title {
    font-size: 2.5em;
  }

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

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

  .page-fishing-games__guide-layout,
  .page-fishing-games__promo-grid {
    flex-direction: column;
    gap: 30px;
  }

  .page-fishing-games__guide-image-wrapper,
  .page-fishing-games__promo-image-wrapper {
    order: -1; /* Image appears above content on smaller screens */
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .page-fishing-games__container {
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Hero Section (Banner) */
  .page-fishing-games__hero-section {
    padding-top: 10px; /* Consistent small top padding */
    padding-bottom: 30px;
  }

  .page-fishing-games__hero-image-wrapper {
    max-height: 400px; /* Adjust height for mobile */
  }

  .page-fishing-games__hero-image {
    object-fit: contain; /* Ensure image fits without cropping too much */
    width: 100% !important; /* Mobile image适配 */
    height: auto !important;
  }

  .page-fishing-games__hero-content {
    position: relative; /* Allow content to flow normally below image */
    transform: none;
    top: auto;
    left: auto;
    margin-top: 20px;
    padding: 15px;
    background-color: rgba(0, 0, 0, 0.6);
  }

  .page-fishing-games__main-title {
    font-size: 1.8em;
    margin-bottom: 10px;
  }

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

  .page-fishing-games__hero-cta-buttons {
    flex-direction: column;
    gap: 10px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  /* All Buttons Mobile Adaption */
  .page-fishing-games__btn-primary,
  .page-fishing-games__btn-secondary,
  .page-fishing-games__btn-play,
  .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: 12px 15px;
    font-size: 1em;
  }

  .page-fishing-games__hero-cta-buttons,
  .page-fishing-games__centered-cta,
  .page-fishing-games__button-group,
  .page-fishing-games__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 0;
    padding-right: 0;
    overflow: hidden;
    flex-wrap: wrap !important;
    gap: 10px;
  }

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

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

  .page-fishing-games__text-block {
    font-size: 0.95em;
  }

  /* Game Types Section */
  .page-fishing-games__game-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

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

  /* Guide Section */
  .page-fishing-games__guide-layout {
    flex-direction: column;
  }

  .page-fishing-games__guide-image-wrapper {
    order: -1; /* Image appears above content */
    max-width: 100%;
  }

  .page-fishing-games__guide-list {
    font-size: 0.95em;
    margin-left: 20px;
  }

  /* Promotions Section */
  .page-fishing-games__promo-grid {
    flex-direction: column;
  }

  .page-fishing-games__promo-image-wrapper {
    order: -1; /* Image appears above content */
    max-width: 100%;
  }

  .page-fishing-games__promo-list {
    font-size: 0.95em;
    margin-left: 20px;
  }

  /* Features Section */
  .page-fishing-games__features-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-fishing-games__feature-card {
    padding: 20px;
  }

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

  .page-fishing-games__platform-image-wrapper {
    max-width: 100%;
  }

  /* FAQ Section */
  details.page-fishing-games__faq-item summary.page-fishing-games__faq-question {
    padding: 15px;
  }

  .page-fishing-games__faq-qtext {
    font-size: 15px;
  }

  .page-fishing-games__faq-toggle {
    font-size: 20px;
    width: 24px;
    height: 24px;
  }

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

  /* All images mobile responsive */
  .page-fishing-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-fishing-games__section,
  .page-fishing-games__card,
  .page-fishing-games__container,
  .page-fishing-games__guide-content,
  .page-fishing-games__promo-content,
  .page-fishing-games__features-grid {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 0;
    padding-right: 0;
  }

  /* Override specific section padding for mobile to be consistent with container */
  .page-fishing-games__intro-section,
  .page-fishing-games__game-types-section,
  .page-fishing-games__guide-section,
  .page-fishing-games__strategy-section,
  .page-fishing-games__promotions-section,
  .page-fishing-games__features-section,
  .page-fishing-games__faq-section {
    padding: 30px 0;
  }
}