/* style/fishing-games.css */

/* Base styles for the page, ensuring light text on dark body */
.page-fishing-games {
  color: #ffffff; /* Light text for dark body background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

/* General container for content */
.page-fishing-games__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

/* Section backgrounds */
.page-fishing-games__dark-bg {
  background-color: #000000; /* Body background color */
  color: #ffffff;
}

.page-fishing-games__light-bg {
  background-color: #ffffff;
  color: #333333;
}

/* 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 */
  padding-bottom: 60px;
  text-align: center;
}

.page-fishing-games__hero-image-wrapper {
  width: 100%;
  max-height: 600px; /* Limit height of hero image */
  overflow: hidden;
}

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

.page-fishing-games__hero-content {
  padding: 20px;
  max-width: 800px;
  margin-top: 30px;
}

.page-fishing-games__main-title {
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 700;
  color: #26A9E0;
  margin-bottom: 15px;
  line-height: 1.2;
}

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

/* CTA Buttons */
.page-fishing-games__cta-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%;
}

.page-fishing-games__btn-primary {
  background-color: #26A9E0;
  color: #ffffff;
  border: 2px solid #26A9E0;
}

.page-fishing-games__btn-primary:hover {
  background-color: #1a8ccb;
  border-color: #1a8ccb;
}

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

.page-fishing-games__btn-secondary:hover {
  background-color: #26A9E0;
  color: #ffffff;
}

.page-fishing-games__btn-small {
  padding: 8px 15px;
  font-size: 0.9rem;
}

/* Section Titles */
.page-fishing-games__section-title {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 700;
  margin-bottom: 30px;
  text-align: center;
  color: inherit;
}

/* Text Blocks */
.page-fishing-games__text-block {
  font-size: 1.1rem;
  margin-bottom: 20px;
  line-height: 1.7;
  text-align: justify;
}

.page-fishing-games__text-center {
  text-align: center;
}

