.page-fishing-games {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default dark text on light body background */
  background-color: #FFFFFF; /* Default white background */
}

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

.page-fishing-games__section-title {
  font-size: 2.5em;
  color: #017439;
  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__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  text-align: justify;
}

.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  text-align: center;
  cursor: pointer;
}

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

.page-fishing-games__btn-primary:hover {
  background-color: #005a2e;
  border-color: #005a2e;
}

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

.page-fishing-games__btn-secondary:hover {
  background-color: #f0f0f0;
  color: #005a2e;
  border-color: #005a2e;
}

/* Specific button colors */
.page-fishing-games__btn-register {
  background-color: #C30808;
  color: #FFFF00;
  border-color: #C30808;
}

.page-fishing-games__btn-register:hover {
  background-color: #a00606;
  border-color: #a00606;
}

.page-fishing-games__btn-login {
  background-color: #C30808;
  color: #FFFF00;
  border-color: #C30808;
}

.page-fishing-games__btn-login:hover {
  background-color: #a00606;
  border-color: #a00606;
}

.page-fishing-games__cta-center {
  text-align: center;
  margin-top: 40px;
}

/* Hero Section */
.page-fishing-games__hero-section {
  position: relative;
  width: 100%;
  height: 600px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: var(--header-offset, 120px); /* Ensure header offset is handled */
  color: #FFFFFF;
}

.page-fishing-games__hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

.page-fishing-games__hero-section .page-fishing-games__container {
  position: relative;
  z-index: 2;
}

.page-fishing-games__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
}

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

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

/* Intro Section */
.page-fishing-games__intro-section {
  padding: 80px 0;
  background-color: #f8f8f8;
}

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

.page-fishing-games__video-container {
  text-align: center;
}

.page-fishing-games__video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  max-width: 100%;
  background: #000;
  margin-top: 30px;
  margin-bottom: 30px;
}

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

.page-fishing-games__video-description {
  font-style: italic;
  color: #555555;
}

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

.page-fishing-games__why-choose-us .page-fishing-games__section-title {
  color: #FFFFFF;
}

.page-fishing-games__why-choose-us .page-fishing-games__section-title::after {
  background-color: #FFFFFF;
}

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

