/* style/fishing-games.css */
.page-fishing-games {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: #1a1a2e; /* Inherited from shared.css, set for consistency */
}

.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: #017439; /* Brand color for titles */
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

.page-fishing-games__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  line-height: 1.7;
}

.page-fishing-games__text-block--center {
  text-align: center;
}

/* Hero Section */
.page-fishing-games__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px 20px 40px;
  padding-top: var(--header-offset, 120px);
  background: linear-gradient(135deg, #017439, #015e2e);
  color: #ffffff;
  text-align: center;
  overflow: hidden;
}

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

.page-fishing-games__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
  color: #FFFF00; /* Register/Login font color for emphasis */
}

.page-fishing-games__hero-description {
  font-size: 1.3em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-fishing-games__hero-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;
  font-size: 1.1em;
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-fishing-games__btn-primary {
  background-color: #C30808; /* Register color */
  color: #FFFF00; /* Register/Login font color */
  border: 2px solid #C30808;
}

.page-fishing-games__btn-primary:hover {
  background-color: #e02020;
  transform: translateY(-2px);
}

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

.page-fishing-games__btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

.page-fishing-games__hero-image-wrapper {
  margin-top: 40px;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}

.page-fishing-games__hero-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Intro Section */
.page-fishing-games__intro-section {
  padding: 60px 0;
  background-color: #ffffff; /* Light background for contrast */
  color: #333333; /* Dark text for light background */
}

.page-fishing-games__intro-section .page-fishing-games__section-title {
  color: #017439;
}

.page-fishing-games__intro-section .page-fishing-games__text-block {
  color: #333333;
}

.page-fishing-games__image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  margin-top: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.page-fishing-games__image--center {
  margin-left: auto;
  margin-right: auto;
  max-width: 800px;
}

/* Why Choose 188BET Section */
.page-fishing-games__why-choose-188bet {
  padding: 60px 0;
  background-color: #017439;
  color: #ffffff;
}

.page-fishing-games__why-choose-188bet .page-fishing-games__section-title {
  color: #ffffff;
}

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

.page-fishing-games__feature-card {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

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

.page-fishing-games__feature-title {
  font-size: 1.6em;
  font-weight: bold;
  margin-bottom: 15px;
  color: #FFFF00; /* Emphasis color */
}

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

/* Popular Games Section */
.page-fishing-games__popular-games {
  padding: 60px 0;
  background-color: #ffffff;
  color: #333333;
}

.page-fishing-games__popular-games .page-fishing-games__section-title {
  color: #017439;
}

.page-fishing-games__popular-games .page-fishing-games__text-block {
  color: #333333;
}

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

.page-fishing-games__game-card {
  background-color: #f9f9f9;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
}

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

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

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

.page-fishing-games__game-link {
  color: #017439;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-fishing-games__game-link:hover {
  color: #015e2e;
  text-decoration: underline;
}

.page-fishing-games__game-description {
  font-size: 0.95em;
  color: #555555;
  padding: 0 20px 20px;
  flex-grow: 1;
}

.page-fishing-games__game-card .page-fishing-games__btn-primary {
  background-color: #017439;
  color: #ffffff;
  border: none;
  padding: 12px 20px;
  border-radius: 0 0 10px 10px;
  width: 100%;
  text-align: center;
  font-size: 1em;
}

.page-fishing-games__game-card .page-fishing-games__btn-primary:hover {
  background-color: #015e2e;
  transform: none;
}

/* How to Play Section */
.page-fishing-games__how-to-play {
  padding: 60px 0;
  background-color: #017439;
  color: #ffffff;
}

.page-fishing-games__how-to-play .page-fishing-games__section-title {
  color: #ffffff;
}

.page-fishing-games__how-to-play .page-fishing-games__text-block {
  color: #f0f0f0;
}

.page-fishing-games__steps-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
}

.page-fishing-games__step-item {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 25px;
  border-radius: 10px;
  margin-bottom: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.page-fishing-games__step-title {
  font-size: 1.5em;
  font-weight: bold;
  margin-bottom: 10px;
  color: #FFFF00; /* Emphasis color */
}

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

/* Tips and Strategies Section */
.page-fishing-games__tips-strategies {
  padding: 60px 0;
  background-color: #ffffff;
  color: #333333;
}

.page-fishing-games__tips-strategies .page-fishing-games__section-title {
  color: #017439;
}

.page-fishing-games__tips-strategies .page-fishing-games__text-block {
  color: #333333;
}

.page-fishing-games__tips-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
}

.page-fishing-games__tip-item {
  background-color: #f9f9f9;
  padding: 25px;
  border-radius: 10px;
  margin-bottom: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.page-fishing-games__tip-title {
  font-size: 1.5em;
  font-weight: bold;
  margin-bottom: 10px;
  color: #017439;
}

.page-fishing-games__tip-description {
  font-size: 1em;
  color: #555555;
}

/* Promotions Section */
.page-fishing-games__promotions {
  padding: 60px 0;
  background-color: #017439;
  color: #ffffff;
}

.page-fishing-games__promotions .page-fishing-games__section-title {
  color: #ffffff;
}

.page-fishing-games__promotions .page-fishing-games__text-block {
  color: #f0f0f0;
}

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

.page-fishing-games__promo-card {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

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

.page-fishing-games__promo-title {
  font-size: 1.6em;
  font-weight: bold;
  margin-bottom: 15px;
  color: #FFFF00; /* Emphasis color */
}

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

.page-fishing-games__promo-card .page-fishing-games__btn-secondary {
  background-color: #C30808; /* Login/Register color for CTA */
  color: #FFFF00; /* Login/Register font color */
  border: 2px solid #C30808;
  margin-top: auto;
}

.page-fishing-games__promo-card .page-fishing-games__btn-secondary:hover {
  background-color: #e02020;
  transform: none;
}

/* FAQ Section */
.page-fishing-games__faq-section {
  padding: 60px 0;
  background-color: #ffffff;
  color: #333333;
}

.page-fishing-games__faq-section .page-fishing-games__section-title {
  color: #017439;
}

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

.page-fishing-games__faq-item {
  background-color: #f9f9f9;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.page-fishing-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.2em;
  font-weight: bold;
  color: #017439;
  cursor: pointer;
  background-color: #e6f7e6; /* Lighter shade of brand color */
  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: #d9eed9;
}

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

.page-fishing-games__faq-toggle {
  font-size: 1.5em;
  margin-left: 15px;
  color: #017439;
}

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

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

/* CTA Section */
.page-fishing-games__cta-section {
  padding: 60px 0;
  background-color: #017439;
  color: #ffffff;
  text-align: center;
}

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

.page-fishing-games__cta-section .page-fishing-games__section-title {
  color: #ffffff;
}

.page-fishing-games__cta-section .page-fishing-games__text-block {
  color: #f0f0f0;
  font-size: 1.2em;
  margin-bottom: 30px;
}

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

/* General Image Styles */
.page-fishing-games img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-fishing-games__hero-title {
    font-size: 2.8em;
  }
  .page-fishing-games__hero-description {
    font-size: 1.15em;
  }
  .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: 60px 15px 30px;
    padding-top: var(--header-offset, 120px) !important;
  }
  .page-fishing-games__hero-title {
    font-size: 2.2em;
  }
  .page-fishing-games__hero-description {
    font-size: 1em;
  }
  .page-fishing-games__hero-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-fishing-games__btn-primary,
  .page-fishing-games__btn-secondary {
    width: 100%;
    padding: 12px 20px;
  }
  .page-fishing-games__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }
  .page-fishing-games__container {
    padding: 0 15px;
  }
  .page-fishing-games__intro-section,
  .page-fishing-games__why-choose-188bet,
  .page-fishing-games__popular-games,
  .page-fishing-games__how-to-play,
  .page-fishing-games__tips-strategies,
  .page-fishing-games__promotions,
  .page-fishing-games__faq-section,
  .page-fishing-games__cta-section {
    padding: 40px 0;
  }
  .page-fishing-games__feature-card,
  .page-fishing-games__game-card,
  .page-fishing-games__promo-card,
  .page-fishing-games__step-item,
  .page-fishing-games__tip-item,
  .page-fishing-games__faq-item {
    padding: 20px;
  }
  .page-fishing-games__game-image {
    height: 180px;
  }
  .page-fishing-games__game-title,
  .page-fishing-games__feature-title,
  .page-fishing-games__promo-title,
  .page-fishing-games__step-title,
  .page-fishing-games__tip-title,
  .page-fishing-games__faq-question {
    font-size: 1.2em;
  }
  .page-fishing-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-fishing-games__hero-image-wrapper,
  .page-fishing-games__image-wrapper,
  .page-fishing-games__container,
  .page-fishing-games__features-grid,
  .page-fishing-games__games-grid,
  .page-fishing-games__promo-grid,
  .page-fishing-games__cta-buttons {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-fishing-games__hero-buttons,
  .page-fishing-games__cta-buttons {
    flex-direction: column;
    gap: 10px;
  }
  .page-fishing-games__faq-question {
    padding: 15px;
  }
  .page-fishing-games__faq-answer {
    padding: 0 15px 15px;
  }
}

@media (max-width: 480px) {
  .page-fishing-games__hero-title {
    font-size: 1.8em;
  }
  .page-fishing-games__section-title {
    font-size: 1.5em;
  }
  .page-fishing-games__btn-primary,
  .page-fishing-games__btn-secondary {
    font-size: 1em;
    padding: 10px 15px;
  }
  .page-fishing-games__game-image {
    height: 150px;
  }
}