/* style/fishing-games.css */
:root {
  --primary-color: #C91F17;
  --secondary-color: #E53935;
  --button-gradient: linear-gradient(180deg, #FFD86A 0%, #E6B800 100%);
  --card-bg: #D32F2F;
  --background-color: #B71C1C;
  --text-main-color: #FFF5E1;
  --border-color: #F2B544;
  --glow-color: #FFCC66;
  --gold-color: #F4D34D;
  --deep-red-color: #7A0E0E;
}

.page-fishing-games {
  font-family: Arial, sans-serif;
  color: #333333; /* Default text color for light body background */
  line-height: 1.6;
}

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

/* Hero Section */
.page-fishing-games__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 10px; /* Small top padding, assuming body has --header-offset */
  padding-bottom: 40px;
  color: var(--text-main-color);
  background-color: var(--deep-red-color);
  overflow: hidden;
}

.page-fishing-games__hero-image-wrapper {
  width: 100%;
  max-height: 600px;
  overflow: hidden;
}

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

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

.page-fishing-games__hero-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 15px;
  color: var(--gold-color);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

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

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

/* General Section Styling */
.page-fishing-games__section-title {
  font-size: 2.5em;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 20px;
  font-weight: 700;
}

.page-fishing-games__section-description {
  font-size: 1.1em;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 30px auto;
  color: #555555;
}

.page-fishing-games__introduction-section,
.page-fishing-games__features-section,
.page-fishing-games__guide-section,
.page-fishing-games__strategy-section,
.page-fishing-games__promotions-section,
.page-fishing-games__why-choose-section,
.page-fishing-games__faq-section,
.page-fishing-games__cta-section {
  padding: 60px 0;
  background-color: #ffffff;
  color: #333333;
}

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

.page-fishing-games__introduction-section .page-fishing-games__section-title {
  color: var(--gold-color);
}

.page-fishing-games__introduction-section .page-fishing-games__section-description {
  color: var(--text-main-color);
}

/* 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;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%;
}

.page-fishing-games__btn-primary {
  background: var(--button-gradient);
  color: #333333;
  border: 2px solid var(--border-color);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-fishing-games__btn-primary:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.page-fishing-games__btn-secondary {
  background: var(--deep-red-color);
  color: var(--text-main-color);
  border: 2px solid var(--border-color);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-fishing-games__btn-secondary:hover {
  background: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.page-fishing-games__btn-small {
  padding: 10px 20px;
  font-size: 0.9em;
  border-radius: 5px;
  background: var(--button-gradient);
  color: #333333;
  border: 1px solid var(--border-color);
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%;
}

.page-fishing-games__btn-small:hover {
  filter: brightness(1.1);
  transform: translateY(-1px);
}

.page-fishing-games__btn-large {
  min-width: 200px;
}

/* Popular Games Section */
.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: var(--card-bg);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  padding-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--text-main-color);
}

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

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

.page-fishing-games__game-desc {
  font-size: 1em;
  color: var(--text-main-color);
  padding: 0 15px;
  margin-bottom: 20px;
  flex-grow: 1;
}

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

