/* style/fishing-games.css */

/* Global styles for the page content */
.page-fishing-games {
  background-color: #08160F; /* Custom Background color */
  color: #F2FFF6; /* Text Main color */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

/* Container for content sections */
.page-fishing-games__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  box-sizing: border-box;
}

/* Section Titles */
.page-fishing-games__section-title {
  font-size: clamp(28px, 4vw, 42px); /* Responsive font size */
  color: #F2FFF6; /* Text Main color */
  text-align: center;
  margin-bottom: 30px;
  font-weight: bold;
  line-height: 1.2;
}

.page-fishing-games__section-title--gold {
  color: #F2C14E; /* Gold color for special titles */
}

/* Text Blocks */
.page-fishing-games__text-block {
  font-size: 18px;
  color: #A7D9B8; /* Text Secondary color */
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Buttons */
.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;
  transition: all 0.3s ease;
  cursor: pointer;
  box-sizing: border-box;
  max-width: 100%; /* Ensure buttons adapt to container width */
  white-space: normal; /* Allow text to wrap */
  word-wrap: break-word; /* Break long words */
}

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

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

.page-fishing-games__btn-secondary {
  background: transparent;
  color: #22C768; /* Auxiliary color */
  border: 2px solid #22C768; /* Auxiliary color */
}

.page-fishing-games__btn-secondary:hover {
  background-color: #22C768; /* Auxiliary color */
  color: #08160F; /* Background color for hover text */
}

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

.page-fishing-games__btn-large {
  padding: 18px 35px;
  font-size: 20px;
}

/* Card styles */
.page-fishing-games__card {
  background-color: #11271B; /* Custom Card BG color */
  border: 1px solid #2E7A4E; /* Custom Border color */
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  text-align: center;
  color: #F2FFF6; /* Text Main color */
}

/* Hero Section */
.page-fishing-games__hero-section {
  position: relative;
  display: flex;
  flex-direction: column; /* Stack image and content vertically */
  align-items: center;
  padding-top: 10px; /* Small top padding, body handles header offset */
  background-color: #08160F; /* Ensure background color for consistency */
}

.page-fishing-games__hero-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  max-height: 675px; /* Limit height for large screens */
}

.page-fishing-games__hero-content {
  text-align: center;
  padding: 40px 20px;
  max-width: 900px;
  margin-top: -80px; /* Overlap slightly for visual effect, but not text on image */
  position: relative; /* To ensure z-index context */
  z-index: 1; /* Ensure content is above image if any overlap happens due to negative margin */
  background-color: #08160F; /* Explicit background for content area */
  border-radius: 12px;
}

.page-fishing-games__hero-title {
  font-size: clamp(32px, 5vw, 56px); /* Responsive font size */
  color: #F2C14E; /* Gold color for main title */
  margin-bottom: 20px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 1px;
}

