.page-fishing-games {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light background */
  background-color: var(--background-color, #ffffff); /* Fallback to white if var is not set */
}

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

.page-fishing-games__section-title {
  font-size: 2.5em;
  font-weight: 700;
  color: #26A9E0; /* Brand color */
  text-align: center;
  margin-bottom: 40px;
}

.page-fishing-games__text-block {
  font-size: 1.1em;
  line-height: 1.8;
  margin-bottom: 20px;
  text-align: center;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-fishing-games__image-content {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 30px auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary,
.page-fishing-games__btn-small,
.page-fishing-games__btn-large {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1em;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-fishing-games__btn-primary {
  background-color: #26A9E0;
  color: #FFFFFF;
  border: 2px solid #26A9E0;
}

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

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

.page-fishing-games__btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

.page-fishing-games__btn-small {
  padding: 8px 18px;
  font-size: 0.9em;
  border-radius: 30px;
  background-color: #26A9E0;
  color: #FFFFFF;
  border: 1px solid #26A9E0;
}

.page-fishing-games__btn-small:hover {
  background-color: #1a7fb0;
  border-color: #1a7fb0;
}

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

/* HERO Section */
.page-fishing-games__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles header offset */
  overflow: hidden;
}

.page-fishing-games__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  margin-bottom: 40px;
}

.page-fishing-games__hero-image {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.page-fishing-games__hero-content {
  text-align: center;
  max-width: 900px;
  color: #FFFFFF;
}

.page-fishing-games__main-title {
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -1px;
  margin-bottom: 20px;
  color: #FFFFFF;
  font-size: clamp(2.2em, 4vw, 3.5em); /* H1 font size with clamp */
}

.page-fishing-games__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  line-height: 1.7;
}

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

/* Intro Section */
.page-fishing-games__intro-section {
  padding: 80px 0;
  background-color: #FFFFFF;
  color: #333333;
}

/* Advantages Section */
.page-fishing-games__advantages-section {
  padding: 80px 0;
  background-color: #26A9E0; /* Dark background */
  color: #FFFFFF;
}

.page-fishing-games__advantages-section .page-fishing-games__section-title {
  color: #FFFFFF;
}

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

.page-fishing-games__card {
  background: #FFFFFF;
  color: #333333;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-fishing-games__card-title {
  font-size: 1.5em;
  font-weight: 700;
  color: #26A9E0;
  margin-bottom: 15px;
}

.page-fishing-games__card-description {
  font-size: 1em;
  line-height: 1.7;
  margin-bottom: 20px;
}

.page-fishing-games__card-image {
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-top: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  min-width: 200px;
  min-height: 200px;
}

/* Games List Section */
.page-fishing-games__games-list-section {
  padding: 80px 0;
  background-color: #F8F8F8;
  color: #333333;
}

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

.page-fishing-games__game-card {
  background: #FFFFFF;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

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

.page-fishing-games__game-title {
  font-size: 1.4em;
  font-weight: 700;
  color: #26A9E0;
  margin-bottom: 10px;
}

.page-fishing-games__game-description {
  font-size: 1em;
  line-height: 1.6;
  margin-bottom: 20px;
}

/* How to Play Section */
.page-fishing-games__how-to-play-section {
  padding: 80px 0;
  background-color: #FFFFFF;
  color: #333333;
}

.page-fishing-games__how-to-play-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  text-align: left;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-fishing-games__how-to-play-list li {
  background: #F8F8F8;
  padding: 20px;
  margin-bottom: 15px;
  border-left: 5px solid #26A9E0;
  border-radius: 5px;
  font-size: 1.1em;
  line-height: 1.8;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-fishing-games__how-to-play-list li strong {
  color: #26A9E0;
}

/* Tips Section */
.page-fishing-games__tips-section {
  padding: 80px 0;
  background-color: #26A9E0; /* Dark background */
  color: #FFFFFF;
}

.page-fishing-games__tips-section .page-fishing-games__section-title {
  color: #FFFFFF;
}

.page-fishing-games__tips-list {
  list-style: disc;
  padding-left: 20px;
  margin-top: 40px;
  text-align: left;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-fishing-games__tips-list li {
  margin-bottom: 15px;
  font-size: 1.1em;
  line-height: 1.8;
}

/* Promotions Section */
.page-fishing-games__promotions-section {
  padding: 80px 0;
  background-color: #F8F8F8;
  color: #333333;
}

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

.page-fishing-games__promo-card {
  background: #FFFFFF;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-fishing-games__promo-title {
  font-size: 1.4em;
  font-weight: 700;
  color: #EA7C07; /* Login/promotion color */
  margin-bottom: 15px;
}

.page-fishing-games__promo-description {
  font-size: 1em;
  line-height: 1.6;
  margin-bottom: 20px;
}

/* Platform Info Section */
.page-fishing-games__platform-info-section {
  padding: 80px 0;
  background-color: #26A9E0; /* Dark background */
  color: #FFFFFF;
}

.page-fishing-games__platform-info-section .page-fishing-games__section-title {
  color: #FFFFFF;
}

/* FAQ Section */
.page-fishing-games__faq-section {
  padding: 80px 0;
  background-color: #FFFFFF;
  color: #333333;
}

.page-fishing-games__faq-list {
  max-width: 900px;
  margin: 40px auto 0 auto;
}

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

.page-fishing-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: 600;
  color: #26A9E0;
  cursor: pointer;
  background-color: #E0F2F7; /* Light blue background for summary */
  border-bottom: 1px solid #D0E8ED;
}

.page-fishing-games__faq-item[open] .page-fishing-games__faq-question {
  border-bottom: 1px solid #26A9E0;
}

.page-fishing-games__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
}

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

.page-fishing-games__faq-answer {
  padding: 15px 25px 20px;
  font-size: 1em;
  line-height: 1.7;
  color: #555555;
}

/* CTA Section */
.page-fishing-games__cta-section {
  padding: 80px 0;
  background-color: #26A9E0; /* Brand color */
  color: #FFFFFF;
  text-align: center;
}

.page-fishing-games__cta-section .page-fishing-games__section-title {
  color: #FFFFFF;
}

.page-fishing-games__cta-section .page-fishing-games__text-block {
  color: #FFFFFF;
  margin-bottom: 40px;
}

/* Link colors for content */
.page-fishing-games a {
  color: #26A9E0;
  text-decoration: underline;
}

.page-fishing-games__dark-bg a {
  color: #FFFFFF;
  text-decoration: underline;
}

.page-fishing-games a:hover {
  color: #EA7C07;
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
  .page-fishing-games__container {
    padding-left: 15px !important;
    padding-right: 15px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-fishing-games__hero-section {
    padding: 40px 15px;
    padding-top: 10px !important;
  }

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

  .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,
  .page-fishing-games__btn-small,
  .page-fishing-games__btn-large {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
  }

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

  .page-fishing-games__text-block {
    font-size: 1em;
  }

  .page-fishing-games__intro-section,
  .page-fishing-games__advantages-section,
  .page-fishing-games__games-list-section,
  .page-fishing-games__how-to-play-section,
  .page-fishing-games__tips-section,
  .page-fishing-games__promotions-section,
  .page-fishing-games__platform-info-section,
  .page-fishing-games__faq-section,
  .page-fishing-games__cta-section {
    padding: 50px 0;
  }

  .page-fishing-games__grid-3-col,
  .page-fishing-games__game-cards-grid,
  .page-fishing-games__promotions-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-fishing-games__card,
  .page-fishing-games__game-card,
  .page-fishing-games__promo-card {
    padding: 20px;
  }

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

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

  .page-fishing-games__how-to-play-list li,
  .page-fishing-games__tips-list li {
    font-size: 1em;
    padding: 15px;
  }

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

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

  .page-fishing-games__video-section {
    padding-top: 10px !important; /* body handles --header-offset, this is for visual spacing */
  }
}

/* Ensure all image containers have proper overflow for mobile */
.page-fishing-games__hero-section,
.page-fishing-games__intro-section,
.page-fishing-games__advantages-section,
.page-fishing-games__games-list-section,
.page-fishing-games__how-to-play-section,
.page-fishing-games__tips-section,
.page-fishing-games__promotions-section,
.page-fishing-games__platform-info-section,
.page-fishing-games__faq-section,
.page-fishing-games__cta-section,
.page-fishing-games__card,
.page-fishing-games__game-card,
.page-fishing-games__promo-card,
.page-fishing-games__hero-image-wrapper,
.page-fishing-games__video-container,
.page-fishing-games__video-wrapper {
  overflow: hidden;
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
}