/* style/fishing-games.css */
.page-fishing-games {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #FFF1E8; /* Default text color for dark body background */
  background-color: #140C0C; /* Background color from palette */
}

.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-top: 10px; /* Small top padding, assuming body handles --header-offset */
  padding-bottom: 40px;
  overflow: hidden;
  background-color: #140C0C;
}

.page-fishing-games__hero-image-wrapper {
  width: 100%;
  max-height: 675px; /* Max height to control aspect on very wide screens */
  overflow: hidden;
  margin-bottom: 30px;
}

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

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

.page-fishing-games__main-title {
  color: #FFF1E8;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  text-align: center;
  margin-bottom: 20px;
}

.page-fishing-games__description {
  color: #FFF1E8;
  font-size: 1.1em;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-fishing-games__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary,
.page-fishing-games__game-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 30px;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
  box-sizing: border-box;
}

.page-fishing-games__btn-primary {
  background: linear-gradient(180deg, #FFB04A 0%, #D86A14 100%);
  color: #FFF1E8;
  border: none;
}

.page-fishing-games__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

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

.page-fishing-games__btn-secondary:hover {
  background: #F3C54D;
  color: #140C0C;
}

.page-fishing-games__section-title {
  font-size: 2.5em;
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
  color: #F3C54D;
  line-height: 1.2;
}

.page-fishing-games__section-title--light {
  color: #FFF1E8;
}

.page-fishing-games__introduction-section,
.page-fishing-games__game-showcase-section,
.page-fishing-games__promotions-section,
.page-fishing-games__call-to-action-section {
  padding: 60px 0;
  background-color: #2A1212; /* Card BG color */
  color: #FFF1E8;
}

.page-fishing-games__dark-bg {
  background-color: #140C0C; /* Background color */
  color: #FFF1E8;
}

.page-fishing-games__introduction-section p {
  max-width: 900px;
  margin: 0 auto 15px auto;
  font-size: 1.05em;
  color: #FFF1E8;
}

.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,
.page-fishing-games__game-card {
  background-color: #2A1212;
  border: 1px solid #6A1E1E;
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}

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

.page-fishing-games__feature-title,
.page-fishing-games__game-title,
.page-fishing-games__promo-title {
  font-size: 1.5em;
  font-weight: 600;
  color: #F3C54D;
  margin-bottom: 15px;
  line-height: 1.3;
}

.page-fishing-games__feature-card p,
.page-fishing-games__game-card p,
.page-fishing-games__promo-item p {
  color: #FFF1E8;
  font-size: 0.95em;
  flex-grow: 1;
}

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

.page-fishing-games__game-btn {
  margin-top: 20px;
  background: linear-gradient(180deg, #FFB04A 0%, #D86A14 100%);
  color: #FFF1E8;
  border: none;
  width: 100%;
  max-width: 200px;
}

.page-fishing-games__game-btn:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

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

.page-fishing-games__how-to-play-section {
  padding: 60px 0;
}

.page-fishing-games__steps-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.page-fishing-games__step-item {
  background-color: #2A1212;
  border: 1px solid #6A1E1E;
  border-radius: 12px;
  padding: 30px;
  color: #FFF1E8;
}

.page-fishing-games__step-title {
  font-size: 1.3em;
  font-weight: 600;
  color: #F3C54D;
  margin-bottom: 15px;
}

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

.page-fishing-games__promo-item {
  background-color: #2A1212;
  border: 1px solid #6A1E1E;
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}

.page-fishing-games__faq-section {
  padding: 60px 0;
}

details.page-fishing-games__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  border: 1px solid #6A1E1E;
  overflow: hidden;
  background: #2A1212;
}

details.page-fishing-games__faq-item summary.page-fishing-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
}

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

details.page-fishing-games__faq-item summary.page-fishing-games__faq-question:hover {
  background: #7E0D0D; /* Deep Red for hover */
}

.page-fishing-games__faq-qtext {
  flex: 1;
  font-size: 1.1em;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #FFF1E8;
}

.page-fishing-games__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #F3C54D;
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}

