/* style/fishing-games.css */

/* Body background is #0a0a0a (dark), so default text color should be light */
.page-fishing-games {
  color: #ffffff; /* Light text for dark body background */
  background-color: transparent; /* Main content background is transparent to show body background */
}

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

.page-fishing-games__hero-section {
  position: relative;
  width: 100%;
  padding: 60px 0 80px; /* Adjusted padding for hero section */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background-color: #0a0a0a; /* Ensure hero section has a background */
}

.page-fishing-games__hero-image-wrapper {
  width: 100%;
  max-height: 675px; /* Limit height to maintain aspect ratio */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-fishing-games__hero-image {
  width: 100%;
  height: auto; /* Maintain aspect ratio */
  display: block;
  object-fit: cover;
}

.page-fishing-games__hero-content {
  position: relative;
  z-index: 10;
  margin-top: 40px; /* Space between image and content */
  max-width: 800px;
  padding: 0 20px;
}

.page-fishing-games__main-title {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #ffffff;
  /* clamp for responsive font size, avoiding fixed large values */
  font-size: clamp(2.5rem, 5vw, 3.5rem);
}

.page-fishing-games__tagline {
  font-size: 1.25rem;
  margin-bottom: 30px;
  color: #f0f0f0;
  line-height: 1.6;
}

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

.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  transition: background-color 0.3s ease, transform 0.3s ease;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text breaking */
  box-sizing: border-box;
  max-width: 100%;
}

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

.page-fishing-games__btn-primary:hover {
  background-color: #1e87b0;
  transform: translateY(-2px);
}

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

.page-fishing-games__btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

.page-fishing-games__btn-large {
  padding: 18px 35px;
  font-size: 1.2rem;
}

.page-fishing-games__btn-text {
  display: inline-block;
  margin-top: 10px;
  color: #26A9E0;
  text-decoration: underline;
  font-weight: 500;
  transition: color 0.3s ease;
}

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

.page-fishing-games__section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  margin-bottom: 40px;
  text-align: center;
  line-height: 1.3;
}

/* Section backgrounds and text colors based on body background */
.page-fishing-games__dark-bg {
  background-color: #0a0a0a;
  color: #ffffff;
}

.page-fishing-games__light-bg {
  background-color: #1a1a1a; /* Slightly lighter dark background for contrast */
  color: #ffffff;
}

.page-fishing-games__intro-section,
.page-fishing-games__how-to-play-section,
.page-fishing-games__promotions-section,
.page-fishing-games__cta-section {
  padding: 80px 0;
}

.page-fishing-games__features-section,
.page-fishing-games__tips-section,
.page-fishing-games__faq-section {
  padding: 80px 0;
}

.page-fishing-games__text-block {
  font-size: 1.1rem;
  line-height: 1.8;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 40px;
}

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

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

.page-fishing-games__feature-image {
  width: 100%;
  max-width: 300px;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-fishing-games__card-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: #26A9E0;
}

.page-fishing-games__card-description {
  font-size: 1rem;
  line-height: 1.7;
  color: #f0f0f0;
}

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

.page-fishing-games__list-item {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  padding: 30px;
  margin-bottom: 20px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  color: #ffffff;
}

.page-fishing-games__list-title {
  font-size: 1.4rem;
  font-weight: 600;
  color: #26A9E0;
  margin-bottom: 10px;
}

.page-fishing-games__list-description {
  font-size: 1rem;
  line-height: 1.7;
  color: #f0f0f0;
}

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

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

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

/* 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.05);
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #ffffff;
}

.page-fishing-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-size: 1.15rem;
  font-weight: 600;
  color: #ffffff;
  transition: background-color 0.3s ease;
  -webkit-touch-callout: none; /* iOS Safari */
  -webkit-user-select: none;   /* Safari */
  -khtml-user-select: none;    /* Konqueror HTML */
  -moz-user-select: none;      /* Old versions of Firefox */
  -ms-user-select: none;       /* Internet Explorer/Edge */
  user-select: none;           /* Non-prefixed version, currently
                                   supported by Chrome, Edge, Opera and Firefox */
}

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

