/* style/fishing-games-recommendation.css */
/* body đã padding-top: var(--header-offset)；trang này cấm viết lại biến đó */

:root {
  --page-primary-color: #F2C14E;
  --page-secondary-color: #FFD36B;
  --page-button-gradient: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  --page-card-bg: #111111;
  --page-background: #0A0A0A;
  --page-text-main: #FFF6D6;
  --page-border-color: #3A2A12;
  --page-glow-color: #FFD36B;
}

.page-fishing-games-recommendation {
  color: var(--page-text-main); /* Đảm bảo màu chữ sáng trên nền tối */
  background-color: var(--page-background);
}

.page-fishing-games-recommendation__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 10px 20px 60px; /* Chỉ dùng padding-top nhỏ, body đã có header-offset */
  overflow: hidden;
  box-sizing: border-box;
}

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

.page-fishing-games-recommendation__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.5); /* Làm mờ ảnh nền để chữ nổi bật hơn */
}

.page-fishing-games-recommendation__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 20px;
  background: rgba(0, 0, 0, 0.4); /* Nền bán trong suốt cho chữ */
  border-radius: 10px;
}

.page-fishing-games-recommendation__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  color: var(--page-text-main);
  margin-bottom: 15px;
  font-weight: 700;
  line-height: 1.2;
  text-shadow: 0 0 10px rgba(255, 211, 107, 0.7);
}

.page-fishing-games-recommendation__hero-description {
  font-size: 1.2rem;
  color: var(--page-text-main);
  margin-bottom: 30px;
  line-height: 1.5;
}

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

.page-fishing-games-recommendation__btn-primary,
.page-fishing-games-recommendation__btn-secondary,
.page-fishing-games-recommendation a[class*="button"],
.page-fishing-games-recommendation a[class*="btn"] {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-fishing-games-recommendation__btn-primary {
  background: var(--page-button-gradient);
  color: #ffffff; /* Luôn dùng màu trắng cho chữ nút chính */
  border: none;
}

.page-fishing-games-recommendation__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(255, 211, 107, 0.4);
}

.page-fishing-games-recommendation__btn-secondary {
  background: transparent;
  color: var(--page-secondary-color); /* Màu chữ phụ trợ */
  border: 2px solid var(--page-secondary-color);
}

.page-fishing-games-recommendation__btn-secondary:hover {
  background: var(--page-secondary-color);
  color: var(--page-background); /* Chữ tối trên nền sáng khi hover */
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(255, 211, 107, 0.4);
}

.page-fishing-games-recommendation__btn-small {
  padding: 10px 20px;
  font-size: 0.9rem;
}

.page-fishing-games-recommendation__btn-large {
  padding: 18px 35px;
  font-size: 1.1rem;
}

.page-fishing-games-recommendation__section {
  padding: 60px 0;
  background-color: var(--page-background);
}

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

.page-fishing-games-recommendation__section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--page-primary-color);
  text-align: center;
  margin-bottom: 20px;
  font-weight: 700;
  text-shadow: 0 0 8px rgba(255, 211, 107, 0.5);
}

.page-fishing-games-recommendation__section-subtitle {
  font-size: 1.1rem;
  color: var(--page-text-main);
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-fishing-games-recommendation__text-block {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--page-text-main);
  margin-bottom: 20px;
}

.page-fishing-games-recommendation__highlight {
  color: var(--page-secondary-color);
  font-weight: 600;
}

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

.page-fishing-games-recommendation__card {
  background-color: var(--page-card-bg);
  border: 1px solid var(--page-border-color);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: var(--page-text-main);
  display: flex;
  flex-direction: column;
}

.page-fishing-games-recommendation__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(255, 211, 107, 0.3);
}

.page-fishing-games-recommendation__card-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
  min-width: 200px; /* Đảm bảo kích thước tối thiểu */
  min-height: 200px;
}

.page-fishing-games-recommendation__card-content {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-fishing-games-recommendation__card-title {
  font-size: 1.5rem;
  color: var(--page-primary-color);
  margin-bottom: 15px;
  font-weight: 600;
  line-height: 1.3;
}

.page-fishing-games-recommendation__card-description {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--page-text-main);
  margin-bottom: 20px;
}

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

.page-fishing-games-recommendation__feature-item {
  text-align: center;
  padding: 30px;
}

.page-fishing-games-recommendation__feature-icon {
  width: 80px;
  height: 80px;
  object-fit: contain;
  margin-bottom: 20px;
  min-width: 200px; /* Đảm bảo kích thước tối thiểu */
  min-height: 200px;
}

.page-fishing-games-recommendation__feature-title {
  font-size: 1.3rem;
  color: var(--page-primary-color);
  margin-bottom: 10px;
  font-weight: 600;
}

.page-fishing-games-recommendation__feature-description {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--page-text-main);
}

.page-fishing-games-recommendation__promotion-card {
  display: flex;
  flex-direction: column;
  margin-bottom: 30px;
}

.page-fishing-games-recommendation__promotion-card .page-fishing-games-recommendation__card-image {
  height: 300px;
}

.page-fishing-games-recommendation__step-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
  color: var(--page-text-main);
}

