/* style/fishing-games.css */

/* Base Styles & Typography for page-fishing-games */
.page-fishing-games {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #f0f0f0; /* Light text for dark body background */
  background-color: #0a0a0a; /* Ensure consistency with body background */
}

.page-fishing-games__section {
  padding: 80px 20px;
  text-align: center;
}

.page-fishing-games__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.page-fishing-games__section-title {
  font-size: 36px;
  font-weight: bold;
  color: #FFD700; /* Gold accent for titles */
  margin-bottom: 20px;
  text-transform: uppercase;
}

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

/* Color Contrast Classes */
.page-fishing-games__dark-bg {
  background-color: #1A1A1A; /* Dark background */
  color: #ffffff; /* Light text */
}

.page-fishing-games__light-bg {
  background-color: #f8f9fa; /* Light background */
  color: #333333; /* Dark text */
}

/* Buttons */
.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 17px;
  transition: all 0.3s ease;
  cursor: pointer;
  border: 2px solid transparent;
  text-align: center;
}

.page-fishing-games__btn-primary {
  background-color: #FFD700; /* Gold */
  color: #1A1A1A; /* Dark text for gold background */
}

.page-fishing-games__btn-primary:hover {
  background-color: #e6c200;
  box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
}

.page-fishing-games__btn-secondary {
  background-color: transparent;
  color: #FFD700; /* Gold text */
  border-color: #FFD700;
}

.page-fishing-games__btn-secondary:hover {
  background-color: #FFD700;
  color: #1A1A1A;
  box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
}

.page-fishing-games__btn-link {
  display: inline-block;
  margin-top: 15px;
  color: #FFD700;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-fishing-games__btn-link:hover {
  color: #e6c200;
  text-decoration: underline;
}

.page-fishing-games__cta-wrapper {
  margin-top: 50px;
}

/* Hero Section */
.page-fishing-games__hero-section {
  padding-top: 120px; /* Adjust for fixed header */
  padding-bottom: 80px;
  background: linear-gradient(135deg, #1A1A1A, #333333);
  position: relative;
  overflow: hidden;
}

.page-fishing-games__hero-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  gap: 40px;
}

.page-fishing-games__hero-content {
  flex: 1;
  max-width: 600px;
}

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

.page-fishing-games__hero-description {
  font-size: 19px;
  color: #f0f0f0;
  margin-bottom: 30px;
}

.page-fishing-games__hero-image-wrapper {
  flex: 1;
  max-width: 500px;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.page-fishing-games__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* Why Choose Section */
.page-fishing-games__why-choose .page-fishing-games__section-title {
  color: #1A1A1A;
}

.page-fishing-games__why-choose .page-fishing-games__section-description {
  color: #555555;
}

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

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

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

.page-fishing-games__feature-icon {
  width: 100px;
  height: 100px;
  margin-bottom: 20px;
  object-fit: contain;
}

.page-fishing-games__feature-title {
  font-size: 24px;
  font-weight: bold;
  color: #1A1A1A;
  margin-bottom: 15px;
}

.page-fishing-games__feature-description {
  font-size: 16px;
  color: #555555;
}

/* Popular Games Section */
.page-fishing-games__game-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.page-fishing-games__game-item {
  background-color: #2a2a2a;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: left;
}

.page-fishing-games__game-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.page-fishing-games__game-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

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

.page-fishing-games__game-title {
  font-size: 22px;
  font-weight: bold;
  color: #FFD700;
  padding: 15px 20px 5px;
}

.page-fishing-games__game-description {
  font-size: 15px;
  color: #cccccc;
  padding: 0 20px 20px;
}

/* How To Play Section */
.page-fishing-games__how-to-play .page-fishing-games__section-title {
  color: #1A1A1A;
}

.page-fishing-games__how-to-play .page-fishing-games__section-description {
  color: #555555;
}

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

.page-fishing-games__step-item {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  text-align: left;
  color: #333333;
  border: 1px solid #e0e0e0;
}

.page-fishing-games__step-number {
  font-size: 48px;
  font-weight: bold;
  color: #FFD700;
  margin-bottom: 15px;
  line-height: 1;
}

.page-fishing-games__step-title {
  font-size: 24px;
  font-weight: bold;
  color: #1A1A1A;
  margin-bottom: 10px;
}

.page-fishing-games__step-description {
  font-size: 16px;
  color: #555555;
}

/* Strategy Section */
.page-fishing-games__strategy-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  text-align: left;
}

.page-fishing-games__strategy-item {
  background-color: #2a2a2a;
  border-radius: 10px;
  padding: 25px;
  margin-bottom: 20px;
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.2);
  border-left: 5px solid #FFD700;
}

.page-fishing-games__strategy-heading {
  font-size: 22px;
  color: #FFD700;
  margin-bottom: 10px;
}

.page-fishing-games__strategy-item p {
  font-size: 16px;
  color: #cccccc;
}

/* Promotions Section */
.page-fishing-games__promo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-fishing-games__promo-card {
  background-color: #ffffff;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #333333;
  border: 1px solid #e0e0e0;
}

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

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

.page-fishing-games__promo-title {
  font-size: 22px;
  font-weight: bold;
  color: #1A1A1A;
  margin-bottom: 10px;
}

.page-fishing-games__promo-description {
  font-size: 16px;
  color: #555555;
}

/* Support Section */
.page-fishing-games__support-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

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

.page-fishing-games__support-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.page-fishing-games__support-icon {
  width: 100px;
  height: 100px;
  margin-bottom: 20px;
  object-fit: contain;
}

.page-fishing-games__support-title {
  font-size: 24px;
  font-weight: bold;
  color: #FFD700;
  margin-bottom: 15px;
}

