.page-fishing-games {
  background-color: var(--bg-color, #08160F);
  color: var(--text-main, #F2FFF6);
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
}

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

.page-fishing-games__container--flex {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.page-fishing-games__dark-bg {
  background-color: var(--background, #08160F);
  color: var(--text-main, #F2FFF6);
}

.page-fishing-games__light-bg {
  background-color: #f8f9fa;
  color: var(--text-secondary, #333333);
}

.page-fishing-games__section-title {
  font-size: 2.5em;
  font-weight: bold;
  text-align: center;
  margin-bottom: 30px;
  color: inherit; /* Inherit from section */
  line-height: 1.2;
}

.page-fishing-games__main-title {
  font-weight: bold;
  text-align: center;
  margin-bottom: 20px;
  color: var(--text-main, #F2FFF6);
  line-height: 1.1;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  font-size: clamp(2em, 4vw, 3.5em); /* Use clamp for H1 */
}

.page-fishing-games__subtitle {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 40px;
  color: var(--text-secondary, #A7D9B8);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-fishing-games__subtitle-text {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 30px;
  color: inherit;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-fishing-games__text-block {
  margin-bottom: 20px;
  text-align: justify;
  color: inherit;
}

.page-fishing-games p {
  color: inherit;
}

.page-fishing-games a {
  color: var(--glow, #57E38D);
  text-decoration: none;
}

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

/* Buttons */
.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  border: 2px solid transparent;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-fishing-games__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #ffffff; /* White text for primary button */
}

.page-fishing-games__btn-primary:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  box-shadow: 0 4px 15px rgba(34, 199, 104, 0.4);
}

.page-fishing-games__btn-secondary {
  background-color: transparent;
  color: var(--text-main, #F2FFF6);
  border-color: var(--border, #2E7A4E);
}

.page-fishing-games__btn-secondary:hover {
  background-color: var(--deep-green, #0A4B2C);
  border-color: var(--deep-green, #0A4B2C);
  color: #ffffff;
}

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

.page-fishing-games__cta-buttons--centered {
  margin: 0 auto;
}

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

.page-fishing-games__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  margin-bottom: 40px;
  text-align: center;
}

.page-fishing-games__hero-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  max-width: 1200px; /* Limit image width */
  margin: 0 auto;
}

.page-fishing-games__hero-content {
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

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

/* Games Showcase Section */
.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;
  margin-top: 40px;
}

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

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

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

.page-fishing-games__game-title {
  font-size: 1.6em;
  font-weight: bold;
  margin-bottom: 10px;
  color: var(--gold, #F2C14E);
}

.page-fishing-games__game-description {
  font-size: 0.95em;
  margin-bottom: 20px;
  color: var(--text-secondary, #A7D9B8);
}

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

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

.page-fishing-games__feature-item {
  background-color: #ffffff; /* Light background for features */
  border-radius: 15px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  color: #333333; /* Dark text for light background */
}

.page-fishing-games__feature-icon {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-fishing-games__feature-title {
  font-size: 1.4em;
  font-weight: bold;
  margin-bottom: 10px;
  color: var(--deep-green, #0A4B2C);
}

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

/* How To Play Section */
.page-fishing-games__how-to-play {
  padding: 80px 0;
}

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

.page-fishing-games__step-card {
  background-color: var(--card-bg, #11271B);
  border-radius: 15px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  color: var(--text-main, #F2FFF6);
}

.page-fishing-games__step-title {
  font-size: 1.5em;
  font-weight: bold;
  margin-bottom: 15px;
  color: var(--gold, #F2C14E);
}

.page-fishing-games__step-description {
  font-size: 0.95em;
  margin-bottom: 20px;
  color: var(--text-secondary, #A7D9B8);
}

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

.page-fishing-games__tips-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}

.page-fishing-games__tips-list li {
  background-color: #ffffff;
  border-left: 5px solid var(--deep-green, #0A4B2C);
  padding: 15px 20px;
  margin-bottom: 15px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  font-size: 1.05em;
  color: #333333;
}

.page-fishing-games__tips-list li strong {
  color: var(--deep-green, #0A4B2C);
}

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

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

.page-fishing-games__promo-card {
  background-color: var(--card-bg, #11271B);
  border-radius: 15px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  color: var(--text-main, #F2FFF6);
}

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

.page-fishing-games__promo-title {
  font-size: 1.6em;
  font-weight: bold;
  margin-bottom: 10px;
  color: var(--gold, #F2C14E);
}

.page-fishing-games__promo-description {
  font-size: 0.95em;
  margin-bottom: 20px;
  color: var(--text-secondary, #A7D9B8);
}

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

.page-fishing-games__faq-list {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}

.page-fishing-games__faq-item {
  background-color: #ffffff;
  border-radius: 10px;
  margin-bottom: 15px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  color: #333333;
}

.page-fishing-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.15em;
  font-weight: bold;
  cursor: pointer;
  background-color: #f5f5f5;
  color: var(--deep-green, #0A4B2C);
  border-bottom: 1px solid #e0e0e0;
  list-style: none; /* For details/summary */
}

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

.page-fishing-games__faq-qtext {
  flex-grow: 1;
}

.page-fishing-games__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  color: var(--deep-green, #0A4B2C);
}

.page-fishing-games__faq-answer {
  padding: 20px 25px;
  font-size: 1em;
  line-height: 1.7;
  color: #555555;
  /* For JS-controlled div, use max-height transition */
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}

.page-fishing-games__faq-item[open] .page-fishing-games__faq-answer {
  max-height: 500px; /* Adjust as needed for content length */
  transition: max-height 0.3s ease-in;
}

.page-fishing-games__faq-item.active .page-fishing-games__faq-answer {
  max-height: 500px !important; /* For JS-controlled div, ensure it opens */
}

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

.page-fishing-games__cta-text-content {
  flex: 1;
  min-width: 300px;
}

.page-fishing-games__cta-buttons--centered {
  flex: 1;
  min-width: 300px;
}

/* Image & Video Responsiveness */
.page-fishing-games img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

/* Media Queries */
@media (max-width: 1024px) {
  .page-fishing-games__section-title {
    font-size: 2em;
  }
  .page-fishing-games__main-title {
    font-size: clamp(1.8em, 5vw, 3em);
  }
  .page-fishing-games__game-grid,
  .page-fishing-games__features-grid,
  .page-fishing-games__steps-grid,
  .page-fishing-games__promo-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-fishing-games__hero-section {
    padding: 40px 15px;
    padding-top: 10px !important; /* body handles --header-offset, small top padding for this section */
  }
  .page-fishing-games__hero-image-wrapper {
    margin-bottom: 30px;
  }
  .page-fishing-games__main-title {
    font-size: clamp(1.6em, 6vw, 2.5em);
  }
  .page-fishing-games__subtitle,
  .page-fishing-games__subtitle-text {
    font-size: 1em;
    margin-bottom: 30px;
  }
  .page-fishing-games__section-title {
    font-size: 1.8em;
    margin-bottom: 25px;
  }
  .page-fishing-games__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-fishing-games__btn-primary,
  .page-fishing-games__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  /* Mobile image responsiveness */
  .page-fishing-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  /* Mobile video responsiveness */
  .page-fishing-games video,
  .page-fishing-games__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  /* Mobile container responsiveness */
  .page-fishing-games__section,
  .page-fishing-games__card,
  .page-fishing-games__container,
  .page-fishing-games__video-section,
  .page-fishing-games__video-container,
  .page-fishing-games__video-wrapper,
  .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;
    overflow: hidden !important; /* Ensure no overflow */
  }

  .page-fishing-games__about-section,
  .page-fishing-games__games-showcase,
  .page-fishing-games__features-section,
  .page-fishing-games__how-to-play,
  .page-fishing-games__tips-section,
  .page-fishing-games__promotions-section,
  .page-fishing-games__faq-section,
  .page-fishing-games__download-cta {
    padding: 50px 0;
  }
  .page-fishing-games__game-grid,
  .page-fishing-games__features-grid,
  .page-fishing-games__steps-grid,
  .page-fishing-games__promo-grid {
    grid-template-columns: 1fr;
  }
  .page-fishing-games__feature-icon {
    width: 80px;
    height: 80px;
  }
  .page-fishing-games__faq-question {
    padding: 15px 20px;
    font-size: 1.05em;
  }
  .page-fishing-games__faq-answer {
    padding: 15px 20px;
  }
  .page-fishing-games__container--flex {
    flex-direction: column;
  }
  .page-fishing-games__cta-text-content,
  .page-fishing-games__cta-buttons--centered {
    width: 100%;
  }
}