/* style/fishing-games.css */

:root {
  --page-fishing-games-primary-color: #26A9E0;
  --page-fishing-games-secondary-color: #FFFFFF;
  --page-fishing-games-text-dark: #333333;
  --page-fishing-games-text-light: #ffffff;
  --page-fishing-games-bg-dark: #0a0a0a; /* Body background */
  --page-fishing-games-login-color: #EA7C07;
  --page-fishing-games-black-color: #000000;
}

/* Base styles for the page content area */
.page-fishing-games {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--page-fishing-games-text-light); /* Default text color for dark body bg */
  background-color: var(--page-fishing-games-bg-dark);
}

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

.page-fishing-games__section {
  padding: 80px 0;
  position: relative;
}

.page-fishing-games__section-title {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 40px;
  color: var(--page-fishing-games-secondary-color);
  font-weight: bold;
}

.page-fishing-games__section-description {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 60px;
  color: var(--page-fishing-games-secondary-color);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-fishing-games__text-block {
  margin-bottom: 20px;
  font-size: 1.05em;
  line-height: 1.7;
  color: var(--page-fishing-games-text-light);
}

.page-fishing-games__text-block strong,
.page-fishing-games__text-block em {
  color: var(--page-fishing-games-primary-color);
}

/* Hero Section */
.page-fishing-games__hero-section {
  position: relative;
  width: 100%;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding-top: var(--header-offset, 120px); /* Account for fixed header */
}

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

.page-fishing-games__hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6); /* Dark overlay for text readability */
  z-index: 2;
}

.page-fishing-games__hero-content {
  position: relative;
  z-index: 3;
  max-width: 900px;
  padding: 20px;
  color: var(--page-fishing-games-secondary-color);
}

.page-fishing-games__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  line-height: 1.2;
  color: var(--page-fishing-games-secondary-color);
}

.page-fishing-games__hero-description {
  font-size: 1.3em;
  margin-bottom: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  color: var(--page-fishing-games-secondary-color);
}

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

.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: all 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-fishing-games__btn-primary {
  background-color: var(--page-fishing-games-primary-color);
  color: var(--page-fishing-games-secondary-color);
  border: 2px solid var(--page-fishing-games-primary-color);
}

.page-fishing-games__btn-primary:hover {
  background-color: #1e8dc7;
  border-color: #1e8dc7;
}

.page-fishing-games__btn-secondary {
  background-color: transparent;
  color: var(--page-fishing-games-primary-color);
  border: 2px solid var(--page-fishing-games-primary-color);
}

.page-fishing-games__btn-secondary:hover {
  background-color: var(--page-fishing-games-primary-color);
  color: var(--page-fishing-games-secondary-color);
}

/* Introduction Section */
.page-fishing-games__introduction {
  background-color: var(--page-fishing-games-bg-dark);
  color: var(--page-fishing-games-text-light);
}

/* Features Section */
.page-fishing-games__features {
  background-color: rgba(255, 255, 255, 0.05); /* Slightly lighter dark for contrast */
  color: var(--page-fishing-games-text-light);
}

.page-fishing-games__feature-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); /* Card background */
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: var(--page-fishing-games-text-light);
}

.page-fishing-games__feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

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

.page-fishing-games__card-title {
  font-size: 1.5em;
  margin-bottom: 15px;
  color: var(--page-fishing-games-primary-color);
}

.page-fishing-games__card-text {
  font-size: 1em;
  color: var(--page-fishing-games-text-light);
}

/* Benefits Section */
.page-fishing-games__benefits {
  background-color: var(--page-fishing-games-bg-dark);
  color: var(--page-fishing-games-text-light);
}

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

.page-fishing-games__benefit-item {
  background-color: rgba(255, 255, 255, 0.05);
  padding: 20px;
  border-radius: 8px;
  margin-bottom: 15px;
  display: flex;
  align-items: flex-start;
  gap: 15px;
  color: var(--page-fishing-games-text-light);
}

.page-fishing-games__benefit-item::before {
  content: '✅';
  font-size: 1.2em;
  color: var(--page-fishing-games-primary-color);
  flex-shrink: 0;
}

.page-fishing-games__benefit-item strong {
  color: var(--page-fishing-games-primary-color);
}

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

/* How to Download Section */
.page-fishing-games__how-to-download {
  background-color: var(--page-fishing-games-primary-color);
  color: var(--page-fishing-games-secondary-color);
}

