/* style/fishing-games.css */

:root {
  --page-fishing-games-primary-color: #C61F1F;
  --page-fishing-games-secondary-color: #E53030;
  --page-fishing-games-background-color: #140C0C;
  --page-fishing-games-card-bg-color: #2A1212;
  --page-fishing-games-text-main-color: #FFF1E8;
  --page-fishing-games-border-color: #6A1E1E;
  --page-fishing-games-gold-color: #F3C54D;
  --page-fishing-games-deep-red-color: #7E0D0D;
  --page-fishing-games-button-gradient: linear-gradient(180deg, #FFB04A 0%, #D86A14 100%);
}

.page-fishing-games {
  font-family: Arial, sans-serif;
  color: var(--page-fishing-games-text-main-color);
  background-color: var(--page-fishing-games-background-color);
}

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

.page-fishing-games__section-title {
  font-size: 2.8em;
  font-weight: bold;
  text-align: center;
  margin-bottom: 40px;
  color: var(--page-fishing-games-gold-color);
  line-height: 1.2;
}

.page-fishing-games__text-block {
  font-size: 1.1em;
  line-height: 1.7;
  margin-bottom: 20px;
  text-align: center;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  color: var(--page-fishing-games-text-main-color);
}

.page-fishing-games__text-link {
  color: var(--page-fishing-games-gold-color);
  text-decoration: underline;
  font-weight: bold;
  display: inline-block;
  margin-top: 10px;
}

.page-fishing-games__dark-section {
  background-color: var(--page-fishing-games-background-color);
  color: var(--page-fishing-games-text-main-color);
}

.page-fishing-games__light-bg {
  background-color: #f5f5f5;
  color: #333333;
}

.page-fishing-games__light-bg .page-fishing-games__section-title,
.page-fishing-games__light-bg .page-fishing-games__text-block,
.page-fishing-games__light-bg .page-fishing-games__card-title,
.page-fishing-games__light-bg .page-fishing-games__card-description,
.page-fishing-games__light-bg .page-fishing-games__step-title,
.page-fishing-games__light-bg .page-fishing-games__step-description,
.page-fishing-games__light-bg .page-fishing-games__faq-qtext,
.page-fishing-games__light-bg .page-fishing-games__faq-answer p {
  color: #333333;
}

.page-fishing-games__light-bg .page-fishing-games__text-link {
  color: var(--page-fishing-games-primary-color);
}

.page-fishing-games__card {
  background-color: var(--page-fishing-games-card-bg-color);
  border: 1px solid var(--page-fishing-games-border-color);
  border-radius: 10px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-fishing-games__card-title {
  font-size: 1.5em;
  font-weight: bold;
  margin-top: 15px;
  margin-bottom: 10px;
  color: var(--page-fishing-games-gold-color);
}

.page-fishing-games__card-description {
  font-size: 1em;
  line-height: 1.6;
  color: var(--page-fishing-games-text-main-color);
}

.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-fishing-games__btn-primary {
  background: var(--page-fishing-games-button-gradient);
  color: #ffffff;
  border: none;
  box-shadow: 0 4px 15px rgba(255, 176, 74, 0.4);
}

.page-fishing-games__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.page-fishing-games__btn-secondary {
  background-color: transparent;
  color: var(--page-fishing-games-gold-color);
  border: 2px solid var(--page-fishing-games-gold-color);
  box-shadow: none;
}

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

.page-fishing-games__btn-small {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 20px;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.9em;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  background: var(--page-fishing-games-button-gradient);
  color: #ffffff;
  border: none;
  margin-top: 15px;
}

.page-fishing-games__btn-small:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

/* HERO Section */
.page-fishing-games__hero-section {
  position: relative;
  overflow: hidden;
  padding-top: 10px; /* Adjusted for shared header offset */
  padding-bottom: 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 70vh;
  text-align: center;
}

.page-fishing-games__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.page-fishing-games__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.6);
}

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

.page-fishing-games__main-title {
  font-size: clamp(2.5em, 5vw, 4.5em);
  font-weight: 900;
  color: #ffffff;
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
}

.page-fishing-games__hero-description {
  font-size: 1.3em;
  line-height: 1.6;
  color: #f0f0f0;
  margin-bottom: 40px;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
}

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

/* About Section */
.page-fishing-games__about-section {
  padding: 80px 20px;
  text-align: center;
}

/* Features Section */
.page-fishing-games__features-section {
  padding: 80px 20px;
}

.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-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
}

/* How to Play Section */
.page-fishing-games__how-to-play-section {
  padding: 80px 20px;
}

.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-item {
  text-align: center;
  padding: 25px;
  border-radius: 10px;
  background-color: #ffffff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.page-fishing-games__light-bg .page-fishing-games__step-item {
  background-color: #ffffff;
}

.page-fishing-games__step-icon {
  width: 60px;
  height: 60px;
  background: var(--page-fishing-games-button-gradient);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 2em;
  font-weight: bold;
  margin: 0 auto 20px auto;
}

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

.page-fishing-games__step-description {
  font-size: 1em;
  line-height: 1.6;
  color: #555555;
}

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

/* Top Games Section */
.page-fishing-games__top-games-section {
  padding: 80px 20px;
}

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

.page-fishing-games__game-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
}

