.page-fishing-games-popular-games {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: #0a0a0a; /* Ensure consistency with body background */
}

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

.page-fishing-games-popular-games__hero-section {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 80px 0;
  padding-top: var(--header-offset, 120px); /* Apply header offset */
  background: linear-gradient(90deg, #26A9E0 0%, #1a7fb8 100%);
  color: #FFFFFF;
  overflow: hidden;
}

.page-fishing-games-popular-games__hero-content {
  flex: 1;
  max-width: 600px;
  padding-right: 40px;
  z-index: 1;
  padding-left: 20px;
}

.page-fishing-games-popular-games__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #FFFFFF;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-fishing-games-popular-games__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #f0f0f0;
}

.page-fishing-games-popular-games__hero-image-wrapper {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  max-width: 600px;
  padding-right: 20px;
}

.page-fishing-games-popular-games__hero-image {
  width: 100%;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  object-fit: cover;
}

.page-fishing-games-popular-games__cta-buttons {
  display: flex;
  gap: 20px;
  margin-top: 30px;
}

.page-fishing-games-popular-games__btn-primary,
.page-fishing-games-popular-games__btn-secondary,
.page-fishing-games-popular-games__btn-play,
.page-fishing-games-popular-games__btn-detail {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.2s ease;
  text-align: center;
  box-sizing: border-box;
  max-width: 100%; /* Ensure responsiveness */
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text wrapping */
}

.page-fishing-games-popular-games__btn-primary {
  background-color: #EA7C07; /* Login color */
  color: #FFFFFF;
  border: 2px solid #EA7C07;
}

.page-fishing-games-popular-games__btn-primary:hover {
  background-color: #d16e06;
  transform: translateY(-2px);
}

.page-fishing-games-popular-games__btn-secondary {
  background-color: transparent;
  color: #FFFFFF;
  border: 2px solid #FFFFFF;
}

.page-fishing-games-popular-games__btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

.page-fishing-games-popular-games__section-title {
  font-size: 2.5em;
  margin-bottom: 40px;
  text-align: center;
  color: #26A9E0;
  position: relative;
  padding-bottom: 15px;
}

.page-fishing-games-popular-games__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #26A9E0;
  border-radius: 2px;
}

.page-fishing-games-popular-games__intro-section,
.page-fishing-games-popular-games__guide-section,
.page-fishing-games-popular-games__login-section {
  padding: 80px 0;
  background-color: #FFFFFF; /* Light background for these sections */
  color: #333333; /* Dark text for light background */
}

.page-fishing-games-popular-games__games-showcase,
.page-fishing-games-popular-games__promotions-section,
.page-fishing-games-popular-games__faq-section {
  padding: 80px 0;
  background-color: #0a0a0a; /* Dark background for these sections */
  color: #FFFFFF; /* Light text for dark background */
}

.page-fishing-games-popular-games__text-block {
  font-size: 1.1em;
  margin-bottom: 30px;
  text-align: justify;
}

.page-fishing-games-popular-games__text-block a {
  color: #26A9E0;
  text-decoration: none;
  font-weight: bold;
}

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

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

.page-fishing-games-popular-games__card {
  background-color: #FFFFFF;
  color: #333333;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease;
  border: 1px solid #e0e0e0;
}

.page-fishing-games-popular-games__card:hover {
  transform: translateY(-5px);
}

.page-fishing-games-popular-games__feature-icon,
.page-fishing-games-popular-games__game-image,
.page-fishing-games-popular-games__promo-image,
.page-fishing-games-popular-games__app-image {
  width: 100%;
  height: auto;
  max-width: 100%;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
}

.page-fishing-games-popular-games__feature-title,
.page-fishing-games-popular-games__game-title,
.page-fishing-games-popular-games__promo-title,
.page-fishing-games-popular-games__app-title {
  font-size: 1.5em;
  margin-bottom: 15px;
  color: #26A9E0;
}

