:root {
  --primary-color: #0A2463; /* Deep Blue */
  --secondary-color: #E0B34F; /* Gold */
  --text-dark: #333333;
  --text-light: #ffffff;
  --background-light: #f9f9f9;
  --border-color: #e0e0e0;
}

.page-fishing-games {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-dark); /* Default dark text for light background */
  background-color: var(--background-light); /* Light background for the page */
  padding-top: var(--header-offset, 120px); /* Fixed header offset for desktop */
}

/* Hero Section */
.page-fishing-games__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  background: linear-gradient(135deg, var(--primary-color), #1a3a7a); /* Slightly lighter gradient for visual interest */
  color: var(--text-light);
  overflow: hidden; /* Ensure content doesn't overflow */
}

.page-fishing-games__hero-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.page-fishing-games__hero-image {
  width: 100%;
  margin-bottom: 30px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

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

.page-fishing-games__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
  max-width: 800px;
}

.page-fishing-games__hero-title {
  font-size: 48px;
  margin-bottom: 20px;
  line-height: 1.2;
  font-weight: bold;
  color: var(--secondary-color); /* Gold color for title */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-fishing-games__hero-description {
  font-size: 18px;
  margin-bottom: 30px;
  color: var(--text-light);
  line-height: 1.5;
}

.page-fishing-games__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: var(--secondary-color); /* Gold button */
  color: var(--primary-color); /* Dark blue text on gold button */
  text-decoration: none;
  border-radius: 8px;
  font-size: 20px;
  font-weight: bold;
  margin-top: 20px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: none;
  cursor: pointer;
}

.page-fishing-games__cta-button:hover {
  background: #f0c25a; /* Slightly lighter gold on hover */
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* General Section Styles */
.page-fishing-games__section {
  padding: 80px 20px;
  text-align: center;
  box-sizing: border-box;
}

.page-fishing-games__section-title {
  font-size: 36px;
  margin-bottom: 40px;
  color: var(--primary-color);
  font-weight: bold;
  position: relative;
  display: inline-block;
}

.page-fishing-games__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -10px;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: var(--secondary-color);
  border-radius: 2px;
}

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

.page-fishing-games__text-block {
  font-size: 17px;
  margin-bottom: 20px;
  line-height: 1.7;
  color: var(--text-dark);
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}

/* Dark background sections */
.page-fishing-games__dark-bg {
  background-color: var(--primary-color);
  color: var(--text-light);
}

.page-fishing-games__dark-bg .page-fishing-games__section-title {
  color: var(--secondary-color);
}

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

/* Advantages Section */
.page-fishing-games__advantages-section {
  padding-bottom: 100px;
}

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

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

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

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

.page-fishing-games__card-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.page-fishing-games__card-text {
  font-size: 16px;
  line-height: 1.6;
  text-align: left;
}

/* Game Types Section */
.page-fishing-games__game-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  text-align: left;
}

.page-fishing-games__game-item {
  background: var(--text-light);
  border-radius: 12px;
  padding: 30px;
  margin-bottom: 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  border: 1px solid var(--border-color);
  transition: transform 0.3s ease;
}

.page-fishing-games__game-item:hover {
  transform: translateY(-5px);
}

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

.page-fishing-games__game-description {
  font-size: 17px;
  line-height: 1.6;
  color: var(--text-dark);
}

/* How to Play Section */
.page-fishing-games__how-to-play-section {
  background-color: var(--background-light);
  padding-bottom: 100px;
}

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

.page-fishing-games__step-card {
  background: var(--text-light);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

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

.page-fishing-games__step-description {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-dark);
  flex-grow: 1;
  margin-bottom: 20px;
}

.page-fishing-games__btn-primary {
  display: inline-block;
  padding: 12px 25px;
  background: var(--primary-color);
  color: var(--text-light);
  text-decoration: none;
  border-radius: 6px;
  font-size: 16px;
  font-weight: bold;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  margin-top: auto; /* Push button to bottom */
}

.page-fishing-games__btn-primary:hover {
  background: #1a3a7a;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-fishing-games__tips-block {
  background: #e6f0ff; /* Light blue background */
  border-left: 5px solid var(--primary-color);
  border-radius: 8px;
  padding: 30px;
  margin-top: 60px;
  text-align: left;
}

.page-fishing-games__tips-title {
  font-size: 24px;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.page-fishing-games__tips-list {
  list-style: disc;
  padding-left: 25px;
  font-size: 16px;
  color: var(--text-dark);
}

.page-fishing-games__tips-list li {
  margin-bottom: 10px;
}

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

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

.page-fishing-games__promo-card {
  background: rgba(255, 255, 255, 0.15); /* Slightly transparent white on dark blue */
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  text-align: center;
  color: var(--text-light);
  transition: transform 0.3s ease, background 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.page-fishing-games__promo-card:hover {
  transform: translateY(-8px);
  background: rgba(255, 255, 255, 0.25);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

.page-fishing-games__promo-image {
  width: 100%;
  height: 200px; /* Consistent height */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.page-fishing-games__promo-title {
  font-size: 24px;
  color: var(--secondary-color); /* Gold title */
  margin-bottom: 15px;
  font-weight: bold;
}

.page-fishing-games__promo-description {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-light);
}

.page-fishing-games__button-group {
  margin-top: 50px;
}

/* FAQ Section */
.page-fishing-games__faq-section {
  background-color: var(--background-light);
  padding-bottom: 100px;
}

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

/* FAQ容器样式 */
.page-fishing-games__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

/* 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 20px;
  opacity: 0;
  background: #fdfdfd;
}

/* FAQ展开状态 - 🚨 使用!important和足够大的max-height确保一定能展开 */
.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 !important;
  opacity: 1;
  background: #fdfdfd;
  border-radius: 0 0 8px 8px;
  border-top: 1px solid var(--border-color);
  text-align: left;
}