.page-fishing-games-recommendation__step-list li {
  background-color: var(--page-card-bg);
  border: 1px solid var(--page-border-color);
  padding: 20px 25px;
  margin-bottom: 15px;
  border-radius: 8px;
  font-size: 1.1rem;
  line-height: 1.6;
  display: flex;
  align-items: center;
  gap: 15px;
}

.page-fishing-games-recommendation__step-list li strong {
  color: var(--page-primary-color);
  font-size: 1.2rem;
}

.page-fishing-games-recommendation__step-list li a {
  color: var(--page-secondary-color);
  text-decoration: none;
}

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

.page-fishing-games-recommendation__cta-buttons--center {
  margin-top: 40px;
}

.page-fishing-games-recommendation__faq-list {
  margin-top: 30px;
}

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

.page-fishing-games-recommendation__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--page-primary-color);
  cursor: pointer;
  transition: background-color 0.3s ease;
  list-style: none; /* For <summary> tag */
}

.page-fishing-games-recommendation__faq-question::-webkit-details-marker {
  display: none; /* Hide default arrow for <summary> */
}

.page-fishing-games-recommendation__faq-question:hover {
  background-color: rgba(255, 211, 107, 0.1);
}

.page-fishing-games-recommendation__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  transition: transform 0.3s ease;
}

.page-fishing-games-recommendation__faq-item[open] .page-fishing-games-recommendation__faq-toggle {
  transform: rotate(45deg);
}

.page-fishing-games-recommendation__faq-answer {
  padding: 0 25px 20px;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--page-text-main);
}

.page-fishing-games-recommendation__faq-answer p {
  margin-top: 0;
  margin-bottom: 0;
}

.page-fishing-games-recommendation__strategy-list {
  list-style: disc;
  padding-left: 30px;
  margin-top: 20px;
  color: var(--page-text-main);
}

.page-fishing-games-recommendation__strategy-list li {
  margin-bottom: 10px;
  line-height: 1.6;
}

.page-fishing-games-recommendation__strategy-list li strong {
  color: var(--page-primary-color);
}

/* ==================== Responsive Styles ==================== */
@media (max-width: 1024px) {
  .page-fishing-games-recommendation__main-title {
    font-size: clamp(2rem, 4.5vw, 3rem);
  }

  .page-fishing-games-recommendation__hero-description {
    font-size: 1.1rem;
  }

  .page-fishing-games-recommendation__section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  }

  .page-fishing-games-recommendation__card-image {
    height: 220px;
  }
}

@media (max-width: 768px) {
  .page-fishing-games-recommendation__hero-section {
    padding-bottom: 40px;
  }

  .page-fishing-games-recommendation__hero-content {
    padding: 15px;
  }

  .page-fishing-games-recommendation__main-title {
    font-size: 2.2rem; /* Cố định font-size trên mobile */
  }

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

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

  .page-fishing-games-recommendation__btn-primary,
  .page-fishing-games-recommendation__btn-secondary,
  .page-fishing-games-recommendation a[class*="button"],
  .page-fishing-games-recommendation a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-fishing-games-recommendation__cta-buttons,
  .page-fishing-games-recommendation__button-group,
  .page-fishing-games-recommendation__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
  }

  .page-fishing-games-recommendation__section {
    padding: 40px 0;
  }

  .page-fishing-games-recommendation__container {
    padding: 0 15px;
  }

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

  .page-fishing-games-recommendation__section-subtitle,
  .page-fishing-games-recommendation__text-block,
  .page-fishing-games-recommendation__card-description,
  .page-fishing-games-recommendation__feature-description,
  .page-fishing-games-recommendation__step-list li,
  .page-fishing-games-recommendation__faq-question,
  .page-fishing-games-recommendation__faq-answer,
  .page-fishing-games-recommendation__strategy-list li {
    font-size: 0.95rem;
  }

  .page-fishing-games-recommendation__grid,
  .page-fishing-games-recommendation__features-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-fishing-games-recommendation__card-image,
  .page-fishing-games-recommendation__promotion-card .page-fishing-games-recommendation__card-image {
    height: 200px;
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    min-width: 200px !important;
    min-height: 200px !important;
  }

  .page-fishing-games-recommendation__feature-icon {
    width: 60px;
    height: 60px;
    min-width: 200px !important;
    min-height: 200px !important;
  }

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

  /* Video responsive - không có video trên trang này, nhưng giữ quy tắc phòng hờ */
  .page-fishing-games-recommendation video,
  .page-fishing-games-recommendation__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

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

  .page-fishing-games-recommendation__video-section {
    padding-top: 10px !important; /* body đã承担 --header-offset，此处禁止 var(--header-offset) */
  }

  .page-fishing-games-recommendation__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-fishing-games-recommendation__card {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
}

@media (max-width: 480px) {
  .page-fishing-games-recommendation__main-title {
    font-size: 1.8rem;
  }

  .page-fishing-games-recommendation__section-title {
    font-size: 1.5rem;
  }

  .page-fishing-games-recommendation__card-title {
    font-size: 1.3rem;
  }

  .page-fishing-games-recommendation__btn-primary,
  .page-fishing-games-recommendation__btn-secondary {
    padding: 12px 20px;
    font-size: 0.9rem;
  }
}