/* 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: #000; /* Ensure consistency with 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: #FFCC00;
  text-align: center;
  margin-bottom: 30px;
  font-weight: bold;
}

.page-fishing-games__section-description {
  font-size: 1.1em;
  color: #f0f0f0;
  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;
  padding: 80px 20px;
  padding-top: var(--header-offset, 120px);
  text-align: center;
  background-color: #003366; /* Main brand color for hero */
  color: #ffffff;
  overflow: hidden;
}

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

.page-fishing-games__main-title {
  font-size: 3.5em;
  color: #FFCC00;
  margin-bottom: 20px;
  font-weight: 900;
  line-height: 1.2;
}

.page-fishing-games__hero-description {
  font-size: 1.3em;
  margin-bottom: 40px;
  line-height: 1.5;
}

.page-fishing-games__cta-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;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
  border: 2px solid transparent;
  box-sizing: border-box;
  max-width: 100%; /* Ensure responsiveness */
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text wrapping */
}

.page-fishing-games__btn-primary {
  background-color: #FFCC00;
  color: #003366;
  border-color: #FFCC00;
}

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

.page-fishing-games__btn-secondary {
  background-color: transparent;
  color: #FFCC00;
  border-color: #FFCC00;
}

.page-fishing-games__btn-secondary:hover {
  background-color: #FFCC00;
  color: #003366;
  transform: translateY(-3px);
}

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

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

/* Features Section */
.page-fishing-games__features-section,
.page-fishing-games__guide-section,
.page-fishing-games__strategies-section,
.page-fishing-games__promotions-section,
.page-fishing-games__security-support-section,
.page-fishing-games__faq-section,
.page-fishing-games__conclusion-section {
  padding: 80px 0;
}

.page-fishing-games__light-bg {
  background-color: #1a1a1a; /* Slightly lighter dark background */
  color: #ffffff;
}

.page-fishing-games__dark-bg {
  background-color: #003366;
  color: #ffffff;
}

.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: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, background-color 0.3s ease;
  height: 100%; /* Ensure cards have equal height */
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.page-fishing-games__feature-card:hover {
  transform: translateY(-10px);
  background-color: #FFCC00;
  color: #003366;
}

.page-fishing-games__feature-card:hover .page-fishing-games__feature-title {
  color: #003366;
}

.page-fishing-games__feature-card:hover .page-fishing-games__feature-text {
  color: #003366;
}

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

.page-fishing-games__feature-title {
  font-size: 1.5em;
  color: #FFCC00;
  margin-bottom: 15px;
  font-weight: bold;
  flex-grow: 1;
}

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

/* Guide Section */
.page-fishing-games__guide-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
}

.page-fishing-games__step-item {
  background-color: rgba(255, 255, 255, 0.15);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-fishing-games__step-title {
  font-size: 1.8em;
  color: #FFCC00;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-fishing-games__step-item p {
  color: #f0f0f0;
  margin-bottom: 25px;
  flex-grow: 1;
}

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

.page-fishing-games__strategy-card {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease;
  height: 100%;
}

.page-fishing-games__strategy-card:hover {
  transform: translateY(-5px);
  background-color: #FFCC00;
  color: #003366;
}

.page-fishing-games__strategy-card:hover .page-fishing-games__strategy-title {
  color: #003366;
}

.page-fishing-games__strategy-card:hover p {
  color: #003366;
}

.page-fishing-games__strategy-title {
  font-size: 1.4em;
  color: #FFCC00;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-fishing-games__strategy-card p {
  color: #f0f0f0;
}

.page-fishing-games__cta-more {
  text-align: center;
  margin-top: 50px;
}

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

.page-fishing-games__promotion-card {
  background-color: #ffffff;
  color: #333333;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

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

.page-fishing-games__promotion-image {
  width: 100%;
  height: auto;
  max-width: 400px;
  margin: 0 auto 20px auto;
  border-radius: 8px;
  object-fit: cover;
  min-height: 200px; /* Enforce min image size */
}

.page-fishing-games__promotion-title {
  font-size: 1.5em;
  color: #003366;
  margin-bottom: 10px;
  font-weight: bold;
  flex-grow: 1;
}

.page-fishing-games__promotion-text {
  font-size: 1em;
  color: #555555;
}

.page-fishing-games__cta-promotions {
  text-align: center;
  margin-top: 50px;
}

/* Security & Support Section */
.page-fishing-games__security-support-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-fishing-games__info-card {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-fishing-games__info-title {
  font-size: 1.6em;
  color: #FFCC00;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-fishing-games__info-card p {
  color: #f0f0f0;
  margin-bottom: 25px;
  flex-grow: 1;
}

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

.page-fishing-games__faq-item {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-fishing-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.2em;
  color: #FFCC00;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.page-fishing-games__faq-question:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

.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); /* Plus to X */
}

.page-fishing-games__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #f0f0f0;
}

.page-fishing-games__faq-item.active .page-fishing-games__faq-answer {
  max-height: 1000px !important; /* Sufficiently large value */
  padding: 15px 25px;
}

.page-fishing-games__faq-answer p {
  margin-bottom: 15px;
}

.page-fishing-games__faq-answer .page-fishing-games__btn-secondary {
  margin-top: 10px;
}

/* Conclusion Section */
.page-fishing-games__conclusion-section {
  text-align: center;
  padding: 80px 20px;
  background-color: #003366;
  color: #ffffff;
}

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

/* Responsive Design */
@media (max-width: 1024px) {
  .page-fishing-games__main-title {
    font-size: 3em;
  }
  .page-fishing-games__hero-description {
    font-size: 1.2em;
  }
  .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;
    padding-top: var(--header-offset, 120px) !important; /* Ensure mobile header offset */
  }
  .page-fishing-games__main-title {
    font-size: 2.5em;
  }
  .page-fishing-games__hero-description {
    font-size: 1.1em;
  }
  .page-fishing-games__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-fishing-games__btn-primary,
  .page-fishing-games__btn-secondary,
  .page-fishing-games a[class*="button"],
  .page-fishing-games a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-fishing-games__features-grid,
  .page-fishing-games__guide-steps,
  .page-fishing-games__strategy-grid,
  .page-fishing-games__promotions-grid,
  .page-fishing-games__security-support-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .page-fishing-games__container,
  .page-fishing-games__section,
  .page-fishing-games__card {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden;
  }
  .page-fishing-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-fishing-games__hero-image-wrapper {
    display: none; /* Hide background image on small screens for better performance/focus */
  }
  .page-fishing-games__hero-section .page-fishing-games__hero-content {
    position: static;
  }
}

@media (max-width: 480px) {
  .page-fishing-games__main-title {
    font-size: 2em;
  }
  .page-fishing-games__hero-description {
    font-size: 1em;
  }
  .page-fishing-games__section-title {
    font-size: 1.8em;
  }
  .page-fishing-games__feature-title,
  .page-fishing-games__step-title,
  .page-fishing-games__strategy-title,
  .page-fishing-games__promotion-title,
  .page-fishing-games__info-title {
    font-size: 1.3em;
  }
  .page-fishing-games__faq-question {
    font-size: 1em;
    padding: 15px 20px;
  }
  .page-fishing-games__faq-answer {
    padding: 0 20px;
  }
  .page-fishing-games__faq-item.active .page-fishing-games__faq-answer {
    padding: 10px 20px;
  }
}