/* style/fishing-games.css */

:root {
  --primary-color: #26A9E0;
  --secondary-color: #FFFFFF;
  --dark-text-color: #333333;
  --light-text-color: #ffffff;
  --login-color: #EA7C07;
  --background-color: #FFFFFF;
  --black-color: #000000;
}

.page-fishing-games {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--light-text-color); /* Default to light text for dark sections */
  background-color: var(--dark-bg-1); /* Inherited from shared.css */
}

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

.page-fishing-games__hero-content {
  flex: 1;
  padding: 80px 40px;
  max-width: 50%;
  z-index: 1;
  text-align: left;
}

.page-fishing-games__hero-image-wrapper {
  flex: 1;
  max-width: 50%;
  height: 100%;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.page-fishing-games__hero-image {
  width: 100%;
  height: auto;
  object-fit: cover;
}

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

.page-fishing-games__hero-description {
  font-size: 1.1em;
  margin-bottom: 30px;
  color: var(--light-text-color);
}

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

.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;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  border: 2px solid transparent;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
  text-align: center;
}

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

.page-fishing-games__btn-primary:hover {
  background-color: #1f8ec4;
  border-color: #1f8ec4;
}

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

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

.page-fishing-games__section {
  padding: 80px 40px;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
  box-sizing: border-box;
}

.page-fishing-games__section-title {
  font-size: 2.5em;
  margin-bottom: 20px;
  color: var(--light-text-color);
}

.page-fishing-games__section-description {
  font-size: 1.1em;
  margin-bottom: 50px;
  color: #cccccc;
}

.page-fishing-games__dark-section .page-fishing-games__section-title,
.page-fishing-games__dark-section .page-fishing-games__section-description,
.page-fishing-games__dark-section .page-fishing-games__hero-title,
.page-fishing-games__dark-section .page-fishing-games__hero-description {
  color: var(--light-text-color);
}

.page-fishing-games__products-section .page-fishing-games__section-title,
.page-fishing-games__products-section .page-fishing-games__section-description,
.page-fishing-games__guide-section .page-fishing-games__section-title,
.page-fishing-games__guide-section .page-fishing-games__section-description,
.page-fishing-games__promotions-section .page-fishing-games__section-title,
.page-fishing-games__promotions-section .page-fishing-games__section-description,
.page-fishing-games__faq-section .page-fishing-games__section-title {
  color: var(--light-text-color);
}

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