/* Promotions Section */
.page-fishing-games__promotions-section {
  padding: 80px 20px;
  text-align: center;
}

.page-fishing-games__promo-list {
  list-style: none;
  padding: 0;
  margin: 40px auto;
  max-width: 800px;
}

.page-fishing-games__promo-item {
  font-size: 1.1em;
  line-height: 1.8;
  margin-bottom: 15px;
  position: relative;
  padding-left: 30px;
  text-align: left;
  color: #333333;
}

.page-fishing-games__promo-item::before {
  content: '✓';
  color: var(--page-fishing-games-primary-color);
  position: absolute;
  left: 0;
  font-weight: bold;
}

/* Download CTA Section */
.page-fishing-games__download-cta-section {
  padding: 80px 20px;
}

.page-fishing-games__download-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  text-align: left;
}

.page-fishing-games__download-content {
  flex: 1;
}

.page-fishing-games__download-content .page-fishing-games__section-title {
  text-align: left;
  margin-bottom: 20px;
}

.page-fishing-games__download-content .page-fishing-games__text-block {
  text-align: left;
  margin-left: 0;
  margin-right: 0;
}

.page-fishing-games__download-image-wrapper {
  flex: 1;
  text-align: center;
}

.page-fishing-games__download-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

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

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

.page-fishing-games__faq-item {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-fishing-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.2em;
  font-weight: bold;
  cursor: pointer;
  background-color: #f9f9f9;
  color: #333333;
  border-bottom: 1px solid #e0e0e0;
}

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

.page-fishing-games__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  color: var(--page-fishing-games-primary-color);
}

.page-fishing-games__faq-answer {
  padding: 20px 25px;
  font-size: 1em;
  line-height: 1.7;
  color: #555555;
  background-color: #ffffff;
}

.page-fishing-games__faq-item[open] .page-fishing-games__faq-question {
  background-color: #f0f0f0;
  border-bottom: none;
}

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

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

/* General Image Styling */
.page-fishing-games img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-fishing-games__section-title {
    font-size: 2.2em;
  }

  .page-fishing-games__hero-description {
    font-size: 1.1em;
  }

  .page-fishing-games__download-flex {
    flex-direction: column;
    text-align: center;
  }

  .page-fishing-games__download-content .page-fishing-games__section-title,
  .page-fishing-games__download-content .page-fishing-games__text-block {
    text-align: center;
  }

  .page-fishing-games__download-content .page-fishing-games__cta-buttons {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  /* HERO 主图区域 */
  .page-fishing-games__hero-section {
    padding-top: 10px !important; /* ~10px top padding for mobile */
    padding-bottom: 40px;
    min-height: 60vh;
  }

  .page-fishing-games__main-title {
    font-size: clamp(2em, 8vw, 3em) !important;
    margin-bottom: 15px;
  }

  .page-fishing-games__hero-description {
    font-size: 1em !important;
    margin-bottom: 30px;
  }

  .page-fishing-games__cta-buttons {
    flex-direction: column !important;
    gap: 15px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
  }

  /* 产品展示图区域 (features grid, games grid) */
  .page-fishing-games__features-grid,
  .page-fishing-games__games-grid,
  .page-fishing-games__steps-grid {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }

  .page-fishing-games__feature-image,
  .page-fishing-games__game-image {
    height: 200px !important; /* Smaller height for mobile cards */
  }

  /* 通用图片与容器 */
  .page-fishing-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-fishing-games__container,
  .page-fishing-games__card,
  .page-fishing-games__section,
  .page-fishing-games__download-flex,
  .page-fishing-games__contact-flex,
  .page-fishing-games__faq-list {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
  }

  /* 按钮与按钮容器 */
  .page-fishing-games__btn-primary,
  .page-fishing-games__btn-secondary,
  .page-fishing-games__btn-small,
  .page-fishing-games a[class*="button"],
  .page-fishing-games a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 12px 20px !important;
    font-size: 1em !important;
  }

  .page-fishing-games__cta-buttons,
  .page-fishing-games__button-group,
  .page-fishing-games__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
    flex-direction: column !important; /* Ensure vertical stacking for CTA groups */
  }

  /* 其他内容模块 */
  .page-fishing-games__section-title {
    font-size: 1.8em !important;
    margin-bottom: 25px;
  }

  .page-fishing-games__text-block {
    font-size: 0.95em !important;
    text-align: left;
  }

  .page-fishing-games__about-section,
  .page-fishing-games__features-section,
  .page-fishing-games__how-to-play-section,
  .page-fishing-games__top-games-section,
  .page-fishing-games__promotions-section,
  .page-fishing-games__download-cta-section,
  .page-fishing-games__faq-section,
  .page-fishing-games__contact-cta-section {
    padding: 50px 0 !important;
  }

  .page-fishing-games__card-title {
    font-size: 1.3em !important;
  }

  .page-fishing-games__card-description {
    font-size: 0.9em !important;
  }

  .page-fishing-games__promo-item {
    text-align: left;
    font-size: 0.95em !important;
    padding-left: 25px;
  }

  .page-fishing-games__promo-item::before {
    left: 5px;
  }

  .page-fishing-games__faq-question {
    font-size: 1.05em !important;
    padding: 15px 20px;
  }

  .page-fishing-games__faq-answer {
    font-size: 0.95em !important;
    padding: 15px 20px;
  }
}