.page-fishing-games {
  font-family: 'Arial', sans-serif;
  color: #ffffff; /* Default text color for dark body background */
  background-color: #1a1a2e; /* Body background from shared.css */
  line-height: 1.6;
  padding-top: var(--header-offset, 120px); /* Fixed header offset */
}

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

.page-fishing-games__dark-bg {
  background-color: #017439; /* Brand primary color */
  color: #ffffff;
  padding: 80px 0;
}

.page-fishing-games__light-bg {
  background-color: #ffffff;
  color: #333333;
  padding: 80px 0;
}

.page-fishing-games__section-title {
  font-size: 2.5em;
  color: inherit; /* Inherit from parent section */
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

.page-fishing-games__paragraph {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 30px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-fishing-games__paragraph--centered {
  text-align: center;
}

.page-fishing-games__text-link {
  color: #017439; /* Brand color for links on light background */
  text-decoration: underline;
  font-weight: bold;
}

.page-fishing-games__text-link:hover {
  color: #005a2d;
}

/* Hero Section */
.page-fishing-games__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  min-height: 600px;
  padding-top: 0; /* Header offset handled by main container */
}

.page-fishing-games__hero-content {
  z-index: 1;
  max-width: 800px;
  padding: 40px 20px;
  margin-bottom: 30px;
}

.page-fishing-games__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  font-weight: 900;
  line-height: 1.2;
  color: #ffffff;
}

.page-fishing-games__hero-description {
  font-size: 1.3em;
  margin-bottom: 40px;
  color: #f0f0f0;
}

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

.page-fishing-games__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  background-color: rgba(0, 0, 0, 0.5); /* Overlay for readability */
}

.page-fishing-games__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  filter: brightness(0.7); /* Darken image for text contrast */
}

/* Buttons */
.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.2s ease;
  white-space: nowrap;
  box-sizing: border-box;
  max-width: 100%; /* Ensure responsiveness */
}

.page-fishing-games__btn-primary {
  background-color: #C30808; /* Custom color for register/login */
  color: #FFFF00; /* Custom font color for register/login */
  border: 2px solid #C30808;
}

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

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

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

.page-fishing-games__btn-primary--large {
  padding: 18px 40px;
  font-size: 1.2em;
}

/* About Section (light background) */
.page-fishing-games__about-section .page-fishing-games__section-title,
.page-fishing-games__about-section .page-fishing-games__paragraph {
  color: #333333;
}

/* Video */
.page-fishing-games__video-wrapper {
  position: relative;
  width: 100%;
  max-width: 800px;
  margin: 40px auto;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  box-sizing: border-box;
}

.page-fishing-games__video-link {
  display: block;
  width: 100%;
  height: 100%;
  cursor: pointer;
}

.page-fishing-games__video {
  width: 100%;
  height: auto;
  display: block;
}

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

.page-fishing-games__feature-card {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  color: #ffffff;
  transition: transform 0.3s ease;
}

.page-fishing-games__feature-card:hover {
  transform: translateY(-10px);
}

.page-fishing-games__feature-card .page-fishing-games__card-title {
  font-size: 1.5em;
  margin-bottom: 15px;
  color: #ffffff;
}

.page-fishing-games__feature-card .page-fishing-games__card-text {
  font-size: 1em;
  color: #f0f0f0;
  line-height: 1.5;
}

/* Games Showcase (light background) */
.page-fishing-games__games-showcase .page-fishing-games__section-title,
.page-fishing-games__games-showcase .page-fishing-games__paragraph {
  color: #333333;
}

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

.page-fishing-games__game-card {
  background-color: #f8f8f8;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  padding-bottom: 20px;
  transition: transform 0.3s ease;
}

.page-fishing-games__game-card:hover {
  transform: translateY(-10px);
}

.page-fishing-games__game-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  margin-bottom: 15px;
  min-width: 200px; /* Min size requirement */
  min-height: 200px; /* Min size requirement */
}

.page-fishing-games__game-card .page-fishing-games__card-title {
  font-size: 1.4em;
  margin-bottom: 10px;
  color: #017439;
}

.page-fishing-games__game-card .page-fishing-games__card-text {
  font-size: 0.95em;
  color: #555555;
  padding: 0 20px;
  margin-bottom: 20px;
}

/* Strategies Section (dark background) */
.page-fishing-games__strategy-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
}

.page-fishing-games__list-item {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 25px;
  margin-bottom: 20px;
}

.page-fishing-games__list-title {
  font-size: 1.3em;
  color: #ffffff;
  margin-bottom: 10px;
}

.page-fishing-games__list-text {
  font-size: 1em;
  color: #f0f0f0;
  line-height: 1.5;
  text-align: left;
}

/* Guide Section (light background) */
.page-fishing-games__guide-section .page-fishing-games__section-title,
.page-fishing-games__guide-section .page-fishing-games__paragraph {
  color: #333333;
}

.page-fishing-games__guide-list {
  list-style: none;
  padding: 0;
  counter-reset: guide-step;
  margin-top: 40px;
}

.page-fishing-games__guide-list .page-fishing-games__list-item {
  background-color: #f8f8f8;
  border-left: 5px solid #017439;
  padding: 25px 30px;
  margin-bottom: 20px;
  text-align: left;
  position: relative;
  counter-increment: guide-step;
}

.page-fishing-games__guide-list .page-fishing-games__list-item::before {
  content: "Bước " counter(guide-step);
  position: absolute;
  left: 30px;
  top: -15px;
  background-color: #017439;
  color: #ffffff;
  padding: 5px 10px;
  border-radius: 5px;
  font-weight: bold;
  font-size: 0.9em;
}

