/* style/fishing-games.css */

:root {
  --page-primary-color: #26A9E0;
  --page-secondary-color: #FFFFFF;
  --page-dark-text: #333333;
  --page-light-text: #FFFFFF;
  --page-login-color: #EA7C07;
}

.page-fishing-games {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--page-light-text); /* Default to light text for dark body background */
  background-color: transparent; /* Body handles actual background */
}

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

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

.page-fishing-games__dark-section {
  background-color: #1a1a1a; /* Dark background for sections */
  color: var(--page-light-text);
}

.page-fishing-games__light-section {
  background-color: var(--page-secondary-color);
  color: var(--page-dark-text);
}

.page-fishing-games__section-title {
  font-size: clamp(28px, 3.5vw, 48px);
  font-weight: 700;
  margin-bottom: 30px;
  line-height: 1.2;
  color: var(--page-primary-color);
}

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

.page-fishing-games__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: var(--page-light-text);
}

.page-fishing-games__light-section .page-fishing-games__text-block {
  color: var(--page-dark-text);
}

.page-fishing-games__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 10px 20px 60px; /* Small top padding, then generous bottom padding */
  min-height: 600px;
}

.page-fishing-games__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

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

.page-fishing-games__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  text-align: center;
  color: var(--page-light-text);
  background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent overlay for text readability */
  padding: 40px;
  border-radius: 10px;
}

.page-fishing-games__main-title {
  font-size: clamp(32px, 5vw, 60px);
  font-weight: 900;
  margin-bottom: 20px;
  line-height: 1.1;
  color: var(--page-light-text); /* Always light text on dark hero overlay */
}

.page-fishing-games__hero-description {
  font-size: clamp(18px, 2vw, 24px);
  margin-bottom: 30px;
  color: var(--page-light-text);
}

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

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

.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1em;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%; /* Ensure buttons adapt */
}

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

.page-fishing-games__btn-primary:hover {
  background-color: darken(var(--page-primary-color), 10%); /* Placeholder for actual darken function */
  border-color: darken(var(--page-primary-color), 10%);
}

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

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

/* Game Showcase */
.page-fishing-games__games-showcase {
  padding: 80px 20px;
}

.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: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  overflow: hidden;
  text-align: left;
  padding: 20px;
  display: flex;
  flex-direction: column;
  color: var(--page-light-text);
}

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

.page-fishing-games__game-title {
  font-size: 1.5em;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--page-light-text);
}

.page-fishing-games__game-description {
  font-size: 0.95em;
  margin-bottom: 20px;
  flex-grow: 1;
  color: rgba(255, 255, 255, 0.8);
}

.page-fishing-games__game-card .page-fishing-games__btn-primary {
  width: 100%;
  text-align: center;
  padding: 12px 20px;
  font-size: 1em;
}

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

.page-fishing-games__benefit-item {
  background-color: var(--page-secondary-color);
  border-radius: 10px;
  padding: 30px;
  text-align: left;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  color: var(--page-dark-text);
}

.page-fishing-games__benefit-title {
  font-size: 1.4em;
  font-weight: 600;
  margin-bottom: 15px;
  color: var(--page-primary-color);
}

.page-fishing-games__benefit-item .page-fishing-games__text-block {
  color: var(--page-dark-text);
}

/* Registration Guide */
.page-fishing-games__registration-guide {
  padding: 80px 20px;
}

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

.page-fishing-games__step-item {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 30px;
  text-align: left;
  color: var(--page-light-text);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.page-fishing-games__step-title {
  font-size: 1.3em;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--page-primary-color);
}

.page-fishing-games__step-item .page-fishing-games__text-block {
  color: rgba(255, 255, 255, 0.8);
}

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

.page-fishing-games__promo-card {
  background-color: var(--page-secondary-color);
  border-radius: 10px;
  overflow: hidden;
  text-align: left;
  padding: 20px;
  display: flex;
  flex-direction: column;
  color: var(--page-dark-text);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-fishing-games__promo-image {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
  display: block;
}

.page-fishing-games__promo-title {
  font-size: 1.4em;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--page-primary-color);
}

