.page-fishing-games-popular-titles {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #333333; /* Dark text for light body background */
  background-color: #f4f4f4;
}

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

.page-fishing-games-popular-titles__section {
  padding: 60px 0;
  text-align: center;
}

.page-fishing-games-popular-titles__section--introduction,
.page-fishing-games-popular-titles__section--tips,
.page-fishing-games-popular-titles__section--why-choose,
.page-fishing-games-popular-titles__section--faq {
  background-color: #ffffff;
  border-bottom: 1px solid #e0e0e0;
}

.page-fishing-games-popular-titles__section--popular-titles,
.page-fishing-games-popular-titles__section--promotions {
  background-color: #f9f9f9;
  border-bottom: 1px solid #e0e0e0;
}

.page-fishing-games-popular-titles__section-title {
  font-size: 36px;
  color: #8B0000; /* Dark red for main titles */
  margin-bottom: 40px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.page-fishing-games-popular-titles__sub-title {
  font-size: 24px;
  color: #FFD700; /* Golden for sub-titles */
  margin-bottom: 15px;
  font-weight: 600;
}

.page-fishing-games-popular-titles__text-block {
  font-size: 18px;
  margin-bottom: 20px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  color: #555555;
}

/* Hero Section */
.page-fishing-games-popular-titles__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: var(--header-offset, 120px);
  background: linear-gradient(135deg, #FFD700, #8B0000);
  color: #ffffff;
  overflow: hidden;
}

.page-fishing-games-popular-titles__hero-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.page-fishing-games-popular-titles__hero-image {
  width: 100%;
  margin-bottom: 30px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.page-fishing-games-popular-titles__hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  object-fit: cover;
  filter: none; /* Ensure no filter is applied */
}

.page-fishing-games-popular-titles__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
}

.page-fishing-games-popular-titles__main-title {
  font-size: 52px;
  margin-bottom: 20px;
  font-weight: 900;
  line-height: 1.2;
  color: #ffffff; /* White text for contrast on gradient */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
}

.page-fishing-games-popular-titles__intro-description {
  font-size: 20px;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #f0f0f0;
}

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

.page-fishing-games-popular-titles__cta-button {
  display: inline-block;
  padding: 18px 45px;
  text-decoration: none;
  border-radius: 8px;
  font-size: 20px;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text breaking */
  box-sizing: border-box; /* Include padding in width */
  max-width: 100%; /* Ensure button doesn't overflow */
}

.page-fishing-games-popular-titles__cta-button--primary {
  background: #FFD700;
  color: #8B0000; /* Dark red text on gold button for contrast */
  border: 2px solid #FFD700;
}

.page-fishing-games-popular-titles__cta-button--primary:hover {
  background: #e6c200;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-fishing-games-popular-titles__cta-button--secondary {
  background: transparent;
  color: #ffffff; /* White text on transparent button */
  border: 2px solid #FFD700;
}

.page-fishing-games-popular-titles__cta-button--secondary:hover {
  background: rgba(255, 215, 0, 0.2);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Features Grid */
.page-fishing-games-popular-titles__features-grid,
.page-fishing-games-popular-titles__game-list,
.page-fishing-games-popular-titles__promotions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-fishing-games-popular-titles__feature-card,
.page-fishing-games-popular-titles__game-card,
.page-fishing-games-popular-titles__promo-card {
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-fishing-games-popular-titles__feature-card:hover,
.page-fishing-games-popular-titles__game-card:hover,
.page-fishing-games-popular-titles__promo-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.page-fishing-games-popular-titles__feature-card img,
.page-fishing-games-popular-titles__game-card img,
.page-fishing-games-popular-titles__promo-card img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
  filter: none; /* Ensure no filter is applied */
  min-width: 200px; /* Min size for content images */
  min-height: 200px;
}

.page-fishing-games-popular-titles__card-title {
  font-size: 22px;
  color: #8B0000; /* Dark red for card titles */
  margin-bottom: 15px;
  font-weight: bold;
  line-height: 1.3;
}

.page-fishing-games-popular-titles__card-title a {
  color: #8B0000;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-fishing-games-popular-titles__card-title a:hover {
  color: #FFD700;
}

.page-fishing-games-popular-titles__game-card p,
.page-fishing-games-popular-titles__promo-card p,
.page-fishing-games-popular-titles__feature-card p {
  font-size: 16px;
  color: #666666;
  line-height: 1.6;
}

.page-fishing-games-popular-titles__view-all-games,
.page-fishing-games-popular-titles__view-all-promos {
  margin-top: 50px;
}

/* Tips List */
.page-fishing-games-popular-titles__tips-list {
  list-style: none;
  padding: 0;
  text-align: left;
  max-width: 900px;
  margin: 40px auto;
}

.page-fishing-games-popular-titles__tips-list li {
  background-color: #fefefe;
  border-left: 5px solid #FFD700;
  margin-bottom: 15px;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  font-size: 17px;
  color: #444444;
}

.page-fishing-games-popular-titles__tips-list li strong {
  color: #8B0000;
}

/* Why Choose Section */
.page-fishing-games-popular-titles__why-choose-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-fishing-games-popular-titles__why-choose-item {
  background-color: #fefefe;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  padding: 30px;
  text-align: left;
  border-top: 5px solid #FFD700;
}

.page-fishing-games-popular-titles__why-choose-item p {
  font-size: 16px;
  color: #666666;
}

/* FAQ Section */
.page-fishing-games-popular-titles__faq-list {
  max-width: 900px;
  margin: 40px auto 0 auto;
  text-align: left;
}

.page-fishing-games-popular-titles__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  overflow: hidden;
}

.page-fishing-games-popular-titles__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease;
  padding: 0 15px;
  opacity: 0;
}

