/* style/fishing-games.css */
/* body đã padding-top: var(--header-offset) từ shared.css; trang này không cần thêm */

:root {
  --k9club-primary-color: #26A9E0;
  --k9club-secondary-color: #FFFFFF;
  --k9club-login-color: #EA7C07;
  --k9club-background-color: #FFFFFF;
  --k9club-text-dark: #333333;
  --k9club-text-light: #FFFFFF;
}

.page-fishing-games {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--k9club-text-dark); /* Mặc định cho nền sáng */
  background-color: var(--k9club-background-color);
}

.page-fishing-games__dark-bg {
  background-color: var(--k9club-primary-color);
  color: var(--k9club-text-light);
}

.page-fishing-games__light-bg {
  background-color: var(--k9club-background-color);
  color: var(--k9club-text-dark);
}

/* Hero Section */
.page-fishing-games__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 20px;
  padding-top: 10px; /* Nhỏ gọn để tránh đè lên body padding */
  text-align: center;
  overflow: hidden;
}

.page-fishing-games__hero-image-wrapper {
  width: 100%;
  max-width: 1920px; /* Lớn hơn để chứa ảnh hero */
  margin-bottom: 30px;
}

.page-fishing-games__hero-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.page-fishing-games__hero-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
  z-index: 1;
}

.page-fishing-games__main-title {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
  color: var(--k9club-text-light);
}

.page-fishing-games__hero-description {
  font-size: 1.1rem;
  margin-bottom: 30px;
  color: var(--k9club-text-light);
}

.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,
.page-fishing-games__btn-tertiary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  transition: all 0.3s ease;
  cursor: pointer;
  box-sizing: border-box;
  text-align: center;
}

.page-fishing-games__btn-primary {
  background-color: var(--k9club-login-color); /* Sử dụng màu đăng nhập */
  color: var(--k9club-text-light);
  border: 2px solid var(--k9club-login-color);
}

.page-fishing-games__btn-primary:hover {
  background-color: darken(var(--k9club-login-color), 10%);
  border-color: darken(var(--k9club-login-color), 10%);
  transform: translateY(-2px);
}

.page-fishing-games__btn-secondary {
  background-color: transparent;
  color: var(--k9club-text-light);
  border: 2px solid var(--k9club-text-light);
}

.page-fishing-games__btn-secondary:hover {
  background-color: var(--k9club-text-light);
  color: var(--k9club-primary-color);
  transform: translateY(-2px);
}

.page-fishing-games__btn-tertiary {
  background-color: var(--k9club-primary-color);
  color: var(--k9club-text-light);
  border: 2px solid var(--k9club-primary-color);
}

.page-fishing-games__btn-tertiary:hover {
  background-color: darken(var(--k9club-primary-color), 10%);
  border-color: darken(var(--k9club-primary-color), 10%);
  transform: translateY(-2px);
}

/* Content Area */
.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, 3vw, 2.8rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 20px;
  color: inherit;
}

.page-fishing-games__section-description {
  font-size: 1.1rem;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
  color: inherit;
}

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

.page-fishing-games__feature-card {
  background-color: var(--k9club-secondary-color);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease;
  color: var(--k9club-text-dark);
}

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

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

.page-fishing-games__feature-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: var(--k9club-primary-color);
}

.page-fishing-games__feature-text {
  font-size: 1rem;
}

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

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

.page-fishing-games__step-card {
  background-color: rgba(255, 255, 255, 0.15);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  color: var(--k9club-text-light);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.page-fishing-games__step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: var(--k9club-login-color);
  color: var(--k9club-text-light);
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 20px;
}

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

.page-fishing-games__step-text {
  font-size: 1rem;
}

.page-fishing-games__cta-center {
  text-align: center;
  margin-top: 50px;
}

/* Games Showcase */
.page-fishing-games__games-showcase {
  padding: 80px 20px;
}

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

.page-fishing-games__game-card {
  background-color: var(--k9club-secondary-color);
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: center;
  transition: transform 0.3s ease;
  color: var(--k9club-text-dark);
}

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

