/* style/fishing-games.css */
/* body đã padding-top: var(--header-offset) từ shared.css, không lặp lại ở đây. */
.page-fishing-games {
  font-family: 'Arial', sans-serif;
  color: #ffffff; /* Mặc định cho nền tối của body */
  background-color: #1a1a2e; /* Nền của body từ shared.css */
}

.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; /* Chỉ một khoảng đệm nhỏ, body đã xử lý header offset */
  background-color: #1a1a2e;
  overflow: hidden;
}

.page-fishing-games__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
}

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

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

.page-fishing-games__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
  color: #ffffff;
  padding: 20px;
  border-radius: 8px;
}

.page-fishing-games__hero-title {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #ffffff;
}

.page-fishing-games__hero-description {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 30px;
  color: #f0f0f0;
}

.page-fishing-games__button-group {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

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

.page-fishing-games__btn-primary {
  background-color: #26A9E0;
  color: #ffffff;
  border: 2px solid #26A9E0;
}

.page-fishing-games__btn-primary:hover {
  background-color: #1e87b6;
  border-color: #1e87b6;
}

.page-fishing-games__btn-secondary {
  background-color: transparent;
  color: #ffffff;
  border: 2px solid #ffffff;
}

.page-fishing-games__btn-secondary:hover {
  background-color: #ffffff;
  color: #26A9E0;
}

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

.page-fishing-games__section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
  color: #26A9E0;
}

.page-fishing-games__section-title--light {
  color: #ffffff;
}

.page-fishing-games__text-block {
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 20px;
  color: #f0f0f0; /* Cho nền tối */
}

.page-fishing-games__intro-section {
  background-color: #1a1a2e;
  color: #ffffff;
}

.page-fishing-games__features-section {
  background-color: #20203a; /* Nền hơi tối hơn body */
  color: #ffffff;
  padding-top: 60px;
  padding-bottom: 60px;
}

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

.page-fishing-games__card {
  background-color: rgba(255, 255, 255, 0.08); /* Nền trong suốt nhẹ */
  border-radius: 12px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #ffffff;
  box-sizing: border-box;
}

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

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

.page-fishing-games__card-title {
  font-size: 1.35rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: #26A9E0;
}

.page-fishing-games__card-description {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #f0f0f0;
}

.page-fishing-games__guide-section {
  background-color: #1a1a2e;
  color: #ffffff;
}

.page-fishing-games__guide-list {
  list-style: none;
  padding: 0;
  counter-reset: guide-step;
}

.page-fishing-games__guide-item {
  background-color: rgba(255, 255, 255, 0.05);
  border-left: 5px solid #26A9E0;
  margin-bottom: 20px;
  padding: 20px;
  border-radius: 8px;
  position: relative;
  color: #ffffff;
}

.page-fishing-games__guide-item::before {
  counter-increment: guide-step;
  content: "Bước " counter(guide-step);
  position: absolute;
  left: -15px;
  top: -15px;
  background-color: #26A9E0;
  color: #ffffff;
  padding: 5px 10px;
  border-radius: 5px;
  font-weight: bold;
  font-size: 0.9rem;
}

.page-fishing-games__guide-step-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #26A9E0;
  margin-bottom: 10px;
  padding-left: 5px;
}

.page-fishing-games__guide-item p {
  font-size: 1rem;
  line-height: 1.6;
  color: #f0f0f0;
}

.page-fishing-games__tips-section {
  background-color: #20203a;
  color: #ffffff;
  padding-top: 60px;
  padding-bottom: 60px;
}

.page-fishing-games__tips-list {
  list-style: none;
  padding: 0;
}

.page-fishing-games__tips-item {
  background-color: rgba(255, 255, 255, 0.08);
  margin-bottom: 20px;
  padding: 20px 25px;
  border-radius: 12px;
  border-left: 4px solid #EA7C07; /* Màu cam cho mẹo */
  color: #ffffff;
}

.page-fishing-games__tips-subtitle {
  font-size: 1.25rem;
  font-weight: 600;
  color: #EA7C07;
  margin-bottom: 10px;
}

