/* style/fishing-games.css */

/* Base styles for the fishing games page */
.page-fishing-games {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #f0f0f0; /* Default light text color for dark body background */
  background-color: var(--neon-dark-bg-1); /* Inherited from shared.css, assumed dark */
}

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

/* Section Titles and Descriptions */
.page-fishing-games__section-title {
  font-size: 36px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 20px;
  color: #E1B12C; /* Gold color for titles */
}

.page-fishing-games__section-description {
  font-size: 18px;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
  color: #f0f0f0;
}

.page-fishing-games__highlight {
  color: #E1B12C;
  font-weight: bold;
}

/* Buttons */
.page-fishing-games__btn-primary {
  display: inline-block;
  background-color: #E1B12C; /* Gold primary button */
  color: #0A2463; /* Dark blue text for contrast */
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 18px;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
  text-align: center;
}

.page-fishing-games__btn-primary:hover {
  background-color: #ffc107; /* Lighter gold on hover */
  transform: translateY(-2px);
}

.page-fishing-games__btn-secondary {
  display: inline-block;
  background-color: transparent;
  color: #E1B12C; /* Gold text for secondary button */
  border: 2px solid #E1B12C;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 18px;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
  cursor: pointer;
  text-align: center;
  margin-top: 20px;
}

.page-fishing-games__btn-secondary:hover {
  background-color: #E1B12C;
  color: #0A2463;
  transform: translateY(-2px);
}

.page-fishing-games__btn-link {
  display: inline-block;
  color: #E1B12C;
  text-decoration: none;
  font-weight: bold;
  margin-top: 15px;
  transition: color 0.3s ease;
}

.page-fishing-games__btn-link:hover {
  color: #ffc107;
}

/* Disabled button style (for promotion cards with no specific link) */
.page-fishing-games__btn-disabled {
  opacity: 0.6;
  cursor: not-allowed;
  pointer-events: none;
}

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

.page-fishing-games__link:hover {
  color: #ffc107;
}

/* Dark and Light Background Sections */
.page-fishing-games__dark-section {
  background-color: #0A2463; /* Main brand dark blue */
  color: #ffffff;
}

.page-fishing-games__light-bg {
  background-color: #1a3a70; /* Slightly lighter dark blue for contrast */
  color: #f0f0f0;
}

