/* style/fishing-games.css */

:root {
  --primary-color: #26A9E0;
  --secondary-color: #FFFFFF;
  --text-dark: #333333;
  --text-light: #ffffff;
  --button-login: #EA7C07;
  --background-white: #FFFFFF;
  --color-black: #000000;
  --header-offset: 120px; /* Fallback, should be defined by shared.css */
}

.page-fishing-games {
  color: var(--text-light); /* Body background is dark, so text is light */
  background-color: transparent; /* Body background handled by shared.css */
}

/* Hero Section */
.page-fishing-games__hero-section {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 0; /* Assuming shared.css handles body padding-top */
  padding-bottom: 80px;
  min-height: 600px;
  overflow: hidden;
  color: var(--text-light);
}

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

.page-fishing-games__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 20px;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 10px;
}

.page-fishing-games__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  line-height: 1.2;
  color: var(--secondary-color);
}

.page-fishing-games__hero-description {
  font-size: 1.2em;
  margin-bottom: 40px;
  line-height: 1.6;
  color: var(--secondary-color);
}

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

/* General Buttons */
.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 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(--primary-color);
  color: var(--text-light);
  border: 2px solid var(--primary-color);
}

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

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

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

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

.page-fishing-games__section-title {
  font-size: 2.8em;
  text-align: center;
  margin-bottom: 20px;
  color: var(--secondary-color);
}

.page-fishing-games__section-subtitle {
  font-size: 1.3em;
  text-align: center;
  margin-bottom: 50px;
  color: var(--secondary-color);
  opacity: 0.8;
}

.page-fishing-games__light-bg {
  background-color: var(--background-white);
  color: var(--text-dark);
  padding: 80px 0;
}

.page-fishing-games__dark-bg {
  background-color: #0a0a0a; /* Explicitly set to match body background */
  color: var(--text-light);
  padding: 80px 0;
}

/* About Section */
.page-fishing-games__about-section .page-fishing-games__section-title {
  color: var(--text-dark);
}

.page-fishing-games__about-section .page-fishing-games__text-block {
  font-size: 1.1em;
  line-height: 1.8;
  margin-bottom: 25px;
  text-align: justify;
  color: var(--text-dark);
}

/* Games Showcase */
.page-fishing-games__games-showcase .page-fishing-games__section-title,
.page-fishing-games__games-showcase .page-fishing-games__section-subtitle {
  color: var(--secondary-color);
}

.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-card {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  overflow: hidden;
  text-align: center;
  padding-bottom: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
}

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

.page-fishing-games__game-title {
  font-size: 1.8em;
  margin-bottom: 10px;
  color: var(--secondary-color);
}

.page-fishing-games__game-description {
  font-size: 1em;
  line-height: 1.6;
  padding: 0 15px;
  margin-bottom: 20px;
  flex-grow: 1;
  color: var(--secondary-color);
  opacity: 0.9;
}

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

/* Advantages Section */
.page-fishing-games__advantages-section .page-fishing-games__section-title {
  color: var(--text-dark);
}

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

.page-fishing-games__advantage-item {
  text-align: center;
  background: var(--background-white);
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  padding: 30px 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  color: var(--text-dark);
}

.page-fishing-games__advantage-icon {
  width: 100%;
  height: auto;
  max-width: 200px;
  margin-bottom: 20px;
}

.page-fishing-games__advantage-title {
  font-size: 1.6em;
  margin-bottom: 15px;
  color: var(--primary-color);
}

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

/* How to Play Section */
.page-fishing-games__how-to-play-section .page-fishing-games__section-title {
  color: var(--secondary-color);
}

.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 {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  padding: 30px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
}

.page-fishing-games__step-number {
  width: 60px;
  height: 60px;
  background-color: var(--primary-color);
  color: var(--text-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2em;
  font-weight: bold;
  margin-bottom: 20px;
}

.page-fishing-games__step-title {
  font-size: 1.8em;
  margin-bottom: 15px;
  color: var(--secondary-color);
}

.page-fishing-games__step-description {
  font-size: 1em;
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
  color: var(--secondary-color);
  opacity: 0.9;
}

/* Promotions Section */
.page-fishing-games__promotions-section .page-fishing-games__section-title,
.page-fishing-games__promotions-section .page-fishing-games__section-subtitle {
  color: var(--text-dark);
}

.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 {
  background: var(--background-white);
  border: 1px solid #e0e0e0;
  border-radius: 15px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  color: var(--text-dark);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
}

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

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

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

/* FAQ Section */
.page-fishing-games__faq-section .page-fishing-games__section-title {
  color: var(--secondary-color);
}

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

.page-fishing-games__faq-item {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-fishing-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.2em;
  font-weight: bold;
  cursor: pointer;
  color: var(--secondary-color);
  transition: background-color 0.3s ease;
}

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

.page-fishing-games__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
}

