:root {
  --page-fishing-games-primary-color: #C61F1F;
  --page-fishing-games-secondary-color: #E53030;
  --page-fishing-games-button-gradient: linear-gradient(180deg, #FFB04A 0%, #D86A14 100%);
  --page-fishing-games-card-bg: #2A1212;
  --page-fishing-games-background: #140C0C;
  --page-fishing-games-text-main: #FFF1E8;
  --page-fishing-games-border-color: #6A1E1E;
  --page-fishing-games-gold-color: #F3C54D;
  --page-fishing-games-deep-red: #7E0D0D;
}

/* Base styles for the page content */
.page-fishing-games {
  font-family: 'Arial', sans-serif;
  color: var(--page-fishing-games-text-main); /* Light text on dark background */
  background-color: var(--page-fishing-games-background); /* Dark background */
  line-height: 1.6;
  padding-bottom: 50px; /* Ensure space above footer */
}

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

.page-fishing-games__section-title {
  font-size: 36px;
  font-weight: 700;
  color: var(--page-fishing-games-gold-color); /* Gold color for titles */
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
  text-transform: uppercase;
}

.page-fishing-games__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: var(--page-fishing-games-primary-color);
  border-radius: 2px;
}

.page-fishing-games__section-description {
  font-size: 18px;
  text-align: center;
  max-width: 800px;
  margin: -20px auto 50px auto;
  color: rgba(255, 241, 232, 0.8); /* Slightly lighter text for description */
}

/* Hero Section */
.page-fishing-games__hero-section {
  position: relative;
  overflow: hidden;
  padding-top: 10px; /* Small top padding, body handles header offset */
  margin-bottom: 50px;
}

.page-fishing-games__hero-image-wrapper {
  width: 100%;
  height: auto;
  position: relative;
  z-index: 1;
}

.page-fishing-games__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  min-height: 400px; /* Minimum height for hero image */
}

.page-fishing-games__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 40px 15px;
  background: var(--page-fishing-games-background); /* Dark background for content block */
}

.page-fishing-games__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem); /* Responsive font size */
  font-weight: 900;
  color: var(--page-fishing-games-gold-color);
  margin-bottom: 20px;
  line-height: 1.2;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-fishing-games__lead-text {
  font-size: 20px;
  color: rgba(255, 241, 232, 0.9);
  max-width: 800px;
  margin: 0 auto 30px auto;
}

.page-fishing-games__hero-cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

/* Buttons */
.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary,
.page-fishing-games__btn-play,
.page-fishing-games__btn-read-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  max-width: 100%; /* Ensure buttons adapt to container width */
  box-sizing: border-box;
  white-space: normal; /* Allow text to wrap */
  word-wrap: break-word; /* Allow long words to break */
  text-align: center;
}

.page-fishing-games__btn-primary {
  background: var(--page-fishing-games-button-gradient);
  color: #ffffff;
  border: none;
  box-shadow: 0 4px 15px rgba(255, 176, 74, 0.4);
}

.page-fishing-games__btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 176, 74, 0.6);
  opacity: 0.9;
}

.page-fishing-games__btn-secondary {
  background: transparent;
  color: var(--page-fishing-games-gold-color);
  border: 2px solid var(--page-fishing-games-gold-color);
}

.page-fishing-games__btn-secondary:hover {
  background: var(--page-fishing-games-gold-color);
  color: var(--page-fishing-games-background);
  transform: translateY(-2px);
}

.page-fishing-games__btn-play {
  background: var(--page-fishing-games-primary-color);
  color: #ffffff;
  border: none;
  padding: 10px 20px;
  font-size: 16px;
  border-radius: 5px;
}

.page-fishing-games__btn-play:hover {
  background: var(--page-fishing-games-secondary-color);
}

.page-fishing-games__btn-read-more {
  background: var(--page-fishing-games-deep-red);
  color: #ffffff;
  border: none;
  padding: 8px 15px;
  font-size: 14px;
  border-radius: 5px;
  margin-top: 15px;
}

