/* style/fishing-games.css */

/* Base Styles for the page-fishing-games scope */
.page-fishing-games {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-main-color, #F2FFF6); /* Default text color, adjusted by context */
  background-color: var(--background-color, #08160F); /* Page background */
}

/* Color Contrast Adjustments based on body background (dynamic) */
.page-fishing-games__light-bg {
  background-color: #ffffff;
  color: #333333;
}

.page-fishing-games__dark-bg {
  background-color: #08160F;
  color: #F2FFF6;
}

.page-fishing-games__dark-bg .page-fishing-games__heading,
.page-fishing-games__dark-bg .page-fishing-games__sub-heading,
.page-fishing-games__dark-bg .page-fishing-games__card-title {
  color: #F2FFF6;
}

.page-fishing-games__light-bg .page-fishing-games__heading,
.page-fishing-games__light-bg .page-fishing-games__sub-heading,
.page-fishing-games__light-bg .page-fishing-games__card-title {
  color: #333333;
}

/* Section Styling */
.page-fishing-games__section {
  padding: 60px 0;
}

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

.page-fishing-games__heading {
  font-size: clamp(1.8rem, 2.5vw, 2.8rem);
  font-weight: bold;
  text-align: center;
  margin-bottom: 40px;
  line-height: 1.2;
  color: var(--text-main-color, #F2FFF6); /* Default, overridden by light/dark bg */
}

.page-fishing-games__sub-heading {
  font-size: clamp(1.3rem, 2vw, 1.8rem);
  font-weight: 600;
  margin-top: 30px;
  margin-bottom: 15px;
  color: var(--text-main-color, #F2FFF6); /* Default, overridden by light/dark bg */
}

.page-fishing-games p {
  margin-bottom: 15px;
  color: var(--text-secondary-color, #A7D9B8); /* Default, overridden by light/dark bg */
}

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

.page-fishing-games__list {
  list-style: disc;
  padding-left: 20px;
  margin-bottom: 20px;
}

.page-fishing-games__list-ordered {
  list-style: decimal;
  padding-left: 20px;
  margin-bottom: 20px;
}

.page-fishing-games__list-item {
  margin-bottom: 10px;
  color: var(--text-secondary-color, #A7D9B8);
}

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

.page-fishing-games__list-item strong {
  color: var(--text-main-color, #F2FFF6);
}

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

/* Hero Section */
.page-fishing-games__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 0 60px 0; /* Small top padding, more bottom padding */
  min-height: 600px;
  overflow: hidden;
  text-align: center;
  background-color: #08160F;
}

.page-fishing-games__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
}

.page-fishing-games__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: brightness(0.5); /* Darken image for text readability */
}

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

.page-fishing-games__main-title {
  font-size: clamp(2.5rem, 4vw, 4.5rem);
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #F2FFF6;
}

.page-fishing-games__description {
  font-size: 1.1rem;
  margin-bottom: 30px;
  color: #A7D9B8;
}

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

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

.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;
  font-size: 1rem;
  transition: all 0.3s ease;
  text-align: center;
  box-sizing: border-box;
  max-width: 100%; /* Ensure buttons adapt to container */
  white-space: normal; /* Allow text to wrap */
  word-wrap: break-word;
}

.page-fishing-games__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #F2FFF6;
  border: none;
}

.page-fishing-games__btn-primary:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  box-shadow: 0 5px 15px rgba(42, 209, 111, 0.4);
}

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

.page-fishing-games__btn-secondary:hover {
  background-color: #2AD16F;
  color: #F2FFF6;
  box-shadow: 0 5px 15px rgba(42, 209, 111, 0.4);
}

/* Game Cards Showcase */
.page-fishing-games__games-showcase {
  background-color: #08160F;
}

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

.page-fishing-games__card {
  background-color: #11271B; /* Card BG */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  color: #A7D9B8;
}

.page-fishing-games__card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
}

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

