/* style/fishing-games.css */
/* body đã padding-top: var(--header-offset)；trang này không được viết lại biến đó */
.page-fishing-games {
  background-color: #08160F; /* Nền tối theo quy tắc màu */
  color: #F2FFF6; /* Chữ sáng cho nền tối */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

.page-fishing-games__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding-bottom: 40px; /* Thêm padding dưới để tách khỏi video */
  padding-top: 10px; /* Nhỏ gọn hơn, không dùng var(--header-offset) */
}

.page-fishing-games__hero-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  filter: brightness(0.6); /* Làm mờ hình ảnh để chữ dễ đọc */
}

.page-fishing-games__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 40px 20px;
  background-color: rgba(8, 22, 15, 0.7); /* Nền bán trong suốt cho nội dung */
  border-radius: 10px;
  margin-top: 100px; /* Đẩy nội dung xuống dưới hero image */
}

.page-fishing-games__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  color: #F2C14E; /* Màu vàng Gold cho tiêu đề chính */
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
}

.page-fishing-games__hero-description {
  font-size: 1.15rem;
  color: #A7D9B8;
  margin-bottom: 30px;
}

.page-fishing-games__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap; /* Cho phép nút xuống dòng trên di động */
}

.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  border-radius: 8px;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  white-space: normal; /* Cho phép chữ xuống dòng */
  word-wrap: break-word; /* Đảm bảo chữ xuống dòng */
  text-align: center;
  box-sizing: border-box;
}

.page-fishing-games__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Nút chính theo quy tắc màu */
  color: #F2FFF6;
  border: 2px solid transparent;
}

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

.page-fishing-games__btn-secondary {
  background-color: transparent;
  color: #F2FFF6;
  border: 2px solid #2E7A4E; /* Viền theo quy tắc màu */
}

.page-fishing-games__btn-secondary:hover {
  background-color: #2E7A4E;
  color: #F2FFF6;
}

.page-fishing-games__video-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 20px;
  padding-top: 10px; /* Chỉ một khoảng cách nhỏ */
  background-color: #08160F;
}

.page-fishing-games__section-header {
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
}

.page-fishing-games__section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: #F2C14E; /* Màu vàng Gold cho tiêu đề phụ */
  margin-bottom: 15px;
  font-weight: bold;
}

.page-fishing-games__section-description {
  font-size: 1.1rem;
  color: #A7D9B8;
}

.page-fishing-games__video-wrapper {
  position: relative;
  width: 100%; /* Cần width: 100% cho desktop */
  max-width: 1200px;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  background-color: #000;
  border-radius: 10px;
  margin-bottom: 30px;
}

.page-fishing-games__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
  cursor: pointer;
}

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

.page-fishing-games__about-section,
.page-fishing-games__games-showcase-section,
.page-fishing-games__tips-section,
.page-fishing-games__faq-section {
  padding: 80px 0;
  text-align: center;
}

.page-fishing-games__dark-section {
  background-color: #11271B; /* Nền Card B G theo quy tắc màu */
  color: #F2FFF6;
}

.page-fishing-games__text-block {
  font-size: 1.05rem;
  margin-bottom: 20px;
  color: #A7D9B8;
  text-align: left;
  line-height: 1.8;
}

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

.page-fishing-games__card {
  background-color: #11271B; /* Nền Card B G theo quy tắc màu */
  border: 1px solid #2E7A4E; /* Viền theo quy tắc màu */
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  color: #F2FFF6;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-fishing-games__feature-icon {
  width: 100px;
  height: 100px;
  margin-bottom: 20px;
  object-fit: contain;
}

.page-fishing-games__feature-title,
.page-fishing-games__game-title,
.page-fishing-games__promotion-title {
  font-size: 1.5rem;
  color: #F2C14E; /* Màu vàng Gold cho tiêu đề con */
  margin-bottom: 15px;
  font-weight: bold;
}

.page-fishing-games__feature-text,
.page-fishing-games__game-text,
.page-fishing-games__promotion-text {
  font-size: 1rem;
  color: #A7D9B8;
  margin-bottom: 20px;
  flex-grow: 1;
}

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

.page-fishing-games__game-btn {
  margin-top: auto; /* Đẩy nút xuống dưới */
}

.page-fishing-games__guide-list,
.page-fishing-games__tips-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  text-align: left;
}

