/* style/fishing-games.css */
/* body đã padding-top: var(--header-offset) từ shared.css, không lặp lại ở đây */
.page-fishing-games {
  background-color: #08160F; /* Màu nền chính từ palette */
  color: #F2FFF6; /* Màu chữ chính cho nền tối */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

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

.page-fishing-games__dark-bg {
  background-color: #08160F;
}

.page-fishing-games__card {
  background-color: #11271B; /* Card BG từ palette */
  border: 1px solid #2E7A4E; /* Border từ palette */
  border-radius: 8px;
  padding: 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  color: #F2FFF6; /* Text Main cho card */
}

.page-fishing-games__text-main {
  color: #F2FFF6; /* Text Main từ palette */
}

.page-fishing-games__text-secondary {
  color: #A7D9B8; /* Text Secondary từ palette */
}

.page-fishing-games__section-title {
  font-size: 2.5em;
  font-weight: bold;
  text-align: center;
  margin-bottom: 20px;
  letter-spacing: 0.05em;
  line-height: 1.2;
}

.page-fishing-games__section-description {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 30px;
  font-size: 1.1em;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
  max-width: 100%;
}

.page-fishing-games__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button màu từ palette */
  color: #F2FFF6; /* Text Main */
  border: 2px solid transparent;
}

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

.page-fishing-games__btn-secondary {
  background: transparent;
  color: #2AD16F; /* Sử dụng màu sáng từ gradient button để làm màu chữ */
  border: 2px solid #2AD16F; /* Sử dụng màu sáng từ gradient button để làm border */
}

.page-fishing-games__btn-secondary:hover {
  background-color: rgba(42, 209, 111, 0.1);
  color: #F2FFF6;
  border-color: #F2FFF6;
}

/* Hero Section */
.page-fishing-games__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 0;
  padding-top: 10px; /* Nhỏ hơn so với header offset */
  overflow: hidden;
}

.page-fishing-games__hero-image-wrapper {
  width: 100%;
  max-height: 700px; /* Giới hạn chiều cao hình ảnh chính */
  overflow: hidden;
  display: flex;
  justify-content: center;
  margin-bottom: 40px;
}

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

.page-fishing-games__hero-content {
  text-align: center;
  max-width: 900px;
  padding: 0 20px;
}

.page-fishing-games__main-title {
  font-size: clamp(2.5em, 5vw, 3.5em); /* H1 font size clamp */
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #F2FFF6;
  letter-spacing: 0.03em;
}

.page-fishing-games__description {
  font-size: 1.2em;
  margin-bottom: 40px;
  color: #A7D9B8;
}

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

/* Intro Video Section */
.page-fishing-games__intro-video-section {
  padding: 80px 0;
  text-align: center;
}

.page-fishing-games__video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  max-width: 100%;
  background: #000;
  margin: 40px auto;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
  width: 100%; /* Đảm bảo width 100% cho desktop */
}

.page-fishing-games__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  cursor: pointer;
}

.page-fishing-games__video-cta {
  margin-top: 20px;
}

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

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

.page-fishing-games__feature-item {
  text-align: center;
}

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

.page-fishing-games__feature-title {
  font-size: 1.5em;
  font-weight: bold;
  margin-bottom: 10px;
}

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

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

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

.page-fishing-games__game-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-fishing-games__game-title {
  font-size: 1.6em;
  font-weight: bold;
  margin-bottom: 10px;
}

.page-fishing-games__game-description {
  flex-grow: 1;
  margin-bottom: 20px;
}

.page-fishing-games__play-button {
  margin-top: auto; /* Push button to bottom */
}

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

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

.page-fishing-games__step-item {
  text-align: center;
}

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

.page-fishing-games__step-title {
  font-size: 1.4em;
  font-weight: bold;
  margin-bottom: 10px;
}

.page-fishing-games__button-group {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 40px;
  flex-wrap: wrap;
}

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

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

.page-fishing-games__tip-title {
  font-size: 1.5em;
  font-weight: bold;
  margin-bottom: 10px;
}

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

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

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

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

.page-fishing-games__promo-title {
  font-size: 1.6em;
  font-weight: bold;
  margin-bottom: 10px;
}

.page-fishing-games__promo-text {
  flex-grow: 1;
  margin-bottom: 20px;
}

.page-fishing-games__promo-button {
  margin-top: auto;
}

/* Mobile App Section */
.page-fishing-games__mobile-app-section {
  padding: 80px 0;
}

.page-fishing-games__app-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 50px;
}

.page-fishing-games__app-text {
  flex: 1;
  min-width: 300px;
  max-width: 600px;
}

