/* style/fishing-games.css */
.page-fishing-games {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: #000000; /* Ensuring main content area matches body background */
}

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

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

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

/* Hero Section */
.page-fishing-games__hero-section {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 600px;
  text-align: center;
  overflow: hidden;
  padding: 80px 20px;
}

.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: relative;
  z-index: 2;
  background-color: rgba(0, 0, 0, 0.6);
  padding: 40px;
  border-radius: 10px;
  max-width: 800px;
}

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

.page-fishing-games__hero-description {
  font-size: 1.2em;
  color: #f0f0f0;
  margin-bottom: 30px;
}

.page-fishing-games__hero-actions {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

/* General Section Styles */
.page-fishing-games__section {
  padding: 80px 0;
}

.page-fishing-games__section-title {
  font-size: 2.8em;
  text-align: center;
  margin-bottom: 20px;
  color: #26A9E0;
}

.page-fishing-games__section-intro {
  font-size: 1.1em;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 50px auto;
}

/* Card Styles */
.page-fishing-games__card {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%; /* Ensure cards in grid have equal height */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: #ffffff;
}

.page-fishing-games__light-bg .page-fishing-games__card {
  background-color: #ffffff;
  color: #333333;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-fishing-games__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Buttons */
.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;
  cursor: pointer;
  text-align: center;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
}

.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: #FFFFFF;
  color: #26A9E0;
}

.page-fishing-games__light-bg .page-fishing-games__btn-secondary {
  color: #26A9E0;
  border-color: #26A9E0;
}

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

/* Why Choose Section */
.page-fishing-games__why-choose .page-fishing-games__section-intro {
  color: #666666;
}

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

.page-fishing-games__feature-icon {
  width: 100%;
  height: 200px;
  object-fit: cover;
  margin-bottom: 20px;
  border-radius: 8px;
}

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

.page-fishing-games__light-bg .page-fishing-games__feature-title {
  color: #26A9E0;
}

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

.page-fishing-games__light-bg .page-fishing-games__feature-text {
  color: #555555;
}

/* Popular Games Section */
.page-fishing-games__popular-games .page-fishing-games__section-intro {
  color: #f0f0f0;
}

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

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

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

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

.page-fishing-games__game-description {
  font-size: 0.95em;
  color: #f0f0f0;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-fishing-games__game-btn {
  width: 100%;
  padding: 12px 20px;
  font-size: 1em;
}

/* How To Play Section */
.page-fishing-games__how-to-play .page-fishing-games__section-intro {
  color: #666666;
}

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

.page-fishing-games__step-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 30px;
}

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

.page-fishing-games__step-title {
  font-size: 1.4em;
  margin-bottom: 15px;
  color: #26A9E0;
}

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

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

.page-fishing-games__step-buttons .page-fishing-games__btn-primary,
.page-fishing-games__step-buttons .page-fishing-games__btn-secondary {
  flex-grow: 1;
  max-width: 180px; /* Limit width for two buttons */
}

/* Strategy Section */
.page-fishing-games__strategy .page-fishing-games__section-intro {
  color: #f0f0f0;
}

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

.page-fishing-games__strategy-item {
  padding: 20px;
}

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

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

.page-fishing-games__strategy-text {
  font-size: 0.95em;
  color: #f0f0f0;
}

/* Promotions Section */
.page-fishing-games__promotions .page-fishing-games__section-intro {
  color: #666666;
}

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

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

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

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

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

.page-fishing-games__cta-banner {
  background-color: #26A9E0;
  color: #FFFFFF;
  padding: 40px;
  border-radius: 10px;
  text-align: center;
}

.page-fishing-games__cta-banner .page-fishing-games__cta-title {
  font-size: 2em;
  margin-bottom: 15px;
  color: #FFFFFF;
}

.page-fishing-games__cta-banner .page-fishing-games__cta-text {
  font-size: 1.1em;
  margin-bottom: 30px;
}

.page-fishing-games__cta-banner .page-fishing-games__btn-primary {
  background-color: #EA7C07; /* Login color */
  border-color: #EA7C07;
}

.page-fishing-games__cta-banner .page-fishing-games__btn-primary:hover {
  background-color: #c96a06;
  border-color: #c96a06;
}

/* App Download Section */
.page-fishing-games__app-download {
  background-color: #000000;
  color: #ffffff;
}

.page-fishing-games__app-content {
  display: flex;
  align-items: center;
  gap: 50px;
}

.page-fishing-games__app-text {
  flex: 1;
}

.page-fishing-games__app-text .page-fishing-games__section-title {
  color: #FFFFFF;
  text-align: left;
}

.page-fishing-games__app-text .page-fishing-games__section-intro {
  color: #f0f0f0;
  text-align: left;
  margin-bottom: 30px;
}

.page-fishing-games__app-benefits {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
}

.page-fishing-games__app-benefits li {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
  font-size: 1.1em;
  color: #f0f0f0;
}

.page-fishing-games__list-icon {
  color: #26A9E0;
  font-size: 1.3em;
  margin-right: 10px;
}