.page-fishing-games-popular-games__game-title a,
.page-fishing-games-popular-games__promo-title a {
  color: #26A9E0;
  text-decoration: none;
}

.page-fishing-games-popular-games__game-title a:hover,
.page-fishing-games-popular-games__promo-title a:hover {
  text-decoration: underline;
}

.page-fishing-games-popular-games__feature-description,
.page-fishing-games-popular-games__game-description,
.page-fishing-games-popular-games__promo-description {
  font-size: 1em;
  color: #555555;
  margin-bottom: 20px;
}

.page-fishing-games-popular-games__games-showcase .page-fishing-games-popular-games__card,
.page-fishing-games-popular-games__promotions-section .page-fishing-games-popular-games__card {
  background-color: rgba(255, 255, 255, 0.05); /* Slightly transparent white on dark background */
  color: #FFFFFF;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-fishing-games-popular-games__games-showcase .page-fishing-games-popular-games__game-description,
.page-fishing-games-popular-games__promotions-section .page-fishing-games-popular-games__promo-description {
  color: #f0f0f0;
}

.page-fishing-games-popular-games__btn-play {
  background-color: #26A9E0;
  color: #FFFFFF;
  border: 2px solid #26A9E0;
}

.page-fishing-games-popular-games__btn-play:hover {
  background-color: #1a7fb8;
  transform: translateY(-2px);
}

.page-fishing-games-popular-games__btn-detail {
  background-color: transparent;
  color: #26A9E0;
  border: 2px solid #26A9E0;
}

.page-fishing-games-popular-games__btn-detail:hover {
  background-color: rgba(38, 169, 224, 0.1);
  transform: translateY(-2px);
}

.page-fishing-games-popular-games__guide-list,
.page-fishing-games-popular-games__login-steps {
  list-style: none;
  padding: 0;
  margin-top: 40px;
}

.page-fishing-games-popular-games__list-item,
.page-fishing-games-popular-games__step-item {
  background-color: #f9f9f9;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 25px;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-fishing-games-popular-games__list-title,
.page-fishing-games-popular-games__step-title {
  font-size: 1.3em;
  color: #26A9E0;
  margin-bottom: 10px;
}

.page-fishing-games-popular-games__list-item p,
.page-fishing-games-popular-games__step-item p {
  color: #555555;
}

.page-fishing-games-popular-games__app-download-cta {
  display: flex;
  align-items: center;
  gap: 40px;
  background-color: #f0f8ff; /* Light blue background for app CTA */
  border-radius: 15px;
  padding: 40px;
  margin-top: 60px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.page-fishing-games-popular-games__app-image {
  max-width: 300px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-fishing-games-popular-games__app-content {
  flex: 1;
}

.page-fishing-games-popular-games__app-title {
  font-size: 2em;
  color: #26A9E0;
  margin-bottom: 15px;
}

.page-fishing-games-popular-games__app-description {
  font-size: 1.1em;
  color: #555555;
  margin-bottom: 30px;
}

.page-fishing-games-popular-games__faq-list {
  margin-top: 40px;
}

.page-fishing-games-popular-games__faq-item {
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #FFFFFF;
}

.page-fishing-games-popular-games__faq-item summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: bold;
  cursor: pointer;
  background-color: rgba(255, 255, 255, 0.1);
  transition: background-color 0.3s ease;
}

.page-fishing-games-popular-games__faq-item summary::-webkit-details-marker {
  display: none;
}

.page-fishing-games-popular-games__faq-item summary:hover {
  background-color: rgba(255, 255, 255, 0.15);
}

.page-fishing-games-popular-games__faq-qtext {
  color: #FFFFFF;
}

.page-fishing-games-popular-games__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  color: #26A9E0;
}

.page-fishing-games-popular-games__faq-answer {
  padding: 0 25px 20px;
  font-size: 1.1em;
  color: #f0f0f0;
}

.page-fishing-games-popular-games__faq-answer p {
  margin-top: 10px;
  margin-bottom: 0;
}

.page-fishing-games-popular-games__faq-answer a {
  color: #26A9E0;
  text-decoration: none;
  font-weight: bold;
}

.page-fishing-games-popular-games__faq-answer a:hover {
  text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-fishing-games-popular-games__hero-section {
    flex-direction: column;
    text-align: center;
    padding: 60px 0;
    padding-top: var(--header-offset, 120px);
  }

  .page-fishing-games-popular-games__hero-content {
    padding-right: 20px;
    padding-left: 20px;
    max-width: 100%;
  }

  .page-fishing-games-popular-games__hero-image-wrapper {
    justify-content: center;
    margin-top: 40px;
    padding-right: 20px;
    padding-left: 20px;
    max-width: 100%;
  }

  .page-fishing-games-popular-games__hero-title {
    font-size: 2.5em;
  }

  .page-fishing-games-popular-games__cta-buttons {
    justify-content: center;
  }

  .page-fishing-games-popular-games__app-download-cta {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }

  .page-fishing-games-popular-games__app-image {
    margin-bottom: 20px;
  }
}

@media (max-width: 768px) {
  .page-fishing-games-popular-games__hero-title {
    font-size: 2em;
  }

  .page-fishing-games-popular-games__hero-description {
    font-size: 1em;
  }

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

  .page-fishing-games-popular-games__intro-section,
  .page-fishing-games-popular-games__games-showcase,
  .page-fishing-games-popular-games__guide-section,
  .page-fishing-games-popular-games__promotions-section,
  .page-fishing-games-popular-games__login-section,
  .page-fishing-games-popular-games__faq-section {
    padding: 60px 0;
  }

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

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

  .page-fishing-games-popular-games__btn-primary,
  .page-fishing-games-popular-games__btn-secondary,
  .page-fishing-games-popular-games__btn-play,
  .page-fishing-games-popular-games__btn-detail {
    padding: 12px 20px;
    font-size: 1em;
    width: 100% !important; /* Ensure full width */
    max-width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-fishing-games-popular-games__features-grid,
  .page-fishing-games-popular-games__game-grid,
  .page-fishing-games-popular-games__promo-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-fishing-games-popular-games__card {
    padding: 20px;
  }

  .page-fishing-games-popular-games__feature-title,
  .page-fishing-games-popular-games__game-title,
  .page-fishing-games-popular-games__promo-title,
  .page-fishing-games-popular-games__app-title {
    font-size: 1.3em;
  }

  .page-fishing-games-popular-games__feature-description,
  .page-fishing-games-popular-games__game-description,
  .page-fishing-games-popular-games__promo-description,
  .page-fishing-games-popular-games__app-description {
    font-size: 0.95em;
  }

  .page-fishing-games-popular-games__app-download-cta {
    padding: 30px 15px;
  }

  .page-fishing-games-popular-games__app-image {
    max-width: 200px;
  }

  .page-fishing-games-popular-games__faq-item summary {
    font-size: 1em;
    padding: 15px 20px;
  }

  .page-fishing-games-popular-games__faq-answer {
    font-size: 0.95em;
    padding: 0 20px 15px;
  }

  /* Mobile image responsiveness */
  .page-fishing-games-popular-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-fishing-games-popular-games__section,
  .page-fishing-games-popular-games__card,
  .page-fishing-games-popular-games__container,
  .page-fishing-games-popular-games__hero-section,
  .page-fishing-games-popular-games__intro-section,
  .page-fishing-games-popular-games__games-showcase,
  .page-fishing-games-popular-games__guide-section,
  .page-fishing-games-popular-games__promotions-section,
  .page-fishing-games-popular-games__login-section,
  .page-fishing-games-popular-games__faq-section,
  .page-fishing-games-popular-games__app-download-cta {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  .page-fishing-games-popular-games__hero-section {
    padding-top: var(--header-offset, 120px) !important;
  }
}