/* style/fishing-games.css */

/* Base Styles & Color Contrast */
.page-fishing-games {
  color: #ffffff; /* Light text for dark body background */
  background-color: transparent; /* Body background is handled by shared.css */
}

.page-fishing-games__light-bg {
  background-color: #ffffff;
  color: #333333;
}

.page-fishing-games__dark-bg {
  background-color: #007bff; /* Using primary brand color for dark sections */
  color: #ffffff;
}

.page-fishing-games__section-title {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 1.5rem;
  font-weight: 700;
  color: inherit; /* Inherit from parent section for contrast */
}

.page-fishing-games__section-intro {
  font-size: 1.1rem;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 3rem auto;
  line-height: 1.6;
  color: inherit;
}

.page-fishing-games__card-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-top: 1rem;
  margin-bottom: 0.8rem;
  color: inherit;
}

.page-fishing-games__card-description {
  font-size: 1rem;
  line-height: 1.5;
  color: inherit;
}

/* Buttons */
.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary,
.page-fishing-games__btn-tertiary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  box-sizing: border-box;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow long words to break */
}

.page-fishing-games__btn-primary {
  background-color: #ffc107; /* Auxiliary color for primary action */
  color: #333333; /* Dark text for light button */
  border: 2px solid #ffc107;
}

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

.page-fishing-games__btn-secondary {
  background-color: transparent;
  color: #ffc107; /* Auxiliary color for text */
  border: 2px solid #ffc107;
}

.page-fishing-games__btn-secondary:hover {
  background-color: #ffc107;
  color: #333333;
}

.page-fishing-games__btn-tertiary {
  background-color: #007bff;
  color: #ffffff;
  border: 2px solid #007bff;
  padding: 8px 15px;
  font-size: 0.9rem;
}

.page-fishing-games__btn-tertiary:hover {
  background-color: #0056b3;
  border-color: #0056b3;
}

/* Sections */
.page-fishing-games__hero-section {
  position: relative;
  width: 100%;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding-top: var(--header-offset, 120px); /* Fixed header spacing */
}

.page-fishing-games__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  filter: brightness(0.7); /* Slightly darken image for text readability */
}

.page-fishing-games__hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4); /* Additional overlay for text contrast */
  z-index: 2;
}

.page-fishing-games__hero-content {
  position: relative;
  z-index: 3;
  max-width: 900px;
  padding: 20px;
  color: #ffffff;
}

.page-fishing-games__hero-title {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  font-weight: 800;
  line-height: 1.2;
}

.page-fishing-games__hero-description {
  font-size: 1.3rem;
  margin-bottom: 2rem;
  line-height: 1.5;
}

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

.page-fishing-games__advantages-section,
.page-fishing-games__popular-games-section,
.page-fishing-games__promotions-section,
.page-fishing-games__how-to-start-section,
.page-fishing-games__tips-section,
.page-fishing-games__faq-section,
.page-fishing-games__cta-bottom-section {
  padding: 80px 20px;
  text-align: center;
}

.page-fishing-games__advantages-grid,
.page-fishing-games__games-list,
.page-fishing-games__promotions-grid,
.page-fishing-games__steps-grid,
.page-fishing-games__tips-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.page-fishing-games__advantage-card,
.page-fishing-games__game-item,
.page-fishing-games__promotion-card,
.page-fishing-games__step-card,
.page-fishing-games__tip-item {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  color: #ffffff;
  height: 100%; /* Ensure cards have equal height */
}

.page-fishing-games__light-bg .page-fishing-games__advantage-card,
.page-fishing-games__light-bg .page-fishing-games__promotion-card,
.page-fishing-games__light-bg .page-fishing-games__step-card,
.page-fishing-games__light-bg .page-fishing-games__tip-item {
  background-color: #f8f9fa;
  color: #333333;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.page-fishing-games__advantage-image,
.page-fishing-games__game-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 1rem;
}

.page-fishing-games__game-strategy-block {
  max-width: 900px;
  margin: 50px auto 0 auto;
  padding: 40px;
  border-radius: 12px;
  background-color: #f8f9fa;
  color: #333333;
  text-align: left;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.page-fishing-games__block-title {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #007bff;
}

.page-fishing-games__block-text {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.page-fishing-games__cta-container {
  margin-top: 40px;
}

.page-fishing-games__step-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: #ffc107;
  margin-bottom: 1rem;
}

/* FAQ Section */
.page-fishing-games__faq-list {
  max-width: 900px;
  margin: 0 auto;
  text-align: left;
}

.page-fishing-games__faq-item {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #ffffff;
}

.page-fishing-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2rem;
  font-weight: 600;
  cursor: pointer;
  background-color: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  transition: background-color 0.3s ease;
}

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

