/* style/fishing-games.css */

:root {
  --page-fishing-games-primary-color: #26A9E0;
  --page-fishing-games-secondary-color: #FFFFFF;
  --page-fishing-games-login-color: #EA7C07;
  --page-fishing-games-background-color: #FFFFFF;
  --page-fishing-games-dark-text: #000000;
  --page-fishing-games-light-text: #FFFFFF;
}

.page-fishing-games {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--page-fishing-games-light-text); /* Body background is dark, so text is light */
}

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

.page-fishing-games__dark-bg {
  background-color: #000000; /* Assuming body is dark from shared.css */
  color: var(--page-fishing-games-light-text);
}

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

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

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

.page-fishing-games__hero-content {
  position: relative; /* Ensure content is above image but not overlapping */
  z-index: 10;
  padding: 0 20px;
  max-width: 900px;
}

.page-fishing-games__main-title {
  font-weight: bold;
  color: var(--page-fishing-games-light-text);
  margin-bottom: 15px;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  font-size: clamp(2.2rem, 4vw, 3.5rem);
}

.page-fishing-games__hero-description {
  font-size: 1.15rem;
  color: var(--page-fishing-games-secondary-color);
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

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

/* Buttons */
.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary,
.page-fishing-games__btn-play,
.page-fishing-games__btn-promo {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  text-align: center;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
}

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

.page-fishing-games__btn-primary:hover {
  background-color: darken(var(--page-fishing-games-primary-color), 10%);
  border-color: darken(var(--page-fishing-games-primary-color), 10%);
}

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

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

.page-fishing-games__btn-play {
  background-color: var(--page-fishing-games-primary-color);
  color: var(--page-fishing-games-light-text);
  border: none;
  padding: 10px 20px;
  font-size: 0.95rem;
  margin-top: 15px;
}

.page-fishing-games__btn-play:hover {
  background-color: darken(var(--page-fishing-games-primary-color), 10%);
}

.page-fishing-games__btn-promo {
  background-color: var(--page-fishing-games-login-color);
  color: var(--page-fishing-games-light-text);
  border: none;
  padding: 12px 25px;
  font-size: 1rem;
  margin-top: 15px;
}

.page-fishing-games__btn-promo:hover {
  background-color: darken(var(--page-fishing-games-login-color), 10%);
}

/* Section Titles */
.page-fishing-games__section-title {
  font-size: 2.5rem;
  font-weight: bold;
  text-align: center;
  margin-bottom: 20px;
  padding-top: 40px;
  color: inherit; /* Inherits from parent section */
}

.page-fishing-games__section-subtitle {
  font-size: 1.2rem;
  text-align: center;
  margin-bottom: 40px;
  color: inherit;
}

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

.page-fishing-games__intro-content p {
  font-size: 1.1rem;
  margin-bottom: 15px;
  color: var(--page-fishing-games-dark-text);
}

/* Games Showcase Section */
.page-fishing-games__games-showcase {
  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: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  overflow: hidden;
  text-align: center;
  padding: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: var(--page-fishing-games-light-text);
}

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

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

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

.page-fishing-games__game-description {
  font-size: 1rem;
  color: var(--page-fishing-games-secondary-color);
  margin-bottom: 20px;
}

/* 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-item {
  background-color: var(--page-fishing-games-background-color);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  color: var(--page-fishing-games-dark-text);
}

.page-fishing-games__feature-title {
  font-size: 1.4rem;
  font-weight: bold;
  margin-bottom: 10px;
  color: var(--page-fishing-games-primary-color);
}

.page-fishing-games__feature-description {
  font-size: 1rem;
  color: #555;
}

/* How To Play Section */
.page-fishing-games__how-to-play {
  padding: 60px 0;
}

.page-fishing-games__steps-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
}

.page-fishing-games__step-item {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 25px;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  color: var(--page-fishing-games-light-text);
}

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

.page-fishing-games__step-description {
  font-size: 1rem;
  color: var(--page-fishing-games-secondary-color);
}

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

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

.page-fishing-games__tips-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
}

.page-fishing-games__tip-item {
  background-color: var(--page-fishing-games-background-color);
  border-radius: 12px;
  padding: 25px;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  color: var(--page-fishing-games-dark-text);
}

