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

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

.page-fishing-games__dark-bg {
  background-color: #26A9E0; /* Brand primary color */
  color: #ffffff;
}

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

/* Hero Section */
.page-fishing-games__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px;
  background-color: #26A9E0; /* Hero background with brand color */
  color: #ffffff;
  padding-top: var(--header-offset, 120px);
  overflow: hidden;
}

.page-fishing-games__hero-content {
  z-index: 1;
  max-width: 900px;
  margin-bottom: 30px;
}

.page-fishing-games__main-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  font-weight: bold;
  color: #ffffff;
}

.page-fishing-games__intro-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  line-height: 1.8;
  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;
  font-size: 1.1em;
  transition: all 0.3s ease;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Break long words */
  box-sizing: border-box;
  max-width: 100%;
}

.page-fishing-games__btn-primary {
  background-color: #EA7C07; /* Login color for primary action */
  color: #ffffff;
  border: 2px solid #EA7C07;
}

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

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

.page-fishing-games__btn-secondary:hover {
  background-color: #ffffff;
  color: #26A9E0;
}

.page-fishing-games__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  opacity: 0.15;
  z-index: 0;
}

.page-fishing-games__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.6);
}

/* General Section Styling */
.page-fishing-games__section-title {
  font-size: 2.5em;
  font-weight: bold;
  text-align: center;
  margin-bottom: 20px;
}

.page-fishing-games__about-section .page-fishing-games__section-title,
.page-fishing-games__guide-section .page-fishing-games__section-title,
.page-fishing-games__benefits-section .page-fishing-games__section-title,
.page-fishing-games__video-section .page-fishing-games__section-title,
.page-fishing-games__cta-section .page-fishing-games__section-title {
  color: #26A9E0; /* Brand primary color for titles on light background */
}

.page-fishing-games__games-section .page-fishing-games__section-title,
.page-fishing-games__strategy-section .page-fishing-games__section-title,
.page-fishing-games__download-section .page-fishing-games__section-title,
.page-fishing-games__faq-section .page-fishing-games__section-title {
  color: #ffffff;
}

.page-fishing-games__section-description {
  font-size: 1.1em;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 40px auto;
  color: inherit;
}

.page-fishing-games__section-description--bottom {
  font-size: 1.1em;
  text-align: center;
  max-width: 900px;
  margin: 40px auto 0 auto;
  color: inherit;
}

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

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

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

.page-fishing-games__image-block {
  flex: 1;
  min-width: 300px; /* Ensure image block has a minimum width */
}

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

.page-fishing-games__sub-title {
  font-size: 1.8em;
  font-weight: bold;
  margin-top: 30px;
  margin-bottom: 15px;
  color: #26A9E0;
}

.page-fishing-games__list {
  list-style-type: decimal;
  padding-left: 25px;
  margin-top: 20px;
}

.page-fishing-games__list li {
  margin-bottom: 10px;
  font-size: 1.05em;
}

.page-fishing-games__list strong {
  color: #26A9E0;
}

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

.page-fishing-games__card {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: center;
  padding: 25px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #333333;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-fishing-games__card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

.page-fishing-games__card-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 15px;
  object-fit: cover;
}

.page-fishing-games__card-title {
  font-size: 1.6em;
  font-weight: bold;
  margin-bottom: 10px;
  color: #26A9E0;
}

.page-fishing-games__card-title a {
  color: #26A9E0;
  text-decoration: none;
}

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

.page-fishing-games__card-text {
  font-size: 1em;
  color: #555555;
  margin-bottom: 20px;
  flex-grow: 1;
}

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

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

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