.page-fishing-games__app-buttons {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.page-fishing-games__app-image-wrapper {
  flex: 1;
  text-align: center;
}

.page-fishing-games__app-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

/* FAQ Section */
.page-fishing-games__faq .page-fishing-games__section-intro {
  color: #666666;
}

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

.page-fishing-games__faq-item {
  margin-bottom: 20px;
  text-align: left;
  background-color: #FFFFFF;
  color: #333333;
  padding: 0;
  overflow: hidden;
}

.page-fishing-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 30px;
  font-size: 1.2em;
  font-weight: bold;
  cursor: pointer;
  background-color: #f9f9f9;
  color: #333333;
  border-bottom: 1px solid #eeeeee;
  transition: background-color 0.3s ease;
}

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

.page-fishing-games__faq-toggle {
  font-size: 1.5em;
  font-weight: normal;
  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 30px;
  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 */
  padding: 20px 30px;
}

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

/* Call to Action Section */
.page-fishing-games__call-to-action {
  text-align: center;
  padding: 80px 20px;
}

.page-fishing-games__call-to-action .page-fishing-games__section-title {
  color: #FFFFFF;
}

.page-fishing-games__call-to-action .page-fishing-games__section-intro {
  color: #f0f0f0;
  margin-bottom: 40px;
}

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

.page-fishing-games__cta-buttons .page-fishing-games__btn-primary {
  background-color: #EA7C07; /* Login color */
  border-color: #EA7C07;
}

.page-fishing-games__cta-buttons .page-fishing-games__btn-primary:hover {
  background-color: #c96a06;
  border-color: #c96a06;
}

/* Global Image Styles */
.page-fishing-games img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-fishing-games__hero-title {
    font-size: 2.8em;
  }
  .page-fishing-games__section-title {
    font-size: 2.2em;
  }
  .page-fishing-games__app-content {
    flex-direction: column;
    gap: 30px;
  }
  .page-fishing-games__app-text .page-fishing-games__section-title,
  .page-fishing-games__app-text .page-fishing-games__section-intro {
    text-align: center;
  }
  .page-fishing-games__app-benefits {
    text-align: left;
    margin: 0 auto 30px auto;
    max-width: 400px;
  }
  .page-fishing-games__app-buttons {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .page-fishing-games__hero-section {
    min-height: 450px;
    padding: 60px 15px;
  }
  .page-fishing-games__hero-overlay {
    padding: 30px 20px;
  }
  .page-fishing-games__hero-title {
    font-size: 2.2em;
  }
  .page-fishing-games__hero-description {
    font-size: 1em;
  }
  .page-fishing-games__hero-actions,
  .page-fishing-games__app-buttons,
  .page-fishing-games__cta-buttons,
  .page-fishing-games__step-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__section {
    padding: 60px 0;
  }
  .page-fishing-games__container {
    padding: 0 15px;
  }
  .page-fishing-games__section-title {
    font-size: 1.8em;
  }
  .page-fishing-games__section-intro {
    font-size: 0.95em;
    margin-bottom: 30px;
  }
  .page-fishing-games__features-grid,
  .page-fishing-games__game-grid,
  .page-fishing-games__steps-grid,
  .page-fishing-games__strategy-grid,
  .page-fishing-games__promo-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-fishing-games__feature-icon,
  .page-fishing-games__game-image,
  .page-fishing-games__strategy-image,
  .page-fishing-games__promo-image {
    height: 180px;
  }
  .page-fishing-games__cta-banner .page-fishing-games__cta-title {
    font-size: 1.5em;
  }
  .page-fishing-games__cta-banner .page-fishing-games__cta-text {
    font-size: 1em;
  }
  .page-fishing-games__faq-question {
    padding: 15px 20px;
    font-size: 1.1em;
  }
  .page-fishing-games__faq-answer {
    padding: 0 20px;
  }
  .page-fishing-games__faq-item.active .page-fishing-games__faq-answer {
    padding: 15px 20px;
  }
  /* Mobile image and container responsive overrides */
  .page-fishing-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-fishing-games__section,
  .page-fishing-games__card,
  .page-fishing-games__container,
  .page-fishing-games__hero-section,
  .page-fishing-games__app-content,
  .page-fishing-games__cta-banner,
  .page-fishing-games__faq-list {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden !important;
  }
  .page-fishing-games__hero-section {
    padding-top: var(--header-offset, 120px) !important;
  }
  .page-fishing-games__video-section {
    padding-top: var(--header-offset, 120px) !important; /* Ensure video section respects header offset on mobile */
  }
  .page-fishing-games__app-buttons,
  .page-fishing-games__cta-buttons,
  .page-fishing-games__step-buttons {
    flex-wrap: wrap !important;
    gap: 10px;
  }
}

@media (max-width: 480px) {
  .page-fishing-games__hero-title {
    font-size: 1.8em;
  }
  .page-fishing-games__section-title {
    font-size: 1.5em;
  }
  .page-fishing-games__hero-overlay {
    padding: 20px 15px;
  }
  .page-fishing-games__faq-question {
    font-size: 1em;
  }
}