/* style/fishing-games.css */

/* Base styles for the page */
.page-fishing-games {
  color: #ffffff; /* Light text for dark body background */
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
}

/* Ensure main content has top padding for fixed header */
.page-content.page-fishing-games {
  padding-top: 120px; /* Default for desktop */
}

@media (max-width: 768px) {
  .page-content.page-fishing-games {
    padding-top: 100px; /* Adjusted for mobile */
  }
}

/* Section common styles */
.page-fishing-games__dark-section {
  background-color: #1a1a1a; /* Slightly lighter than body bg for visual separation */
  padding: 80px 0;
}

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

.page-fishing-games__section-title {
  font-size: 36px;
  color: #FFA500; /* Auxiliary color for titles */
  text-align: center;
  margin-bottom: 50px;
  font-weight: 700;
  line-height: 1.2;
}

.page-fishing-games__text-block {
  font-size: 18px;
  margin-bottom: 20px;
  text-align: justify;
  color: #f0f0f0;
}

.page-fishing-games__link {
  color: #FFA500;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-fishing-games__link:hover {
  color: #ffd700;
  text-decoration: underline;
}

/* Hero Section */
.page-fishing-games__hero-section {
  background: linear-gradient(135deg, #003366, #001a33);
  padding: 100px 0;
  text-align: center;
}

.page-fishing-games__hero-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-fishing-games__main-title {
  font-size: 48px;
  color: #FFA500;
  margin-bottom: 20px;
  font-weight: 800;
  line-height: 1.1;
}

.page-fishing-games__hero-description {
  font-size: 20px;
  color: #f0f0f0;
  margin-bottom: 40px;
}

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

.page-fishing-games__btn {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 18px;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  cursor: pointer;
}

.page-fishing-games__btn--primary {
  background: #FFA500;
  color: #000000; /* Ensure dark text on bright orange */
  border-color: #FFA500;
}

.page-fishing-games__btn--primary:hover {
  background: #ffb733;
  border-color: #ffb733;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(255, 165, 0, 0.4);
}

.page-fishing-games__btn--secondary {
  background: transparent;
  color: #FFA500;
  border-color: #FFA500;
}

.page-fishing-games__btn--secondary:hover {
  background: rgba(255, 165, 0, 0.1);
  color: #ffd700;
  border-color: #ffd700;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(255, 165, 0, 0.2);
}

.page-fishing-games__btn--small {
  padding: 10px 20px;
  font-size: 16px;
}

/* Overview Section */
.page-fishing-games__image-wrapper {
  margin: 40px auto;
  max-width: 800px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

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

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

.page-fishing-games__feature-card {
  background: rgba(255, 255, 255, 0.08); /* Light bg for contrast on dark section */
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-fishing-games__feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-fishing-games__feature-icon {
  width: 100px;
  height: 100px;
  margin-bottom: 20px;
  object-fit: contain;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-fishing-games__card-title {
  font-size: 24px;
  color: #FFA500;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-fishing-games__card-text {
  font-size: 16px;
  color: #f0f0f0;
}

/* Gameplay Section */
.page-fishing-games__steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.page-fishing-games__step-item {
  background: rgba(255, 255, 255, 0.08);
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-fishing-games__step-icon {
  width: 120px;
  height: 120px;
  margin-bottom: 25px;
  object-fit: contain;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-fishing-games__step-title {
  font-size: 22px;
  color: #FFA500;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-fishing-games__step-description {
  font-size: 16px;
  color: #f0f0f0;
  margin-bottom: 25px;
}

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

.page-fishing-games__strategy-card {
  background: rgba(255, 255, 255, 0.08);
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Why Choose Section */
.page-fishing-games__why-choose-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-bottom: 50px;
}

.page-fishing-games__why-choose-item {
  background: rgba(255, 255, 255, 0.08);
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-fishing-games__why-choose-icon {
  width: 100px;
  height: 100px;
  margin-bottom: 20px;
  object-fit: contain;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-fishing-games__cta-bottom {
  text-align: center;
}

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

.page-fishing-games__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
}

.page-fishing-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
}

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

.page-fishing-games__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  color: #ffffff;
  pointer-events: none;
}

.page-fishing-games__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  line-height: 1;
  color: #FFA500;
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
}

.page-fishing-games__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
  padding: 0 25px;
  opacity: 0;
  background: rgba(255, 255, 255, 0.05);
  color: #f0f0f0;
  font-size: 16px;
}

.page-fishing-games__faq-item.active .page-fishing-games__faq-answer {
  max-height: 2000px !important;
  padding: 20px 25px !important;
  opacity: 1;
  border-radius: 0 0 8px 8px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-top: none;
}

.page-fishing-games__faq-item.active .page-fishing-games__faq-toggle {
  color: #ffd700;
  transform: rotate(0deg); /* Explicitly set for consistency */
}


/* Responsive Design */
@media (max-width: 1024px) {
  .page-fishing-games__section-title {
    font-size: 32px;
  }
  .page-fishing-games__main-title {
    font-size: 40px;
  }
  .page-fishing-games__hero-description {
    font-size: 18px;
  }
  .page-fishing-games__feature-icon, .page-fishing-games__step-icon, .page-fishing-games__why-choose-icon {
    width: 80px;
    height: 80px;
  }
  .page-fishing-games__card-title, .page-fishing-games__step-title {
    font-size: 20px;
  }
}

@media (max-width: 768px) {
  .page-fishing-games__dark-section {
    padding: 50px 0;
  }
  .page-fishing-games__section-title {
    font-size: 28px;
    margin-bottom: 30px;
  }
  .page-fishing-games__main-title {
    font-size: 32px;
  }
  .page-fishing-games__hero-description {
    font-size: 16px;
  }
  .page-fishing-games__hero-actions {
    flex-direction: column;
    gap: 15px;
  }
  .page-fishing-games__btn {
    width: 100%;
  }
  .page-fishing-games__text-block, .page-fishing-games__card-text, .page-fishing-games__step-description {
    font-size: 15px;
  }
  .page-fishing-games__features-grid, .page-fishing-games__steps, .page-fishing-games__strategy-grid, .page-fishing-games__why-choose-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-fishing-games__feature-card, .page-fishing-games__step-item, .page-fishing-games__strategy-card, .page-fishing-games__why-choose-item {
    padding: 25px;
  }
  .page-fishing-games__feature-icon, .page-fishing-games__step-icon, .page-fishing-games__why-choose-icon {
    width: 70px;
    height: 70px;
    margin-bottom: 15px;
  }
  .page-fishing-games__card-title, .page-fishing-games__step-title {
    font-size: 18px;
  }
  .page-fishing-games__faq-question {
    padding: 15px 20px;
  }
  .page-fishing-games__faq-question h3 {
    font-size: 16px;
  }
  .page-fishing-games__faq-toggle {
    font-size: 24px;
    width: 28px;
    height: 28px;
  }
  .page-fishing-games__faq-answer {
    padding: 0 20px;
  }
  .page-fishing-games__faq-item.active .page-fishing-games__faq-answer {
    padding: 15px 20px !important;
  }

  /* Mobile image adaptation */
  .page-fishing-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-fishing-games__container,
  .page-fishing-games__hero-content,
  .page-fishing-games__image-wrapper,
  .page-fishing-games__features-grid,
  .page-fishing-games__steps,
  .page-fishing-games__strategy-grid,
  .page-fishing-games__why-choose-grid,
  .page-fishing-games__faq-list {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}

@media (max-width: 480px) {
  .page-fishing-games__main-title {
    font-size: 28px;
  }
  .page-fishing-games__section-title {
    font-size: 24px;
  }
  .page-fishing-games__hero-actions {
    flex-direction: column;
  }
  .page-fishing-games__btn {
    padding: 12px 25px;
    font-size: 16px;
  }
  .page-fishing-games__card-title, .page-fishing-games__step-title {
    font-size: 16px;
  }
  .page-fishing-games__faq-question h3 {
    font-size: 15px;
  }
}