.page-fishing-games__feature-item {
  background-color: #f9f9f9;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

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

.page-fishing-games__feature-description {
  font-size: 1em;
  color: #666666;
}

.page-fishing-games__feature-image {
  width: 100%;
  height: auto;
  max-height: 300px;
  object-fit: cover;
  border-radius: 8px;
  margin: 20px 0;
  display: block;
}

/* Guide Section */
.page-fishing-games__guide-list {
  list-style-type: decimal;
  padding-left: 25px;
  max-width: 800px;
  margin: 30px auto;
  text-align: left;
}

.page-fishing-games__guide-list li {
  font-size: 1.1em;
  margin-bottom: 15px;
  color: #444444;
}

.page-fishing-games__guide-list li strong {
  color: var(--primary-color);
}

/* Strategy Section */
.page-fishing-games__strategy-list {
  list-style-type: disc;
  padding-left: 25px;
  max-width: 800px;
  margin: 30px auto;
  text-align: left;
}

.page-fishing-games__strategy-list li {
  font-size: 1.1em;
  margin-bottom: 10px;
  color: #444444;
}

/* Promotions Section */
.page-fishing-games__promotion-image {
  width: 100%;
  height: auto;
  max-height: 400px;
  object-fit: cover;
  border-radius: 10px;
  margin: 30px auto;
  display: block;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.page-fishing-games__promotion-list {
  list-style-type: none;
  padding: 0;
  margin: 30px auto;
  max-width: 800px;
  text-align: center;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.page-fishing-games__promotion-list li {
  background-color: var(--card-bg);
  color: var(--text-main-color);
  padding: 15px 20px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  font-size: 1.1em;
  flex: 1 1 calc(50% - 20px);
  min-width: 280px;
}

/* Why Choose Section */
.page-fishing-games__why-choose-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-fishing-games__why-choose-item {
  background-color: var(--card-bg);
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  text-align: center;
  color: var(--text-main-color);
}

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

.page-fishing-games__why-choose-description {
  font-size: 1em;
  color: var(--text-main-color);
}

/* FAQ Section */
.page-fishing-games__faq-list {
  max-width: 800px;
  margin: 30px auto;
}

.page-fishing-games__faq-item {
  background-color: #f9f9f9;
  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;
  color: var(--primary-color);
  cursor: pointer;
  background-color: #ffffff;
  list-style: none;
  -webkit-touch-callout: none; /* iOS Safari */
  -webkit-user-select: none;   /* Safari */
  -khtml-user-select: none;    /* Konqueror HTML */
  -moz-user-select: none;      /* Old versions of Firefox */
  -ms-user-select: none;       /* Internet Explorer/Edge */
  user-select: none;           /* Non-prefixed version, currently supported by Chrome, Edge, Opera and Firefox */
}

.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;
  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 25px;
  font-size: 1.05em;
  color: #555555;
}

.page-fishing-games__faq-image {
  width: 100%;
  max-width: 600px;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* CTA Section */
.page-fishing-games__cta-section {
  text-align: center;
  background-color: var(--background-color);
  color: var(--text-main-color);
}

.page-fishing-games__cta-section .page-fishing-games__section-title {
  color: var(--gold-color);
}

.page-fishing-games__cta-section .page-fishing-games__section-description {
  color: var(--text-main-color);
}

.page-fishing-games__cta-image {
  width: 100%;
  max-width: 800px;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

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

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

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

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

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

  .page-fishing-games__promotion-list li {
    flex: 1 1 calc(100% - 20px);
  }
}

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

  .page-fishing-games__hero-title {
    font-size: clamp(1.8rem, 7vw, 2.5rem);
    line-height: 1.3;
  }

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

  .page-fishing-games__hero-buttons {
    flex-direction: column;
    gap: 15px;
    width: 100%;
    padding: 0 15px;
    box-sizing: border-box;
  }

  .page-fishing-games__btn-primary,
  .page-fishing-games__btn-secondary,
  .page-fishing-games__btn-large {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto;
  }

  /* 产品展示图区域 */
  .page-fishing-games__games-grid {
    grid-template-columns: 1fr;
    padding: 0 15px;
    box-sizing: border-box;
    overflow-x: hidden;
  }

  .page-fishing-games__game-card {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
  }

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

  .page-fishing-games__container,
  .page-fishing-games__section,
  .page-fishing-games__card,
  .page-fishing-games__feature-item,
  .page-fishing-games__why-choose-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* 按钮与按钮容器 */
  .page-fishing-games__cta-button,
  .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__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;
  }

  /* 其他内容模块 */
  .page-fishing-games__section-title {
    font-size: 1.8em;
  }

  .page-fishing-games__section-description,
  .page-fishing-games__guide-list li,
  .page-fishing-games__strategy-list li,
  .page-fishing-games__promotion-list li,
  .page-fishing-games__faq-answer p {
    font-size: 1em;
    text-align: left;
  }

  .page-fishing-games__features-grid,
  .page-fishing-games__why-choose-grid {
    grid-template-columns: 1fr;
    padding: 0 15px;
    box-sizing: border-box;
  }

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

  .page-fishing-games__faq-image {
    margin: 20px auto;
  }

  .page-fishing-games__promotion-list {
    flex-direction: column;
    padding: 0 15px;
    box-sizing: border-box;
  }
}

@media (max-width: 480px) {
  .page-fishing-games__hero-title {
    font-size: clamp(1.5rem, 8vw, 2rem);
  }

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

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