.page-fishing-games__promo-description {
  font-size: 0.95em;
  margin-bottom: 20px;
  flex-grow: 1;
  color: var(--page-dark-text);
}

.page-fishing-games__promo-card .page-fishing-games__btn-secondary {
  width: 100%;
  text-align: center;
  padding: 12px 20px;
  font-size: 1em;
}

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

.page-fishing-games__feature-item {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 30px;
  text-align: left;
  color: var(--page-light-text);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.page-fishing-games__feature-title {
  font-size: 1.4em;
  font-weight: 600;
  margin-bottom: 15px;
  color: var(--page-primary-color);
}

.page-fishing-games__feature-item .page-fishing-games__text-block {
  color: rgba(255, 255, 255, 0.8);
}

.page-fishing-games__feature-item .page-fishing-games__btn-secondary {
  width: 100%;
  text-align: center;
  padding: 12px 20px;
  font-size: 1em;
}

/* Tips Section */
.page-fishing-games__tips-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  text-align: left;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-fishing-games__tips-list li {
  background-color: var(--page-secondary-color);
  margin-bottom: 15px;
  padding: 20px;
  border-radius: 8px;
  display: flex;
  align-items: flex-start;
  color: var(--page-dark-text);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-fishing-games__tip-number {
  font-size: 1.5em;
  font-weight: 700;
  color: var(--page-primary-color);
  margin-right: 15px;
  flex-shrink: 0;
}

.page-fishing-games__tips-list li strong {
  color: var(--page-primary-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: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
  color: var(--page-light-text);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.page-fishing-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.2em;
  font-weight: 600;
  cursor: pointer;
  color: var(--page-light-text);
  background-color: rgba(255, 255, 255, 0.05);
}

.page-fishing-games__faq-question::-webkit-details-marker {
  display: none; /* Hide default marker for <summary> */
}

.page-fishing-games__faq-question::marker {
  display: none; /* Hide default marker for <summary> */
}

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

.page-fishing-games__faq-item[open] .page-fishing-games__faq-toggle {
  transform: rotate(45deg);
}

.page-fishing-games__faq-answer {
  padding: 0 20px 20px;
  font-size: 1em;
  color: rgba(255, 255, 255, 0.7);
}

.page-fishing-games__faq-answer p {
  margin-bottom: 0;
  color: inherit;
}

/* Call to Action Section */
.page-fishing-games__call-to-action {
  padding: 80px 20px;
}

.page-fishing-games__call-to-action-content {
  background-color: var(--page-primary-color);
  color: var(--page-light-text);
  padding: 50px;
  border-radius: 10px;
}

.page-fishing-games__call-to-action .page-fishing-games__section-title {
  color: var(--page-light-text);
}

.page-fishing-games__call-to-action .page-fishing-games__text-block {
  color: var(--page-light-text);
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-fishing-games__hero-content {
    padding: 30px;
  }

  .page-fishing-games__main-title {
    font-size: clamp(30px, 4.5vw, 50px);
  }

  .page-fishing-games__hero-description {
    font-size: clamp(16px, 1.8vw, 20px);
  }
}

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

  .page-fishing-games__container {
    padding: 0 10px;
  }

  .page-fishing-games__hero-section {
    min-height: 500px;
    padding-bottom: 40px;
  }

  .page-fishing-games__hero-content {
    padding: 25px;
    border-radius: 8px;
  }

  .page-fishing-games__main-title {
    font-size: clamp(28px, 6vw, 40px);
  }

  .page-fishing-games__hero-description {
    font-size: clamp(15px, 2.5vw, 18px);
  }

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

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

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

  .page-fishing-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    box-sizing: border-box !important;
  }

  .page-fishing-games__section,
  .page-fishing-games__card,
  .page-fishing-games__container,
  .page-fishing-games__game-card,
  .page-fishing-games__benefit-item,
  .page-fishing-games__step-item,
  .page-fishing-games__promo-card,
  .page-fishing-games__feature-item,
  .page-fishing-games__faq-item,
  .page-fishing-games__call-to-action-content {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  .page-fishing-games__hero-section {
    padding-top: 10px !important; /* body already handles --header-offset */
  }

  .page-fishing-games__tips-list li {
    flex-direction: column;
    align-items: flex-start;
  }

  .page-fishing-games__tip-number {
    margin-bottom: 10px;
  }

  .page-fishing-games__faq-question {
    font-size: 1.1em;
  }
}

@media (max-width: 480px) {
  .page-fishing-games__hero-content {
    padding: 20px;
  }

  .page-fishing-games__main-title {
    font-size: clamp(24px, 7vw, 36px);
  }

  .page-fishing-games__hero-description {
    font-size: clamp(14px, 3vw, 16px);
  }

  .page-fishing-games__section-title {
    font-size: clamp(24px, 5vw, 36px);
  }

  .page-fishing-games__text-block {
    font-size: 1em;
  }

  .page-fishing-games__btn-primary,
  .page-fishing-games__btn-secondary {
    font-size: 0.95em !important;
  }
}

/* Ensure no filter is used on images */
.page-fishing-games img {
  filter: none; /* Explicitly disable any potential filters */
}

/* Specific color for login button if applicable */
.page-fishing-games__login-button {
  background-color: var(--page-login-color);
  color: var(--page-light-text);
  border: 2px solid var(--page-login-color);
}

.page-fishing-games__login-button:hover {
  background-color: darken(var(--page-login-color), 10%);
  border-color: darken(var(--page-login-color), 10%);
}

/* Background color for general content area if needed, ensuring contrast */
.page-fishing-games__intro-section,
.page-fishing-games__benefits-section,
.page-fishing-games__promo-section,
.page-fishing-games__tips-section {
  background-color: var(--page-secondary-color);
  color: var(--page-dark-text);
}

.page-fishing-games__intro-section .page-fishing-games__text-block,
.page-fishing-games__benefits-section .page-fishing-games__text-block,
.page-fishing-games__promo-section .page-fishing-games__text-block,
.page-fishing-games__tips-section .page-fishing-games__text-block {
  color: var(--page-dark-text);
}

.page-fishing-games__intro-section .page-fishing-games__section-title,
.page-fishing-games__benefits-section .page-fishing-games__section-title,
.page-fishing-games__promo-section .page-fishing-games__section-title,
.page-fishing-games__tips-section .page-fishing-games__section-title {
  color: var(--page-primary-color);
}

/* Dark background for hero, games showcase, registration, features, faq */
.page-fishing-games__hero-section,
.page-fishing-games__games-showcase,
.page-fishing-games__registration-guide,
.page-fishing-games__features-section,
.page-fishing-games__faq-section {
  background-color: #1a1a1a; /* Using a darker shade for sections */
  color: var(--page-light-text);
}

.page-fishing-games__hero-section .page-fishing-games__text-block,
.page-fishing-games__games-showcase .page-fishing-games__text-block,
.page-fishing-games__registration-guide .page-fishing-games__text-block,
.page-fishing-games__features-section .page-fishing-games__text-block,
.page-fishing-games__faq-section .page-fishing-games__text-block {
  color: rgba(255, 255, 255, 0.8);
}

.page-fishing-games__hero-section .page-fishing-games__section-title,
.page-fishing-games__games-showcase .page-fishing-games__section-title,
.page-fishing-games__registration-guide .page-fishing-games__section-title,
.page-fishing-games__features-section .page-fishing-games__section-title,
.page-fishing-games__faq-section .page-fishing-games__section-title {
  color: var(--page-light-text);
}

/* Call to Action specific colors */
.page-fishing-games__call-to-action-content {
  background-color: var(--page-primary-color); /* Main brand color as background */
  color: var(--page-light-text);
}

.page-fishing-games__call-to-action-content .page-fishing-games__section-title {
  color: var(--page-light-text);
}

.page-fishing-games__call-to-action-content .page-fishing-games__text-block {
  color: var(--page-light-text);
}