:root {
  --page-fishing-games-primary-color: #11A84E;
  --page-fishing-games-secondary-color: #22C768;
  --page-fishing-games-bg-color: #08160F;
  --page-fishing-games-card-bg: #11271B;
  --page-fishing-games-text-main: #F2FFF6;
  --page-fishing-games-text-secondary: #A7D9B8;
  --page-fishing-games-border-color: #2E7A4E;
  --page-fishing-games-btn-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
}

.page-fishing-games {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--page-fishing-games-text-main); /* Base text color for the page */
  background-color: var(--page-fishing-games-bg-color); /* Matches body background implicitly */
}

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

.page-fishing-games__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 10px; /* Small top padding for the first section */
  padding-bottom: 60px;
  background-color: var(--page-fishing-games-bg-color);
  overflow: hidden;
}

.page-fishing-games__hero-image-wrapper {
  width: 100%;
  max-height: 700px; /* Limit height for aesthetic */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.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;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  z-index: 10;
  max-width: 800px;
  padding: 20px;
  box-sizing: border-box;
  background: rgba(0, 0, 0, 0.4); /* Semi-transparent background for text */
  border-radius: 10px;
}

.page-fishing-games__main-title {
  font-size: clamp(2em, 4vw, 3.5em); /* Responsive font size for H1 */
  font-weight: bold;
  color: var(--page-fishing-games-text-main);
  margin-bottom: 15px;
  line-height: 1.2;
}

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

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

.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary {
  display: inline-block;
  padding: 14px 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(--page-fishing-games-btn-gradient);
  color: #ffffff;
  border: none;
}

.page-fishing-games__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.page-fishing-games__btn-secondary {
  background-color: transparent;
  color: var(--page-fishing-games-primary-color);
  border: 2px solid var(--page-fishing-games-primary-color);
}

.page-fishing-games__btn-secondary:hover {
  background-color: var(--page-fishing-games-primary-color);
  color: #ffffff;
}