.page-fishing-games-popular-titles__faq-item.active .page-fishing-games-popular-titles__faq-answer {
  max-height: 2000px !important; /* Ensure enough height for content */
  padding: 20px 15px !important;
  opacity: 1;
  background: #f9f9f9;
  border-radius: 0 0 5px 5px;
  color: #444444;
}

.page-fishing-games-popular-titles__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 5px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.page-fishing-games-popular-titles__faq-question:hover {
  background: #f5f5f5;
  border-color: #d0d0d0;
}

.page-fishing-games-popular-titles__faq-question:active {
  background: #eeeeee;
}

.page-fishing-games-popular-titles__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  pointer-events: none;
  color: #333333;
}

.page-fishing-games-popular-titles__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  line-height: 1;
  color: #FFD700; /* Golden color for toggle icon */
  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: 32px;
  height: 32px;
}

.page-fishing-games-popular-titles__faq-item.active .page-fishing-games-popular-titles__faq-toggle {
  color: #8B0000; /* Dark red when active */
  transform: rotate(45deg); /* Rotate for 'minus' effect */
}

/* Bottom CTA */
.page-fishing-games-popular-titles__section--cta-bottom {
  padding: 80px 0;
  background: linear-gradient(90deg, #8B0000, #FFD700);
  color: #ffffff;
}

.page-fishing-games-popular-titles__cta-container .page-fishing-games-popular-titles__section-title {
  color: #ffffff;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.page-fishing-games-popular-titles__cta-container .page-fishing-games-popular-titles__text-block {
  color: #f0f0f0;
}

.page-fishing-games-popular-titles__cta-container .page-fishing-games-popular-titles__cta-button {
  background: #ffffff;
  color: #8B0000; /* Dark red text on white button for contrast */
  border: 2px solid #ffffff;
}

.page-fishing-games-popular-titles__cta-container .page-fishing-games-popular-titles__cta-button:hover {
  background: #f0f0f0;
  color: #FFD700;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-fishing-games-popular-titles__main-title {
    font-size: 44px;
  }

  .page-fishing-games-popular-titles__intro-description {
    font-size: 18px;
  }

  .page-fishing-games-popular-titles__section-title {
    font-size: 32px;
  }

  .page-fishing-games-popular-titles__cta-button {
    padding: 15px 35px;
    font-size: 18px;
  }
}

@media (max-width: 768px) {
  .page-fishing-games-popular-titles__hero-section {
    padding-top: var(--header-offset, 120px) !important;
    padding-bottom: 40px;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-fishing-games-popular-titles__main-title {
    font-size: 36px;
  }

  .page-fishing-games-popular-titles__intro-description {
    font-size: 16px;
  }

  .page-fishing-games-popular-titles__section {
    padding: 40px 0;
  }

  .page-fishing-games-popular-titles__section-title {
    font-size: 28px;
    margin-bottom: 30px;
  }

  .page-fishing-games-popular-titles__sub-title {
    font-size: 20px;
  }

  .page-fishing-games-popular-titles__text-block {
    font-size: 16px;
    padding: 0 10px;
  }

  .page-fishing-games-popular-titles__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-fishing-games-popular-titles__cta-button,
  .page-fishing-games-popular-titles__btn-primary,
  .page-fishing-games-popular-titles__btn-secondary,
  .page-fishing-games-popular-titles a[class*="button"],
  .page-fishing-games-popular-titles 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: 20px !important;
    padding-right: 20px !important;
  }

  .page-fishing-games-popular-titles__cta-buttons,
  .page-fishing-games-popular-titles__button-group,
  .page-fishing-games-popular-titles__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
  }

  .page-fishing-games-popular-titles__features-grid,
  .page-fishing-games-popular-titles__game-list,
  .page-fishing-games-popular-titles__promotions-grid,
  .page-fishing-games-popular-titles__why-choose-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .page-fishing-games-popular-titles__feature-card,
  .page-fishing-games-popular-titles__game-card,
  .page-fishing-games-popular-titles__promo-card,
  .page-fishing-games-popular-titles__why-choose-item {
    padding: 25px;
  }

  .page-fishing-games-popular-titles__feature-card img,
  .page-fishing-games-popular-titles__game-card img,
  .page-fishing-games-popular-titles__promo-card img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    min-width: 200px !important;
    min-height: 200px !important;
  }

  .page-fishing-games-popular-titles__tips-list {
    margin: 30px auto;
    padding: 0 15px;
  }

  .page-fishing-games-popular-titles__tips-list li {
    font-size: 15px;
    padding: 15px;
  }

  .page-fishing-games-popular-titles__faq-list {
    margin: 30px auto 0 auto;
    padding: 0 15px;
  }
  
  .page-fishing-games-popular-titles__faq-question {
    padding: 15px;
  }
  
  .page-fishing-games-popular-titles__faq-question h3 {
    font-size: 16px;
  }
  
  .page-fishing-games-popular-titles__faq-toggle {
    font-size: 24px;
    width: 28px;
    height: 28px;
  }

  .page-fishing-games-popular-titles__faq-item.active .page-fishing-games-popular-titles__faq-answer {
    padding: 15px !important;
  }
  
  .page-fishing-games-popular-titles img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-fishing-games-popular-titles__section,
  .page-fishing-games-popular-titles__card,
  .page-fishing-games-popular-titles__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}

@media (max-width: 480px) {
  .page-fishing-games-popular-titles__main-title {
    font-size: 30px;
  }

  .page-fishing-games-popular-titles__cta-button {
    font-size: 16px;
    padding: 12px 25px;
  }

  .page-fishing-games-popular-titles__section-title {
    font-size: 24px;
  }
}