.page-fishing-games__card-content {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-fishing-games__card-title {
  font-size: 1.4rem;
  font-weight: bold;
  margin-bottom: 10px;
  color: #F2FFF6;
}

.page-fishing-games__card-content p {
  margin-bottom: 20px;
  color: #A7D9B8;
}

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

/* How to Play Section */
.page-fishing-games__how-to-play {
  background-color: #ffffff;
}

.page-fishing-games__how-to-play .page-fishing-games__list-ordered li strong {
  color: #11A84E;
}

.page-fishing-games__how-to-play .page-fishing-games__list li strong {
  color: #11A84E;
}

.page-fishing-games__how-to-play a {
  color: #11A84E;
  text-decoration: underline;
}

.page-fishing-games__how-to-play a:hover {
  color: #0A4B2C;
}

/* Promotions Section */
.page-fishing-games__promotions {
  background-color: #ffffff;
}

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

.page-fishing-games__promotions .page-fishing-games__card {
  background-color: #f8f8f8;
  color: #333333;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-fishing-games__promotions .page-fishing-games__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-fishing-games__promotions .page-fishing-games__card-title {
  color: #11A84E;
}

.page-fishing-games__promotions .page-fishing-games__card-content p {
  color: #555555;
}

/* Benefits Section */
.page-fishing-games__benefits {
  background-color: #08160F;
}

.page-fishing-games__list--two-columns {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  list-style: none;
  padding-left: 0;
  margin-top: 40px;
}

.page-fishing-games__list--two-columns .page-fishing-games__list-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  background-color: #11271B;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  color: #A7D9B8;
}

.page-fishing-games__list-icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  object-fit: contain;
}

.page-fishing-games__list-item span {
  color: #A7D9B8;
}

.page-fishing-games__list-item strong {
  color: #F2FFF6;
}

/* FAQ Section */
.page-fishing-games__faq {
  background-color: #ffffff;
}

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

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

.page-fishing-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-weight: bold;
  font-size: 1.1rem;
  cursor: pointer;
  color: #333333;
  background-color: #f0f0f0;
  border-bottom: 1px solid #e0e0e0;
  transition: background-color 0.3s ease;
  list-style: none; /* For details/summary */
}

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

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

.page-fishing-games__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  margin-left: 15px;
  color: #11A84E;
}

.page-fishing-games__faq-answer {
  padding: 20px 25px;
  color: #555555;
  line-height: 1.8;
}

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

/* Conclusion Section */
.page-fishing-games__conclusion {
  background-color: #0A4B2C; /* Deep Green */
  color: #F2FFF6;
}

.page-fishing-games__conclusion .page-fishing-games__heading {
  color: #F2FFF6;
}

.page-fishing-games__conclusion p {
  color: #A7D9B8;
  font-size: 1.1rem;
  margin-bottom: 40px;
}

/* Responsive Adjustments */
@media (min-width: 769px) {
  .page-fishing-games__list--two-columns {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .page-fishing-games__hero-section {
    min-height: 450px;
    padding: 10px 0 40px 0;
  }

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

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

  .page-fishing-games__heading {
    font-size: 2rem;
    margin-bottom: 30px;
  }

  .page-fishing-games__sub-heading {
    font-size: 1.4rem;
  }

  .page-fishing-games__section {
    padding: 40px 0;
  }

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

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

  .page-fishing-games__btn-primary,
  .page-fishing-games__btn-secondary {
    width: 100% !important; /* Force full width for mobile buttons */
    padding: 12px 20px;
    font-size: 0.95rem;
  }

  .page-fishing-games__card-image {
    height: 180px;
  }

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

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

  .page-fishing-games__faq-answer {
    padding: 15px 20px;
    font-size: 0.95rem;
  }

  /* Mobile responsive image adjustments */
  .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-section,
  .page-fishing-games__hero-image-wrapper,
  .page-fishing-games__hero-content,
  .page-fishing-games__game-cards,
  .page-fishing-games__promo-cards,
  .page-fishing-games__list--two-columns,
  .page-fishing-games__faq-list,
  .page-fishing-games__list-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  /* Ensure content has horizontal padding on mobile */
  .page-fishing-games__container,
  .page-fishing-games__hero-content {
    padding-left: 15px !important;
    padding-right: 15px !important;
  }

  .page-fishing-games__list-item span {
    font-size: 0.95rem;
  }

  .page-fishing-games__list-icon {
    width: 32px;
    height: 32px;
  }
}