:root {
  --primary-color: #11A84E;
  --secondary-color: #22C768;
  --button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  --card-bg: #11271B;
  --background: #08160F;
  --text-main: #F2FFF6;
  --text-secondary: #A7D9B8;
  --border: #2E7A4E;
  --glow: #57E38D;
  --gold: #F2C14E;
  --divider: #1E3A2A;
  --deep-green: #0A4B2C;
}

/* style/fishing-games.css */

/* Global styles for the page content wrapper */
.page-fishing-games {
  font-family: Arial, sans-serif;
  color: var(--text-main); /* Light text on dark body background */
  background-color: var(--background); /* Dark background */
  line-height: 1.6;
  padding-bottom: 40px; /* Ensure some space above footer */
}

/* Section styling */
.page-fishing-games__section {
  padding: 60px 20px;
  margin-bottom: 20px;
  background-color: var(--background); /* Consistent dark background */
}

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

/* Hero Section */
.page-fishing-games__hero-section {
  position: relative;
  display: flex;
  flex-direction: column; /* Image on top, content below */
  align-items: center;
  text-align: center;
  padding: 10px 20px 60px; /* Small top padding, more bottom padding */
  background-color: var(--card-bg); /* Use a darker base for hero */
  overflow: hidden;
}

.page-fishing-games__hero-image-wrapper {
  width: 100%;
  max-width: 1920px; /* Max width for image */
  margin-bottom: 30px; /* Space between image and content */
}

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

.page-fishing-games__hero-content {
  max-width: 900px;
  z-index: 1;
}

.page-fishing-games__hero-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem); /* Responsive H1 font size */
  color: var(--gold); /* Gold color for main titles */
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.page-fishing-games__hero-description {
  font-size: 1.2rem;
  color: var(--text-main); /* Slightly brighter for hero description */
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-fishing-games__hero-cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

/* General button styling */
.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  cursor: pointer;
  white-space: normal; /* Allow text to wrap */
  word-wrap: break-word; /* Ensure long words break */
  box-sizing: border-box;
  max-width: 100%;
}

.page-fishing-games__btn-primary {
  background: var(--button-gradient);
  color: var(--text-main); /* Main text color for contrast */
  border: 2px solid transparent;
  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%); /* Invert gradient on hover */
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-fishing-games__btn-secondary {
  background: transparent;
  color: var(--glow); /* Use glow color for secondary button text */
  border: 2px solid var(--border); /* Border color */
}

.page-fishing-games__btn-secondary:hover {
  background: var(--deep-green); /* Deep green on hover */
  color: var(--text-main);
  border-color: var(--glow);
  transform: translateY(-2px);
}

/* Section titles */
.page-fishing-games__section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: var(--gold); /* Gold color for main titles */
  text-align: center;
  margin-bottom: 40px;
  font-weight: 700;
  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-color: var(--glow); /* Glow color for underline */
  border-radius: 2px;
}

/* Text block styling */
.page-fishing-games__text-block {
  font-size: 1.1rem;
  color: var(--text-secondary); /* Lighter text for paragraphs */
  margin-bottom: 20px;
  text-align: justify;
}

.page-fishing-games__image-content {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  margin: 30px auto;
  max-width: 800px; /* Max width for content images */
  object-fit: cover;
}

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

.page-fishing-games__card {
  background-color: var(--card-bg); /* Darker card background */
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  color: var(--text-main); /* Light text on dark card */
}

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

.page-fishing-games__card-image {
  width: 100%;
  height: 200px; /* Fixed height for card images */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block; /* Ensure no extra space below image */
}

.page-fishing-games__card-title {
  font-size: 1.5rem;
  color: var(--gold); /* Gold color for card titles */
  margin-bottom: 15px;
  font-weight: 600;
}

.page-fishing-games__card-description {
  font-size: 1rem;
  color: var(--text-secondary);
  flex-grow: 1; /* Make description take available space */
}

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

/* List styling */
.page-fishing-games__guide-list,
.page-fishing-games__strategy-list,
.page-fishing-games__promo-list,
.page-fishing-games__features-list {
  list-style: none;
  padding: 0;
  margin: 30px 0;
}

.page-fishing-games__list-item {
  background-color: var(--card-bg); /* Dark background for list items */
  border-left: 5px solid var(--glow); /* Glow accent */
  padding: 15px 20px;
  margin-bottom: 15px;
  border-radius: 8px;
  font-size: 1.1rem;
  color: var(--text-main); /* Light text */
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease;
}

.page-fishing-games__list-item:hover {
  transform: translateX(5px);
}

.page-fishing-games__list-item strong {
  color: var(--gold); /* Gold color for strong text */
}

/* FAQ Section */
.page-fishing-games__faq-list {
  margin-top: 30px;
}

.page-fishing-games__faq-item {
  background-color: var(--card-bg); /* Dark background for FAQ item */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  color: var(--text-main); /* Light text */
}

.page-fishing-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.2rem;
  font-weight: 600;
  cursor: pointer;
  background-color: var(--deep-green); /* Deep green for question background */
  color: var(--text-main); /* Light text */
  border-bottom: 1px solid var(--divider); /* Divider color */
  transition: background-color 0.3s ease;
}

