/* style/fishing-games.css */
.page-fishing-games {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Light text for dark body background */
  background-color: transparent; /* Body background from shared.css */
}

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

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

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

.page-fishing-games__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.7); /* Darken image to ensure text contrast */
}

.page-fishing-games__hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

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

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

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

.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-fishing-games__btn-primary {
  background-color: #FFD700;
  color: #000080; /* Ensures WCAG AA contrast (4.67:1) */
  border: 2px solid #FFD700;
}

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

.page-fishing-games__btn-secondary {
  background-color: #000080;
  color: #FFD700; /* Ensures WCAG AA contrast (4.67:1) */
  border: 2px solid #FFD700;
}

.page-fishing-games__btn-secondary:hover {
  background-color: #000066;
  border-color: #e6c200;
}

.page-fishing-games__section-title {
  font-size: 2.5em;
  color: #FFD700;
  text-align: center;
  margin-bottom: 40px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.page-fishing-games__sub-title {
  font-size: 1.8em;
  color: #FFD700;
  margin-bottom: 20px;
}

.page-fishing-games__text-block {
  font-size: 1.1em;
  line-height: 1.8;
  margin-bottom: 20px;
  color: #ffffff;
}

.page-fishing-games__about-section,
.page-fishing-games__how-to-play-section,
.page-fishing-games__faq-section {
  padding: 80px 0;
}

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

.page-fishing-games__about-section .page-fishing-games__section-title,
.page-fishing-games__how-to-play-section .page-fishing-games__section-title,
.page-fishing-games__faq-section .page-fishing-games__section-title {
  color: #FFD700;
}

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

.page-fishing-games__image-grid-item {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
  min-width: 200px;
  min-height: 200px;
}

.page-fishing-games__about-section ul {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
}

.page-fishing-games__about-section ul li {
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="%23FFD700"><path d="M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z"/></svg>') no-repeat left center;
  background-size: 18px;
  padding-left: 28px;
  margin-bottom: 15px;
  font-size: 1.1em;
  color: #ffffff;
}

.page-fishing-games__features-section,
.page-fishing-games__promotions-section {
  padding: 80px 0;
  background-color: #1a1a1a; /* Slightly lighter dark background */
}

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

.page-fishing-games__feature-card,
.page-fishing-games__promo-card {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
  color: #ffffff;
}

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

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

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

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

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

.page-fishing-games__feature-card p,
.page-fishing-games__promo-card p {
  font-size: 1em;
  color: #f0f0f0;
}

.page-fishing-games__steps-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
}

.page-fishing-games__steps-list li {
  background-color: rgba(255, 255, 255, 0.1);
  border-left: 5px solid #FFD700;
  padding: 20px;
  margin-bottom: 20px;
  border-radius: 8px;
  font-size: 1.1em;
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

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

.page-fishing-games__center-cta {
  text-align: center;
  margin-top: 50px;
}

.page-fishing-games__faq-list {
  margin-top: 40px;
}

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

.page-fishing-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.2em;
  font-weight: bold;
  color: #FFD700;
  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.1);
}

.page-fishing-games__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  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 20px;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

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

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

.page-fishing-games__cta-banner {
  background-color: #FFD700; /* Main brand color */
  padding: 80px 20px;
  text-align: center;
  color: #000080; /* Dark blue text for gold background */
}

.page-fishing-games__cta-title {
  font-size: 2.8em;
  color: #000080;
  margin-bottom: 20px;
}

.page-fishing-games__cta-description {
  font-size: 1.2em;
  margin-bottom: 40px;
  color: #333333; /* Darker text for readability on gold */
}

.page-fishing-games__cta-banner .page-fishing-games__btn-primary {
  background-color: #000080;
  color: #FFD700; /* Gold text for dark blue button */
  border: 2px solid #000080;
}

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

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-fishing-games__hero-title {
    font-size: 2.8em;
  }
  .page-fishing-games__hero-description {
    font-size: 1.1em;
  }
  .page-fishing-games__section-title {
    font-size: 2em;
  }
  .page-fishing-games__image-content-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .page-fishing-games__hero-section {
    padding: 60px 15px;
    padding-top: var(--header-offset, 120px) !important;
  }
  .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__btn-primary,
  .page-fishing-games__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
  }
  .page-fishing-games__container {
    padding: 0 15px;
  }
  .page-fishing-games__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }
  .page-fishing-games__sub-title {
    font-size: 1.5em;
  }
  .page-fishing-games__text-block,
  .page-fishing-games__about-section ul li,
  .page-fishing-games__steps-list li,
  .page-fishing-games__faq-answer p {
    font-size: 15px;
  }
  .page-fishing-games__image-content-grid {
    gap: 30px;
  }
  .page-fishing-games__features-grid,
  .page-fishing-games__promo-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-fishing-games__feature-card,
  .page-fishing-games__promo-card {
    padding: 20px;
  }
  .page-fishing-games__card-image {
    height: auto;
  }
  .page-fishing-games__cta-banner {
    padding: 60px 15px;
  }
  .page-fishing-games__cta-title {
    font-size: 2em;
  }
  .page-fishing-games__cta-description {
    font-size: 1.1em;
  }
  
  /* Mobile image responsiveness */
  .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-image-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
  .page-fishing-games__hero-image-wrapper {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  .page-fishing-games__cta-buttons {
    flex-direction: column;
    gap: 10px;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-fishing-games__cta-buttons .page-fishing-games__btn-primary,
  .page-fishing-games__cta-buttons .page-fishing-games__btn-secondary {
    width: 100%;
  }
  .page-fishing-games__video-section {
    padding-top: var(--header-offset, 120px) !important;
  }
  .page-fishing-games video,
  .page-fishing-games__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-fishing-games__video-section,
  .page-fishing-games__video-container,
  .page-fishing-games__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
}