/* style/fishing-games.css */

/* Base styles for the fishing games page */
.page-fishing-games {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: #0a0a0a; /* Ensure consistency with body background */
}

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

/* Section styling */
.page-fishing-games__hero-section,
.page-fishing-games__introduction-section,
.page-fishing-games__features-section,
.page-fishing-games__popular-games-section,
.page-fishing-games__how-to-play-section,
.page-fishing-games__tips-section,
.page-fishing-games__promotions-section,
.page-fishing-games__download-app-section,
.page-fishing-games__faq-section,
.page-fishing-games__final-cta-section {
  padding: 60px 0;
  text-align: center;
}

.page-fishing-games__dark-bg {
  background-color: #0a0a0a;
  color: #ffffff;
}

.page-fishing-games__light-bg {
  background-color: #1a1a1a; /* Slightly lighter for contrast on dark body */
  color: #ffffff;
}

/* Hero Section */
.page-fishing-games__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  overflow: hidden;
}

.page-fishing-games__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
  min-height: 400px; /* Ensure image is visible */
}

.page-fishing-games__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 40px 20px;
  background: rgba(0, 0, 0, 0.6); /* Semi-transparent overlay for readability */
  border-radius: 10px;
  margin-top: 100px; /* Adjust based on image and header */
  margin-bottom: 100px;
}

.page-fishing-games__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: bold;
  color: #26A9E0;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-fishing-games__subtitle {
  font-size: 1.2rem;
  margin-bottom: 30px;
  color: #f0f0f0;
}

/* Buttons */
.page-fishing-games__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%;
}

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

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

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

.page-fishing-games__btn-secondary:hover {
  background-color: #26A9E0;
  color: #ffffff;
}

.page-fishing-games__btn-small {
  padding: 10px 20px;
  font-size: 0.9rem;
}

.page-fishing-games__btn-large {
  padding: 18px 40px;
  font-size: 1.2rem;
}

/* Section Titles */
.page-fishing-games__section-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: bold;
  color: #26A9E0;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 10px;
}

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