.page-fishing-games__section-title {
  font-size: clamp(1.8em, 3vw, 2.8em);
  color: var(--page-fishing-games-text-main);
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

.page-fishing-games__introduction-section,
.page-fishing-games__features-section,
.page-fishing-games__tips-section,
.page-fishing-games__cta-final-section {
  padding: 80px 0;
  background-color: #ffffff;
  color: #333333; /* Dark text for light background */
}

.page-fishing-games__introduction-section .page-fishing-games__section-title,
.page-fishing-games__features-section .page-fishing-games__section-title,
.page-fishing-games__tips-section .page-fishing-games__section-title,
.page-fishing-games__cta-final-section .page-fishing-games__section-title {
  color: var(--page-fishing-games-primary-color);
}

.page-fishing-games__introduction-section .page-fishing-games__text-block,
.page-fishing-games__features-section .page-fishing-games__text-block,
.page-fishing-games__tips-section .page-fishing-games__text-block,
.page-fishing-games__cta-final-section .page-fishing-games__text-block {
  color: #333333;
}

.page-fishing-games__how-to-play-section,
.page-fishing-games__promotions-section,
.page-fishing-games__faq-section {
  padding: 80px 0;
  background-color: var(--page-fishing-games-bg-color);
  color: var(--page-fishing-games-text-main);
}

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

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

.page-fishing-games__grid-item {
  background-color: var(--page-fishing-games-card-bg);
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-fishing-games__image-small {
  width: 100%;
  max-width: 400px; /* Ensure images are not too small */
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
}

.page-fishing-games__grid-title {
  font-size: 1.5em;
  color: var(--page-fishing-games-primary-color);
  margin-bottom: 15px;
  font-weight: bold;
}

.page-fishing-games__cta-center {
  text-align: center;
  margin-top: 50px;
}

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

.page-fishing-games__feature-item,
.page-fishing-games__tips-item {
  background-color: #f8f8f8;
  border-left: 5px solid var(--page-fishing-games-primary-color);
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.page-fishing-games__feature-item .page-fishing-games__text-block,
.page-fishing-games__tips-item .page-fishing-games__text-block {
  color: #555555;
}

.page-fishing-games__feature-title,
.page-fishing-games__tips-title {
  font-size: 1.4em;
  color: var(--page-fishing-games-primary-color);
  margin-bottom: 10px;
  font-weight: bold;
}

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

.page-fishing-games__card {
  background-color: var(--page-fishing-games-card-bg);
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  display: flex;
  flex-direction: column;
  color: var(--page-fishing-games-text-main);
}

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

.page-fishing-games__card-title {
  font-size: 1.3em;
  color: var(--page-fishing-games-text-main);
  margin-bottom: 10px;
  font-weight: bold;
}

.page-fishing-games__card-title a {
  color: inherit;
  text-decoration: none;
}

.page-fishing-games__card-title a:hover {
  color: var(--page-fishing-games-primary-color);
}

.page-fishing-games__card-text {
  font-size: 0.95em;
  color: var(--page-fishing-games-text-secondary);
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-fishing-games__note-text {
  font-size: 0.9em;
  color: var(--page-fishing-games-text-secondary);
  text-align: center;
  margin-top: 40px;
}

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

.page-fishing-games__faq-item {
  background-color: var(--page-fishing-games-card-bg);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.page-fishing-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-size: 1.2em;
  font-weight: bold;
  color: var(--page-fishing-games-text-main);
  background-color: var(--page-fishing-games-card-bg);
  border-bottom: 1px solid var(--page-fishing-games-border-color);
  transition: background-color 0.3s ease;
}

.page-fishing-games__faq-question:hover {
  background-color: #1a3325;
}

.page-fishing-games__faq-item[open] .page-fishing-games__faq-question {
  background-color: #1a3325;
}

.page-fishing-games__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  color: var(--page-fishing-games-primary-color);
}

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

.page-fishing-games__faq-answer .page-fishing-games__text-block {
  margin-bottom: 0;
}

/* Details element specific styling for FAQ */
.page-fishing-games__faq-item summary::-webkit-details-marker {
  display: none;
}

.page-fishing-games__faq-item summary {
  list-style: none;
}

.page-fishing-games__cta-final-content {
  text-align: center;
  padding: 60px 20px;
  background-color: #f0f0f0;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.page-fishing-games__cta-final-content .page-fishing-games__section-title {
  color: var(--page-fishing-games-primary-color);
  margin-bottom: 20px;
}

.page-fishing-games__cta-final-content .page-fishing-games__text-block {
  color: #555555;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 40px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-fishing-games__hero-content {
    max-width: 90%;
  }
}

@media (max-width: 768px) {
  .page-fishing-games__hero-section {
    padding-bottom: 40px;
  }

  .page-fishing-games__hero-content {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    padding: 20px;
    margin-top: -100px; /* Pull text up over image slightly */
    background: rgba(0, 0, 0, 0.6); /* Adjust background for better contrast */
  }

  .page-fishing-games__hero-image {
    filter: brightness(0.5); /* Dim more on mobile if text is overlayed */
  }

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

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

  .page-fishing-games__introduction-section,
  .page-fishing-games__how-to-play-section,
  .page-fishing-games__features-section,
  .page-fishing-games__promotions-section,
  .page-fishing-games__tips-section,
  .page-fishing-games__faq-section,
  .page-fishing-games__cta-final-section {
    padding: 40px 0;
  }

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

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

  .page-fishing-games__btn-primary,
  .page-fishing-games__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    margin-bottom: 10px; /* Add margin between stacked buttons */
    padding: 12px 20px;
  }

  .page-fishing-games__cta-buttons {
    flex-direction: column; /* Stack buttons vertically on mobile */
    gap: 10px;
    padding: 0 15px;
  }

  .page-fishing-games__container,
  .page-fishing-games__grid-item,
  .page-fishing-games__card,
  .page-fishing-games__feature-item,
  .page-fishing-games__tips-item,
  .page-fishing-games__faq-item,
  .page-fishing-games__cta-final-content {
    padding-left: 15px;
    padding-right: 15px;
    box-sizing: border-box;
    max-width: 100% !important;
    width: 100% !important;
  }

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

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

  .page-fishing-games__video-section {
    padding-top: 10px !important;
  }

  .page-fishing-games__video-section,
  .page-fishing-games__video-container,
  .page-fishing-games__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  .page-fishing-games video,
  .page-fishing-games__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

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

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

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

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

  .page-fishing-games__faq-toggle {
    font-size: 1.3em;
  }

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