/* style/fishing-games.css */
.page-fishing-games {
  color: #ffffff; /* Body background is dark (#121212), so text should be light */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

.page-fishing-games__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 20px 60px; /* Small top padding, more bottom padding */
  text-align: center;
  background-color: #017439; /* Use brand color as a base */
}

.page-fishing-games__hero-image-wrapper {
  width: 100%;
  max-width: 1200px;
  margin-bottom: 30px;
}

.page-fishing-games__hero-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-fishing-games__hero-content {
  max-width: 900px;
  margin: 0 auto;
}

.page-fishing-games__main-title {
  font-size: clamp(2.2em, 4vw, 3.5em); /* Responsive font size */
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #FFFFFF;
}

.page-fishing-games__intro-text {
  font-size: 1.1em;
  margin-bottom: 30px;
  color: #f0f0f0;
}

.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 {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 700;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-fishing-games__btn-primary {
  background-color: #C30808; /* Custom color for register/login */
  color: #FFFF00; /* Custom font color for register/login */
  border: 2px solid #C30808;
}

.page-fishing-games__btn-primary:hover {
  background-color: #a00606;
  border-color: #a00606;
}

.page-fishing-games__btn-secondary {
  background-color: transparent;
  color: #FFFFFF;
  border: 2px solid #FFFFFF;
}

.page-fishing-games__btn-secondary:hover {
  background-color: #FFFFFF;
  color: #017439;
}

.page-fishing-games__section {
  padding: 80px 20px;
  text-align: center;
  background-color: #1a1a1a; /* Darker background for sections */
  color: #ffffff;
}

.page-fishing-games__section:nth-of-type(even) {
  background-color: #222222;
}

.page-fishing-games__dark-bg {
  background-color: #017439;
  color: #ffffff;
}

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

.page-fishing-games__section-title {
  font-size: clamp(1.8em, 3vw, 2.8em);
  font-weight: 700;
  margin-bottom: 20px;
  color: #FFFFFF;
}

.page-fishing-games__section-description {
  font-size: 1.1em;
  margin-bottom: 40px;
  color: #f0f0f0;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-fishing-games__game-card {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  overflow: hidden;
  padding: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  color: #ffffff;
}

.page-fishing-games__card-image {
  width: 100%;
  height: auto;
  max-height: 250px;
  object-fit: cover;
  border-radius: 4px;
  margin-bottom: 15px;
}

.page-fishing-games__card-title {
  font-size: 1.5em;
  font-weight: 600;
  margin-bottom: 10px;
}

.page-fishing-games__card-title a {
  color: #FFFF00; /* Custom color for link text in card title */
  text-decoration: none;
}

.page-fishing-games__card-title a:hover {
  text-decoration: underline;
}

.page-fishing-games__card-text {
  font-size: 0.95em;
  color: #e0e0e0;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-fishing-games__card-button {
  background-color: #017439;
  color: #FFFFFF;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

.page-fishing-games__card-button:hover {
  background-color: #005f2c;
}

.page-fishing-games__guide-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  text-align: left;
}

.page-fishing-games__guide-item {
  background-color: rgba(255, 255, 255, 0.08);
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.page-fishing-games__guide-subtitle {
  font-size: 1.3em;
  font-weight: 600;
  color: #FFFF00; /* Use custom color for subtitles */
  margin-bottom: 10px;
}

.page-fishing-games__guide-item p {
  font-size: 1em;
  color: #e0e0e0;
}

.page-fishing-games__content-image {
  width: 100%;
  height: auto;
  display: block;
  margin-top: 40px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-fishing-games__video-section {
  padding: 60px 20px;
  text-align: center;
  background-color: #1a1a1a;
  color: #ffffff;
}

.page-fishing-games__video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  max-width: 100%;
  margin: 40px auto 0;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-fishing-games__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  cursor: pointer;
}

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

.page-fishing-games__feature-item {
  background-color: rgba(255, 255, 255, 0.08);
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-fishing-games__feature-icon {
  width: 100%;
  max-width: 150px; /* Adjust max-width as per image size guidance */
  height: auto;
  margin-bottom: 15px;
  border-radius: 4px;
}

.page-fishing-games__feature-title {
  font-size: 1.4em;
  font-weight: 600;
  color: #FFFFFF;
  margin-bottom: 10px;
}

.page-fishing-games__feature-item p {
  font-size: 0.95em;
  color: #e0e0e0;
}

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

.page-fishing-games__promo-item {
  background-color: rgba(255, 255, 255, 0.08);
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  text-align: left;
}

.page-fishing-games__promo-title {
  font-size: 1.3em;
  font-weight: 600;
  color: #FFFF00; /* Use custom color for promo titles */
  margin-bottom: 10px;
}

.page-fishing-games__promo-item p {
  font-size: 0.95em;
  color: #e0e0e0;
}

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

.page-fishing-games__faq-section {
  padding: 80px 20px;
  background-color: #222222;
  color: #ffffff;
}

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

.page-fishing-games__faq-item {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.page-fishing-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.15em;
  font-weight: 600;
  color: #FFFFFF;
  cursor: pointer;
  background-color: #017439; /* Use brand color for FAQ question background */
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.page-fishing-games__faq-question:hover {
  background-color: #005f2c;
}

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

.page-fishing-games__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
}

.page-fishing-games__faq-answer {
  padding: 0 20px 20px;
  font-size: 1em;
  color: #e0e0e0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
}

.page-fishing-games__faq-item.active .page-fishing-games__faq-answer {
  max-height: 2000px; /* Sufficiently large to show content */
  padding-top: 15px;
}

.page-fishing-games__faq-item details[open] .page-fishing-games__faq-answer {
  max-height: none;
  padding-top: 15px;
}

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

.page-fishing-games__faq-item details > summary {
  list-style: none;
}

.page-fishing-games__faq-item .page-fishing-games__faq-answer a {
  color: #FFFF00;
  text-decoration: underline;
}

.page-fishing-games__cta-bottom {
  padding: 80px 20px;
  background-color: #017439;
  color: #ffffff;
}

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

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-fishing-games__hero-section {
    padding: 10px 15px 50px;
  }

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

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

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

  .page-fishing-games__intro-text {
    font-size: 1em;
  }

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

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

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

  .page-fishing-games__section-title {
    font-size: 2em;
  }

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

  .page-fishing-games__game-list,
  .page-fishing-games__guide-content,
  .page-fishing-games__features-list,
  .page-fishing-games__promo-list {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-fishing-games__card-image,
  .page-fishing-games__content-image,
  .page-fishing-games__feature-icon {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-fishing-games__hero-image-wrapper,
  .page-fishing-games__game-card,
  .page-fishing-games__guide-item,
  .page-fishing-games__feature-item,
  .page-fishing-games__promo-item,
  .page-fishing-games__video-section,
  .page-fishing-games__video-container,
  .page-fishing-games__video-wrapper,
  .page-fishing-games__faq-section,
  .page-fishing-games__cta-bottom,
  .page-fishing-games__container {
    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 {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-fishing-games__video-section {
    padding-top: 10px !important;
  }

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

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

@media (max-width: 480px) {
  .page-fishing-games__main-title {
    font-size: 1.8em;
  }

  .page-fishing-games__section-title {
    font-size: 1.6em;
  }
}

/* Contrast Fixes */
.page-fishing-games p, .page-fishing-games li {
  color: #e0e0e0; /* Ensure light text on dark background */
}

.page-fishing-games__card {
  background: rgba(255, 255, 255, 0.1); /* Semi-transparent white on dark */
  color: #ffffff;
}

.page-fishing-games__dark-section {
  background: #017439;
  color: #ffffff;
}

.page-fishing-games__btn-primary {
  background: #C30808;
  color: #FFFF00; /* Ensure high contrast for button text */
}

.page-fishing-games__btn-secondary {
  background: transparent;
  color: #FFFFFF;
  border: 2px solid #FFFFFF;
}

.page-fishing-games__faq-question {
  background-color: #017439;
  color: #FFFFFF;
}