/* 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 dark text for light background */
  background-color: var(--background-color, #FFFFFF);
}

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

/* Section Titles */
.page-fishing-games__section-title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  color: #26A9E0;
  text-align: center;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-fishing-games__section-description {
  font-size: 18px;
  color: #555555;
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Hero Section */
.page-fishing-games__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding as body handles --header-offset */
  overflow: hidden;
  background-color: #26A9E0;
  color: #ffffff;
  text-align: center;
}

.page-fishing-games__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
  margin-bottom: 30px;
}

.page-fishing-games__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

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

.page-fishing-games__hero-title {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 20px;
  line-height: 1.1;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-fishing-games__hero-description {
  font-size: 20px;
  color: #f0f0f0;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-fishing-games__hero-cta-buttons,
.page-fishing-games__cta-buttons,
.page-fishing-games__app-download-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

/* Buttons */
.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary,
.page-fishing-games__btn-play {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  border-radius: 50px;
  font-size: 18px;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.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: #d16b06;
  border-color: #d16b06;
  transform: translateY(-2px);
}

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

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

.page-fishing-games__btn-play {
  background-color: #26A9E0;
  color: #FFFFFF;
  border: 2px solid #26A9E0;
}

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

/* Info Section */
.page-fishing-games__info-section {
  padding: 80px 0;
  background-color: #FFFFFF;
}

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

.page-fishing-games__feature-item {
  text-align: center;
  padding: 30px;
  background-color: #f9f9f9;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
}

.page-fishing-games__feature-item:hover {
  transform: translateY(-8px);
}

.page-fishing-games__feature-icon {
  width: 100%; /* Ensure image fills card width */
  height: auto;
  max-width: 250px;
  margin: 0 auto 20px auto;
  border-radius: 8px;
  display: block;
}

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

.page-fishing-games__feature-text {
  font-size: 16px;
  color: #666666;
}

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

.page-fishing-games__popular-games-section .page-fishing-games__section-title {
  color: #FFFFFF;
}

.page-fishing-games__popular-games-section .page-fishing-games__section-description {
  color: #f0f0f0;
}

.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: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
  text-align: center;
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-fishing-games__game-card:hover {
  transform: translateY(-8px);
  background-color: rgba(255, 255, 255, 0.2);
}

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

.page-fishing-games__game-title {
  font-size: 24px;
  font-weight: 700;
  color: #FFFFFF;
  margin: 20px 15px 10px 15px;
}

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

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

.page-fishing-games__game-description {
  font-size: 16px;
  color: #f0f0f0;
  padding: 0 15px 20px 15px;
  flex-grow: 1;
}

.page-fishing-games__btn-play {
  margin: 0 15px 20px 15px;
}

/* How-to-play Section */
.page-fishing-games__how-to-play-section {
  padding: 80px 0;
  background-color: #FFFFFF;
}

.page-fishing-games__steps-list {
  list-style: none;
  padding: 0;
  margin-top: 50px;
  counter-reset: step-counter;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
}

.page-fishing-games__steps-list li {
  position: relative;
  padding-left: 70px;
  margin-bottom: 20px;
}

.page-fishing-games__steps-list li::before {
  counter-increment: step-counter;
  content: counter(step-counter);
  position: absolute;
  left: 0;
  top: 0;
  width: 50px;
  height: 50px;
  background-color: #26A9E0;
  color: #FFFFFF;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: bold;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.page-fishing-games__step-title {
  font-size: 22px;
  font-weight: 600;
  color: #333333;
  margin-bottom: 10px;
}

.page-fishing-games__step-text {
  font-size: 16px;
  color: #666666;
}

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

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

/* Tips & Strategies Section */
.page-fishing-games__tips-strategies-section {
  padding: 80px 0;
  background-color: #26A9E0;
  color: #FFFFFF;
}

.page-fishing-games__tips-strategies-section .page-fishing-games__section-title {
  color: #FFFFFF;
}

.page-fishing-games__tips-strategies-section .page-fishing-games__section-description {
  color: #f0f0f0;
}

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

.page-fishing-games__tips-list li {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.page-fishing-games__tip-title {
  font-size: 22px;
  font-weight: 600;
  color: #FFFFFF;
  margin-bottom: 10px;
}

.page-fishing-games__tip-text {
  font-size: 16px;
  color: #f0f0f0;
}

/* Promotions Section */
.page-fishing-games__promotions-section {
  padding: 80px 0;
  background-color: #FFFFFF;
  text-align: center;
}

.page-fishing-games__promotions-section a {
  color: #26A9E0;
  text-decoration: none;
}

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

/* Mobile App Section */
.page-fishing-games__mobile-app-section {
  padding: 80px 0;
  background-color: #26A9E0;
  color: #FFFFFF;
  text-align: center;
}

.page-fishing-games__mobile-app-section .page-fishing-games__section-title {
  color: #FFFFFF;
}

.page-fishing-games__mobile-app-section .page-fishing-games__section-description {
  color: #f0f0f0;
}

.page-fishing-games__mobile-app-section a {
  color: #f0f0f0;
  text-decoration: underline;
}

.page-fishing-games__mobile-app-section a:hover {
  color: #FFFFFF;
}

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

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

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

.page-fishing-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 18px;
  font-weight: 600;
  color: #333333;
  cursor: pointer;
  background-color: #eaf6ff; /* Light blue background for summary */
  border-bottom: 1px solid #d0e8f8;
  list-style: none; /* For details/summary */
}

.page-fishing-games__faq-question::-webkit-details-marker {
  display: none; /* Hide default marker for details/summary */
}

.page-fishing-games__faq-qtext {
  flex-grow: 1;
}

.page-fishing-games__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #26A9E0;
  margin-left: 15px;
}

.page-fishing-games__faq-answer {
  padding: 20px;
  font-size: 16px;
  color: #555555;
  line-height: 1.6;
  border-top: 1px solid #e0e0e0;
  background-color: #FFFFFF;
}

.page-fishing-games__faq-item[open] .page-fishing-games__faq-question {
  background-color: #d0e8f8;
}

/* CTA Bottom Section */
.page-fishing-games__cta-bottom-section {
  padding: 80px 0;
  background-color: #26A9E0;
  color: #FFFFFF;
  text-align: center;
}

.page-fishing-games__cta-bottom-section .page-fishing-games__section-title {
  color: #FFFFFF;
}

.page-fishing-games__cta-bottom-section .page-fishing-games__section-description {
  color: #f0f0f0;
}

.page-fishing-games__cta-bottom-section a {
  color: #FFFFFF;
  text-decoration: underline;
}

.page-fishing-games__cta-bottom-section a:hover {
  color: #f0f0f0;
}

/* Dark background text color override */
.page-fishing-games__dark-bg {
  color: #ffffff;
}

.page-fishing-games__dark-bg p,
.page-fishing-games__dark-bg li {
  color: #f0f0f0;
}

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

.page-fishing-games__light-bg p,
.page-fishing-games__light-bg li {
  color: #555555;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-fishing-games__hero-image-wrapper {
    margin-bottom: 20px;
  }
  .page-fishing-games__hero-title {
    font-size: clamp(28px, 4.5vw, 48px);
  }
  .page-fishing-games__hero-description {
    font-size: 18px;
  }
  .page-fishing-games__feature-title,
  .page-fishing-games__game-title,
  .page-fishing-games__step-title,
  .page-fishing-games__tip-title {
    font-size: 20px;
  }
}

