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

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

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

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

.page-fishing-games__hero-content {
  max-width: 600px;
  text-align: left;
  z-index: 1;
}

.page-fishing-games__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: #FFD700;
  line-height: 1.2;
}

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

.page-fishing-games__hero-actions {
  display: flex;
  gap: 20px;
}

.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;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%; /* Ensure button responsiveness */
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text wrapping */
}

.page-fishing-games__btn-primary {
  background-color: #FFD700;
  color: #0A192F;
  border: 2px solid #FFD700;
}

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

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

.page-fishing-games__btn-secondary:hover {
  background-color: #FFD700;
  color: #0A192F;
}

.page-fishing-games__hero-image-wrapper {
  position: relative;
  width: 600px;
  height: 337.5px; /* 16:9 aspect ratio for 600px width */
  overflow: hidden;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

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

.page-fishing-games__section-title {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 40px;
  color: #FFD700;
}

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

.page-fishing-games__introduction-section,
.page-fishing-games__game-types-section,
.page-fishing-games__guide-section,
.page-fishing-games__strategy-section,
.page-fishing-games__promotions-section,
.page-fishing-games__why-choose-section,
.page-fishing-games__faq-section,
.page-fishing-games__cta-final-section {
  padding: 80px 20px;
  text-align: center;
}

.page-fishing-games__video-wrapper {
  position: relative;
  width: 100%;
  max-width: 800px;
  margin: 40px auto;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.page-fishing-games__video {
  width: 100%;
  height: auto;
  display: block;
  cursor: pointer;
}

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

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

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

.page-fishing-games__card-image {
  width: 100%;
  max-width: 400px;
  height: 225px; /* 16:9 for 400px width */
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 20px;
  display: block;
}

.page-fishing-games__card-title {
  font-size: 1.8em;
  color: #FFD700;
  margin-bottom: 15px;
}

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

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

.page-fishing-games__step-item {
  background-color: #ffffff;
  color: #333333;
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

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

.page-fishing-games__step-text {
  font-size: 1em;
}

.page-fishing-games__guide-image {
  max-width: 800px;
  width: 100%;
  height: auto;
  display: block;
  margin: 40px auto;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

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

.page-fishing-games__strategy-item {
  background-color: rgba(255, 255, 255, 0.08);
  padding: 20px;
  margin-bottom: 15px;
  border-radius: 10px;
  color: #f0f0f0;
  font-size: 1.1em;
  position: relative;
  padding-left: 40px;
}

.page-fishing-games__strategy-item strong {
  color: #FFD700;
}

.page-fishing-games__strategy-item::before {
  content: '✓';
  position: absolute;
  left: 15px;
  top: 20px;
  color: #FFD700;
  font-weight: bold;
  font-size: 1.2em;
}

.page-fishing-games__cta-section {
  background-color: #FFD700;
  color: #0A192F;
  padding: 50px 20px;
  margin-top: 50px;
  border-radius: 15px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.page-fishing-games__cta-title {
  font-size: 2em;
  margin-bottom: 20px;
  color: #0A192F;
}

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

.page-fishing-games__feature-item {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-fishing-games__feature-icon {
  width: 80px;
  height: 80px;
  object-fit: contain;
  margin-bottom: 20px;
  border-radius: 50%; /* Example: if icons are circular */
  background-color: #FFD700;
  padding: 10px;
}

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

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

.page-fishing-games__faq-list {
  max-width: 900px;
  margin: 40px auto;
  text-align: left;
}

.page-fishing-games__faq-item {
  background-color: #ffffff;
  border-radius: 10px;
  margin-bottom: 15px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

.page-fishing-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  background-color: #0A192F;
  color: #FFD700;
  font-weight: bold;
  font-size: 1.1em;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.page-fishing-games__faq-question:hover {
  background-color: #1a2c42;
}

.page-fishing-games__faq-question h3 {
  margin: 0;
  color: inherit;
  font-size: 1.1em;
}

.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;
  background-color: #ffffff;
  color: #333333;
}

.page-fishing-games__faq-item.active .page-fishing-games__faq-answer {
  max-height: 1000px !important; /* Sufficient height for content */
  padding: 15px 25px;
}

.page-fishing-games__cta-final-section {
  padding: 100px 20px;
  background-color: #0A192F;
  color: #ffffff;
}

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

.page-fishing-games__cta-final-section .page-fishing-games__section-description {
  color: #f0f0f0;
}

.page-fishing-games__cta-actions {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
}

/* Responsive styles */
@media (max-width: 1024px) {
  .page-fishing-games__hero-section {
    flex-direction: column;
    text-align: center;
    gap: 30px;
  }

  .page-fishing-games__hero-content {
    max-width: 100%;
  }

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

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

  .page-fishing-games__hero-image-wrapper {
    width: 100%;
    max-width: 700px;
    height: auto;
  }

  .page-fishing-games__hero-actions {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .page-fishing-games__hero-section {
    padding: 60px 15px;
    min-height: auto;
  }

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

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

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

  .page-fishing-games__introduction-section,
  .page-fishing-games__game-types-section,
  .page-fishing-games__guide-section,
  .page-fishing-games__strategy-section,
  .page-fishing-games__promotions-section,
  .page-fishing-games__why-choose-section,
  .page-fishing-games__faq-section,
  .page-fishing-games__cta-final-section {
    padding: 60px 15px;
  }

  .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__hero-section,
  .page-fishing-games__video-wrapper,
  .page-fishing-games__game-cards,
  .page-fishing-games__promo-cards,
  .page-fishing-games__guide-steps,
  .page-fishing-games__features-grid,
  .page-fishing-games__faq-list,
  .page-fishing-games__cta-section,
  .page-fishing-games__cta-final-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden; /* Prevent horizontal scroll */
  }

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

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

  .page-fishing-games__cta-button,
  .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__hero-actions,
  .page-fishing-games__cta-actions {
    flex-direction: column;
    gap: 15px;
  }

  .page-fishing-games__faq-question {
    font-size: 1em;
  }

  .page-fishing-games__faq-question h3 {
    font-size: 1em;
  }

  .page-fishing-games__feature-icon {
    width: 60px;
    height: 60px;
  }
}

@media (max-width: 480px) {
  .page-fishing-games__hero-title {
    font-size: 1.8em;
  }

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

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

  .page-fishing-games__step-title {
    font-size: 1.3em;
  }
}