/* style/fishing-games.css */
.page-fishing-games {
  font-family: 'Arial', sans-serif;
  background-color: #08160F; /* Custom Background */
  color: #F2FFF6; /* Custom Text Main */
  line-height: 1.6;
}

.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: #F2FFF6; /* Custom Text Main */
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
  line-height: 1.2;
}

.page-fishing-games__section-description {
  font-size: 1.1em;
  color: #A7D9B8; /* Custom Text Secondary */
  text-align: center;
  margin-bottom: 50px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Hero Section */
.page-fishing-games__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 10px 0 80px 0; /* body handles header-offset, this is decorative top padding */
  overflow: hidden;
  background-color: #08160F;
}

.page-fishing-games__hero-image-wrapper {
  width: 100%;
  max-height: 700px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 40px;
}

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

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

.page-fishing-games__hero-title {
  font-size: clamp(2.5em, 5vw, 3.5em); /* Using clamp as per rule */
  color: #F2FFF6;
  font-weight: bold;
  margin-bottom: 20px;
  line-height: 1.2;
  letter-spacing: -1px;
}

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

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

/* 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;
  font-size: 1.1em;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%; /* For responsiveness */
  white-space: normal; /* Allow text wrap */
  word-wrap: break-word; /* Allow text wrap */
}

.page-fishing-games__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Custom Button */
  color: #F2FFF6; /* Custom Text Main */
  border: 2px solid transparent;
}

.page-fishing-games__btn-primary:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(34, 199, 104, 0.4);
}

.page-fishing-games__btn-secondary {
  background: transparent;
  color: #2AD16F; /* Adjusted for contrast on dark background */
  border: 2px solid #2E7A4E; /* Custom Border */
}

.page-fishing-games__btn-secondary:hover {
  background-color: rgba(34, 199, 104, 0.1);
  color: #F2FFF6;
  transform: translateY(-2px);
}

.page-fishing-games__btn-primary--center,
.page-fishing-games__btn-secondary--center {
  display: block;
  margin: 40px auto 0 auto;
  width: fit-content;
}

.page-fishing-games__btn-text {
  color: #57E38D; /* Custom Glow */
  text-decoration: underline;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-fishing-games__btn-text:hover {
  color: #F2FFF6;
}

/* Generic Section Styling */
.page-fishing-games__about-section,
.page-fishing-games__highlights-section,
.page-fishing-games__how-to-play-section,
.page-fishing-games__popular-games-section,
.page-fishing-games__promotions-section,
.page-fishing-games__why-choose-section,
.page-fishing-games__faq-section,
.page-fishing-games__cta-bottom-section {
  padding: 80px 0;
}

.page-fishing-games__content-wrapper {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-top: 50px;
}

.page-fishing-games__content-wrapper--reverse {
  flex-direction: row-reverse;
}

.page-fishing-games__text-content,
.page-fishing-games__steps-list {
  flex: 1;
}

.page-fishing-games__image {
  flex: 1;
  max-width: 50%;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
  display: block;
}

.page-fishing-games__image--center {
  display: block;
  margin: 50px auto 0 auto;
  max-width: 800px;
  width: 100%;
}

/* About Section */
.page-fishing-games__about-section p {
  color: #A7D9B8;
  margin-bottom: 20px;
}

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

.page-fishing-games__highlight-item {
  background-color: #11271B; /* Custom Card BG */
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid #2E7A4E;
}

.page-fishing-games__highlight-title {
  font-size: 1.5em;
  color: #F2FFF6;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-fishing-games__highlight-item p {
  color: #A7D9B8;
}

/* How to Play Section */
.page-fishing-games__step-item {
  background-color: #11271B;
  padding: 25px;
  border-radius: 8px;
  margin-bottom: 20px;
  border: 1px solid #2E7A4E;
}

.page-fishing-games__step-title {
  font-size: 1.3em;
  color: #F2FFF6;
  margin-bottom: 10px;
  font-weight: bold;
}

.page-fishing-games__step-item p {
  color: #A7D9B8;
}

.page-fishing-games__step-item a {
  color: #57E38D;
  text-decoration: none;
}

.page-fishing-games__step-item a:hover {
  text-decoration: underline;
}

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

.page-fishing-games__game-card {
  background-color: #11271B;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid #2E7A4E;
  display: flex;
  flex-direction: column;
}

.page-fishing-games__game-card-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
}

.page-fishing-games__game-card-title {
  font-size: 1.4em;
  color: #F2FFF6;
  margin: 20px 20px 10px 20px;
  font-weight: bold;
}

.page-fishing-games__game-card-description {
  color: #A7D9B8;
  margin: 0 20px 20px 20px;
  flex-grow: 1;
}

.page-fishing-games__game-card .page-fishing-games__btn-primary {
  margin: 0 20px 20px 20px;
  text-align: center;
  width: calc(100% - 40px);
}

