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

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

.page-fishing-games__section-title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  margin-bottom: 30px;
  text-align: center;
  line-height: 1.3;
  color: #000000; /* Custom Color_1776249996415 */
}

.page-fishing-games__text-main {
  color: #1F2D3D;
}

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

.page-fishing-games__dark-bg {
  background: #2F6BFF; /* Primary color */
  color: #ffffff;
}

.page-fishing-games__light-bg {
  background: #F4F7FB; /* Background color */
  color: #1F2D3D;
}

.page-fishing-games__card {
  background: #FFFFFF; /* Card BG */
  border: 1px solid #D6E2FF; /* Border */
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  padding: 25px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

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

.page-fishing-games__card-title {
  font-size: clamp(20px, 2.5vw, 24px);
  font-weight: 600;
  margin-bottom: 10px;
  color: #1F2D3D;
}

.page-fishing-games__card-description {
  font-size: 16px;
  color: #1F2D3D;
  flex-grow: 1;
}

.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  text-align: center;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
  max-width: 100%;
}

.page-fishing-games__btn-primary {
  background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%); /* Button color */
  color: #ffffff;
  border: 2px solid transparent;
}

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

.page-fishing-games__btn-secondary {
  background: #ffffff;
  color: #2F6BFF; /* Primary color */
  border: 2px solid #2F6BFF; /* Primary color */
}

.page-fishing-games__btn-secondary:hover {
  background: #F4F7FB;
  color: #1F2D3D;
  border-color: #1F2D3D;
}

.page-fishing-games__btn-small {
  padding: 8px 18px;
  font-size: 14px;
  margin-top: 15px;
}

/* Hero Section */
.page-fishing-games__hero-section {
  padding-top: 10px; /* Small top padding, body handles header offset */
  position: relative;
  overflow: hidden;
  min-height: 550px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.page-fishing-games__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

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

.page-fishing-games__hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: #ffffff;
  max-width: 800px;
  padding: 40px 20px;
  background: rgba(0, 0, 0, 0.4); /* Dark overlay for text readability */
  border-radius: 10px;
}

.page-fishing-games__main-title {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #ffffff;
}

.page-fishing-games__description {
  font-size: clamp(16px, 2vw, 20px);
  margin-bottom: 30px;
  color: #f0f0f0;
}

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

/* Intro Section */
.page-fishing-games__intro-section {
  padding: 60px 20px;
}

/* Why Choose Section */
.page-fishing-games__why-choose-section {
  padding: 80px 20px;
}

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

/* Highlight Features Section */
.page-fishing-games__highlight-features-section {
  padding: 60px 20px;
}

.page-fishing-games__feature-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
}

.page-fishing-games__feature-list li {
  background: #FFFFFF; /* Card BG */
  border: 1px solid #D6E2FF; /* Border */
  border-radius: 10px;
  padding: 25px;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.page-fishing-games__list-title {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 10px;
  color: #2F6BFF; /* Primary color */
}

/* How to Play Section */
.page-fishing-games__how-to-play-section {
  padding: 80px 20px;
}

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

/* Popular Games Section */
.page-fishing-games__popular-games-section {
  padding: 60px 20px;
}

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

/* Tips and Strategies Section */
.page-fishing-games__tips-strategies-section {
  padding: 80px 20px;
}

.page-fishing-games__strategy-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
}

.page-fishing-games__strategy-list li {
  background: rgba(255, 255, 255, 0.1); /* Semi-transparent white on dark bg */
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  padding: 25px;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.page-fishing-games__strategy-list .page-fishing-games__list-title {
  color: #6FA3FF; /* Secondary color for contrast */
}

/* Promotions Section */
.page-fishing-games__promotions-section {
  padding: 60px 20px;
}

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

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

/* FAQ Section */
details.page-fishing-games__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #D6E2FF; /* Border */
  overflow: hidden;
  background: #FFFFFF; /* Card BG */
  color: #1F2D3D;
}
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: 18px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #1F2D3D;
}
.page-fishing-games__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #2F6BFF; /* Primary color */
  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: #F4F7FB; /* Background color */
  border-radius: 0 0 5px 5px;
  color: #1F2D3D;
}
.page-fishing-games__faq-answer p {
  margin-bottom: 0;
  font-size: 16px;
}

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

/* Contact CTA Section */
.page-fishing-games__contact-cta-section {
  padding: 80px 20px;
  text-align: center;
}

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

/* Responsive Design */
@media (max-width: 1024px) {
  .page-fishing-games__container {
    padding: 15px;
  }
  .page-fishing-games__hero-content {
    padding: 30px 15px;
  }
  .page-fishing-games__main-title {
    font-size: clamp(32px, 4.5vw, 48px);
  }
  .page-fishing-games__description {
    font-size: clamp(15px, 1.8vw, 18px);
  }
  .page-fishing-games__section-title {
    font-size: clamp(26px, 3.5vw, 38px);
  }
  .page-fishing-games__feature-card,
  .page-fishing-games__step-card,
  .page-fishing-games__game-card,
  .page-fishing-games__promo-card {
    padding: 20px;
  }
  .page-fishing-games__card-title {
    font-size: clamp(18px, 2.2vw, 22px);
  }
  .page-fishing-games__list-title {
    font-size: 20px;
  }
}

@media (max-width: 768px) {
  /* HERO 主图区域 */
  .page-fishing-games__hero-section {
    padding-top: 10px; /* Small top padding, body handles header offset */
    min-height: 400px;
  }
  .page-fishing-games__hero-image img {
    object-fit: contain !important; /* 禁止 cover 裁切两侧 */
    aspect-ratio: unset !important; /* 移除固定比例 */
    width: 100% !important;
    height: auto !important;
  }
  .page-fishing-games__hero-content {
    padding: 20px 15px;
    background: rgba(0, 0, 0, 0.6); /* Tăng độ tương phản trên di động */
  }
  .page-fishing-games__main-title {
    font-size: clamp(28px, 8vw, 40px) !important;
    margin-bottom: 15px;
  }
  .page-fishing-games__description {
    font-size: clamp(14px, 4vw, 16px) !important;
    margin-bottom: 20px;
  }

  /* 产品展示图区域 & 其他网格 */
  .page-fishing-games__features-grid,
  .page-fishing-games__steps-grid,
  .page-fishing-games__games-grid,
  .page-fishing-games__promo-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    overflow-x: hidden;
  }

  /* 装饰主标题 + 长文 SEO 区 */
  .page-fishing-games__section-title {
    font-size: clamp(24px, 6vw, 32px) !important;
    margin-bottom: 20px;
    text-align: center;
  }
  .page-fishing-games__content-area {
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-fishing-games__article-body p {
    font-size: 15px;
  }

  /* 通用图片与容器 */
  .page-fishing-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-fishing-games__card-image {
    height: 200px; /* Cố định chiều cao cho card image trên mobile */
    object-fit: cover;
  }
  .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: 15px;
    padding-right: 15px;
  }

  /* 按钮与按钮容器 */
  .page-fishing-games__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .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;
  }

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

  /* General padding adjustment for sections */
  .page-fishing-games__intro-section,
  .page-fishing-games__why-choose-section,
  .page-fishing-games__highlight-features-section,
  .page-fishing-games__how-to-play-section,
  .page-fishing-games__popular-games-section,
  .page-fishing-games__tips-strategies-section,
  .page-fishing-games__promotions-section,
  .page-fishing-games__faq-section,
  .page-fishing-games__contact-cta-section {
    padding: 40px 15px;
  }
}