.page-fishing-games__text-block {
  font-size: 1.1rem;
  margin-bottom: 20px;
  color: #f0f0f0;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-fishing-games__feature-card {
  background-color: rgba(255, 255, 255, 0.08); /* Light transparent background */
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%; /* Ensure cards are same height */
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

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

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

.page-fishing-games__card-title {
  font-size: 1.5rem;
  font-weight: bold;
  color: #26A9E0;
  margin-bottom: 15px;
}

.page-fishing-games__feature-card p {
  color: #f0f0f0;
  font-size: 1rem;
}

/* Popular Games Grid */
.page-fishing-games__games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-fishing-games__game-card {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

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

.page-fishing-games__game-image {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
  display: block;
}

.page-fishing-games__game-card p {
  color: #cccccc;
  font-size: 0.95rem;
  flex-grow: 1;
  margin-bottom: 20px;
}

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

/* How to Play Steps */
.page-fishing-games__steps-list {
  list-style: none;
  counter-reset: step-counter;
  max-width: 900px;
  margin: 40px auto 0;
  padding: 0;
  text-align: left;
}

.page-fishing-games__steps-list li {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 25px;
  margin-bottom: 20px;
  position: relative;
  padding-left: 80px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.page-fishing-games__steps-list li::before {
  counter-increment: step-counter;
  content: counter(step-counter);
  position: absolute;
  left: 25px;
  top: 50%;
  transform: translateY(-50%);
  background-color: #26A9E0;
  color: #ffffff;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: bold;
}

.page-fishing-games__step-title {
  font-size: 1.4rem;
  color: #26A9E0;
  margin-bottom: 10px;
}

.page-fishing-games__steps-list li p {
  color: #f0f0f0;
  font-size: 1rem;
}

/* Tips Section */
.page-fishing-games__tips-list {
  list-style: none;
  padding: 0;
  max-width: 900px;
  margin: 40px auto 0;
  text-align: left;
}

.page-fishing-games__tips-list li {
  background-color: rgba(255, 255, 255, 0.08);
  border-left: 5px solid #26A9E0;
  border-radius: 8px;
  padding: 20px 25px;
  margin-bottom: 15px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.page-fishing-games__tip-title {
  font-size: 1.3rem;
  color: #26A9E0;
  margin-bottom: 8px;
}

.page-fishing-games__tips-list li p {
  color: #f0f0f0;
  font-size: 1rem;
}

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

.page-fishing-games__promo-card {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

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

.page-fishing-games__promo-image {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
  display: block;
}

.page-fishing-games__promo-card p {
  color: #cccccc;
  font-size: 0.95rem;
  flex-grow: 1;
  margin-bottom: 20px;
}

/* Download App Section */
.page-fishing-games__download-options {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  margin-top: 40px;
}

.page-fishing-games__qr-code {
  width: 250px;
  height: 250px;
  border-radius: 10px;
  background-color: #ffffff; /* QR code background */
  padding: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  display: block; /* Ensure it respects max-width on mobile */
}

.page-fishing-games__download-buttons {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.page-fishing-games__btn-download {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 15px 25px;
  font-size: 1rem;
  text-align: left;
}

.page-fishing-games__btn-download img {
  
  
  display: block; /* Ensure it respects max-width on mobile */
}

/* FAQ Section */
.page-fishing-games__faq-list {
  max-width: 900px;
  margin: 40px auto 0;
  text-align: left;
}

.page-fishing-games__faq-item {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  margin-bottom: 15px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.page-fishing-games__faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 25px;
  font-size: 1.2rem;
  font-weight: bold;
  color: #26A9E0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

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

.page-fishing-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.page-fishing-games__faq-toggle {
  font-size: 1.8rem;
  line-height: 1;
  margin-left: 15px;
  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 25px 20px;
  color: #f0f0f0;
  font-size: 1rem;
  line-height: 1.6;
}

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

/* Final CTA Section */
.page-fishing-games__final-cta-section {
  background-color: #26A9E0;
  color: #ffffff;
  padding: 80px 0;
}

.page-fishing-games__final-cta-section .page-fishing-games__section-title {
  color: #ffffff;
}

.page-fishing-games__final-cta-section .page-fishing-games__section-title::after {
  background-color: #ffffff;
}

.page-fishing-games__final-cta-section .page-fishing-games__text-block {
  color: #f0f0f0;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-fishing-games__hero-content {
    margin-top: 50px;
    margin-bottom: 50px;
  }
}

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

  .page-fishing-games__hero-section,
  .page-fishing-games__introduction-section,
  .page-fishing-games__features-section,
  .page-fishing-games__popular-games-section,
  .page-fishing-games__how-to-play-section,
  .page-fishing-games__tips-section,
  .page-fishing-games__promotions-section,
  .page-fishing-games__download-app-section,
  .page-fishing-games__faq-section,
  .page-fishing-games__final-cta-section {
    padding: 40px 0;
  }

  .page-fishing-games__hero-image {
    min-height: 300px;
  }

  .page-fishing-games__hero-content {
    padding: 25px 15px;
    margin-top: 30px;
    margin-bottom: 30px;
  }

  .page-fishing-games__main-title {
    font-size: 2rem;
  }

  .page-fishing-games__subtitle {
    font-size: 1rem;
  }

  .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__section-title {
    font-size: 2rem;
    margin-bottom: 30px;
  }

  .page-fishing-games__text-block {
    font-size: 1rem;
  }

  .page-fishing-games__features-grid,
  .page-fishing-games__games-grid,
  .page-fishing-games__promotions-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .page-fishing-games__feature-card,
  .page-fishing-games__game-card,
  .page-fishing-games__promo-card {
    padding: 20px;
  }

  .page-fishing-games__feature-image,
  .page-fishing-games__game-image,
  .page-fishing-games__promo-image {
    height: 150px;
  }

  .page-fishing-games__card-title {
    font-size: 1.3rem;
  }

  .page-fishing-games__steps-list li {
    padding-left: 70px;
    padding-right: 20px;
  }

  .page-fishing-games__steps-list li::before {
    left: 20px;
    width: 35px;
    height: 35px;
    font-size: 1.3rem;
  }

  .page-fishing-games__step-title {
    font-size: 1.2rem;
  }

  .page-fishing-games__tips-list li {
    padding: 15px 20px;
  }

  .page-fishing-games__tip-title {
    font-size: 1.1rem;
  }

  .page-fishing-games__download-options {
    flex-direction: column;
  }

  .page-fishing-games__download-buttons {
    width: 100%;
    max-width: 300px; /* Constrain buttons */
  }

  .page-fishing-games__btn-download {
    font-size: 0.95rem;
    padding: 12px 20px;
    width: 100%;
  }

  .page-fishing-games__faq-item summary {
    font-size: 1rem;
    padding: 15px 20px;
  }

  .page-fishing-games__faq-toggle {
    font-size: 1.5rem;
  }

  .page-fishing-games__faq-answer {
    padding: 0 20px 15px;
  }

  /* Mobile image, video, button adaptation */
  .page-fishing-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-fishing-games video,
  .page-fishing-games__video {
    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__video-section,
  .page-fishing-games__video-container,
  .page-fishing-games__video-wrapper,
  .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;
  }

  .page-fishing-games__video-section {
    padding-top: 10px !important;
  }

  .page-fishing-games__cta-buttons {
    flex-wrap: wrap !important;
    gap: 10px;
  }
}

@media (max-width: 480px) {
  .page-fishing-games__hero-content {
    margin-top: 20px;
    margin-bottom: 20px;
  }
  .page-fishing-games__main-title {
    font-size: 1.8rem;
  }
  .page-fishing-games__section-title {
    font-size: 1.6rem;
  }
}