/* style/fishing-games.css */
.page-fishing-games {
  font-family: 'Arial', sans-serif;
  color: #333333; /* Default text color for light backgrounds */
  background-color: var(--black-color); /* Body background from shared.css */
}

/* Dark background sections should use light text */
.page-fishing-games__dark-section {
  background-color: #26A9E0;
  color: #ffffff;
}

.page-fishing-games__light-bg {
  background-color: #ffffff;
  color: #333333;
}

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

.page-fishing-games__section-title {
  font-size: 2.5em;
  color: inherit; /* Inherit from parent section */
  text-align: center;
  margin-bottom: 20px;
}

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

.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;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  box-sizing: border-box;
  text-align: center;
  white-space: normal;
  word-wrap: break-word;
}

.page-fishing-games__btn-primary {
  background-color: #EA7C07; /* Login color for primary action */
  color: #ffffff;
  border: 2px solid #EA7C07;
}

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

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

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

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

.page-fishing-games__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0.3; /* Overlay to ensure text readability */
}

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

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

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

.page-fishing-games__hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-fishing-games__hero-buttons .page-fishing-games__btn-secondary {
  border-color: #EA7C07;
  color: #EA7C07;
}

.page-fishing-games__hero-buttons .page-fishing-games__btn-secondary:hover {
  background-color: rgba(234, 124, 7, 0.1);
}

/* Why Choose Us Section */
.page-fishing-games__why-choose-us {
  padding: 80px 0;
}

.page-fishing-games__features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 50px;
  margin-bottom: 50px;
}

.page-fishing-games__feature-item {
  background-color: #f8f8f8;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.page-fishing-games__feature-title {
  font-size: 1.5em;
  color: #26A9E0;
  margin-bottom: 15px;
}

.page-fishing-games__feature-item p {
  font-size: 1em;
  line-height: 1.5;
  color: #555555;
}

