/* BEM Naming: page-fishing-games__element-name */

/* General Styles for page-fishing-games scope */
.page-fishing-games {
  font-family: 'Arial', sans-serif;
  color: #1F2D3D; /* Text Main */
  background-color: #F4F7FB; /* Background */
  line-height: 1.6;
}

.page-fishing-games__section {
  padding: 60px 0;
  position: relative;
}

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

.page-fishing-games__section-title {
  font-size: 36px;
  font-weight: 700;
  color: #1F2D3D; /* Text Main */
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 10px;
}

.page-fishing-games__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #2F6BFF, #6FA3FF);
  border-radius: 2px;
}

.page-fishing-games__text-block {
  font-size: 16px;
  line-height: 1.7;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 30px;
  color: #1F2D3D;
}

.page-fishing-games__keyword-highlight {
  color: #2F6BFF;
  font-weight: 600;
}

.page-fishing-games a {
  color: #2F6BFF;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-fishing-games a:hover {
  color: #6FA3FF;
}

/* Buttons */
.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 30px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  text-decoration: none;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-fishing-games__btn-primary {
  background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
  color: #FFFFFF; /* White text for primary button */
  border: none;
  box-shadow: 0 4px 15px rgba(47, 107, 255, 0.4);
}

.page-fishing-games__btn-primary:hover {
  background: linear-gradient(180deg, #2F6BFF 0%, #4A8BFF 100%);
  box-shadow: 0 6px 20px rgba(47, 107, 255, 0.6);
}

.page-fishing-games__btn-secondary {
  background: #FFFFFF; /* Card BG */
  color: #2F6BFF; /* Main Color */
  border: 2px solid #2F6BFF; /* Main Color */
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-fishing-games__btn-secondary:hover {
  background: #2F6BFF;
  color: #FFFFFF;
  border-color: #2F6BFF;
  box-shadow: 0 4px 15px rgba(47, 107, 255, 0.4);
}

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

/* Card Styles */
.page-fishing-games__card {
  background-color: #FFFFFF; /* Card BG */
  border: 1px solid #D6E2FF; /* Border */
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #1F2D3D; /* Text Main */
}

.page-fishing-games__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

.page-fishing-games img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* HERO Section */
.page-fishing-games__hero-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 10px; /* Small top padding, not var(--header-offset) */
  background-color: #F4F7FB; /* Background */
}

.page-fishing-games__hero-image {
  width: 100%;
  max-height: 600px; /* Limit height for desktop */
  overflow: hidden;
}

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

.page-fishing-games__hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  padding: 40px 20px 60px;
  max-width: 900px;
  margin-top: -100px; /* Overlap slightly with image */
  background-color: #FFFFFF; /* Card BG */
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.page-fishing-games__main-title {
  font-size: clamp(32px, 4.5vw, 56px);
  font-weight: 800;
  color: #1F2D3D; /* Text Main */
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-fishing-games__hero-description {
  font-size: 18px;
  color: #1F2D3D; /* Text Main */
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-fishing-games__advantage-item {
  text-align: center;
  padding: 30px;
}

.page-fishing-games__advantage-icon {
  width: 100%; /* Ensure images are large, not icons */
  height: auto;
  max-width: 400px; /* Example size, min 200x200 */
  margin: 0 auto 20px;
  border-radius: 8px;
  object-fit: cover;
}

.page-fishing-games__advantage-title {
  font-size: 22px;
  font-weight: 700;
  color: #2F6BFF;
  margin-bottom: 15px;
}

.page-fishing-games__advantage-description {
  font-size: 15px;
  color: #1F2D3D;
}

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

.page-fishing-games__game-card {
  text-align: center;
  padding: 25px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

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

.page-fishing-games__game-title {
  font-size: 24px;
  font-weight: 700;
  color: #2F6BFF;
  margin-bottom: 10px;
}

.page-fishing-games__game-description {
  font-size: 15px;
  color: #1F2D3D;
  margin-bottom: 20px;
  flex-grow: 1;
}

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

/* How To Play Section */
.page-fishing-games__how-to-play-section {
  background-color: #2F6BFF; /* Main Color */
  color: #FFFFFF;
}

.page-fishing-games__how-to-play-section .page-fishing-games__section-title,
.page-fishing-games__how-to-play-section .page-fishing-games__text-block {
  color: #FFFFFF;
}

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

.page-fishing-games__guide-item {
  background-color: #FFFFFF; /* Card BG */
  color: #1F2D3D; /* Text Main */
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  position: relative;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.page-fishing-games__step-number {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #6FA3FF; /* Auxiliary Color */
  color: #FFFFFF;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 700;
  border: 4px solid #F4F7FB; /* Background */
}

.page-fishing-games__step-title {
  font-size: 20px;
  font-weight: 700;
  color: #2F6BFF;
  margin-top: 20px;
  margin-bottom: 10px;
}

.page-fishing-games__step-description {
  font-size: 15px;
  color: #1F2D3D;
  margin-bottom: 0;
}

.page-fishing-games__article-figure {
  margin: 40px auto 0;
  max-width: 800px;
  text-align: center;
  background-color: #FFFFFF;
  padding: 15px;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.page-fishing-games__article-figure img {
  border-radius: 8px;
  margin-bottom: 10px;
}

.page-fishing-games__article-figure figcaption {
  font-size: 14px;
  color: #1F2D3D;
}

/* Tips Section */
.page-fishing-games__tips-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-fishing-games__tips-item {
  background-color: #FFFFFF; /* Card BG */
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  border: 1px solid #D6E2FF;
}

.page-fishing-games__tips-subtitle {
  font-size: 20px;
  font-weight: 700;
  color: #2F6BFF;
  margin-bottom: 10px;
}

.page-fishing-games__tips-item p {
  font-size: 15px;
  color: #1F2D3D;
  margin-bottom: 0;
}

/* Promotions Section */
.page-fishing-games__promotions-section {
  background-color: #F4F7FB; /* Background */
}

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

.page-fishing-games__promo-item {
  background-color: #FFFFFF; /* Card BG */
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  border: 1px solid #D6E2FF;
}

.page-fishing-games__promo-title {
  font-size: 20px;
  font-weight: 700;
  color: #2F6BFF;
  margin-bottom: 10px;
}

.page-fishing-games__promo-item p {
  font-size: 15px;
  color: #1F2D3D;
  margin-bottom: 0;
}

.page-fishing-games__promo-cta {
  margin-top: 50px;
}

/* FAQ Section */
.page-fishing-games__faq-list {
  margin-top: 40px;
}

details.page-fishing-games__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  border: 1px solid #D6E2FF; /* Border */
  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 25px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
  color: #1F2D3D; /* Text Main */
}

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: #F4F7FB; /* Background */
}

.page-fishing-games__faq-qtext {
  flex: 1;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #1F2D3D; /* Text Main */
}

.page-fishing-games__faq-toggle {
  font-size: 26px;
  font-weight: bold;
  color: #2F6BFF; /* Main Color */
  flex-shrink: 0;
  margin-left: 15px;
  width: 30px;
  text-align: center;
}

details.page-fishing-games__faq-item .page-fishing-games__faq-answer {
  padding: 0 25px 25px;
  background: #F4F7FB; /* Background */
  border-radius: 0 0 8px 8px;
  color: #1F2D3D; /* Text Main */
}

details.page-fishing-games__faq-item .page-fishing-games__faq-answer p {
  margin-bottom: 0;
  font-size: 15px;
}

/* Conclusion CTA Section */
.page-fishing-games__conclusion-cta {
  background-color: #2F6BFF; /* Main Color */
  color: #FFFFFF;
  text-align: center;
}

.page-fishing-games__conclusion-cta .page-fishing-games__section-title,
.page-fishing-games__conclusion-cta .page-fishing-games__text-block {
  color: #FFFFFF;
}

/* Media Queries for Responsive Design */

@media (max-width: 1024px) {
  .page-fishing-games__section-title {
    font-size: 32px;
  }

  .page-fishing-games__hero-content {
    margin-top: -80px;
    padding: 30px 20px 50px;
  }

  .page-fishing-games__main-title {
    font-size: clamp(30px, 4vw, 48px);
  }

  .page-fishing-games__hero-description {
    font-size: 16px;
  }

  .page-fishing-games__advantages-grid,
  .page-fishing-games__game-grid,
  .page-fishing-games__guide-steps,
  .page-fishing-games__tips-list,
  .page-fishing-games__promo-list {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
  }

  .page-fishing-games__guide-item {
    padding: 25px;
  }

  .page-fishing-games__step-title {
    font-size: 19px;
  }

  .page-fishing-games__faq-qtext {
    font-size: 16px;
  }
}

@media (max-width: 768px) {
  /* General mobile adaptations */
  .page-fishing-games__section {
    padding: 40px 0;
  }

  .page-fishing-games__container {
    padding: 0 15px !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-fishing-games__section-title {
    font-size: clamp(24px, 6vw, 30px);
    margin-bottom: 30px;
  }

  .page-fishing-games__text-block {
    font-size: 15px;
    margin-bottom: 20px;
    text-align: left;
  }

  /* Hero Section Mobile */
  .page-fishing-games__hero-section {
    padding-top: 10px; /* Specific small top padding */
  }

  .page-fishing-games__hero-image img {
    object-fit: contain !important; /* HERO主图区域 mobile contain */
    aspect-ratio: unset !important;
    height: auto !important;
  }

  .page-fishing-games__hero-content {
    margin-top: -50px;
    padding: 25px 15px 40px;
    border-radius: 10px;
  }

  .page-fishing-games__main-title {
    font-size: clamp(28px, 7vw, 36px);
    margin-bottom: 15px;
  }

  .page-fishing-games__hero-description {
    font-size: 15px;
    margin-bottom: 25px;
  }

  .page-fishing-games__cta-buttons {
    flex-direction: column; /* Buttons stack vertically */
    gap: 15px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 0 15px;
  }

  .page-fishing-games__btn-primary,
  .page-fishing-games__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 16px;
  }

  /* Advantages Section Mobile */
  .page-fishing-games__advantages-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-fishing-games__advantage-item {
    padding: 25px;
  }

  .page-fishing-games__advantage-title {
    font-size: 20px;
  }

  /* Popular Games Section Mobile */
  .page-fishing-games__popular-games-section {
    overflow-x: hidden; /* Prevent horizontal scroll */
  }

  .page-fishing-games__game-grid {
    grid-template-columns: 1fr 1fr; /* Products 2 columns */
    gap: 15px;
  }

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

  .page-fishing-games__game-image {
    height: 150px;
    margin-bottom: 15px;
  }

  .page-fishing-games__game-title {
    font-size: 18px;
  }

  .page-fishing-games__game-description {
    font-size: 14px;
  }

  /* How To Play Section Mobile */
  .page-fishing-games__guide-steps {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-fishing-games__guide-item {
    padding: 25px 20px;
  }

  .page-fishing-games__step-number {
    width: 45px;
    height: 45px;
    font-size: 22px;
    top: -15px;
  }

  .page-fishing-games__step-title {
    font-size: 18px;
    margin-top: 15px;
  }

  .page-fishing-games__article-figure {
    margin: 30px auto 0;
    padding: 10px;
  }

  .page-fishing-games__article-figure figcaption {
    font-size: 13px;
  }

  /* Tips Section Mobile */
  .page-fishing-games__tips-list {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-fishing-games__tips-item {
    padding: 25px;
  }

  .page-fishing-games__tips-subtitle {
    font-size: 19px;
  }

  /* Promotions Section Mobile */
  .page-fishing-games__promo-list {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-fishing-games__promo-item {
    padding: 25px;
  }

  .page-fishing-games__promo-title {
    font-size: 19px;
  }

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

  /* FAQ Section Mobile */
  details.page-fishing-games__faq-item summary.page-fishing-games__faq-question {
    padding: 15px 18px;
  }

  .page-fishing-games__faq-qtext {
    font-size: 15px;
  }

  .page-fishing-games__faq-toggle {
    font-size: 22px;
    width: 25px;
    margin-left: 10px;
  }

  details.page-fishing-games__faq-item .page-fishing-games__faq-answer {
    padding: 0 18px 18px;
  }

  /* Universal Image and Container Mobile Adaptations */
  .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 and padding-right already handled by .page-fishing-games__container */
  }
}