.page-fishing-games {
  background-color: var(--background-color, #08160F); /* Fallback if shared.css doesn't define */
  color: var(--text-main, #F2FFF6); /* Main text color for dark background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

.page-fishing-games__dark-bg {
  background-color: var(--background-color, #08160F);
  color: var(--text-main, #F2FFF6);
}

.page-fishing-games__light-bg {
  background-color: var(--card-bg, #11271B);
  color: var(--text-main, #F2FFF6);
}

.page-fishing-games__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end; /* Push content to bottom for image-above-text effect */
  padding: 10px 0 40px; /* Small top padding, larger bottom for content */
  min-height: 500px;
  overflow: hidden;
}

.page-fishing-games__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.page-fishing-games__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
  padding: 20px;
  background: linear-gradient(to top, rgba(8, 22, 15, 0.9) 0%, rgba(8, 22, 15, 0.7) 50%, rgba(8, 22, 15, 0) 100%); /* Gradient for readability */
  margin-top: auto; /* Push content to bottom */
}

.page-fishing-games__main-title {
  font-size: clamp(2em, 5vw, 3.5em);
  font-weight: bold;
  color: var(--text-main, #F2FFF6);
  margin-bottom: 15px;
  line-height: 1.2;
}

.page-fishing-games__hero-description {
  font-size: 1.2em;
  color: var(--text-secondary, #A7D9B8);
  margin-bottom: 30px;
}

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

.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary {
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text wrapping */
  max-width: 100%;
  box-sizing: border-box;
}

.page-fishing-games__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #ffffff;
  border: none;
}

.page-fishing-games__btn-primary:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
}

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

.page-fishing-games__btn-secondary:hover {
  background-color: var(--border-color, #2E7A4E);
  color: #ffffff;
}

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

.page-fishing-games__section-title {
  font-size: 2.5em;
  color: var(--text-main, #F2FFF6);
  text-align: center;
  margin-bottom: 30px;
  font-weight: bold;
}

.page-fishing-games__text-block {
  font-size: 1.1em;
  color: var(--text-secondary, #A7D9B8);
  margin-bottom: 20px;
  text-align: justify;
}

.page-fishing-games__text-block a {
  color: var(--glow-color, #57E38D);
  text-decoration: underline;
}

.page-fishing-games__text-block a:hover {
  color: var(--gold-color, #F2C14E);
}

.page-fishing-games__ordered-list,
.page-fishing-games__unordered-list {
  list-style-position: inside;
  margin-left: 20px;
  margin-bottom: 20px;
  color: var(--text-secondary, #A7D9B8);
}

.page-fishing-games__ordered-list li,
.page-fishing-games__unordered-list li {
  margin-bottom: 10px;
  font-size: 1.1em;
}

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

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

.page-fishing-games__card {
  background-color: var(--card-bg, #11271B);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: var(--text-secondary, #A7D9B8);
}

.page-fishing-games__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}

.page-fishing-games__card-image {
  width: 100%;
  height: 250px; /* Fixed height for card images */
  object-fit: cover;
  display: block;
  min-width: 200px; /* Minimum size requirement */
  min-height: 200px; /* Minimum size requirement */
}

.page-fishing-games__card-title {
  font-size: 1.5em;
  font-weight: bold;
  color: var(--text-main, #F2FFF6);
  padding: 15px 20px 10px;
}

.page-fishing-games__card-title a {
  color: var(--text-main, #F2FFF6);
  text-decoration: none;
}

.page-fishing-games__card-title a:hover {
  color: var(--glow-color, #57E38D);
}

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

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

.page-fishing-games__mobile-content {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-top: 40px;
}

.page-fishing-games__mobile-image {
  flex: 1;
  max-width: 400px;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
  min-width: 200px; /* Ensure minimum size */
  min-height: 200px; /* Ensure minimum size */
}

.page-fishing-games__mobile-text {
  flex: 2;
}

.page-fishing-games__faq-list {
  margin-top: 30px;
}

.page-fishing-games__faq-item {
  background-color: var(--card-bg, #11271B);
  border: 1px solid var(--divider-color, #1E3A2A);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-fishing-games__faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  font-size: 1.2em;
  font-weight: bold;
  color: var(--text-main, #F2FFF6);
  list-style: none; /* Hide default marker */
}

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

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

.page-fishing-games__faq-qtext a {
  color: var(--text-main, #F2FFF6);
  text-decoration: none;
}

.page-fishing-games__faq-qtext a:hover {
  color: var(--glow-color, #57E38D);
}

.page-fishing-games__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  color: var(--glow-color, #57E38D);
}

.page-fishing-games__faq-answer {
  padding: 10px 25px 20px;
  font-size: 1.1em;
  color: var(--text-secondary, #A7D9B8);
}

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

.page-fishing-games__cta-final-section {
  padding-bottom: 80px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-fishing-games__hero-content {
    padding: 15px;
  }
  .page-fishing-games__main-title {
    font-size: clamp(1.8em, 4.5vw, 3em);
  }
  .page-fishing-games__hero-description {
    font-size: 1.1em;
  }
  .page-fishing-games__section-title {
    font-size: 2em;
  }
  .page-fishing-games__mobile-content {
    flex-direction: column;
    text-align: center;
  }
  .page-fishing-games__mobile-image {
    max-width: 80%;
    margin: 0 auto 30px;
  }
}

@media (max-width: 768px) {
  .page-fishing-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-fishing-games__section,
  .page-fishing-games__container,
  .page-fishing-games__mobile-content,
  .page-fishing-games__mobile-text {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
    overflow: hidden !important;
  }

  .page-fishing-games__card {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-fishing-games__hero-section {
    padding-top: 10px !important;
    padding-bottom: 30px !important;
    min-height: 400px;
  }

  .page-fishing-games__hero-content {
    background: linear-gradient(to top, rgba(8, 22, 15, 0.95) 0%, rgba(8, 22, 15, 0.8) 50%, rgba(8, 22, 15, 0) 100%) !important;
  }

  .page-fishing-games__main-title {
    font-size: clamp(1.5em, 6vw, 2.5em) !important;
  }

  .page-fishing-games__hero-description {
    font-size: 1em !important;
  }

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

  .page-fishing-games__btn-primary,
  .page-fishing-games__btn-secondary {
    width: 100% !important;
    padding: 12px 20px !important;
    font-size: 1em !important;
  }

  .page-fishing-games__section-title {
    font-size: 1.8em !important;
  }

  .page-fishing-games__text-block,
  .page-fishing-games__ordered-list li,
  .page-fishing-games__unordered-list li,
  .page-fishing-games__card-description,
  .page-fishing-games__faq-answer {
    font-size: 1em !important;
  }

  .page-fishing-games__card-image {
    height: 200px !important; /* Adjust height for mobile */
  }

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

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

@media (max-width: 480px) {
  .page-fishing-games__hero-section {
    min-height: 350px;
  }
  .page-fishing-games__main-title {
    font-size: clamp(1.3em, 7vw, 2em) !important;
  }
  .page-fishing-games__hero-description {
    font-size: 0.9em !important;
  }
  .page-fishing-games__section-title {
    font-size: 1.5em !important;
  }
}