.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, ensuring consistency */
}

.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.8em;
  color: #FFFFFF;
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

.page-fishing-games__section-description {
  font-size: 1.1em;
  color: #f0f0f0;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px auto;
}

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

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

/* Hero Section */
.page-fishing-games__hero-section {
  position: relative;
  padding: 120px 0 80px 0; /* Adjusted for header offset */
  text-align: center;
  background: url('[GALLERY:hero_main:1920x1080:iwin 2022,fishing game,hero banner,exciting]') center center/cover no-repeat;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: var(--header-offset, 120px); /* Fixed header offset */
}

.page-fishing-games__hero-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.6); /* Dark overlay for text readability */
  z-index: 1;
}

.page-fishing-games__hero-section .page-fishing-games__container {
  position: relative;
  z-index: 2;
}

.page-fishing-games__main-title {
  font-size: 3.8em;
  color: #FFFFFF;
  margin-bottom: 20px;
  line-height: 1.2;
  font-weight: bold;
}

.page-fishing-games__tagline {
  font-size: 1.5em;
  color: #f0f0f0;
  margin-bottom: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.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: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  box-sizing: border-box;
  text-align: center;
}

.page-fishing-games__btn-primary {
  background-color: #C30808; /* Register/Login color */
  color: #FFFF00; /* Register/Login font color */
  border: 2px solid #C30808;
}

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

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

.page-fishing-games__btn-secondary:hover {
  background-color: #FFFFFF;
  color: #017439;
  border-color: #FFFFFF;
}

/* Video Section */
.page-fishing-games__video-section {
  padding: 80px 0;
  text-align: center;
  background-color: #1a1a1a;
}

.page-fishing-games__video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  max-width: 900px;
  margin: 0 auto 30px auto;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.page-fishing-games__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 12px;
  cursor: pointer;
}

.page-fishing-games__video-description {
  color: #f0f0f0;
  font-size: 1.1em;
  max-width: 800px;
  margin: 0 auto;
}

/* About Section */
.page-fishing-games__about-section {
  padding: 80px 0;
}

.page-fishing-games__about-section .page-fishing-games__section-title {
  color: #017439;
}

.page-fishing-games__content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.page-fishing-games__content-grid--reverse {
  grid-template-columns: 1fr 1fr;
}

.page-fishing-games__text-block p {
  margin-bottom: 15px;
  font-size: 1.1em;
  color: #333333;
}

.page-fishing-games__image-wrapper {
  text-align: center;
}

.page-fishing-games__image {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  display: block; /* Ensure it behaves as a block element */
  margin: 0 auto; /* Center the image */
}

/* Advantages Section */
.page-fishing-games__advantages-section {
  padding: 80px 0;
}

.page-fishing-games__advantages-section .page-fishing-games__section-title,
.page-fishing-games__advantages-section .page-fishing-games__section-description {
  color: #ffffff;
}

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