.page-fishing-games__btn-read-more:hover {
  background: var(--page-fishing-games-primary-color);
}

/* Card styles */
.page-fishing-games__card {
  background: var(--page-fishing-games-card-bg); /* Dark card background */
  color: var(--page-fishing-games-text-main); /* Light text on card */
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--page-fishing-games-border-color);
}

.page-fishing-games__card-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--page-fishing-games-gold-color);
  margin-top: 15px;
  margin-bottom: 10px;
}

/* Sections specific styles */
.page-fishing-games__about-section,
.page-fishing-games__why-choose-section,
.page-fishing-games__popular-games-section,
.page-fishing-games__how-to-play-section,
.page-fishing-games__tips-section,
.page-fishing-games__promotions-section,
.page-fishing-games__download-app-section,
.page-fishing-games__faq-section,
.page-fishing-games__cta-final-section {
  padding: 60px 0;
}

.page-fishing-games__dark-section {
  background-color: var(--page-fishing-games-background);
}

.page-fishing-games__about-section {
  background-color: var(--page-fishing-games-background);
}

.page-fishing-games__content-wrapper {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-bottom: 40px;
}

.page-fishing-games__content-wrapper--reversed {
  flex-direction: row-reverse;
}

.page-fishing-games__content-image {
  flex: 1;
  max-width: 50%;
  border-radius: 10px;
  object-fit: cover;
  display: block;
}

.page-fishing-games__content-image--left {
  margin-right: 20px;
}

.page-fishing-games__content-image--right {
  margin-left: 20px;
}

.page-fishing-games__text-block {
  flex: 1;
  max-width: 50%;
  color: rgba(255, 241, 232, 0.85);
}

.page-fishing-games__text-block p {
  margin-bottom: 15px;
}

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

.page-fishing-games__feature-card {
  text-align: center;
}

.page-fishing-games__feature-icon {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin: 0 auto 15px auto;
  display: block;
}

/* Popular 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 {
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-fishing-games__game-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
  display: block;
}

/* How to Play Section */
.page-fishing-games__steps-list {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-bottom: 50px;
}

.page-fishing-games__step-item {
  text-align: center;
  position: relative;
  counter-increment: step-counter;
}

.page-fishing-games__step-item::before {
  content: counter(step-counter);
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--page-fishing-games-primary-color);
  color: #ffffff;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: bold;
  border: 3px solid var(--page-fishing-games-gold-color);
  z-index: 1;
}

.page-fishing-games__step-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--page-fishing-games-gold-color);
  margin-top: 25px; /* Adjust for counter */
  margin-bottom: 10px;
}

.page-fishing-games__cta-block {
  text-align: center;
  margin-top: 50px;
}

.page-fishing-games__cta-block p {
  font-size: 20px;
  margin-bottom: 30px;
  color: rgba(255, 241, 232, 0.9);
}

/* Tips Section */
.page-fishing-games__tips-list {
  list-style: none;
  padding: 0;
  flex: 1;
  max-width: 50%;
}

.page-fishing-games__tip-item {
  margin-bottom: 20px;
  text-align: left;
}

.page-fishing-games__tip-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--page-fishing-games-gold-color);
  margin-bottom: 10px;
}

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

.page-fishing-games__promo-card {
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-fishing-games__promo-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
  display: block;
}

.page-fishing-games__view-all-promos {
  text-align: center;
  margin-top: 30px;
}

/* Download App Section */
.page-fishing-games__download-app-section .page-fishing-games__content-wrapper {
  flex-direction: row-reverse; /* Image on right, text on left */
}

.page-fishing-games__download-buttons {
  display: flex;
  gap: 20px;
  margin-top: 30px;
  justify-content: flex-start;
  flex-wrap: wrap;
}

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

