.page-fishing-games {
  color: #ffffff; /* Default text color for dark body background */
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  background-color: var(--dark-bg-1); /* Inherits from shared.css */
}

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

.page-fishing-games__dark-section {
  background-color: #0d0d0d; /* Slightly darker than primary blue for contrast */
  color: #ffffff;
  padding: 80px 0;
}

.page-fishing-games__light-bg {
  background-color: #1a1a1a; /* Dark gray, still ensures light text contrast */
  color: #f0f0f0;
  padding: 80px 0;
}

.page-fishing-games__section-title {
  font-size: 2.8em;
  color: #ffc107; /* Auxiliary color for titles */
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

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

.page-fishing-games__text-link {
  color: #ffc107;
  text-decoration: underline;
}

.page-fishing-games__hero-section {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  min-height: 70vh;
  text-align: center;
  padding: 60px 20px;
  padding-top: var(--header-offset, 120px); /* Ensure space for fixed header */
  background: linear-gradient(135deg, #007bff, #0056b3);
  position: relative;
  overflow: hidden;
}

.page-fishing-games__hero-content {
  max-width: 600px;
  z-index: 1;
  margin-right: 40px;
}

.page-fishing-games__hero-title {
  font-size: 3.5em;
  color: #ffc107; /* Gold for emphasis */
  margin-bottom: 20px;
  line-height: 1.2;
  font-weight: bold;
}

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

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

.page-fishing-games__btn-primary {
  background-color: #ffc107;
  color: #000000; /* Black text for contrast on gold */
  border: 2px solid #ffc107;
}

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

.page-fishing-games__btn-secondary {
  background-color: transparent;
  color: #ffc107;
  border: 2px solid #ffc107;
  margin-left: 15px;
}

.page-fishing-games__btn-secondary:hover {
  background-color: #ffc107;
  color: #000000;
}

.page-fishing-games__hero-image-wrapper {
  position: relative;
  flex-shrink: 0;
  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.3);
  z-index: 1;
}

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

.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.08); /* Slightly transparent white for dark background */
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  color: #ffffff;
}

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

.page-fishing-games__card-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
  min-width: 200px; /* Ensure minimum size */
  min-height: 200px;
}

.page-fishing-games__card-title {
  font-size: 1.5em;
  color: #ffc107;
  margin-bottom: 10px;
  font-weight: bold;
}

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

.page-fishing-games__how-to-play-section .page-fishing-games__section-title {
  color: #ffc107;
}

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

.page-fishing-games__step-item {
  background-color: rgba(0, 123, 255, 0.1); /* Primary color with transparency */
  border-left: 5px solid #ffc107;
  padding: 25px;
  margin-bottom: 20px;
  border-radius: 8px;
  color: #ffffff;
}

.page-fishing-games__step-title {
  font-size: 1.4em;
  color: #ffc107;
  margin-bottom: 10px;
  font-weight: bold;
}

.page-fishing-games__step-item p {
  font-size: 1em;
  color: #f0f0f0;
}

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

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

.page-fishing-games__tip-item {
  background-color: rgba(255, 193, 7, 0.1); /* Auxiliary color with transparency */
  border-left: 5px solid #007bff;
  padding: 25px;
  margin-bottom: 20px;
  border-radius: 8px;
  color: #ffffff;
}

.page-fishing-games__tip-title {
  font-size: 1.4em;
  color: #007bff;
  margin-bottom: 10px;
  font-weight: bold;
}

.page-fishing-games__tip-item p {
  font-size: 1em;
  color: #f0f0f0;
}

.page-fishing-games__content-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 40px auto;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  min-width: 200px; /* Ensure minimum size */
  min-height: 200px;
}

.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.08);
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  color: #ffffff;
}

.page-fishing-games__promo-card .page-fishing-games__card-image {
  margin-bottom: 15px;
}

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

.page-fishing-games__faq-item {
  background-color: rgba(0, 123, 255, 0.15);
  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;
  font-size: 1.2em;
  font-weight: bold;
  color: #ffc107;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.page-fishing-games__faq-question:hover {
  background-color: rgba(0, 123, 255, 0.25);
}

.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;
  font-size: 1em;
  color: #f0f0f0;
}

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

.page-fishing-games__cta-content {
  text-align: center;
}

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

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-fishing-games__hero-section {
    flex-direction: column;
    padding: 60px 20px;
  }

  .page-fishing-games__hero-content {
    margin-right: 0;
    margin-bottom: 40px;
  }

  .page-fishing-games__hero-image-wrapper {
    width: 100%;
    height: auto; /* Allow height to adjust */
    max-width: 600px;
  }

  .page-fishing-games__hero-image {
    height: auto;
  }

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

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

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

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

  .page-fishing-games__dark-section,
  .page-fishing-games__light-bg {
    padding: 60px 0;
  }

  .page-fishing-games__hero-section {
    padding-top: var(--header-offset, 120px) !important;
    min-height: auto;
  }

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

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

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

  .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: 12px 20px;
    font-size: 1em;
    margin-left: 0 !important;
  }

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

  .page-fishing-games__hero-image-wrapper {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    box-sizing: border-box !important;
  }

  .page-fishing-games__hero-image,
  .page-fishing-games__card-image,
  .page-fishing-games__content-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    min-width: 200px !important;
    min-height: 200px !important;
  }

  .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__features-section,
  .page-fishing-games__how-to-play-section,
  .page-fishing-games__tips-section,
  .page-fishing-games__promotions-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;
    overflow-x: hidden;
  }

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

  .page-fishing-games__faq-question,
  .page-fishing-games__faq-answer {
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-fishing-games__faq-item.active .page-fishing-games__faq-answer {
    padding: 15px 15px 25px !important;
  }
}