@media (max-width: 768px) {
  .page-fishing-games__hero-section {
    padding: 40px 15px;
    padding-top: 10px !important;
  }

  .page-fishing-games__hero-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-fishing-games__section-title {
    font-size: clamp(24px, 6vw, 36px);
  }

  .page-fishing-games__section-description {
    font-size: 16px;
    margin-bottom: 30px;
  }

  .page-fishing-games__hero-cta-buttons,
  .page-fishing-games__cta-buttons,
  .page-fishing-games__app-download-buttons {
    flex-direction: column;
    gap: 15px;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-fishing-games__btn-primary,
  .page-fishing-games__btn-secondary,
  .page-fishing-games__btn-play,
  .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: 12px 20px;
    font-size: 16px;
  }

  .page-fishing-games__info-section,
  .page-fishing-games__popular-games-section,
  .page-fishing-games__how-to-play-section,
  .page-fishing-games__tips-strategies-section,
  .page-fishing-games__promotions-section,
  .page-fishing-games__mobile-app-section,
  .page-fishing-games__faq-section,
  .page-fishing-games__cta-bottom-section {
    padding: 50px 0;
  }

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

  .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,
  .page-fishing-games__hero-image-wrapper,
  .page-fishing-games__game-card,
  .page-fishing-games__feature-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Override padding for specific items that already have padding within the container */
  .page-fishing-games__game-card, .page-fishing-games__feature-item {
    padding-left: 0;
    padding-right: 0;
  }
  .page-fishing-games__game-title, .page-fishing-games__game-description, .page-fishing-games__btn-play {
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-fishing-games__steps-list li {
    padding-left: 0;
    text-align: center;
  }

  .page-fishing-games__steps-list li::before {
    position: static;
    margin: 0 auto 15px auto;
  }
  
  .page-fishing-games__faq-item,
  .page-fishing-games__faq-question,
  .page-fishing-games__faq-answer {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-fishing-games__faq-question {
    padding: 15px;
  }
  .page-fishing-games__faq-answer {
    padding: 15px;
  }
}

@media (max-width: 480px) {
  .page-fishing-games__hero-title {
    font-size: clamp(24px, 7vw, 40px);
  }
  .page-fishing-games__hero-description {
    font-size: 16px;
  }
  .page-fishing-games__feature-title,
  .page-fishing-games__game-title,
  .page-fishing-games__step-title,
  .page-fishing-games__tip-title {
    font-size: 18px;
  }
  .page-fishing-games__feature-text,
  .page-fishing-games__game-description,
  .page-fishing-games__step-text,
  .page-fishing-games__tip-text,
  .page-fishing-games__faq-question,
  .page-fishing-games__faq-answer {
    font-size: 15px;
  }
}