/* Content Images */
.page-fishing-games__content-image {
  width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

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

.page-fishing-games__feature-item {
  background-color: rgba(255, 255, 255, 0.05);
  padding: 25px;
  border-radius: 10px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-fishing-games__feature-title {
  font-size: 1.4rem;
  font-weight: 600;
  color: #26A9E0;
  margin-bottom: 15px;
}

.page-fishing-games__feature-description {
  font-size: 1rem;
  color: #f0f0f0;
}

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

.page-fishing-games__game-card {
  background-color: #ffffff;
  color: #333333;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: center;
  padding-bottom: 20px;
}

.page-fishing-games__card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  margin-bottom: 15px;
}

.page-fishing-games__card-title {
  font-size: 1.3rem;
  font-weight: 600;
  color: #26A9E0;
  margin-bottom: 10px;
  padding: 0 15px;
}

.page-fishing-games__card-description {
  font-size: 0.95rem;
  color: #555555;
  margin-bottom: 20px;
  padding: 0 15px;
}

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

.page-fishing-games__step-item {
  background-color: rgba(255, 255, 255, 0.05);
  padding: 25px;
  border-radius: 10px;
  margin-bottom: 20px;
  position: relative;
  padding-left: 70px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-fishing-games__step-item::before {
  counter-increment: step-counter;
  content: "Bước " counter(step-counter);
  position: absolute;
  left: 20px;
  top: 25px;
  font-size: 1.2rem;
  font-weight: bold;
  color: #EA7C07; /* Login color for steps */
}

.page-fishing-games__step-title {
  font-size: 1.3rem;
  font-weight: 600;
  color: #26A9E0;
  margin-bottom: 10px;
}

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

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

.page-fishing-games__strategy-item {
  background-color: rgba(255, 255, 255, 0.05);
  padding: 25px;
  border-radius: 10px;
  margin-bottom: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-fishing-games__strategy-title {
  font-size: 1.3rem;
  font-weight: 600;
  color: #26A9E0;
  margin-bottom: 10px;
}

.page-fishing-games__strategy-description {
  font-size: 1rem;
  color: #f0f0f0;
}

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

.page-fishing-games__promo-card {
  background-color: rgba(255, 255, 255, 0.05);
  color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  text-align: center;
  padding-bottom: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* App Benefits List */
.page-fishing-games__app-benefits-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
  text-align: center;
}

.page-fishing-games__app-benefit-item {
  font-size: 1.1rem;
  margin-bottom: 10px;
  color: #333333;
  position: relative;
  padding-left: 30px;
}

.page-fishing-games__app-benefit-item::before {
  content: '✅';
  position: absolute;
  left: 0;
  top: 0;
}

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

.page-fishing-games__faq-item {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  margin-bottom: 15px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-fishing-games__faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px;
  font-size: 1.2rem;
  font-weight: 600;
  color: #26A9E0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

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

.page-fishing-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.page-fishing-games__faq-toggle {
  font-size: 1.5rem;
  font-weight: bold;
  margin-left: 15px;
  color: #EA7C07;
}

.page-fishing-games__faq-answer {
  padding: 0 20px 20px 20px;
  font-size: 1rem;
  color: #f0f0f0;
}

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

/* Responsive adjustments */
@media (max-width: 768px) {
  .page-fishing-games__hero-section {
    padding-top: 10px !important;
    padding-bottom: 40px;
  }

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

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

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

  .page-fishing-games__text-block,
  .page-fishing-games__feature-description,
  .page-fishing-games__step-description,
  .page-fishing-games__strategy-description,
  .page-fishing-games__card-description,
  .page-fishing-games__app-benefit-item,
  .page-fishing-games__faq-answer {
    font-size: 0.95rem;
  }

  .page-fishing-games__cta-buttons {
    flex-direction: column;
    gap: 10px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-fishing-games__btn-primary,
  .page-fishing-games__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 12px 15px;
  }

  .page-fishing-games__content-image,
  .page-fishing-games__hero-image,
  .page-fishing-games__card-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-fishing-games__overview-section,
  .page-fishing-games__why-choose-section,
  .page-fishing-games__games-showcase,
  .page-fishing-games__how-to-play-section,
  .page-fishing-games__strategy-section,
  .page-fishing-games__promotions-section,
  .page-fishing-games__app-download-section,
  .page-fishing-games__faq-section,
  .page-fishing-games__cta-bottom-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

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

  .page-fishing-games__feature-item,
  .page-fishing-games__game-card,
  .page-fishing-games__promo-card,
  .page-fishing-games__step-item,
  .page-fishing-games__strategy-item,
  .page-fishing-games__faq-item {
    padding: 20px;
    padding-left: 20px; /* Reset for step items */
  }

  .page-fishing-games__step-item::before {
    left: 15px;
    top: 20px;
    font-size: 1rem;
  }

  .page-fishing-games__faq-item summary {
    font-size: 1rem;
    padding: 15px;
  }

  .page-fishing-games__faq-toggle {
    font-size: 1.2rem;
  }

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

/* Ensure strong contrast for light-bg sections */
.page-fishing-games__light-bg .page-fishing-games__section-title,
.page-fishing-games__light-bg .page-fishing-games__text-block,
.page-fishing-games__light-bg .page-fishing-games__app-benefit-item {
  color: #333333;
}

/* Ensure strong contrast for dark-bg sections */
.page-fishing-games__dark-bg .page-fishing-games__section-title,
.page-fishing-games__dark-bg .page-fishing-games__text-block,
.page-fishing-games__dark-bg .page-fishing-games__feature-description,
.page-fishing-games__dark-bg .page-fishing-games__step-description,
.page-fishing-games__dark-bg .page-fishing-games__strategy-description,
.page-fishing-games__dark-bg .page-fishing-games__faq-answer {
  color: #f0f0f0;
}

.page-fishing-games__dark-bg .page-fishing-games__feature-title,
.page-fishing-games__dark-bg .page-fishing-games__step-title,
.page-fishing-games__dark-bg .page-fishing-games__strategy-title,
.page-fishing-games__dark-bg .page-fishing-games__faq-item summary {
  color: #26A9E0;
}

.page-fishing-games__dark-bg .page-fishing-games__faq-toggle,
.page-fishing-games__dark-bg .page-fishing-games__step-item::before {
  color: #EA7C07;
}