/* style/fishing-games.css */
:root {
  --primary-color: #FFD700; /* Gold */
  --secondary-color: #8B0000; /* Dark Red */
  --text-light: #ffffff;
  --text-dark: #333333;
  --bg-dark: #121212; /* Body background from shared.css */
  --card-bg-dark: rgba(255, 255, 255, 0.08); /* Slightly transparent white for dark bg */
  --card-border-dark: rgba(255, 255, 255, 0.15);
  --button-hover-dark: #e6c200;
  --button-secondary-hover-dark: #a00000;
}

.page-fishing-games {
  color: var(--text-light); /* Default text color for dark body background */
  background-color: var(--bg-dark);
  /* Padding top to account for fixed header */
  padding-top: 100px; /* Desktop: Adjust based on actual header height */
}

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

.page-fishing-games__section-title {
  font-size: 38px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
  color: var(--primary-color);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
}

.page-fishing-games__section-description {
  font-size: 18px;
  line-height: 1.6;
  text-align: center;
  margin-bottom: 50px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  color: var(--text-light);
}

/* Hero Section */
.page-fishing-games__hero-section {
  padding: 80px 0;
  text-align: center;
  background: linear-gradient(135deg, var(--secondary-color) 0%, rgba(139, 0, 0, 0.7) 50%, var(--bg-dark) 100%);
  position: relative;
  overflow: hidden;
  border-bottom: 5px solid var(--primary-color);
}

.page-fishing-games__hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('[GALLERY:bg:sv288,bắn cá,cá cược trực tuyến,nền,hiệu ứng nước,ánh sáng vàng]');
  background-size: cover;
  background-position: center;
  opacity: 0.15;
  z-index: 0;
}

.page-fishing-games__hero-section > .page-fishing-games__container {
  position: relative;
  z-index: 1;
}

.page-fishing-games__hero-title {
  font-size: 52px;
  font-weight: 900;
  color: var(--primary-color);
  margin-bottom: 25px;
  line-height: 1.2;
  text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.6);
}

.page-fishing-games__hero-description {
  font-size: 20px;
  line-height: 1.7;
  margin-bottom: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  color: var(--text-light);
}

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

.page-fishing-games__cta-button {
  display: inline-block;
  padding: 16px 40px;
  border-radius: 8px;
  font-size: 20px;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
  border: none;
  cursor: pointer;
  text-align: center;
  white-space: normal;
  word-wrap: break-word;
}

.page-fishing-games__cta-button--primary {
  background-color: var(--primary-color);
  color: var(--text-dark);
}

.page-fishing-games__cta-button--primary:hover {
  background-color: var(--button-hover-dark);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-fishing-games__cta-button--secondary {
  background-color: var(--secondary-color);
  color: var(--text-light);
  border: 2px solid var(--primary-color);
}

.page-fishing-games__cta-button--secondary:hover {
  background-color: var(--button-secondary-hover-dark);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

/* Intro Section */
.page-fishing-games__intro-section {
  padding: 80px 0;
  background-color: var(--bg-dark);
}

.page-fishing-games__content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.page-fishing-games__content-text p {
  font-size: 17px;
  line-height: 1.8;
  margin-bottom: 20px;
  color: var(--text-light);
}

.page-fishing-games__content-image img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* Benefits Section */
.page-fishing-games__benefits-section {
  padding: 80px 0;
  background-color: var(--secondary-color);
  background: linear-gradient(to right, var(--secondary-color), var(--bg-dark));
}

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

.page-fishing-games__benefit-card {
  background-color: var(--card-bg-dark);
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--card-border-dark);
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.page-fishing-games__benefit-card:hover {
  transform: translateY(-5px);
  background-color: rgba(255, 255, 255, 0.12);
}

.page-fishing-games__benefit-card img {
  width: 80px;
  height: 80px;
  margin-bottom: 20px;
  filter: drop-shadow(0 0 5px var(--primary-color));
}

.page-fishing-games__benefit-card .page-fishing-games__card-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--primary-color);
}

.page-fishing-games__benefit-card p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-light);
}

/* Games Section */
.page-fishing-games__games-section {
  padding: 80px 0;
  background-color: var(--bg-dark);
}

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

.page-fishing-games__game-card {
  background-color: var(--card-bg-dark);
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--card-border-dark);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-fishing-games__game-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-fishing-games__game-card img {
  max-width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-fishing-games__game-card .page-fishing-games__card-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--primary-color);
}

.page-fishing-games__game-card p {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 20px;
  color: var(--text-light);
}

.page-fishing-games__btn-small {
  display: inline-block;
  padding: 10px 25px;
  background-color: var(--primary-color);
  color: var(--text-dark);
  text-decoration: none;
  border-radius: 6px;
  font-weight: bold;
  font-size: 15px;
  transition: background-color 0.3s ease, transform 0.3s ease;
  white-space: normal;
  word-wrap: break-word;
}