.page-fishing-games__feature-card {
  background-color: rgba(255, 255, 255, 0.08); /* Semi-transparent white for dark background */
  padding: 30px;
  border-radius: 12px;
  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__feature-card:hover {
  transform: translateY(-10px);
  background-color: rgba(255, 255, 255, 0.15);
}

.page-fishing-games__feature-card .page-fishing-games__card-title {
  font-size: 1.6em;
  color: #FFFFFF;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-fishing-games__feature-card .page-fishing-games__card-text {
  font-size: 1em;
  color: #f0f0f0;
}

/* Popular Games Section */
.page-fishing-games__popular-games-section {
  padding: 80px 0;
}

.page-fishing-games__popular-games-section .page-fishing-games__section-title {
  color: #017439;
}

.page-fishing-games__popular-games-section .page-fishing-games__section-description {
  color: #333333;
}

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

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

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

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

.page-fishing-games__game-card .page-fishing-games__game-title {
  font-size: 1.4em;
  padding: 15px;
  color: #017439;
  font-weight: bold;
}

.page-fishing-games__game-card .page-fishing-games__game-title a {
  color: #017439;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-fishing-games__game-card .page-fishing-games__game-title a:hover {
  color: #005f2e;
}

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

.page-fishing-games__cta-center {
  text-align: center;
}

/* How To Play Section */
.page-fishing-games__how-to-play-section {
  padding: 80px 0;
}

.page-fishing-games__how-to-play-section .page-fishing-games__section-title,
.page-fishing-games__how-to-play-section .page-fishing-games__section-description {
  color: #ffffff;
}

.page-fishing-games__steps-list {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 900px;
}

.page-fishing-games__step-item {
  background-color: rgba(255, 255, 255, 0.08);
  padding: 30px;
  border-radius: 12px;
  margin-bottom: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  position: relative;
  counter-increment: step-counter;
}

.page-fishing-games__step-item::before {
  content: counter(step-counter);
  position: absolute;
  top: 30px;
  left: 30px;
  width: 40px;
  height: 40px;
  background-color: #017439;
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5em;
  font-weight: bold;
}

.page-fishing-games__step-item .page-fishing-games__step-title {
  font-size: 1.8em;
  color: #FFFFFF;
  margin-bottom: 10px;
  margin-left: 60px; /* Offset for step number */
  font-weight: bold;
}

.page-fishing-games__step-item p {
  font-size: 1.1em;
  color: #f0f0f0;
  margin-left: 60px; /* Offset for step number */
  margin-bottom: 15px;
}

.page-fishing-games__btn-text {
  color: #FFFF00; /* Register/Login font color */
  text-decoration: underline;
  font-weight: bold;
  margin-left: 60px;
  transition: color 0.3s ease;
}

.page-fishing-games__btn-text:hover {
  color: #e02020;
}

/* Tips Section */
.page-fishing-games__tips-section {
  padding: 80px 0;
}

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

.page-fishing-games__tips-section .page-fishing-games__section-description {
  color: #333333;
}

.page-fishing-games__tips-list {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 900px;
}

.page-fishing-games__tip-item {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 12px;
  margin-bottom: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  border-left: 5px solid #017439;
}

.page-fishing-games__tip-item .page-fishing-games__tip-title {
  font-size: 1.8em;
  color: #017439;
  margin-bottom: 10px;
  font-weight: bold;
}

.page-fishing-games__tip-item p {
  font-size: 1.1em;
  color: #333333;
}

/* Promotions Section */
.page-fishing-games__promotions-section {
  padding: 80px 0;
}

.page-fishing-games__promotions-section .page-fishing-games__section-title,
.page-fishing-games__promotions-section .page-fishing-games__section-description {
  color: #ffffff;
}

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

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

.page-fishing-games__promotion-card:hover {
  transform: translateY(-10px);
}

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

.page-fishing-games__promotion-card .page-fishing-games__card-title {
  font-size: 1.5em;
  color: #FFFFFF;
  margin-bottom: 10px;
  font-weight: bold;
}

.page-fishing-games__promotion-card .page-fishing-games__card-text {
  font-size: 1em;
  color: #f0f0f0;
}

/* Mobile Section */
.page-fishing-games__mobile-section {
  padding: 80px 0;
}

.page-fishing-games__mobile-section .page-fishing-games__section-title {
  color: #017439;
}

.page-fishing-games__mobile-section .page-fishing-games__section-description {
  color: #333333;
}

/* Security Section */
.page-fishing-games__security-section {
  padding: 80px 0;
}

.page-fishing-games__security-section .page-fishing-games__section-title,
.page-fishing-games__security-section .page-fishing-games__section-description {
  color: #ffffff;
}

.page-fishing-games__security-list {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 900px;
}

.page-fishing-games__security-list li {
  background-color: rgba(255, 255, 255, 0.08);
  padding: 25px;
  border-radius: 12px;
  margin-bottom: 15px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-fishing-games__security-list .page-fishing-games__list-title {
  font-size: 1.6em;
  color: #FFFFFF;
  margin-bottom: 5px;
  font-weight: bold;
}

.page-fishing-games__security-list p {
  font-size: 1em;
  color: #f0f0f0;
}

/* FAQ Section */
.page-fishing-games__faq-section {
  padding: 80px 0;
}

.page-fishing-games__faq-section .page-fishing-games__section-title {
  color: #017439;
}

.page-fishing-games__faq-section .page-fishing-games__section-description {
  color: #333333;
}

.page-fishing-games__faq-list {
  max-width: 900px;
  margin: 0 auto;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  overflow: hidden;
  background-color: #ffffff;
}

.page-fishing-games__faq-item {
  border-bottom: 1px solid #e0e0e0;
}

.page-fishing-games__faq-item:last-child {
  border-bottom: none;
}

.page-fishing-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  background-color: #f9f9f9;
  transition: background-color 0.3s ease;
}

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

.page-fishing-games__faq-question h3 {
  margin: 0;
  font-size: 1.2em;
  color: #333333;
  font-weight: bold;
}

.page-fishing-games__faq-toggle {
  font-size: 1.5em;
  font-weight: bold;
  color: #017439;
  transition: transform 0.3s ease;
}

.page-fishing-games__faq-item.active .page-fishing-games__faq-toggle {
  transform: rotate(45deg); /* Plus to X / Minus */
}

.page-fishing-games__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
}

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