.page-fishing-games__faq-toggle {
  font-size: 1.8rem;
  font-weight: 700;
  transition: transform 0.3s ease;
  line-height: 1;
}

.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 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #f0f0f0;
}

.page-fishing-games__faq-item.active .page-fishing-games__faq-answer {
  max-height: 1000px !important; /* Ensure it expands sufficiently */
  padding: 15px 25px 25px 25px;
}

.page-fishing-games__faq-answer p {
  margin: 0;
  line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-fishing-games__hero-title {
    font-size: 3rem;
  }
  .page-fishing-games__hero-description {
    font-size: 1.1rem;
  }
  .page-fishing-games__section-title {
    font-size: 2rem;
  }
}

@media (max-width: 768px) {
  .page-fishing-games__hero-section {
    min-height: 500px;
    padding-top: var(--header-offset, 120px) !important; /* Ensure mobile header offset */
  }
  .page-fishing-games__hero-title {
    font-size: 2.2rem;
  }
  .page-fishing-games__hero-description {
    font-size: 1rem;
  }
  .page-fishing-games__hero-cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-fishing-games__btn-primary,
  .page-fishing-games__btn-secondary,
  .page-fishing-games__btn-tertiary {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding: 12px 15px !important;
    font-size: 1rem !important;
  }
  .page-fishing-games__advantages-grid,
  .page-fishing-games__games-list,
  .page-fishing-games__promotions-grid,
  .page-fishing-games__steps-grid,
  .page-fishing-games__tips-grid {
    grid-template-columns: 1fr;
    padding: 0 15px;
  }
  .page-fishing-games__advantages-section,
  .page-fishing-games__popular-games-section,
  .page-fishing-games__promotions-section,
  .page-fishing-games__how-to-start-section,
  .page-fishing-games__tips-section,
  .page-fishing-games__faq-section,
  .page-fishing-games__cta-bottom-section {
    padding: 40px 15px;
  }
  .page-fishing-games__advantage-card,
  .page-fishing-games__game-item,
  .page-fishing-games__promotion-card,
  .page-fishing-games__step-card,
  .page-fishing-games__tip-item {
    padding: 20px;
  }
  .page-fishing-games__section-title {
    font-size: 1.8rem;
  }
  .page-fishing-games__section-intro {
    font-size: 0.95rem;
    margin-bottom: 2rem;
  }
  .page-fishing-games__card-title {
    font-size: 1.3rem;
  }
  .page-fishing-games__card-description {
    font-size: 0.9rem;
  }
  .page-fishing-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-fishing-games__advantage-image,
  .page-fishing-games__game-image {
    height: auto; /* Allow height to adjust */
    min-height: 200px; /* Enforce minimum height */
  }
  .page-fishing-games__game-strategy-block {
    padding: 25px;
    margin: 30px auto 0 auto;
  }
  .page-fishing-games__block-title {
    font-size: 1.5rem;
  }
  .page-fishing-games__block-text {
    font-size: 1rem;
  }
  .page-fishing-games__faq-question {
    padding: 15px 20px;
    font-size: 1.1rem;
  }
  .page-fishing-games__faq-answer {
    padding: 0 20px;
  }
  .page-fishing-games__faq-item.active .page-fishing-games__faq-answer {
    padding: 10px 20px 20px 20px;
  }
  .page-fishing-games__hero-cta-buttons,
  .page-fishing-games__cta-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
    display: flex;
    flex-direction: column;
    gap: 15px;
  }
  .page-fishing-games__hero-cta-buttons a,
  .page-fishing-games__cta-container a {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .page-fishing-games__hero-title {
    font-size: 1.8rem;
  }
  .page-fishing-games__hero-description {
    font-size: 0.9rem;
  }
  .page-fishing-games__section-title {
    font-size: 1.6rem;
  }
  .page-fishing-games__hero-section {
    min-height: 400px;
  }
}

/* Ensure no image filters are applied */
.page-fishing-games img {
  filter: none; /* Absolutely no CSS filters to change image color */
}