.page-fishing-games {
  background-color: #FFFFFF;
  color: #333333;
  font-family: Arial, sans-serif;
  padding-top: 10px; /* Small top padding for internal content */
}

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

.page-fishing-games__hero-section {
  position: relative;
  background-color: #100224; /* Dark background for hero */
  color: #FFFFFF;
  padding: 40px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  overflow: hidden; /* Ensure content doesn't spill */
}

.page-fishing-games__hero-visual {
  width: 100%;
  max-height: 600px; /* Limit height for desktop */
  overflow: hidden;
  margin-bottom: 20px;
}

.page-fishing-games__hero-visual img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  aspect-ratio: 16/5;
}

.page-fishing-games__hero-content {
  max-width: 900px;
  padding: 0 20px;
}

.page-fishing-games__main-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 15px;
  color: #FFFFFF;
}

.page-fishing-games__hero-description {
  font-size: clamp(1rem, 2vw, 1.15rem);
  margin-bottom: 30px;
  line-height: 1.6;
}

.page-fishing-games__cta-button {
  display: inline-block;
  background: linear-gradient(90deg, #ff9500, #ff5e3a); /* Orange-red gradient */
  color: #FFFFFF;
  padding: 12px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-fishing-games__cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-fishing-games__cta-button--secondary {
  background: #017439;
}

.page-fishing-games__cta-button--secondary:hover {
  background: #005a2d;
}

.page-fishing-games__section-title {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
  color: #017439;
}

.page-fishing-games__section-description {
  text-align: center;
  font-size: 1.05rem;
  line-height: 1.6;
  max-width: 800px;
  margin: -20px auto 40px auto;
  color: #555555;
}

.page-fishing-games__why-choose-section {
  padding: 60px 0;
  background-color: #f9f9f9;
}

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

.page-fishing-games__feature-card {
  background-color: #FFFFFF;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-fishing-games__feature-card:hover {
  transform: translateY(-5px);
}

.page-fishing-games__feature-card img {
  width: 100%;
  max-width: 250px;
  height: auto;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  min-width: 200px; /* Min image size */
  min-height: 200px; /* Min image size */
}

.page-fishing-games__feature-title {
  font-size: 1.35rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: #017439;
}

.page-fishing-games__feature-text {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #555555;
}

.page-fishing-games__popular-games-section {
  padding: 60px 0;
}

.page-fishing-games__game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}

.page-fishing-games__game-card {
  display: block;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  text-decoration: none;
}

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

.page-fishing-games__game-card img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  min-width: 200px; /* Min image size */
  min-height: 200px; /* Min image size */
}

.page-fishing-games__how-to-play-section {
  padding: 60px 0;
  background-color: #f0f8f0;
}

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

.page-fishing-games__step-card {
  background-color: #FFFFFF;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  padding: 30px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-fishing-games__step-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: #017439;
  color: #FFFFFF;
  font-size: 1.8rem;
  font-weight: bold;
  margin-bottom: 20px;
}

.page-fishing-games__step-title {
  font-size: 1.35rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: #017439;
}

.page-fishing-games__step-text {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #555555;
}

.page-fishing-games__promotions-section {
  padding: 60px 0;
}

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

.page-fishing-games__promo-card {
  background-color: #FFFFFF;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.page-fishing-games__promo-card img {
  width: 100%;
  height: auto;
  object-fit: cover;
  aspect-ratio: 16/9;
  min-width: 200px; /* Min image size */
  min-height: 200px; /* Min image size */
}

.page-fishing-games__promo-card .page-fishing-games__promo-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin: 20px 20px 10px 20px;
  color: #017439;
}

.page-fishing-games__promo-card .page-fishing-games__promo-text {
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0 20px 20px 20px;
  color: #555555;
  flex-grow: 1;
}

.page-fishing-games__promo-link {
  display: inline-block;
  color: #017439;
  text-decoration: none;
  font-weight: bold;
  padding: 15px 20px;
  border-top: 1px solid #eee;
  transition: background-color 0.3s ease;
}

.page-fishing-games__promo-link:hover {
  background-color: #f0f0f0;
}

.page-fishing-games__faq-section {
  padding: 60px 0;
  background-color: #f9f9f9;
}

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

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

.page-fishing-games__faq-question {
  font-size: 1.15rem;
  font-weight: 600;
  padding: 20px;
  cursor: pointer;
  color: #017439;
  position: relative;
  margin: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.page-fishing-games__faq-question::after {
  content: '+';
  font-size: 1.5rem;
  margin-left: 10px;
  transition: transform 0.3s ease;
}

.page-fishing-games__faq-item.active .page-fishing-games__faq-question::after {
  content: '-';
  transform: rotate(180deg);
}

.page-fishing-games__faq-answer {
  padding: 0 20px 20px 20px;
  font-size: 1rem;
  line-height: 1.6;
  color: #555555;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
}

.page-fishing-games__faq-item.active .page-fishing-games__faq-answer {
  max-height: 200px; /* Adjust as needed for content */
  padding-top: 10px;
}

/* Responsive adjustments */
@media (max-width: 849px) {
  .page-fishing-games__hero-section {
    padding: 20px 0;
  }

  .page-fishing-games__hero-visual {
    margin-bottom: 15px;
  }

  .page-fishing-games__hero-visual img {
    aspect-ratio: 4/3;
  }

  .page-fishing-games__main-title {
    font-size: clamp(1.5rem, 6vw, 2.2rem);
  }

  .page-fishing-games__hero-description {
    font-size: clamp(0.9rem, 2.5vw, 1rem);
    margin-bottom: 20px;
  }

  .page-fishing-games__cta-button {
    padding: 10px 25px;
    font-size: 0.9rem;
  }

  .page-fishing-games__section-title {
    font-size: clamp(1.3rem, 5vw, 1.8rem);
    margin-bottom: 30px;
  }

  .page-fishing-games__section-description {
    margin-bottom: 30px;
  }

  .page-fishing-games__game-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  }

  .page-fishing-games__features-grid,
  .page-fishing-games__steps-grid,
  .page-fishing-games__promo-grid {
    grid-template-columns: 1fr;
  }

  /* Ensure all content area images are responsive */
  .page-fishing-games__why-choose-section img,
  .page-fishing-games__popular-games-section img,
  .page-fishing-games__how-to-play-section img,
  .page-fishing-games__promotions-section img {
    max-width: 100%;
    height: auto;
    display: block;
  }
}

@media (max-width: 549px) {
  .page-fishing-games__container {
    padding: 15px;
  }

  .page-fishing-games__game-grid {
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  }

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

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

/* Global image rules for content area to prevent overflow */
.page-fishing-games img {
  max-width: 100%;
  height: auto;
  display: block;
  box-sizing: border-box; /* Include padding and border in the element's total width and height */
}

/* Mobile overflow prevention */
@media (max-width: 768px) {
  .page-fishing-games {
    overflow-x: hidden;
  }

  .page-fishing-games__container {
    max-width: 100%;
    padding-left: 12px;
    padding-right: 12px;
  }

  .page-fishing-games__hero-section img,
  .page-fishing-games__why-choose-section img,
  .page-fishing-games__popular-games-section img,
  .page-fishing-games__how-to-play-section img,
  .page-fishing-games__promotions-section img {
    max-width: 100%;
    height: auto;
    display: block;
  }
}