.page-fishing-games__strategy-grid .page-fishing-games__card {
  background-color: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  box-shadow: none;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.page-fishing-games__strategy-grid .page-fishing-games__card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.page-fishing-games__strategy-grid .page-fishing-games__card-title {
  color: #ffffff;
  font-size: 1.5em;
}

.page-fishing-games__strategy-grid .page-fishing-games__card-text {
  color: #f0f0f0;
}

.page-fishing-games__cta-text {
  text-align: center;
  font-size: 1.1em;
  margin-top: 40px;
  color: inherit;
}

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

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

/* Benefits Section */
.page-fishing-games__benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-fishing-games__benefit-item {
  text-align: center;
  padding: 25px;
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
}

.page-fishing-games__benefit-item:hover {
  transform: translateY(-5px);
}

.page-fishing-games__benefit-icon {
  width: 150px; /* Increased size for content images */
  height: 112px; /* Maintain aspect ratio (4:3) */
  margin-bottom: 20px;
  object-fit: contain;
}

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

.page-fishing-games__benefit-description {
  font-size: 1em;
  color: #555555;
}

/* Download Section */
.page-fishing-games__download-options {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  margin-top: 40px;
}

.page-fishing-games__download-qr {
  text-align: center;
}

.page-fishing-games__qr-image {
  width: 250px;
  height: 250px;
  border: 5px solid #ffffff;
  border-radius: 10px;
  object-fit: contain;
}

.page-fishing-games__qr-text {
  font-size: 1.1em;
  color: #ffffff;
  margin-top: 15px;
}

.page-fishing-games__download-buttons {
  display: flex;
  flex-direction: column;
  gap: 15px;
  width: 100%;
  max-width: 300px;
}

.page-fishing-games__btn-download {
  background-color: #EA7C07;
  color: #ffffff;
  border: 2px solid #EA7C07;
  font-size: 1.1em;
  padding: 15px 20px;
  text-align: center;
}

.page-fishing-games__btn-download:hover {
  background-color: #d46a00;
  border-color: #d46a00;
}

.page-fishing-games__download-note {
  font-size: 0.95em;
  color: #f0f0f0;
  text-align: center;
  margin-top: 10px;
}

/* Video Section */
.page-fishing-games__video-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  margin-top: 40px;
}

.page-fishing-games__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-fishing-games__video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  text-decoration: none;
  font-size: 1.8em;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease;
  z-index: 1;
}

.page-fishing-games__video-overlay:hover {
  background-color: rgba(0, 0, 0, 0.6);
}

.page-fishing-games__play-button {
  font-size: 3em;
  margin-bottom: 10px;
}

.page-fishing-games__overlay-text {
  font-size: 1.2em;
}

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

.page-fishing-games__faq-item {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

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

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

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

.page-fishing-games__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transform: rotate(0deg);
  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;
  color: #f0f0f0;
}

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

/* CTA Section */
.page-fishing-games__cta-section {
  padding: 60px 20px;
  text-align: center;
}

.page-fishing-games__cta-content {
  max-width: 800px;
}

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

.page-fishing-games__cta-note {
  font-size: 1em;
  margin-top: 20px;
  color: #555555;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-fishing-games__main-title {
    font-size: 2.8em;
  }

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

  .page-fishing-games__content-wrapper {
    flex-direction: column;
    text-align: center;
  }

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

  .page-fishing-games__image-block {
    margin-top: 30px;
  }
}

@media (max-width: 768px) {
  .page-fishing-games__hero-section {
    padding: 60px 15px;
    padding-top: var(--header-offset, 120px) !important;
  }

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

  .page-fishing-games__intro-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__card-button,
  .page-fishing-games__btn-download,
  .page-fishing-games__btn-large,
  .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__download-buttons {
    max-width: 100% !important;
    width: 100% !important;
    padding-left: 15px;
    padding-right: 15px;
  }

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

  .page-fishing-games__sub-title {
    font-size: 1.5em;
  }

  .page-fishing-games__card-title {
    font-size: 1.4em;
  }

  .page-fishing-games__benefit-title {
    font-size: 1.2em;
  }

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

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

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

  .page-fishing-games__container,
  .page-fishing-games__section,
  .page-fishing-games__card,
  .page-fishing-games__content-wrapper,
  .page-fishing-games__game-cards,
  .page-fishing-games__strategy-grid,
  .page-fishing-games__benefits-grid,
  .page-fishing-games__download-options,
  .page-fishing-games__video-wrapper,
  .page-fishing-games__faq-list,
  .page-fishing-games__cta-section,
  .page-fishing-games__cta-content {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden !important; /* Ensure no horizontal scroll */
  }

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

  .page-fishing-games video,
  .page-fishing-games__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    box-sizing: border-box;
  }

  .page-fishing-games__video-wrapper {
    padding-bottom: 56.25% !important;
    height: 0 !important;
  }
}

@media (max-width: 480px) {
  .page-fishing-games__main-title {
    font-size: 1.8em;
  }

  .page-fishing-games__intro-description {
    font-size: 0.9em;
  }

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

  .page-fishing-games__btn-primary,
  .page-fishing-games__btn-secondary,
  .page-fishing-games__card-button,
  .page-fishing-games__btn-download,
  .page-fishing-games__btn-large {
    padding: 12px 15px;
    font-size: 1em;
  }
}