/* style/fishing-games.css */
/* body đã padding-top: var(--header-offset) từ shared.css; trang này không cần thêm padding-top cho body hoặc các phần tử đầu tiên */
.page-fishing-games {
  background-color: #08160F;
  color: #F2FFF6; /* Text Main */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

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

.page-fishing-games__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-bottom: 60px; /* Space for content below image */
  padding-top: 10px; /* Small top padding, body handles header offset */
  overflow: hidden;
}

.page-fishing-games__hero-image-wrapper {
  width: 100%;
  max-height: 600px; /* Adjust as needed */
  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; /* Ensure content is above any potential image overlap */
  z-index: 10;
  padding: 40px 20px;
  max-width: 900px;
  margin-top: -100px; /* Pull content up over the image slightly */
  background: linear-gradient(0deg, #08160F 0%, rgba(8, 22, 15, 0.8) 70%, transparent 100%);
  border-radius: 10px;
}

.page-fishing-games__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  color: #F2C14E; /* Gold */
  margin-bottom: 15px;
  font-weight: bold;
  line-height: 1.2;
}

.page-fishing-games__hero-description {
  font-size: 1.1rem;
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-fishing-games__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button */
  color: #F2FFF6; /* Text Main */
  border: none;
  box-shadow: 0 5px 15px rgba(17, 168, 78, 0.4);
}

.page-fishing-games__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(17, 168, 78, 0.6);
}

.page-fishing-games__btn-secondary {
  background: #11271B; /* Card BG */
  color: #F2FFF6; /* Text Main */
  border: 2px solid #2E7A4E; /* Border */
}

.page-fishing-games__btn-secondary:hover {
  background: #2E7A4E; /* Border */
  color: #F2FFF6;
  transform: translateY(-3px);
}

.page-fishing-games__introduction-section,
.page-fishing-games__guide-section,
.page-fishing-games__why-choose-us-section,
.page-fishing-games__cta-final-section {
  padding: 60px 0;
  text-align: center;
}

.page-fishing-games__dark-section {
  background-color: #11271B; /* Card BG */
  padding: 60px 0;
  color: #F2FFF6; /* Text Main */
}

.page-fishing-games__section-title {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  color: #F2C14E; /* Gold */
  margin-bottom: 20px;
  font-weight: bold;
}

.page-fishing-games__section-description {
  font-size: 1.1rem;
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-fishing-games__text-block {
  font-size: 1rem;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 20px;
  text-align: left;
}

.page-fishing-games__featured-games-section .page-fishing-games__section-description {
  color: #A7D9B8; /* Text Secondary */
}

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

.page-fishing-games__game-card {
  background-color: #0A4B2C; /* Deep Green */
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  text-align: center;
  padding-bottom: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-fishing-games__game-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.4);
}

.page-fishing-games__game-card-image {
  width: 100%;
  height: 250px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
  margin-bottom: 15px;
}

.page-fishing-games__game-card-title {
  font-size: 1.5rem;
  color: #F2C14E; /* Gold */
  margin-bottom: 10px;
  font-weight: bold;
}

.page-fishing-games__game-card-title a {
  color: #F2C14E;
  text-decoration: none;
}

.page-fishing-games__game-card-title a:hover {
  text-decoration: underline;
}

.page-fishing-games__game-card-description {
  font-size: 0.95rem;
  color: #A7D9B8; /* Text Secondary */
  padding: 0 15px;
  margin-bottom: 20px;
}

.page-fishing-games__guide-block {
  text-align: left;
  margin-bottom: 40px;
}

.page-fishing-games__guide-subtitle {
  font-size: 1.6rem;
  color: #11A84E; /* Primary Color */
  margin-bottom: 15px;
  font-weight: bold;
}

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

.page-fishing-games__guide-list li {
  background-color: #11271B; /* Card BG */
  margin-bottom: 10px;
  padding: 15px 20px;
  border-radius: 8px;
  color: #F2FFF6; /* Text Main */
  font-size: 1rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-fishing-games__guide-list li strong {
  color: #F2C14E; /* Gold */
}

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

.page-fishing-games__promotion-card {
  background-color: #0A4B2C; /* Deep Green */
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  text-align: center;
  padding-bottom: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-fishing-games__promotion-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.4);
}

.page-fishing-games__promotion-card-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
  margin-bottom: 15px;
}

.page-fishing-games__promotion-card-title {
  font-size: 1.5rem;
  color: #F2C14E; /* Gold */
  margin-bottom: 10px;
  font-weight: bold;
}

.page-fishing-games__promotion-card-text {
  font-size: 0.95rem;
  color: #A7D9B8; /* Text Secondary */
  padding: 0 15px;
  margin-bottom: 20px;
}

.page-fishing-games__view-all-promotions {
  margin-top: 40px;
}

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

