.page-fishing-games {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light background */
  background-color: #f4f4f4; /* Body background from shared.css */
}

/* --- Hero Section --- */
.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); /* Ensures content is not hidden by fixed header */
  background: linear-gradient(135deg, #003366, #001a33); /* Dark blue gradient */
  color: #ffffff; /* Light text for dark background */
}

.page-fishing-games__hero-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-fishing-games__hero-image {
  width: 100%;
  margin-bottom: 30px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

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

.page-fishing-games__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
}

.page-fishing-games__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: #FFD700; /* Gold for highlight */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  line-height: 1.2;
  font-weight: 700;
}

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

.page-fishing-games__cta-button {
  display: inline-block;
  padding: 18px 45px;
  background: #FFD700; /* Gold button */
  color: #003366; /* Dark blue text for gold button */
  text-decoration: none;
  border-radius: 8px;
  font-size: 1.2em;
  font-weight: bold;
  margin-top: 20px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  border: none;
}

.page-fishing-games__cta-button:hover {
  background: #e6c200;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.page-fishing-games__cta-button--large {
  padding: 20px 60px;
  font-size: 1.4em;
}

.page-fishing-games__cta-button--wide {
    min-width: 300px; /* Ensure button is wide enough */
}


/* --- General Section Styles --- */
.page-fishing-games__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

.page-fishing-games__section-title {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 40px;
  color: #003366; /* Dark blue for titles on light background */
  font-weight: 700;
}

.page-fishing-games__section-title--gold {
  color: #FFD700; /* Gold for titles on dark background */
}

.page-fishing-games__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  text-align: justify;
}

.page-fishing-games__text-block--light {
  color: #f0f0f0;
}

.page-fishing-games__introduction-section {
  padding: 80px 0;
  background-color: #f4f4f4;
  color: #333333;
}

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

.page-fishing-games__light-bg {
  background-color: #f4f4f4;
  color: #333333;
}

.page-fishing-games__highlight {
  color: #FFD700;
  font-weight: bold;
}

/* --- Game Grid Section --- */
.page-fishing-games__games-section {
  padding: 80px 0;
}

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

