/* style/fishing-games.css */
.page-fishing-games {
  background-color: #08160F; /* Nền tối */
  color: #F2FFF6; /* Chữ sáng */
  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;
  padding-top: 10px; /* Small top padding, body handles header offset */
  padding-bottom: 60px;
  text-align: center;
  overflow: hidden;
  background: linear-gradient(180deg, #0A4B2C 0%, #08160F 100%);
}

.page-fishing-games__hero-image-wrapper {
  width: 100%;
  max-height: 700px;
  overflow: hidden;
  position: relative;
  z-index: 0;
}

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

.page-fishing-games__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin-top: -150px; /* Pull content up over the bottom part of the image */
  padding: 40px;
  background: rgba(17, 39, 27, 0.85); /* Card B G with opacity */
  border-radius: 15px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
  border: 1px solid #2E7A4E;
}

.page-fishing-games__main-title {
  font-size: clamp(2.2em, 4vw, 3.5em);
  color: #F2FFF6;
  font-weight: bold;
  line-height: 1.2;
  margin-bottom: 15px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-fishing-games__tagline {
  font-size: 1.2em;
  color: #A7D9B8;
  margin-bottom: 30px;
  max-width: 700px;
  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,
.page-fishing-games__btn-tertiary,
.page-fishing-games__btn-link {
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  white-space: nowrap;
  display: inline-block;
  text-align: center;
  box-sizing: border-box;
  max-width: 100%;
}

.page-fishing-games__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #F2FFF6;
  border: none;
  box-shadow: 0 4px 15px rgba(42, 209, 111, 0.4);
}

.page-fishing-games__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(42, 209, 111, 0.6);
}

.page-fishing-games__btn-secondary {
  background: #11271B;
  color: #57E38D;
  border: 2px solid #57E38D;
}

.page-fishing-games__btn-secondary:hover {
  background: #57E38D;
  color: #11271B;
  transform: translateY(-3px);
}

.page-fishing-games__section-title {
  font-size: clamp(1.8em, 3.5vw, 2.8em);
  color: #F2C14E; /* Gold */
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.page-fishing-games__section-description {
  font-size: 1.1em;
  color: #A7D9B8;
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-fishing-games__about-section,
.page-fishing-games__promotions-section,
.page-fishing-games__security-section {
  background-color: #11271B; /* Card B G */
  padding: 60px 0;
}

.page-fishing-games__gameplay-section,
.page-fishing-games__tips-section,
.page-fishing-games__faq-section,
.page-fishing-games__cta-bottom {
  background-color: #08160F; /* Nền tối */
  padding: 60px 0;
}

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

.page-fishing-games__feature-card,
.page-fishing-games__promotion-card,
.page-fishing-games__tip-card {
  background-color: #11271B;
  border: 1px solid #2E7A4E;
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #F2FFF6;
}

.page-fishing-games__feature-card:hover,
.page-fishing-games__promotion-card:hover,
.page-fishing-games__tip-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5);
}

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

.page-fishing-games__card-title {
  font-size: 1.5em;
  color: #F2C14E;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-fishing-games__card-description {
  font-size: 1em;
  color: #A7D9B8;
  line-height: 1.7;
}

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

.page-fishing-games__step-card {
  background-color: #11271B;
  border: 1px solid #2E7A4E;
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  color: #F2FFF6;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-fishing-games__step-number {
  width: 50px;
  height: 50px;
  background-color: #57E38D; /* Glow */
  color: #08160F;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8em;
  font-weight: bold;
  margin-bottom: 20px;
  box-shadow: 0 0 15px rgba(87, 227, 141, 0.6);
}

.page-fishing-games__btn-tertiary {
  background: #2E7A4E; /* Border color as button */
  color: #F2FFF6;
  border: none;
  margin-top: auto; /* Push to bottom */
  padding: 12px 25px;
  border-radius: 8px;
}

.page-fishing-games__btn-tertiary:hover {
  background: #0A4B2C; /* Deep Green */
  transform: translateY(-2px);
}

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

