:root {
  --main-color: #11A84E;
  --accent-color: #22C768;
  --button: 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;
}

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

/* Hero Section */
.page-fishing-games__hero-section {
  position: relative;
  display: flex;
  flex-direction: column; /* Ensure image is above content */
  align-items: center;
  justify-content: center;
  padding: 10px 0 60px 0; /* Small top padding, larger bottom padding */
  text-align: center;
  overflow: hidden; /* Prevent content overflow */
}

.page-fishing-games__hero-image-wrapper {
  width: 100%;
  max-height: 600px; /* Limit height for hero image */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 20px; /* Space between image and content */
}

.page-fishing-games__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  min-width: 200px; /* Minimum size requirement */
  min-height: 200px; /* Minimum size requirement */
}

.page-fishing-games__hero-content {
  width: 100%;
  max-width: 900px;
  padding: 0 20px;
  box-sizing: border-box;
  position: relative; /* Ensure it's in normal flow, not overlapping */
  z-index: 1;
}

.page-fishing-games__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem); /* Responsive font size */
  color: var(--text-main); /* #F2FFF6 */
  font-weight: 700;
  margin-bottom: 15px;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5); /* Enhance readability on varying backgrounds */
}

.page-fishing-games__tagline {
  font-size: 1.2rem;
  color: var(--text-secondary); /* #A7D9B8 */
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

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

/* General Sections */
.page-fishing-games__section {
  padding: 60px 20px;
  max-width: 1200px;
  margin: 0 auto;
  box-sizing: border-box;
  text-align: center;
}

.page-fishing-games__section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: var(--text-main); /* #F2FFF6 */
  margin-bottom: 20px;
  font-weight: 600;
}

