/* style/fishing-games.css */
/* body đã padding-top: var(--header-offset) từ shared.css; trang này không cần lặp lại */
.page-fishing-games {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #333333; /* Mặc định cho nền sáng */
  background-color: var(--background-color, #FFFFFF);
}

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

.page-fishing-games__section {
  padding: 60px 0;
}

.page-fishing-games__section-title {
  font-size: 2.5em;
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
  color: #26A9E0;
  line-height: 1.2;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-fishing-games__text-center {
  text-align: center;
}

.page-fishing-games__mt-4 {
  margin-top: 40px;
}

/* Hero Section */
.page-fishing-games__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 0 80px;
  padding-top: 10px; /* Nhỏ gọn để không bị đè lên header */
  overflow: hidden;
  color: #FFFFFF;
}

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

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

.page-fishing-games__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  padding: 20px;
  background: rgba(0, 0, 0, 0.4); /* Lớp phủ nhẹ để chữ dễ đọc */
  border-radius: 10px;
}

.page-fishing-games__main-title {
  font-size: clamp(2em, 4vw, 3.5em); /* Giới hạn kích thước chữ h1 */
  font-weight: 900;
  margin-bottom: 20px;
  color: #FFFFFF;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-fishing-games__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #f0f0f0;
}

.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;
  font-size: 1.1em;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

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

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

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

.page-fishing-games__btn-secondary:hover {
  background-color: #e0f2f7;
  color: #1a7fb3;
}

/* About Game Section */
.page-fishing-games__about-game-section p {
  font-size: 1.1em;
  margin-bottom: 15px;
  text-align: justify;
}

/* Features Section */
.page-fishing-games__features-grid,
.page-fishing-games__tips-grid,
.page-fishing-games__why-choose-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.page-fishing-games__feature-card,
.page-fishing-games__tip-card,
.page-fishing-games__why-choose-item {
  background-color: #FFFFFF;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  color: #333333;
}

.page-fishing-games__feature-image,
.page-fishing-games__tip-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 15px;
  display: block;
  margin-left: auto;
  margin-right: auto;
  min-width: 200px; /* Đảm bảo kích thước tối thiểu */
  min-height: 200px;
}

.page-fishing-games__feature-title,
.page-fishing-games__tip-title,
.page-fishing-games__why-choose-title {
  font-size: 1.4em;
  font-weight: 700;
  color: #26A9E0;
  margin-bottom: 10px;
}

/* How-to Play Section */
.page-fishing-games__how-to-steps {
  list-style: none;
  counter-reset: step-counter;
  padding: 0;
  margin: 0;
}

.page-fishing-games__step-item {
  counter-increment: step-counter;
  background-color: #FFFFFF;
  padding: 25px;
  margin-bottom: 20px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: flex-start;
  gap: 20px;
  color: #333333;
}

.page-fishing-games__step-item::before {
  content: counter(step-counter);
  font-size: 2em;
  font-weight: 900;
  color: #26A9E0;
  flex-shrink: 0;
  line-height: 1;
}

.page-fishing-games__step-title {
  font-size: 1.3em;
  font-weight: 700;
  color: #333333;
  margin-top: 0;
  margin-bottom: 10px;
}

/* Promotions Section */
.page-fishing-games__promo-list {
  list-style: disc;
  padding-left: 20px;
  font-size: 1.1em;
  margin-left: auto;
  margin-right: auto;
  max-width: 800px;
  color: #333333;
}

.page-fishing-games__promo-list li {
  margin-bottom: 10px;
}

/* Why Choose Us Section */
.page-fishing-games__why-choose-item {
  background-color: rgba(255, 255, 255, 0.1);
  color: #FFFFFF;
  box-shadow: none;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.page-fishing-games__why-choose-item .page-fishing-games__why-choose-title {
  color: #FFFFFF;
}

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

.page-fishing-games__faq-item {
  background-color: #FFFFFF;
  margin-bottom: 15px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  color: #333333;
}

.page-fishing-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.2em;
  font-weight: 600;
  color: #333333;
  cursor: pointer;
  background-color: #f9f9f9;
  border-bottom: 1px solid #eee;
  list-style: none; /* For details summary */
}

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

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

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

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

.page-fishing-games__faq-answer {
  padding: 15px 25px 20px;
  font-size: 1.05em;
  color: #555555;
  border-top: 1px solid #eee;
}

.page-fishing-games__faq-item:not([open]) .page-fishing-games__faq-answer {
  border-top: none;
}

/* Color Contrast */
.page-fishing-games__dark-bg {
  background-color: #26A9E0; /* Màu chủ đạo */
  color: #ffffff; /* Chữ trắng cho nền tối */
}

.page-fishing-games__dark-bg .page-fishing-games__section-title,
.page-fishing-games__dark-bg .page-fishing-games__feature-title,
.page-fishing-games__dark-bg .page-fishing-games__tip-title,
.page-fishing-games__dark-bg .page-fishing-games__why-choose-title {
  color: #FFFFFF;
}

.page-fishing-games__light-bg {
  background-color: #FFFFFF;
  color: #333333; /* Chữ đen cho nền sáng */
}

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

@media (max-width: 768px) {
  .page-fishing-games__section {
    padding: 40px 0;
  }
  .page-fishing-games__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }
  .page-fishing-games__hero-section {
    padding: 40px 0 60px;
    padding-top: 10px !important;
  }
  .page-fishing-games__hero-content {
    padding: 15px;
    max-width: 95%;
  }
  .page-fishing-games__main-title {
    font-size: clamp(1.5em, 6vw, 2.5em);
    margin-bottom: 15px;
  }
  .page-fishing-games__hero-description {
    font-size: 1em;
    margin-bottom: 20px;
  }
  .page-fishing-games__cta-buttons {
    flex-direction: column;
    gap: 15px;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
  .page-fishing-games__btn-primary,
  .page-fishing-games__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px !important;
    font-size: 1em !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  
  /* Responsive Images & Videos */
  .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__section,
  .page-fishing-games__card,
  .page-fishing-games__container,
  .page-fishing-games__video-section,
  .page-fishing-games__video-container,
  .page-fishing-games__video-wrapper,
  .page-fishing-games__features-grid,
  .page-fishing-games__tips-grid,
  .page-fishing-games__why-choose-grid {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
  .page-fishing-games__step-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .page-fishing-games__step-item::before {
    margin-bottom: 10px;
  }
  .page-fishing-games__promo-list {
    padding-left: 0;
    margin-left: 0;
    text-align: left;
  }
}