/* style/fishing-games.css */
/* body đã padding-top: var(--header-offset) từ shared.css, không lặp lại ở đây */

.page-fishing-games {
  color: #ffffff; /* Mặc định chữ trắng trên nền tối của body */
  background-color: transparent; /* Nền của main sẽ trong suốt để lộ body */
}

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

.page-fishing-games__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 0 60px 0; /* Chỉ 10px padding-top, không dùng --header-offset */
  background-color: var(--black-color);
  overflow: hidden;
}

.page-fishing-games__hero-image-wrapper {
  width: 100%;
  max-height: 700px; /* Giới hạn chiều cao hình ảnh hero */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

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

.page-fishing-games__hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  padding: 40px 20px;
  max-width: 900px;
  color: #FFFFFF;
}

.page-fishing-games__main-title {
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.03em;
  color: #FFFFFF;
  margin-bottom: 20px;
  /* Sử dụng clamp để kiểm soát kích thước font, tránh quá lớn trên di động */
  font-size: clamp(2.5rem, 5vw, 3.5rem);
}

.page-fishing-games__description {
  font-size: 1.2rem;
  line-height: 1.6;
  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-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  box-sizing: border-box;
  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: #1a8cc4;
  border-color: #1a8cc4;
}

.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__section-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
  color: #26A9E0;
}

.page-fishing-games__intro-section,
.page-fishing-games__how-to-play-section,
.page-fishing-games__promotions-section {
  padding: 60px 0;
  background-color: #FFFFFF;
  color: #333333; /* Chữ tối trên nền sáng */
}

.page-fishing-games__text-block {
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 20px;
  text-align: justify;
}

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

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

.page-fishing-games__dark-section {
  background-color: #1a1a1a;
  color: #FFFFFF; /* Chữ sáng trên nền tối */
  padding: 60px 0;
}

.page-fishing-games__dark-section .page-fishing-games__section-title {
  color: #FFFFFF;
}

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

.page-fishing-games__feature-card,
.page-fishing-games__promotion-card {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #FFFFFF; /* Chữ sáng trên nền card tối */
}

.page-fishing-games__promotion-card {
  background-color: #f8f8f8;
  color: #333333;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

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

.page-fishing-games__feature-title,
.page-fishing-games__promotion-title {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: #26A9E0;
}

.page-fishing-games__feature-description,
.page-fishing-games__promotion-description {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 20px;
}

.page-fishing-games__how-to-play-section .page-fishing-games__section-title {
  color: #26A9E0;
}

.page-fishing-games__video-wrapper {
  position: relative;
  width: 100%;
  max-width: 800px;
  margin: 0 auto 40px auto;
  background-color: #000;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-fishing-games__video-link {
  display: block;
  width: 100%;
  height: 100%;
  cursor: pointer;
}

.page-fishing-games__video {
  width: 100%;
  height: auto;
  display: block;
}

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

.page-fishing-games__step-item {
  background-color: #f0f8ff;
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  text-align: center;
  color: #333333;
}

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

.page-fishing-games__step-description {
  font-size: 1rem;
  line-height: 1.6;
}

.page-fishing-games__step-description a {
  color: #EA7C07;
  text-decoration: none;
}

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

.page-fishing-games__content-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 40px auto 0 auto;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

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

.page-fishing-games__strategy-item {
  background-color: rgba(255, 255, 255, 0.1);
  border-left: 5px solid #26A9E0;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 20px;
  color: #FFFFFF;
}

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

.page-fishing-games__strategy-description {
  font-size: 1rem;
  line-height: 1.6;
}

.page-fishing-games__promotions-section .page-fishing-games__btn-primary,
.page-fishing-games__promotions-section .page-fishing-games__btn-secondary {
  font-size: 0.95rem;
  padding: 10px 20px;
}

.page-fishing-games__faq-section {
  padding: 60px 0;
  background-color: #f5f5f5;
  color: #333333;
}

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

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

.page-fishing-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.15rem;
  font-weight: 600;
  color: #333333;
  cursor: pointer;
  background-color: #eaf6ff;
  border-bottom: 1px solid #d0e8ff;
  list-style: none;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.page-fishing-games__faq-item[open] > .page-fishing-games__faq-question {
  background-color: #d0e8ff;
}

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

.page-fishing-games__faq-question .page-fishing-games__faq-toggle {
  font-size: 1.5rem;
  font-weight: normal;
  margin-left: 15px;
  color: #26A9E0;
}

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

.page-fishing-games__faq-answer p {
  margin: 0;
}

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

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

.page-fishing-games__conclusion-section {
  padding: 80px 0;
  text-align: center;
  background-color: #26A9E0;
  color: #FFFFFF;
}

.page-fishing-games__conclusion-section .page-fishing-games__section-title {
  color: #FFFFFF;
  margin-bottom: 30px;
}

.page-fishing-games__conclusion-section .page-fishing-games__text-block {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  font-size: 1.15rem;
  color: #f0f0f0;
}

.page-fishing-games__conclusion-section .page-fishing-games__cta-buttons {
  margin-top: 40px;
}

.page-fishing-games__conclusion-section .page-fishing-games__btn-primary {
  background-color: #EA7C07;
  border-color: #EA7C07;
}

.page-fishing-games__conclusion-section .page-fishing-games__btn-primary:hover {
  background-color: #d06d06;
  border-color: #d06d06;
}

.page-fishing-games__conclusion-section .page-fishing-games__btn-secondary {
  border-color: #FFFFFF;
  color: #FFFFFF;
}

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

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-fishing-games__main-title {
    font-size: clamp(2rem, 6vw, 3rem);
  }
  .page-fishing-games__description {
    font-size: 1.1rem;
  }
  .page-fishing-games__section-title {
    font-size: clamp(1.6rem, 5vw, 2.5rem);
  }
}

@media (max-width: 768px) {
  .page-fishing-games__hero-section {
    padding: 10px 0 40px 0;
  }

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

  .page-fishing-games__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
  }

  .page-fishing-games__btn-primary,
  .page-fishing-games__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1rem;
  }

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

  .page-fishing-games__intro-section,
  .page-fishing-games__features-section,
  .page-fishing-games__how-to-play-section,
  .page-fishing-games__strategy-section,
  .page-fishing-games__promotions-section,
  .page-fishing-games__faq-section,
  .page-fishing-games__conclusion-section {
    padding: 40px 0;
  }

  .page-fishing-games__features-grid,
  .page-fishing-games__promotions-grid,
  .page-fishing-games__steps-list {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  /* Force responsive images */
  .page-fishing-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  /* Force responsive videos */
  .page-fishing-games video,
  .page-fishing-games__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  /* Video and image containers */
  .page-fishing-games__video-wrapper,
  .page-fishing-games__hero-image-wrapper,
  .page-fishing-games__section,
  .page-fishing-games__card,
  .page-fishing-games__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

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

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

  .page-fishing-games__text-block {
    font-size: 1rem;
  }

  .page-fishing-games__step-item,
  .page-fishing-games__feature-card,
  .page-fishing-games__promotion-card {
    padding: 20px;
  }
}