/* style/fishing-games.css */
/* 页面完整样式代码 - 注意：所有选择器必须使用BEM命名规则（双下划线__连接） */
:root {
  --primary-color: #FFD700; /* Gold/Yellow */
  --secondary-color: #1A202C; /* Dark Blue/Black */
  --text-light: #ffffff;
  --text-dark: #333333;
  --background-dark: #0a0a0a;
  --card-dark: #2a3342;
}

.page-fishing-games {
  color: var(--text-light); /* Body background is dark, so text is light */
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  background-color: var(--background-dark); /* Ensure consistency with body background */
}

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

/* 🚨 固定导航栏间距（必须严格遵守） */
.page-fishing-games__hero-section {
  padding-top: 120px; /* Desktop: Adjust based on actual header height */
  padding-bottom: 60px;
  background-color: var(--secondary-color); /* Primary brand color for hero */
  color: var(--text-light);
  text-align: center;
}

.page-fishing-games__main-title {
  font-size: 48px;
  font-weight: bold;
  margin-bottom: 20px;
  color: var(--primary-color); /* Auxiliary color for emphasis */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-fishing-games__hero-description {
  font-size: 18px;
  max-width: 800px;
  margin: 0 auto 40px auto;
  color: #f0f0f0;
}

.page-fishing-games__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

.page-fishing-games__cta-button {
  display: inline-block;
  padding: 15px 40px;
  text-decoration: none;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  border: none;
  cursor: pointer;
}

.page-fishing-games__btn-primary {
  background: var(--primary-color); /* Auxiliary color for primary CTA */
  color: var(--secondary-color); /* Dark text for contrast */
}

.page-fishing-games__btn-primary:hover {
  background: #e6c200;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.page-fishing-games__btn-secondary {
  background: transparent;
  color: var(--primary-color); /* Auxiliary color for text */
  border: 2px solid var(--primary-color);
}

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

.page-fishing-games__section-title {
  font-size: 36px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 40px;
  color: var(--primary-color); /* Auxiliary color for section titles */
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.page-fishing-games__section-description {
  font-size: 17px;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 50px auto;
  color: #f0f0f0;
}

/* General section styling */
.page-fishing-games__introduction-section,
.page-fishing-games__why-mp66-section,
.page-fishing-games__game-types-section,
.page-fishing-games__how-to-play-section,
.page-fishing-games__tips-section,
.page-fishing-games__promotions-section,
.page-fishing-games__responsible-gaming-section,
.page-fishing-games__faq-section {
  padding: 80px 0;
}

.page-fishing-games__dark-section {
  background-color: var(--secondary-color); /* Main brand dark color */
  color: var(--text-light);
}

.page-fishing-games__dark-bg {
  color: var(--text-light);
}

.page-fishing-games__light-bg {
  background-color: var(--text-light);
  color: var(--text-dark);
}

/* Content Grid */
.page-fishing-games__content-grid {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-bottom: 60px;
}

.page-fishing-games__content-grid:nth-child(even) {
  flex-direction: row-reverse;
}

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

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

.page-fishing-games__image-wrapper {
  flex: 1;
  text-align: center;
}

.page-fishing-games__image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  display: block; /* Ensure no extra space below image */
  margin: 0 auto;
}

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

.page-fishing-games__feature-card {
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  background-color: var(--card-dark); /* Slightly lighter dark for cards on dark section */
  color: var(--text-light);
}

.page-fishing-games__feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.page-fishing-games__card-image {
  width: 100%;
  max-width: 250px;
  height: auto;
  min-height: 200px; /* Enforce min size */
  object-fit: contain;
  margin: 0 auto 20px auto;
  display: block;
}

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

.page-fishing-games__feature-card p {
  font-size: 16px;
  line-height: 1.6;
}

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

/* Game Cards Grid */
.page-fishing-games__game-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 60px;
}

.page-fishing-games__game-card {
  background-color: var(--card-dark); /* Slightly lighter dark for cards on dark section */
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: var(--text-light);
}

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

.page-fishing-games__game-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency, object-fit will ensure image fills */
  object-fit: cover;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.page-fishing-games__game-title {
  font-size: 22px;
  font-weight: bold;
  margin: 20px 15px 10px 15px;
  color: var(--primary-color);
}

.page-fishing-games__game-description {
  font-size: 15px;
  line-height: 1.6;
  padding: 0 15px 20px 15px;
}

.page-fishing-games__card-button {
  display: block;
  width: calc(100% - 30px);
  margin: 0 15px 20px 15px;
  padding: 12px 20px;
  text-decoration: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: bold;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  border: none;
  cursor: pointer;
  background: var(--primary-color);
  color: var(--secondary-color);
}