.page-fishing-games__game-card {
  background: #001a33; /* Slightly darker blue for cards */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  text-align: center;
  padding-bottom: 25px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-fishing-games__game-card-image {
  width: 100%;
  height: 250px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
  margin-bottom: 20px;
}

.page-fishing-games__game-card-title {
  font-size: 1.6em;
  color: #FFD700;
  margin-bottom: 15px;
  padding: 0 20px;
}

.page-fishing-games__game-card-description {
  font-size: 1em;
  color: #c0c0c0;
  padding: 0 20px;
  margin-bottom: 25px;
  flex-grow: 1; /* Allows description to take available space */
}

.page-fishing-games__btn-primary {
  display: inline-block;
  padding: 12px 30px;
  background: #FFD700;
  color: #003366;
  text-decoration: none;
  border-radius: 6px;
  font-size: 1em;
  font-weight: bold;
  transition: all 0.3s ease;
  border: none;
  margin-top: auto; /* Push button to bottom */
}

.page-fishing-games__btn-primary:hover {
  background: #e6c200;
  transform: translateY(-2px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.page-fishing-games__button-group {
    text-align: center;
    margin-top: 50px;
}

/* --- Guide Section --- */
.page-fishing-games__guide-section {
  padding: 80px 0;
}

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

.page-fishing-games__guide-step {
  background: #ffffff;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid #e0e0e0;
}

.page-fishing-games__step-title {
  font-size: 1.8em;
  color: #003366;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-fishing-games__step-description {
  font-size: 1em;
  color: #555555;
  margin-bottom: 25px;
  flex-grow: 1;
}

.page-fishing-games__btn-secondary {
  display: inline-block;
  padding: 12px 30px;
  background: #003366;
  color: #ffffff;
  text-decoration: none;
  border-radius: 6px;
  font-size: 1em;
  font-weight: bold;
  transition: all 0.3s ease;
  border: 2px solid #003366;
  margin-top: auto;
}

.page-fishing-games__btn-secondary:hover {
  background: #002244;
  transform: translateY(-2px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* --- Promotions Section --- */
.page-fishing-games__promotions-section {
  padding: 80px 0;
}

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

.page-fishing-games__promo-card {
  background: #001a33;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  text-align: center;
  padding-bottom: 25px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

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

.page-fishing-games__promo-title {
  font-size: 1.6em;
  color: #FFD700;
  margin-bottom: 15px;
  padding: 0 20px;
}

.page-fishing-games__promo-description {
  font-size: 1em;
  color: #c0c0c0;
  padding: 0 20px;
  margin-bottom: 25px;
  flex-grow: 1;
}

/* --- Features Section --- */
.page-fishing-games__features-section {
  padding: 80px 0;
}

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

.page-fishing-games__feature-item {
  background: #ffffff;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  border: 1px solid #e0e0e0;
}

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

.page-fishing-games__feature-description {
  font-size: 1em;
  color: #555555;
}

/* --- FAQ Section --- */
.page-fishing-games__faq-section {
  padding: 80px 0;
}

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

.page-fishing-games__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-fishing-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: #002244; /* Darker blue for question background */
  border: 1px solid #003366;
  border-radius: 8px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
  color: #ffffff;
}

.page-fishing-games__faq-question:hover {
  background: #001a33;
  border-color: #FFD700;
}

.page-fishing-games__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 1.2em;
  font-weight: 600;
  line-height: 1.5;
  pointer-events: none; /* Prevents h3 from blocking click event */
  color: #ffffff;
}

.page-fishing-games__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  line-height: 1;
  color: #FFD700; /* Gold for toggle icon */
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
  pointer-events: none; /* Prevents icon from blocking click event */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
}

.page-fishing-games__faq-item.active .page-fishing-games__faq-toggle {
  transform: rotate(45deg); /* Rotate for 'x' effect, or change to '-' */
  color: #FFD700;
}

.page-fishing-games__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
  padding: 0 20px;
  opacity: 0;
  background: #002244; /* Darker blue for answer background */
  color: #c0c0c0;
  border-radius: 0 0 8px 8px;
  border-left: 1px solid #003366;
  border-right: 1px solid #003366;
  border-bottom: 1px solid #003366;
}

.page-fishing-games__faq-item.active .page-fishing-games__faq-answer {
  max-height: 2000px !important; /* Sufficiently large for content */
  padding: 20px !important;
  opacity: 1;
}

.page-fishing-games__faq-answer p {
  margin: 0;
  font-size: 1em;
  line-height: 1.7;
}


/* --- Call to Action Section --- */
.page-fishing-games__cta-section {
  padding: 80px 0;
  text-align: center;
  background-color: #f4f4f4;
}

.page-fishing-games__cta-content {
  background: linear-gradient(135deg, #003366, #001a33);
  padding: 60px 40px;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  color: #ffffff;
}

.page-fishing-games__cta-content .page-fishing-games__section-title {
  color: #FFD700;
  margin-bottom: 25px;
}

.page-fishing-games__cta-content .page-fishing-games__text-block {
  color: #f0f0f0;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 40px;
}

/* --- Responsive Design --- */
@media (max-width: 1024px) {
  .page-fishing-games__hero-title {
    font-size: 2.8em;
  }
  .page-fishing-games__hero-description {
    font-size: 1.2em;
  }
  .page-fishing-games__section-title {
    font-size: 2em;
  }
  .page-fishing-games__game-card-image,
  .page-fishing-games__promo-image {
    height: 220px;
  }
}

@media (max-width: 768px) {
  .page-fishing-games__hero-section {
    padding-top: var(--header-offset, 120px) !important; /* Mobile specific offset */
    padding-bottom: 40px;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-fishing-games__hero-title {
    font-size: 2.2em;
    margin-bottom: 15px;
  }

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

  .page-fishing-games__cta-button {
    padding: 15px 35px;
    font-size: 1.1em;
    width: 100% !important; /* Ensure buttons are full width */
    max-width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    margin-bottom: 10px; /* Space between stacked buttons */
  }

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

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

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

  .page-fishing-games__text-block {
    font-size: 0.95em;
  }

  .page-fishing-games__game-grid,
  .page-fishing-games__guide-steps,
  .page-fishing-games__promo-grid,
  .page-fishing-games__feature-list {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .page-fishing-games__game-card-image,
  .page-fishing-games__promo-image {
    height: 180px;
  }

  .page-fishing-games__game-card,
  .page-fishing-games__guide-step,
  .page-fishing-games__promo-card,
  .page-fishing-games__feature-item {
    padding: 25px;
  }

  .page-fishing-games__game-card-title,
  .page-fishing-games__promo-title {
    font-size: 1.4em;
  }
  
  .page-fishing-games__step-title,
  .page-fishing-games__feature-title {
    font-size: 1.5em;
  }

  /* Image responsive optimization for content area */
  .page-fishing-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-fishing-games__introduction-section,
  .page-fishing-games__games-section,
  .page-fishing-games__guide-section,
  .page-fishing-games__promotions-section,
  .page-fishing-games__features-section,
  .page-fishing-games__faq-section,
  .page-fishing-games__cta-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Buttons in grid/group */
  .page-fishing-games__btn-primary,
  .page-fishing-games__btn-secondary {
    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__button-group {
    display: flex;
    flex-direction: column; /* Stack buttons vertically */
    gap: 15px;
    padding-left: 15px;
    padding-right: 15px;
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
  }

  .page-fishing-games__faq-question {
    padding: 15px;
  }
  
  .page-fishing-games__faq-question h3 {
    font-size: 1.1em;
  }
  
  .page-fishing-games__faq-toggle {
    font-size: 20px;
    width: 24px;
    height: 24px;
  }
  
  .page-fishing-games__faq-item.active .page-fishing-games__faq-answer {
    padding: 15px !important;
  }

  .page-fishing-games__cta-content {
    padding: 40px 20px;
  }
}