.page-fishing-games {
  background-color: #08160F; /* Nền chính theo màu tùy chỉnh */
  color: #F2FFF6; /* Text Main */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

.page-fishing-games__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end; /* Đẩy nội dung xuống dưới */
  min-height: 550px; /* Chiều cao tối thiểu cho hero */
  padding: 20px;
  text-align: center;
  overflow: hidden;
  padding-top: 10px; /* Nhỏ hơn var(--header-offset) */
}

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

.page-fishing-games__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.6); /* Làm tối ảnh nền để chữ dễ đọc */
}

.page-fishing-games__hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin-bottom: 50px; /* Khoảng cách với bottom của hero section */
  color: #F2FFF6; /* Text Main */
  padding: 20px;
  background: rgba(0, 0, 0, 0.4); /* Nền mờ cho chữ */
  border-radius: 8px;
}

.page-fishing-games__main-title {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 15px;
  color: #F2C14E; /* Gold */
}

.page-fishing-games__hero-description {
  font-size: 1.1rem;
  margin-bottom: 30px;
  color: #A7D9B8; /* Text Secondary */
}

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

.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
  box-sizing: border-box;
}

.page-fishing-games__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #F2FFF6; /* Text Main */
  border: none;
}

.page-fishing-games__btn-primary:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(42, 209, 111, 0.4);
}

.page-fishing-games__btn-secondary {
  background: transparent;
  color: #F2C14E; /* Gold */
  border: 2px solid #F2C14E; /* Gold */
}

.page-fishing-games__btn-secondary:hover {
  background: #F2C14E; /* Gold */
  color: #08160F; /* Background */
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(242, 193, 78, 0.4);
}

.page-fishing-games__section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
  text-align: center;
}

.page-fishing-games__section-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: #F2C14E; /* Gold */
  margin-bottom: 25px;
  font-weight: 700;
  line-height: 1.3;
}