.page-fishing-games__tip-title {
  font-size: 1.3rem;
  font-weight: bold;
  margin-bottom: 10px;
  color: var(--page-fishing-games-primary-color);
}

.page-fishing-games__tip-description {
  font-size: 1rem;
  color: #555;
}

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

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

.page-fishing-games__promo-card {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  color: var(--page-fishing-games-light-text);
}

.page-fishing-games__promo-title {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 10px;
  color: var(--page-fishing-games-primary-color);
}

.page-fishing-games__promo-description {
  font-size: 1rem;
  color: var(--page-fishing-games-secondary-color);
  margin-bottom: 20px;
}

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

.page-fishing-games__faq-list {
  margin-top: 40px;
}

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

.page-fishing-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.15rem;
  font-weight: bold;
  cursor: pointer;
  background-color: var(--page-fishing-games-background-color);
  color: var(--page-fishing-games-dark-text);
  list-style: none;
}

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

.page-fishing-games__faq-question .page-fishing-games__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  margin-left: 10px;
}

.page-fishing-games__faq-answer {
  padding: 0 20px 20px;
  font-size: 1rem;
  color: #555;
}

/* CTA Section */
.page-fishing-games__cta-section {
  padding: 60px 0;
  text-align: center;
}

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

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

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-fishing-games__main-title {
    font-size: clamp(2rem, 5vw, 3rem);
  }

  .page-fishing-games__section-title {
    font-size: 2rem;
  }

  .page-fishing-games__hero-image {
    max-height: 500px;
  }

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

@media (max-width: 768px) {
  /* HERO 主图区域 */
  .page-fishing-games__hero-section {
    padding-top: 10px !important;
    padding-bottom: 30px;
  }

  .page-fishing-games__main-title {
    font-size: clamp(1.8rem, 7vw, 2.5rem);
    margin-bottom: 10px;
  }

  .page-fishing-games__hero-description {
    font-size: 1rem;
    margin-bottom: 20px;
  }

  .page-fishing-games__hero-buttons,
  .page-fishing-games__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
  }

  /* 按钮与按钮容器 */
  .page-fishing-games__btn-primary,
  .page-fishing-games__btn-secondary,
  .page-fishing-games__btn-play,
  .page-fishing-games__btn-promo,
  .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-left: 15px;
    padding-right: 15px;
  }

  .page-fishing-games__hero-buttons,
  .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;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
  }

  /* 产品展示图区域 */
  .page-fishing-games__games-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 0 15px;
  }

  .page-fishing-games__game-card {
    padding: 15px;
  }

  .page-fishing-games__game-image {
    height: 180px;
    min-width: 200px !important;
    min-height: 200px !important;
  }

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

  .page-fishing-games__section,
  .page-fishing-games__card,
  .page-fishing-games__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden; /* Prevent horizontal scroll */
  }

  /* 其他内容模块 */
  .page-fishing-games__section-title {
    font-size: 1.8rem;
    margin-bottom: 15px;
    padding-top: 30px;
  }

  .page-fishing-games__section-subtitle {
    font-size: 1rem;
    margin-bottom: 30px;
  }

  .page-fishing-games__intro-section,
  .page-fishing-games__games-showcase,
  .page-fishing-games__features-section,
  .page-fishing-games__how-to-play,
  .page-fishing-games__tips-section,
  .page-fishing-games__promotions-section,
  .page-fishing-games__faq-section,
  .page-fishing-games__cta-section {
    padding: 40px 0;
  }

  .page-fishing-games__features-grid,
  .page-fishing-games__promo-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 0 15px;
  }

  .page-fishing-games__feature-item,
  .page-fishing-games__step-item,
  .page-fishing-games__tip-item,
  .page-fishing-games__promo-card,
  .page-fishing-games__faq-item {
    padding: 20px;
  }

  .page-fishing-games__feature-title,
  .page-fishing-games__step-title,
  .page-fishing-games__tip-title,
  .page-fishing-games__promo-title {
    font-size: 1.2rem;
  }

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

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

/* CSS Filter Restriction */
.page-fishing-games img {
  filter: none; /* Ensure no CSS filters are applied */
}