/* Base styles for page-fishing-games */
.page-fishing-games {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light backgrounds */
  background-color: #FFFFFF; /* Default body background */
}

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

.page-fishing-games__container--flex {
  display: flex;
  align-items: center;
  gap: 40px;
}

.page-fishing-games__container--center {
  text-align: center;
}

.page-fishing-games__section-title {
  font-size: 36px;
  font-weight: bold;
  color: #017439;
  text-align: center;
  margin-bottom: 40px;
  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: #017439;
  border-radius: 2px;
}

.page-fishing-games__section-title--white {
  color: #FFFFFF;
}

.page-fishing-games__section-title--white::after {
  background-color: #FFFFFF;
}

.page-fishing-games__text-block {
  font-size: 17px;
  margin-bottom: 20px;
  text-align: justify;
  line-height: 1.8;
}

.page-fishing-games__text-block--white {
  color: #FFFFFF;
}

.page-fishing-games img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}

.page-fishing-games__image-content {
  margin: 30px auto;
  display: block;
}

.page-fishing-games__image-content--center {
  margin-left: auto;
  margin-right: auto;
}

/* Buttons */
.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary {
  display: inline-block;
  padding: 14px 28px;
  font-size: 18px;
  font-weight: bold;
  text-align: center;
  text-decoration: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-fishing-games__btn-primary {
  background-color: #C30808; /* Red for primary action */
  color: #FFFF00; /* Yellow for text for contrast */
  border: 2px solid #C30808;
}

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

.page-fishing-games__btn-secondary {
  background-color: #FFFFFF;
  color: #017439; /* Brand green for text */
  border: 2px solid #017439;
}

.page-fishing-games__btn-secondary:hover {
  background-color: #f0f0f0;
  border-color: #017439;
}

.page-fishing-games__btn-primary--small,
.page-fishing-games__btn-secondary--small {
  padding: 10px 20px;
  font-size: 16px;
}

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

.page-fishing-games__cta-buttons--center {
  justify-content: center;
}

/* Hero Section */
.page-fishing-games__hero-section {
  position: relative;
  width: 100%;
  padding-top: 10px; /* Small top padding for the first section */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  text-align: center;
  overflow: hidden;
  background-color: #017439;
}

.page-fishing-games__hero-image {
  width: 100%;
  position: relative;
  z-index: 1;
}

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

.page-fishing-games__hero-content {
  position: relative;
  z-index: 2;
  padding: 40px 20px 60px;
  max-width: 900px;
  margin-top: -150px; /* Pull content slightly over the image for visual hierarchy */
  background-color: rgba(0, 0, 0, 0.4); /* Semi-transparent overlay for text readability */
  border-radius: 10px;
}

.page-fishing-games__hero-title {
  font-size: clamp(32px, 5vw, 48px); /* Responsive font size */
  margin-bottom: 20px;
  font-weight: 800;
  line-height: 1.2;
  color: #FFFFFF;
}

.page-fishing-games__hero-description {
  font-size: clamp(18px, 2.5vw, 22px);
  margin-bottom: 30px;
  line-height: 1.5;
  color: #f0f0f0;
}

/* Intro Section */
.page-fishing-games__intro-section {
  padding: 60px 0;
  background-color: #FFFFFF;
}

/* Why Choose Section */
.page-fishing-games__dark-section {
  background-color: #017439;
  color: #FFFFFF;
  padding: 60px 0;
}

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

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

.page-fishing-games__feature-title {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 15px;
  color: #FFFF00; /* Yellow for titles on dark background */
}

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

/* Games Section (Product Grid) */
.page-fishing-games__games-section {
  padding: 60px 0;
  background-color: #f9f9f9;
}

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

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

.page-fishing-games__product-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 0;
  margin-bottom: 15px;
}

.page-fishing-games__product-title {
  font-size: 22px;
  font-weight: bold;
  color: #017439;
  margin-bottom: 10px;
  padding: 0 15px;
}

.page-fishing-games__product-description {
  font-size: 15px;
  color: #555555;
  margin-bottom: 20px;
  padding: 0 15px;
  flex-grow: 1;
}

/* Guide Section */
.page-fishing-games__guide-section {
  padding: 60px 0;
  background-color: #FFFFFF;
}

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

.page-fishing-games__guide-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 30px;
  gap: 20px;
}

.page-fishing-games__guide-step-number {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background-color: #017439;
  color: #FFFFFF;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: bold;
}

.page-fishing-games__guide-step-title {
  font-size: 20px;
  font-weight: bold;
  color: #017439;
  margin-top: 0;
  margin-bottom: 5px;
}

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

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

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

