.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 main 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__section-title {
  font-size: 2.5em;
  color: #26A9E0;
  text-align: center;
  margin-bottom: 30px;
  font-weight: bold;
}

.page-fishing-games__section-description,
.page-fishing-games__text-block {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 20px;
  color: #f0f0f0;
}

.page-fishing-games__dark-bg {
  background-color: #0d0d0d; /* Slightly lighter dark for contrast with #000000 body */
  color: #ffffff;
  padding: 80px 0;
}

.page-fishing-games__light-bg {
  background-color: #ffffff;
  color: #333333;
  padding: 80px 0;
}

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

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

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

.page-fishing-games__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  padding: 20px;
}

.page-fishing-games__hero-title {
  font-size: 3.5em;
  color: #ffffff;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-fishing-games__hero-description {
  font-size: 1.3em;
  color: #f0f0f0;
  margin-bottom: 40px;
}

/* Buttons */
.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: all 0.3s ease;
  margin: 10px;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

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

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

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

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

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

.page-fishing-games__game-card {
  background-color: rgba(255, 255, 255, 0.05); /* Semi-transparent white for cards on dark background */
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
  color: #ffffff;
}

.page-fishing-games__game-card:hover {
  transform: translateY(-10px);
}

.page-fishing-games__game-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  min-width: 200px; /* Enforce min size */
  min-height: 200px;
}

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

.page-fishing-games__game-description {
  font-size: 1em;
  color: #f0f0f0;
  margin-bottom: 20px;
}

/* How to Play */
.page-fishing-games__steps-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
  text-align: left;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-fishing-games__list-item {
  background-color: #f9f9f9;
  border-left: 5px solid #26A9E0;
  padding: 20px;
  margin-bottom: 15px;
  border-radius: 8px;
  font-size: 1.1em;
  color: #333333;
}

.page-fishing-games__list-item strong {
  color: #26A9E0;
}

.page-fishing-games__list-item a {
  color: #EA7C07; /* Login color for links */
  text-decoration: underline;
}

.page-fishing-games__list-item a:hover {
  color: #d16e06;
}

/* Advantages Section */
.page-fishing-games__advantage-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-fishing-games__advantage-item {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  color: #ffffff;
}

.page-fishing-games__advantage-title {
  font-size: 1.4em;
  color: #26A9E0;
  margin-bottom: 10px;
}

.page-fishing-games__advantage-description {
  font-size: 1em;
  color: #f0f0f0;
}

/* App Download Section */
.page-fishing-games__flex-container {
  display: flex;
  align-items: center;
  justify-content: 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: 10px;
  min-width: 200px; /* Enforce min size */
  min-height: 200px;
}

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

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

.page-fishing-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.2em;
  font-weight: bold;
  cursor: pointer;
  background-color: #e0f2f7; /* Light blue for question background */
  color: #26A9E0;
  border-bottom: 1px solid #d0e7ed;
}

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

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

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

.page-fishing-games__faq-answer p {
  margin-bottom: 0;
  text-align: left;
}

/* CTA Section */
.page-fishing-games__cta-section .page-fishing-games__btn-primary,
.page-fishing-games__cta-section .page-fishing-games__btn-secondary {
  margin-top: 30px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-fishing-games__hero-title {
    font-size: 3em;
  }
  .page-fishing-games__section-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-fishing-games {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-fishing-games__hero-section {
    padding: 80px 0;
    padding-top: var(--header-offset, 120px) !important; /* Ensure mobile offset */
  }
  .page-fishing-games__hero-title {
    font-size: 2.5em;
  }
  .page-fishing-games__hero-description {
    font-size: 1.1em;
  }
  .page-fishing-games__game-grid,
  .page-fishing-games__advantage-grid {
    grid-template-columns: 1fr;
  }
  .page-fishing-games__flex-container {
    flex-direction: column;
  }
  .page-fishing-games__app-content,
  .page-fishing-games__app-image-wrapper {
    text-align: center;
  }
  .page-fishing-games__app-image {
    margin-top: 30px;
  }
  .page-fishing-games__btn-primary,
  .page-fishing-games__btn-secondary {
    width: calc(100% - 30px) !important; /* Full width with padding */
    margin-left: 15px;
    margin-right: 15px;
  }

  .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__game-card,
  .page-fishing-games__advantage-item,
  .page-fishing-games__app-content,
  .page-fishing-games__app-image-wrapper,
  .page-fishing-games__flex-container,
  .page-fishing-games__faq-item,
  .page-fishing-games__cta-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

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

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

  .page-fishing-games__faq-item.active .page-fishing-games__faq-answer {
    padding: 15px !important;
  }

  .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;
    display: flex;
    flex-direction: column;
  }
  .page-fishing-games__hero-image-wrapper {
    filter: brightness(0.6); /* Slightly less dark on mobile for clarity */
  }
}