.page-fishing-games {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-main-color); /* Sử dụng màu chữ chính */
  background-color: var(--deep-navy); /* Body background từ shared.css */
}

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

.page-fishing-games__section {
  padding: 60px 0;
  text-align: center;
}

.page-fishing-games__dark-section {
  background-color: var(--card-bg-color); /* Màu nền tối cho các section */
  color: var(--text-main-color);
}

.page-fishing-games__section-title {
  font-size: 3em;
  font-weight: bold;
  margin-bottom: 20px;
  color: var(--glow-color); /* Sử dụng màu gold cho tiêu đề */
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-fishing-games__sub-title {
  font-size: 1.8em;
  font-weight: 600;
  margin-bottom: 15px;
  color: var(--text-main-color);
}

.page-fishing-games__text-block {
  font-size: 1.1em;
  margin-bottom: 30px;
  color: var(--text-secondary-color);
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-fishing-games__card {
  background-color: var(--card-bg-color);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  text-align: left;
  color: var(--text-main-color);
  height: 100%; /* Đảm bảo chiều cao đồng nhất trong grid */
  display: flex;
  flex-direction: column;
}

.page-fishing-games__card-title {
  font-size: 1.5em;
  font-weight: 600;
  margin-bottom: 15px;
  color: var(--glow-color);
}

.page-fishing-games__card-text {
  font-size: 1em;
  line-height: 1.6;
  color: var(--text-secondary-color);
  flex-grow: 1;
}

/* 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;
  padding-top: 10px; /* Nhỏ hơn so với header-offset */
  overflow: hidden;
}

.page-fishing-games__hero-image {
  width: 100%;
  max-width: 100%;
  margin-bottom: 30px;
}

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

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

.page-fishing-games__main-title {
  font-size: 3.5em;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
  color: var(--gold-color);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-fishing-games__description {
  font-size: 1.25em;
  color: var(--text-main-color);
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-fishing-games__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
  color: #ffffff;
  text-decoration: none;
  border-radius: 5px;
  font-size: 1.25em;
  font-weight: bold;
  margin-top: 20px;
  transition: all 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-fishing-games__cta-button:hover {
  background: linear-gradient(180deg, #1144A6 0%, #2B73F6 100%);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* Intro Section */
.page-fishing-games__intro-section {
  padding-top: 80px;
  padding-bottom: 80px;
}

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

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

.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 {
  text-align: center;
  padding: 40px 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-fishing-games__step-number {
  width: 60px;
  height: 60px;
  background-color: var(--primary-color);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 2em;
  font-weight: bold;
  color: #ffffff;
  margin-bottom: 20px;
  border: 3px solid var(--gold-color);
}

.page-fishing-games__step-card .page-fishing-games__card-title {
  color: var(--text-main-color);
}

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

.page-fishing-games__btn-primary {
  background: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
  color: #ffffff;
  padding: 15px 40px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  display: inline-block;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-fishing-games__btn-primary:hover {
  background: linear-gradient(180deg, #1144A6 0%, #2B73F6 100%);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* Gameplay Features Section */
.page-fishing-games__gameplay-features {
  padding-top: 80px;
  padding-bottom: 80px;
}

.page-fishing-games__image-content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
  margin-top: 40px;
}

.page-fishing-games__image-wrapper img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  min-width: 200px;
  min-height: 200px;
}

.page-fishing-games__content-wrapper {
  text-align: left;
}

/* Strategy Tips Section */
.page-fishing-games__strategy-tips {
  padding-top: 80px;
  padding-bottom: 80px;
}

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

.page-fishing-games__list-item {
  background-color: var(--card-bg-color);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-fishing-games__list-title {
  font-size: 1.4em;
  font-weight: 600;
  color: var(--glow-color);
  margin-bottom: 10px;
}

.page-fishing-games__list-item p {
  color: var(--text-secondary-color);
  font-size: 1em;
}

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

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

.page-fishing-games__promo-card {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

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

.page-fishing-games__btn-secondary {
  background-color: transparent;
  color: var(--glow-color);
  border: 2px solid var(--glow-color);
  padding: 12px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1em;
  transition: all 0.3s ease;
  margin-top: auto; /* Đẩy nút xuống dưới cùng */
  display: inline-block;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-fishing-games__btn-secondary:hover {
  background-color: var(--glow-color);
  color: var(--deep-navy);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* Security & Support Section */
.page-fishing-games__security-support-section {
  padding-top: 80px;
  padding-bottom: 80px;
}

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

.page-fishing-games__info-card {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

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

/* FAQ Section */
.page-fishing-games__faq-section {
  padding-top: 80px;
  padding-bottom: 80px;
}

.page-fishing-games__faq-list {
  max-width: 900px;
  margin: 40px auto 0 auto;
  text-align: left;
}

details.page-fishing-games__faq-item {
  margin-bottom: 15px;
  border-radius: 10px;
  border: 1px solid var(--border-color);
  overflow: hidden;
  background: var(--card-bg-color);
}

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: rgba(var(--primary-color-rgb), 0.1);
}

.page-fishing-games__faq-qtext {
  flex: 1;
  font-size: 1.2em;
  font-weight: 600;
  line-height: 1.5;
  color: var(--text-main-color);
  text-align: left;
}

.page-fishing-games__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: var(--glow-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: rgba(var(--card-bg-color-rgb), 0.5); /* Nền nhẹ hơn cho câu trả lời */
  border-radius: 0 0 10px 10px;
  color: var(--text-secondary-color);
  font-size: 1em;
}

/* Call to Action Section */
.page-fishing-games__call-to-action-section {
  padding-top: 80px;
  padding-bottom: 80px;
}

.page-fishing-games__text-center {
  text-align: center;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-fishing-games__main-title {
    font-size: 3em;
  }
  .page-fishing-games__section-title {
    font-size: 2.5em;
  }
  .page-fishing-games__image-content-grid {
    grid-template-columns: 1fr;
  }
  .page-fishing-games__image-wrapper {
    order: 1; /* Đặt hình ảnh lên trên trên mobile */
  }
  .page-fishing-games__content-wrapper {
    order: 2;
  }
  .page-fishing-games__text-block, .page-fishing-games__description {
    font-size: 1em;
  }
}

@media (max-width: 768px) {
  .page-fishing-games__hero-section {
    padding-top: 10px !important;
    padding-bottom: 40px;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-fishing-games__hero-image img {
    border-radius: 4px;
  }
  .page-fishing-games__main-title {
    font-size: 2.2em;
    margin-bottom: 15px;
  }
  .page-fishing-games__description {
    font-size: 1.1em;
    margin-bottom: 30px;
  }
  .page-fishing-games__cta-button {
    padding: 12px 30px;
    font-size: 1.1em;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-fishing-games__section-title {
    font-size: 2em;
  }
  .page-fishing-games__sub-title {
    font-size: 1.5em;
  }
  .page-fishing-games__section {
    padding: 40px 0;
  }
  .page-fishing-games__container {
    padding: 0 15px;
  }
  .page-fishing-games__features-grid,
  .page-fishing-games__steps-grid,
  .page-fishing-games__promo-grid,
  .page-fishing-games__info-grid,
  .page-fishing-games__tips-list {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-fishing-games__card {
    padding: 20px;
  }
  .page-fishing-games__card-title {
    font-size: 1.3em;
  }
  .page-fishing-games__card-text {
    font-size: 0.95em;
  }
  .page-fishing-games__step-number {
    width: 50px;
    height: 50px;
    font-size: 1.8em;
  }
  .page-fishing-games__image-wrapper img,
  .page-fishing-games__promo-image,
  .page-fishing-games__info-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-fishing-games__faq-list {
    margin-top: 20px;
  }
  details.page-fishing-games__faq-item summary.page-fishing-games__faq-question {
    padding: 15px;
  }
  .page-fishing-games__faq-qtext {
    font-size: 1em;
  }
  .page-fishing-games__faq-toggle {
    font-size: 20px;
    width: 24px;
    margin-left: 10px;
  }
  details.page-fishing-games__faq-item .page-fishing-games__faq-answer {
    padding: 0 15px 15px;
  }
  .page-fishing-games__btn-primary,
  .page-fishing-games__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-fishing-games__button-group {
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
  }
  .page-fishing-games__cta-button {
    margin-top: 15px;
  }
  .page-fishing-games__intro-section,
  .page-fishing-games__how-to-play-section,
  .page-fishing-games__gameplay-features,
  .page-fishing-games__strategy-tips,
  .page-fishing-games__promotions-section,
  .page-fishing-games__security-support-section,
  .page-fishing-games__faq-section,
  .page-fishing-games__call-to-action-section {
    padding-left: 15px;
    padding-right: 15px;
  }
}

/* Custom Colors */
:root {
  --primary-color: #113B7A;
  --secondary-color: #1D5FD1;
  --card-bg-color: #10233F;
  --text-main-color: #F3F8FF;
  --text-secondary-color: #AFC4E8;
  --border-color: #244D84;
  --glow-color: #4FA8FF;
  --gold-color: #F2C14E;
  --divider-color: #1B3357;
  --deep-navy: #08162B;
  --primary-color-rgb: 17, 59, 122; /* RGB for #113B7A */
  --card-bg-color-rgb: 16, 35, 63; /* RGB for #10233F */
}

/* Ensure contrast for text on various backgrounds */
.page-fishing-games__dark-bg {
  color: var(--text-main-color); /* Deep Navy background */
  background: var(--deep-navy);
}

.page-fishing-games__light-bg {
  color: #333333; /* For very light backgrounds if any */
  background: #ffffff;
}

.page-fishing-games__medium-bg {
  color: var(--text-main-color); /* For primary/secondary colors as background */
  background: var(--primary-color);
}

/* Specific contrast rules */
.page-fishing-games p, .page-fishing-games li {
  color: var(--text-secondary-color);
}

.page-fishing-games__card .page-fishing-games__card-title {
  color: var(--glow-color);
}

.page-fishing-games__card .page-fishing-games__card-text {
  color: var(--text-secondary-color);
}

.page-fishing-games__faq-qtext {
  color: var(--text-main-color);
}

.page-fishing-games__faq-toggle {
  color: var(--glow-color);
}

.page-fishing-games__faq-answer p {
  color: var(--text-secondary-color);
}