/* style/fishing-games.css */

/* Body background color is dark based on Text Main/Secondary, so text will be light */
.page-fishing-games {
  color: var(--text-main);
  background-color: var(--bg-color);
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
}

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

.page-fishing-games__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-bottom: 60px; /* Space below content */
  padding-top: 10px; /* Small top padding, body handles header offset */
  background-color: var(--deep-green);
  overflow: hidden;
}

.page-fishing-games__hero-image-wrapper {
  width: 100%;
  max-height: 70vh; /* Limit hero image height */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-fishing-games__hero-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  filter: brightness(0.7); /* Slightly darken image for text contrast */
  min-width: 200px;
  min-height: 200px;
}

.page-fishing-games__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 20px;
  max-width: 900px;
  margin-top: 20px;
  color: var(--text-main);
}

.page-fishing-games__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 15px;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-fishing-games__subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--text-secondary);
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.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.1rem;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-fishing-games__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: var(--text-main);
  border: 2px solid transparent;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-fishing-games__btn-primary:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-fishing-games__btn-secondary {
  background: transparent;
  color: var(--text-main);
  border: 2px solid var(--border);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-fishing-games__btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-fishing-games__section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: var(--gold);
  text-align: center;
  margin-bottom: 20px;
  font-weight: 700;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.page-fishing-games__section-description {
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  color: var(--text-secondary);
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
}

.page-fishing-games__about-section,
.page-fishing-games__game-showcase-section,
.page-fishing-games__faq-section {
  padding: 80px 0;
  background-color: var(--bg-color);
  color: var(--text-secondary);
}

.page-fishing-games__how-to-play-section,
.page-fishing-games__promotions-section,
.page-fishing-games__contact-cta-section {
  padding: 80px 0;
  background-color: var(--card-b-g);
  color: var(--text-secondary);
}

.page-fishing-games__highlight {
  color: var(--glow);
  font-weight: 600;
}

.page-fishing-games__features-grid,
.page-fishing-games__steps-grid,
.page-fishing-games__game-cards-grid,
.page-fishing-games__promo-grid {
  display: grid;
  gap: 30px;
  margin-top: 40px;
}

.page-fishing-games__features-grid {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.page-fishing-games__feature-item {
  background-color: var(--card-b-g);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
  border: 1px solid var(--divider);
}

.page-fishing-games__feature-item:hover {
  transform: translateY(-5px);
}

.page-fishing-games__feature-image {
  width: 100%;
  max-width: 400px;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  min-width: 200px;
  min-height: 200px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-fishing-games__feature-title {
  font-size: 1.5rem;
  color: var(--text-main);
  margin-bottom: 15px;
  font-weight: 600;
}

.page-fishing-games__feature-text {
  font-size: 1rem;
  color: var(--text-secondary);
}

.page-fishing-games__steps-grid {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.page-fishing-games__step-item {
  background-color: var(--bg-color);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--divider);
}

.page-fishing-games__step-number {
  width: 60px;
  height: 60px;
  line-height: 60px;
  border-radius: 50%;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: var(--text-main);
  font-size: 1.8rem;
  font-weight: 700;
  margin: 0 auto 20px auto;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.page-fishing-games__step-title {
  font-size: 1.4rem;
  color: var(--text-main);
  margin-bottom: 10px;
  font-weight: 600;
}

.page-fishing-games__step-text {
  font-size: 1rem;
  color: var(--text-secondary);
}

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

.page-fishing-games__game-cards-grid {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.page-fishing-games__game-card {
  background-color: var(--card-b-g);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
  border: 1px solid var(--divider);
}

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

.page-fishing-games__game-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
  min-width: 200px;
  min-height: 200px;
}

.page-fishing-games__game-card h3 a {
  color: var(--text-main);
  text-decoration: none;
}

.page-fishing-games__game-card h3 a:hover {
  color: var(--glow);
}

.page-fishing-games__game-title {
  font-size: 1.6rem;
  color: var(--text-main);
  margin: 20px 20px 10px 20px;
  font-weight: 600;
}

.page-fishing-games__game-description {
  font-size: 0.95rem;
  color: var(--text-secondary);
  padding: 0 20px 20px 20px;
}

.page-fishing-games__btn-small {
  display: inline-block;
  padding: 10px 20px;
  margin: 0 20px 20px 20px;
  border-radius: 5px;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: var(--text-main);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: background 0.3s ease;
  box-sizing: border-box;
  max-width: calc(100% - 40px); /* Adjust for padding */
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-fishing-games__btn-small:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
}

.page-fishing-games__promo-grid {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.page-fishing-games__promo-item {
  background-color: var(--bg-color);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--divider);
}

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

.page-fishing-games__promo-text {
  font-size: 1rem;
  color: var(--text-secondary);
}

.page-fishing-games__faq-list {
  margin-top: 40px;
}

.page-fishing-games__faq-item {
  background-color: var(--card-b-g);
  border: 1px solid var(--border);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-fishing-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-main);
  cursor: pointer;
  background-color: var(--card-b-g);
  border-bottom: 1px solid var(--divider);
  transition: background-color 0.3s ease;
  list-style: none; /* For details/summary */
}

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

.page-fishing-games__faq-question:hover {
  background-color: #1a362a; /* Slightly lighter hover */
}

.page-fishing-games__faq-item[open] .page-fishing-games__faq-question {
  border-bottom: 1px solid var(--divider);
}

.page-fishing-games__faq-toggle {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--glow);
  margin-left: 15px;
}

.page-fishing-games__faq-answer {
  padding: 15px 25px 20px 25px;
  font-size: 1rem;
  color: var(--text-secondary);
  background-color: var(--bg-color);
}

.page-fishing-games__faq-answer p {
  margin-bottom: 0;
  color: var(--text-secondary);
}

.page-fishing-games__faq-answer a {
  color: var(--glow);
  text-decoration: underline;
}

.page-fishing-games__contact-cta-section {
  text-align: center;
  padding: 60px 0;
}

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

  .page-fishing-games__main-title {
    font-size: clamp(2rem, 4.5vw, 3rem);
  }

  .page-fishing-games__section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  }
}

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

  .page-fishing-games__hero-section {
    padding-bottom: 40px;
    padding-top: 10px !important; /* Ensure small top padding */
  }

  .page-fishing-games__hero-image {
    max-height: 50vh;
  }

  .page-fishing-games__hero-content {
    margin-top: 10px;
  }

  .page-fishing-games__main-title {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
    margin-bottom: 10px;
  }

  .page-fishing-games__subtitle {
    font-size: clamp(0.95rem, 2.5vw, 1.1rem);
    margin-bottom: 25px;
  }

  .page-fishing-games__cta-buttons {
    flex-direction: column;
    gap: 15px;
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
  }

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

  .page-fishing-games__about-section,
  .page-fishing-games__how-to-play-section,
  .page-fishing-games__game-showcase-section,
  .page-fishing-games__promotions-section,
  .page-fishing-games__faq-section,
  .page-fishing-games__contact-cta-section {
    padding: 40px 0;
  }

  .page-fishing-games__section-title {
    font-size: clamp(1.6rem, 5vw, 2rem);
    margin-bottom: 15px;
  }

  .page-fishing-games__section-description {
    font-size: clamp(0.9rem, 2.2vw, 1rem);
    margin-bottom: 30px;
  }

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

  .page-fishing-games__feature-item,
  .page-fishing-games__step-item,
  .page-fishing-games__game-card,
  .page-fishing-games__promo-item {
    padding: 20px;
    box-sizing: border-box !important;
    max-width: 100% !important;
    width: 100% !important;
  }

  .page-fishing-games__feature-image,
  .page-fishing-games__game-image,
  .page-fishing-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    min-width: 200px !important;
    min-height: 200px !important;
  }

  .page-fishing-games__game-image {
    height: 200px; /* Adjust height for mobile */
  }

  .page-fishing-games__btn-small {
    max-width: 100% !important;
    width: 100% !important;
    margin: 0 0 15px 0;
    padding: 10px 15px;
    font-size: 0.9rem;
  }

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

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

  /* Ensure all containers are responsive */
  .page-fishing-games__hero-section,
  .page-fishing-games__about-section,
  .page-fishing-games__how-to-play-section,
  .page-fishing-games__game-showcase-section,
  .page-fishing-games__promotions-section,
  .page-fishing-games__faq-section,
  .page-fishing-games__contact-cta-section,
  .page-fishing-games__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  .page-fishing-games__cta-center {
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-fishing-games__cta-center .page-fishing-games__btn-primary {
    width: 100% !important;
  }

  .page-fishing-games__hero-image {
    filter: brightness(0.6); /* Further darken for better mobile text contrast */
  }
}

/* Color contrast fixes for specific elements if needed */
.page-fishing-games a {
  color: var(--glow);
}
.page-fishing-games a:hover {
  color: var(--gold);
}

/* No CSS filter for images */
.page-fishing-games img {
  filter: none;
}