.page-fishing-games__game-card {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  padding-bottom: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

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

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

.page-fishing-games__game-title a {
  color: var(--primary-color);
  text-decoration: none;
}

.page-fishing-games__game-title a:hover {
  text-decoration: underline;
}

.page-fishing-games__game-description {
  font-size: 0.95em;
  color: #b0b0b0;
  padding: 0 15px;
  margin-bottom: 20px;
}

.page-fishing-games__guide-content {
  text-align: left;
}

.page-fishing-games__guide-item {
  margin-bottom: 40px;
}

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

.page-fishing-games__guide-item p {
  font-size: 1.05em;
  color: #cccccc;
  margin-bottom: 15px;
}

.page-fishing-games__guide-list {
  list-style-type: disc;
  margin-left: 25px;
  color: #cccccc;
  font-size: 1.05em;
}

.page-fishing-games__guide-list li {
  margin-bottom: 10px;
}

.page-fishing-games__content-image {
  width: 100%;
  height: auto;
  border-radius: 12px;
  margin-top: 30px;
  object-fit: cover;
  min-width: 200px;
  min-height: 200px;
}

.page-fishing-games__strategy-section {
  text-align: left;
  padding-top: 60px;
}

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

.page-fishing-games__strategy-item {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

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

.page-fishing-games__strategy-item p {
  font-size: 1em;
  color: #cccccc;
}

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

.page-fishing-games__promotion-card {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  padding-bottom: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

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

.page-fishing-games__promotion-title {
  font-size: 1.4em;
  margin-bottom: 10px;
  color: var(--primary-color);
}

.page-fishing-games__promotion-title a {
  color: var(--primary-color);
  text-decoration: none;
}

.page-fishing-games__promotion-title a:hover {
  text-decoration: underline;
}

.page-fishing-games__promotion-text {
  font-size: 0.95em;
  color: #b0b0b0;
  padding: 0 15px;
  margin-bottom: 20px;
}

.page-fishing-games__security-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  text-align: left;
  margin-bottom: 50px;
}

.page-fishing-games__feature-item {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

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

.page-fishing-games__feature-item p {
  font-size: 1em;
  color: #cccccc;
}

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

.page-fishing-games__cta-button {
  margin-top: 30px;
  padding: 18px 40px;
  font-size: 1.2em;
}

.page-fishing-games__faq-section {
  text-align: left;
}

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

.page-fishing-games__faq-item {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: background-color 0.3s ease;
}

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

.page-fishing-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  color: var(--light-text-color);
  font-size: 1.1em;
  font-weight: bold;
}

.page-fishing-games__faq-question h3 {
  margin: 0;
  font-size: 1.1em;
  color: var(--light-text-color);
}

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

.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 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #cccccc;
}

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

.page-fishing-games__faq-answer p {
  margin: 0;
  font-size: 1em;
  color: #cccccc;
}

/* General image styling to ensure minimum size and no filters */
.page-fishing-games img {
  filter: none; /* Ensure no CSS filters are applied to change image color */
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-fishing-games__hero-content {
    max-width: 60%;
    padding: 60px 30px;
  }

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

  .page-fishing-games__hero-title {
    font-size: 2.8em;
  }

  .page-fishing-games__section {
    padding: 60px 30px;
  }

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

  .page-fishing-games__games-grid,
  .page-fishing-games__strategy-content,
  .page-fishing-games__promotions-grid,
  .page-fishing-games__security-features {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

@media (max-width: 768px) {
  /* HERO 主图区域 */
  .page-fishing-games__hero-section {
    flex-direction: column;
    padding: 0;
    min-height: auto;
  }

  .page-fishing-games__hero-content {
    max-width: 100%;
    padding: 40px 20px;
    text-align: center;
    order: 2; /* Content after image on mobile */
  }

  .page-fishing-games__hero-image-wrapper {
    max-width: 100%;
    height: 300px;
    order: 1;
    justify-content: center;
    margin-bottom: 20px;
  }

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

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

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

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

  /* 其他内容模块 */
  .page-fishing-games__section {
    padding: 40px 15px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

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

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

  /* 产品展示图区域 */
  .page-fishing-games__games-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }

  .page-fishing-games__game-card {
    width: 100%;
    box-sizing: border-box;
  }

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

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

  .page-fishing-games__guide-subtitle,
  .page-fishing-games__strategy-subtitle,
  .page-fishing-games__feature-title,
  .page-fishing-games__promotion-title {
    font-size: 1.4em;
  }

  .page-fishing-games__guide-item p,
  .page-fishing-games__guide-list,
  .page-fishing-games__strategy-item p,
  .page-fishing-games__feature-item p,
  .page-fishing-games__promotion-text {
    font-size: 0.9em;
  }

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

  .page-fishing-games__section,
  .page-fishing-games__card,
  .page-fishing-games__container,
  .page-fishing-games__games-grid,
  .page-fishing-games__promotions-grid,
  .page-fishing-games__security-features,
  .page-fishing-games__strategy-content,
  .page-fishing-games__faq-list {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden;
  }

  /* 按钮与按钮容器 */
  .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-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;
    flex-direction: column; /* Ensure buttons stack vertically */
  }

  .page-fishing-games__faq-question,
  .page-fishing-games__faq-question h3 {
    font-size: 1em;
  }

  .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__faq-answer p {
    font-size: 0.95em;
  }
}