.page-fishing-games {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: #000000; /* Ensure content area respects body background */
}

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

.page-fishing-games__container--flex {
  display: flex;
  align-items: center;
  gap: 40px;
}

.page-fishing-games__hero-section {
  position: relative;
  padding: 100px 0 60px;
  padding-top: var(--header-offset, 120px); /* Fixed header offset */
  text-align: center;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 600px;
}

.page-fishing-games__hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6); /* Overlay for readability */
  z-index: 1;
}

.page-fishing-games__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

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

.page-fishing-games__hero-container {
  position: relative;
  z-index: 2;
  color: #ffffff;
}

.page-fishing-games__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #FFFF00; /* Highlighted title for visibility */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-fishing-games__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #ffffff;
}

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

.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: background-color 0.3s ease, transform 0.3s ease;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text wrapping */
  max-width: 100%;
  box-sizing: border-box;
}

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

.page-fishing-games__btn-primary:hover {
  background-color: #005a2e;
  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);
}

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

.page-fishing-games__section-description {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 50px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-fishing-games__about-section,
.page-fishing-games__how-to-play,
.page-fishing-games__promotions,
.page-fishing-games__faq-section {
  padding: 80px 0;
  color: #333333; /* Dark text for light background */
  background-color: #ffffff;
}

.page-fishing-games__games-showcase,
.page-fishing-games__tips-strategies,
.page-fishing-games__mobile-app {
  padding: 80px 0;
  color: #ffffff; /* Light text for dark background */
  background-color: #017439;
}

.page-fishing-games__content-area {
  font-size: 1.1em;
  max-width: 900px;
  margin: 0 auto;
}

.page-fishing-games__content-area p {
  margin-bottom: 20px;
}

.page-fishing-games__content-area a {
  color: #017439;
  text-decoration: underline;
}

.page-fishing-games__content-area a:hover {
  color: #005a2e;
}

.page-fishing-games__games-showcase .page-fishing-games__section-title,
.page-fishing-games__tips-strategies .page-fishing-games__section-title,
.page-fishing-games__mobile-app .page-fishing-games__section-title {
  color: #ffffff;
}

.page-fishing-games__games-showcase .page-fishing-games__section-description,
.page-fishing-games__tips-strategies .page-fishing-games__section-description,
.page-fishing-games__mobile-app .page-fishing-games__section-description {
  color: #f0f0f0;
}

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

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

.page-fishing-games__card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  margin-bottom: 20px;
}

.page-fishing-games__card-title {
  font-size: 1.5em;
  margin-bottom: 15px;
  padding: 0 15px;
}

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

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

.page-fishing-games__card-text {
  font-size: 1em;
  margin-bottom: 20px;
  padding: 0 15px;
  flex-grow: 1;
}

.page-fishing-games__card .page-fishing-games__btn-primary {
  margin: 0 auto;
}

.page-fishing-games__ordered-list,
.page-fishing-games__unordered-list {
  list-style-position: inside;
  margin-bottom: 20px;
  padding-left: 0;
}

.page-fishing-games__ordered-list li,
.page-fishing-games__unordered-list li {
  margin-bottom: 10px;
  font-size: 1.1em;
  color: inherit;
}

.page-fishing-games__ordered-list li strong,
.page-fishing-games__unordered-list li strong {
  color: #017439;
}

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

.page-fishing-games__mobile-app .page-fishing-games__container--flex {
  flex-direction: row;
  align-items: center;
  gap: 40px;
}

.page-fishing-games__app-content {
  flex: 1;
  text-align: left;
}

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

.page-fishing-games__app-image {
  max-width: 100%;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  display: block;
  margin: 0 auto;
}

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

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

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

.page-fishing-games__faq-question:hover {
  background-color: #005a2e;
}

.page-fishing-games__faq-question h3 {
  margin: 0;
  color: inherit;
}

.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 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  background-color: #ffffff;
  color: #333333;
}

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

.page-fishing-games__faq-answer p {
  margin: 0;
  padding-top: 10px;
}

.page-fishing-games__faq-answer a {
  color: #017439;
  text-decoration: underline;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-fishing-games__hero-title {
    font-size: 3em;
  }
  .page-fishing-games__section-title {
    font-size: 2em;
  }
  .page-fishing-games__container--flex {
    flex-direction: column;
  }
  .page-fishing-games__app-content,
  .page-fishing-games__app-image-wrapper {
    text-align: center;
  }
}

@media (max-width: 768px) {
  .page-fishing-games__hero-section {
    min-height: 400px;
    padding: 80px 0 40px;
    padding-top: var(--header-offset, 120px) !important; /* Mobile header offset */
  }
  .page-fishing-games__hero-title {
    font-size: 2.2em;
  }
  .page-fishing-games__hero-description {
    font-size: 1em;
  }
  .page-fishing-games__hero-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;
  }
  .page-fishing-games__section-title {
    font-size: 1.8em;
  }
  .page-fishing-games__section-description {
    font-size: 0.95em;
  }
  .page-fishing-games__about-section,
  .page-fishing-games__games-showcase,
  .page-fishing-games__how-to-play,
  .page-fishing-games__tips-strategies,
  .page-fishing-games__promotions,
  .page-fishing-games__mobile-app,
  .page-fishing-games__faq-section {
    padding: 50px 0;
  }
  .page-fishing-games__game-cards,
  .page-fishing-games__promo-cards {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-fishing-games__card-image {
    height: 180px;
  }
  .page-fishing-games__card-title {
    font-size: 1.3em;
  }
  .page-fishing-games__card-text {
    font-size: 0.95em;
  }
  .page-fishing-games__ordered-list li,
  .page-fishing-games__unordered-list li {
    font-size: 1em;
  }
  .page-fishing-games__app-image {
    width: 80%;
  }
  .page-fishing-games__faq-question {
    padding: 15px 20px;
    font-size: 1.1em;
  }
  .page-fishing-games__faq-answer {
    padding: 0 20px;
  }
  .page-fishing-games__faq-item.active .page-fishing-games__faq-answer {
    padding: 10px 20px;
  }
  
  /* Force responsive images, videos, and containers */
  .page-fishing-games img {
    max-width: 100% !important;
    height: auto !important;
    display: block !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__section,
  .page-fishing-games__card,
  .page-fishing-games__container,
  .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__hero-buttons,
  .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;
  }
  .page-fishing-games__cta-buttons {
    flex-direction: column;
  }
}

@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;
  }
  .page-fishing-games__hero-buttons {
    flex-direction: column;
  }
}