/* style/fishing-games.css */

:root {
  --primary-color: #F2C14E;
  --secondary-color: #FFD36B;
  --background-dark: #0A0A0A;
  --card-background: #111111;
  --text-light: #FFF6D6;
  --border-color: #3A2A12;
  --button-gradient: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
}

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

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

.page-fishing-games__section-title {
  font-size: 2.8em;
  color: var(--secondary-color);
  text-align: center;
  margin-bottom: 30px;
  font-weight: bold;
  line-height: 1.2;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-fishing-games__section-description {
  font-size: 1.1em;
  color: var(--text-light);
  text-align: center;
  margin-bottom: 50px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-fishing-games__paragraph {
  margin-bottom: 15px;
  color: var(--text-light);
}

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

.page-fishing-games__hero-image-wrapper {
  width: 100%;
  position: relative;
  z-index: 0;
}

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

.page-fishing-games__hero-content-container {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1200px;
  padding: 20px;
  box-sizing: border-box;
  margin-top: -100px; /* Overlap slightly for visual effect */
}

.page-fishing-games__hero-content {
  background: rgba(17, 17, 17, 0.7); /* Card background with transparency */
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
  border: 1px solid var(--border-color);
}

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

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

.page-fishing-games__btn-primary {
  background: var(--button-gradient);
  color: var(--text-light);
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  display: inline-block;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-fishing-games__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
}

.page-fishing-games__introduction-section, 
.page-fishing-games__why-choose-section, 
.page-fishing-games__game-types-section, 
.page-fishing-games__guide-section, 
.page-fishing-games__promotions-section, 
.page-fishing-games__faq-section, 
.page-fishing-games__final-cta-section {
  padding: 80px 0;
  background-color: var(--background-dark);
}

.page-fishing-games__content-wrapper {
  display: flex;
  gap: 40px;
  align-items: center;
  margin-bottom: 40px;
}

.page-fishing-games__content-wrapper:nth-of-type(even) {
  flex-direction: row-reverse;
}

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

.page-fishing-games__image-wrapper {
  flex: 1;
  min-width: 300px;
  text-align: center;
}

.page-fishing-games__content-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-color);
  display: block;
  margin: 0 auto;
}

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

.page-fishing-games__feature-item {
  background-color: var(--card-background);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-color);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-fishing-games__feature-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

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

.page-fishing-games__feature-description {
  color: var(--text-light);
}

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

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

.page-fishing-games__game-card {
  background-color: var(--card-background);
  padding: 25px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-color);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-fishing-games__game-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.page-fishing-games__game-card-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  border: 1px solid var(--border-color);
  display: block;
}

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

.page-fishing-games__game-card-description {
  color: var(--text-light);
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-fishing-games__game-card-button {
  width: 100%;
}

.page-fishing-games__guide-content {
  display: flex;
  gap: 40px;
  align-items: flex-start;
}

.page-fishing-games__guide-steps {
  flex: 2;
}

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

.page-fishing-games__ordered-list {
  list-style-type: decimal;
  color: var(--text-light);
  padding-left: 25px;
  margin-bottom: 20px;
}

.page-fishing-games__list-item {
  margin-bottom: 10px;
  font-size: 1.1em;
  color: var(--text-light);
}

.page-fishing-games__promotions-content {
  flex-direction: row-reverse;
}

.page-fishing-games__promotions-list {
  list-style-type: disc;
  color: var(--text-light);
  padding-left: 20px;
  margin-top: 20px;
  margin-bottom: 30px;
}

.page-fishing-games__promotions-button {
  display: inline-block;
}

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

.page-fishing-games__faq-item {
  background-color: var(--card-background);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: var(--text-light);
}

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

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

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

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

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

.page-fishing-games__faq-answer {
  padding: 0 25px 20px;
  font-size: 1em;
  line-height: 1.6;
  color: var(--text-light);
}

.page-fishing-games__final-cta-section {
  text-align: center;
  padding: 100px 0;
}

.page-fishing-games__final-cta-button {
  margin-top: 40px;
}

/* --- Responsive Styles --- */

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

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

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

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

  .page-fishing-games__content-wrapper:nth-of-type(even) {
    flex-direction: column;
  }

  .page-fishing-games__guide-content {
    flex-direction: column;
  }

  .page-fishing-games__guide-image, .page-fishing-games__image-wrapper {
    order: -1; /* Image above text for column layout */
  }

  .page-fishing-games__promotions-content {
    flex-direction: column;
  }

  .page-fishing-games__promotions-content .page-fishing-games__image-wrapper {
    order: -1;
  }

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

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

  .page-fishing-games__hero-content-container {
    margin-top: -50px; /* Adjust overlap for mobile */
    padding: 15px;
  }

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

  .page-fishing-games__hero-title {
    font-size: 2.2em;
    max-width: 100%;
  }

  .page-fishing-games__hero-description {
    font-size: 1em;
    max-width: 100%;
  }

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

  .page-fishing-games__section-title {
    font-size: 1.8em;
    margin-bottom: 20px;
    max-width: 100%;
  }

  .page-fishing-games__section-description,
  .page-fishing-games__paragraph,
  .page-fishing-games__list-item,
  .page-fishing-games__feature-description,
  .page-fishing-games__game-card-description,
  .page-fishing-games__faq-answer p {
    font-size: 0.95em;
  }

  .page-fishing-games__introduction-section,
  .page-fishing-games__why-choose-section,
  .page-fishing-games__game-types-section,
  .page-fishing-games__guide-section,
  .page-fishing-games__promotions-section,
  .page-fishing-games__faq-section,
  .page-fishing-games__final-cta-section {
    padding: 40px 0;
  }

  /* 产品展示图区域 - 适用于 features-grid, game-cards-grid */
  .page-fishing-games__features-grid,
  .page-fishing-games__game-cards-grid {
    grid-template-columns: 1fr; /* Single column layout for cards */
    gap: 20px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 0 15px;
  }

  .page-fishing-games__feature-item,
  .page-fishing-games__game-card {
    padding: 20px;
  }

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

  .page-fishing-games__image-wrapper,
  .page-fishing-games__content-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    padding: 0 15px;
  }

  /* 按钮与按钮容器 */
  .page-fishing-games__hero-button,
  .page-fishing-games__btn-primary,
  .page-fishing-games__game-card-button,
  .page-fishing-games__promotions-button,
  .page-fishing-games__final-cta-button {
    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__final-cta-section .page-fishing-games__container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .page-fishing-games__hero-content-container .page-fishing-games__hero-button,
  .page-fishing-games__game-card .page-fishing-games__game-card-button,
  .page-fishing-games__promotions-section .page-fishing-games__promotions-button,
  .page-fishing-games__final-cta-section .page-fishing-games__final-cta-button {
    margin-left: auto;
    margin-right: auto;
    display: block;
  }

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

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