/* style/fishing-games.css */
.page-fishing-games {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Body background is dark, so text is light */
  background-color: transparent; /* inherited from body #000 */
}

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

/* Hero Section */
.page-fishing-games__hero-section {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 600px;
  text-align: center;
  overflow: hidden;
  padding-top: var(--header-offset, 120px);
  background: linear-gradient(135deg, #017439, #005f2c);
}

.page-fishing-games__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  opacity: 0.6;
}

.page-fishing-games__main-title {
  font-size: 3.5em;
  color: #FFFF00; /* Register/Login font color for prominence */
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-fishing-games__description {
  font-size: 1.2em;
  color: #ffffff;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.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: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  box-sizing: border-box;
}

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

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

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

.page-fishing-games__btn-secondary:hover {
  background-color: #FFFF00;
  color: #C30808;
  transform: translateY(-2px);
}

/* Section Titles */
.page-fishing-games__section-title {
  font-size: 2.5em;
  color: #FFFF00; /* Use bright color for titles */
  text-align: center;
  margin-bottom: 50px;
  padding-top: 40px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.page-fishing-games__sub-title {
  font-size: 1.8em;
  color: #017439; /* Main color for sub-titles on light bg */
  margin-bottom: 15px;
}

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

.page-fishing-games__intro-section .page-fishing-games__section-title {
  color: #017439; /* Main color for titles on light bg */
  text-shadow: none;
}

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

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

.page-fishing-games__text-block p {
  margin-bottom: 15px;
  color: #333333; /* Ensure readability on light background */
}

/* Games Section */
.page-fishing-games__games-section {
  padding: 60px 0;
  background-color: #017439; /* Dark background */
  color: #ffffff; /* Light text for dark background */
}

.page-fishing-games__games-section .page-fishing-games__section-title {
  color: #FFFF00;
}

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

.page-fishing-games__game-card {
  background-color: rgba(255, 255, 255, 0.1); /* Slightly transparent white on dark bg */
  border-radius: 10px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
  color: #ffffff;
}

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

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

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

.page-fishing-games__game-card p {
  color: #f0f0f0;
  margin-bottom: 20px;
}

/* Strategy Section */
.page-fishing-games__strategy-section {
  padding: 60px 0;
  background-color: #FFFFFF;
  color: #333333;
}

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

.page-fishing-games__strategy-section .page-fishing-games__sub-title {
  color: #017439;
}

.page-fishing-games__strategy-section p, .page-fishing-games__strategy-section li {
  color: #333333;
}

.page-fishing-games__strategy-section ul {
  list-style-type: disc;
  margin-left: 20px;
  margin-bottom: 15px;
}

.page-fishing-games__strategy-section li {
  margin-bottom: 8px;
}

/* Why Us Section */
.page-fishing-games__why-us-section {
  padding: 60px 0;
  background-color: #000; /* Deeper dark background */
  color: #ffffff;
}

.page-fishing-games__why-us-section .page-fishing-games__section-title {
  color: #FFFF00;
}

.page-fishing-games__feature-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.08);
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
  color: #ffffff;
}

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

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

.page-fishing-games__feature-card .page-fishing-games__card-title {
  color: #FFFF00;
}

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

/* Guide Section */
.page-fishing-games__guide-section {
  padding: 60px 0;
  background-color: #FFFFFF;
  color: #333333;
}

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

.page-fishing-games__guide-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  text-align: center;
}

.page-fishing-games__step-item {
  background-color: #f5f5f5;
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  color: #333333;
}

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

.page-fishing-games__guide-section .page-fishing-games__sub-title {
  color: #017439;
}

.page-fishing-games__guide-section p {
  color: #333333;
  margin-bottom: 20px;
}

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

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

.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;
  color: #ffffff;
}

.page-fishing-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.1em;
  font-weight: bold;
  cursor: pointer;
  background-color: rgba(255, 255, 255, 0.15);
  transition: background-color 0.3s ease;
}

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

.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);
}

.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 to show content */
  padding: 15px 25px;
}

.page-fishing-games__faq-answer p {
  margin-bottom: 10px;
  color: #f0f0f0;
}

/* General image styling for content areas */
.page-fishing-games img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-fishing-games__main-title {
    font-size: 3em;
  }
  .page-fishing-games__section-title {
    font-size: 2em;
  }
  .page-fishing-games__sub-title {
    font-size: 1.5em;
  }
}

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

  .page-fishing-games__hero-section {
    min-height: 450px;
    padding-top: var(--header-offset, 120px) !important;
  }

  .page-fishing-games__main-title {
    font-size: 2.5em;
    margin-bottom: 15px;
  }

  .page-fishing-games__description {
    font-size: 1em;
    margin-bottom: 20px;
  }

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

  .page-fishing-games__btn-primary,
  .page-fishing-games__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

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

  .page-fishing-games__sub-title {
    font-size: 1.3em;
  }

  .page-fishing-games__intro-section,
  .page-fishing-games__games-section,
  .page-fishing-games__strategy-section,
  .page-fishing-games__why-us-section,
  .page-fishing-games__guide-section,
  .page-fishing-games__faq-section {
    padding: 40px 0;
  }

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

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

  /* Mobile specific image adaptation */
  .page-fishing-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-fishing-games__section,
  .page-fishing-games__card,
  .page-fishing-games__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-fishing-games__game-image,
  .page-fishing-games__feature-image {
    height: auto;
    max-height: 300px; /* Limit height on mobile for better flow */
    object-fit: contain;
  }

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

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

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

  /* Ensure no horizontal scroll for content areas */
  .page-fishing-games__content-area,
  .page-fishing-games__games-section,
  .page-fishing-games__strategy-section,
  .page-fishing-games__why-us-section,
  .page-fishing-games__guide-section,
  .page-fishing-games__faq-section {
    overflow-x: hidden;
  }
}

/* Ensure images in content area are not too small */
.page-fishing-games__text-block img, 
.page-fishing-games__game-card img, 
.page-fishing-games__feature-card img {
  min-width: 200px;
  min-height: 200px;
}

/* Color contrast fixes for specific elements if needed */
.page-fishing-games p, .page-fishing-games li {
  color: #ffffff; /* Default for dark sections */
}

.page-fishing-games__intro-section p, .page-fishing-games__intro-section li, 
.page-fishing-games__strategy-section p, .page-fishing-games__strategy-section li, 
.page-fishing-games__guide-section p, .page-fishing-games__guide-section li {
  color: #333333; /* Default for light sections */
}