.page-fishing-games__promo-card {
  background-color: rgba(255, 255, 255, 0.15);
  padding: 25px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

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

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

/* Mobile Section */
.page-fishing-games__mobile-section {
  padding: 60px 0;
  background-color: #f0f5f0;
}

.page-fishing-games__mobile-content {
  flex: 1;
}

.page-fishing-games__mobile-image {
  flex: 1;
  text-align: center;
}

.page-fishing-games__mobile-image img {
  max-width: 80%;
  height: auto;
  margin: 0 auto;
}

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

.page-fishing-games__faq-list {
  margin-top: 40px;
}

details.page-fishing-games__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #e0e0e0;
  overflow: hidden;
  background: #fff;
}
details.page-fishing-games__faq-item summary.page-fishing-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
}
details.page-fishing-games__faq-item summary.page-fishing-games__faq-question::-webkit-details-marker {
  display: none;
}
details.page-fishing-games__faq-item summary.page-fishing-games__faq-question:hover {
  background: #f5f5f5;
}
.page-fishing-games__faq-qtext {
  flex: 1;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #333333;
}
.page-fishing-games__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #666;
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}
details.page-fishing-games__faq-item .page-fishing-games__faq-answer {
  padding: 0 20px 20px;
  background: #f9f9f9;
  border-radius: 0 0 5px 5px;
  font-size: 15px;
  color: #555555;
}

/* Conclusion Section */
.page-fishing-games__conclusion-section {
  padding: 60px 0;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-fishing-games__container {
    padding: 20px 30px;
  }

  .page-fishing-games__hero-content {
    margin-top: -100px;
    padding: 30px 20px 40px;
  }

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

  .page-fishing-games__feature-title,
  .page-fishing-games__product-title,
  .page-fishing-games__promo-title {
    font-size: 20px;
  }

  .page-fishing-games__guide-step-title {
    font-size: 18px;
  }
}

@media (max-width: 768px) {
  /* General container and text */
  .page-fishing-games__container,
  .page-fishing-games__container--flex,
  .page-fishing-games__section,
  .page-fishing-games__card,
  .page-fishing-games__product-card,
  .page-fishing-games__promo-card,
  .page-fishing-games__feature-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-fishing-games__text-block {
    font-size: 16px;
    text-align: left;
  }

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

  .page-fishing-games__section-title::after {
    width: 60px;
  }

  /* HERO Section */
  .page-fishing-games__hero-section {
    padding-top: 10px; /* Small top padding */
  }

  .page-fishing-games__hero-image img {
    object-fit: contain !important; /* Ensure image is fully visible */
    aspect-ratio: unset !important; /* Remove fixed aspect ratio */
    height: auto !important;
  }

  .page-fishing-games__hero-content {
    margin-top: -80px; /* Adjust overlap */
    padding: 25px 15px 30px;
  }

  .page-fishing-games__hero-title {
    font-size: clamp(28px, 8vw, 36px);
  }

  .page-fishing-games__hero-description {
    font-size: clamp(16px, 4vw, 18px);
  }

  .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;
  }

  /* Image responsiveness */
  .page-fishing-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  /* Why Choose Section */
  .page-fishing-games__features-grid {
    grid-template-columns: 1fr;
  }

  .page-fishing-games__feature-item {
    padding: 20px;
  }

  .page-fishing-games__feature-title {
    font-size: 20px;
  }

  /* Games Section */
  .page-fishing-games__products-grid {
    grid-template-columns: repeat(2, 1fr); /* 2 columns for mobile */
    gap: 15px;
    overflow-x: hidden; /* Prevent horizontal scroll */
  }

  .page-fishing-games__product-card img {
    
  }

  .page-fishing-games__product-title {
    font-size: 18px;
  }

  .page-fishing-games__product-description {
    font-size: 14px;
  }

  /* Guide Section */
  .page-fishing-games__guide-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .page-fishing-games__guide-step-number {
    margin-bottom: 10px;
  }

  .page-fishing-games__guide-step-title {
    font-size: 18px;
  }

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

  /* Promotions Section */
  .page-fishing-games__promo-grid {
    grid-template-columns: 1fr;
  }

  .page-fishing-games__promo-title {
    font-size: 20px;
  }

  /* Mobile Section */
  .page-fishing-games__container--flex {
    flex-direction: column;
    gap: 30px;
  }

  .page-fishing-games__mobile-image img {
    max-width: 90%;
  }

  /* FAQ Section */
  details.page-fishing-games__faq-item summary.page-fishing-games__faq-question { padding: 15px; }
  .page-fishing-games__faq-qtext { font-size: 15px; }
  details.page-fishing-games__faq-item .page-fishing-games__faq-answer {
    padding: 0 15px 15px;
  }
}