/* 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: #1a1a2e; /* Body background from shared.css */
}

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

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

.page-fishing-games__hero-section {
  position: relative;
  padding-top: var(--header-offset, 120px);
  padding-bottom: 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  min-height: 600px;
}

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

.page-fishing-games__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
}

.page-fishing-games__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 0 20px;
}

.page-fishing-games__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: #ffffff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

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

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

.page-fishing-games__section-title {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 20px;
  color: inherit; /* Inherit color from parent section */
}

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

.page-fishing-games__features-section, 
.page-fishing-games__how-to-play-section, 
.page-fishing-games__games-showcase, 
.page-fishing-games__promotions-section, 
.page-fishing-games__security-section, 
.page-fishing-games__faq-section, 
.page-fishing-games__cta-section {
  padding: 80px 20px;
  text-align: center;
}

.page-fishing-games__features-grid,
.page-fishing-games__steps-grid,
.page-fishing-games__game-grid,
.page-fishing-games__promo-grid,
.page-fishing-games__security-content {
  display: grid;
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

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

.page-fishing-games__feature-card,
.page-fishing-games__game-card,
.page-fishing-games__promo-card {
  background-color: #ffffff;
  color: #333333;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-fishing-games__feature-icon,
.page-fishing-games__game-image,
.page-fishing-games__promo-image,
.page-fishing-games__security-icon {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
  min-width: 200px;
  min-height: 200px;
}

.page-fishing-games__feature-title,
.page-fishing-games__game-name,
.page-fishing-games__promo-title,
.page-fishing-games__security-heading {
  font-size: 1.8em;
  margin-bottom: 15px;
  color: #26A9E0;
  text-align: center;
}

.page-fishing-games__feature-description,
.page-fishing-games__game-description,
.page-fishing-games__promo-description,
.page-fishing-games__security-description {
  font-size: 1em;
  color: #555555;
  text-align: center;
}

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

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

.page-fishing-games__step-card {
  background-color: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  min-height: 300px; /* Ensure cards have similar height */
}

.page-fishing-games__step-number {
  font-size: 2.5em;
  font-weight: bold;
  color: #26A9E0;
  margin-bottom: 15px;
}

.page-fishing-games__step-title {
  font-size: 1.5em;
  margin-bottom: 10px;
  color: #ffffff;
}

.page-fishing-games__step-description {
  font-size: 0.95em;
  color: #f0f0f0;
  flex-grow: 1;
}

.page-fishing-games__btn-text {
  color: #26A9E0;
  text-decoration: none;
  font-weight: bold;
  margin-top: 15px;
  display: inline-block;
}

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

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

.page-fishing-games__game-card .page-fishing-games__btn-primary {
  margin-top: auto; /* Push button to bottom */
}

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

.page-fishing-games__promo-grid {
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
}

.page-fishing-games__promo-card {
  background-color: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  display: flex;
  flex-direction: column;
}

.page-fishing-games__promo-card .page-fishing-games__promo-title {
  color: #26A9E0;
}

.page-fishing-games__promo-card .page-fishing-games__promo-description {
  color: #f0f0f0;
  flex-grow: 1;
}

.page-fishing-games__promo-card .page-fishing-games__btn-primary {
  margin-top: auto;
}

.page-fishing-games__security-content {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.page-fishing-games__security-item {
  background-color: #ffffff;
  color: #333333;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.page-fishing-games__security-item .page-fishing-games__security-heading {
  color: #26A9E0;
}

.page-fishing-games__security-item .page-fishing-games__security-description {
  color: #555555;
}

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

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

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

.page-fishing-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  background-color: rgba(255, 255, 255, 0.05);
  transition: background-color 0.3s ease;
}

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

.page-fishing-games__faq-title {
  font-size: 1.2em;
  color: #ffffff;
  margin: 0;
}

.page-fishing-games__faq-toggle {
  font-size: 1.5em;
  font-weight: bold;
  color: #26A9E0;
  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 value */
  padding: 15px 25px;
}

.page-fishing-games__cta-section .page-fishing-games__section-title,
.page-fishing-games__cta-section .page-fishing-games__section-intro {
  color: #333333;
}

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

/* General button styles */
.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;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

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

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

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

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

.page-fishing-games__cta-center {
  margin-top: 40px;
}

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

  .page-fishing-games__hero-section {
    padding-bottom: 50px;
    min-height: 500px;
  }

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

  .page-fishing-games__hero-description {
    font-size: 1em;
  }

  .page-fishing-games__hero-buttons {
    flex-direction: column;
    gap: 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-section,
  .page-fishing-games__how-to-play-section,
  .page-fishing-games__games-showcase,
  .page-fishing-games__promotions-section,
  .page-fishing-games__security-section,
  .page-fishing-games__faq-section,
  .page-fishing-games__cta-section {
    padding: 50px 15px;
  }

  .page-fishing-games__features-grid,
  .page-fishing-games__steps-grid,
  .page-fishing-games__game-grid,
  .page-fishing-games__promo-grid,
  .page-fishing-games__security-content {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-fishing-games__feature-card,
  .page-fishing-games__game-card,
  .page-fishing-games__promo-card,
  .page-fishing-games__security-item,
  .page-fishing-games__step-card {
    padding: 20px;
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
  }

  .page-fishing-games__feature-icon,
  .page-fishing-games__game-image,
  .page-fishing-games__promo-image,
  .page-fishing-games__security-icon {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !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__section,
  .page-fishing-games__card,
  .page-fishing-games__container,
  .page-fishing-games__hero-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-fishing-games__video-section {
    padding-top: var(--header-offset, 120px) !important; /* With shared header offset */
  }

  .page-fishing-games__cta-button,
  .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__cta-buttons,
  .page-fishing-games__button-group,
  .page-fishing-games__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
  }

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

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

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

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

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

/* Contrast Fixes */
.page-fishing-games__contrast-fix {
  background: #ffffff !important;
  color: #333333 !important;
  border: 1px solid #e0e0e0 !important;
}

.page-fishing-games__text-contrast-fix {
  color: #333333 !important;
  text-shadow: none !important;
}