.page-fishing-games__card-button:hover {
  background: #e6c200;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* How to Play List */
.page-fishing-games__step-list {
  list-style: none;
  padding: 0;
  margin: 0 auto 60px auto;
  max-width: 900px;
}

.page-fishing-games__step-item {
  background-color: var(--card-dark); /* Slightly lighter dark */
  border-radius: 10px;
  padding: 25px 30px;
  margin-bottom: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  color: var(--text-light);
}

.page-fishing-games__step-item:hover {
  transform: translateY(-3px);
}

.page-fishing-games__step-title {
  font-size: 22px;
  font-weight: bold;
  margin-top: 0;
  margin-bottom: 10px;
  color: var(--primary-color);
}

.page-fishing-games__step-item p {
  font-size: 16px;
  line-height: 1.7;
}

.page-fishing-games__step-item a {
  color: var(--primary-color);
  text-decoration: underline;
  transition: color 0.3s ease;
}

.page-fishing-games__step-item a:hover {
  color: #e6c200;
}

/* Tips Section */
.page-fishing-games__tips-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.page-fishing-games__tip-card {
  background-color: var(--card-dark);
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: var(--text-light);
  padding-bottom: 20px;
}

.page-fishing-games__tip-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.page-fishing-games__tip-image {
  width: 100%;
  height: 180px; /* Fixed height for consistency */
  object-fit: cover;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 20px;
}

.page-fishing-games__tip-title {
  font-size: 22px;
  font-weight: bold;
  margin: 0 15px 10px 15px;
  color: var(--primary-color);
}

.page-fishing-games__tip-card p {
  font-size: 16px;
  line-height: 1.6;
  padding: 0 15px;
}

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

.page-fishing-games__promo-card {
  background-color: var(--card-dark);
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: var(--text-light);
  padding-bottom: 20px;
}

.page-fishing-games__promo-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.page-fishing-games__promo-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 20px;
}

.page-fishing-games__promo-title {
  font-size: 22px;
  font-weight: bold;
  margin: 0 15px 10px 15px;
  color: var(--primary-color);
}

.page-fishing-games__promo-card p {
  font-size: 16px;
  line-height: 1.6;
  padding: 0 15px;
  margin-bottom: 20px;
}

/* Responsible Gaming Section */
.page-fishing-games__responsibility-list {
  list-style: none;
  padding: 0;
  margin: 0 auto 40px auto;
  max-width: 800px;
  text-align: left;
}

.page-fishing-games__responsibility-list li {
  background-color: var(--card-dark);
  border-left: 5px solid var(--primary-color);
  padding: 15px 20px;
  margin-bottom: 15px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  font-size: 17px;
}

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

/* FAQ Section Styling */
.page-fishing-games__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

/* FAQ容器样式 */
.page-fishing-games__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  overflow: hidden;
}

/* FAQ默认状态 - 答案隐藏 */
.page-fishing-games__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
  padding: 0 15px;
  opacity: 0;
  color: #f0f0f0; /* Light text for dark background */
}

/* FAQ展开状态 - 🚨 Sử dụng!important và đủ lớn max-height để đảm bảo có thể mở rộng */
.page-fishing-games__faq-item.active .page-fishing-games__faq-answer {
  max-height: 2000px !important; /* 🚨 Sử dụng!important để đảm bảo ưu tiên, giá trị đủ lớn để chứa mọi nội dung */
  padding: 20px 15px !important;
  opacity: 1;
  background: var(--card-dark); /* Slightly lighter dark background for answer */
  border-radius: 0 0 5px 5px;
}

/* Vấn đề kiểu dáng */
.page-fishing-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: var(--secondary-color); /* Main brand dark color */
  border: 1px solid #3a475a;
  border-radius: 5px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
  color: var(--text-light); /* Light text */
}

.page-fishing-games__faq-question:hover {
  background: #2a3342;
  border-color: #4a5b70;
}

.page-fishing-games__faq-question:active {
  background: #3a475a;
}

/* Tiêu đề câu hỏi kiểu dáng */
.page-fishing-games__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  pointer-events: none; /* Ngăn chặn thẻ h3 chặn sự kiện nhấp */
  color: var(--primary-color); /* Auxiliary color for FAQ questions */
}

/* Chuyển đổi biểu tượng */
.page-fishing-games__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  line-height: 1;
  color: var(--primary-color); /* Auxiliary color for toggle icon */
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
  pointer-events: none; /* Ngăn chặn biểu tượng chặn sự kiện nhấp */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
}

.page-fishing-games__faq-item.active .page-fishing-games__faq-toggle {
  color: var(--text-light);
  transform: rotate(45deg); /* Rotate for 'x' effect */
}