/* style/fishing-games.css */
.page-fishing-games {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-main-color, #F2FFF6); /* Default to Text Main */
  background-color: var(--bg-color, #08160F); /* Default to Background */
}

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

/* Hero Section */
.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: 10px; /* Small top padding as body handles header offset */
  overflow: hidden;
}

.page-fishing-games__dark-section {
  background-color: var(--bg-color, #08160F);
  color: var(--text-main-color, #F2FFF6);
}

.page-fishing-games__light-bg {
  background-color: #f5f5f5; /* Using a light grey for light background section */
  color: #333333;
}

.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;
  filter: brightness(0.5); /* Darken image slightly for text readability */
}

.page-fishing-games__hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  padding: 20px;
  background: rgba(0, 0, 0, 0.4); /* Semi-transparent overlay for text */
  border-radius: 10px;
}

.page-fishing-games__hero-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: bold;
  margin-bottom: 15px;
  color: var(--text-main-color, #F2FFF6);
  line-height: 1.2;
}

.page-fishing-games__hero-description {
  font-size: 1.2rem;
  margin-bottom: 30px;
  color: var(--text-secondary-color, #A7D9B8);
}

.page-fishing-games__btn-primary {
  display: inline-block;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #ffffff;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-fishing-games__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* General Section Styles */
.page-fishing-games__section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: bold;
  text-align: center;
  margin-bottom: 40px;
  color: var(--text-main-color, #F2FFF6);
}

.page-fishing-games__light-bg .page-fishing-games__section-title {
  color: #333333;
}

.page-fishing-games__text-block {
  font-size: 1.1rem;
  margin-bottom: 20px;
  text-align: justify;
  color: var(--text-secondary-color, #A7D9B8);
}

.page-fishing-games__light-bg .page-fishing-games__text-block {
  color: #555555;
}

.page-fishing-games__content-image {
  width: 100%;
  height: auto;
  border-radius: 10px;
  margin-top: 30px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  min-width: 200px;
  min-height: 200px;
}

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

.page-fishing-games__card {
  background-color: var(--card-bg-color, #11271B);
  border-radius: 15px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease;
  border: 1px solid var(--border-color, #2E7A4E);
  color: var(--text-main-color, #F2FFF6);
}

.page-fishing-games__card:hover {
  transform: translateY(-10px);
}

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

.page-fishing-games__card-title {
  font-size: 1.8rem;
  font-weight: bold;
  margin-bottom: 10px;
  color: var(--gold-color, #F2C14E);
}

.page-fishing-games__card-description {
  font-size: 1rem;
  color: var(--text-secondary-color, #A7D9B8);
  margin-bottom: 20px;
}

.page-fishing-games__btn-secondary {
  display: inline-block;
  background: #ffffff;
  color: var(--main-color, #11A84E);
  padding: 10px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  border: 2px solid var(--main-color, #11A84E);
  transition: background-color 0.3s ease, color 0.3s ease;
}

.page-fishing-games__btn-secondary:hover {
  background-color: var(--main-color, #11A84E);
  color: #ffffff;
}

/* Benefits Section */
.page-fishing-games__benefits-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 15px;
}

.page-fishing-games__benefits-list li {
  background-color: #ffffff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  font-size: 1.1rem;
  color: #333333;
  border-left: 5px solid var(--main-color, #11A84E);
}

.page-fishing-games__benefits-list li strong {
  color: var(--deep-green-color, #0A4B2C);
}

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

.page-fishing-games__step-item {
  background-color: var(--card-bg-color, #11271B);
  border-radius: 15px;
  padding: 25px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
  border: 1px solid var(--border-color, #2E7A4E);
  color: var(--text-secondary-color, #A7D9B8);
}

.page-fishing-games__step-title {
  font-size: 1.6rem;
  font-weight: bold;
  margin-bottom: 15px;
  color: var(--gold-color, #F2C14E);
}

.page-fishing-games__step-item ol,
.page-fishing-games__tips-list {
  list-style-type: decimal;
  padding-left: 25px;
  margin-bottom: 20px;
}

.page-fishing-games__step-item ol li,
.page-fishing-games__tips-list li {
  margin-bottom: 10px;
  font-size: 1rem;
}

.page-fishing-games__step-item a {
  margin-top: 15px;
}

.page-fishing-games__section-subtitle {
  font-size: 1.8rem;
  font-weight: bold;
  text-align: center;
  margin-top: 50px;
  margin-bottom: 30px;
  color: var(--gold-color, #F2C14E);
}

.page-fishing-games__tips-list {
  list-style-type: disc;
  padding-left: 25px;
  color: var(--text-secondary-color, #A7D9B8);
}

.page-fishing-games__tips-list li strong {
  color: var(--text-main-color, #F2FFF6);
}

/* Promotions Section */
.page-fishing-games__promo-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
}

.page-fishing-games__promo-list li {
  background-color: #ffffff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  font-size: 1.1rem;
  color: #333333;
  margin-bottom: 15px;
  border-left: 5px solid var(--auxiliary-color, #22C768);
}

.page-fishing-games__promo-list li strong {
  color: var(--main-color, #11A84E);
}

.page-fishing-games__promotions-section .page-fishing-games__btn-primary {
  margin-top: 30px;
}

/* App Download Section */
.page-fishing-games__app-download-section {
  text-align: center;
  padding: 60px 20px;
}

/* FAQ Section */
.page-fishing-games__faq-list {
  margin-top: 40px;
}

.page-fishing-games__faq-item {
  background-color: var(--card-bg-color, #11271B);
  border-radius: 10px;
  margin-bottom: 15px;
  border: 1px solid var(--border-color, #2E7A4E);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-fishing-games__light-bg .page-fishing-games__faq-item {
  background-color: #ffffff;
  color: #333333;
  border: 1px solid #e0e0e0;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

.page-fishing-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.2rem;
  font-weight: bold;
  cursor: pointer;
  color: var(--text-main-color, #F2FFF6);
  position: relative;
  list-style: none;
}

.page-fishing-games__light-bg .page-fishing-games__faq-question {
  color: #333333;
}

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

.page-fishing-games__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  transition: transform 0.3s ease;
  color: var(--gold-color, #F2C14E);
}

.page-fishing-games__light-bg .page-fishing-games__faq-toggle {
  color: var(--main-color, #11A84E);
}

.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: var(--text-secondary-color, #A7D9B8);
}

.page-fishing-games__light-bg .page-fishing-games__faq-answer {
  color: #555555;
}

.page-fishing-games__faq-answer p {
  margin-bottom: 10px;
}

.page-fishing-games__faq-answer a {
  color: var(--auxiliary-color, #22C768);
  text-decoration: underline;
}

/* Conclusion Section */
.page-fishing-games__conclusion-section {
  text-align: center;
  padding: 80px 20px;
}

/* Responsive Styles */
@media (min-width: 769px) {
  .page-fishing-games__benefits-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

  .page-fishing-games__hero-section {
    padding: 60px 15px;
    padding-top: 10px;
  }

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

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

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

  .page-fishing-games__text-block {
    font-size: 0.95rem;
  }

  .page-fishing-games__game-cards {
    grid-template-columns: 1fr;
  }

  .page-fishing-games__benefits-list li,
  .page-fishing-games__promo-list li {
    font-size: 1rem;
    padding: 15px;
  }

  .page-fishing-games__step-title {
    font-size: 1.4rem;
  }

  .page-fishing-games__section-subtitle {
    font-size: 1.6rem;
  }

  .page-fishing-games__faq-question {
    font-size: 1.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__hero-image-wrapper,
  .page-fishing-games__image-wrapper,
  .page-fishing-games__game-cards,
  .page-fishing-games__game-cards > div,
  .page-fishing-games__steps,
  .page-fishing-games__steps > div,
  .page-fishing-games__faq-list,
  .page-fishing-games__faq-item,
  .page-fishing-games__btn-primary,
  .page-fishing-games__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important; /* Ensure content doesn't overflow */
  }

  .page-fishing-games__btn-primary,
  .page-fishing-games__btn-secondary {
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* If multiple buttons horizontally, stack them */
  .page-fishing-games__hero-content > .page-fishing-games__btn-primary,
  .page-fishing-games__game-cards .page-fishing-games__btn-secondary,
  .page-fishing-games__steps .page-fishing-games__btn-primary {
    margin-left: auto;
    margin-right: auto;
    display: block;
    width: fit-content; /* Reset to fit content for stacking */
    max-width: 100% !important;
    margin-bottom: 15px; /* Add spacing between stacked buttons */
  }
  .page-fishing-games__game-cards .page-fishing-games__btn-secondary:last-child,
  .page-fishing-games__steps .page-fishing-games__btn-primary:last-child {
    margin-bottom: 0;
  }

  .page-fishing-games__steps {
    flex-direction: column;
  }

  .page-fishing-games__benefits-list,
  .page-fishing-games__promo-list {
    padding-left: 0;
  }

  .page-fishing-games__benefits-list li,
  .page-fishing-games__promo-list li {
    margin-left: 0;
    margin-right: 0;
  }

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