/* General styling for the fishing games page */
.page-fishing-games {
  background-color: #08160F; /* Background color from custom palette */
  color: #F2FFF6; /* Main text color from custom palette */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

/* Hero Section */
.page-fishing-games__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  text-align: center;
  overflow: hidden; /* Ensure content doesn't overflow */
}

.page-fishing-games__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
  margin-bottom: 30px;
}

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

.page-fishing-games__hero-content {
  max-width: 900px;
  margin: 0 auto;
  z-index: 1; /* Ensure text is above image if any overlap */
}

.page-fishing-games__main-title {
  font-size: clamp(2.2rem, 5vw, 3.5rem); /* Responsive font size for H1 */
  font-weight: 700;
  color: #F2C14E; /* Gold color for main title */
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-fishing-games__description {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: #A7D9B8; /* Secondary text color */
  margin-bottom: 30px;
}

.page-fishing-games__cta-buttons {
  display: flex;
  flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
  gap: 20px;
  justify-content: center;
  width: 100%; /* Ensure container takes full width */
  max-width: 600px; /* Limit max width for button group */
  margin: 0 auto;
}

/* Video Section */
.page-fishing-games__video-section {
  padding: 60px 20px;
  text-align: center;
  background-color: #0A4B2C; /* Deep Green for video section background */
  padding-top: 10px; /* Small top padding */
}

.page-fishing-games__video-container {
  max-width: 900px; /* Max width for video container */
  margin: 0 auto;
  position: relative;
  width: 100%;
  height: 0; /* Set height to 0 for aspect ratio */
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  overflow: hidden;
  background-color: #000; /* Black background for video area */
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
}

.page-fishing-games__video-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.page-fishing-games__video-player {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

.page-fishing-games__video-description {
    margin-top: 20px;
    font-size: 1.1rem;
    color: #A7D9B8;
}

/* Section titles */
.page-fishing-games__section-title {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  color: #F2C14E; /* Gold color for section titles */
  text-align: center;
  margin-bottom: 40px;
  padding-top: 40px;
}

/* Content wrapper for general text sections */
.page-fishing-games__content-wrapper {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-fishing-games__content-wrapper p {
  margin-bottom: 15px;
  color: #F2FFF6; /* Main text color */
}

.page-fishing-games__content-wrapper .keyword {
  color: #57E38D; /* Glow color for keywords */
  font-weight: bold;
}

.page-fishing-games__content-image {
  width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 10px;
  object-fit: cover;
}

/* Buttons */
.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  box-sizing: border-box; /* Ensure padding and border are included in element's total width and height */
  max-width: 100%; /* Ensure buttons don't overflow on small screens */
  white-space: normal; /* Allow text to wrap */
  word-wrap: break-word; /* Break long words */
  text-align: center;
}

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

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

.page-fishing-games__btn-secondary {
  background-color: transparent;
  color: #57E38D; /* Glow color for secondary button text */
  border: 2px solid #57E38D; /* Glow color for border */
}

.page-fishing-games__btn-secondary:hover {
  background-color: #57E38D;
  color: #08160F; /* Dark text for light button hover */
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

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

/* Inline links */
.page-fishing-games__inline-link {
  color: #57E38D; /* Glow color for inline links */
  text-decoration: none;
  font-weight: bold;
}

.page-fishing-games__inline-link:hover {
  text-decoration: underline;
  color: #2AD16F;
}

/* Game Grid Section */
.page-fishing-games__game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto 60px auto;
  padding: 0 20px;
}

.page-fishing-games__game-card {
  background-color: #11271B; /* Card BG color */
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-bottom: 20px;
}

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

.page-fishing-games__game-title {
  font-size: 1.5rem;
  color: #F2C14E; /* Gold color for game titles */
  margin-bottom: 10px;
  padding: 0 15px;
}

.page-fishing-games__game-description {
  font-size: 0.95rem;
  color: #A7D9B8; /* Secondary text color */
  padding: 0 15px;
  flex-grow: 1;
  margin-bottom: 20px;
}

/* Step list for how-to-play */
.page-fishing-games__step-list {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
}

.page-fishing-games__step-list li {
  background-color: #11271B; /* Card BG color */
  padding: 20px;
  border-radius: 8px;
  margin-bottom: 15px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  color: #F2FFF6;
}

.page-fishing-games__step-list li strong {
  color: #F2C14E; /* Gold color for strong text */
  font-size: 1.1rem;
}

/* Strategy list */
.page-fishing-games__strategy-list {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
}

.page-fishing-games__strategy-list li {
  background-color: #11271B; /* Card BG color */
  padding: 20px;
  border-radius: 8px;
  margin-bottom: 15px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  color: #F2FFF6;
}

.page-fishing-games__strategy-list li p {
  color: #A7D9B8; /* Secondary text color for strategy details */
  margin-top: 10px;
}

/* Promotion list */
.page-fishing-games__promo-list {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
}

.page-fishing-games__promo-list li {
  background-color: #11271B; /* Card BG color */
  padding: 20px;
  border-radius: 8px;
  margin-bottom: 15px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  color: #F2FFF6;
  font-weight: bold;
}

.page-fishing-games__promo-list li strong {
  color: #F2C14E; /* Gold color for strong text */
}

/* Testimonials/Quotes */
.page-fishing-games__quote {
  background-color: #1E3A2A; /* Divider color for quote background */
  border-left: 5px solid #2AD16F; /* Green accent */
  padding: 20px 25px;
  margin: 30px auto;
  font-style: italic;
  color: #F2FFF6;
  border-radius: 5px;
  max-width: 800px;
}

.page-fishing-games__quote p {
  margin: 0;
  color: #A7D9B8; /* Secondary text color */
}

/* Advantages list */
.page-fishing-games__advantages-list {
  list-style: none;
  padding: 0;
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 15px;
}

.page-fishing-games__advantages-list li {
  background-color: #11271B; /* Card BG color */
  padding: 15px 20px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  color: #F2FFF6;
  font-weight: 500;
}

.page-fishing-games__advantages-list li::before {
  content: '✅'; /* Checkmark icon */
  margin-right: 10px;
  color: #2AD16F; /* Green accent */
  font-size: 1.2em;
}

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

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

.page-fishing-games__faq-item {
  background-color: #11271B; /* Card BG color */
  border-radius: 8px;
  margin-bottom: 15px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  overflow: hidden; /* For smooth transition of answer */
}

.page-fishing-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  font-weight: bold;
  font-size: 1.1rem;
  color: #F2FFF6; /* Main text color */
  background-color: #1E3A2A; /* Divider color for question background */
  border-bottom: 1px solid #2E7A4E; /* Border color */
}

.page-fishing-games__faq-question:hover {
  background-color: #2E7A4E; /* Border color for hover */
}

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

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

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

.page-fishing-games__faq-item[open] .page-fishing-games__faq-question {
  border-bottom: 1px solid #2E7A4E; /* Ensure border when open */
}

.page-fishing-games__faq-item[open] .page-fishing-games__faq-toggle {
  content: '−'; /* Change to minus sign when open */
}

.page-fishing-games__faq-answer {
  padding: 20px;
  font-size: 0.95rem;
  color: #A7D9B8; /* Secondary text color */
  line-height: 1.5;
}

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

  .page-fishing-games__hero-section,
  .page-fishing-games__video-section {
    padding: 40px 15px;
    padding-top: 10px !important; /* Small top padding for mobile */
  }

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

  .page-fishing-games__description {
    font-size: clamp(0.9rem, 3vw, 1.1rem);
  }

  .page-fishing-games__cta-buttons {
    flex-direction: column; /* Stack buttons vertically on mobile */
    gap: 15px;
    padding: 0 15px;
    box-sizing: border-box !important;
  }

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

  .page-fishing-games__section-title {
    font-size: clamp(1.5rem, 6vw, 2.2rem);
    margin-bottom: 30px;
    padding-top: 30px;
  }

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

  .page-fishing-games__game-grid {
    grid-template-columns: 1fr; /* Single column on mobile */
    gap: 20px;
    padding: 0 15px;
    margin-bottom: 40px;
  }

  .page-fishing-games__game-image {
    height: 180px; /* Adjust height for mobile */
  }

  .page-fishing-games__game-title {
    font-size: 1.3rem;
  }

  .page-fishing-games__game-description {
    font-size: 0.9rem;
  }

  .page-fishing-games__step-list li,
  .page-fishing-games__strategy-list li,
  .page-fishing-games__promo-list li,
  .page-fishing-games__advantages-list li {
    padding: 15px;
    font-size: 0.95rem;
  }

  .page-fishing-games__advantages-list {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 0 15px;
  }

  .page-fishing-games__quote {
    padding: 15px 20px;
    margin: 20px auto;
  }

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

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

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

  /* Image responsive rules */
  .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__game-card,
  .page-fishing-games__hero-image-wrapper,
  .page-fishing-games__cta-buttons,
  .page-fishing-games__game-grid,
  .page-fishing-games__faq-list,
  .page-fishing-games__advantages-list,
  .page-fishing-games__content-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden !important; /* Prevent horizontal scroll */
  }
  /* Remove specific padding for content-wrapper if it's already handled by section/container */
  .page-fishing-games__content-wrapper {
      padding-left: 0;
      padding-right: 0;
  }
  
  /* Video responsive rules */
  .page-fishing-games__video-container {
    padding-left: 0 !important;
    padding-right: 0 !important;
    box-sizing: border-box !important;
  }
  .page-fishing-games__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-fishing-games__video-player {
    max-width: 100% !important;
    width: 100% !important;
    height: 100% !important;
    display: block !important;
  }
}

