/* style/fishing-games.css */

/* Base Styles */
.page-fishing-games {
  font-family: 'Arial', sans-serif;
  color: #ffffff; /* Light text for dark body background */
  background-color: transparent; /* Body background is handled by shared.css */
}

.page-fishing-games__dark-section {
  background-color: #1A202C;
  color: #ffffff;
}

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

.page-fishing-games__section-title {
  font-size: 2.5em;
  color: #FFD700;
  text-align: center;
  margin-bottom: 30px;
  position: relative;
  padding-bottom: 15px;
}

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

.page-fishing-games__section-description {
  font-size: 1.1em;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px;
  line-height: 1.6;
}

.page-fishing-games__sub-title {
  font-size: 1.8em;
  color: #FFD700;
  margin-top: 30px;
  margin-bottom: 20px;
}

.page-fishing-games p {
  line-height: 1.7;
  margin-bottom: 1em;
}

.page-fishing-games a {
  color: #FFD700;
  text-decoration: none;
}

.page-fishing-games a:hover {
  text-decoration: underline;
}

/* Buttons */
.page-fishing-games__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
  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-transform: uppercase;
  transition: all 0.3s ease;
  text-align: center;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-fishing-games__btn-primary {
  background-color: #FFD700;
  color: #1A202C;
  border: 2px solid #FFD700;
}

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

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

.page-fishing-games__btn-secondary:hover {
  background-color: #FFD700;
  color: #1A202C;
}

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

/* Hero Section */
.page-fishing-games__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 70vh;
  padding: 80px 20px;
  padding-top: var(--header-offset, 120px); /* Apply header offset */
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-fishing-games__hero-content {
  z-index: 10;
  max-width: 900px;
  margin-bottom: 40px;
}

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

.page-fishing-games__intro-description {
  font-size: 1.3em;
  line-height: 1.6;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-fishing-games__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.4); /* Darken image for text readability */
}

/* Game Showcase */
.page-fishing-games__games-showcase {
  padding: 60px 20px;
  text-align: center;
}

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

.page-fishing-games__game-card {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #ffffff;
}

.page-fishing-games__game-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.page-fishing-games__game-thumbnail {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

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

.page-fishing-games__card-description {
  font-size: 0.95em;
  line-height: 1.5;
  flex-grow: 1;
  margin-bottom: 20px;
}

.page-fishing-games__card-button {
  display: inline-block;
  padding: 10px 20px;
  background-color: #FFD700;
  color: #1A202C;
  border-radius: 5px;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-fishing-games__card-button:hover {
  background-color: #e6c200;
  text-decoration: none;
}

/* Guide Section */
.page-fishing-games__guide-section {
  padding: 60px 20px;
}

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

.page-fishing-games__guide-item {
  background-color: #1A202C;
  border-left: 5px solid #FFD700;
  padding: 25px;
  margin-bottom: 20px;
  border-radius: 8px;
}

.page-fishing-games__guide-step-title {
  font-size: 1.6em;
  color: #FFD700;
  margin-bottom: 15px;
}

.page-fishing-games__tips-section {
  background-color: rgba(255, 255, 255, 0.05);
  padding: 30px;
  border-radius: 8px;
  margin-top: 40px;
}

.page-fishing-games__tips-list {
  list-style: disc;
  padding-left: 25px;
}

.page-fishing-games__tips-list li {
  margin-bottom: 10px;
  line-height: 1.6;
}

.page-fishing-games__tips-list strong {
  color: #FFD700;
}

/* Promotions Section */
.page-fishing-games__promotions-section {
  padding: 60px 20px;
}

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

.page-fishing-games__promo-card {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #ffffff;
}

.page-fishing-games__promo-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.page-fishing-games__promo-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

/* Features Section */
.page-fishing-games__features-section {
  padding: 60px 20px;
}

.page-fishing-games__features-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  list-style: none;
  padding: 0;
  max-width: 1200px;
  margin: 40px auto 0;
}

.page-fishing-games__feature-item {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-fishing-games__feature-icon {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 20px;
  filter: invert(1) brightness(0.8) sepia(1) hue-rotate(20deg) saturate(5); /* Adjusting icon color to match theme, but keeping original color for content images */
}

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

/* FAQ Section */
.page-fishing-games__faq-section {
  padding: 60px 20px;
}

.page-fishing-games__faq-container {
  max-width: 900px;
  margin: 40px auto 0;
}

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

.page-fishing-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  background-color: #1A202C;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.page-fishing-games__faq-question:hover {
  background-color: rgba(26, 32, 44, 0.8);
}

.page-fishing-games__faq-title {
  font-size: 1.2em;
  color: #ffffff;
  margin: 0;
  flex-grow: 1;
}

.page-fishing-games__faq-toggle {
  font-size: 1.8em;
  font-weight: bold;
  color: #FFD700;
  margin-left: 15px;
  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 value */
  padding: 15px 25px;
}

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

/* Final CTA Section */
.page-fishing-games__cta-final {
  padding: 60px 20px;
  text-align: center;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-fishing-games__main-title {
    font-size: 3em;
  }
  .page-fishing-games__intro-description {
    font-size: 1.2em;
  }
}

@media (max-width: 768px) {
  .page-fishing-games {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-fishing-games__hero-section {
    min-height: 60vh;
    padding-top: var(--header-offset, 120px) !important;
  }
  .page-fishing-games__hero-content {
    margin-bottom: 20px;
  }
  .page-fishing-games__main-title {
    font-size: 2.5em;
  }
  .page-fishing-games__intro-description {
    font-size: 1em;
  }
  .page-fishing-games__section-title {
    font-size: 2em;
  }
  .page-fishing-games__section-description {
    font-size: 0.95em;
  }
  .page-fishing-games__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-fishing-games__btn-primary,
  .page-fishing-games__btn-secondary {
    width: 100%;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-fishing-games__game-grid,
  .page-fishing-games__promo-grid,
  .page-fishing-games__features-list {
    grid-template-columns: 1fr;
  }
  .page-fishing-games__game-card,
  .page-fishing-games__promo-card,
  .page-fishing-games__feature-item {
    padding: 20px;
  }
  .page-fishing-games__game-thumbnail,
  .page-fishing-games__promo-image,
  .page-fishing-games__feature-icon {
    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,
  .page-fishing-games__content-area,
  .page-fishing-games__hero-section,
  .page-fishing-games__games-showcase,
  .page-fishing-games__guide-section,
  .page-fishing-games__promotions-section,
  .page-fishing-games__features-section,
  .page-fishing-games__faq-section,
  .page-fishing-games__cta-final {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden;
  }
  .page-fishing-games__faq-question {
    padding: 15px 20px;
  }
  .page-fishing-games__faq-answer {
    padding: 0 20px;
  }
  .page-fishing-games__faq-item.active .page-fishing-games__faq-answer {
    padding: 15px 20px;
  }
}

@media (max-width: 480px) {
  .page-fishing-games__main-title {
    font-size: 2em;
  }
  .page-fishing-games__section-title {
    font-size: 1.8em;
  }
  .page-fishing-games__btn-primary,
  .page-fishing-games__btn-secondary {
    font-size: 0.9em;
    padding: 10px 15px;
  }
}

/* Ensure content images meet minimum size requirements */
.page-fishing-games img {
  min-width: 200px;
  min-height: 200px;
}

/* Specific override for feature icons to allow them to be smaller but still meet general min-size if needed */
.page-fishing-games__feature-icon {
  min-width: 100px;
  min-height: 100px;
  width: 100px;
  height: 100px;
}