.page-fishing-games {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-color-light);
  background-color: var(--black-color); /* Body background is dark */
}

/* Hero Section */
.page-fishing-games__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 600px;
  padding: 80px 20px;
  padding-top: var(--header-offset, 120px); /* Ensure space for fixed header */
  text-align: center;
  overflow: hidden;
  color: var(--white-color);
  background-color: #26A9E0; /* Primary color as background */
}

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

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

.page-fishing-games__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
}

.page-fishing-games__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: var(--white-color);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-fishing-games__hero-description {
  font-size: 1.3em;
  margin-bottom: 40px;
  color: var(--white-color);
}

.page-fishing-games__cta-buttons {
  display: flex;
  gap: 20px;
  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;
  font-size: 1.1em;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-fishing-games__btn-primary {
  background-color: #EA7C07; /* Login color for primary CTA */
  color: var(--white-color);
  border: 2px solid #EA7C07;
}

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

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

.page-fishing-games__btn-secondary:hover {
  background-color: var(--white-color);
  color: #26A9E0;
}

/* General Section Styles */
.page-fishing-games__section-title {
  font-size: 2.8em;
  text-align: center;
  margin-bottom: 60px;
  font-weight: bold;
}

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

.page-fishing-games__dark-bg {
  background-color: #26A9E0;
  color: var(--white-color);
  padding: 80px 0;
}

.page-fishing-games__light-bg {
  background-color: var(--white-color);
  color: var(--text-color-dark);
  padding: 80px 0;
}

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

.page-fishing-games__feature-card {
  background-color: var(--white-color);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  color: var(--text-color-dark);
}

.page-fishing-games__feature-icon {
  width: 100%; /* Ensure image fills card width */
  height: auto;
  max-height: 200px; /* Limit height for consistency */
  object-fit: cover;
  margin-bottom: 20px;
  border-radius: 5px;
}

.page-fishing-games__feature-title {
  font-size: 1.5em;
  margin-bottom: 15px;
  color: #26A9E0;
}

.page-fishing-games__feature-description {
  font-size: 1em;
  color: var(--text-color-dark);
}

/* How-To-Play Section */
.page-fishing-games__steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-bottom: 60px;
}

.page-fishing-games__step-card {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  color: var(--white-color);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.page-fishing-games__step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background-color: var(--white-color);
  color: #26A9E0;
  border-radius: 50%;
  font-size: 1.8em;
  font-weight: bold;
  margin-bottom: 20px;
}

.page-fishing-games__step-title {
  font-size: 1.6em;
  margin-bottom: 15px;
  color: var(--white-color);
}

.page-fishing-games__step-description {
  font-size: 1em;
  color: var(--white-color);
}

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

/* Tips Section */
.page-fishing-games__tips-content {
  display: flex;
  align-items: flex-start;
  gap: 40px;
}

.page-fishing-games__tips-image {
  flex: 1;
  max-width: 50%;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
  min-width: 200px; /* Enforce min size */
  min-height: 200px;
}

.page-fishing-games__tips-list {
  flex: 1;
  list-style: none;
  padding-left: 0;
}

.page-fishing-games__tips-list li {
  background-color: #f0f8ff; /* Light background for list items */
  padding: 15px 20px;
  margin-bottom: 10px;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  color: var(--text-color-dark);
  display: flex;
  align-items: center;
}

.page-fishing-games__tips-list li strong {
  color: #26A9E0;
  margin-right: 8px;
}

/* Gallery Section */
.page-fishing-games__gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.page-fishing-games__gallery-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 8px;
  transition: transform 0.3s ease;
  min-width: 200px; /* Enforce min size */
  min-height: 200px;
}

.page-fishing-games__gallery-item img:hover {
  transform: scale(1.05);
}

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

.page-fishing-games__faq-item {
  background-color: var(--white-color);
  border: 1px solid #e0e0e0;
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  color: var(--text-color-dark);
}

.page-fishing-games__faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  background-color: #f9f9f9;
  font-weight: bold;
  font-size: 1.1em;
  color: #26A9E0;
  list-style: none;
}

.page-fishing-games__faq-item summary::-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;
}

.page-fishing-games__faq-answer {
  padding: 15px 20px;
  background-color: var(--white-color);
  border-top: 1px solid #eee;
  font-size: 1em;
  color: var(--text-color-dark);
}

.page-fishing-games__faq-answer p {
  margin: 0;
}

/* CTA Bottom Section */
.page-fishing-games__cta-bottom-section {
  text-align: center;
  padding: 100px 20px;
}

.page-fishing-games__cta-container {
  max-width: 800px;
}

.page-fishing-games__cta-title {
  font-size: 3em;
  margin-bottom: 20px;
  color: var(--white-color);
}

.page-fishing-games__cta-description {
  font-size: 1.2em;
  margin-bottom: 40px;
  color: var(--white-color);
}

.page-fishing-games__btn-primary--large {
  padding: 18px 40px;
  font-size: 1.2em;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-fishing-games__hero-title {
    font-size: 3em;
  }
  .page-fishing-games__section-title {
    font-size: 2.2em;
  }
  .page-fishing-games__tips-content {
    flex-direction: column;
    align-items: center;
  }
  .page-fishing-games__tips-image {
    max-width: 80%;
  }
}

@media (max-width: 768px) {
  .page-fishing-games__hero-section {
    padding-top: var(--header-offset, 120px) !important;
    min-height: 500px;
  }
  .page-fishing-games__hero-title {
    font-size: 2.2em;
  }
  .page-fishing-games__hero-description {
    font-size: 1em;
  }
  .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;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-fishing-games__section-title {
    font-size: 1.8em;
    margin-bottom: 40px;
  }
  .page-fishing-games__dark-bg, .page-fishing-games__light-bg {
    padding: 60px 0;
  }
  .page-fishing-games__container {
    padding: 0 15px !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-fishing-games__feature-card, .page-fishing-games__step-card {
    padding: 20px;
  }
  .page-fishing-games__tips-image {
    max-width: 100%;
  }
  .page-fishing-games__tips-list li {
    font-size: 0.95em;
    padding: 12px 15px;
  }
  .page-fishing-games__gallery-item img {
    height: 200px;
  }
  .page-fishing-games__cta-title {
    font-size: 2em;
  }
  .page-fishing-games__cta-description {
    font-size: 1em;
  }
  .page-fishing-games__btn-primary--large {
    font-size: 1.1em;
    padding: 15px 30px;
  }
  /* 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,
  .page-fishing-games__feature-icon,
  .page-fishing-games__tips-image,
  .page-fishing-games__gallery-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
  /* Content area images minimum size enforcement */
  .page-fishing-games__features-grid img,
  .page-fishing-games__tips-content img,
  .page-fishing-games__gallery-grid img {
    min-width: 200px !important;
    min-height: 200px !important;
  }
  /* Ensure no image filter is applied */
  .page-fishing-games img {
    filter: none !important;
  }
}

@media (max-width: 480px) {
  .page-fishing-games__hero-title {
    font-size: 1.8em;
  }
  .page-fishing-games__section-title {
    font-size: 1.6em;
  }
  .page-fishing-games__features-grid, .page-fishing-games__steps-grid, .page-fishing-games__gallery-grid {
    grid-template-columns: 1fr;
  }
  .page-fishing-games__tips-list li {
    font-size: 0.9em;
  }
  .page-fishing-games__cta-title {
    font-size: 1.8em;
  }
}