/* Ensure images within content-wrapper also respect mobile padding */
@media (max-width: 768px) {
  .page-fishing-games__content-wrapper img {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
}

/* Custom colors for contrast assurance */
.page-fishing-games__dark-bg {
  color: #ffffff; /* Dark background with light text */
  background: #11A84E;
}

.page-fishing-games__light-bg {
  color: #333333; /* Light background with dark text */
  background: #ffffff;
}

.page-fishing-games__medium-bg {
  color: #000000; /* Medium background with dark text */
  background: #22C768;
}

/* Text color for main content */
.page-fishing-games p,
.page-fishing-games li,
.page-fishing-games__faq-answer {
  color: #F2FFF6; /* Text Main from custom palette */
}

/* Fallback for general text, should be overridden by specific elements */
.page-fishing-games {
  color: #F2FFF6; /* Ensures default text color is light for dark background */
}

/* Ensure specific elements use custom text colors */
.page-fishing-games__description,
.page-fishing-games__game-description,
.page-fishing-games__strategy-list li p,
.page-fishing-games__quote p,
.page-fishing-games__faq-answer {
  color: #A7D9B8; /* Text Secondary from custom palette */
}

.page-fishing-games__main-title,
.page-fishing-games__section-title,
.page-fishing-games__game-title,
.page-fishing-games__step-list li strong,
.page-fishing-games__promo-list li strong {
  color: #F2C14E; /* Gold color for headings */
}

.page-fishing-games__btn-primary {
  color: #F2FFF6; /* Button text main */
}

.page-fishing-games__btn-secondary {
  color: #57E38D; /* Secondary button text glow */
}

.page-fishing-games__inline-link {
  color: #57E38D; /* Inline link text glow */
}

/* FAQ question background is Divider color */
.page-fishing-games__faq-question {
  background-color: #1E3A2A;
}
.page-fishing-games__faq-question:hover {
  background-color: #2E7A4E;
}
.page-fishing-games__faq-item[open] .page-fishing-games__faq-question {
  border-bottom-color: #2E7A4E;
}

/* Card backgrounds */
.page-fishing-games__game-card,
.page-fishing-games__step-list li,
.page-fishing-games__strategy-list li,
.page-fishing-games__promo-list li,
.page-fishing-games__advantages-list li,
.page-fishing-games__faq-item {
  background-color: #11271B; /* Card BG */
}