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

.page-fishing-games__section {
  padding: 60px 20px;
  margin-bottom: 0;
  box-sizing: border-box;
}

.page-fishing-games__dark-section {
  background-color: #26A9E0; /* Primary color as background */
  color: #ffffff;
}

.page-fishing-games__light-bg {
  background-color: #ffffff;
  color: #333333; /* Dark text for light background */
}

.page-fishing-games__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 10px 20px 60px; /* Small top padding, more bottom */
  overflow: hidden;
  min-height: 500px;
}

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

.page-fishing-games__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.7); /* Darken image slightly for text readability */
}

.page-fishing-games__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
  padding: 20px;
  background-color: rgba(0, 0, 0, 0.4); /* Semi-transparent background for text */
  border-radius: 8px;
}

.page-fishing-games__main-title {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-fishing-games__hero-description {
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  color: #f0f0f0;
  margin-bottom: 30px;
}

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

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

.page-fishing-games__btn-primary {
  background-color: #EA7C07; /* Login color */
  color: #ffffff;
  border: 2px solid #EA7C07;
}

.page-fishing-games__btn-primary:hover {
  background-color: #d46a00;
  border-color: #d46a00;
}

.page-fishing-games__btn-secondary {
  background-color: #ffffff;
  color: #26A9E0;
  border: 2px solid #26A9E0;
}

.page-fishing-games__btn-secondary:hover {
  background-color: #26A9E0;
  color: #ffffff;
}

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

.page-fishing-games__section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  margin-bottom: 30px;
  text-align: center;
  color: inherit; /* Inherit from section for contrast */
}

.page-fishing-games__sub-title {
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 600;
  margin-top: 30px;
  margin-bottom: 15px;
  color: inherit;
}

.page-fishing-games__paragraph {
  font-size: 1.1rem;
  margin-bottom: 15px;
  line-height: 1.7;
  color: inherit;
}

.page-fishing-games__paragraph strong {
  color: inherit; /* Ensure strong text has good contrast */
}

.page-fishing-games__image-text-grid {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-top: 40px;
  margin-bottom: 40px;
}

.page-fishing-games__image-text-grid--reverse {
  flex-direction: row-reverse;
}

.page-fishing-games__text-block {
  flex: 1;
}

.page-fishing-games__image-container {
  flex: 1;
  text-align: center;
}

.page-fishing-games__image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  display: block; /* Ensure image behaves as block for max-width */
}

.page-fishing-games__center-image {
  display: flex;
  justify-content: center;
  margin-top: 30px;
  margin-bottom: 30px;
}

.page-fishing-games__game-list,
.page-fishing-games__guide-list,
.page-fishing-games__tips-list,
.page-fishing-games__promo-list {
  list-style: none;
  padding: 0;
  margin: 30px 0;
}

.page-fishing-games__game-list .page-fishing-games__list-item,
.page-fishing-games__guide-list .page-fishing-games__list-item,
.page-fishing-games__tips-list .page-fishing-games__list-item,
.page-fishing-games__promo-list .page-fishing-games__list-item {
  background-color: rgba(255, 255, 255, 0.1); /* Light background for list items on dark sections */
  padding: 20px;
  margin-bottom: 15px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  color: #ffffff; /* Light text for list items on dark sections */
}

.page-fishing-games__light-bg .page-fishing-games__list-item {
  background-color: #f9f9f9; /* Lighter background for list items on light sections */
  color: #333333; /* Dark text for list items on light sections */
}

.page-fishing-games__list-title {
  font-size: 1.3rem;
  font-weight: 600;
  margin-top: 0;
  margin-bottom: 10px;
  color: inherit;
}

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

.page-fishing-games__center-buttons {
  text-align: center;
}

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

.page-fishing-games__faq-item {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #ffffff;
}

.page-fishing-games__light-bg .page-fishing-games__faq-item {
  background-color: #f9f9f9;
  color: #333333;
}

.page-fishing-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  background-color: rgba(0, 0, 0, 0.2);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: background-color 0.3s ease;
  list-style: none; /* For details/summary native marker */
}

.page-fishing-games__faq-item[open] .page-fishing-games__faq-question {
  background-color: rgba(0, 0, 0, 0.3);
}

.page-fishing-games__light-bg .page-fishing-games__faq-question {
  background-color: #e0e0e0;
  border-bottom: 1px solid #d0d0d0;
}

.page-fishing-games__light-bg .page-fishing-games__faq-item[open] .page-fishing-games__faq-question {
  background-color: #d0d0d0;
}

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

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

.page-fishing-games__faq-toggle {
  font-size: 1.5rem;
  font-weight: bold;
  margin-left: 15px;
  color: inherit;
}

.page-fishing-games__faq-answer {
  padding: 0 20px 20px;
  font-size: 1rem;
  line-height: 1.6;
  color: inherit;
}

/* Responsive Styles */
@media (max-width: 992px) {
  .page-fishing-games__image-text-grid {
    flex-direction: column;
  }
  .page-fishing-games__image-text-grid--reverse {
    flex-direction: column;
  }
}

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

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

  .page-fishing-games__hero-content {
    padding: 15px;
  }

  .page-fishing-games__main-title {
    font-size: clamp(1.8rem, 7vw, 2.5rem);
  }

  .page-fishing-games__hero-description {
    font-size: clamp(0.9rem, 2.5vw, 1.1rem);
  }

  .page-fishing-games__section {
    padding: 40px 15px;
  }

  .page-fishing-games__section-title {
    font-size: clamp(1.5rem, 6vw, 2.2rem);
    margin-bottom: 20px;
  }

  .page-fishing-games__sub-title {
    font-size: clamp(1.2rem, 4.5vw, 1.6rem);
    margin-top: 20px;
    margin-bottom: 10px;
  }

  .page-fishing-games__paragraph {
    font-size: 1rem;
    margin-bottom: 10px;
  }

  .page-fishing-games img {
    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__hero-section,
  .page-fishing-games__image-text-grid,
  .page-fishing-games__image-container,
  .page-fishing-games__text-block {
    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-section {
    padding-top: 10px !important;
  }

  .page-fishing-games__cta-button,
  .page-fishing-games__btn-primary,
  .page-fishing-games__btn-secondary,
  .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-left: 15px;
    padding-right: 15px;
  }

  .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;
    flex-direction: column; /* Stack buttons vertically on mobile */
  }

  .page-fishing-games__game-list .page-fishing-games__list-item,
  .page-fishing-games__guide-list .page-fishing-games__list-item,
  .page-fishing-games__tips-list .page-fishing-games__list-item,
  .page-fishing-games__promo-list .page-fishing-games__list-item {
    padding: 15px;
  }

  .page-fishing-games__list-title {
    font-size: 1.1rem;
  }

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

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