/* Base styles for the page-fishing-games */
.page-fishing-games {
  font-family: 'Arial', sans-serif;
  color: #333333; /* Default text color for light backgrounds */
  background-color: #F5F7FA; /* Custom background color */
}

/* Section spacing */
.page-fishing-games__section-spacing {
  padding: 60px 0;
}

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

/* Section Titles */
.page-fishing-games__section-title {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  text-align: center;
  margin-bottom: 20px;
  color: #E53935; /* Brand primary color for titles */
  line-height: 1.2;
}

.page-fishing-games__section-title--white {
  color: #ffffff;
}

.page-fishing-games__section-subtitle {
  font-size: clamp(16px, 2vw, 20px);
  text-align: center;
  margin-bottom: 40px;
  color: #333333;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Buttons */
.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 18px;
  transition: all 0.3s ease;
  text-align: center;
  cursor: pointer;
  border: none;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-fishing-games__btn-primary {
  background: linear-gradient(180deg, #FF5A4F 0%, #E53935 100%); /* Custom button gradient */
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(229, 57, 53, 0.3);
}

.page-fishing-games__btn-primary:hover {
  background: linear-gradient(180deg, #E53935 0%, #FF5A4F 100%);
  box-shadow: 0 6px 20px rgba(229, 57, 53, 0.4);
}

.page-fishing-games__btn-secondary {
  background: #ffffff;
  color: #E53935;
  border: 2px solid #E53935;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-fishing-games__btn-secondary:hover {
  background: #E53935;
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(229, 57, 53, 0.2);
}

/* Hero Section */
.page-fishing-games__hero-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding-top: 10px; /* Small top padding */
  background-color: #0a0a0a;
}

.page-fishing-games__hero-image-wrapper {
  width: 100%;
  height: auto;
}

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

.page-fishing-games__hero-content {
  position: relative;
  padding: 40px 20px 60px;
  text-align: center;
  color: #ffffff;
  max-width: 900px;
  margin: 0 auto;
  z-index: 1;
}

.page-fishing-games__hero-title {
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #ffffff; /* White text for hero title */
}

.page-fishing-games__hero-description {
  font-size: clamp(18px, 2.5vw, 24px);
  margin-bottom: 30px;
  line-height: 1.5;
  color: #f0f0f0;
}

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

/* About Section */
.page-fishing-games__about-section {
  background-color: #ffffff;
}

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

.page-fishing-games__text-block {
  flex: 1;
  font-size: 17px;
  line-height: 1.7;
  color: #333333;
}

.page-fishing-games__text-block p {
  margin-bottom: 15px;
}

.page-fishing-games__image-block {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-fishing-games__image-responsive {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

/* Games Section */
.page-fishing-games__games-section {
  background-color: #F5F7FA; /* Custom background color */
}

.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: #ffffff; /* Card BG */
  border: 1px solid #E0E0E0; /* Border color */
  border-radius: 12px;
  overflow: hidden;
  text-align: center;
  padding-bottom: 25px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

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

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

.page-fishing-games__game-title {
  font-size: 22px;
  font-weight: 700;
  color: #E53935;
  margin-bottom: 10px;
  padding: 0 15px;
}

.page-fishing-games__game-description {
  font-size: 15px;
  color: #333333;
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
  padding: 0 15px;
}

.page-fishing-games__card-button {
  display: inline-block;
  padding: 10px 25px;
  background: linear-gradient(180deg, #FF5A4F 0%, #E53935 100%);
  color: #ffffff;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s ease;
  margin-top: auto;
}

.page-fishing-games__card-button:hover {
  background: linear-gradient(180deg, #E53935 0%, #FF5A4F 100%);
}

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

/* Benefits Section */
.page-fishing-games__benefits-section {
  background-color: #E53935; /* Primary brand color for dark background */
  color: #ffffff;
}

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

.page-fishing-games__benefit-item {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-fishing-games__benefit-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 15px;
  color: #ffffff;
}

.page-fishing-games__benefit-item p {
  font-size: 16px;
  line-height: 1.7;
  color: #f0f0f0;
}

/* Strategy Section */
.page-fishing-games__strategy-section {
  background-color: #ffffff;
}

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

.page-fishing-games__strategy-item {
  background: #ffffff;
  border: 1px solid #E0E0E0;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.page-fishing-games__strategy-title {
  font-size: 20px;
  font-weight: 700;
  color: #E53935;
  margin-bottom: 15px;
}

.page-fishing-games__strategy-item p {
  font-size: 16px;
  line-height: 1.7;
  color: #333333;
}

/* Call to Action Section (Mid-page) */
.page-fishing-games__cta-section {
  background-color: #E53935;
  color: #ffffff;
  text-align: center;
}

.page-fishing-games__cta-description {
  font-size: clamp(18px, 2.5vw, 22px);
  max-width: 800px;
  margin: 0 auto 40px;
  line-height: 1.5;
  color: #f0f0f0;
}

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

/* FAQ Section */
.page-fishing-games__faq-section {
  background-color: #F5F7FA;
}

.page-fishing-games__faq-list {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

details.page-fishing-games__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #E0E0E0; /* Border color */
  overflow: hidden;
  background: #ffffff; /* Card BG */
}

details.page-fishing-games__faq-item summary.page-fishing-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
}

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

details.page-fishing-games__faq-item summary.page-fishing-games__faq-question:hover {
  background: #f5f5f5;
}

.page-fishing-games__faq-qtext {
  flex: 1;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #333333;
}

.page-fishing-games__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #666;
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}

details.page-fishing-games__faq-item .page-fishing-games__faq-answer {
  padding: 0 20px 20px;
  background: #f9f9f9;
  border-radius: 0 0 5px 5px;
}

.page-fishing-games__faq-answer p {
  font-size: 15px;
  line-height: 1.7;
  color: #333333;
}

/* Footer CTA Section */
.page-fishing-games__footer-cta {
  background-color: #E53935;
  color: #ffffff;
  text-align: center;
}

.page-fishing-games__footer-cta-content {
  max-width: 800px;
}

.page-fishing-games__footer-cta-title {
  font-size: clamp(28px, 4vw, 38px);
  font-weight: 700;
  margin-bottom: 20px;
  color: #ffffff;
}

.page-fishing-games__footer-cta-description {
  font-size: clamp(16px, 2vw, 20px);
  margin-bottom: 40px;
  line-height: 1.6;
  color: #f0f0f0;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-fishing-games__hero-title {
    font-size: clamp(32px, 4.5vw, 55px);
  }
  .page-fishing-games__hero-description {
    font-size: clamp(16px, 2.2vw, 22px);
  }
  .page-fishing-games__section-spacing {
    padding: 50px 0;
  }
  .page-fishing-games__content-wrapper {
    flex-direction: column;
    gap: 30px;
  }
  .page-fishing-games__image-block {
    order: -1; /* Image appears above text on smaller screens */
  }
  .page-fishing-games__games-grid,
  .page-fishing-games__benefits-grid,
  .page-fishing-games__strategy-content {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

@media (max-width: 849px) {
  .page-fishing-games__hero-image {
    object-fit: contain !important; /* Prevent cropping on smaller screens */
    aspect-ratio: unset !important;
    height: auto !important;
  }
}

@media (max-width: 768px) {
  .page-fishing-games__section-spacing {
    padding: 40px 0;
  }
  .page-fishing-games__container {
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  /* HERO 主图区域 */
  .page-fishing-games__hero-section {
    padding-top: 10px; /* Small top padding */
  }
  .page-fishing-games__hero-image-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-fishing-games__hero-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    object-fit: contain !important; /* Force contain for mobile hero */
    aspect-ratio: unset !important;
  }
  .page-fishing-games__hero-content {
    padding: 30px 15px 40px;
  }
  .page-fishing-games__hero-title {
    font-size: clamp(28px, 8vw, 40px); /* Adjust clamp for mobile H1 */
  }
  .page-fishing-games__hero-description {
    font-size: clamp(16px, 4vw, 20px);
  }
  .page-fishing-games__hero-cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-fishing-games__btn-primary,
  .page-fishing-games__btn-secondary {
    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__games-grid {
    grid-template-columns: 1fr 1fr; /* 2 columns for mobile */
    gap: 20px;
    overflow-x: hidden;
  }
  .page-fishing-games__game-image {
    height: 150px;
  }

  /* 装饰主标题 + 长文 SEO 区 */
  .page-fishing-games__section-title {
    font-size: clamp(24px, 7vw, 32px);
    margin-bottom: 15px;
  }
  .page-fishing-games__section-subtitle {
    font-size: clamp(15px, 4vw, 18px);
    margin-bottom: 30px;
  }
  .page-fishing-games__content-wrapper {
    flex-direction: column;
  }
  .page-fishing-games__text-block,
  .page-fishing-games__image-block {
    flex: none;
    width: 100%;
  }
  .page-fishing-games__text-block p {
    font-size: 15px;
  }

  /* 通用图片与容器 */
  .page-fishing-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-fishing-games__image-responsive {
    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;
  }

  /* 按钮与按钮容器 */
  .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;
    flex-wrap: wrap !important;
    gap: 10px;
  }
  .page-fishing-games__cta-buttons {
    flex-direction: column; /* Stack buttons vertically on mobile */
  }

  /* FAQ specific mobile styles */
  details.page-fishing-games__faq-item summary.page-fishing-games__faq-question { padding: 15px; }
  .page-fishing-games__faq-qtext { font-size: 15px; }
  details.page-fishing-games__faq-item .page-fishing-games__faq-answer { padding: 0 15px 15px; }

  .page-fishing-games__footer-cta-title {
    font-size: clamp(24px, 7vw, 32px);
  }
  .page-fishing-games__footer-cta-description {
    font-size: clamp(15px, 4vw, 18px);
  }
}