/* style/fishing-games.css */

:root {
  --page-fishing-games-primary-color: #26A9E0;
  --page-fishing-games-secondary-color: #FFFFFF;
  --page-fishing-games-text-dark: #333333;
  --page-fishing-games-text-light: #FFFFFF;
  --page-fishing-games-login-button: #EA7C07;
  --page-fishing-games-background-white: #FFFFFF;
  --page-fishing-games-background-dark: #1a1a1a; /* Assuming a slightly dark background for contrast */
}

.page-fishing-games {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--page-fishing-games-text-dark); /* Default text color for light backgrounds */
  background-color: var(--page-fishing-games-background-white);
}

.page-fishing-games__dark-bg {
  background-color: var(--page-fishing-games-primary-color);
  color: var(--page-fishing-games-text-light);
}

.page-fishing-games__light-bg {
  background-color: var(--page-fishing-games-background-white);
  color: var(--page-fishing-games-text-dark);
}

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

.page-fishing-games__section-title {
  font-size: 2.5em;
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
  color: inherit; /* Inherit color from parent section */
  line-height: 1.2;
}

.page-fishing-games__text-block {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 20px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

/* Hero Section */
.page-fishing-games__hero-section {
  position: relative;
  padding-top: 10px; /* Small top padding as required */
  padding-bottom: 0;
  padding-left: 0;
  padding-right: 0;
  display: flex;
  flex-direction: column; /* Image above text */
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

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

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

.page-fishing-games__hero-content-wrapper {
  width: 100%;
  padding: 40px 20px;
  box-sizing: border-box;
}

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

.page-fishing-games__main-title {
  font-size: clamp(2em, 4vw, 3.5em); /* Responsive font size for H1 */
  font-weight: 800;
  margin-bottom: 20px;
  color: var(--page-fishing-games-text-light);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.page-fishing-games__description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: var(--page-fishing-games-text-light);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.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, transform 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-fishing-games__btn-primary {
  background-color: var(--page-fishing-games-login-button); /* Specific color for Login/CTA */
  color: var(--page-fishing-games-text-light);
  border: 2px solid var(--page-fishing-games-login-button);
}

.page-fishing-games__btn-primary:hover {
  background-color: darken(var(--page-fishing-games-login-button), 10%); /* Placeholder for darken */
  transform: translateY(-2px);
}

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

.page-fishing-games__btn-secondary:hover {
  background-color: var(--page-fishing-games-text-light);
  color: var(--page-fishing-games-primary-color);
  transform: translateY(-2px);
}

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

.page-fishing-games__btn-large {
  padding: 18px 35px;
  font-size: 1.2em;
}

/* Introduction Section */
.page-fishing-games__introduction-section {
  padding: 60px 0;
}

/* Features Section */
.page-fishing-games__features-section {
  padding: 60px 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 {
  background-color: var(--page-fishing-games-background-white);
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

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

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

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

.page-fishing-games__feature-description {
  font-size: 1em;
  color: var(--page-fishing-games-text-dark);
}

/* Games Section */
.page-fishing-games__games-section {
  padding: 60px 0;
}

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

.page-fishing-games__game-card {
  background-color: var(--page-fishing-games-primary-color);
  color: var(--page-fishing-games-text-light);
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

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

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

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

.page-fishing-games__game-description {
  font-size: 1em;
  margin-bottom: 20px;
  flex-grow: 1;
}

/* Strategy Section */
.page-fishing-games__strategy-section {
  padding: 60px 0;
}

.page-fishing-games__strategy-list {
  list-style: none;
  padding: 0;
  max-width: 900px;
  margin: 40px auto 0 auto;
  text-align: left;
}

.page-fishing-games__strategy-item {
  background-color: var(--page-fishing-games-background-white);
  padding: 20px;
  margin-bottom: 15px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  font-size: 1.1em;
  color: var(--page-fishing-games-text-dark);
  border-left: 5px solid var(--page-fishing-games-primary-color);
}

.page-fishing-games__strategy-item strong {
  color: var(--page-fishing-games-primary-color);
}

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

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

.page-fishing-games__promo-card {
  background-color: var(--page-fishing-games-background-white);
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-fishing-games__promo-card:hover {
  transform: translateY(-5px);
}

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

.page-fishing-games__promo-title {
  font-size: 1.5em;
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--page-fishing-games-primary-color);
}

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

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

/* Get Started Section */
.page-fishing-games__get-started-section {
  padding: 60px 0;
}

.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-card {
  background-color: var(--page-fishing-games-primary-color);
  color: var(--page-fishing-games-text-light);
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-fishing-games__step-number {
  font-size: 2.5em;
  font-weight: 700;
  color: var(--page-fishing-games-login-button);
  margin-bottom: 15px;
  background-color: var(--page-fishing-games-secondary-color);
  border-radius: 50%;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-fishing-games__step-title {
  font-size: 1.6em;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--page-fishing-games-text-light);
}

.page-fishing-games__step-description {
  font-size: 1em;
  flex-grow: 1;
}

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

.page-fishing-games__faq-list {
  max-width: 900px;
  margin: 40px auto 0 auto;
}

.page-fishing-games__faq-item {
  background-color: var(--page-fishing-games-background-white);
  margin-bottom: 15px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  color: var(--page-fishing-games-text-dark);
}

.page-fishing-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.1em;
  font-weight: 600;
  cursor: pointer;
  background-color: var(--page-fishing-games-background-white);
  color: var(--page-fishing-games-primary-color);
  border-bottom: 1px solid #eee;
  list-style: none;
  user-select: none;
}

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

.page-fishing-games__faq-question::marker {
  display: none;
}

.page-fishing-games__faq-qtext {
  flex-grow: 1;
}

.page-fishing-games__faq-toggle {
  font-size: 1.5em;
  margin-left: 15px;
  color: var(--page-fishing-games-login-button);
}

.page-fishing-games__faq-item[open] .page-fishing-games__faq-toggle {
  content: "−";
}

.page-fishing-games__faq-answer {
  padding: 0 20px 20px 20px;
  font-size: 1em;
  color: var(--page-fishing-games-text-dark);
}

.page-fishing-games__faq-answer p {
  margin-bottom: 0;
  text-align: left;
}

/* Contact CTA Section */
.page-fishing-games__contact-cta {
  padding: 60px 0;
  text-align: center;
}

.page-fishing-games__contact-flex {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.page-fishing-games__contact-title {
  font-size: 2em;
  font-weight: 700;
  color: var(--page-fishing-games-primary-color);
  margin-bottom: 0;
}

/* General image styling for content sections */
.page-fishing-games img {
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* Mobile responsive styles */
@media (max-width: 1024px) {
  .page-fishing-games__section-title {
    font-size: 2em;
  }
  .page-fishing-games__main-title {
    font-size: clamp(1.8em, 5vw, 3em);
  }
  .page-fishing-games__description {
    font-size: 1.1em;
  }
  .page-fishing-games__hero-image-container {
    max-height: 60vh;
  }
  .page-fishing-games__features-grid,
  .page-fishing-games__games-grid,
  .page-fishing-games__promotions-grid,
  .page-fishing-games__steps-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

@media (max-width: 768px) {
  /* HERO 主图区域 */
  .page-fishing-games__hero-section {
    padding-top: 10px !important; /* Small top padding as required */
    padding-bottom: 30px;
  }
  .page-fishing-games__hero-image-container {
    max-height: 50vh;
  }
  .page-fishing-games__hero-content-wrapper {
    padding: 30px 15px;
  }
  .page-fishing-games__main-title {
    font-size: clamp(1.5em, 7vw, 2.5em) !important; /* Ensure H1 is not too large on mobile */
    margin-bottom: 15px;
  }
  .page-fishing-games__description {
    font-size: 1em;
    margin-bottom: 25px;
  }
  .page-fishing-games__cta-buttons {
    flex-direction: column; /* Stack buttons vertically */
    gap: 15px;
    padding: 0 15px;
  }
  .page-fishing-games__btn-primary,
  .page-fishing-games__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* 产品展示图区域 (General images in content sections) */
  .page-fishing-games__features-grid,
  .page-fishing-games__games-grid,
  .page-fishing-games__promotions-grid,
  .page-fishing-games__steps-grid {
    grid-template-columns: 1fr; /* Single column layout for cards */
    gap: 20px;
    padding: 0 15px;
  }
  .page-fishing-games__feature-card,
  .page-fishing-games__game-card,
  .page-fishing-games__promo-card,
  .page-fishing-games__step-card {
    padding: 20px;
  }

  /* 通用图片与容器 */
  .page-fishing-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-fishing-games__container,
  .page-fishing-games__section,
  .page-fishing-games__card,
  .page-fishing-games__box {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-fishing-games__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }
  .page-fishing-games__text-block {
    font-size: 0.95em;
  }
  .page-fishing-games__strategy-list,
  .page-fishing-games__faq-list {
    margin-left: 0;
    margin-right: 0;
    padding: 0 15px;
  }
  .page-fishing-games__strategy-item,
  .page-fishing-games__faq-item {
    font-size: 1em;
    padding: 15px;
  }
  .page-fishing-games__faq-question {
    font-size: 1em;
    padding: 15px;
  }
  .page-fishing-games__faq-answer {
    padding: 0 15px 15px 15px;
  }
  .page-fishing-games__contact-title {
    font-size: 1.5em;
  }
  .page-fishing-games__cta-center {
    padding: 0 15px;
  }
}