/* style/fishing-games.css */

/* Base Styles */
.page-fishing-games {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Dark body background (#0a0a0a) requires light text */
  background-color: #0a0a0a; /* Ensure consistency with body background */
}

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

.page-fishing-games__section-title {
  font-size: clamp(2em, 4vw, 2.8em);
  font-weight: 700;
  margin-bottom: 20px;
  text-align: center;
  color: #26A9E0;
  line-height: 1.2;
}

.page-fishing-games__section-paragraph {
  font-size: 1.1em;
  margin-bottom: 15px;
  text-align: center;
  color: #f0f0f0;
}

.page-fishing-games__dark-bg {
  background-color: #0d0d0d; /* Slightly lighter than body for contrast */
  color: #ffffff;
}

.page-fishing-games__light-bg {
  background-color: #1a1a1a; /* Dark gray for contrast on dark body */
  color: #f0f0f0;
}

/* Buttons */
.page-fishing-games__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
  flex-wrap: wrap; /* Allow wrapping on smaller screens */
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  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: #1e87c2;
  border-color: #1e87c2;
}

.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;
}

/* Hero Section */
.page-fishing-games__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding as body handles header offset */
  text-align: center;
}

.page-fishing-games__hero-image-wrapper {
  width: 100%;
  max-width: 1200px;
  margin-bottom: 30px;
}

.page-fishing-games__hero-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-fishing-games__hero-content {
  max-width: 900px;
  margin: 0 auto;
}

.page-fishing-games__hero-title {
  font-size: clamp(2.5em, 5vw, 3.5em); /* Using clamp for H1 font size */
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 20px;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

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

/* Intro Section */
.page-fishing-games__intro-section {
  padding: 80px 0;
}

/* Games Section */
.page-fishing-games__games-section {
  padding: 80px 0;
}

.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-card {
  background-color: #1a1a1a;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  text-align: center;
  padding-bottom: 20px;
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  max-width: 100%;
  box-sizing: border-box;
}

.page-fishing-games__game-card:hover {
  transform: translateY(-5px);
}

.page-fishing-games__game-card-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  margin-bottom: 15px;
  min-height: 200px;
}

.page-fishing-games__game-card-title {
  font-size: 1.5em;
  color: #26A9E0;
  margin-bottom: 10px;
  padding: 0 15px;
}

.page-fishing-games__game-card-description {
  font-size: 1em;
  color: #cccccc;
  padding: 0 15px;
}

/* How to Play Section */
.page-fishing-games__how-to-play-section {
  padding: 80px 0;
}

.page-fishing-games__guide-wrapper {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.page-fishing-games__guide-list {
  list-style: none;
  padding: 0;
  margin: 0;
  flex: 1;
  min-width: 300px;
}

.page-fishing-games__guide-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 25px;
  gap: 15px;
}

.page-fishing-games__guide-step-number {
  background-color: #26A9E0;
  color: #FFFFFF;
  border-radius: 50%;
  width: 35px;
  height: 35px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: bold;
  flex-shrink: 0;
  font-size: 1.1em;
}

.page-fishing-games__guide-step-title {
  font-size: 1.3em;
  color: #26A9E0;
  margin-top: 0;
  margin-bottom: 5px;
}

.page-fishing-games__guide-step-description {
  font-size: 1em;
  color: #cccccc;
  margin: 0;
}

.page-fishing-games__guide-image {
  flex: 1;
  min-width: 400px;
  height: auto;
  display: block;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  min-height: 200px;
}

/* Promotions Section */
.page-fishing-games__promotions-section {
  padding: 80px 0;
  text-align: center;
}

.page-fishing-games__promotions-image {
  width: 100%;
  max-width: 800px;
  height: auto;
  display: block;
  margin: 40px auto;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  min-height: 200px;
}

/* Benefits Section */
.page-fishing-games__benefits-section {
  padding: 80px 0;
}

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

.page-fishing-games__benefits-item {
  background-color: #1a1a1a;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  font-size: 1.05em;
  color: #f0f0f0;
  text-align: left;
}

.page-fishing-games__benefits-item strong {
  color: #26A9E0;
}

.page-fishing-games__benefits-image {
  width: 100%;
  max-width: 800px;
  height: auto;
  display: block;
  margin: 40px auto 0;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  min-height: 200px;
}

/* FAQ Section */
.page-fishing-games__faq-section {
  padding: 80px 0;
}

.page-fishing-games__faq-list {
  margin-top: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-fishing-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: bold;
  cursor: pointer;
  color: #26A9E0;
  user-select: none;
  list-style: none; /* For details/summary */
}

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

.page-fishing-games__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  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: 1.05em;
  color: #cccccc;
}

.page-fishing-games__faq-answer p {
  margin: 0;
  text-align: left;
}

.page-fishing-games__faq-answer a {
  color: #26A9E0;
  text-decoration: none;
}

.page-fishing-games__faq-answer a:hover {
  text-decoration: underline;
}

/* Final CTA Section */
.page-fishing-games__final-cta-section {
  padding: 80px 0;
  text-align: center;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-fishing-games__guide-wrapper {
    flex-direction: column;
  }
  .page-fishing-games__guide-list,
  .page-fishing-games__guide-image {
    min-width: unset;
    width: 100%;
  }
}

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

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

  .page-fishing-games__hero-title {
    font-size: 2.2em; /* Smaller H1 for mobile */
  }

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

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

  .page-fishing-games__section-paragraph {
    font-size: 0.95em;
  }

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

  .page-fishing-games__hero-image-wrapper,
  .page-fishing-games__game-card,
  .page-fishing-games__guide-wrapper,
  .page-fishing-games__promotions-section,
  .page-fishing-games__benefits-section,
  .page-fishing-games__faq-section,
  .page-fishing-games__final-cta-section,
  .page-fishing-games__intro-section,
  .page-fishing-games__games-section,
  .page-fishing-games__how-to-play-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  /* Button responsiveness */
  .page-fishing-games__cta-buttons {
    flex-direction: column; /* Stack buttons vertically */
    gap: 15px;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-fishing-games__btn-primary,
  .page-fishing-games__btn-secondary {
    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__game-list {
    grid-template-columns: 1fr;
  }

  .page-fishing-games__benefits-list {
    grid-template-columns: 1fr;
  }

  .page-fishing-games__faq-question {
    font-size: 1.1em;
    padding: 15px 20px;
  }

  .page-fishing-games__faq-answer {
    font-size: 0.95em;
    padding: 0 20px 15px;
  }
}