.page-fishing-games__faq-question:hover {
  background-color: var(--border); /* Lighter green on hover */
}

.page-fishing-games__faq-item[open] .page-fishing-games__faq-question {
  background-color: var(--border); /* Change background when open */
}

.page-fishing-games__faq-qtext {
  flex-grow: 1;
  color: var(--text-main); /* Light text */
}

.page-fishing-games__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  margin-left: 15px;
  color: var(--glow); /* Glow color for toggle icon */
}

.page-fishing-games__faq-answer {
  padding: 0 20px 20px;
  font-size: 1rem;
  color: var(--text-secondary); /* Lighter text for answer */
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease-out;
}

.page-fishing-games__faq-item[open] .page-fishing-games__faq-answer {
  max-height: 500px; /* Adjust as needed for content */
  transition: max-height 0.5s ease-in;
}

/* Hide default details marker */
.page-fishing-games__faq-item summary {
  list-style: none;
}
.page-fishing-games__faq-item summary::-webkit-details-marker {
  display: none;
}

/* Conclusion Section */
.page-fishing-games__conclusion-section {
  text-align: center;
  padding-bottom: 80px;
}

.page-fishing-games__conclusion-section .page-fishing-games__text-block a {
  color: var(--gold); /* Gold for links in conclusion */
  text-decoration: underline;
}

.page-fishing-games__conclusion-section .page-fishing-games__text-block a:hover {
  color: var(--glow); /* Glow on hover */
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-fishing-games__hero-title {
    font-size: clamp(2rem, 6vw, 3rem);
  }
  .page-fishing-games__section-title {
    font-size: clamp(1.8rem, 5vw, 2.5rem);
  }
  .page-fishing-games__game-cards {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-fishing-games__section {
    padding: 40px 15px;
  }
  .page-fishing-games__hero-section {
    padding-left: 15px;
    padding-right: 15px;
    padding-bottom: 40px;
  }
  .page-fishing-games__hero-title {
    font-size: clamp(1.8rem, 7vw, 2.5rem);
  }
  .page-fishing-games__hero-description {
    font-size: 1rem;
  }
  .page-fishing-games__hero-cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-fishing-games__btn-primary,
  .page-fishing-games__btn-secondary {
    width: 100% !important; /* Force full width on mobile */
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1rem;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  /* Mobile image and video responsiveness */
  .page-fishing-games img {
    max-width: 100% !important;
    width: 100% !important; /* Ensure content images take full width */
    height: auto !important;
    display: block !important;
  }
  .page-fishing-games video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-fishing-games__container,
  .page-fishing-games__hero-image-wrapper,
  .page-fishing-games__game-cards,
  .page-fishing-games__cta-buttons,
  .page-fishing-games__faq-list {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 0;
    padding-right: 0;
  }
  .page-fishing-games__section,
  .page-fishing-games__card,
  .page-fishing-games__introduction-section,
  .page-fishing-games__game-types-section,
  .page-fishing-games__guide-section,
  .page-fishing-games__strategy-section,
  .page-fishing-games__promotions-section,
  .page-fishing-games__platform-features-section,
  .page-fishing-games__faq-section,
  .page-fishing-games__conclusion-section {
    padding-left: 15px;
    padding-right: 15px;
    box-sizing: border-box;
  }
  .page-fishing-games__card-image {
    height: 180px; /* Adjust card image height for mobile */
  }
  .page-fishing-games__faq-question {
    font-size: 1.1rem;
    padding: 15px;
  }
  .page-fishing-games__faq-answer {
    padding: 0 15px 15px;
  }
  .page-fishing-games__list-item {
    font-size: 1rem;
    padding: 12px 15px;
  }
  /* Fixed header spacing for video/hero section, small top padding */
  .page-fishing-games__hero-section {
    padding-top: 10px !important; /* body already handles --header-offset */
  }
}

/* Ensure text contrast for the entire page */
.page-fishing-games h1,
.page-fishing-games h2,
.page-fishing-games h3,
.page-fishing-games h4,
.page-fishing-games h5,
.page-fishing-games h6 {
  color: var(--gold); /* Use gold for titles for strong contrast on dark background */
}

.page-fishing-games p,
.page-fishing-games li,
.page-fishing-games span {
  color: var(--text-secondary); /* Use secondary text for general content */
}

/* Specific overrides for strong contrast */
.page-fishing-games__hero-title {
  color: var(--gold); /* Ensure hero title is gold */
}
.page-fishing-games__hero-description {
  color: var(--text-main); /* Slightly brighter for hero description */
}
.page-fishing-games__card-title {
  color: var(--gold); /* Card titles are gold */
}
.page-fishing-games__list-item {
  color: var(--text-main); /* List items text */
}
.page-fishing-games__faq-qtext {
  color: var(--text-main); /* FAQ question text */
}
.page-fishing-games__faq-answer p {
  color: var(--text-secondary); /* FAQ answer text */
}

/* Desktop video container width for flex layout (even if no video, keep for consistency) */
.page-fishing-games__video-container {
  width: 100%; /* Must be explicitly set for desktop flex */
}