/* style/fishing-games.css */
.page-fishing-games {
  background-color: #08160F; /* Nền tối từ palette */
  color: #F2FFF6; /* Text Main cho nền tối */
  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;
}

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

.page-fishing-games__hero-image-wrapper {
  width: 100%;
  max-height: 700px; /* Limit height for aesthetic */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 30px;
}

.page-fishing-games__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  min-height: 200px; /* Minimum image size */
}

.page-fishing-games__hero-content {
  text-align: center;
  max-width: 900px;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-fishing-games__main-title {
  font-size: clamp(2.2rem, 4vw, 3.5rem); /* Responsive H1 size */
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #F2FFF6; /* Text Main */
  text-shadow: 0 0 10px rgba(87, 227, 141, 0.5); /* Glow effect */
}

.page-fishing-games__hero-description {
  font-size: 1.2rem;
  margin-bottom: 40px;
  color: #A7D9B8; /* Text Secondary */
}

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

.page-fishing-games__btn {
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  white-space: nowrap; /* Prevent button text from wrapping on desktop */
  max-width: 100%;
  box-sizing: border-box;
}

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

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

.page-fishing-games__btn-secondary {
  background: #ffffff;
  color: #11A84E; /* Main color */
  border: 2px solid #11A84E;
  box-shadow: 0 5px 15px rgba(255, 255, 255, 0.2);
}

.page-fishing-games__btn-secondary:hover {
  background: #f0f0f0;
  color: #0e8a43;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(255, 255, 255, 0.4);
}

/* Sections */
.page-fishing-games__intro-section,
.page-fishing-games__featured-games,
.page-fishing-games__how-to-play,
.page-fishing-games__promotions-section,
.page-fishing-games__features,
.page-fishing-games__why-v8club,
.page-fishing-games__faq-section,
.page-fishing-games__call-to-action {
  padding: 80px 0;
}

.page-fishing-games__dark-section {
  background-color: #08160F; /* Background color */
  color: #F2FFF6; /* Text Main */
}

.page-fishing-games__light-bg {
  background-color: #11271B; /* Card BG for contrast */
  color: #F2FFF6; /* Text Main */
}

.page-fishing-games__section-title {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
  color: #F2FFF6; /* Text Main */
  text-shadow: 0 0 8px rgba(87, 227, 141, 0.3);
}

.page-fishing-games__text-block {
  font-size: 1.1rem;
  margin-bottom: 20px;
  text-align: justify;
  color: #A7D9B8; /* Text Secondary */
}

.page-fishing-games__text-block:last-of-type {
  margin-bottom: 0;
}

.page-fishing-games__text-link {
  color: #57E38D; /* Glow color for links */
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-fishing-games__text-link:hover {
  color: #2AD16F;
  text-decoration: underline;
}

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

.page-fishing-games__game-card,
.page-fishing-games__promo-card {
  background-color: #0A4B2C; /* Deep Green */
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #2E7A4E; /* Border color */
}

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

.page-fishing-games__game-image,
.page-fishing-games__promo-image {
  width: 100%;
  height: 200px; /* Fixed height for card images */
  object-fit: cover;
  display: block;
  min-height: 200px; /* Minimum image size */
}

.page-fishing-games__game-card h3,
.page-fishing-games__promo-card h3 {
  font-size: 1.4rem;
  color: #F2C14E; /* Gold */
  padding: 15px 20px 10px;
  margin: 0;
}

.page-fishing-games__game-card p,
.page-fishing-games__promo-card p {
  font-size: 1rem;
  color: #A7D9B8; /* Text Secondary */
  padding: 0 20px 20px;
  margin: 0;
}

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

.page-fishing-games__list-item {
  background-color: #11271B; /* Card BG */
  border: 1px solid #2E7A4E; /* Border color */
  border-radius: 8px;
  margin-bottom: 20px;
  padding: 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-fishing-games__list-item h3 {
  color: #F2C14E; /* Gold */
  font-size: 1.3rem;
  margin-top: 0;
  margin-bottom: 10px;
}

.page-fishing-games__list-item p {
  color: #A7D9B8; /* Text Secondary */
  font-size: 1rem;
  margin-bottom: 0;
}

/* Features Grid */
.page-fishing-games__feature-item {
  background-color: #0A4B2C; /* Deep Green */
  border: 1px solid #2E7A4E; /* Border color */
  border-radius: 8px;
  padding: 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-fishing-games__feature-title {
  color: #F2C14E; /* Gold */
  font-size: 1.3rem;
  margin-top: 0;
  margin-bottom: 10px;
}

.page-fishing-games__feature-description {
  color: #A7D9B8; /* Text Secondary */
  font-size: 1rem;
  margin-bottom: 0;
}

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

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

.page-fishing-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  color: #F2FFF6; /* Text Main */
  font-size: 1.1rem;
  font-weight: 600;
  transition: background-color 0.3s ease;
  list-style: none; /* For details/summary native behavior */
}

.page-fishing-games__faq-question::-webkit-details-marker {
  display: none; /* Hide default marker */
}

.page-fishing-games__faq-question:hover {
  background-color: rgba(17, 168, 78, 0.2);
}

.page-fishing-games__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  transition: transform 0.3s ease;
  color: #57E38D; /* Glow */
}

.page-fishing-games__faq-item[open] .page-fishing-games__faq-toggle {
  transform: rotate(45deg);
}

.page-fishing-games__faq-answer {
  padding: 0 20px 20px;
  color: #A7D9B8; /* Text Secondary */
  font-size: 1rem;
  line-height: 1.5;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .page-fishing-games__hero-section {
    padding-bottom: 40px;
  }

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

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

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

  .page-fishing-games__btn {
    width: 100% !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 12px 20px;
    font-size: 1rem;
  }

  .page-fishing-games__cta-buttons,
  .page-fishing-games__button-group,
  .page-fishing-games__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
  }

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

  .page-fishing-games__intro-section,
  .page-fishing-games__featured-games,
  .page-fishing-games__how-to-play,
  .page-fishing-games__promotions-section,
  .page-fishing-games__features,
  .page-fishing-games__why-v8club,
  .page-fishing-games__faq-section,
  .page-fishing-games__call-to-action {
    padding: 50px 0;
  }

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

  .page-fishing-games__game-grid,
  .page-fishing-games__promo-grid,
  .page-fishing-games__feature-grid {
    grid-template-columns: 1fr;
  }

  .page-fishing-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    min-height: 200px !important; /* Ensure minimum size */
  }

  .page-fishing-games__section,
  .page-fishing-games__card,
  .page-fishing-games__container,
  .page-fishing-games__hero-image-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .page-fishing-games__video-section {
    padding-top: 10px !important; /* body 已承担 --header-offset，此处禁止 var(--header-offset) */
  }

  .page-fishing-games__game-image,
  .page-fishing-games__promo-image {
    height: auto; /* Allow height to adjust */
    max-height: 250px; /* Max height for mobile card images */
  }
}

/* Ensure images don't have color filters */
.page-fishing-games img {
  filter: none; /* No CSS filters to change image colors */
}

/* Global image responsiveness for all images within .page-fishing-games */
.page-fishing-games img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Content area image CSS size lower limit */
.page-fishing-games__hero-image,
.page-fishing-games__game-image,
.page-fishing-games__promo-image {
  min-width: 200px;
  min-height: 200px;
}