.page-fishing-games__btn-link {
  color: #57E38D; /* Glow */
  text-decoration: none;
  font-weight: bold;
  margin-top: 15px;
  display: inline-block;
}

.page-fishing-games__btn-link:hover {
  text-decoration: underline;
  color: #F2C14E; /* Gold */
}

.page-fishing-games__view-all-promos {
  text-align: center;
  margin-top: 20px;
}

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

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

.page-fishing-games__feature-item {
  background-color: #08160F;
  border: 1px solid #2E7A4E;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  color: #F2FFF6;
}

.page-fishing-games__item-title {
  font-size: 1.4em;
  color: #F2C14E;
  margin-bottom: 10px;
  font-weight: bold;
}

.page-fishing-games__item-description {
  font-size: 0.95em;
  color: #A7D9B8;
  line-height: 1.7;
}

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

.page-fishing-games__faq-item {
  background-color: #11271B;
  border: 1px solid #2E7A4E;
  border-radius: 12px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #F2FFF6;
}

.page-fishing-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-size: 1.2em;
  font-weight: bold;
  color: #F2FFF6;
  background-color: #11271B;
  user-select: none;
}

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

.page-fishing-games__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  color: #57E38D;
}

.page-fishing-games__faq-answer {
  padding: 0 25px 20px;
  font-size: 1em;
  color: #A7D9B8;
  line-height: 1.7;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
}

.page-fishing-games__faq-item[open] .page-fishing-games__faq-answer {
  max-height: 500px; /* Adjust as needed for content */
  padding-top: 10px;
}

.page-fishing-games__faq-item[open] .page-fishing-games__faq-question {
  background-color: #0A4B2C; /* Deep Green */
}

.page-fishing-games__cta-bottom {
  padding-top: 80px;
  padding-bottom: 80px;
  text-align: center;
}

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

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

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

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

  .page-fishing-games__hero-content {
    margin-top: -80px;
    padding: 25px;
    max-width: 95%;
  }

  .page-fishing-games__main-title {
    font-size: 2.2em;
  }

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

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

  .page-fishing-games__btn-primary,
  .page-fishing-games__btn-secondary,
  .page-fishing-games__btn-tertiary,
  .page-fishing-games__btn-link {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-fishing-games__section-title {
    font-size: 2em;
    margin-bottom: 30px;
  }

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

  .page-fishing-games__about-section,
  .page-fishing-games__gameplay-section,
  .page-fishing-games__promotions-section,
  .page-fishing-games__tips-section,
  .page-fishing-games__security-section,
  .page-fishing-games__faq-section,
  .page-fishing-games__cta-bottom {
    padding: 40px 0;
  }

  .page-fishing-games__grid,
  .page-fishing-games__gameplay-steps,
  .page-fishing-games__promotion-grid,
  .page-fishing-games__tips-grid,
  .page-fishing-games__security-features {
    grid-template-columns: 1fr;
    gap: 20px;
  }

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

  .page-fishing-games__feature-image,
  .page-fishing-games__promotion-image {
    height: 180px;
  }

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

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

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

  /* Mobile image and video responsiveness */
  .page-fishing-games img {
    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__hero-section,
  .page-fishing-games__hero-image-wrapper,
  .page-fishing-games__hero-content,
  .page-fishing-games__gameplay-steps,
  .page-fishing-games__promotion-grid,
  .page-fishing-games__tips-grid,
  .page-fishing-games__security-features,
  .page-fishing-games__faq-list,
  .page-fishing-games__cta-buttons {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
  
  .page-fishing-games__hero-section {
    padding-top: 10px !important;
  }

}

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

  .page-fishing-games__main-title {
    font-size: 1.8em;
  }

  .page-fishing-games__tagline {
    font-size: 0.9em;
  }

  .page-fishing-games__section-title {
    font-size: 1.6em;
  }

  .page-fishing-games__feature-image,
  .page-fishing-games__promotion-image {
    height: 150px;
  }

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

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

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