.page-fishing-games__tips-item p {
  font-size: 1rem;
  line-height: 1.6;
  color: #f0f0f0;
}

.page-fishing-games__promotions-section {
  background-color: #1a1a2e;
  color: #ffffff;
}

.page-fishing-games__faq-section {
  background-color: #20203a;
  color: #ffffff;
  padding-top: 60px;
  padding-bottom: 60px;
}

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

.page-fishing-games__faq-item {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  margin-bottom: 15px;
  color: #ffffff;
}

.page-fishing-games__faq-item summary {
  display: block;
  padding: 18px 25px;
  font-size: 1.15rem;
  font-weight: 600;
  color: #26A9E0;
  cursor: pointer;
  position: relative;
  list-style: none;
  transition: background-color 0.3s ease;
}

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

.page-fishing-games__faq-item summary:hover {
  background-color: rgba(255, 255, 255, 0.15);
}

.page-fishing-games__faq-qtext {
  padding-right: 40px;
  display: block;
}

.page-fishing-games__faq-toggle {
  position: absolute;
  right: 25px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  line-height: 1;
  color: #ffffff;
}

.page-fishing-games__faq-item[open] .page-fishing-games__faq-toggle {
  content: '−';
}

.page-fishing-games__faq-answer {
  padding: 0 25px 20px;
  font-size: 1rem;
  line-height: 1.6;
  color: #f0f0f0;
}

.page-fishing-games__cta-section {
  background-color: #1a1a2e;
  color: #ffffff;
  text-align: center;
  padding-top: 60px;
  padding-bottom: 60px;
}

.page-fishing-games__cta-section .page-fishing-games__text-block {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-fishing-games a {
  color: #26A9E0;
  text-decoration: none;
}

.page-fishing-games a:hover {
  text-decoration: underline;
}

/* Responsive styles */
@media (max-width: 768px) {
  .page-fishing-games__hero-section {
    padding: 40px 15px;
    padding-top: 10px !important;
  }

  .page-fishing-games__hero-title {
    font-size: clamp(1.8rem, 8vw, 2.5rem);
  }

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

  .page-fishing-games__button-group {
    flex-direction: column;
    gap: 10px;
    padding: 0 15px;
  }

  .page-fishing-games__btn-primary,
  .page-fishing-games__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-fishing-games__content-area {
    padding: 30px 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-fishing-games__section-title {
    font-size: clamp(1.5rem, 7vw, 2.2rem);
    margin-bottom: 30px;
  }

  .page-fishing-games__feature-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-fishing-games__card {
    padding: 20px;
  }

  .page-fishing-games__card-title {
    font-size: 1.2rem;
  }

  .page-fishing-games__guide-item,
  .page-fishing-games__tips-item {
    padding: 15px;
  }

  .page-fishing-games__guide-step-title,
  .page-fishing-games__tips-subtitle {
    font-size: 1.1rem;
  }

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

  .page-fishing-games__faq-qtext {
    padding-right: 30px;
  }

  .page-fishing-games__faq-toggle {
    right: 20px;
    font-size: 1.2rem;
  }

  .page-fishing-games__faq-answer {
    padding: 0 20px 15px;
  }

  /* Force responsive image and video styles */
  .page-fishing-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-fishing-games video,
  .page-fishing-games__hero-video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-fishing-games__hero-image-wrapper,
  .page-fishing-games__hero-video-link,
  .page-fishing-games__video-container,
  .page-fishing-games__video-wrapper,
  .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;
    overflow: hidden !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}

/* Ensure links within text are visible */
.page-fishing-games__text-block a,
.page-fishing-games__guide-item p a,
.page-fishing-games__tips-item p a,
.page-fishing-games__faq-answer p a {
  color: #26A9E0;
  text-decoration: underline;
}

.page-fishing-games__text-block a:hover,
.page-fishing-games__guide-item p a:hover,
.page-fishing-games__tips-item p a:hover,
.page-fishing-games__faq-answer p a:hover {
  color: #4ac1ff;
}