.page-fishing-games__guide-list .page-fishing-games__list-title {
  font-size: 1.4em;
  color: #017439;
  margin-bottom: 10px;
  margin-top: 15px;
}

.page-fishing-games__guide-list .page-fishing-games__list-text {
  color: #555555;
  font-size: 1em;
  line-height: 1.5;
}

.page-fishing-games__guide-buttons {
  display: flex;
  gap: 15px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.page-fishing-games__guide-buttons .page-fishing-games__btn-primary,
.page-fishing-games__guide-buttons .page-fishing-games__btn-secondary {
  background-color: #C30808; /* Custom color for register/login */
  color: #FFFF00; /* Custom font color for register/login */
  border: 2px solid #C30808;
}

.page-fishing-games__guide-buttons .page-fishing-games__btn-secondary {
  background-color: transparent;
  color: #C30808;
  border: 2px solid #C30808;
}

.page-fishing-games__guide-buttons .page-fishing-games__btn-secondary:hover {
  background-color: rgba(195, 8, 8, 0.1);
}

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

.page-fishing-games__promo-card {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  padding-bottom: 20px;
  transition: transform 0.3s ease;
}

.page-fishing-games__promo-card:hover {
  transform: translateY(-10px);
}

.page-fishing-games__promo-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  margin-bottom: 15px;
  min-width: 200px; /* Min size requirement */
  min-height: 200px; /* Min size requirement */
}

.page-fishing-games__promo-card .page-fishing-games__card-title {
  font-size: 1.4em;
  margin-bottom: 10px;
  color: #ffffff;
}

.page-fishing-games__promo-card .page-fishing-games__card-text {
  font-size: 0.95em;
  color: #f0f0f0;
  padding: 0 20px;
  margin-bottom: 20px;
}

/* FAQ Section (light background) */
.page-fishing-games__faq-section .page-fishing-games__section-title,
.page-fishing-games__faq-section .page-fishing-games__paragraph {
  color: #333333;
}

.page-fishing-games__faq-list {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-fishing-games__faq-item {
  background-color: #f8f8f8;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-fishing-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: bold;
  color: #017439;
  cursor: pointer;
  background-color: #e6f7ed; /* Light green for question */
  border-bottom: 1px solid #d4edda;
  list-style: none; /* Remove default marker for details summary */
}

.page-fishing-games__faq-question::-webkit-details-marker {
  display: none; /* Remove default marker for Webkit browsers */
}

.page-fishing-games__faq-qtext {
  flex-grow: 1;
}

.page-fishing-games__faq-toggle {
  font-size: 1.5em;
  margin-left: 15px;
  color: #017439;
}

.page-fishing-games__faq-answer {
  padding: 15px 25px 20px;
  background-color: #ffffff;
  color: #555555;
  line-height: 1.6;
}

.page-fishing-games__faq-answer p {
  text-align: left;
  margin-bottom: 0;
}

/* CTA Section (dark background) */
.page-fishing-games__cta-content {
  text-align: center;
}

.page-fishing-games__cta-title {
  font-size: 2.8em;
  color: #ffffff;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-fishing-games__cta-description {
  font-size: 1.2em;
  color: #f0f0f0;
  margin-bottom: 40px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-fishing-games__hero-title {
    font-size: 3em;
  }
  .page-fishing-games__hero-description {
    font-size: 1.1em;
  }
  .page-fishing-games__section-title {
    font-size: 2em;
  }
  .page-fishing-games__cta-title {
    font-size: 2.2em;
  }
}

@media (max-width: 768px) {
  .page-fishing-games {
    font-size: 16px;
    line-height: 1.6;
    padding-top: var(--header-offset, 120px) !important; /* Ensure mobile offset */
  }

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

  .page-fishing-games__hero-section {
    min-height: 500px;
    padding: 60px 0;
  }

  .page-fishing-games__hero-title {
    font-size: 2.2em;
  }

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

  .page-fishing-games__hero-buttons {
    flex-direction: column;
    gap: 15px;
    width: 100%;
    padding: 0 15px;
  }

  .page-fishing-games__btn-primary,
  .page-fishing-games__btn-secondary {
    width: 100% !important; /* Force full width on mobile */
    max-width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }

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

  .page-fishing-games__paragraph {
    font-size: 1em;
  }

  .page-fishing-games__dark-bg,
  .page-fishing-games__light-bg {
    padding: 60px 0;
  }

  .page-fishing-games__video-wrapper {
    margin: 30px auto;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 0 15px;
    overflow: hidden !important;
  }

  .page-fishing-games__video-link,
  .page-fishing-games__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-fishing-games__game-image,
  .page-fishing-games__promo-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    min-width: 200px;
    min-height: 200px;
  }

  .page-fishing-games__game-cards-grid,
  .page-fishing-games__promo-cards-grid {
    grid-template-columns: 1fr;
    padding: 0 15px;
  }

  .page-fishing-games__feature-card,
  .page-fishing-games__game-card,
  .page-fishing-games__promo-card,
  .page-fishing-games__list-item {
    padding-left: 15px;
    padding-right: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-fishing-games__guide-list .page-fishing-games__list-item::before {
    left: 15px;
  }

  .page-fishing-games__guide-buttons {
    flex-direction: column;
    gap: 10px;
    padding: 0 15px;
  }

  .page-fishing-games__faq-question {
    padding: 15px 20px;
    font-size: 1.1em;
  }

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

  .page-fishing-games__cta-title {
    font-size: 1.8em;
  }

  .page-fishing-games__cta-description {
    font-size: 1em;
  }

  .page-fishing-games__cta-section .page-fishing-games__btn-primary--large {
    width: auto;
    max-width: 90%; /* Allow some margin */
    margin: 0 auto;
    display: block;
  }
}