.page-fishing-games__how-to-download .page-fishing-games__section-title,
.page-fishing-games__how-to-download .page-fishing-games__text-block {
  color: var(--page-fishing-games-secondary-color);
}

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

.page-fishing-games__step-card {
  background-color: rgba(255, 255, 255, 0.2);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  color: var(--page-fishing-games-secondary-color);
}

.page-fishing-games__step-card .page-fishing-games__card-title {
  color: var(--page-fishing-games-secondary-color);
  font-size: 1.4em;
  margin-bottom: 15px;
}

.page-fishing-games__step-card .page-fishing-games__card-text {
  color: var(--page-fishing-games-secondary-color);
}

/* Strategies Section */
.page-fishing-games__strategies {
  background-color: var(--page-fishing-games-bg-dark);
  color: var(--page-fishing-games-text-light);
}

.page-fishing-games__strategy-content {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: center;
}

.page-fishing-games__strategy-text {
  flex: 2;
  min-width: 300px;
}

.page-fishing-games__strategy-image-wrapper {
  flex: 1;
  min-width: 300px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-fishing-games__strategy-image {
  width: 100%;
  max-width: 600px;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  min-width: 200px; /* Enforce min image size */
  min-height: 200px; /* Enforce min image size */
}

.page-fishing-games__strategy-subtitle {
  font-size: 1.8em;
  color: var(--page-fishing-games-primary-color);
  margin-top: 30px;
  margin-bottom: 15px;
}

/* FAQ Section */
.page-fishing-games__faq-section {
  background-color: rgba(255, 255, 255, 0.05);
  color: var(--page-fishing-games-text-light);
}

.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;
  transition: background-color 0.3s ease;
}

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

.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: var(--page-fishing-games-secondary-color);
}

.page-fishing-games__faq-title {
  margin: 0;
  color: var(--page-fishing-games-secondary-color);
}

.page-fishing-games__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
  color: var(--page-fishing-games-primary-color);
}

.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-out, padding 0.3s ease-out;
  color: var(--page-fishing-games-text-light);
}

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

.page-fishing-games__faq-answer .page-fishing-games__text-block {
  margin-bottom: 0;
}

.page-fishing-games__link {
  color: var(--page-fishing-games-primary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-fishing-games__link:hover {
  color: #1e8dc7;
  text-decoration: underline;
}

/* Conclusion Section */
.page-fishing-games__conclusion {
  background-color: var(--page-fishing-games-bg-dark);
  color: var(--page-fishing-games-text-light);
  text-align: center;
}

/* --- Responsive Styles --- */

/* All images base responsive style */
.page-fishing-games img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* All buttons base responsive style */
.page-fishing-games__cta-button,
.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%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

/* Button containers base responsive style */
.page-fishing-games__cta-buttons,
.page-fishing-games__button-group,
.page-fishing-games__btn-container {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

/* Media query for mobile devices */
@media (max-width: 768px) {
  .page-fishing-games {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-fishing-games__hero-section {
    min-height: 400px;
    padding: 60px 0;
    padding-top: var(--header-offset, 120px) !important; /* Ensure header offset on mobile */
  }

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

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

  .page-fishing-games__section {
    padding: 50px 0;
  }

  .page-fishing-games__section-title {
    font-size: 2em;
  }

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

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

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

  .page-fishing-games__card-image,
  .page-fishing-games__strategy-image {
    min-width: unset; /* Remove min-width on mobile to allow scaling */
    min-height: unset; /* Remove min-height on mobile to allow scaling */
  }

  /* Content area images must be >= 200px. This ensures no small icons. */
  .page-fishing-games__feature-card .page-fishing-games__card-image,
  .page-fishing-games__strategy-image {
    width: 100%;
    max-width: 100%;
    height: auto;
    min-width: 200px;
    min-height: 200px;
  }

  /* Mobile button responsiveness */
  .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__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__strategy-content {
    flex-direction: column;
  }

  .page-fishing-games__strategy-text,
  .page-fishing-games__strategy-image-wrapper {
    width: 100%;
    min-width: unset;
  }

  .page-fishing-games__faq-question {
    font-size: 1.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 20px;
  }

  .page-fishing-games__feature-grid,
  .page-fishing-games__step-grid {
    grid-template-columns: 1fr;
  }
}