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

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

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

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

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

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

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

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

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

.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;
}

/* General Section Styling */
.page-fishing-games__section-title {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 20px;
  color: #0A2342;
  line-height: 1.2;
}

.page-fishing-games__dark-bg .page-fishing-games__section-title {
  color: #E0B34D;
}

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

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

.page-fishing-games__introduction-section,
.page-fishing-games__advantages-section,
.page-fishing-games__featured-games-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-final-section {
  padding: 80px 0;
}

.page-fishing-games__paragraph {
  margin-bottom: 15px;
  font-size: 1.05em;
  line-height: 1.7;
}

.page-fishing-games__text-link {
  color: #E0B34D;
  text-decoration: none;
  font-weight: bold;
}

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

/* Buttons */
.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: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  box-sizing: border-box;
  text-align: center;
  white-space: normal;
  word-wrap: break-word;
}

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

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

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

.page-fishing-games__btn-secondary:hover {
  background-color: #E0B34D;
  color: #0A2342;
}

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

/* Introduction Section */
.page-fishing-games__content-wrapper {
  display: flex;
  align-items: flex-start;
  gap: 40px;
}

.page-fishing-games__content-image {
  flex: 0 0 500px;
  max-width: 500px;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.page-fishing-games__text-block {
  flex: 1;
}

/* Advantages Section */
.page-fishing-games__advantages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.page-fishing-games__advantage-card {
  background-color: rgba(255, 255, 255, 0.08);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.page-fishing-games__advantage-card:hover {
  transform: translateY(-10px);
  background-color: rgba(255, 255, 255, 0.15);
}

.page-fishing-games__advantage-card .page-fishing-games__card-title {
  color: #E0B34D;
  font-size: 1.4em;
  margin-bottom: 15px;
}

.page-fishing-games__advantage-card .page-fishing-games__card-description {
  color: #f0f0f0;
  font-size: 0.95em;
}

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

/* Featured Games Section */
.page-fishing-games__games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.page-fishing-games__game-card {
  background-color: #f9f9f9;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

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

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

.page-fishing-games__game-card .page-fishing-games__card-title {
  font-size: 1.3em;
  color: #0A2342;
  padding: 15px 15px 5px;
}

.page-fishing-games__game-card .page-fishing-games__card-title a {
  color: #0A2342;
  text-decoration: none;
}

.page-fishing-games__game-card .page-fishing-games__card-title a:hover {
  color: #E0B34D;
}

.page-fishing-games__game-card .page-fishing-games__card-description {
  color: #555;
  font-size: 0.9em;
  padding: 0 15px 15px;
}

/* How to Play Section */
.page-fishing-games__steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.page-fishing-games__step-card {
  background-color: rgba(255, 255, 255, 0.08);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-fishing-games__step-number {
  width: 50px;
  height: 50px;
  background-color: #E0B34D;
  color: #0A2342;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8em;
  font-weight: bold;
  margin: 0 auto 20px;
}

.page-fishing-games__step-card .page-fishing-games__card-title {
  color: #E0B34D;
  font-size: 1.3em;
  margin-bottom: 10px;
}

.page-fishing-games__step-card .page-fishing-games__card-description {
  color: #f0f0f0;
  font-size: 0.95em;
}

/* Tips Section */
.page-fishing-games__tips-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-fishing-games__tip-item {
  background-color: #f9f9f9;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-fishing-games__tip-title {
  color: #0A2342;
  font-size: 1.4em;
  margin-bottom: 10px;
}

.page-fishing-games__tip-description {
  color: #555;
  font-size: 0.95em;
}

/* Promotions Section */
.page-fishing-games__promotions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-fishing-games__promo-card {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

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

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

.page-fishing-games__promo-card .page-fishing-games__card-title {
  font-size: 1.3em;
  color: #E0B34D;
  padding: 15px 15px 5px;
}

.page-fishing-games__promo-card .page-fishing-games__card-title a {
  color: #E0B34D;
  text-decoration: none;
}

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

.page-fishing-games__promo-card .page-fishing-games__card-description {
  color: #f0f0f0;
  font-size: 0.9em;
  padding: 0 15px 15px;
}

/* FAQ Section */
.page-fishing-games__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

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

.page-fishing-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  background-color: #0A2342;
  color: #ffffff;
  font-weight: bold;
  transition: background-color 0.3s ease;
  border-radius: 10px;
}

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

.page-fishing-games__faq-title {
  margin: 0;
  font-size: 1.1em;
  color: #E0B34D;
}

.page-fishing-games__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  color: #E0B34D;
  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;
  background-color: #ffffff;
  color: #333333;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
}

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

.page-fishing-games__faq-answer .page-fishing-games__paragraph {
  margin-bottom: 0;
}

/* Final CTA Section */
.page-fishing-games__cta-final-section {
  text-align: center;
  padding: 100px 0;
}

.page-fishing-games__cta-final-section .page-fishing-games__section-title {
  color: #E0B34D;
  font-size: 3em;
}

.page-fishing-games__cta-final-section .page-fishing-games__section-subtitle {
  color: #f0f0f0;
  margin-bottom: 50px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-fishing-games__hero-title {
    font-size: 2.5em;
  }
  .page-fishing-games__hero-description {
    font-size: 1.1em;
  }
  .page-fishing-games__section-title {
    font-size: 2em;
  }
  .page-fishing-games__content-wrapper {
    flex-direction: column;
  }
  .page-fishing-games__content-image {
    max-width: 100%;
  }
}

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

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

  .page-fishing-games__hero-title {
    font-size: 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,
  .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__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;
    flex-wrap: wrap !important;
    gap: 10px;
  }

  .page-fishing-games__introduction-section,
  .page-fishing-games__advantages-section,
  .page-fishing-games__featured-games-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-final-section {
    padding: 40px 0;
  }

  .page-fishing-games__container {
    padding: 0 15px;
  }

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

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

  .page-fishing-games__content-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

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

  .page-fishing-games__game-image,
  .page-fishing-games__promo-image {
    height: 180px;
  }

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