/* style/fishing-games.css */
/* body đã padding-top: var(--header-offset) từ shared.css; trang này KHÔNG được thêm padding-top: var(--header-offset) */

:root {
  --mv888-primary: #26A9E0;
  --mv888-secondary: #FFFFFF;
  --mv888-text-dark: #333333;
  --mv888-text-light: #ffffff;
  --mv888-login-btn: #EA7C07;
  --mv888-background: #FFFFFF;
  --mv888-black: #000000;
}

.page-fishing-games {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--mv888-text-dark); /* Body background is light, so text is dark */
  background-color: var(--mv888-background);
}

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

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

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

.page-fishing-games__center-content {
  text-align: center;
}

.page-fishing-games__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-bottom: 60px;
  padding-top: 10px; /* Small decorative padding, NOT --header-offset */
  overflow: hidden;
}

.page-fishing-games__hero-image-wrapper {
  width: 100%;
  max-height: 700px;
  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 {
  text-align: center;
  padding: 40px 20px;
  max-width: 900px;
  margin-top: -100px; /* Overlap slightly for visual flow, but no text on image */
  position: relative;
  z-index: 1;
}

.page-fishing-games__main-title {
  font-size: clamp(2em, 4vw, 3.5em); /* Responsive font size */
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--mv888-text-light);
  line-height: 1.2;
}

.page-fishing-games__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: var(--mv888-text-light);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary,
.page-fishing-games__btn-card {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.2s ease;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text wrapping */
  box-sizing: border-box;
  max-width: 100%;
}

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

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

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

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

.page-fishing-games__btn-card {
  background-color: var(--mv888-primary);
  color: var(--mv888-text-light);
  border: 2px solid var(--mv888-primary);
  font-size: 1em;
  padding: 10px 20px;
  margin-top: 15px;
}

.page-fishing-games__btn-card:hover {
  background-color: darken(var(--mv888-primary), 10%);
  transform: translateY(-1px);
}

.page-fishing-games__section-title {
  font-size: clamp(1.8em, 3.5vw, 2.8em);
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
  line-height: 1.3;
}

.page-fishing-games__introduction-section,
.page-fishing-games__game-types-section,
.page-fishing-games__guide-section,
.page-fishing-games__strategy-section,
.page-fishing-games__promotions-section,
.page-fishing-games__features-section,
.page-fishing-games__faq-section,
.page-fishing-games__cta-final-section {
  padding: 80px 0;
}

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

.page-fishing-games__image-content {
  width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

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

.page-fishing-games__card {
  background-color: var(--mv888-secondary);
  color: var(--mv888-text-dark);
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  padding: 30px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  transition: transform 0.3s ease;
}

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

.page-fishing-games__card-title {
  font-size: 1.5em;
  font-weight: 600;
  margin-bottom: 15px;
  color: var(--mv888-primary);
}

.page-fishing-games__card-description {
  font-size: 1em;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-fishing-games__guide-list,
.page-fishing-games__strategy-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
}

.page-fishing-games__guide-list li,
.page-fishing-games__strategy-list li {
  background-color: var(--mv888-secondary);
  padding: 25px;
  margin-bottom: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.page-fishing-games__list-title {
  font-size: 1.3em;
  font-weight: 600;
  color: var(--mv888-primary);
  margin-bottom: 10px;
}

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

.page-fishing-games__promotion-cards .page-fishing-games__card {
  text-align: left;
  padding: 0;
  overflow: hidden;
}

.page-fishing-games__promotion-cards .page-fishing-games__card-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 10px 10px 0 0;
  margin-bottom: 20px;
}

.page-fishing-games__promotion-cards .page-fishing-games__card-title {
  padding: 0 25px;
  margin-bottom: 10px;
  color: var(--mv888-primary);
}

.page-fishing-games__promotion-cards .page-fishing-games__card-description {
  padding: 0 25px;
  margin-bottom: 20px;
}

.page-fishing-games__promotion-cards .page-fishing-games__btn-card {
  margin: 0 25px 25px 25px;
  align-self: flex-start;
}

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

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

.page-fishing-games__feature-item {
  background-color: var(--mv888-secondary);
  color: var(--mv888-text-dark);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  text-align: center;
}

.page-fishing-games__feature-icon {
  width: 100%; /* Ensure large images, not icons */
  max-width: 200px; /* Example max width, still > 200px */
  height: auto;
  display: block;
  margin: 0 auto 20px auto;
  border-radius: 8px;
}

.page-fishing-games__feature-title {
  font-size: 1.4em;
  font-weight: 600;
  color: var(--mv888-primary);
  margin-bottom: 10px;
}

.page-fishing-games__feature-description {
  font-size: 1em;
}

.page-fishing-games__faq-list {
  margin-top: 40px;
}

.page-fishing-games__faq-item {
  background-color: var(--mv888-secondary);
  color: var(--mv888-text-dark);
  margin-bottom: 15px;
  border-radius: 8px;
  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: 20px 25px;
  font-size: 1.2em;
  font-weight: 600;
  color: var(--mv888-primary);
  cursor: pointer;
  border-bottom: 1px solid #eee;
  list-style: none; /* For details/summary */
}

.page-fishing-games__faq-item[open] > .page-fishing-games__faq-question {
  border-bottom: 1px solid #ddd;
}

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

.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 25px 25px;
  font-size: 1em;
  color: var(--mv888-text-dark);
}