.page-fishing-games__app-benefits {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
}

.page-fishing-games__app-benefits li {
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="%232AD16F"><path d="M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41L9 16.17z"/></svg>') no-repeat left center;
  background-size: 20px;
  padding-left: 30px;
  margin-bottom: 15px;
  font-size: 1.1em;
}

.page-fishing-games__app-image-wrapper {
  flex: 1;
  min-width: 300px;
  max-width: 400px;
}

.page-fishing-games__app-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.page-fishing-games__app-download-button {
  margin-top: 20px;
}

/* Security Section */
.page-fishing-games__security-section {
  padding: 80px 0;
}

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

.page-fishing-games__security-title {
  font-size: 1.5em;
  font-weight: bold;
  margin-bottom: 10px;
}

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

.page-fishing-games__faq-list {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.page-fishing-games__faq-item {
  overflow: hidden;
  transition: all 0.3s ease-out;
}

.page-fishing-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.2em;
  font-weight: bold;
  cursor: pointer;
  background-color: #1E3A2A; /* Màu xanh đậm hơn cho câu hỏi */
  border-radius: 8px;
  transition: background-color 0.3s ease;
}

.page-fishing-games__faq-question:hover {
  background-color: #0A4B2C;
}

.page-fishing-games__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  color: #2AD16F;
}

.page-fishing-games__faq-answer {
  padding: 15px 25px;
  background-color: #11271B; /* Card BG */
  border-top: 1px solid #2E7A4E;
  border-radius: 0 0 8px 8px;
  font-size: 1.05em;
}

.page-fishing-games__faq-answer p {
  margin: 0;
}

/* Hide default details arrow */
.page-fishing-games__faq-item > summary {
  list-style: none;
}

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

/* Final CTA Section */
.page-fishing-games__cta-final-section {
  padding: 80px 0;
  text-align: center;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-fishing-games__main-title {
    font-size: clamp(2.2em, 4.5vw, 3em);
  }
  .page-fishing-games__section-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-fishing-games__container {
    padding: 0 15px;
  }
  .page-fishing-games__hero-section {
    padding: 40px 0;
    padding-top: 10px !important; /* body đã có padding-top */
  }
  .page-fishing-games__hero-image-wrapper {
    max-height: 400px;
  }
  .page-fishing-games__hero-content {
    padding: 0 15px;
  }
  .page-fishing-games__main-title {
    font-size: clamp(1.8em, 6vw, 2.5em);
    letter-spacing: normal;
  }
  .page-fishing-games__description {
    font-size: 1em;
  }
  .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: 1em;
  }
  .page-fishing-games__section-title {
    font-size: 1.8em;
    margin-bottom: 15px;
  }
  .page-fishing-games__section-description {
    font-size: 0.95em;
    margin-bottom: 30px;
  }
  .page-fishing-games__intro-video-section,
  .page-fishing-games__why-choose-section,
  .page-fishing-games__popular-games-section,
  .page-fishing-games__how-to-play-section,
  .page-fishing-games__tips-strategies-section,
  .page-fishing-games__promotions-section,
  .page-fishing-games__mobile-app-section,
  .page-fishing-games__security-section,
  .page-fishing-games__faq-section,
  .page-fishing-games__cta-final-section {
    padding: 40px 0;
  }
  .page-fishing-games__video-wrapper {
    margin: 20px auto;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
  .page-fishing-games__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-fishing-games__features-grid,
  .page-fishing-games__games-grid,
  .page-fishing-games__steps-grid,
  .page-fishing-games__tips-grid,
  .page-fishing-games__promo-grid,
  .page-fishing-games__security-features {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-fishing-games__feature-icon,
  .page-fishing-games__game-image,
  .page-fishing-games__step-icon,
  .page-fishing-games__promo-image {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-fishing-games__app-content {
    flex-direction: column;
    gap: 30px;
  }
  .page-fishing-games__app-text,
  .page-fishing-games__app-image-wrapper {
    width: 100%;
    max-width: 100%;
    min-width: unset;
  }
  .page-fishing-games__app-image {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-fishing-games__faq-question {
    font-size: 1.1em;
    padding: 15px 20px;
  }
  .page-fishing-games__faq-answer {
    padding: 10px 20px;
    font-size: 1em;
  }
  .page-fishing-games__button-group {
    flex-direction: column;
    gap: 15px;
  }
  /* Ensure all img elements are responsive and do not overflow */
  .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__video-section,
  .page-fishing-games__video-container,
  .page-fishing-games__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important; /* Prevent horizontal scroll */
  }
}