.page-fishing-games__advantage-item {
  background-color: #11271B; /* Card BG */
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  transition: transform 0.3s ease;
}

.page-fishing-games__advantage-item:hover {
  transform: translateY(-5px);
}

.page-fishing-games__advantage-icon {
  width: 200px;
  height: 200px;
  object-fit: contain;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-fishing-games__advantage-title {
  font-size: 1.4rem;
  color: #F2C14E; /* Gold */
  margin-bottom: 10px;
  font-weight: bold;
}

.page-fishing-games__advantage-text {
  font-size: 0.95rem;
  color: #A7D9B8; /* Text Secondary */
}

.page-fishing-games__faq-list {
  margin-top: 40px;
  text-align: left;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-fishing-games__faq-item {
  background-color: #0A4B2C; /* Deep Green */
  border-radius: 8px;
  margin-bottom: 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  overflow: hidden;
}

.page-fishing-games__faq-item details {
  width: 100%;
}

.page-fishing-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.15rem;
  color: #F2FFF6; /* Text Main */
  font-weight: bold;
  cursor: pointer;
  background-color: #11271B; /* Card BG */
  border-bottom: 1px solid #1E3A2A; /* Divider */
}

.page-fishing-games__faq-question:hover {
  background-color: #2E7A4E; /* Border color for hover */
}

.page-fishing-games__faq-item summary {
  list-style: none;
}

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

.page-fishing-games__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  color: #F2C14E; /* Gold */
  margin-left: 15px;
}

.page-fishing-games__faq-answer {
  padding: 15px 20px;
  font-size: 1rem;
  color: #A7D9B8; /* Text Secondary */
  background-color: #0A4B2C; /* Deep Green */
  border-top: 1px solid #1E3A2A; /* Divider */
}

.page-fishing-games__cta-final-section {
  background: linear-gradient(90deg, #11A84E 0%, #22C768 100%);
  padding: 80px 0;
  color: #F2FFF6; /* Text Main */
  box-shadow: inset 0 5px 20px rgba(0,0,0,0.3);
}

.page-fishing-games__cta-final-section .page-fishing-games__section-title {
  color: #F2FFF6; /* Text Main */
}

.page-fishing-games__cta-final-section .page-fishing-games__section-description {
  color: #F2FFF6; /* Text Main */
}

/* --- Responsive Styles --- */

/* Tất cả hình ảnh và video phải thích ứng với màn hình di động */
.page-fishing-games img,
.page-fishing-games video {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Tất cả các vùng chứa hình ảnh và video */
.page-fishing-games__hero-image-wrapper,
.page-fishing-games__game-card-image,
.page-fishing-games__promotion-card-image,
.page-fishing-games__advantage-icon,
.page-fishing-games__video-section,
.page-fishing-games__video-container,
.page-fishing-games__video-wrapper,
.page-fishing-games__container,
.page-fishing-games__section,
.page-fishing-games__card {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden; /* Ngăn chặn tràn nội dung */
}

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

  .page-fishing-games__hero-content {
    margin-top: -60px; /* Adjust pull up for mobile */
    padding: 20px 15px;
  }

  .page-fishing-games__main-title {
    font-size: 2rem !important;
  }

  .page-fishing-games__hero-description {
    font-size: 1rem !important;
  }

  .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 !important;
    font-size: 1rem !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-fishing-games__introduction-section,
  .page-fishing-games__featured-games-section,
  .page-fishing-games__guide-section,
  .page-fishing-games__promotions-section,
  .page-fishing-games__why-choose-us-section,
  .page-fishing-games__faq-section,
  .page-fishing-games__cta-final-section {
    padding: 40px 0 !important;
  }

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

  .page-fishing-games__section-title {
    font-size: 2rem !important;
  }

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

  .page-fishing-games__text-block,
  .page-fishing-games__game-card-description,
  .page-fishing-games__promotion-card-text,
  .page-fishing-games__advantage-text,
  .page-fishing-games__faq-answer p,
  .page-fishing-games__guide-list li {
    font-size: 0.95rem !important;
  }

  .page-fishing-games__game-grid,
  .page-fishing-games__promotion-cards,
  .page-fishing-games__advantages-grid {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }

  .page-fishing-games__game-card-image,
  .page-fishing-games__promotion-card-image {
    height: 180px !important; /* Adjust for mobile */
  }

  .page-fishing-games__advantage-icon {
    width: 150px !important;
    height: 150px !important;
  }

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

  .page-fishing-games img,
  .page-fishing-games video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-fishing-games__hero-image-wrapper,
  .page-fishing-games__game-card-image,
  .page-fishing-games__promotion-card-image,
  .page-fishing-games__advantage-icon,
  .page-fishing-games__video-section,
  .page-fishing-games__video-container,
  .page-fishing-games__video-wrapper,
  .page-fishing-games__section,
  .page-fishing-games__card {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
}