details.page-fishing-games__faq-item .page-fishing-games__faq-answer {
  padding: 0 20px 20px;
  background: #140C0C;
  border-radius: 0 0 8px 8px;
  color: #FFF1E8;
}

.page-fishing-games__faq-answer p {
  margin: 0;
  color: #FFF1E8;
}

.page-fishing-games__call-to-action-section .page-fishing-games__cta-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.page-fishing-games__call-to-action-section p {
  font-size: 1.1em;
  margin-bottom: 30px;
  color: #FFF1E8;
}

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

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

  .page-fishing-games__hero-image-wrapper {
    max-height: 500px;
  }

  .page-fishing-games__hero-section {
    padding-bottom: 30px;
  }

  .page-fishing-games__cta-buttons {
    gap: 15px;
  }

  .page-fishing-games__introduction-section,
  .page-fishing-games__game-showcase-section,
  .page-fishing-games__promotions-section,
  .page-fishing-games__how-to-play-section,
  .page-fishing-games__faq-section,
  .page-fishing-games__call-to-action-section {
    padding: 50px 0;
  }
}

@media (max-width: 768px) {
  .page-fishing-games__container {
    padding: 0 15px;
  }

  .page-fishing-games__hero-section {
    padding-top: 10px !important;
    padding-bottom: 20px;
  }

  .page-fishing-games__hero-image-wrapper {
    max-height: 300px !important;
  }

  .page-fishing-games__hero-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-fishing-games__hero-content {
    padding: 0 15px;
  }

  .page-fishing-games__main-title {
    font-size: 2em;
    margin-bottom: 15px;
  }

  .page-fishing-games__description {
    font-size: 1em;
    margin-bottom: 25px;
  }

  .page-fishing-games__cta-buttons {
    flex-direction: column !important;
    gap: 10px;
    padding: 0 15px;
  }

  .page-fishing-games__btn-primary,
  .page-fishing-games__btn-secondary,
  .page-fishing-games__game-btn {
    max-width: 100% !important;
    width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
    white-space: normal !important;
    word-wrap: break-word !important;
    box-sizing: border-box !important;
  }

  .page-fishing-games__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }

  .page-fishing-games__introduction-section,
  .page-fishing-games__game-showcase-section,
  .page-fishing-games__promotions-section,
  .page-fishing-games__how-to-play-section,
  .page-fishing-games__faq-section,
  .page-fishing-games__call-to-action-section {
    padding: 40px 0;
  }

  .page-fishing-games__introduction-section p {
    font-size: 0.95em;
  }

  .page-fishing-games__features-grid,
  .page-fishing-games__game-list,
  .page-fishing-games__steps-list,
  .page-fishing-games__promo-list {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 30px;
  }

  .page-fishing-games__feature-card,
  .page-fishing-games__game-card,
  .page-fishing-games__step-item,
  .page-fishing-games__promo-item {
    padding: 25px;
  }

  .page-fishing-games__feature-image,
  .page-fishing-games__game-image,
  .page-fishing-games__promo-icon {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    margin-bottom: 15px;
  }

  .page-fishing-games__feature-title,
  .page-fishing-games__game-title,
  .page-fishing-games__promo-title {
    font-size: 1.3em;
    margin-bottom: 10px;
  }

  .page-fishing-games__feature-card p,
  .page-fishing-games__game-card p,
  .page-fishing-games__promo-item p {
    font-size: 0.9em;
  }

  .page-fishing-games__game-btn {
    max-width: 100% !important;
    width: 100% !important;
  }

  details.page-fishing-games__faq-item summary.page-fishing-games__faq-question {
    padding: 15px;
  }

  .page-fishing-games__faq-qtext {
    font-size: 1em;
  }

  .page-fishing-games__faq-toggle {
    font-size: 20px;
    width: 24px;
    margin-left: 10px;
  }

  details.page-fishing-games__faq-item .page-fishing-games__faq-answer {
    padding: 0 15px 15px;
  }

  .page-fishing-games__call-to-action-section p {
    font-size: 1em;
  }
}