.page-fishing-games__feature-card {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
  height: 100%; /* Ensure cards have equal height */
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.page-fishing-games__feature-card:hover {
  transform: translateY(-5px);
}

.page-fishing-games__feature-icon {
  width: 100%;
  height: auto;
  max-width: 150px;
  margin: 0 auto 20px auto;
  border-radius: 8px;
  object-fit: cover;
}

.page-fishing-games__feature-title {
  font-size: 1.5em;
  color: #FFFFFF;
  margin-bottom: 15px;
  flex-grow: 0;
}

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

/* Popular Games Section */
.page-fishing-games__popular-games {
  padding: 80px 0;
  background-color: #FFFFFF;
}

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

.page-fishing-games__game-item {
  background-color: #f8f8f8;
  border-left: 5px solid #017439;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  height: 100%;
}

.page-fishing-games__game-title {
  font-size: 1.4em;
  margin-bottom: 10px;
}

.page-fishing-games__game-title a {
  color: #017439;
  text-decoration: none;
}

.page-fishing-games__game-title a:hover {
  text-decoration: underline;
}

.page-fishing-games__game-item p {
  color: #555555;
}

/* How to Play Section */
.page-fishing-games__how-to-play {
  padding: 80px 0;
  background-color: #f0f0f0;
}

.page-fishing-games__steps-list {
  list-style: none;
  padding: 0;
  counter-reset: step-counter;
  margin-top: 40px;
}

.page-fishing-games__step-item {
  background-color: #FFFFFF;
  padding: 30px;
  border-radius: 10px;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  position: relative;
  padding-left: 80px;
}

.page-fishing-games__step-item::before {
  counter-increment: step-counter;
  content: counter(step-counter);
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  background-color: #017439;
  color: #FFFFFF;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5em;
  font-weight: bold;
}

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

.page-fishing-games__step-item p {
  color: #555555;
}

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

.page-fishing-games__promotions .page-fishing-games__section-title {
  color: #FFFFFF;
}

.page-fishing-games__promotions .page-fishing-games__section-title::after {
  background-color: #FFFFFF;
}

.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-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

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

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

.page-fishing-games__promo-card h3 {
  padding: 20px 20px 10px;
  font-size: 1.4em;
  color: #FFFFFF;
}

.page-fishing-games__promo-card h3 a {
  color: #FFFFFF;
  text-decoration: none;
}

.page-fishing-games__promo-card h3 a:hover {
  text-decoration: underline;
}

.page-fishing-games__promo-description {
  padding: 0 20px 20px;
  color: #f0f0f0;
  flex-grow: 1;
}

/* Download App Section */
.page-fishing-games__download-app {
  padding: 80px 0;
  background-color: #f8f8f8;
}

.page-fishing-games__app-content {
  display: flex;
  align-items: center;
  gap: 50px;
  margin-top: 40px;
}

.page-fishing-games__app-text {
  flex: 1;
}

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

.page-fishing-games__app-screenshot {
  max-width: 100%;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-fishing-games__app-buttons {
  display: flex;
  gap: 20px;
  margin-top: 30px;
  flex-wrap: wrap;
}

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

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

.page-fishing-games__faq-item {
  background-color: #f8f8f8;
  border-radius: 8px;
  margin-bottom: 15px;
  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 25px;
  font-size: 1.2em;
  font-weight: bold;
  color: #017439;
  cursor: pointer;
  list-style: none; /* For details/summary */
}

.page-fishing-games__faq-item summary::-webkit-details-marker {
  display: none; /* Hide default marker for details/summary */
}

.page-fishing-games__faq-toggle {
  font-size: 1.5em;
  color: #017439;
  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 25px 20px;
  font-size: 1.1em;
  color: #555555;
}

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

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

.page-fishing-games__cta-section .page-fishing-games__section-title::after {
  background-color: #FFFFFF;
}

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

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

/* Image global styles */
.page-fishing-games img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-fishing-games__hero-title {
    font-size: 3em;
  }
  .page-fishing-games__section-title {
    font-size: 2em;
  }
  .page-fishing-games__app-content {
    flex-direction: column;
    gap: 30px;
  }
  .page-fishing-games__app-image {
    order: -1; /* Move image above text on smaller screens */
  }
}

@media (max-width: 768px) {
  .page-fishing-games__hero-section {
    height: auto;
    min-height: 450px;
    padding: 60px 20px 40px; /* Adjust padding for mobile */
    padding-top: var(--header-offset, 120px) !important;
  }
  .page-fishing-games__hero-title {
    font-size: 2.2em;
  }
  .page-fishing-games__hero-description {
    font-size: 1em;
  }
  .page-fishing-games__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }
  .page-fishing-games__intro-section,
  .page-fishing-games__video-section,
  .page-fishing-games__why-choose-us,
  .page-fishing-games__popular-games,
  .page-fishing-games__how-to-play,
  .page-fishing-games__promotions,
  .page-fishing-games__download-app,
  .page-fishing-games__faq,
  .page-fishing-games__cta-section {
    padding: 40px 0;
  }
  .page-fishing-games__container {
    padding: 0 15px;
  }
  .page-fishing-games__features-grid,
  .page-fishing-games__promo-grid {
    grid-template-columns: 1fr;
  }
  .page-fishing-games__app-buttons {
    flex-direction: column;
  }
  .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__hero-cta-buttons,
  .page-fishing-games__app-buttons,
  .page-fishing-games__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  /* Mobile responsive for all images */
  .page-fishing-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  /* Mobile responsive for all video elements */
  .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,
  .page-fishing-games__video-container,
  .page-fishing-games__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
  .page-fishing-games__video-section {
    padding-top: var(--header-offset, 120px) !important;
  }

  /* Ensure content containers don't overflow */
  .page-fishing-games__section,
  .page-fishing-games__card,
  .page-fishing-games__container,
  .page-fishing-games__promo-card,
  .page-fishing-games__feature-card,
  .page-fishing-games__app-content,
  .page-fishing-games__app-text,
  .page-fishing-games__app-image,
  .page-fishing-games__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 0;
    padding-right: 0;
  }
  .page-fishing-games__step-item {
    padding-left: 60px;
  }
  .page-fishing-games__step-item::before {
    width: 35px;
    height: 35px;
    font-size: 1.2em;
    left: 15px;
  }
}