/* style/fishing-games.css */
.page-fishing-games {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light backgrounds */
  background-color: #FFFFFF; /* Default page background */
}

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

.page-fishing-games__section-title {
  font-size: 2.5em;
  font-weight: 700;
  text-align: center;
  margin-bottom: 30px;
  color: #017439;
  line-height: 1.2;
}

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

/* --- Logo Carousel Section --- */
.page-fishing-games__logo-carousel-section {
  padding: 10px 0 30px;
  background-color: #FFFFFF;
  border-bottom: 1px solid #eee;
}

.page-fishing-games__logo-carousel-title {
  font-size: 1.8em;
  font-weight: 600;
  text-align: center;
  margin-bottom: 25px;
  color: #017439;
}

.page-fishing-games__logo-carousel {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 30px;
  padding: 20px 0;
}

.page-fishing-games__logo-item {
  width: 80px;
  height: 80px;
  object-fit: contain;
  transition: transform 0.3s ease-in-out;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.page-fishing-games__logo-item:hover {
  transform: translateY(-5px) scale(1.05);
}

/* --- Hero Section --- */
.page-fishing-games__hero-section {
  position: relative;
  padding-top: 0; /* Important: handled by body padding-top */
  padding-bottom: 60px;
  text-align: center;
  overflow: hidden;
}

.page-fishing-games__hero-image-wrapper {
  width: 100%;
  height: 600px; /* Fixed height for desktop */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-fishing-games__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.page-fishing-games__hero-content {
  padding-top: 40px; /* Space after image */
  color: #FFFFFF; /* White text for dark section */
  background-color: #017439; /* Dark background for text content */
  padding-bottom: 40px;
  border-radius: 0 0 15px 15px;
}

.page-fishing-games__main-title {
  font-weight: 800;
  line-height: 1.2;
  color: #FFFF00; /* Register/Login font color */
  margin-bottom: 20px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  font-size: clamp(2.5em, 4vw, 3.5em); /* Responsive H1 font size */
}

.page-fishing-games__intro-text {
  font-size: 1.2em;
  margin-bottom: 30px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  color: #FFFFFF;
}

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

.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1em;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-fishing-games__btn-primary {
  background-color: #C30808; /* Register color */
  color: #FFFF00; /* Register/Login font color */
  border-color: #C30808;
}

.page-fishing-games__btn-primary:hover {
  background-color: #e02020;
  border-color: #e02020;
  transform: translateY(-3px);
}

.page-fishing-games__btn-secondary {
  background-color: transparent;
  color: #FFFF00; /* Register/Login font color */
  border-color: #FFFF00;
}

.page-fishing-games__btn-secondary:hover {
  background-color: #FFFF00;
  color: #C30808; /* Register color */
  transform: translateY(-3px);
}

/* --- About Section --- */
.page-fishing-games__about-section {
  padding: 80px 0;
  background-color: #FFFFFF;
  color: #333333;
}

.page-fishing-games__about-section p {
  font-size: 1.05em;
  margin-bottom: 20px;
  text-align: justify;
}

/* --- Featured Games Section --- */
.page-fishing-games__featured-games-section {
  padding: 80px 0;
  background-color: #017439;
  color: #FFFFFF;
}

.page-fishing-games__featured-games-section .page-fishing-games__section-title {
  color: #FFFF00;
}

.page-fishing-games__featured-games-section .page-fishing-games__section-description {
  color: #f0f0f0;
}

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

.page-fishing-games__game-card {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
  text-align: center;
  padding-bottom: 20px;
  transition: transform 0.3s ease;
}

.page-fishing-games__game-card:hover {
  transform: translateY(-10px);
}

.page-fishing-games__game-card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  margin-bottom: 15px;
}

.page-fishing-games__game-card-title {
  font-size: 1.5em;
  font-weight: 700;
  color: #FFFF00;
  margin-bottom: 10px;
}

.page-fishing-games__game-card-description {
  font-size: 0.95em;
  color: #f0f0f0;
  padding: 0 15px;
  margin-bottom: 20px;
}

.page-fishing-games__btn-small {
  display: inline-block;
  padding: 10px 20px;
  background-color: #C30808;
  color: #FFFF00;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9em;
  transition: background-color 0.3s ease;
  border: 2px solid transparent;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-fishing-games__btn-small:hover {
  background-color: #e02020;
}

/* --- Guide Section --- */
.page-fishing-games__guide-section {
  padding: 80px 0;
  background-color: #FFFFFF;
  color: #333333;
}

.page-fishing-games__guide-section p {
  font-size: 1.05em;
  margin-bottom: 20px;
  text-align: justify;
}

.page-fishing-games__guide-section .page-fishing-games__btn-primary {
  margin-top: 30px;
  display: block;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

/* --- Tips Section --- */
.page-fishing-games__tips-section {
  padding: 80px 0;
  background-color: #017439;
  color: #FFFFFF;
}

.page-fishing-games__tips-section .page-fishing-games__section-title {
  color: #FFFF00;
}

.page-fishing-games__tips-layout {
  display: flex;
  align-items: center;
  gap: 40px;
}

.page-fishing-games__tips-content {
  flex: 1;
}

.page-fishing-games__tips-content p {
  font-size: 1.05em;
  margin-bottom: 20px;
  text-align: justify;
  color: #f0f0f0;
}

.page-fishing-games__tips-list {
  list-style-type: disc;
  margin-left: 20px;
  margin-bottom: 30px;
  color: #f0f0f0;
}

.page-fishing-games__tips-list li {
  margin-bottom: 10px;
  font-size: 1.0em;
}

.page-fishing-games__tips-list strong {
  color: #FFFF00;
}

.page-fishing-games__tips-image-wrapper {
  flex: 1;
  text-align: center;
}

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

/* --- Promotions Section --- */
.page-fishing-games__promotions-section {
  padding: 80px 0;
  background-color: #FFFFFF;
  color: #333333;
}

.page-fishing-games__promotions-banner {
  max-width: 100%;
  height: auto;
  border-radius: 15px;
  margin: 40px auto;
  display: block;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.page-fishing-games__promotions-section .page-fishing-games__btn-primary {
  margin-top: 30px;
  display: block;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

/* --- Why Choose Section --- */
.page-fishing-games__why-choose-section {
  padding: 80px 0;
  background-color: #017439;
  color: #FFFFFF;
}

.page-fishing-games__why-choose-section .page-fishing-games__section-title {
  color: #FFFF00;
}

.page-fishing-games__why-choose-list {
  list-style-type: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.page-fishing-games__why-choose-list li {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 25px;
  border-radius: 10px;
  font-size: 1.05em;
  position: relative;
  padding-left: 50px;
  text-align: left;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.page-fishing-games__why-choose-list li::before {
  content: '✅';
  position: absolute;
  left: 15px;
  top: 25px;
  font-size: 1.2em;
}

/* --- FAQ Section --- */
.page-fishing-games__faq-section {
  padding: 80px 0;
  background-color: #FFFFFF;
  color: #333333;
}

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

.page-fishing-games__faq-item {
  background-color: #f9f9f9;
  border: 1px solid #eee;
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.page-fishing-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.1em;
  font-weight: 600;
  color: #017439;
  cursor: pointer;
  list-style: none; /* For details/summary */
}

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

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

.page-fishing-games__faq-toggle {
  font-size: 1.5em;
  margin-left: 15px;
  transition: transform 0.3s ease;
}

.page-fishing-games__faq-item[open] .page-fishing-games__faq-toggle {
  transform: rotate(45deg);
}

.page-fishing-games__faq-answer {
  padding: 0 20px 20px;
  font-size: 1em;
  color: #555555;
  line-height: 1.7;
}

.page-fishing-games__faq-section .page-fishing-games__btn-secondary {
  margin-top: 30px;
  display: block;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

/* --- Bottom CTA Section --- */
.page-fishing-games__cta-section-bottom {
  padding: 80px 0;
  background-color: #017439;
  color: #FFFFFF;
  text-align: center;
}

.page-fishing-games__cta-section-bottom .page-fishing-games__section-title {
  color: #FFFF00;
}

.page-fishing-games__cta-section-bottom .page-fishing-games__section-description {
  color: #f0f0f0;
  margin-bottom: 50px;
}

/* --- Responsive Styles --- */
@media (max-width: 1024px) {
  .page-fishing-games__section-title {
    font-size: 2em;
  }

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

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

  .page-fishing-games__tips-layout {
    flex-direction: column;
  }

  .page-fishing-games__tips-image-wrapper {
    margin-top: 30px;
  }
}

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

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

  .page-fishing-games__section-title {
    font-size: 1.8em;
    margin-bottom: 20px;
  }

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

  /* LOGO Carousel Section */
  .page-fishing-games__logo-carousel-section {
    padding: 10px 0 20px;
  }

  .page-fishing-games__logo-carousel-title {
    font-size: 1.5em;
    margin-bottom: 15px;
  }

  .page-fishing-games__logo-carousel {
    gap: 20px;
    padding: 10px 0;
  }

  .page-fishing-games__logo-item {
    width: 80px !important; /* Fixed 80px, exclude from generic 100% */
    height: 80px !important;
    max-width: 80px !important; /* Ensure it's not overridden */
    box-sizing: border-box;
  }

  /* Hero Section */
  .page-fishing-games__hero-section {
    padding-top: 0 !important; /* Ensure no double padding from body */
    padding-bottom: 40px;
  }

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

  .page-fishing-games__main-title {
    font-size: clamp(1.8em, 6vw, 2.5em);
    margin-bottom: 15px;
  }

  .page-fishing-games__intro-text {
    font-size: 1em;
    margin-bottom: 20px;
  }

  .page-fishing-games__cta-buttons {
    flex-direction: column; /* Stack buttons vertically */
    gap: 15px;
    padding: 0 15px;
  }

  .page-fishing-games__btn-primary,
  .page-fishing-games__btn-secondary,
  .page-fishing-games a[class*="button"],
  .page-fishing-games a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 12px 20px; /* Adjust padding for mobile */
    font-size: 1em;
  }

  /* General Images and Containers */
  .page-fishing-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block;
  }

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

  /* Featured Games Section */
  .page-fishing-games__featured-games-section {
    padding: 50px 0;
  }

  .page-fishing-games__games-grid {
    grid-template-columns: 1fr; /* Single column for games */
    gap: 20px;
  }

  .page-fishing-games__game-card-image {
    height: 180px;
  }

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

  /* Other Content Modules */
  .page-fishing-games__about-section,
  .page-fishing-games__guide-section,
  .page-fishing-games__tips-section,
  .page-fishing-games__promotions-section,
  .page-fishing-games__why-choose-section,
  .page-fishing-games__faq-section,
  .page-fishing-games__cta-section-bottom {
    padding: 50px 0;
  }

  .page-fishing-games__tips-layout {
    flex-direction: column;
  }

  .page-fishing-games__tips-image-wrapper {
    margin-top: 30px;
  }

  .page-fishing-games__why-choose-list {
    grid-template-columns: 1fr;
  }

  .page-fishing-games__why-choose-list li {
    padding: 20px 20px 20px 45px;
    font-size: 1em;
  }

  .page-fishing-games__why-choose-list li::before {
    top: 20px;
  }

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

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

  .page-fishing-games__promotions-banner {
    margin: 20px auto;
  }

  .page-fishing-games__cta-section-bottom .page-fishing-games__cta-buttons {
    padding: 0 15px;
  }
}