.page-fishing-games__game-image {
  width: 100%;
  height: 250px; /* Chiều cao cố định cho hình ảnh */
  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__game-title {
  font-size: 1.4rem;
  font-weight: 600;
  margin: 20px 15px 10px 15px;
  color: var(--k9club-primary-color);
}

.page-fishing-games__game-text {
  font-size: 0.95rem;
  padding: 0 15px 20px 15px;
}

.page-fishing-games__game-card .page-fishing-games__btn-tertiary {
  margin-bottom: 20px;
  padding: 10px 20px;
  font-size: 0.9rem;
}

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

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

.page-fishing-games__promo-card {
  background-color: rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: center;
  transition: transform 0.3s ease;
  color: var(--k9club-text-light);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

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

.page-fishing-games__promo-image {
  width: 100%;
  height: 200px;
  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__promo-title {
  font-size: 1.4rem;
  font-weight: 600;
  margin: 20px 15px 10px 15px;
  color: var(--k9club-text-light);
}

.page-fishing-games__promo-text {
  font-size: 0.95rem;
  padding: 0 15px 20px 15px;
}

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

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

.page-fishing-games__faq-item {
  background-color: var(--k9club-secondary-color);
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: var(--k9club-text-dark);
}

.page-fishing-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.15rem;
  font-weight: 600;
  cursor: pointer;
  background-color: #f9f9f9;
  border-bottom: 1px solid #e0e0e0;
  color: var(--k9club-primary-color);
}

.page-fishing-games__faq-question::-webkit-details-marker {
  display: none; /* Ẩn dấu mũi tên mặc định trên Chrome */
}

.page-fishing-games__faq-question::marker {
  display: none; /* Ẩn dấu mũi tên mặc định trên Firefox */
}

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

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

.page-fishing-games__faq-answer {
  padding: 20px;
  font-size: 1rem;
  color: var(--k9club-text-dark);
  background-color: var(--k9club-secondary-color);
}

/* Call To Action Section */
.page-fishing-games__call-to-action {
  padding: 80px 20px;
  text-align: center;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-fishing-games__main-title {
    font-size: clamp(2rem, 4.5vw, 3rem);
  }
  .page-fishing-games__section-title {
    font-size: clamp(1.6rem, 3.5vw, 2.5rem);
  }
  .page-fishing-games__hero-image-wrapper {
    margin-bottom: 20px;
  }
}

@media (max-width: 768px) {
  .page-fishing-games {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-fishing-games__hero-section,
  .page-fishing-games__features-section,
  .page-fishing-games__how-to-play-section,
  .page-fishing-games__games-showcase,
  .page-fishing-games__promotions-section,
  .page-fishing-games__faq-section,
  .page-fishing-games__call-to-action {
    padding: 40px 15px;
  }

  .page-fishing-games__hero-content {
    padding: 0 15px;
  }

  .page-fishing-games__main-title {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
    margin-bottom: 15px;
  }

  .page-fishing-games__hero-description {
    font-size: 1rem;
    margin-bottom: 25px;
  }

  .page-fishing-games__cta-buttons {
    flex-direction: column;
    gap: 15px;
    width: 100%;
  }

  .page-fishing-games__btn-primary,
  .page-fishing-games__btn-secondary,
  .page-fishing-games__btn-tertiary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 0.95rem;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

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

  .page-fishing-games__section-description {
    font-size: 1rem;
    margin-bottom: 30px;
  }

  .page-fishing-games__feature-card,
  .page-fishing-games__step-card,
  .page-fishing-games__game-card,
  .page-fishing-games__promo-card {
    padding: 25px;
  }

  .page-fishing-games__feature-icon,
  .page-fishing-games__game-image,
  .page-fishing-games__promo-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    min-width: 200px; /* Vẫn giữ min-width cho nội dung */
    min-height: 200px;
  }

  .page-fishing-games__games-grid,
  .page-fishing-games__promotions-grid,
  .page-fishing-games__features-grid,
  .page-fishing-games__steps-grid {
    gap: 20px;
  }

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

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

  /* Đảm bảo các container chứa hình ảnh/video không bị tràn */
  .page-fishing-games__hero-section,
  .page-fishing-games__features-section,
  .page-fishing-games__how-to-play-section,
  .page-fishing-games__games-showcase,
  .page-fishing-games__promotions-section,
  .page-fishing-games__faq-section,
  .page-fishing-games__call-to-action {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
}

/* Helper for darkening colors in CSS, not directly used but conceptually */
/* function darken(color, percentage) { */
/*   var f=parseInt(color.slice(1),16),t=percentage<0?0:255,p=percentage<0?percentage*-1:percentage,R=f>>16,G=(f>>8)&0x00ff,B=f&0x0000ff; */
/*   return "#"+(0x1000000+(Math.round((t-R)*p)+R)*0x10000+(Math.round((t-G)*p)+G)*0x100+(Math.round((t-B)*p)+B)).toString(16).slice(1); */
/* } */