.page-fishing-games__faq-item[open] > .page-fishing-games__faq-question {
  background-color: rgba(255, 255, 255, 0.1);
}

.page-fishing-games__faq-qtext {
  flex-grow: 1;
  color: #ffffff;
}

.page-fishing-games__faq-toggle {
  font-size: 1.8rem;
  line-height: 1;
  margin-left: 15px;
  color: #26A9E0;
  transition: transform 0.3s ease;
}

.page-fishing-games__faq-item[open] .page-fishing-games__faq-toggle {
  transform: rotate(45deg);
}

.page-fishing-games__faq-answer {
  padding: 0 25px 20px;
  font-size: 1rem;
  line-height: 1.7;
  color: #f0f0f0;
}

.page-fishing-games__faq-answer p {
  margin-bottom: 15px;
  text-align: left;
  color: #f0f0f0;
}

/* Details element specific styling to remove default marker */
.page-fishing-games__faq-item > summary {
  list-style: none;
}

.page-fishing-games__faq-item > summary::-webkit-details-marker {
  display: none;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-fishing-games__hero-section {
    padding: 40px 0 60px;
  }
  .page-fishing-games__main-title {
    font-size: clamp(2rem, 6vw, 3rem);
  }
  .page-fishing-games__tagline {
    font-size: 1.1rem;
  }
  .page-fishing-games__intro-section,
  .page-fishing-games__how-to-play-section,
  .page-fishing-games__promotions-section,
  .page-fishing-games__cta-section,
  .page-fishing-games__features-section,
  .page-fishing-games__tips-section,
  .page-fishing-games__faq-section {
    padding: 60px 0;
  }
  .page-fishing-games__section-title {
    font-size: clamp(1.8rem, 5vw, 2.5rem);
  }
}

@media (max-width: 768px) {
  .page-fishing-games__hero-section {
    padding-top: 10px !important; /* body already handles --header-offset */
    padding-bottom: 40px;
  }
  .page-fishing-games__hero-content {
    margin-top: 20px;
  }
  .page-fishing-games__main-title {
    font-size: clamp(1.8rem, 7vw, 2.5rem);
  }
  .page-fishing-games__tagline {
    font-size: 1rem;
    margin-bottom: 20px;
  }
  .page-fishing-games__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
  }
  .page-fishing-games__btn-primary,
  .page-fishing-games__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px !important;
    font-size: 1rem !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-fishing-games__btn-text {
    text-align: center;
    width: 100%;
  }
  .page-fishing-games__intro-section,
  .page-fishing-games__how-to-play-section,
  .page-fishing-games__promotions-section,
  .page-fishing-games__cta-section,
  .page-fishing-games__features-section,
  .page-fishing-games__tips-section,
  .page-fishing-games__faq-section {
    padding: 40px 0;
  }
  .page-fishing-games__section-title {
    font-size: clamp(1.5rem, 6vw, 2.2rem);
    margin-bottom: 30px;
  }
  .page-fishing-games__text-block {
    font-size: 0.95rem;
    margin-bottom: 30px;
    padding: 0 15px;
  }
  .page-fishing-games__container {
    padding: 0 15px;
  }
  .page-fishing-games__features-grid,
  .page-fishing-games__promo-cards {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-fishing-games__feature-card,
  .page-fishing-games__list-item,
  .page-fishing-games__promo-card {
    padding: 20px;
  }
  .page-fishing-games__card-title {
    font-size: 1.3rem;
  }
  .page-fishing-games__list-title {
    font-size: 1.2rem;
  }
  .page-fishing-games__faq-question {
    font-size: 1rem;
    padding: 15px 20px;
  }
  .page-fishing-games__faq-answer {
    padding: 0 20px 15px;
    font-size: 0.95rem;
  }
  /* 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,
  .page-fishing-games__promo-card {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
}

@media (max-width: 480px) {
  .page-fishing-games__hero-content {
    padding: 0 10px;
  }
  .page-fishing-games__main-title {
    font-size: clamp(1.5rem, 8vw, 2.2rem);
  }
  .page-fishing-games__tagline {
    font-size: 0.9rem;
  }
  .page-fishing-games__section-title {
    font-size: clamp(1.3rem, 7vw, 2rem);
  }
}