.page-fishing-games__section-description {
  font-size: 1.1rem;
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-fishing-games__content-wrapper {
  max-width: 900px;
  margin: 0 auto;
  text-align: left;
}

.page-fishing-games__text-block {
  font-size: 1rem;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 20px;
}

.page-fishing-games__inline-link {
  color: #2AD16F; /* Green from button gradient */
  text-decoration: none;
  font-weight: bold;
}

.page-fishing-games__inline-link:hover {
  text-decoration: underline;
  color: #57E38D; /* Glow */
}

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

.page-fishing-games__feature-card {
  background-color: #11271B; /* Card BG */
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid #2E7A4E; /* Border */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-fishing-games__feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(42, 209, 111, 0.5);
}

.page-fishing-games__feature-icon {
  width: 100%; /* Đảm bảo hình ảnh chiếm hết chiều rộng của card */
  max-width: 250px; /* Giới hạn kích thước */
  height: auto;
  margin-bottom: 20px;
  border-radius: 8px;
  object-fit: cover;
  min-height: 200px; /* Đảm bảo kích thước tối thiểu */
}

.page-fishing-games__feature-title {
  font-size: 1.5rem;
  color: #F2C14E; /* Gold */
  margin-bottom: 10px;
}

.page-fishing-games__feature-description {
  font-size: 0.95rem;
  color: #A7D9B8; /* Text Secondary */
}

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

.page-fishing-games__game-card {
  background-color: #11271B; /* Card BG */
  padding: 25px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid #2E7A4E; /* Border */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-fishing-games__game-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(242, 193, 78, 0.5);
}

.page-fishing-games__game-image {
  width: 100%;
  height: auto;
  max-height: 250px; /* Giới hạn chiều cao */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  min-height: 200px;
}

.page-fishing-games__game-title {
  font-size: 1.4rem;
  color: #F2C14E; /* Gold */
  margin-bottom: 10px;
}

.page-fishing-games__game-description {
  font-size: 0.9rem;
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-fishing-games__game-play-btn {
  display: inline-block;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #F2FFF6; /* Text Main */
  padding: 10px 25px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s ease;
}

.page-fishing-games__game-play-btn:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
}

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

.page-fishing-games__step-card {
  background-color: #11271B; /* Card BG */
  padding: 25px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid #2E7A4E; /* Border */
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-fishing-games__step-number {
  width: 50px;
  height: 50px;
  line-height: 50px;
  border-radius: 50%;
  background-color: #2AD16F; /* Green */
  color: #08160F; /* Background */
  font-size: 1.8rem;
  font-weight: bold;
  margin-bottom: 20px;
}

.page-fishing-games__step-title {
  font-size: 1.3rem;
  color: #F2C14E; /* Gold */
  margin-bottom: 10px;
}

.page-fishing-games__step-description {
  font-size: 0.95rem;
  color: #A7D9B8; /* Text Secondary */
}

.page-fishing-games__promotions-btn {
  margin-top: 30px;
}

.page-fishing-games__why-choose-list {
  list-style: none;
  padding: 0;
  text-align: left;
  margin-top: 30px;
}

.page-fishing-games__why-choose-item {
  background-color: #11271B; /* Card BG */
  border: 1px solid #2E7A4E; /* Border */
  padding: 15px 20px;
  margin-bottom: 15px;
  border-radius: 8px;
  font-size: 1rem;
  color: #F2FFF6; /* Text Main */
  position: relative;
  padding-left: 40px;
}

.page-fishing-games__why-choose-item::before {
  content: '✔';
  color: #2AD16F; /* Green */
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  font-weight: bold;
  font-size: 1.2rem;
}

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

.page-fishing-games__faq-item {
  background-color: #11271B; /* Card BG */
  border: 1px solid #2E7A4E; /* Border */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-fishing-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  font-size: 1.1rem;
  font-weight: bold;
  color: #F2C14E; /* Gold */
  background-color: #0A4B2C; /* Deep Green */
  border-bottom: 1px solid #1E3A2A; /* Divider */
  transition: background-color 0.3s ease;
  list-style: none; /* Remove default marker for details summary */
}

.page-fishing-games__faq-item[open] .page-fishing-games__faq-question {
  background-color: #11A84E; /* Main color on open */
  color: #F2FFF6;
}

.page-fishing-games__faq-question:hover {
  background-color: #11A84E; /* Main color */
}

.page-fishing-games__faq-qtext {
  flex-grow: 1;
}

.page-fishing-games__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  margin-left: 15px;
  color: #F2FFF6; /* Text Main */
}

.page-fishing-games__faq-item[open] .page-fishing-games__faq-toggle {
  color: #F2FFF6;
}

.page-fishing-games__faq-answer {
  padding: 20px 25px;
  font-size: 1rem;
  color: #A7D9B8; /* Text Secondary */
  text-align: left;
  background-color: #11271B; /* Card BG */
}

/* Remove default marker for details */
.page-fishing-games__faq-item summary::-webkit-details-marker {
  display: none;
}

.page-fishing-games__faq-item summary::marker {
  display: none;
}

.page-fishing-games__cta-bottom-section {
  padding-bottom: 80px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .page-fishing-games__hero-section {
    min-height: 400px;
    padding: 10px;
  }

  .page-fishing-games__hero-content {
    margin-bottom: 30px;
    padding: 15px;
  }

  .page-fishing-games__main-title {
    font-size: 2.2rem;
  }

  .page-fishing-games__hero-description {
    font-size: 1rem;
  }

  .page-fishing-games__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-fishing-games__btn-primary,
  .page-fishing-games__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 0.95rem;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-fishing-games__section {
    padding: 40px 15px;
  }

  .page-fishing-games__section-title {
    font-size: 1.8rem;
  }

  .page-fishing-games__section-description {
    font-size: 0.95rem;
  }

  .page-fishing-games__text-block {
    font-size: 0.95rem;
  }

  .page-fishing-games__features-grid,
  .page-fishing-games__game-list,
  .page-fishing-games__steps-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .page-fishing-games__feature-card,
  .page-fishing-games__game-card,
  .page-fishing-games__step-card {
    padding: 20px;
  }

  .page-fishing-games__game-image,
  .page-fishing-games__feature-icon {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    min-height: 200px;
  }

  .page-fishing-games__why-choose-item {
    font-size: 0.95rem;
    padding-left: 35px;
  }

  .page-fishing-games__why-choose-item::before {
    left: 10px;
  }

  .page-fishing-games__faq-question {
    font-size: 1rem;
    padding: 15px 20px;
  }

  .page-fishing-games__faq-answer {
    padding: 15px 20px;
    font-size: 0.9rem;
  }

  /* Ensure all images are responsive */
  .page-fishing-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-fishing-games__section,
  .page-fishing-games__card,
  .page-fishing-games__container,
  .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;
  }
  
  .page-fishing-games__hero-section {
    padding-top: 10px !important; /* body đã xử lý --header-offset */
  }
}