.page-fishing-games__section-description {
  font-size: 1.1rem;
  color: var(--text-secondary); /* #A7D9B8 */
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Grid Layout */
.page-fishing-games__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.page-fishing-games__grid--3-cols {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

/* Cards */
.page-fishing-games__card,
.page-fishing-games__game-card,
.page-fishing-games__strategy-card {
  background-color: var(--card-bg); /* #11271B */
  border: 1px solid var(--border); /* #2E7A4E */
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-fishing-games__card-icon,
.page-fishing-games__game-image {
  width: 100%; /* Ensure images take full width of card */
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block; /* Ensure no extra space below image */
  min-width: 200px; /* Minimum size requirement */
  min-height: 200px; /* Minimum size requirement */
}

.page-fishing-games__card-title,
.page-fishing-games__game-title,
.page-fishing-games__strategy-title {
  font-size: 1.5rem;
  color: var(--text-main); /* #F2FFF6 */
  margin-bottom: 15px;
  font-weight: 600;
}

.page-fishing-games__card-description,
.page-fishing-games__game-description,
.page-fishing-games__strategy-text {
  font-size: 1rem;
  color: var(--text-secondary); /* #A7D9B8 */
  margin-bottom: 20px;
  flex-grow: 1; /* Allow description to take available space */
}

/* Buttons */
.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary,
.page-fishing-games__btn-small,
.page-fishing-games__btn-large {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  cursor: pointer;
  box-sizing: border-box; /* Crucial for responsive buttons */
  white-space: normal; /* Allow text wrap */
  word-wrap: break-word; /* Allow text wrap */
  text-align: center;
}

.page-fishing-games__btn-primary {
  background: var(--button); /* linear-gradient(180deg, #2AD16F 0%, #13994A 100%) */
  color: #ffffff;
  border: none;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.page-fishing-games__btn-primary:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
}

.page-fishing-games__btn-secondary {
  background: none;
  color: var(--main-color); /* #11A84E */
  border: 2px solid var(--main-color); /* #11A84E */
}

.page-fishing-games__btn-secondary:hover {
  background: var(--main-color); /* #11A84E */
  color: #ffffff;
  transform: translateY(-2px);
}

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

.page-fishing-games__btn-large {
  padding: 16px 35px;
  font-size: 1.2rem;
}

/* Registration Guide */
.page-fishing-games__step-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.page-fishing-games__step-item {
  background-color: var(--card-bg); /* #11271B */
  border: 1px solid var(--border); /* #2E7A4E */
  border-radius: 12px;
  padding: 30px;
  text-align: left;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-fishing-games__step-title {
  font-size: 1.8rem;
  color: var(--gold); /* #F2C14E */
  margin-bottom: 15px;
  font-weight: 700;
}

.page-fishing-games__step-text {
  font-size: 1.1rem;
  color: var(--text-secondary); /* #A7D9B8 */
  margin-bottom: 20px;
}

.page-fishing-games__step-image {
  width: 100%;
  height: auto;
  max-width: 600px;
  border-radius: 8px;
  margin-top: 20px;
  min-width: 200px; /* Minimum size requirement */
  min-height: 200px; /* Minimum size requirement */
  display: block;
  margin-left: auto;
  margin-right: auto;
}

/* FAQ Section */
.page-fishing-games__faq-list {
  max-width: 900px;
  margin: 40px auto 0;
  text-align: left;
}

.page-fishing-games__faq-item {
  background-color: var(--card-bg); /* #11271B */
  border: 1px solid var(--border); /* #2E7A4E */
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-fishing-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2rem;
  color: var(--text-main); /* #F2FFF6 */
  font-weight: 600;
  cursor: pointer;
  background-color: var(--deep-green); /* #0A4B2C */
  border-bottom: 1px solid var(--divider); /* #1E3A2A */
}

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

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

.page-fishing-games__faq-toggle {
  font-size: 1.8rem;
  line-height: 1;
  margin-left: 15px;
  color: var(--gold); /* #F2C14E */
}

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

.page-fishing-games__faq-answer {
  padding: 20px 25px;
  font-size: 1rem;
  color: var(--text-secondary); /* #A7D9B8 */
}

.page-fishing-games__faq-answer p {
  margin: 0;
  color: var(--text-secondary); /* Ensure paragraph text color */
}

/* Bottom CTA */
.page-fishing-games__cta-bottom {
  background: linear-gradient(to right, var(--main-color), var(--accent-color)); /* #11A84E to #22C768 */
  padding: 80px 20px;
  border-radius: 15px;
  margin-bottom: 40px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-fishing-games__cta-bottom .page-fishing-games__section-title {
  color: #ffffff;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.page-fishing-games__cta-bottom .page-fishing-games__section-description {
  color: #f0f0f0;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-fishing-games__hero-image-wrapper {
    max-height: 450px;
  }
}

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

  .page-fishing-games__hero-image-wrapper {
    max-height: 300px;
  }

  .page-fishing-games__main-title {
    font-size: 2.2rem;
  }

  .page-fishing-games__tagline {
    font-size: 1rem;
  }

  .page-fishing-games__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-fishing-games__btn-primary,
  .page-fishing-games__btn-secondary,
  .page-fishing-games__btn-small,
  .page-fishing-games__btn-large {
    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-wrap: wrap !important;
    gap: 10px;
  }

  .page-fishing-games__section {
    padding: 40px 15px;
  }

  .page-fishing-games__section-title {
    font-size: 1.8rem;
  }

  .page-fishing-games__section-description {
    font-size: 1rem;
    margin-bottom: 30px;
  }

  .page-fishing-games__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  /* Mobile image responsive */
  .page-fishing-games img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
    filter: none !important;
  }
  
  .page-fishing-games__section,
  .page-fishing-games__card,
  .page-fishing-games__container,
  .page-fishing-games__game-card,
  .page-fishing-games__step-item,
  .page-fishing-games__strategy-card {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  
  .page-fishing-games__hero-section {
    padding-top: 10px !important; /* body already handles --header-offset */
  }

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

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

  .page-fishing-games__cta-bottom {
    padding: 60px 15px;
  }

  /* CSS for video elements, ensuring responsive and no filter */
  .page-fishing-games video,
  .page-fishing-games__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    filter: none !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;
  }
  
  .page-fishing-games__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
}

/* Ensure no filter on images/videos */
.page-fishing-games img,
.page-fishing-games video {
  filter: none !important;
}

/* Content area images min size check for desktop */
.page-fishing-games__card-icon,
.page-fishing-games__game-image,
.page-fishing-games__step-image {
  min-width: 200px;
  min-height: 200px;
  width: auto; /* Allow auto width to respect aspect ratio with max-width */
  height: auto; /* Allow auto height */
}

/* Desktop video width check */
.page-fishing-games__video-container {
  width: 100%; /* Ensure width is 100% on desktop as well */
  max-width: 1200px;
  margin: 0 auto;
  box-sizing: border-box;
}