/* style/fishing-games.css */
.page-fishing-games {
  background-color: #08160F; /* Nền tối theo yêu cầu */
  color: #F2FFF6; /* Chữ sáng trên nền tối */
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
}

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

.page-fishing-games__hero-image-wrapper {
  width: 100%;
  max-height: 700px; /* Limit height for hero image */
  overflow: hidden;
  position: relative;
}

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

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

.page-fishing-games__hero-title {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 700;
  color: #F2C14E; /* Gold color for main title */
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-fishing-games__hero-description {
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  color: #A7D9B8; /* Secondary text color */
  margin-bottom: 30px;
}

.page-fishing-games__hero-cta-buttons,
.page-fishing-games__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
}

.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary,
.page-fishing-games__btn-play,
.page-fishing-games__btn-promo,
.page-fishing-games a[class*="button"],
.page-fishing-games a[class*="btn"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 30px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
  text-align: center;
}

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

.page-fishing-games__btn-primary:hover,
.page-fishing-games__btn-play:hover,
.page-fishing-games__btn-promo:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(17, 168, 78, 0.6);
}

.page-fishing-games__btn-secondary {
  background-color: transparent;
  color: #57E38D; /* Glow color for secondary text */
  border: 2px solid #2E7A4E; /* Border color */
}

.page-fishing-games__btn-secondary:hover {
  background-color: rgba(46, 122, 78, 0.2);
  color: #F2FFF6;
  transform: translateY(-2px);
}

.page-fishing-games__section {
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

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

.page-fishing-games__section-title {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 700;
  color: #F2C14E; /* Gold color for section titles */
  text-align: center;
  margin-bottom: 40px;
  position: relative;
}

.page-fishing-games__section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, transparent, #F2C14E, transparent);
  margin: 15px auto 0 auto;
  border-radius: 2px;
}

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

.page-fishing-games__text-block a {
  color: #57E38D;
  text-decoration: none;
  font-weight: 600;
}

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

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

.page-fishing-games__game-card,
.page-fishing-games__feature-card,
.page-fishing-games__promo-card {
  background-color: #11271B; /* Card BG color */
  border-radius: 12px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #2E7A4E; /* Border color */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-fishing-games__game-card:hover,
.page-fishing-games__feature-card:hover,
.page-fishing-games__promo-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 25px rgba(17, 168, 78, 0.5);
}

.page-fishing-games__game-image,
.page-fishing-games__feature-icon,
.page-fishing-games__promo-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
  aspect-ratio: 4/3;
  display: block; /* Ensure no extra space below img */
}

.page-fishing-games__game-title,
.page-fishing-games__feature-title,
.page-fishing-games__promo-title {
  font-size: 1.4rem;
  font-weight: 600;
  color: #F2C14E; /* Gold color for titles */
  margin-bottom: 15px;
}

.page-fishing-games__game-description,
.page-fishing-games__feature-description,
.page-fishing-games__promo-description {
  font-size: 0.95rem;
  color: #A7D9B8; /* Secondary text color */
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

/* How-to Play List */
.page-fishing-games__step-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
}

.page-fishing-games__step-item {
  background-color: #11271B;
  border: 1px solid #2E7A4E;
  border-radius: 10px;
  padding: 30px;
  margin-bottom: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

.page-fishing-games__step-item:hover {
  transform: translateY(-3px);
}

.page-fishing-games__step-title {
  font-size: 1.5rem;
  color: #F2C14E; /* Gold color */
  margin-bottom: 10px;
  position: relative;
  padding-left: 40px;
}

.page-fishing-games__step-title::before {
  content: attr(data-step);
  position: absolute;
  left: 0;
  top: 0;
  background-color: #11A84E;
  color: #F2FFF6;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: bold;
}

.page-fishing-games__step-item:nth-child(1) .page-fishing-games__step-title::before { content: '1'; }
.page-fishing-games__step-item:nth-child(2) .page-fishing-games__step-title::before { content: '2'; }
.page-fishing-games__step-item:nth-child(3) .page-fishing-games__step-title::before { content: '3'; }
.page-fishing-games__step-item:nth-child(4) .page-fishing-games__step-title::before { content: '4'; }

.page-fishing-games__step-description {
  font-size: 1rem;
  color: #A7D9B8;
}

/* Winning Tips List */
.page-fishing-games__tip-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
}