details.page-fishing-games__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid var(--page-fishing-games-border-color);
  overflow: hidden;
  background: var(--page-fishing-games-card-bg); /* Dark card background for FAQ */
  color: var(--page-fishing-games-text-main);
}
details.page-fishing-games__faq-item summary.page-fishing-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
}
details.page-fishing-games__faq-item summary.page-fishing-games__faq-question::-webkit-details-marker {
  display: none;
}
details.page-fishing-games__faq-item summary.page-fishing-games__faq-question:hover {
  background: rgba(42, 18, 18, 0.8); /* Slightly lighter hover for dark bg */
}
.page-fishing-games__faq-qtext {
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: var(--page-fishing-games-gold-color); /* Gold color for FAQ question */
}

.page-fishing-games__faq-toggle {
  font-size: 24px;
  line-height: 1;
  margin-left: 15px;
  color: var(--page-fishing-games-primary-color);
  transition: transform 0.3s ease;
}

details[open] .page-fishing-games__faq-toggle {
  transform: rotate(45deg);
}

.page-fishing-games__faq-answer {
  padding: 0 20px 20px 20px;
  font-size: 16px;
  color: rgba(255, 241, 232, 0.7);
}

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

.page-fishing-games__final-cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 40px;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
  .page-fishing-games__content-wrapper {
    flex-direction: column;
    text-align: center;
  }

  .page-fishing-games__content-wrapper--reversed {
    flex-direction: column;
  }

  .page-fishing-games__content-image,
  .page-fishing-games__text-block,
  .page-fishing-games__tips-list {
    max-width: 100%;
    margin: 0 auto;
  }

  .page-fishing-games__content-image--left,
  .page-fishing-games__content-image--right {
    margin: 0 auto 30px auto;
  }

  .page-fishing-games__download-app-section .page-fishing-games__content-wrapper {
    flex-direction: column;
  }

  .page-fishing-games__download-buttons {
    justify-content: center;
  }

  .page-fishing-games__section-title {
    font-size: 30px;
  }

  .page-fishing-games__main-title {
    font-size: clamp(2rem, 6vw, 3rem);
  }

  .page-fishing-games__lead-text {
    font-size: 18px;
  }

  .page-fishing-games__btn-primary,
  .page-fishing-games__btn-secondary {
    padding: 12px 25px;
    font-size: 16px;
  }
}

@media (max-width: 768px) {
  .page-fishing-games__section-title {
    font-size: 26px;
  }

  .page-fishing-games__section-description {
    font-size: 16px;
  }

  .page-fishing-games__hero-content {
    padding: 30px 10px;
  }

  .page-fishing-games__main-title {
    font-size: clamp(1.8rem, 7vw, 2.5rem);
  }

  .page-fishing-games__lead-text {
    font-size: 16px;
  }

  .page-fishing-games__hero-cta-buttons,
  .page-fishing-games__final-cta-buttons,
  .page-fishing-games__download-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-fishing-games__btn-primary,
  .page-fishing-games__btn-secondary {
    width: 80%;
    margin: 0 auto;
  }

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

  .page-fishing-games__step-item::before {
    top: -15px;
    width: 35px;
    height: 35px;
    font-size: 18px;
  }

  .page-fishing-games__step-title {
    margin-top: 20px;
  }

  .page-fishing-games__faq-qtext {
    font-size: 16px;
  }

  .page-fishing-games__faq-question {
    padding: 15px;
  }

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

@media (max-width: 480px) {
  .page-fishing-games__section-title {
    font-size: 22px;
  }

  .page-fishing-games__main-title {
    font-size: clamp(1.5rem, 8vw, 2rem);
  }

  .page-fishing-games__btn-primary,
  .page-fishing-games__btn-secondary {
    width: 90%;
  }

  .page-fishing-games__card-title,
  .page-fishing-games__step-title,
  .page-fishing-games__tip-title {
    font-size: 18px;
  }

  .page-fishing-games__section-description,
  .page-fishing-games__lead-text,
  .page-fishing-games__cta-block p {
    font-size: 15px;
  }
}