/* Promotions Section */
.page-fishing-games__promo-list {
  list-style: none;
  padding: 0;
  margin-top: 20px;
}

.page-fishing-games__promo-list li {
  background-color: #11271B;
  padding: 20px;
  border-radius: 8px;
  margin-bottom: 15px;
  border: 1px solid #2E7A4E;
}

.page-fishing-games__promo-title {
  font-size: 1.4em;
  color: #F2FFF6;
  margin-bottom: 10px;
  font-weight: bold;
}

.page-fishing-games__promo-list li p {
  color: #A7D9B8;
}

/* Why Choose Section */
.page-fishing-games__reason-item {
  background-color: #11271B;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid #2E7A4E;
}

.page-fishing-games__reason-title {
  font-size: 1.5em;
  color: #F2FFF6;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-fishing-games__reason-item p {
  color: #A7D9B8;
  margin-bottom: 15px;
}

/* FAQ Section */
.page-fishing-games__faq-list {
  margin-top: 50px;
}

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

.page-fishing-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.2em;
  color: #F2FFF6;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease;
  list-style: none; /* For details/summary */
}

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

.page-fishing-games__faq-question:hover {
  background-color: rgba(34, 199, 104, 0.1);
}

.page-fishing-games__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  color: #57E38D;
}

.page-fishing-games__faq-answer {
  padding: 0 20px 20px 20px;
  color: #A7D9B8;
  line-height: 1.6;
}

.page-fishing-games__faq-answer p {
  color: #A7D9B8;
}

.page-fishing-games__faq-answer a {
  color: #57E38D;
  text-decoration: none;
}

.page-fishing-games__faq-answer a:hover {
  text-decoration: underline;
}

/* CTA Bottom Section */
.page-fishing-games__cta-bottom-section {
  text-align: center;
  background-color: #11271B;
  padding: 60px 20px;
  border-top: 1px solid #2E7A4E;
}

.page-fishing-games__cta-bottom-section .page-fishing-games__section-title {
  margin-bottom: 20px;
}

.page-fishing-games__cta-bottom-section .page-fishing-games__section-description {
  margin-bottom: 40px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-fishing-games__content-wrapper {
    flex-direction: column;
  }

  .page-fishing-games__content-wrapper--reverse {
    flex-direction: column;
  }

  .page-fishing-games__image {
    max-width: 100%;
  }
}

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

  .page-fishing-games__section-title {
    font-size: 2em;
    margin-bottom: 30px;
  }

  .page-fishing-games__hero-title {
    font-size: clamp(2em, 8vw, 2.5em);
  }

  .page-fishing-games__hero-description {
    font-size: 1em;
  }

  .page-fishing-games__hero-cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-fishing-games__btn-primary,
  .page-fishing-games__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

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

  .page-fishing-games__about-section,
  .page-fishing-games__highlights-section,
  .page-fishing-games__how-to-play-section,
  .page-fishing-games__popular-games-section,
  .page-fishing-games__promotions-section,
  .page-fishing-games__why-choose-section,
  .page-fishing-games__faq-section,
  .page-fishing-games__cta-bottom-section {
    padding: 40px 0;
  }

  .page-fishing-games__container {
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-fishing-games__image,
  .page-fishing-games__game-card-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-fishing-games__image--center {
    max-width: 100% !important;
    width: 100% !important;
  }

  .page-fishing-games__game-card .page-fishing-games__btn-primary {
    width: calc(100% - 40px) !important;
  }

  .page-fishing-games__cta-buttons {
    flex-direction: column;
    gap: 10px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 0 15px;
  }

  .page-fishing-games__cta-buttons .page-fishing-games__btn-primary,
  .page-fishing-games__cta-buttons .page-fishing-games__btn-secondary {
    width: 100% !important;
  }

  .page-fishing-games__video-section {
    padding-top: 10px !important;
  }
}

/* Ensure all content area images meet min size requirement */
.page-fishing-games__content-area img,
.page-fishing-games__about-section img,
.page-fishing-games__highlights-section img,
.page-fishing-games__how-to-play-section img,
.page-fishing-games__popular-games-section img,
.page-fishing-games__promotions-section img,
.page-fishing-games__why-choose-section img,
.page-fishing-games__game-card-image {
  min-width: 200px;
  min-height: 200px;
}

@media (max-width: 768px) {
  .page-fishing-games__content-area img,
  .page-fishing-games__about-section img,
  .page-fishing-games__highlights-section img,
  .page-fishing-games__how-to-play-section img,
  .page-fishing-games__popular-games-section img,
  .page-fishing-games__promotions-section img,
  .page-fishing-games__why-choose-section img,
  .page-fishing-games__game-card-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    min-width: unset !important; /* Allow smaller on mobile if scaled down */
    min-height: unset !important;
  }
}