/* style/fishing-games.css */
.page-fishing-games {
  font-family: 'Arial', sans-serif;
  color: #ffffff; /* Default text color for dark body background */
  background-color: transparent; /* Body background handled by shared.css */
  line-height: 1.6;
}

.page-fishing-games__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: var(--header-offset, 120px); /* Ensure space for fixed header */
  min-height: 600px;
  background: linear-gradient(135deg, #017439, #005f2e);
  overflow: hidden;
}

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

.page-fishing-games__hero-title {
  font-size: 3.2em;
  color: #FFFF00; /* Register/Login font color */
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-fishing-games__hero-description {
  font-size: 1.2em;
  color: #ffffff;
  margin-bottom: 30px;
}

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

.page-fishing-games__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: 0.2;
}

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

.page-fishing-games__section-title {
  font-size: 2.5em;
  color: #FFFF00; /* Register/Login font color */
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
}

.page-fishing-games__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #017439;
  border-radius: 2px;
}

.page-fishing-games__section-description {
  font-size: 1.1em;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 50px auto;
  color: #ffffff;
}

.page-fishing-games__intro-section,
.page-fishing-games__games-section,
.page-fishing-games__tips-section,
.page-fishing-games__video-section {
  padding: 80px 20px;
  max-width: 1200px;
  margin: 0 auto;
  background-color: rgba(255, 255, 255, 0.05); /* Light transparent background for sections */
  border-radius: 10px;
  margin-bottom: 40px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-fishing-games__why-choose-section,
.page-fishing-games__promotions-section,
.page-fishing-games__cta-section {
  padding: 80px 20px;
  max-width: 1200px;
  margin: 0 auto;
  background-color: #017439; /* Main color for dark sections */
  border-radius: 10px;
  margin-bottom: 40px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-fishing-games__light-bg {
  background-color: #ffffff; /* White background for light sections */
  color: #333333; /* Dark text for light background */
}

.page-fishing-games__light-bg .page-fishing-games__section-title,
.page-fishing-games__light-bg .page-fishing-games__card-title,
.page-fishing-games__light-bg .page-fishing-games__step-title,
.page-fishing-games__light-bg p,
.page-fishing-games__light-bg li,
.page-fishing-games__light-bg a {
  color: #333333;
}

.page-fishing-games__light-bg .page-fishing-games__section-title::after {
  background-color: #017439;
}

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

.page-fishing-games__feature-grid,
.page-fishing-games__game-card-grid,
.page-fishing-games__steps-grid,
.page-fishing-games__tips-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-fishing-games__feature-card,
.page-fishing-games__game-card,
.page-fishing-games__tip-card {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, background-color 0.3s ease;
  color: #ffffff;
}

.page-fishing-games__feature-card:hover,
.page-fishing-games__game-card:hover,
.page-fishing-games__tip-card:hover {
  transform: translateY(-10px);
  background-color: rgba(255, 255, 255, 0.15);
}

.page-fishing-games__card-title {
  font-size: 1.5em;
  color: #FFFF00; /* Register/Login font color */
  margin-bottom: 15px;
}

.page-fishing-games__game-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-fishing-games__step-item {
  background-color: #f0f0f0;
  color: #333333;
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.page-fishing-games__step-number {
  font-size: 2.5em;
  font-weight: bold;
  color: #017439;
  margin-bottom: 15px;
}

.page-fishing-games__step-title {
  font-size: 1.3em;
  color: #017439;
  margin-bottom: 10px;
}

.page-fishing-games__promo-list {
  list-style: none;
  padding: 0;
  max-width: 800px;
  margin: 40px auto;
  text-align: left;
}

.page-fishing-games__promo-list li {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 15px 20px;
  margin-bottom: 15px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  color: #ffffff;
}

.page-fishing-games__promo-list li strong {
  color: #FFFF00; /* Register/Login font color */
  margin-right: 10px;
}

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

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

.page-fishing-games__video-description {
  text-align: center;
  font-style: italic;
  margin-top: 20px;
  color: #ffffff;
}

.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  border: none;
}

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

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

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

.page-fishing-games__btn-secondary:hover {
  background-color: #005f2e;
  transform: translateY(-3px);
}

.page-fishing-games__btn-large {
  padding: 18px 40px;
  font-size: 1.2em;
}

.page-fishing-games__cta-section {
  text-align: center;
  padding: 60px 20px;
}

.page-fishing-games__cta-section .page-fishing-games__section-description {
  margin-bottom: 30px;
}

.page-fishing-games__faq-section {
  padding: 80px 20px;
  max-width: 1000px;
  margin: 0 auto 40px auto;
  background-color: #ffffff; /* White background for light sections */
  color: #333333; /* Dark text for light background */
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

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

.page-fishing-games__faq-item {
  border-bottom: 1px solid #e0e0e0;
  margin-bottom: 15px;
}

.page-fishing-games__faq-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

.page-fishing-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
  cursor: pointer;
  font-size: 1.2em;
  font-weight: bold;
  color: #333333;
  transition: color 0.3s ease;
}

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

.page-fishing-games__faq-toggle {
  font-size: 1.5em;
  font-weight: bold;
  color: #017439;
  transition: transform 0.3s ease;
}

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

.page-fishing-games__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 15px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #555555;
  line-height: 1.5;
}

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

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

@media (max-width: 768px) {
  .page-fishing-games__hero-section {
    padding: 40px 15px;
    padding-top: var(--header-offset, 120px) !important; /* Ensure space for fixed header on mobile */
    min-height: 500px;
  }

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

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

  .page-fishing-games__hero-buttons {
    flex-direction: column;
    gap: 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-left: 15px;
    padding-right: 15px;
  }

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

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

  .page-fishing-games__intro-section,
  .page-fishing-games__games-section,
  .page-fishing-games__tips-section,
  .page-fishing-games__why-choose-section,
  .page-fishing-games__promotions-section,
  .page-fishing-games__cta-section,
  .page-fishing-games__faq-section {
    padding: 40px 15px;
    margin-bottom: 20px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  /* Mobile image responsiveness */
  .page-fishing-games img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  /* Mobile video responsiveness */
  .page-fishing-games video,
  .page-fishing-games__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-fishing-games__video-section {
    padding-top: var(--header-offset, 120px) !important; /* Ensure video section also respects header offset */
  }

  .page-fishing-games__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .page-fishing-games__feature-grid,
  .page-fishing-games__game-card-grid,
  .page-fishing-games__steps-grid,
  .page-fishing-games__tips-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-fishing-games__promo-list li {
    flex-direction: column;
    align-items: flex-start;
    padding: 10px 15px;
  }

  .page-fishing-games__promo-list li strong {
    margin-bottom: 5px;
  }
}

@media (max-width: 480px) {
  .page-fishing-games__hero-title {
    font-size: 1.8em;
  }
  .page-fishing-games__section-title {
    font-size: 1.5em;
  }
  .page-fishing-games__card-title {
    font-size: 1.3em;
  }
  .page-fishing-games__faq-question h3 {
    font-size: 1em;
  }
  .page-fishing-games__faq-toggle {
    font-size: 1.2em;
  }
}