/* style/fishing-games.css */

:root {
  --page-fishing-games-primary-color: #26A9E0;
  --page-fishing-games-secondary-color: #FFFFFF;
  --page-fishing-games-accent-color: #EA7C07; /* For login/cta elements if needed */
  --page-fishing-games-text-color-dark: #333333;
  --page-fishing-games-text-color-light: #FFFFFF;
  --page-fishing-games-bg-light: #F5F5F5;
  --page-fishing-games-bg-dark: #26A9E0;
}

.page-fishing-games {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--page-fishing-games-text-color-dark); /* Default text color for light body bg */
  background-color: var(--bg-color, #FFFFFF); /* Inherit from shared or default to white */
}

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

.page-fishing-games__section {
  padding: 60px 0;
  text-align: center;
}

.page-fishing-games__dark-section {
  background-color: var(--page-fishing-games-bg-dark);
  color: var(--page-fishing-games-text-color-light);
}

.page-fishing-games__dark-section .page-fishing-games__section-title,
.page-fishing-games__dark-section .page-fishing-games__card-title,
.page-fishing-games__dark-section .page-fishing-games__text-block,
.page-fishing-games__dark-section .page-fishing-games__card-description,
.page-fishing-games__dark-section .page-fishing-games__list-item-title,
.page-fishing-games__dark-section .page-fishing-games__faq-question span {
  color: var(--page-fishing-games-text-color-light);
}

.page-fishing-games__section-title {
  font-size: 2.5em;
  margin-bottom: 30px;
  color: var(--page-fishing-games-primary-color);
  font-weight: bold;
}

.page-fishing-games__dark-section .page-fishing-games__section-title {
  color: var(--page-fishing-games-secondary-color);
}

.page-fishing-games__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-fishing-games__highlight {
  color: var(--page-fishing-games-accent-color);
  font-weight: bold;
}

/* Hero Section */
.page-fishing-games__hero-section {
  position: relative;
  width: 100%;
  height: 70vh;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
  text-align: center;
  color: var(--page-fishing-games-secondary-color);
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
}

.page-fishing-games__hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

.page-fishing-games__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
}

.page-fishing-games__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
}

.page-fishing-games__hero-description {
  font-size: 1.3em;
  margin-bottom: 40px;
}

.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  cursor: pointer;
  box-sizing: border-box;
}

.page-fishing-games__btn-primary {
  background-color: var(--page-fishing-games-primary-color);
  color: var(--page-fishing-games-secondary-color);
  border: 2px solid var(--page-fishing-games-primary-color);
}

.page-fishing-games__btn-primary:hover {
  background-color: var(--page-fishing-games-secondary-color);
  color: var(--page-fishing-games-primary-color);
}

.page-fishing-games__btn-secondary {
  background-color: var(--page-fishing-games-secondary-color);
  color: var(--page-fishing-games-primary-color);
  border: 2px solid var(--page-fishing-games-primary-color);
}

.page-fishing-games__btn-secondary:hover {
  background-color: var(--page-fishing-games-primary-color);
  color: var(--page-fishing-games-secondary-color);
}

.page-fishing-games__btn-link {
  color: var(--page-fishing-games-primary-color);
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-fishing-games__btn-link:hover {
  color: var(--page-fishing-games-accent-color);
  text-decoration: underline;
}

/* Features Grid */
.page-fishing-games__features-grid,
.page-fishing-games__promotions-grid,
.page-fishing-games__why-choose-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-fishing-games__feature-card,
.page-fishing-games__promo-card,
.page-fishing-games__reason-card {
  background-color: var(--page-fishing-games-secondary-color);
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  color: var(--page-fishing-games-text-color-dark);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-fishing-games__dark-section .page-fishing-games__feature-card,
.page-fishing-games__dark-section .page-fishing-games__promo-card,
.page-fishing-games__dark-section .page-fishing-games__reason-card {
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--page-fishing-games-text-color-light);
}

.page-fishing-games__dark-section .page-fishing-games__feature-card .page-fishing-games__card-title,
.page-fishing-games__dark-section .page-fishing-games__promo-card .page-fishing-games__card-title,
.page-fishing-games__dark-section .page-fishing-games__reason-card .page-fishing-games__card-title {
  color: var(--page-fishing-games-secondary-color);
}

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

.page-fishing-games__card-title {
  font-size: 1.5em;
  margin-bottom: 15px;
  color: var(--page-fishing-games-primary-color);
}

.page-fishing-games__card-description {
  font-size: 1em;
  line-height: 1.6;
  flex-grow: 1; /* Allows description to take available space */
}

/* How-to-play Steps */
.page-fishing-games__steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-fishing-games__step-card {
  background-color: var(--page-fishing-games-secondary-color);
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-fishing-games__step-icon {
  width: 60px;
  height: 60px;
  background-color: var(--page-fishing-games-primary-color);
  color: var(--page-fishing-games-secondary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2em;
  font-weight: bold;
  margin-bottom: 20px;
}

.page-fishing-games__cta-center {
  margin-top: 50px;
}

/* Tips List */
.page-fishing-games__tips-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  text-align: left;
}

.page-fishing-games__tips-list li {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 20px;
  border-radius: 10px;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-fishing-games__dark-section .page-fishing-games__tips-list li {
  background-color: rgba(255, 255, 255, 0.15);
  color: var(--page-fishing-games-text-color-light);
}

.page-fishing-games__list-item-title {
  font-size: 1.3em;
  color: var(--page-fishing-games-primary-color);
  margin-bottom: 10px;
}

.page-fishing-games__dark-section .page-fishing-games__list-item-title {
  color: var(--page-fishing-games-secondary-color);
}

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

.page-fishing-games__faq-item {
  background-color: var(--page-fishing-games-secondary-color);
  border-radius: 10px;
  margin-bottom: 15px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  overflow: hidden;
}

.page-fishing-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: bold;
  color: var(--page-fishing-games-primary-color);
  cursor: pointer;
  background-color: var(--page-fishing-games-bg-light);
  transition: background-color 0.3s ease;
}

.page-fishing-games__faq-question:hover {
  background-color: #E0F2F7; /* Lighter shade of primary for hover */
}

.page-fishing-games__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
}

.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: var(--page-fishing-games-text-color-dark);
}

.page-fishing-games__faq-item.active .page-fishing-games__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to show content */
  padding: 15px 25px;
}

.page-fishing-games__faq-answer p {
  margin-bottom: 0;
  font-size: 1em;
  line-height: 1.5;
}

/* Final CTA Section */
.page-fishing-games__cta-final-section {
  padding: 80px 0;
}

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

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

@media (max-width: 768px) {
  .page-fishing-games {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-fishing-games__section {
    padding: 40px 0;
  }

  .page-fishing-games__hero-section {
    height: 60vh;
    min-height: 400px;
    padding-top: var(--header-offset, 120px) !important; /* Ensure mobile header offset */
  }

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

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

  .page-fishing-games__btn-primary,
  .page-fishing-games__btn-secondary {
    padding: 12px 25px;
    font-size: 1em;
  }

  .page-fishing-games__features-grid,
  .page-fishing-games__promotions-grid,
  .page-fishing-games__why-choose-grid,
  .page-fishing-games__steps-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-fishing-games__feature-card,
  .page-fishing-games__promo-card,
  .page-fishing-games__reason-card,
  .page-fishing-games__step-card {
    padding: 20px;
  }
}