.page-fishing-games__tip-item {
  background-color: #11271B;
  border: 1px solid #2E7A4E;
  border-radius: 10px;
  padding: 25px;
  margin-bottom: 15px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-fishing-games__tip-title {
  font-size: 1.3rem;
  color: #57E38D; /* Glow color */
  margin-bottom: 10px;
}

.page-fishing-games__tip-description {
  font-size: 0.95rem;
  color: #A7D9B8;
}

/* FAQ Section */
.page-fishing-games__faq-list {
  margin-top: 40px;
}

.page-fishing-games__faq-item {
  background-color: #11271B;
  border: 1px solid #2E7A4E;
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-fishing-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-size: 1.15rem;
  font-weight: 600;
  color: #F2FFF6; /* Main text color */
  background-color: #0A4B2C; /* Deep Green */
  border-bottom: 1px solid #1E3A2A;
  transition: background-color 0.3s ease;
  list-style: none; /* For details/summary */
}

.page-fishing-games__faq-item[open] .page-fishing-games__faq-question {
  background-color: #11A84E; /* Main brand color when open */
  border-bottom: 1px solid #11A84E;
}

.page-fishing-games__faq-question:hover {
  background-color: #13994A;
}

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

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

.page-fishing-games__faq-item[open] .page-fishing-games__faq-toggle {
  content: '−'; /* Change to minus when open */
}

.page-fishing-games__faq-answer {
  padding: 20px 25px;
  font-size: 1rem;
  color: #A7D9B8;
  background-color: #11271B;
}

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

/* Details element specific styling */
.page-fishing-games__faq-item summary::-webkit-details-marker {
  display: none;
}
.page-fishing-games__faq-item summary::marker {
  display: none;
}

/* CTA Bottom Section */
.page-fishing-games__cta-bottom {
  padding-top: 60px;
  padding-bottom: 100px;
  text-align: center;
}

/* Responsive styles */
@media (max-width: 1024px) {
  .page-fishing-games__hero-title {
    font-size: clamp(2rem, 5vw, 3rem);
  }
  .page-fishing-games__section-title {
    font-size: clamp(1.6rem, 4vw, 2.5rem);
  }
  .page-fishing-games__game-grid,
  .page-fishing-games__feature-grid,
  .page-fishing-games__promo-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-fishing-games__hero-section {
    padding-bottom: 40px;
    padding-top: 10px !important;
  }
  .page-fishing-games__hero-content {
    margin-top: 20px;
  }
  .page-fishing-games__hero-title {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
  }
  .page-fishing-games__hero-description {
    font-size: clamp(0.9rem, 2.5vw, 1.1rem);
  }
  .page-fishing-games__hero-cta-buttons,
  .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__btn-play,
  .page-fishing-games__btn-promo,
  .page-fishing-games a[class*="button"],
  .page-fishing-games a[class*="btn"] {
    max-width: 100% !important;
    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 {
    padding: 40px 0;
  }
  .page-fishing-games__container {
    padding: 0 15px;
  }
  .page-fishing-games__section-title {
    font-size: clamp(1.5rem, 5vw, 2.2rem);
    margin-bottom: 30px;
  }
  .page-fishing-games__text-block {
    font-size: 0.95rem;
  }
  .page-fishing-games__game-grid,
  .page-fishing-games__feature-grid,
  .page-fishing-games__promo-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-fishing-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-fishing-games__game-image,
  .page-fishing-games__feature-icon,
  .page-fishing-games__promo-image {
    aspect-ratio: 16/9;
  }
  .page-fishing-games__step-item,
  .page-fishing-games__tip-item,
  .page-fishing-games__faq-item {
    padding: 20px;
  }
  .page-fishing-games__step-title {
    font-size: 1.3rem;
  }
  .page-fishing-games__faq-question {
    font-size: 1rem;
    padding: 15px 20px;
  }
  .page-fishing-games__faq-answer {
    padding: 15px 20px;
  }

  /* Ensure all image containers are responsive */
  .page-fishing-games__section,
  .page-fishing-games__card,
  .page-fishing-games__container,
  .page-fishing-games__game-card,
  .page-fishing-games__feature-card,
  .page-fishing-games__promo-card,
  .page-fishing-games__hero-image-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  /* Specific padding for content sections on mobile to prevent overflow */
  .page-fishing-games__section:not(.page-fishing-games__hero-section) .page-fishing-games__container {
    padding-left: 15px !important;
    padding-right: 15px !important;
  }

}

@media (max-width: 480px) {
  .page-fishing-games__hero-title {
    font-size: clamp(1.6rem, 7vw, 2.2rem);
  }
  .page-fishing-games__section-title {
    font-size: clamp(1.4rem, 6vw, 2rem);
  }
  .page-fishing-games__btn-primary,
  .page-fishing-games__btn-secondary,
  .page-fishing-games__btn-play,
  .page-fishing-games__btn-promo,
  .page-fishing-games a[class*="button"],
  .page-fishing-games a[class*="btn"] {
    padding: 12px 20px;
    font-size: 0.95rem;
  }
  .page-fishing-games__step-title {
    font-size: 1.2rem;
  }
  .page-fishing-games__tip-title {
    font-size: 1.1rem;
  }
  .page-fishing-games__faq-question {
    font-size: 0.95rem;
  }
}