.page-fishing-games__hero-description {
  font-size: 20px;
  color: #A7D9B8; /* Text Secondary color */
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-fishing-games__hero-cta-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

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

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

.page-fishing-games__feature-title {
  font-size: 24px;
  color: #F2FFF6; /* Text Main color */
  margin-bottom: 15px;
}

.page-fishing-games__feature-description {
  font-size: 16px;
  color: #A7D9B8; /* Text Secondary color */
}

/* Popular Games Section */
.page-fishing-games__popular-games-section {
  padding: 60px 0;
}

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

.page-fishing-games__game-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

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

.page-fishing-games__game-title {
  font-size: 22px;
  color: #F2FFF6; /* Text Main color */
  margin-bottom: 10px;
}

.page-fishing-games__game-description {
  font-size: 16px;
  color: #A7D9B8; /* Text Secondary color */
  margin-bottom: 20px;
  flex-grow: 1; /* Make descriptions take equal height */
}

/* How to Play Section */
.page-fishing-games__how-to-play-section {
  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-title {
  font-size: 24px;
  color: #F2C14E; /* Gold color */
  margin-bottom: 15px;
}

.page-fishing-games__step-description {
  font-size: 16px;
  color: #A7D9B8; /* Text Secondary color */
}

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

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

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

.page-fishing-games__tips-list li {
  margin-bottom: 30px;
  background-color: #11271B; /* Card BG */
  border: 1px solid #2E7A4E; /* Border color */
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-fishing-games__tip-title {
  font-size: 22px;
  color: #F2FFF6; /* Text Main color */
  margin-bottom: 10px;
}

.page-fishing-games__tip-description {
  font-size: 16px;
  color: #A7D9B8; /* Text Secondary color */
}

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

.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-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
}

.page-fishing-games__promo-title {
  font-size: 22px;
  color: #F2FFF6; /* Text Main color */
  margin-bottom: 10px;
}

.page-fishing-games__promo-description {
  font-size: 16px;
  color: #A7D9B8; /* Text Secondary color */
  margin-bottom: 20px;
  flex-grow: 1;
}

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

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

.page-fishing-games__faq-item {
  background-color: #11271B; /* Card BG */
  border: 1px solid #2E7A4E; /* Border color */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #F2FFF6; /* Text Main color */
}

.page-fishing-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
  background-color: #0A4B2C; /* Deep Green for question background */
  color: #F2FFF6; /* Text Main color */
  transition: background-color 0.3s ease;
  list-style: none; /* Remove default marker for details summary */
}

.page-fishing-games__faq-question::-webkit-details-marker {
  display: none; /* Hide default marker for webkit browsers */
}

.page-fishing-games__faq-question:hover {
  background-color: #1E3A2A; /* Divider color for hover */
}

.page-fishing-games__faq-item[open] .page-fishing-games__faq-question {
  background-color: #1E3A2A; /* Divider color when open */
}

.page-fishing-games__faq-toggle {
  font-size: 24px;
  line-height: 1;
  margin-left: 15px;
  color: #57E38D; /* Glow color */
}

.page-fishing-games__faq-answer {
  padding: 0 25px 20px;
  font-size: 16px;
  color: #A7D9B8; /* Text Secondary color */
}

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

/* Call to Action Section */
.page-fishing-games__cta-section {
  padding: 80px 0;
  text-align: center;
}

.page-fishing-games__cta-container {
  max-width: 900px;
}

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

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-fishing-games__hero-content {
    margin-top: -60px;
    padding: 30px 15px;
  }
  .page-fishing-games__section-title {
    font-size: clamp(24px, 3.5vw, 36px);
  }
  .page-fishing-games__text-block {
    font-size: 16px;
  }
}

@media (max-width: 768px) {
  .page-fishing-games__container,
  .page-fishing-games__hero-content {
    padding-left: 15px !important;
    padding-right: 15px !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  /* Images responsive */
  .page-fishing-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    object-fit: cover; /* Maintain aspect ratio */
  }

  /* Buttons responsive */
  .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__hero-cta-buttons,
  .page-fishing-games__cta-buttons {
    flex-direction: column !important; /* Stack buttons vertically */
    gap: 15px !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden;
  }

  .page-fishing-games__hero-content {
    margin-top: -40px; /* Less overlap on mobile */
    padding-top: 20px;
    padding-bottom: 20px;
  }

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

  .page-fishing-games__hero-description {
    font-size: 16px;
  }

  .page-fishing-games__features-grid,
  .page-fishing-games__game-cards-grid,
  .page-fishing-games__steps-grid,
  .page-fishing-games__promo-cards-grid {
    grid-template-columns: 1fr; /* Single column layout */
  }

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

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

  .page-fishing-games__hero-section,
  .page-fishing-games__intro-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__faq-section,
  .page-fishing-games__cta-section {
    padding-left: 0;
    padding-right: 0;
  }

  /* Video section (if present, though not in this HTML) */
  .page-fishing-games__video-section {
    padding-top: 10px !important; /* Small top padding, body handles header offset */
  }
  .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;
  }
}