/* style/fishing-games.css */

/* Base styles for the page content */
.page-fishing-games {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: transparent; /* Body background is handled by shared.css */
}

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

.page-fishing-games__dark-bg {
  background-color: #121212; /* Matching body background for consistency */
  color: #ffffff;
}

.page-fishing-games__light-bg {
  background-color: #222222; /* Slightly lighter dark background for contrast sections */
  color: #ffffff;
}

/* Hero Section */
.page-fishing-games__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  padding-bottom: 60px;
  overflow: hidden;
  text-align: center;
}

.page-fishing-games__hero-image {
  width: 100%;
  height: auto;
  max-height: 700px; /* Limit height for large screens */
  object-fit: cover;
  display: block;
  margin-bottom: 30px;
}

.page-fishing-games__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 0 20px;
}

.page-fishing-games__main-title {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 700;
  color: #26A9E0;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-fishing-games__subtitle {
  font-size: clamp(1rem, 1.8vw, 1.25rem);
  color: #f0f0f0;
  margin-bottom: 30px;
}

.page-fishing-games__cta-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

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

.page-fishing-games__btn-primary {
  background-color: #26A9E0;
  color: #ffffff;
  border: 2px solid #26A9E0;
}

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

.page-fishing-games__btn-secondary {
  background-color: transparent;
  color: #26A9E0;
  border: 2px solid #26A9E0;
}

.page-fishing-games__btn-secondary:hover {
  background-color: #26A9E0;
  color: #ffffff;
}

/* General Section Styling */
.page-fishing-games__intro-section,
.page-fishing-games__features-section,
.page-fishing-games__how-to-play-section,
.page-fishing-games__popular-games-section,
.page-fishing-games__promotions-section,
.page-fishing-games__faq-section,
.page-fishing-games__cta-bottom-section {
  padding: 60px 0;
}

.page-fishing-games__section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 700;
  color: #26A9E0;
  text-align: center;
  margin-bottom: 40px;
  line-height: 1.2;
}

.page-fishing-games__text-block {
  font-size: 1.1rem;
  color: #f0f0f0;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 30px auto;
}

.page-fishing-games__image-fluid {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 10px;
}

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

.page-fishing-games__feature-card {
  background: rgba(255, 255, 255, 0.08); /* Semi-transparent white for cards */
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #ffffff;
}

.page-fishing-games__feature-icon {
  width: 100%;
  max-width: 250px;
  height: auto;
  object-fit: contain;
  margin-bottom: 20px;
  border-radius: 8px;
  min-width: 200px;
  min-height: 200px;
}

.page-fishing-games__card-title {
  font-size: 1.4rem;
  font-weight: 600;
  color: #26A9E0;
  margin-bottom: 15px;
}

.page-fishing-games__card-text {
  font-size: 1rem;
  color: #f0f0f0;
}

/* How to Play Section */
.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: rgba(255, 255, 255, 0.05);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  color: #ffffff;
}

.page-fishing-games__step-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: #26A9E0;
  margin-bottom: 15px;
}

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

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

.page-fishing-games__game-card {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  display: flex;
  flex-direction: column;
  color: #ffffff;
}

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

.page-fishing-games__game-card .page-fishing-games__card-title {
  margin-top: 20px;
  margin-bottom: 10px;
}

.page-fishing-games__game-card .page-fishing-games__card-text {
  padding: 0 20px;
  flex-grow: 1;
}

.page-fishing-games__btn-small {
  display: inline-block;
  padding: 10px 20px;
  background-color: #EA7C07; /* Login color for game buttons */
  color: #ffffff;
  text-decoration: none;
  border-radius: 5px;
  font-weight: 600;
  margin: 20px;
  transition: background-color 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-fishing-games__btn-small:hover {
  background-color: #d16b06;
}

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

.page-fishing-games__promo-list li {
  background: rgba(255, 255, 255, 0.05);
  margin-bottom: 15px;
  padding: 15px 20px;
  border-left: 5px solid #26A9E0;
  border-radius: 5px;
  font-size: 1.05rem;
  color: #f0f0f0;
}

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

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

.page-fishing-games__faq-item summary {
  list-style: none; /* Hide default marker */
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.2rem;
  font-weight: 600;
  color: #26A9E0;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  transition: background-color 0.3s ease;
}

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

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

.page-fishing-games__faq-qtext {
  flex-grow: 1;
  margin-right: 15px;
}

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

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

.page-fishing-games__faq-answer {
  padding: 15px 20px 20px 20px;
  font-size: 1.05rem;
  color: #f0f0f0;
}

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

/* Bottom CTA Section */
.page-fishing-games__cta-bottom-section {
  padding: 80px 0;
  text-align: center;
  background-color: #26A9E0;
  color: #ffffff;
}

.page-fishing-games__cta-bottom-content .page-fishing-games__section-title {
  color: #ffffff;
}

.page-fishing-games__cta-bottom-content .page-fishing-games__text-block {
  color: #f0f0f0;
  margin-bottom: 40px;
}

.page-fishing-games__btn-primary--large {
  font-size: 1.2rem;
  padding: 18px 40px;
  background-color: #EA7C07; /* Login color for main CTA */
  border-color: #EA7C07;
}

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

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-fishing-games__hero-image {
    max-height: 550px;
  }
}

@media (max-width: 768px) {
  .page-fishing-games__hero-section {
    padding-bottom: 40px;
  }

  .page-fishing-games__hero-image {
    max-height: 400px;
    margin-bottom: 20px;
  }

  .page-fishing-games__main-title {
    margin-bottom: 15px;
  }

  .page-fishing-games__subtitle {
    margin-bottom: 20px;
  }

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

  .page-fishing-games__btn-primary,
  .page-fishing-games__btn-secondary,
  .page-fishing-games__btn-small,
  .page-fishing-games__btn-primary--large {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-fishing-games__section-title {
    margin-bottom: 30px;
  }

  .page-fishing-games__intro-section,
  .page-fishing-games__features-section,
  .page-fishing-games__how-to-play-section,
  .page-fishing-games__popular-games-section,
  .page-fishing-games__promotions-section,
  .page-fishing-games__faq-section,
  .page-fishing-games__cta-bottom-section {
    padding: 40px 0;
  }

  /* Image responsive rules */
  .page-fishing-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-fishing-games__section,
  .page-fishing-games__card,
  .page-fishing-games__container,
  .page-fishing-games__hero-section,
  .page-fishing-games__intro-section,
  .page-fishing-games__features-section,
  .page-fishing-games__how-to-play-section,
  .page-fishing-games__popular-games-section,
  .page-fishing-games__promotions-section,
  .page-fishing-games__faq-section,
  .page-fishing-games__cta-bottom-section,
  .page-fishing-games__game-card {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-fishing-games__feature-icon {
    min-width: unset;
    min-height: unset;
    width: 100%;
    max-width: 200px;
  }

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

  .page-fishing-games__promo-list li {
    font-size: 0.95rem;
    padding: 10px 15px;
  }

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

  .page-fishing-games__faq-answer {
    padding: 10px 15px 15px 15px;
  }

  .page-fishing-games__cta-bottom-section {
    padding: 50px 0;
  }

  .page-fishing-games__btn-primary--large {
    font-size: 1.1rem;
    padding: 15px 30px;
  }
}

@media (max-width: 480px) {
  .page-fishing-games__hero-image {
    max-height: 300px;
  }
}