.page-fishing-games {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: #000000; /* Ensure content background is dark */
}

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

.page-fishing-games__hero-section {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 600px;
  padding: 80px 20px;
  padding-top: var(--header-offset, 120px); /* Fixed header spacing */
  background: linear-gradient(135deg, #017439, #004d2a);
  color: #ffffff;
  overflow: hidden;
  text-align: center;
}

.page-fishing-games__hero-content {
  z-index: 1;
  max-width: 800px;
}

.page-fishing-games__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
}

.page-fishing-games__hero-description {
  font-size: 1.3em;
  margin-bottom: 30px;
  opacity: 0.9;
}

.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%;
  overflow: hidden;
}

.page-fishing-games__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
  filter: brightness(0.7);
}

.page-fishing-games__section-title {
  font-size: 2.8em;
  text-align: center;
  margin-bottom: 40px;
  color: #ffffff;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.page-fishing-games__intro-section, .page-fishing-games__guide-section, .page-fishing-games__promotions-section, .page-fishing-games__faq-section {
  padding: 60px 0;
  background-color: #1a1a1a; /* Lighter dark background for sections */
  color: #ffffff;
}

.page-fishing-games__games-showcase, .page-fishing-games__strategy-section, .page-fishing-games__platform-features {
  padding: 60px 0;
  background-color: #0d0d0d; /* Slightly darker background */
  color: #ffffff;
}

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

.page-fishing-games__text-block a {
  color: #FFFF00; /* Link color for text blocks */
  text-decoration: underline;
}

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

.page-fishing-games__game-card, .page-fishing-games__feature-item, .page-fishing-games__strategy-card {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: #ffffff;
}

.page-fishing-games__game-card:hover, .page-fishing-games__feature-item:hover, .page-fishing-games__strategy-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-fishing-games__game-image, .page-fishing-games__feature-icon {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-fishing-games__game-title, .page-fishing-games__feature-heading, .page-fishing-games__strategy-heading {
  font-size: 1.6em;
  margin-bottom: 15px;
  color: #FFFF00;
}

.page-fishing-games__game-description {
  font-size: 1em;
  color: #f0f0f0;
  flex-grow: 1;
  margin-bottom: 20px;
}

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

.page-fishing-games__guide-item {
  background-color: rgba(1, 116, 57, 0.15); /* Primary color with transparency */
  border-left: 5px solid #017439;
  border-radius: 8px;
  padding: 25px;
  color: #ffffff;
}

.page-fishing-games__guide-heading {
  font-size: 1.4em;
  margin-bottom: 15px;
  color: #FFFF00;
}

.page-fishing-games__cta-buttons {
  text-align: center;
  margin-top: 50px;
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-fishing-games__btn-primary {
  display: inline-block;
  background-color: #017439;
  color: #ffffff;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.2s ease;
  border: 2px solid #017439;
}

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

.page-fishing-games__btn-secondary {
  display: inline-block;
  background-color: transparent;
  color: #017439;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
  border: 2px solid #017439;
}

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

/* Override specific button colors */
.page-fishing-games__hero-buttons .page-fishing-games__btn-primary, 
.page-fishing-games__hero-buttons .page-fishing-games__btn-secondary {
  background-color: #C30808; /* Use #C30808 for Register/Login */
  color: #FFFF00; /* Use #FFFF00 for Register/Login font */
  border-color: #C30808;
}

.page-fishing-games__hero-buttons .page-fishing-games__btn-primary:hover, 
.page-fishing-games__hero-buttons .page-fishing-games__btn-secondary:hover {
  background-color: #a30606;
  color: #FFFF00;
}


.page-fishing-games__promo-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
}

.page-fishing-games__list-item {
  background-color: rgba(1, 116, 57, 0.1);
  border-left: 4px solid #017439;
  padding: 15px 20px;
  margin-bottom: 15px;
  border-radius: 8px;
  font-size: 1.05em;
  color: #f0f0f0;
}

.page-fishing-games__list-item strong {
  color: #FFFF00;
}

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

.page-fishing-games__faq-item {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #ffffff;
}

.page-fishing-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  background-color: rgba(1, 116, 57, 0.15);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.page-fishing-games__faq-question:hover {
  background-color: rgba(1, 116, 57, 0.25);
}

.page-fishing-games__faq-heading {
  font-size: 1.2em;
  margin: 0;
  color: #FFFF00;
}

.page-fishing-games__faq-toggle {
  font-size: 1.8em;
  font-weight: bold;
  color: #FFFF00;
  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 25px;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
  color: #f0f0f0;
}

.page-fishing-games__faq-item.active .page-fishing-games__faq-answer {
  max-height: 1000px !important; /* Sufficiently large value */
  padding: 20px 25px;
}

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

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

  .page-fishing-games__hero-section {
    min-height: 500px;
    padding: 60px 15px;
    padding-top: var(--header-offset, 120px) !important; /* Ensure mobile header offset */
  }
  
  .page-fishing-games__hero-title {
    font-size: 2.5em;
  }

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

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

  .page-fishing-games__btn-primary, .page-fishing-games__btn-secondary {
    width: 100%;
    max-width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

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

  .page-fishing-games__intro-section, .page-fishing-games__guide-section, .page-fishing-games__promotions-section, .page-fishing-games__faq-section,
  .page-fishing-games__games-showcase, .page-fishing-games__strategy-section, .page-fishing-games__platform-features {
    padding: 40px 0;
  }

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

  .page-fishing-games__game-grid, .page-fishing-games__feature-grid, .page-fishing-games__guide-steps, .page-fishing-games__strategy-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-fishing-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-fishing-games__section,
  .page-fishing-games__card,
  .page-fishing-games__container,
  .page-fishing-games__video-section,
  .page-fishing-games__video-container,
  .page-fishing-games__video-wrapper,
  .page-fishing-games__cta-buttons,
  .page-fishing-games__button-group,
  .page-fishing-games__btn-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__cta-buttons {
    flex-direction: column; /* Stack buttons vertically on mobile */
    gap: 15px;
  }

  .page-fishing-games__faq-question {
    padding: 15px 20px;
  }

  .page-fishing-games__faq-heading {
    font-size: 1.1em;
  }

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