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

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

.page-fishing-games__hero-section {
  position: relative;
  width: 100%;
  height: 70vh; /* Adjust height as needed */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #ffffff;
  overflow: hidden;
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
  box-sizing: border-box;
}

.page-fishing-games__hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  z-index: 0;
  transform: translateX(-50%) translateY(-50%);
  background-size: cover;
}

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

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

.page-fishing-games__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #FFD700; /* Gold brand color for emphasis */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

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

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

.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%;
  white-space: normal;
  word-wrap: break-word;
}

.page-fishing-games__btn-primary {
  background-color: #FFD700;
  color: #8B0000; /* Dark red text for contrast */
  border: 2px solid #FFD700;
}

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

.page-fishing-games__btn-secondary {
  background-color: #8B0000;
  color: #ffffff;
  border: 2px solid #8B0000;
}

.page-fishing-games__btn-secondary:hover {
  background-color: #6a0000;
  border-color: #6a0000;
}

.page-fishing-games__section-title {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 20px;
  color: #8B0000; /* Dark red for main titles */
}

.page-fishing-games__section-subtitle {
  font-size: 1.2em;
  text-align: center;
  margin-bottom: 40px;
  color: #555555;
}

.page-fishing-games__about-section,
.page-fishing-games__guide-section,
.page-fishing-games__safety-section,
.page-fishing-games__cta-section {
  padding: 60px 0;
  background-color: #ffffff; /* Light background */
  color: #333333;
}

.page-fishing-games__dark-bg {
  background-color: #1a1a1a;
  color: #f0f0f0;
}

.page-fishing-games__dark-bg .page-fishing-games__section-title {
  color: #FFD700; /* Gold title on dark background */
}

.page-fishing-games__dark-bg .page-fishing-games__section-subtitle {
  color: #cccccc;
}

.page-fishing-games__about-content,
.page-fishing-games__safety-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
}

.page-fishing-games__about-content .page-fishing-games__text-block,
.page-fishing-games__safety-content .page-fishing-games__text-block {
  flex: 1;
  min-width: 300px;
}

.page-fishing-games__image-wrapper {
  flex: 1;
  min-width: 300px;
  text-align: center;
}

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

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

.page-fishing-games__game-card,
.page-fishing-games__step-card,
.page-fishing-games__promo-card {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: center;
  padding-bottom: 20px;
  display: flex;
  flex-direction: column;
  color: #333333;
}

.page-fishing-games__dark-bg .page-fishing-games__game-card,
.page-fishing-games__dark-bg .page-fishing-games__promo-card {
  background-color: #2c2c2c;
  color: #f0f0f0;
}

.page-fishing-games__card-image,
.page-fishing-games__step-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  margin-bottom: 15px;
}

.page-fishing-games__card-title,
.page-fishing-games__step-title {
  font-size: 1.5em;
  margin-bottom: 10px;
  color: #8B0000; /* Dark red for card titles */
  padding: 0 15px;
}

.page-fishing-games__dark-bg .page-fishing-games__card-title {
  color: #FFD700; /* Gold title on dark background */
}

.page-fishing-games__card-description,
.page-fishing-games__step-description {
  font-size: 1em;
  color: #555555;
  padding: 0 15px;
  flex-grow: 1;
}

.page-fishing-games__dark-bg .page-fishing-games__card-description {
  color: #cccccc;
}

.page-fishing-games__card-button {
  display: inline-block;
  margin-top: 20px;
  padding: 10px 20px;
  background-color: #FFD700;
  color: #8B0000;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
  box-sizing: border-box;
  max-width: calc(100% - 30px);
  white-space: normal;
  word-wrap: break-word;
}

.page-fishing-games__card-button:hover {
  background-color: #e6c200;
}

.page-fishing-games__call-to-action {
  text-align: center;
  font-size: 1.3em;
  margin-top: 40px;
  margin-bottom: 30px;
  color: #FFD700;
  font-weight: bold;
}

.page-fishing-games__button-group {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.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: #2c2c2c;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

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

.page-fishing-games__faq-question:hover {
  background-color: #6a0000;
}

.page-fishing-games__faq-question h3 {
  margin: 0;
  color: inherit; /* Inherit color from parent */
}

.page-fishing-games__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 10px;
  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: #3a3a3a;
  color: #f0f0f0;
}

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

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

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

  .page-fishing-games__hero-section {
    height: 60vh;
    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__hero-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-fishing-games__btn-primary,
  .page-fishing-games__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
  }

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

  .page-fishing-games__section-subtitle {
    font-size: 1em;
  }

  .page-fishing-games__about-content,
  .page-fishing-games__safety-content {
    flex-direction: column;
    gap: 30px;
  }

  .page-fishing-games__text-block,
  .page-fishing-games__image-wrapper {
    min-width: unset;
    width: 100%;
  }

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

  .page-fishing-games__game-card,
  .page-fishing-games__step-card,
  .page-fishing-games__promo-card {
    padding: 15px;
  }

  .page-fishing-games__card-image,
  .page-fishing-games__step-image {
    height: 200px;
  }

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

  .page-fishing-games__card-button {
    max-width: calc(100% - 30px) !important;
    width: 100% !important;
  }

  .page-fishing-games__button-group {
    flex-direction: column;
    gap: 15px;
  }

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

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

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

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

  .page-fishing-games video,
  .page-fishing-games__hero-video {
    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-section,
  .page-fishing-games__video-container,
  .page-fishing-games__video-wrapper,
  .page-fishing-games__cta-buttons,
  .page-fishing-games__button-group,
  .page-fishing-games__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden !important;
  }

  .page-fishing-games__hero-video {
    left: 0;
    transform: none;
  }
}