.page-fishing-games__cta-final-section {
  padding: 100px 0;
  text-align: center;
}

.page-fishing-games__cta-final-section .page-fishing-games__section-title {
  color: var(--mv888-text-light);
}

.page-fishing-games__cta-final-section .page-fishing-games__text-block {
  color: var(--mv888-text-light);
  max-width: 800px;
  margin: 0 auto 40px auto;
}

/* --- Responsive Design --- */
@media (max-width: 1024px) {
  .page-fishing-games__hero-content {
    margin-top: -80px;
  }
}

@media (max-width: 768px) {
  .page-fishing-games {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-fishing-games__hero-section {
    padding-bottom: 40px;
  }

  .page-fishing-games__hero-content {
    padding: 30px 15px;
    margin-top: -60px;
  }

  .page-fishing-games__main-title {
    font-size: clamp(1.8em, 7vw, 2.5em);
  }

  .page-fishing-games__hero-description {
    font-size: 1em;
  }

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

  .page-fishing-games__btn-primary,
  .page-fishing-games__btn-secondary,
  .page-fishing-games a[class*="button"],
  .page-fishing-games a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
    margin: 0 auto; /* Center buttons when stacked */
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-fishing-games__introduction-section,
  .page-fishing-games__game-types-section,
  .page-fishing-games__guide-section,
  .page-fishing-games__strategy-section,
  .page-fishing-games__promotions-section,
  .page-fishing-games__features-section,
  .page-fishing-games__faq-section,
  .page-fishing-games__cta-final-section {
    padding: 40px 0;
  }

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

  .page-fishing-games__section-title {
    font-size: clamp(1.5em, 6vw, 2em);
    margin-bottom: 30px;
  }

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

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

  .page-fishing-games__card {
    padding: 20px;
  }

  .page-fishing-games__card-title {
    font-size: 1.3em;
  }

  .page-fishing-games__guide-list li,
  .page-fishing-games__strategy-list li {
    padding: 20px;
  }

  .page-fishing-games__list-title {
    font-size: 1.1em;
  }

  .page-fishing-games__feature-title {
    font-size: 1.2em;
  }

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

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

  /* Mobile image responsiveness */
  .page-fishing-games img,
  .page-fishing-games__hero-image,
  .page-fishing-games__image-content,
  .page-fishing-games__card-image,
  .page-fishing-games__feature-icon {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  /* Mobile video responsiveness - no videos on this page, but for completeness */
  .page-fishing-games video,
  .page-fishing-games__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-fishing-games__video-section,
  .page-fishing-games__video-container,
  .page-fishing-games__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__video-section {
    padding-top: 10px !important;
  }
}

@media (max-width: 480px) {
  .page-fishing-games__hero-content {
    margin-top: -40px;
  }

  .page-fishing-games__main-title {
    font-size: clamp(1.5em, 8vw, 2em);
  }

  .page-fishing-games__cta-buttons {
    gap: 10px;
  }

  .page-fishing-games__btn-primary,
  .page-fishing-games__btn-secondary {
    padding: 10px 15px;
    font-size: 0.95em;
  }

  .page-fishing-games__section-title {
    font-size: clamp(1.3em, 7vw, 1.8em);
  }
}