/* style/fishing-games.css */
.page-fishing-games {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: #121212; /* Inherited from body, ensure consistency */
}

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

.page-fishing-games__dark-bg {
  background-color: #1a1a1a; /* Slightly lighter than body for contrast */
  color: #ffffff;
}

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

.page-fishing-games__contrast-fix {
  background-color: #f8f9fa !important;
  color: #333333 !important;
}

.page-fishing-games__text-contrast-fix {
  color: #333333 !important;
}

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

.page-fishing-games__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  filter: brightness(0.6);
}

.page-fishing-games__hero-title {
  font-size: 3.5em;
  font-weight: bold;
  margin-bottom: 20px;
  color: #ffc107; /* Highlight with accent color */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

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

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

.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-fishing-games__btn-primary {
  background-color: #007bff;
  color: #ffffff;
  border: 2px solid #007bff;
}

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

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

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

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

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

.page-fishing-games__content-area,
.page-fishing-games__features-section,
.page-fishing-games__popular-games-section,
.page-fishing-games__how-to-play-section,
.page-fishing-games__promotions-section,
.page-fishing-games__faq-section,
.page-fishing-games__cta-section {
  padding: 60px 0;
}

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

.page-fishing-games__text-block a {
  color: #ffc107;
  text-decoration: none;
}

.page-fishing-games__text-block a:hover {
  text-decoration: underline;
}

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

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

.page-fishing-games__feature-card,
.page-fishing-games__game-card,
.page-fishing-games__promotion-card {
  background-color: rgba(255, 255, 255, 0.08); /* Semi-transparent white on dark bg */
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

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

.page-fishing-games__feature-title,
.page-fishing-games__game-title,
.page-fishing-games__promotion-title {
  font-size: 1.6em;
  font-weight: bold;
  margin-bottom: 15px;
  color: #ffc107;
}

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

.page-fishing-games__game-image,
.page-fishing-games__promotion-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
}

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

.page-fishing-games__step-item {
  background-color: #ffffff;
  color: #333333;
  padding: 25px;
  margin-bottom: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

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

.page-fishing-games__step-description {
  font-size: 1.05em;
  color: #555555;
}

.page-fishing-games__step-description a {
  color: #007bff;
  text-decoration: none;
}

.page-fishing-games__step-description a:hover {
  text-decoration: underline;
}

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

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

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

.page-fishing-games__faq-item.active {
  background-color: rgba(255, 255, 255, 0.15);
}

.page-fishing-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.2em;
  font-weight: bold;
  cursor: pointer;
  color: #ffc107;
  transition: background-color 0.3s ease;
}

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

.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 20px;
  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: 20px;
}

.page-fishing-games__faq-answer p {
  margin-bottom: 0;
  font-size: 1.05em;
}

.page-fishing-games__faq-answer a {
  color: #007bff;
  text-decoration: none;
}

.page-fishing-games__faq-answer a:hover {
  text-decoration: underline;
}

/* Responsive Styles */
@media (max-width: 992px) {
  .page-fishing-games__hero-title {
    font-size: 2.8em;
  }
  .page-fishing-games__section-title {
    font-size: 2em;
  }
  .page-fishing-games__feature-grid,
  .page-fishing-games__game-grid,
  .page-fishing-games__promotion-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-fishing-games__hero-section {
    min-height: 500px;
    padding: 60px 0;
    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__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-fishing-games__btn-primary,
  .page-fishing-games__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
  }
  .page-fishing-games__section-title {
    font-size: 1.8em;
  }
  .page-fishing-games__content-area,
  .page-fishing-games__features-section,
  .page-fishing-games__popular-games-section,
  .page-fishing-games__how-to-play-section,
  .page-fishing-games__promotions-section,
  .page-fishing-games__faq-section,
  .page-fishing-games__cta-section {
    padding: 40px 0;
  }
  .page-fishing-games__text-block {
    font-size: 0.95em;
  }
  .page-fishing-games__feature-card,
  .page-fishing-games__game-card,
  .page-fishing-games__promotion-card,
  .page-fishing-games__step-item,
  .page-fishing-games__faq-item {
    padding: 20px 15px;
  }
  .page-fishing-games__feature-title,
  .page-fishing-games__game-title,
  .page-fishing-games__promotion-title {
    font-size: 1.4em;
  }
  .page-fishing-games__step-title {
    font-size: 1.3em;
  }
  .page-fishing-games__faq-question {
    font-size: 1.1em;
    padding: 15px;
  }
  .page-fishing-games__faq-answer {
    padding: 15px;
  }
  /* Ensure all images are responsive and do not overflow */
  .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 {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}

@media (max-width: 480px) {
  .page-fishing-games__hero-title {
    font-size: 1.8em;
  }
  .page-fishing-games__section-title {
    font-size: 1.5em;
  }
  .page-fishing-games__hero-section {
    min-height: 400px;
  }
  .page-fishing-games__btn-primary,
  .page-fishing-games__btn-secondary {
    font-size: 0.9em;
    padding: 12px 20px;
  }
}