/* style/fishing-games.css */

/* Base styles for the fishing games page */
.page-fishing-games {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light backgrounds */
  background-color: #f8f9fa; /* A very light background for the main content area */
}

/* Ensure main content is not hidden by fixed header */
.page-fishing-games__hero-section {
  padding-top: var(--header-offset, 120px); /* Apply header offset to the first content section */
  background-color: #017439; /* Brand primary color for hero background */
  color: #ffffff; /* White text for contrast */
}

/* Sections with light background for text readability */
.page-fishing-games__introduction-section,
.page-fishing-games__guide-section,
.page-fishing-games__why-choose-us-section,
.page-fishing-games__faq-section {
  background-color: #ffffff; /* Light background for general text */
  color: #333333;
}

/* Sections with brand primary background */
.page-fishing-games__features-section,
.page-fishing-games__promotions-section {
  background-color: #017439; /* Brand primary for a strong section */
  color: #ffffff;
}

/* Section styling */
.page-fishing-games__section-title {
  font-size: 2.5em;
  color: #017439; /* Brand primary color for titles on light backgrounds */
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 10px;
}

.page-fishing-games__features-section .page-fishing-games__section-title,
.page-fishing-games__promotions-section .page-fishing-games__section-title {
  color: #ffffff; /* White for titles on dark backgrounds */
}

.page-fishing-games__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #017439;
  border-radius: 2px;
}

.page-fishing-games__features-section .page-fishing-games__section-title::after,
.page-fishing-games__promotions-section .page-fishing-games__section-title::after {
  background-color: #ffffff;
}

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

.page-fishing-games__text-block {
  margin-bottom: 20px;
  font-size: 1.1em;
  color: #333333;
}

.page-fishing-games__features-section .page-fishing-games__text-block,
.page-fishing-games__promotions-section .page-fishing-games__text-block {
  color: #f0f0f0; /* Lighter text for dark backgrounds */
}

/* Hero Section */
.page-fishing-games__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-bottom: 60px;
}

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

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

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

.page-fishing-games__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap; /* Allow wrapping on small screens */
}

.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, transform 0.3s ease;
  min-width: 180px;
  text-align: center;
  box-sizing: border-box; /* Crucial for responsive buttons */
}

.page-fishing-games__btn-primary {
  background-color: #C30808; /* Custom color for register/login */
  color: #FFFF00; /* Custom font color for register/login */
  border: 2px solid #C30808;
}

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

.page-fishing-games__btn-secondary {
  background-color: #ffffff;
  color: #017439; /* Brand primary color */
  border: 2px solid #017439;
}

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

.page-fishing-games__hero-image-wrapper {
  margin-top: 40px;
  width: 100%;
  max-width: 1200px;
  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);
  min-width: 200px;
  min-height: 200px;
}

/* Features Section */
.page-fishing-games__feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-fishing-games__feature-item {
  background-color: rgba(255, 255, 255, 0.1); /* Slightly transparent white for cards on dark background */
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-fishing-games__feature-image {
  width: 100%;
  height: auto;
  max-width: 600px; /* Example max-width for feature image */
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
  min-width: 200px;
  min-height: 200px;
}

.page-fishing-games__feature-title {
  font-size: 1.8em;
  color: #ffffff;
  margin-bottom: 15px;
}

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

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

.page-fishing-games__step-item {
  background-color: #f9f9f9;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  border-left: 5px solid #017439;
}

.page-fishing-games__step-title {
  font-size: 1.6em;
  color: #017439;
  margin-bottom: 15px;
}

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

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

.page-fishing-games__promotion-card {
  background-color: rgba(255, 255, 255, 0.1); /* Light overlay on dark background */
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.page-fishing-games__promotion-image {
  width: 100%;
  height: auto;
  max-width: 400px;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
  min-width: 200px;
  min-height: 200px;
}

.page-fishing-games__card-title {
  font-size: 1.5em;
  color: #ffffff;
  margin-bottom: 10px;
}

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

.page-fishing-games__cta-buttons--center {
  margin-top: 40px;
}

/* Why Choose Us Section */
.page-fishing-games__reason-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-fishing-games__reason-item {
  background-color: #f9f9f9;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  border-right: 5px solid #017439;
}

.page-fishing-games__reason-title {
  font-size: 1.6em;
  color: #017439;
  margin-bottom: 15px;
}

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

.page-fishing-games__mobile-app-cta {
  background-color: #017439;
  color: #ffffff;
  padding: 40px;
  border-radius: 10px;
  margin-top: 60px;
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-fishing-games__mobile-content {
  flex: 1;
  min-width: 300px;
}

.page-fishing-games__mobile-title {
  font-size: 2em;
  color: #ffffff;
  margin-bottom: 15px;
}

.page-fishing-games__mobile-description {
  font-size: 1.1em;
  color: #f0f0f0;
  margin-bottom: 30px;
}

.page-fishing-games__mobile-image-wrapper {
  flex-shrink: 0;
  max-width: 400px;
  width: 100%;
}

.page-fishing-games__mobile-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  min-width: 200px;
  min-height: 200px;
}

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

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

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

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

.page-fishing-games__faq-title {
  margin: 0;
  font-size: 1.2em; /* Ensure title font size is consistent */
  color: #333333;
}

.page-fishing-games__faq-toggle {
  font-size: 1.5em;
  font-weight: normal;
  color: #017439;
  transition: transform 0.3s ease;
}

.page-fishing-games__faq-item.active .page-fishing-games__faq-toggle {
  transform: rotate(45deg); /* Plus to X for active */
}

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

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

.page-fishing-games__faq-answer p {
  margin-bottom: 10px;
}
.page-fishing-games__faq-answer p:last-child {
  margin-bottom: 0;
}

/* --- Responsive Design --- */

/* Mobile Adaptations (max-width: 768px) */
@media (max-width: 768px) {
  .page-fishing-games__hero-section {
    flex-direction: column;
    padding-top: var(--header-offset, 120px) !important; /* Ensure header offset on mobile */
  }

  .page-fishing-games__hero-title {
    font-size: 2.5em;
  }

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

  .page-fishing-games__cta-buttons {
    flex-direction: column; /* Stack buttons vertically on mobile */
    gap: 15px;
  }

  .page-fishing-games__btn-primary,
  .page-fishing-games__btn-secondary {
    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__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;
    overflow: hidden !important;
    flex-wrap: wrap !important;
    gap: 10px;
  }

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

  .page-fishing-games__container {
    padding: 20px 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important; /* Ensure container itself doesn't cause overflow */
  }

  .page-fishing-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-fishing-games__feature-grid,
  .page-fishing-games__guide-steps,
  .page-fishing-games__promotion-grid,
  .page-fishing-games__reason-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-fishing-games__mobile-app-cta {
    flex-direction: column;
    padding: 30px 20px;
    gap: 30px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .page-fishing-games__mobile-title {
    font-size: 1.8em;
  }

  .page-fishing-games__faq-question {
    font-size: 1.1em;
    padding: 15px 20px;
  }

  .page-fishing-games__faq-title {
    font-size: 1.1em;
  }

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

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

/* General image rules for content area to prevent small icons */
.page-fishing-games img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Ensure no CSS filter changes image colors */
.page-fishing-games img {
  filter: none; /* Explicitly ensure no filter is applied */
}