.page-fishing-games__feature-image {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 50px auto 0 auto;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

/* Popular Games Section */
.page-fishing-games__popular-games {
  padding: 80px 0;
  background-color: #26A9E0;
}

.page-fishing-games__popular-games .page-fishing-games__section-title,
.page-fishing-games__popular-games .page-fishing-games__section-description {
  color: #ffffff;
}

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

.page-fishing-games__game-card {
  background-color: #ffffff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  text-align: center;
  padding-bottom: 20px;
}

.page-fishing-games__game-card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.page-fishing-games__game-card-title {
  font-size: 1.4em;
  color: #26A9E0;
  margin: 20px 15px 10px 15px;
}

.page-fishing-games__game-card-title a {
  color: #26A9E0;
  text-decoration: none;
}

.page-fishing-games__game-card-title a:hover {
  text-decoration: underline;
}

.page-fishing-games__game-card-description {
  font-size: 0.95em;
  line-height: 1.5;
  color: #555555;
  padding: 0 15px 20px 15px;
  flex-grow: 1;
}

.page-fishing-games__game-card-btn {
  margin: 0 15px;
  width: calc(100% - 30px);
}

/* Strategy Tips Section */
.page-fishing-games__strategy-tips {
  padding: 80px 0;
}

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

.page-fishing-games__tip-item {
  background-color: #f8f8f8;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.page-fishing-games__tip-title {
  font-size: 1.5em;
  color: #26A9E0;
  margin-bottom: 15px;
}

.page-fishing-games__tip-item p {
  font-size: 1em;
  line-height: 1.5;
  color: #555555;
}

.page-fishing-games__strategy-image {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 50px auto 0 auto;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

/* Promotions Section */
.page-fishing-games__promotions {
  padding: 80px 0;
}

.page-fishing-games__promotions .page-fishing-games__section-title,
.page-fishing-games__promotions .page-fishing-games__section-description {
  color: #ffffff;
}

.page-fishing-games__promo-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 50px;
  margin-bottom: 50px;
}

.page-fishing-games__promo-item {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 10px;
  color: #ffffff;
}

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

.page-fishing-games__promo-item p {
  font-size: 1em;
  line-height: 1.5;
  color: #f0f0f0;
}

.page-fishing-games__promo-image {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 50px auto 0 auto;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

/* Download App Section */
.page-fishing-games__download-app {
  padding: 80px 0;
}

.page-fishing-games__download-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  margin-top: 50px;
}

.page-fishing-games__download-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.page-fishing-games__download-buttons {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}

.page-fishing-games__download-buttons .page-fishing-games__btn-secondary {
  color: #26A9E0;
  border-color: #26A9E0;
}

.page-fishing-games__download-buttons .page-fishing-games__btn-secondary:hover {
  background-color: rgba(38, 169, 224, 0.1);
}

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

.page-fishing-games__faq-list {
  margin-top: 50px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-fishing-games__faq-item {
  background-color: #f8f8f8;
  border-radius: 8px;
  margin-bottom: 15px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-fishing-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.1em;
  font-weight: bold;
  color: #333333;
  cursor: pointer;
  list-style: none;
}

.page-fishing-games__faq-question::-webkit-details-marker {
  display: none;
}

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

.page-fishing-games__faq-item[open] .page-fishing-games__faq-toggle {
  transform: rotate(45deg);
}

.page-fishing-games__faq-answer {
  padding: 0 20px 20px 20px;
  font-size: 1em;
  line-height: 1.6;
  color: #555555;
}

/* Conclusion CTA Section */
.page-fishing-games__conclusion-cta {
  padding: 80px 0;
  text-align: center;
}

.page-fishing-games__conclusion-cta .page-fishing-games__section-title,
.page-fishing-games__conclusion-cta .page-fishing-games__section-description {
  color: #ffffff;
}

.page-fishing-games__conclusion-image {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 50px auto 40px auto;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.page-fishing-games__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
  flex-wrap: wrap;
}

/* Image and Video responsive rules */
.page-fishing-games img,
.page-fishing-games video {
  max-width: 100%;
  height: auto;
  display: block;
}

/* General content area images (not specific small icons) */
.page-fishing-games__hero-image,
.page-fishing-games__feature-image,
.page-fishing-games__game-card-image,
.page-fishing-games__strategy-image,
.page-fishing-games__promo-image,
.page-fishing-games__download-image,
.page-fishing-games__conclusion-image {
  min-width: 200px; /* Ensure minimum size */
  min-height: 200px; /* Ensure minimum size */
}

/* Media Queries for Responsive Design */
@media (max-width: 1024px) {
  .page-fishing-games__hero-title {
    font-size: 3em;
  }
  .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-top: var(--header-offset, 120px) !important;
    min-height: 450px;
  }

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

  .page-fishing-games__hero-description {
    font-size: 1em !important;
  }

  .page-fishing-games__hero-buttons,
  .page-fishing-games__download-buttons,
  .page-fishing-games__cta-buttons {
    flex-direction: column !important;
    gap: 15px !important;
    padding: 0 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__container,
  .page-fishing-games__hero-content {
    padding-left: 15px !important;
    padding-right: 15px !important;
  }

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

  .page-fishing-games__section,
  .page-fishing-games__card,
  .page-fishing-games__container,
  .page-fishing-games__video-section,
  .page-fishing-games__video-container,
  .page-fishing-games__video-wrapper,
  .page-fishing-games__cta-buttons,
  .page-fishing-games__download-content {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important; /* Prevent horizontal scroll */
  }

  .page-fishing-games__hero-image,
  .page-fishing-games__feature-image,
  .page-fishing-games__game-card-image,
  .page-fishing-games__strategy-image,
  .page-fishing-games__promo-image,
  .page-fishing-games__download-image,
  .page-fishing-games__conclusion-image {
    min-width: 200px !important; /* Ensure minimum size */
    min-height: 200px !important; /* Ensure minimum size */
  }

  .page-fishing-games__game-card-btn {
    width: calc(100% - 30px) !important;
  }
}

@media (max-width: 480px) {
  .page-fishing-games__hero-title {
    font-size: 1.8em !important;
  }
  .page-fishing-games__section-title {
    font-size: 1.6em !important;
  }
  .page-fishing-games__hero-buttons,
  .page-fishing-games__download-buttons,
  .page-fishing-games__cta-buttons {
    gap: 10px !important;
  }
}