/* style/fishing-games.css */

/* Base styles for the fishing-games page */
.page-fishing-games {
  background-color: var(--bg-color, #08160F); /* Fallback to custom dark background */
  color: var(--text-main, #F2FFF6); /* Main text color for dark background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  overflow-x: hidden; /* Prevent horizontal scroll on wider elements */
}

/* Shared content area styling */
.page-fishing-games__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  box-sizing: border-box;
}

.page-fishing-games__section-title {
  font-size: clamp(2em, 5vw, 2.8em);
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
  color: var(--text-main, #F2FFF6);
  line-height: 1.2;
}

.page-fishing-games__sub-title {
  font-size: 1.8em;
  font-weight: 600;
  margin-top: 30px;
  margin-bottom: 15px;
  color: var(--text-main, #F2FFF6);
}

.page-fishing-games__text-block {
  margin-bottom: 15px;
  color: var(--text-main, #F2FFF6);
}

/* Buttons */
.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
  text-align: center;
  transition: all 0.3s ease;
  white-space: nowrap;
  cursor: pointer;
  box-sizing: border-box;
}

.page-fishing-games__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #ffffff; /* White text for primary button */
  border: 2px solid transparent;
}

.page-fishing-games__btn-primary:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 255, 100, 0.3);
}

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

.page-fishing-games__btn-secondary:hover {
  background-color: var(--deep-green, #0A4B2C);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-fishing-games__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
  flex-wrap: wrap;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.page-fishing-games__cta-center {
  text-align: center;
  margin-top: 40px;
}

/* Card styling */
.page-fishing-games__card {
  background-color: var(--card-bg, #11271B);
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  text-align: center;
  color: var(--text-main, #F2FFF6);
  border: 1px solid var(--border-color, #2E7A4E);
  height: 100%; /* Ensure cards in a grid have equal height */
  box-sizing: border-box;
}

.page-fishing-games__card-title {
  font-size: 1.5em;
  font-weight: 600;
  margin-top: 15px;
  margin-bottom: 10px;
  color: var(--text-main, #F2FFF6);
}

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

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

.page-fishing-games__hero-image-wrapper {
  width: 100%;
  max-width: 1600px; /* Adjust based on typical hero image width */
  margin: 0 auto 30px auto;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

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

.page-fishing-games__hero-content {
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  z-index: 1;
}

.page-fishing-games__main-title {
  font-size: clamp(2.5em, 6vw, 3.5em); /* Use clamp for H1 */
  font-weight: 800;
  color: var(--text-main, #F2FFF6);
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

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

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

/* Features Section */
.page-fishing-games__features-section {
  background-color: var(--deep-green, #0A4B2C);
  padding: 60px 0;
}

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

.page-fishing-games__feature-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
}

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

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

.page-fishing-games__game-image {
  width: 100%;
  height: 220px; /* Fixed height for game images */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
}

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

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

.page-fishing-games__step-card .page-fishing-games__btn-secondary {
  margin-top: 20px;
  width: calc(100% - 4px); /* Account for border */
}

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

.page-fishing-games__tips-layout {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
  margin-top: 40px;
}

.page-fishing-games__tips-content {
  flex: 1 1 50%;
  min-width: 300px;
}

.page-fishing-games__tips-image-wrapper {
  flex: 1 1 40%;
  min-width: 300px;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

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

.page-fishing-games__tips-list {
  list-style-type: disc;
  margin-left: 20px;
  padding-left: 0;
  color: var(--text-main, #F2FFF6);
}

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

.page-fishing-games__tips-list li strong {
  color: var(--text-main, #F2FFF6);
}

/* Promo Section */
.page-fishing-games__promo-section {
  background-color: var(--deep-green, #0A4B2C);
  padding: 60px 0;
}

.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-image {
  width: 100%;
  height: 180px; /* Fixed height for promo images */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
}

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

.page-fishing-games__security-layout {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
  margin-top: 40px;
}

.page-fishing-games__security-content {
  flex: 1 1 50%;
  min-width: 300px;
}

.page-fishing-games__security-image-wrapper {
  flex: 1 1 40%;
  min-width: 300px;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

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

.page-fishing-games__security-content .page-fishing-games__btn-primary {
  margin-top: 30px;
}

/* FAQ Section */
.page-fishing-games__faq-section {
  background-color: var(--deep-green, #0A4B2C);
  padding: 60px 0;
}

.page-fishing-games__faq-list {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.page-fishing-games__faq-item {
  background-color: var(--card-bg, #11271B);
  border-radius: 12px;
  border: 1px solid var(--border-color, #2E7A4E);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  color: var(--text-main, #F2FFF6);
}

.page-fishing-games__faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: 600;
  cursor: pointer;
  color: var(--text-main, #F2FFF6);
  background-color: var(--card-bg, #11271B);
  border-bottom: 1px solid var(--divider, #1E3A2A);
}

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

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

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

.page-fishing-games__faq-qtext {
  flex-grow: 1;
}

.page-fishing-games__faq-toggle {
  margin-left: 15px;
  font-size: 1.5em;
  line-height: 1;
  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: 20px 25px;
  font-size: 1em;
  color: var(--text-secondary, #A7D9B8);
}

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

.page-fishing-games__faq-answer .page-fishing-games__btn-secondary {
  margin-top: 15px;
}

/* Conclusion Section */
.page-fishing-games__conclusion-section {
  background-color: var(--background, #08160F);
  padding: 60px 0;
  text-align: center;
}

.page-fishing-games__conclusion-section .page-fishing-games__cta-buttons {
  margin-top: 40px;
}

/* Responsive Design */

/* All images responsive by default */
.page-fishing-games img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* All video responsive by default */
.page-fishing-games video,
.page-fishing-games__video {
  max-width: 100%;
  width: 100%;
  height: auto;
  display: block;
}

/* Video container responsive by default */
.page-fishing-games__video-section,
.page-fishing-games__video-container,
.page-fishing-games__video-wrapper {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

@media (max-width: 1024px) {
  .page-fishing-games__hero-section {
    padding: 40px 15px;
  }

  .page-fishing-games__main-title {
    font-size: clamp(2em, 5vw, 3em);
  }

  .page-fishing-games__description {
    font-size: 1.1em;
  }

  .page-fishing-games__content-area {
    padding: 30px 15px;
  }

  .page-fishing-games__feature-grid,
  .page-fishing-games__game-list,
  .page-fishing-games__steps-grid,
  .page-fishing-games__promo-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
  }

  .page-fishing-games__tips-layout,
  .page-fishing-games__security-layout {
    flex-direction: column;
    gap: 30px;
  }

  .page-fishing-games__tips-content,
  .page-fishing-games__tips-image-wrapper,
  .page-fishing-games__security-content,
  .page-fishing-games__security-image-wrapper {
    flex: 1 1 100%;
    min-width: unset;
  }
}

@media (max-width: 768px) {
  /* Images */
  .page-fishing-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-fishing-games__hero-image-wrapper,
  .page-fishing-games__tips-image-wrapper,
  .page-fishing-games__security-image-wrapper {
    border-radius: 8px !important;
  }

  /* Videos */
  .page-fishing-games video,
  .page-fishing-games__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-fishing-games__video-section,
  .page-fishing-games__video-container,
  .page-fishing-games__video-wrapper {
    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; /* Small top padding for video section */
  }

  /* Buttons */
  .page-fishing-games__cta-button,
  .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__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;
    flex-direction: column !important; /* Stack buttons vertically */
    gap: 10px;
    overflow: hidden !important;
  }

  /* General content areas */
  .page-fishing-games__content-area,
  .page-fishing-games__intro-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__promo-section,
  .page-fishing-games__security-section,
  .page-fishing-games__faq-section,
  .page-fishing-games__conclusion-section {
    padding-left: 15px;
    padding-right: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-fishing-games__main-title {
    font-size: clamp(1.8em, 7vw, 2.5em);
  }

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

  .page-fishing-games__section-title {
    font-size: clamp(1.6em, 6vw, 2em);
  }

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

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

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