.page-fishing-games__guide-item,
.page-fishing-games__tips-item {
  background-color: #11271B; /* Nền Card B G */
  border: 1px solid #2E7A4E; /* Viền theo quy tắc màu */
  border-radius: 10px;
  padding: 30px;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-fishing-games__guide-step-title,
.page-fishing-games__tips-title {
  font-size: 1.3rem;
  color: #F2C14E;
  margin-bottom: 10px;
  font-weight: bold;
}

.page-fishing-games__guide-text,
.page-fishing-games__tips-text {
  font-size: 1rem;
  color: #A7D9B8;
}

.page-fishing-games__guide-text a,
.page-fishing-games__tips-text a,
.page-fishing-games__faq-answer a {
  color: #57E38D; /* Màu Glow cho liên kết */
  text-decoration: none;
  font-weight: bold;
}

.page-fishing-games__guide-text a:hover,
.page-fishing-games__tips-text a:hover,
.page-fishing-games__faq-answer a:hover {
  text-decoration: underline;
}

.page-fishing-games__promotions-section {
  padding: 80px 0;
  text-align: center;
  background-color: #08160F;
  color: #F2FFF6;
}

.page-fishing-games__promotion-card {
  max-width: 800px;
  margin: 40px auto 0;
}

.page-fishing-games__faq-list {
  margin-top: 40px;
  text-align: left;
}

.page-fishing-games__faq-item {
  margin-bottom: 15px;
  border-radius: 10px;
  overflow: hidden;
  color: #F2FFF6;
  background-color: #11271B;
  border: 1px solid #2E7A4E;
}

.page-fishing-games__faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 30px;
  cursor: pointer;
  background-color: #0A4B2C; /* Deep Green */
  color: #F2FFF6;
  font-weight: bold;
  font-size: 1.1rem;
  list-style: none;
}

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

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

.page-fishing-games__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  margin-left: 15px;
  color: #57E38D;
}

.page-fishing-games__faq-answer {
  padding: 20px 30px;
  background-color: #11271B;
  color: #A7D9B8;
  font-size: 1rem;
  line-height: 1.7;
  border-top: 1px solid #2E7A4E;
}

.page-fishing-games__cta-section {
  padding: 80px 0;
  text-align: center;
  background-color: #08160F;
  color: #F2FFF6;
}

.page-fishing-games__cta-section .page-fishing-games__section-description {
  font-size: 1.2rem;
  margin-bottom: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-fishing-games__hero-content {
    margin-top: 80px;
  }
}

@media (max-width: 768px) {
  .page-fishing-games__hero-image {
    filter: brightness(0.5); /* Tăng độ mờ trên di động */
  }

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

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

  .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__video-section,
  .page-fishing-games__about-section,
  .page-fishing-games__features-section,
  .page-fishing-games__games-showcase-section,
  .page-fishing-games__guide-section,
  .page-fishing-games__tips-section,
  .page-fishing-games__promotions-section,
  .page-fishing-games__faq-section,
  .page-fishing-games__cta-section {
    padding: 40px 0;
  }

  .page-fishing-games__content-area,
  .page-fishing-games__video-container,
  .page-fishing-games__video-wrapper {
    padding-left: 15px !important;
    padding-right: 15px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .page-fishing-games__video-section {
    padding-top: 10px !important;
  }

  .page-fishing-games__section-title {
    font-size: clamp(1.8rem, 7vw, 2.2rem);
  }

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

  .page-fishing-games__text-block,
  .page-fishing-games__feature-text,
  .page-fishing-games__game-text,
  .page-fishing-games__promotion-text,
  .page-fishing-games__guide-text,
  .page-fishing-games__tips-text,
  .page-fishing-games__faq-answer {
    font-size: 0.9rem;
  }

  .page-fishing-games__feature-grid,
  .page-fishing-games__game-grid {
    grid-template-columns: 1fr;
  }

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

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

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

  .page-fishing-games__faq-answer {
    padding: 15px 20px;
  }
  
  .page-fishing-games__view-all-games,
  .page-fishing-games__view-all-promos {
    padding-left: 15px;
    padding-right: 15px;
  }
}

@media (max-width: 480px) {
  .page-fishing-games__hero-content {
    margin-top: 40px;
  }

  .page-fishing-games__main-title {
    font-size: clamp(1.8rem, 9vw, 2.2rem);
  }
}