.page-fishing-games {
  --text-main-color: #F2FFF6;
  --text-secondary-color: #A7D9B8;
  --bg-dark-color: #08160F;
  --bg-card-color: #11271B;
  --border-color: #2E7A4E;
  --btn-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  --glow-color: #57E38D;
  --gold-color: #F2C14E;
  --divider-color: #1E3A2A;
  --deep-green-color: #0A4B2C;

  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-main-color); /* Default text color for dark background */
  background-color: var(--bg-dark-color); /* Matches body background from shared.css */
}

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

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

.page-fishing-games__light-bg {
  background-color: #f5f5f5; /* Using a light background for contrast sections */
  color: #333333; /* Dark text for light background */
}

.page-fishing-games__light-bg .page-fishing-games__section-title {
  color: #000000; /* Ensure titles are dark on light backgrounds */
}

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

.page-fishing-games__hero-image-wrapper {
  width: 100%;
  max-height: 700px;
  overflow: hidden;
  position: relative;
  z-index: 0;
  margin-bottom: 20px;
}

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

.page-fishing-games__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin-top: -100px; /* Pull content up slightly over image for visual flow */
  padding: 20px;
  background: rgba(17, 39, 27, 0.85); /* Semi-transparent dark background for text */
  border-radius: 10px;
}

.page-fishing-games__main-title {
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: -0.05em;
  margin-bottom: 20px;
  color: var(--gold-color);
}

.page-fishing-games__hero-description {
  font-size: 1.1em;
  margin-bottom: 30px;
  color: var(--text-secondary-color);
}

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

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

.page-fishing-games__btn-primary {
  background: var(--btn-gradient);
  color: #ffffff;
  border: 2px solid transparent;
}

.page-fishing-games__btn-primary:hover {
  opacity: 0.9;
  box-shadow: 0 0 15px var(--glow-color);
}

.page-fishing-games__btn-secondary {
  background: #ffffff;
  color: var(--deep-green-color);
  border: 2px solid var(--deep-green-color);
}

.page-fishing-games__btn-secondary:hover {
  background: var(--deep-green-color);
  color: #ffffff;
  box-shadow: 0 0 15px var(--deep-green-color);
}

.page-fishing-games__section-title {
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
  color: var(--gold-color);
}

.page-fishing-games__text-block {
  margin-bottom: 20px;
  color: var(--text-secondary-color);
}

/* Introduction Section */
.page-fishing-games__introduction-section,
.page-fishing-games__tips-section,
.page-fishing-games__download-section,
.page-fishing-games__conclusion-section {
  padding: 80px 0;
}

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

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

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

.page-fishing-games__feature-card:hover {
  transform: translateY(-10px);
}

.page-fishing-games__feature-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
}

.page-fishing-games__card-title {
  font-weight: bold;
  margin-bottom: 15px;
  color: var(--gold-color);
}

.page-fishing-games__card-description {
  font-size: 0.95em;
  color: var(--text-secondary-color);
}

/* Games Showcase */
.page-fishing-games__games-showcase {
  padding: 80px 0;
}

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

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

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

.page-fishing-games__game-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
}

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

.page-fishing-games__guide-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.page-fishing-games__guide-item {
  background-color: var(--bg-card-color);
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border-color);
  color: var(--text-main-color);
}

.page-fishing-games__guide-step-title {
  font-weight: bold;
  margin-bottom: 10px;
  color: var(--gold-color);
}

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

.page-fishing-games__tips-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.page-fishing-games__tip-item {
  background-color: #ffffff;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  border: 1px solid #e0e0e0;
  color: #333333;
}

.page-fishing-games__tip-title {
  font-weight: bold;
  margin-bottom: 10px;
  color: var(--deep-green-color);
}

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

.page-fishing-games__promotions-image {
  width: 100%;
  max-width: 1000px;
  height: auto;
  object-fit: cover;
  border-radius: 10px;
  margin: 40px auto;
  display: block;
}

/* Download Section */
.page-fishing-games__download-section {
  padding: 80px 0;
  text-align: center;
}

.page-fishing-games__download-options {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  margin-top: 40px;
}

.page-fishing-games__qr-code {
  width: 250px;
  height: 250px;
  border: 5px solid #ffffff;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  display: block;
}

.page-fishing-games__download-buttons {
  display: flex;
  flex-direction: column;
  gap: 15px;
  width: 100%;
  max-width: 300px;
}

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

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

.page-fishing-games__faq-item {
  background-color: var(--bg-card-color);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: var(--text-main-color);
}

.page-fishing-games__faq-item summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-weight: bold;
  color: var(--gold-color);
  transition: background-color 0.3s ease;
}

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

.page-fishing-games__faq-item summary:hover {
  background-color: rgba(46, 122, 78, 0.2); /* Lighter green hover */
}

.page-fishing-games__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
}

.page-fishing-games__faq-answer {
  padding: 0 25px 20px;
  color: var(--text-secondary-color);
}

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

/* Responsive Design */
@media (max-width: 1024px) {
  .page-fishing-games__hero-content {
    margin-top: -50px;
  }
}

@media (max-width: 768px) {
  .page-fishing-games {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-fishing-games__container {
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-fishing-games__hero-section {
    padding: 40px 15px;
    padding-top: 10px !important;
  }

  .page-fishing-games__hero-image-wrapper {
    max-height: 400px;
  }

  .page-fishing-games__hero-content {
    margin-top: -30px; /* Adjust for smaller screens */
    padding: 15px;
  }

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

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

  .page-fishing-games__cta-buttons {
    flex-direction: column;
    gap: 10px;
  }

  .page-fishing-games__btn-primary,
  .page-fishing-games__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-fishing-games__introduction-section,
  .page-fishing-games__features-section,
  .page-fishing-games__games-showcase,
  .page-fishing-games__guide-section,
  .page-fishing-games__tips-section,
  .page-fishing-games__promotions-section,
  .page-fishing-games__download-section,
  .page-fishing-games__faq-section,
  .page-fishing-games__conclusion-section {
    padding: 40px 0;
  }

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

  .page-fishing-games__feature-grid,
  .page-fishing-games__game-grid,
  .page-fishing-games__guide-list,
  .page-fishing-games__tips-list {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-fishing-games__feature-image,
  .page-fishing-games__game-image,
  .page-fishing-games__promotions-image,
  .page-fishing-games__qr-code,
  .page-fishing-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-fishing-games__download-options {
    flex-direction: column;
    gap: 20px;
  }

  .page-fishing-games__download-buttons {
    max-width: 100%;
  }

  .page-fishing-games__faq-item summary {
    padding: 15px 20px;
  }

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

@media (max-width: 480px) {
  .page-fishing-games__main-title {
    font-size: 1.8em;
  }
}

/* Ensure all images meet minimum size requirements */
.page-fishing-games img {
  min-width: 200px;
  min-height: 200px;
}

/* No CSS filters allowed */
.page-fishing-games img {
  filter: none;
}