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

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

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

.page-fishing-games__dark-text {
  color: #333333;
}

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

.page-fishing-games__section-title {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 30px;
  color: #ffffff;
  font-weight: bold;
}

.page-fishing-games__section-title.page-fishing-games__dark-text {
  color: #017439;
}

.page-fishing-games__sub-title {
  font-size: 1.8em;
  margin-top: 25px;
  margin-bottom: 15px;
  color: #017439;
}

.page-fishing-games__sub-title.page-fishing-games__dark-text {
  color: #017439;
}

.page-fishing-games__section-description {
  text-align: center;
  font-size: 1.1em;
  margin-bottom: 40px;
  color: #f0f0f0;
}

/* Hero Section */
.page-fishing-games__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 600px;
  padding: 80px 20px;
  padding-top: var(--header-offset, 120px); /* Ensure header offset */
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-fishing-games__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  filter: brightness(0.5); /* Darken background image for text readability */
}

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

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

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

.page-fishing-games__hero-description {
  font-size: 1.3em;
  margin-bottom: 30px;
  color: #ffffff;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

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

.page-fishing-games__btn-register,
.page-fishing-games__btn-play {
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-fishing-games__btn-register {
  background-color: #C30808; /* Register button color */
  color: #FFFF00; /* Register/Login font color */
  border: 2px solid #FFFF00;
}

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

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

.page-fishing-games__btn-play:hover {
  background-color: #02944a;
  transform: translateY(-3px);
}

/* Intro Section */
.page-fishing-games__intro-section {
  padding: 60px 0;
}

.page-fishing-games__content-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}

.page-fishing-games__text-block p {
  margin-bottom: 15px;
  color: #333333;
}

.page-fishing-games__image-card {
  text-align: center;
}

.page-fishing-games__image {
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

/* Games Showcase Section */
.page-fishing-games__games-showcase {
  padding: 60px 0;
}

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

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

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

.page-fishing-games__game-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  min-width: 200px;
  min-height: 200px;
}

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

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

.page-fishing-games__btn-card {
  display: inline-block;
  background-color: #017439;
  color: #ffffff;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-fishing-games__btn-card:hover {
  background-color: #02944a;
}

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

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

.page-fishing-games__guide-item {
  background-color: #ffffff;
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: #333333;
}

.page-fishing-games__guide-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  min-width: 200px;
  min-height: 200px;
}

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

.page-fishing-games__guide-item p {
  font-size: 0.95em;
  color: #555555;
  flex-grow: 1;
  margin-bottom: 20px;
}

.page-fishing-games__btn-guide {
  display: inline-block;
  background-color: #017439;
  color: #ffffff;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-fishing-games__btn-guide.page-fishing-games__btn-register {
  background-color: #C30808;
  color: #FFFF00;
}

.page-fishing-games__btn-guide:hover {
  background-color: #02944a;
}

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

/* Promo Section */
.page-fishing-games__promo-section {
  padding: 60px 0;
}

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

.page-fishing-games__promo-card {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: #ffffff;
}

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

.page-fishing-games__promo-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  min-width: 200px;
  min-height: 200px;
}

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

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

.page-fishing-games__btn-promo {
  display: inline-block;
  background-color: #C30808;
  color: #FFFF00;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

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

/* Support Section */
.page-fishing-games__support-section {
  padding: 60px 0;
}

.page-fishing-games__support-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

.page-fishing-games__support-content .page-fishing-games__text-block p {
  color: #555555;
}

.page-fishing-games__btn-contact,
.page-fishing-games__btn-responsible {
  display: inline-block;
  background-color: #017439;
  color: #ffffff;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
  margin-top: 15px;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-fishing-games__btn-contact:hover,
.page-fishing-games__btn-responsible:hover {
  background-color: #02944a;
}

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

.page-fishing-games__faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.page-fishing-games__faq-item {
  background-color: rgba(255, 255, 255, 0.1);
  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: 18px 25px;
  font-size: 1.1em;
  font-weight: bold;
  cursor: pointer;
  background-color: #017439; /* Brand color for question background */
  color: #ffffff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  transition: background-color 0.3s ease;
}

.page-fishing-games__faq-question:hover {
  background-color: #02944a;
}

.page-fishing-games__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  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, padding 0.3s ease;
  color: #e0e0e0;
}

.page-fishing-games__faq-item.active .page-fishing-games__faq-answer {
  max-height: 1000px !important; /* Ensure it expands sufficiently */
  padding: 15px 25px;
}

.page-fishing-games__faq-answer p {
  margin: 0;
  color: #e0e0e0;
}

/* Conclusion Section */
.page-fishing-games__conclusion-section {
  padding: 60px 0;
  text-align: center;
}

.page-fishing-games__btn-large {
  padding: 18px 40px;
  font-size: 1.2em;
  background-color: #C30808;
  color: #FFFF00;
  border: 2px solid #FFFF00;
}

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

/* Responsive Design */
@media (min-width: 769px) {
  .page-fishing-games__content-grid {
    grid-template-columns: 1fr 1fr;
  }
  .page-fishing-games__support-content {
    grid-template-columns: 1fr 1fr;
  }
  .page-fishing-games__hero-section {
    padding: 120px 20px;
  }
  .page-fishing-games__hero-title {
    font-size: 4em;
  }
}

@media (max-width: 768px) {
  .page-fishing-games__hero-section {
    padding-top: var(--header-offset, 120px) !important; /* Mobile header offset */
    min-height: 500px;
  }
  .page-fishing-games__hero-title {
    font-size: 2.5em;
  }
  .page-fishing-games__hero-description {
    font-size: 1em;
  }
  .page-fishing-games__hero-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-fishing-games__btn-register,
  .page-fishing-games__btn-play,
  .page-fishing-games__btn-card,
  .page-fishing-games__btn-guide,
  .page-fishing-games__btn-promo,
  .page-fishing-games__btn-contact,
  .page-fishing-games__btn-responsible,
  .page-fishing-games__btn-large {
    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,
  .page-fishing-games__card,
  .page-fishing-games__container,
  .page-fishing-games__hero-section,
  .page-fishing-games__intro-section,
  .page-fishing-games__games-showcase,
  .page-fishing-games__guide-section,
  .page-fishing-games__promo-section,
  .page-fishing-games__support-section,
  .page-fishing-games__faq-section,
  .page-fishing-games__conclusion-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

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

  .page-fishing-games__game-grid,
  .page-fishing-games__guide-grid,
  .page-fishing-games__promo-grid {
    grid-template-columns: 1fr;
  }

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

  .page-fishing-games__sub-title {
    font-size: 1.5em;
  }

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

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

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