.page-fishing-games__faq-answer p {
  margin: 0;
  color: #555555;
  font-size: 1em;
}

/* Conclusion Section */
.page-fishing-games__conclusion-section {
  padding: 80px 0;
  text-align: center;
}

.page-fishing-games__conclusion-section .page-fishing-games__section-title,
.page-fishing-games__conclusion-section .page-fishing-games__section-description {
  color: #ffffff;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-fishing-games__main-title {
    font-size: 3em;
  }
  .page-fishing-games__tagline {
    font-size: 1.3em;
  }
  .page-fishing-games__section-title {
    font-size: 2.2em;
  }
  .page-fishing-games__content-grid {
    grid-template-columns: 1fr;
  }
  .page-fishing-games__content-grid--reverse {
    grid-template-columns: 1fr;
  }
  .page-fishing-games__content-grid--reverse .page-fishing-games__text-block {
    order: 2;
  }
  .page-fishing-games__content-grid--reverse .page-fishing-games__image-wrapper {
    order: 1;
  }
}

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

  .page-fishing-games__hero-section {
    padding: 80px 0 60px 0;
    min-height: 450px;
    padding-top: var(--header-offset, 120px) !important; /* Ensure mobile header offset */
  }

  .page-fishing-games__main-title {
    font-size: 2.2em;
  }

  .page-fishing-games__tagline {
    font-size: 1.1em;
  }

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

  .page-fishing-games__section-description {
    font-size: 1em;
    margin-bottom: 40px;
  }

  .page-fishing-games__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-fishing-games__btn-primary,
  .page-fishing-games__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 12px 20px;
    font-size: 1em;
  }

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

  .page-fishing-games__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 0;
    padding-right: 0;
  }
  .page-fishing-games__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-fishing-games__content-grid {
    gap: 30px;
  }

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

  .page-fishing-games__image,
  .page-fishing-games__game-image,
  .page-fishing-games__promotion-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    margin: 0 auto;
  }

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

  .page-fishing-games__feature-card,
  .page-fishing-games__game-card,
  .page-fishing-games__promotion-card {
    padding: 25px;
  }

  .page-fishing-games__step-item,
  .page-fishing-games__tip-item,
  .page-fishing-games__security-list li {
    padding: 25px;
  }

  .page-fishing-games__step-item::before {
    top: 25px;
    left: 25px;
  }

  .page-fishing-games__step-item .page-fishing-games__step-title,
  .page-fishing-games__step-item p,
  .page-fishing-games__btn-text {
    margin-left: 50px;
  }

  .page-fishing-games__faq-question {
    padding: 15px;
  }
  .page-fishing-games__faq-question h3 {
    font-size: 1.1em;
  }
  .page-fishing-games__faq-answer {
    padding: 0 15px;
  }
  .page-fishing-games__faq-item.active .page-fishing-games__faq-answer {
    padding: 10px 15px 15px 15px;
  }
}

@media (max-width: 480px) {
  .page-fishing-games__main-title {
    font-size: 1.8em;
  }
  .page-fishing-games__tagline {
    font-size: 0.9em;
  }
  .page-fishing-games__section-title {
    font-size: 1.5em;
  }
  .page-fishing-games__btn-primary,
  .page-fishing-games__btn-secondary {
    font-size: 0.9em;
  }
}