/* style/fishing-games.css */
.page-fishing-games {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-main, #F2FFF6); /* Default text color from custom scheme */
  background-color: var(--background, #08160F); /* Default background from custom scheme */
}

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

.page-fishing-games__section-title {
  font-size: 2.5em;
  color: var(--text-main, #F2FFF6);
  text-align: center;
  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: var(--glow, #57E38D);
  border-radius: 2px;
}

.page-fishing-games__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: var(--text-main, #F2FFF6);
  text-align: justify;
}

.page-fishing-games a {
  color: var(--glow, #57E38D);
  text-decoration: none;
}

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

/* Hero Section */
.page-fishing-games__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 0 60px 0; /* body already handles --header-offset, so small top padding */
  background-color: var(--deep-green, #0A4B2C);
}

.page-fishing-games__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  max-height: 600px;
  margin-bottom: 30px;
}

.page-fishing-games__hero-content {
  text-align: center;
  max-width: 900px;
  padding: 0 20px;
}

.page-fishing-games__main-title {
  font-size: clamp(2em, 4vw, 3.5em); /* Responsive font size */
  color: var(--gold, #F2C14E);
  margin-bottom: 20px;
  line-height: 1.2;
  font-weight: bold;
}

.page-fishing-games__hero-description {
  font-size: 1.2em;
  color: var(--text-secondary, #A7D9B8);
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.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-block;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  text-align: center;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-fishing-games__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Custom Button Color */
  color: #ffffff; /* White text for contrast */
  border: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-fishing-games__btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  opacity: 0.9;
}

.page-fishing-games__btn-secondary {
  background: transparent;
  color: var(--text-main, #F2FFF6);
  border: 2px solid var(--border, #2E7A4E); /* Custom Border Color */
}

.page-fishing-games__btn-secondary:hover {
  background: rgba(46, 122, 78, 0.2); /* Slightly lighter border color for hover */
  color: #ffffff;
}

/* About Fishing Games Section */
.page-fishing-games__about-fishing-games-section {
  padding: 60px 0;
  background-color: var(--background, #08160F);
}

.page-fishing-games__image-content {
  width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  object-fit: cover;
  min-width: 200px; /* Enforce min image size */
  min-height: 200px;
}

/* Game Features Section */
.page-fishing-games__game-features-section {
  padding: 60px 0;
  background-color: var(--card-bg, #11271B); /* Custom Card BG Color */
  color: var(--text-main, #F2FFF6);
}

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

.page-fishing-games__feature-card {
  background-color: var(--background, #08160F);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-fishing-games__card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  min-width: 200px; /* Enforce min image size */
  min-height: 200px;
}

.page-fishing-games__card-title {
  font-size: 1.5em;
  color: var(--gold, #F2C14E);
  margin-bottom: 15px;
}

.page-fishing-games__card-description {
  color: var(--text-secondary, #A7D9B8);
  font-size: 0.95em;
}

/* How to Play Section */
.page-fishing-games__how-to-play-section {
  padding: 60px 0;
  background-color: var(--background, #08160F);
}

.page-fishing-games__steps-list {
  list-style: none;
  padding: 0;
  counter-reset: step-counter;
}

.page-fishing-games__list-item {
  background-color: var(--card-bg, #11271B); /* Custom Card BG Color */
  border-radius: 10px;
  padding: 30px;
  margin-bottom: 20px;
  position: relative;
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.2);
  padding-left: 80px; /* Space for step number */
}

.page-fishing-games__list-item::before {
  counter-increment: step-counter;
  content: counter(step-counter);
  position: absolute;
  left: 30px;
  top: 30px;
  width: 40px;
  height: 40px;
  background: var(--glow, #57E38D);
  color: var(--background, #08160F);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.5em;
  font-weight: bold;
}

.page-fishing-games__list-title {
  font-size: 1.4em;
  color: var(--gold, #F2C14E);
  margin-bottom: 10px;
}

/* Promotions Section */
.page-fishing-games__promotions-section {
  padding: 60px 0;
  background-color: var(--card-bg, #11271B); /* Custom Card BG Color */
  color: var(--text-main, #F2FFF6);
}

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

.page-fishing-games__promo-card {
  background-color: var(--background, #08160F);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.page-fishing-games__promo-card .page-fishing-games__btn-primary {
  margin-top: 20px;
}

/* Why Choose Section */
.page-fishing-games__why-choose-section {
  padding: 60px 0;
  background-color: var(--background, #08160F);
}

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

.page-fishing-games__benefit-item {
  background-color: var(--card-bg, #11271B); /* Custom Card BG Color */
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.2);
}

.page-fishing-games__benefit-title {
  font-size: 1.3em;
  color: var(--gold, #F2C14E);
  margin-bottom: 10px;
}

.page-fishing-games__benefit-description {
  color: var(--text-secondary, #A7D9B8);
  font-size: 0.95em;
}

/* Video Section */
.page-fishing-games__video-section {
  padding: 10px 0 60px 0; /* Small top padding, body handles header offset */
  background-color: var(--deep-green, #0A4B2C);
  text-align: center;
}

.page-fishing-games__video-container {
  width: 100%; /* Important for desktop flex container */
  max-width: 1200px;
  margin: 0 auto;
  box-sizing: border-box;
}

.page-fishing-games__video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  margin-bottom: 20px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
}

.page-fishing-games__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 10px;
  display: block;
  cursor: pointer;
}

.page-fishing-games__video-caption {
  color: var(--text-secondary, #A7D9B8);
  font-style: italic;
  margin-bottom: 30px;
}

.page-fishing-games__video-cta {
  margin-top: 20px;
}

/* FAQ Section */
.page-fishing-games__faq-section {
  padding: 60px 0;
  background-color: var(--card-bg, #11271B); /* Custom Card BG Color */
  color: var(--text-main, #F2FFF6);
}

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

.page-fishing-games__faq-item {
  background-color: var(--background, #08160F);
  border-radius: 8px;
  margin-bottom: 15px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--divider, #1E3A2A); /* Custom Divider Color */
}

.page-fishing-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-size: 1.15em;
  font-weight: bold;
  color: var(--text-main, #F2FFF6);
  transition: background-color 0.3s ease;
}

.page-fishing-games__faq-item[open] > .page-fishing-games__faq-question {
  background-color: var(--deep-green, #0A4B2C);
  border-bottom: 1px solid var(--divider, #1E3A2A);
  border-radius: 8px 8px 0 0;
}

.page-fishing-games__faq-question:hover {
  background-color: var(--deep-green, #0A4B2C);
}

.page-fishing-games__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  color: var(--glow, #57E38D);
}

.page-fishing-games__faq-answer {
  padding: 0 25px 20px 25px;
  font-size: 1em;
  color: var(--text-secondary, #A7D9B8);
  line-height: 1.7;
}

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

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

/* CTA Bottom Section */
.page-fishing-games__cta-bottom {
  padding: 60px 0;
  background-color: var(--background, #08160F);
  text-align: center;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-fishing-games__main-title {
    font-size: clamp(2em, 5vw, 3em);
  }
  .page-fishing-games__section-title {
    font-size: 2em;
  }
}

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

  .page-fishing-games__hero-section,
  .page-fishing-games__about-fishing-games-section,
  .page-fishing-games__game-features-section,
  .page-fishing-games__how-to-play-section,
  .page-fishing-games__promotions-section,
  .page-fishing-games__why-choose-section,
  .page-fishing-games__video-section,
  .page-fishing-games__faq-section,
  .page-fishing-games__cta-bottom {
    padding: 40px 0;
  }

  .page-fishing-games__container {
    padding-left: 15px !important;
    padding-right: 15px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-fishing-games__hero-image,
  .page-fishing-games__image-content,
  .page-fishing-games__card-image,
  .page-fishing-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-fishing-games__video-wrapper,
  .page-fishing-games__video-container,
  .page-fishing-games__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .page-fishing-games__video-wrapper {
    padding-bottom: 56.25% !important; /* Ensure aspect ratio */
    height: 0 !important;
  }

  .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: 12px 20px;
  }

  .page-fishing-games__cta-buttons,
  .page-fishing-games__button-group,
  .page-fishing-games__btn-container {
    flex-direction: column;
    gap: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

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

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

  .page-fishing-games__list-item {
    padding-left: 60px;
  }

  .page-fishing-games__list-item::before {
    left: 20px;
  }

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

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

/* Ensure all images are >= 200px */
.page-fishing-games img:not([width='1'], [height='1']) { /* Exclude tiny 1x1 social images */
  min-width: 200px;
  min-height: 200px;
}