.page-fishing-games__card {
  background-color: rgba(255, 255, 255, 0.08); /* Slightly transparent white on dark background */
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

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

/* HERO Banner Section */
.page-fishing-games__hero-banner {
  padding-top: 60px; /* Adjust for fixed header */
  padding-bottom: 60px;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.page-fishing-games__hero-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  gap: 40px;
}

.page-fishing-games__hero-content {
  flex: 1;
  text-align: left;
}

.page-fishing-games__main-title {
  font-size: 48px;
  font-weight: 900;
  color: #E1B12C;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-fishing-games__hero-description {
  font-size: 20px;
  color: #f0f0f0;
  margin-bottom: 30px;
  line-height: 1.6;
}

.page-fishing-games__hero-image-wrapper {
  flex: 1;
  max-width: 50%;
}

.page-fishing-games__hero-image {
  width: 100%;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Intro Section */
.page-fishing-games__intro-section {
  padding: 80px 0;
}

.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 {
  text-align: center;
}

.page-fishing-games__feature-icon {
  width: 200px; /* Enforce min size 200x200 */
  height: 200px; /* Enforce min size 200x200 */
  margin-bottom: 20px;
  object-fit: contain;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-fishing-games__feature-title {
  font-size: 24px;
  font-weight: bold;
  color: #E1B12C;
  margin-bottom: 15px;
}

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

/* How to Play Section */
.page-fishing-games__how-to-play {
  padding: 80px 0;
  text-align: center;
}

.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 {
  position: relative;
  text-align: center;
  padding-top: 60px;
  background-color: rgba(255, 255, 255, 0.05); /* Slightly darker card for dark section */
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-fishing-games__step-number {
  position: absolute;
  top: -25px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #E1B12C;
  color: #0A2463;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: bold;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

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

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

/* Promotions Section */
.page-fishing-games__promotions-section {
  padding: 80px 0;
}

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

.page-fishing-games__promo-card {
  text-align: center;
}

.page-fishing-games__promo-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-fishing-games__promo-title {
  font-size: 24px;
  font-weight: bold;
  color: #E1B12C;
  margin-bottom: 10px;
}

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

/* Safety and Support Section */
.page-fishing-games__safety-support {
  padding: 80px 0;
  text-align: center;
}

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

.page-fishing-games__support-item {
  text-align: center;
}

.page-fishing-games__support-icon {
  width: 200px; /* Enforce min size 200x200 */
  height: 200px; /* Enforce min size 200x200 */
  object-fit: contain;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-fishing-games__support-title {
  font-size: 24px;
  font-weight: bold;
  color: #E1B12C;
  margin-bottom: 15px;
}

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

/* FAQ Section */
.page-fishing-games__faq-section {
  padding: 80px 0;
}

.page-fishing-games__faq-list {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: 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: #1a3a70; /* Slightly lighter dark blue */
  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: #2a4a80;
  border-color: rgba(255, 255, 255, 0.25);
}

.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: #E1B12C;
  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: 30px;
  height: 30px;
}

.page-fishing-games__faq-item.active .page-fishing-games__faq-toggle {
  color: #ffffff;
  transform: rotate(45deg); /* Changed to rotate for a 'x' effect */
}

.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: #0A2463; /* Main brand dark blue */
  border-radius: 0 0 8px 8px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-top: none;
  color: #f0f0f0;
}

.page-fishing-games__faq-item.active .page-fishing-games__faq-answer {
  max-height: 2000px !important;
  padding: 20px 25px !important;
  opacity: 1;
}

.page-fishing-games__faq-answer p {
  margin: 0;
  font-size: 16px;
}

/* Conclusion Section */
.page-fishing-games__conclusion-section {
  padding: 80px 0;
  text-align: center;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-fishing-games__hero-container {
    flex-direction: column-reverse;
    text-align: center;
    gap: 30px;
  }

  .page-fishing-games__hero-content {
    text-align: center;
  }

  .page-fishing-games__hero-image-wrapper {
    max-width: 80%;
  }

  .page-fishing-games__main-title {
    font-size: 42px;
  }

  .page-fishing-games__section-title {
    font-size: 32px;
  }

  .page-fishing-games__section-description {
    font-size: 16px;
  }

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

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

  .page-fishing-games__container {
    padding: 30px 15px;
  }

  /* Fixed header spacing for the first section */
  .page-fishing-games__hero-banner {
    padding-top: 10px !important; /* Mobile fixed header spacing */
    padding-bottom: 40px;
  }

  .page-fishing-games__main-title {
    font-size: 32px;
  }

  .page-fishing-games__hero-description {
    font-size: 18px;
  }

  .page-fishing-games__hero-image-wrapper {
    max-width: 100%;
  }

  .page-fishing-games__section-title {
    font-size: 28px;
  }

  .page-fishing-games__section-description {
    font-size: 15px;
    margin-bottom: 30px;
  }

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

  .page-fishing-games__card {
    padding: 20px;
  }

  .page-fishing-games__feature-icon,
  .page-fishing-games__support-icon {
    width: 200px !important; /* Enforce min size 200x200 */
    height: 200px !important; /* Enforce min size 200x200 */
  }

  .page-fishing-games__feature-title,
  .page-fishing-games__step-title,
  .page-fishing-games__promo-title,
  .page-fishing-games__support-title {
    font-size: 20px;
  }

  .page-fishing-games__feature-text,
  .page-fishing-games__step-text,
  .page-fishing-games__promo-text,
  .page-fishing-games__support-text,
  .page-fishing-games__faq-answer p {
    font-size: 15px;
  }

  .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: 25px;
    height: 25px;
  }

  .page-fishing-games__faq-item.active .page-fishing-games__faq-answer {
    padding: 15px 20px !important;
  }

  /* Ensure all images are responsive */
  .page-fishing-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-fishing-games__hero-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-fishing-games__promo-image {
    height: 180px;
  }

  .page-fishing-games__features-grid,
  .page-fishing-games__steps-grid,
  .page-fishing-games__promo-grid,
  .page-fishing-games__support-grid {
    grid-template-columns: 1fr;
  }
}