.page-fishing-games__faq-item.active .page-fishing-games__faq-toggle {
  transform: rotate(45deg);
}

.page-fishing-games__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: var(--secondary-color);
  opacity: 0.8;
}

.page-fishing-games__faq-item.active .page-fishing-games__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to show content */
  padding: 15px 20px 20px;
}

.page-fishing-games__faq-answer p {
  margin-bottom: 0;
  line-height: 1.6;
}

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

.page-fishing-games__cta-title {
  font-size: 3em;
  margin-bottom: 20px;
  color: var(--secondary-color);
}

.page-fishing-games__cta-description {
  font-size: 1.3em;
  margin-bottom: 40px;
  line-height: 1.6;
  color: var(--secondary-color);
  opacity: 0.9;
}

.page-fishing-games__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

/* Image Reset for all images within content area */
.page-fishing-games img {
  max-width: 100%;
  height: auto;
  display: block;
  /* Ensure no filter is applied to images */
  filter: none !important;
}

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

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

  .page-fishing-games__section-title {
    font-size: 2.2em;
  }

  .page-fishing-games__section-subtitle {
    font-size: 1.1em;
  }

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

  .page-fishing-games__cta-title {
    font-size: 2.5em;
  }

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

@media (max-width: 768px) {
  /* HERO 主图区域 */
  .page-fishing-games__hero-section {
    padding-top: 0; /* Assuming shared.css handles body padding-top */
    padding-bottom: 60px;
    min-height: 450px;
  }

  .page-fishing-games__hero-content {
    padding: 15px;
  }

  .page-fishing-games__hero-title {
    font-size: 2.2em;
    margin-bottom: 15px;
  }

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

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

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

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

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

  .page-fishing-games__game-title {
    font-size: 1.6em;
  }

  .page-fishing-games__game-description {
    font-size: 0.9em;
  }

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

  .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;
  }

  /* 按钮与按钮容器 */
  .page-fishing-games__btn-primary,
  .page-fishing-games__btn-secondary,
  .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;
    font-size: 1em;
  }

  .page-fishing-games__hero-buttons,
  .page-fishing-games__cta-buttons {
    flex-direction: column !important; /* Ensure vertical stacking on mobile */
    gap: 15px !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden;
  }

  /* 其他内容模块 */
  .page-fishing-games__light-bg,
  .page-fishing-games__dark-bg {
    padding: 40px 0;
  }

  .page-fishing-games__section-title {
    font-size: 1.8em;
    margin-bottom: 15px;
  }

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

  .page-fishing-games__about-section .page-fishing-games__text-block,
  .page-fishing-games__advantage-description,
  .page-fishing-games__step-description,
  .page-fishing-games__promo-description,
  .page-fishing-games__faq-answer p {
    font-size: 0.95em;
  }

  .page-fishing-games__advantages-grid,
  .page-fishing-games__steps-grid,
  .page-fishing-games__promo-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-fishing-games__advantage-item,
  .page-fishing-games__step-item,
  .page-fishing-games__promo-card {
    padding: 25px 15px;
  }

  .page-fishing-games__advantage-title,
  .page-fishing-games__step-title,
  .page-fishing-games__promo-title {
    font-size: 1.4em;
  }

  .page-fishing-games__faq-question {
    font-size: 1.1em;
    padding: 15px;
  }

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

  .page-fishing-games__faq-item.active .page-fishing-games__faq-answer {
    padding: 10px 15px 15px;
  }

  .page-fishing-games__cta-section {
    padding: 60px 0;
  }

  .page-fishing-games__cta-title {
    font-size: 2em;
  }

  .page-fishing-games__cta-description {
    font-size: 1em;
  }
}