.page-fishing-games__btn-small:hover {
  background-color: var(--button-hover-dark);
  transform: translateY(-2px);
}

/* Guide Section */
.page-fishing-games__guide-section {
  padding: 80px 0;
  background-color: var(--secondary-color);
  background: linear-gradient(to left, var(--secondary-color), var(--bg-dark));
}

.page-fishing-games__guide-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-bottom: 50px;
}

.page-fishing-games__guide-list li {
  background-color: var(--card-bg-dark);
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--card-border-dark);
  counter-increment: guide-counter;
  position: relative;
  padding-left: 70px; /* Space for counter */
}

.page-fishing-games__guide-list li::before {
  content: counter(guide-counter);
  position: absolute;
  left: 20px;
  top: 25px;
  background-color: var(--primary-color);
  color: var(--text-dark);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: bold;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.page-fishing-games__guide-list .page-fishing-games__list-title {
  font-size: 20px;
  font-weight: 700;
  margin-top: 0;
  margin-bottom: 10px;
  color: var(--primary-color);
}

.page-fishing-games__guide-list p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-light);
}

.page-fishing-games__cta-center {
  text-align: center;
  margin-top: 40px;
}

/* Strategy Section */
.page-fishing-games__strategy-section {
  padding: 80px 0;
  background-color: var(--bg-dark);
}

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

.page-fishing-games__strategy-item {
  background-color: var(--card-bg-dark);
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--card-border-dark);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-fishing-games__strategy-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-fishing-games__strategy-item img {
  max-width: 100%;
  height: 180px;
  object-fit: contain;
  margin-bottom: 20px;
  border-radius: 8px;
}

.page-fishing-games__strategy-item .page-fishing-games__item-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--primary-color);
}

.page-fishing-games__strategy-item p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-light);
}

/* Promo Section */
.page-fishing-games__promo-section {
  padding: 80px 0;
  background-color: var(--secondary-color);
  background: linear-gradient(135deg, var(--bg-dark) 0%, var(--secondary-color) 100%);
}

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

.page-fishing-games__promo-card {
  background-color: var(--card-bg-dark);
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--card-border-dark);
  text-align: center;
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.page-fishing-games__promo-card:hover {
  transform: translateY(-5px);
  background-color: rgba(255, 255, 255, 0.12);
}

.page-fishing-games__promo-card img {
  max-width: 100%;
  height: 180px;
  object-fit: contain;
  margin-bottom: 20px;
  border-radius: 8px;
}

.page-fishing-games__promo-card .page-fishing-games__card-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--primary-color);
}

.page-fishing-games__promo-card p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-light);
}

/* Features Section */
.page-fishing-games__features-section {
  padding: 80px 0;
  background-color: var(--bg-dark);
}

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

.page-fishing-games__feature-item {
  background-color: var(--card-bg-dark);
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--card-border-dark);
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.page-fishing-games__feature-item:hover {
  transform: translateY(-5px);
  background-color: rgba(255, 255, 255, 0.12);
}

.page-fishing-games__feature-item .page-fishing-games__item-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--primary-color);
}

.page-fishing-games__feature-item p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-light);
}

/* FAQ Section */
.page-fishing-games__faq-section {
  padding: 80px 0;
  background-color: var(--secondary-color);
  background: linear-gradient(135deg, var(--secondary-color) 0%, var(--bg-dark) 100%);
}

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

.page-fishing-games__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  background-color: var(--card-bg-dark);
  border: 1px solid var(--card-border-dark);
}

.page-fishing-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease;
  color: var(--primary-color);
}

.page-fishing-games__faq-question:hover {
  background-color: rgba(255, 255, 255, 0.15);
}

.page-fishing-games__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  pointer-events: none;
  color: var(--primary-color);
}

.page-fishing-games__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  line-height: 1;
  color: var(--primary-color);
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
}

.page-fishing-games__faq-item.active .page-fishing-games__faq-toggle {
  transform: rotate(45deg); /* Change to X or rotate for minus sign */
  color: var(--text-light);
}

.page-fishing-games__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
  padding: 0 25px;
  opacity: 0;
  background-color: rgba(0, 0, 0, 0.3); /* Slightly darker for contrast */
  color: var(--text-light);
}

.page-fishing-games__faq-item.active .page-fishing-games__faq-answer {
  max-height: 2000px !important; /* Sufficiently large to contain any content */
  padding: 20px 25px !important;
  opacity: 1;
  border-top: 1px solid var(--card-border-dark);
}

.page-fishing-games__faq-answer p {
  font-size: 16px;
  line-height: 1.7;
  margin: 0;
  color: var(--text-light);
}