.page-fishing-games__support-description {
  font-size: 16px;
  color: #cccccc;
}

/* FAQ Section */
.page-fishing-games__faq .page-fishing-games__section-title {
  color: #1A1A1A;
}

.page-fishing-games__faq .page-fishing-games__section-description {
  color: #555555;
}

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

.page-fishing-games__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #e0e0e0;
  background-color: #ffffff;
}

.page-fishing-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background: #ffffff;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease;
}

.page-fishing-games__faq-question:hover {
  background-color: #f5f5f5;
}

.page-fishing-games__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  color: #1A1A1A;
  pointer-events: none;
}

.page-fishing-games__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  line-height: 1;
  color: #FFD700;
  transition: transform 0.3s ease;
  flex-shrink: 0;
  margin-left: 20px;
  pointer-events: none;
}

.page-fishing-games__faq-item.active .page-fishing-games__faq-toggle {
  transform: rotate(45deg);
  color: #1A1A1A;
}

.page-fishing-games__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.3s ease;
  padding: 0 25px;
  opacity: 0;
  color: #555555;
  font-size: 16px;
  line-height: 1.6;
}

.page-fishing-games__faq-item.active .page-fishing-games__faq-answer {
  max-height: 2000px !important; /* Sufficiently large */
  padding: 20px 25px !important;
  opacity: 1;
  background-color: #f9f9f9;
  border-top: 1px solid #e0e0e0;
}

/* Latest News Section */
.page-fishing-games__news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-fishing-games__news-card {
  background-color: #2a2a2a;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: left;
}

.page-fishing-games__news-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.page-fishing-games__news-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

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

.page-fishing-games__news-title {
  font-size: 20px;
  font-weight: bold;
  color: #FFD700;
  padding: 15px 20px 5px;
  min-height: 60px; /* Ensure consistent height for titles */
}

.page-fishing-games__news-excerpt {
  font-size: 15px;
  color: #cccccc;
  padding: 0 20px 10px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  min-height: 70px;
}

.page-fishing-games__news-date {
  font-size: 13px;
  color: #999999;
  padding: 0 20px 20px;
  display: block;
}

/* Conclusion Section */
.page-fishing-games__conclusion .page-fishing-games__section-title {
  color: #1A1A1A;
}

.page-fishing-games__conclusion .page-fishing-games__section-description {
  color: #555555;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-fishing-games__hero-container {
    flex-direction: column;
    text-align: center;
  }

  .page-fishing-games__hero-content {
    max-width: 100%;
  }

  .page-fishing-games__hero-title {
    font-size: 40px;
  }

  .page-fishing-games__hero-image-wrapper {
    max-width: 80%;
    margin-top: 30px;
  }

  .page-fishing-games__section-title {
    font-size: 30px;
  }

  .page-fishing-games__section-description {
    font-size: 17px;
  }

  .page-fishing-games__feature-title, .page-fishing-games__game-title, .page-fishing-games__step-title, .page-fishing-games__promo-title, .page-fishing-games__support-title, .page-fishing-games__news-title {
    font-size: 20px;
  }

  .page-fishing-games__feature-description, .page-fishing-games__game-description, .page-fishing-games__step-description, .page-fishing-games__promo-description, .page-fishing-games__support-description, .page-fishing-games__strategy-item p, .page-fishing-games__news-excerpt {
    font-size: 15px;
  }
}

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

  .page-fishing-games__section {
    padding: 60px 15px !important;
  }

  .page-fishing-games__hero-section {
    padding-top: 100px !important; /* Mobile fixed header adjustment */
    padding-bottom: 60px !important;
  }

  .page-fishing-games__hero-title {
    font-size: 32px;
  }

  .page-fishing-games__hero-description {
    font-size: 16px;
  }

  .page-fishing-games__btn-primary, .page-fishing-games__btn-secondary {
    padding: 12px 25px;
    font-size: 16px;
  }

  .page-fishing-games__section-title {
    font-size: 26px;
  }

  .page-fishing-games__section-description {
    font-size: 15px;
  }

  .page-fishing-games__hero-image-wrapper {
    max-width: 100%;
  }

  .page-fishing-games img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-fishing-games__section,
  .page-fishing-games__container,
  .page-fishing-games__feature-card,
  .page-fishing-games__game-item,
  .page-fishing-games__step-item,
  .page-fishing-games__promo-card,
  .page-fishing-games__support-item,
  .page-fishing-games__news-card,
  .page-fishing-games__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
  }

  .page-fishing-games__feature-title, .page-fishing-games__game-title, .page-fishing-games__step-title, .page-fishing-games__promo-title, .page-fishing-games__support-title, .page-fishing-games__news-title {
    font-size: 18px;
  }

  .page-fishing-games__feature-icon, .page-fishing-games__support-icon {
    width: 80px;
    height: 80px;
  }

  .page-fishing-games__game-image {
    height: 200px;
  }

  .page-fishing-games__step-number {
    font-size: 40px;
  }

  .page-fishing-games__faq-question h3 {
    font-size: 16px;
  }

  .page-fishing-games__faq-toggle {
    font-size: 24px;
  }

  .page-fishing-games__faq-answer {
    padding: 15px 15px !important;
  }

  .page-fishing-games__news-image {
    height: 150px;
  }

  .page-fishing-games__news-title {
    min-height: unset;
  }

  .page-fishing-games__news-excerpt {
    min-height: unset;
  }

  .page-fishing-games__strategy-item {
    padding: 20px;
  }
  .page-fishing-games__strategy-heading {
    font-size: 20px;
  }
}