/* Conclusion Section */
.page-fishing-games__conclusion-section {
  padding: 80px 0;
  background-color: var(--bg-dark);
  text-align: center;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-fishing-games__hero-title {
    font-size: 44px;
  }
  .page-fishing-games__section-title {
    font-size: 34px;
  }
  .page-fishing-games__hero-description, .page-fishing-games__section-description {
    font-size: 17px;
  }
  .page-fishing-games__cta-button {
    padding: 14px 35px;
    font-size: 18px;
  }
}

@media (max-width: 768px) {
  .page-fishing-games {
    padding-top: 80px !important; /* Mobile: Adjust based on actual header height */
    font-size: 16px;
    line-height: 1.6;
  }
  .page-fishing-games__container {
    padding: 0 15px;
  }
  .page-fishing-games__hero-section, 
  .page-fishing-games__intro-section, 
  .page-fishing-games__benefits-section, 
  .page-fishing-games__games-section, 
  .page-fishing-games__guide-section, 
  .page-fishing-games__strategy-section, 
  .page-fishing-games__promo-section, 
  .page-fishing-games__features-section, 
  .page-fishing-games__faq-section, 
  .page-fishing-games__conclusion-section {
    padding: 50px 0;
  }

  .page-fishing-games__hero-title {
    font-size: 36px;
    margin-bottom: 15px;
  }
  .page-fishing-games__hero-description {
    font-size: 16px;
    margin-bottom: 30px;
  }
  .page-fishing-games__section-title {
    font-size: 28px;
    margin-bottom: 30px;
  }
  .page-fishing-games__section-description {
    font-size: 15px;
    margin-bottom: 30px;
  }

  .page-fishing-games__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-fishing-games__cta-button {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding: 12px 25px !important;
    font-size: 16px !important;
  }

  .page-fishing-games__content-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .page-fishing-games__content-image img {
    height: auto;
  }

  .page-fishing-games__benefit-card, 
  .page-fishing-games__game-card, 
  .page-fishing-games__strategy-item, 
  .page-fishing-games__promo-card, 
  .page-fishing-games__feature-item {
    padding: 25px;
  }
  .page-fishing-games__benefit-card img {
    width: 60px;
    height: 60px;
  }
  .page-fishing-games__benefit-card .page-fishing-games__card-title, 
  .page-fishing-games__game-card .page-fishing-games__card-title, 
  .page-fishing-games__strategy-item .page-fishing-games__item-title, 
  .page-fishing-games__promo-card .page-fishing-games__card-title, 
  .page-fishing-games__feature-item .page-fishing-games__item-title {
    font-size: 20px;
  }
  .page-fishing-games__game-card img, .page-fishing-games__strategy-item img, .page-fishing-games__promo-card img {
    height: 150px;
  }
  .page-fishing-games__btn-small {
    font-size: 14px;
    padding: 8px 20px;
  }

  .page-fishing-games__guide-list li {
    padding-left: 60px;
  }
  .page-fishing-games__guide-list li::before {
    width: 35px;
    height: 35px;
    font-size: 20px;
    left: 15px;
    top: 20px;
  }
  .page-fishing-games__guide-list .page-fishing-games__list-title {
    font-size: 18px;
  }

  .page-fishing-games__faq-question {
    padding: 15px 20px;
  }
  .page-fishing-games__faq-question h3 {
    font-size: 16px;
  }
  .page-fishing-games__faq-toggle {
    font-size: 24px;
    width: 25px;
    height: 25px;
  }
  .page-fishing-games__faq-item.active .page-fishing-games__faq-answer {
    padding: 15px 20px !important;
  }

  /* Responsive images */
  .page-fishing-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-fishing-games__container, 
  .page-fishing-games__content-grid, 
  .page-fishing-games__benefits-grid, 
  .page-fishing-games__game-cards-grid, 
  .page-fishing-games__guide-list, 
  .page-fishing-games__strategy-grid, 
  .page-fishing-games__promo-cards, 
  .page-fishing-games__features-list, 
  .page-fishing-games__faq-list {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden !important;
  }
}

@media (max-width: 480px) {
  .page-fishing-games__hero-title {
    font-size: 30px;
  }
  .page-fishing-games__section-title {
    font-size: 24px;
  }
  .page-fishing-games__cta-buttons {
    gap: 10px;
  }
  .page-fishing-games__hero-description, .page-fishing-games__section-description, .page-fishing-games p, .page-fishing-games li p {
    font-size: 15px;
  }
  .page-fishing-games__benefit-card .page-fishing-games__card-title, 
  .page-fishing-games__game-card .page-fishing-games__card-title, 
  .page-fishing-games__strategy-item .page-fishing-games__item-title, 
  .page-fishing-games__promo-card .page-fishing-games__card-title, 
  .page-fishing-games__feature-item .page-fishing-games__item-title {
    font-size: 18px;
  }
}