.page-fishing-games {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: transparent; /* Body background handled by shared.css */
}

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

.page-fishing-games__section-title {
  font-size: 2.5em;
  color: #017439; /* Brand color for titles */
  text-align: center;
  margin-bottom: 30px;
  font-weight: bold;
}

.page-fishing-games__section-description {
  font-size: 1.1em;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 40px auto;
  color: #f0f0f0; /* Light text for dark backgrounds */
}

/* Hero Section */
.page-fishing-games__hero-section {
  position: relative;
  padding: 150px 0 100px 0;
  text-align: center;
  background-image: url('[GALLERY:hero_main:1920x1080:tai_choang,fishing_game,hero_background,ocean,treasure]');
  background-size: cover;
  background-position: center;
  color: #ffffff;
  padding-top: var(--header-offset, 120px); /* Ensure content is below header */
}

.page-fishing-games__hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6); /* Dark overlay for text readability */
  z-index: 1;
}

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

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

.page-fishing-games__hero-description {
  font-size: 1.3em;
  max-width: 800px;
  margin: 0 auto 40px auto;
  color: #f0f0f0;
}

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

/* 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;
  transition: all 0.3s ease;
  font-size: 1.1em;
  text-align: center;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-fishing-games__btn-primary {
  background-color: #C30808; /* Register/Login color */
  color: #FFFF00; /* Register/Login font color */
  border: 2px solid #C30808;
}

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

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

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

/* Common Section Styling */
.page-fishing-games__intro-section,
.page-fishing-games__why-choose-section,
.page-fishing-games__game-types-section,
.page-fishing-games__how-to-play-section,
.page-fishing-games__promotions-section,
.page-fishing-games__tips-strategies-section,
.page-fishing-games__mobile-app-section,
.page-fishing-games__security-section,
.page-fishing-games__support-section,
.page-fishing-games__faq-section,
.page-fishing-games__cta-final-section {
  padding: 80px 0;
}

.page-fishing-games__light-bg .page-fishing-games__section-title,
.page-fishing-games__light-bg .page-fishing-games__section-description,
.page-fishing-games__light-bg .page-fishing-games__feature-title,
.page-fishing-games__light-bg .page-fishing-games__feature-text,
.page-fishing-games__light-bg .page-fishing-games__game-card-title,
.page-fishing-games__light-bg .page-fishing-games__game-card-description,
.page-fishing-games__light-bg .page-fishing-games__promotion-card-title,
.page-fishing-games__light-bg .page-fishing-games__promotion-card-text,
.page-fishing-games__light-bg .page-fishing-games__app-details-title,
.page-fishing-games__light-bg .page-fishing-games__app-feature-highlight,
.page-fishing-games__light-bg .page-fishing-games__support-title,
.page-fishing-games__light-bg .page-fishing-games__support-text {
  color: #ffffff; /* Light text for dark body background */
}

.page-fishing-games__dark-bg .page-fishing-games__section-title,
.page-fishing-games__dark-bg .page-fishing-games__section-description,
.page-fishing-games__dark-bg .page-fishing-games__feature-title,
.page-fishing-games__dark-bg .page-fishing-games__feature-text,
.page-fishing-games__dark-bg .page-fishing-games__step-title,
.page-fishing-games__dark-bg .page-fishing-games__step-text,
.page-fishing-games__dark-bg .page-fishing-games__tip-title,
.page-fishing-games__dark-bg .page-fishing-games__tip-text,
.page-fishing-games__dark-bg .page-fishing-games__security-title,
.page-fishing-games__dark-bg .page-fishing-games__security-text,
.page-fishing-games__dark-bg .page-fishing-games__faq-question,
.page-fishing-games__dark-bg .page-fishing-games__faq-answer p {
  color: #ffffff; /* Light text for dark backgrounds */
}

.page-fishing-games__light-bg {
  background-color: rgba(255, 255, 255, 0.05); /* Slightly lighter background for contrast against body */
}

.page-fishing-games__dark-bg {
  background-color: rgba(1, 116, 57, 0.1); /* Darker background with brand tint */
}

/* Video Section */
.page-fishing-games__video-wrapper {
  max-width: 1000px;
  margin: 40px auto;
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-fishing-games__video-link {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.page-fishing-games__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
  cursor: pointer;
}

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

.page-fishing-games__feature-item,
.page-fishing-games__game-card,
.page-fishing-games__promotion-card,
.page-fishing-games__security-item {
  background-color: rgba(255, 255, 255, 0.08);
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
}

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

.page-fishing-games__feature-title,
.page-fishing-games__game-card-title,
.page-fishing-games__promotion-card-title,
.page-fishing-games__security-title {
  font-size: 1.5em;
  color: #017439;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-fishing-games__feature-text,
.page-fishing-games__game-card-description,
.page-fishing-games__promotion-card-text,
.page-fishing-games__security-text {
  font-size: 1em;
  color: #f0f0f0;
  flex-grow: 1;
}

.page-fishing-games__game-card .page-fishing-games__btn-primary {
  margin-top: 20px;
  width: auto;
  padding: 10px 20px;
  font-size: 0.9em;
}

/* How To Play */
.page-fishing-games__steps-list {
  list-style: none;
  padding: 0;
  margin: 40px auto 0 auto;
  max-width: 800px;
}

.page-fishing-games__step-item {
  background-color: rgba(255, 255, 255, 0.08);
  padding: 25px;
  margin-bottom: 20px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
  position: relative;
  padding-left: 70px;
}

.page-fishing-games__step-item::before {
  content: counter(step-counter);
  counter-increment: step-counter;
  position: absolute;
  left: 20px;
  top: 25px;
  background-color: #017439;
  color: #ffffff;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2em;
  font-weight: bold;
}

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

.page-fishing-games__step-text {
  font-size: 1em;
  color: #f0f0f0;
}

/* Promotions */
.page-fishing-games__promotion-card {
  background-color: rgba(255, 255, 255, 0.08);
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
  text-align: center;
  display: flex;
  flex-direction: column;
}

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

.page-fishing-games__promotion-card-text {
  font-size: 1em;
  color: #f0f0f0;
  flex-grow: 1;
}

/* Tips & Strategies */
.page-fishing-games__tips-list {
  list-style: none;
  padding: 0;
  margin: 40px auto 0 auto;
  max-width: 900px;
}

.page-fishing-games__tip-item {
  background-color: rgba(255, 255, 255, 0.08);
  padding: 25px;
  margin-bottom: 20px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

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

.page-fishing-games__tip-text {
  font-size: 1em;
  color: #f0f0f0;
}

/* Mobile App Section */
.page-fishing-games__app-showcase {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 50px;
  margin-top: 40px;
}

.page-fishing-games__app-image {
  max-width: 400px;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  object-fit: contain;
}

.page-fishing-games__app-details {
  flex: 1;
  max-width: 500px;
  text-align: left;
}

.page-fishing-games__app-details-title {
  font-size: 1.8em;
  color: #017439;
  margin-bottom: 20px;
}

.page-fishing-games__app-features-list {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
}

.page-fishing-games__app-features-list li {
  font-size: 1.1em;
  margin-bottom: 10px;
  color: #f0f0f0;
  position: relative;
  padding-left: 25px;
}

.page-fishing-games__app-features-list li::before {
  content: '✔';
  color: #017439;
  position: absolute;
  left: 0;
  font-weight: bold;
}

.page-fishing-games__app-feature-highlight {
  color: #ffffff;
}

.page-fishing-games__app-details .page-fishing-games__btn-primary {
  width: auto;
  padding: 12px 25px;
}

/* Security Section */
.page-fishing-games__security-item {
  background-color: rgba(255, 255, 255, 0.08);
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-fishing-games__security-image {
  max-width: 100%;
  height: auto;
  margin-bottom: 20px;
  object-fit: contain;
}

.page-fishing-games__security-title {
  font-size: 1.5em;
  color: #017439;
  margin-bottom: 15px;
}

.page-fishing-games__security-text {
  font-size: 1em;
  color: #f0f0f0;
}

/* Support Section */
.page-fishing-games__support-methods {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin-top: 40px;
}

.page-fishing-games__support-item {
  background-color: rgba(255, 255, 255, 0.08);
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  flex: 1;
  min-width: 280px;
  max-width: 350px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-fishing-games__support-title {
  font-size: 1.5em;
  color: #017439;
  margin-bottom: 15px;
}

.page-fishing-games__support-text {
  font-size: 1em;
  color: #f0f0f0;
}

.page-fishing-games__support-section .page-fishing-games__btn-primary {
  margin-top: 40px;
}

/* FAQ Section */
.page-fishing-games__faq-list {
  max-width: 900px;
  margin: 40px auto 0 auto;
}

.page-fishing-games__faq-item {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.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: #ffffff;
  cursor: pointer;
  background-color: #017439;
  transition: background-color 0.3s ease;
}

.page-fishing-games__faq-question:hover {
  background-color: #02944b;
}

.page-fishing-games__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
}

.page-fishing-games__faq-item.active .page-fishing-games__faq-toggle {
  transform: rotate(45deg);
}

.page-fishing-games__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.page-fishing-games__faq-item.active .page-fishing-games__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to show all content */
  padding: 15px 25px;
}

.page-fishing-games__faq-answer p {
  margin: 0;
  font-size: 1em;
  color: #f0f0f0;
}

/* Final CTA */
.page-fishing-games__cta-final-section {
  text-align: center;
}

.page-fishing-games__cta-final-section .page-fishing-games__btn-primary {
  margin-top: 30px;
}

/* 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;
  }
}

@media (max-width: 768px) {
  .page-fishing-games {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-fishing-games__hero-section {
    padding: 120px 0 80px 0;
  }

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

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

  .page-fishing-games__hero-cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

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

  .page-fishing-games__container {
    padding: 0 15px !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

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

  .page-fishing-games__section-description {
    font-size: 0.95em;
  }

  .page-fishing-games__intro-section,
  .page-fishing-games__why-choose-section,
  .page-fishing-games__game-types-section,
  .page-fishing-games__how-to-play-section,
  .page-fishing-games__promotions-section,
  .page-fishing-games__tips-strategies-section,
  .page-fishing-games__mobile-app-section,
  .page-fishing-games__security-section,
  .page-fishing-games__support-section,
  .page-fishing-games__faq-section,
  .page-fishing-games__cta-final-section {
    padding: 60px 0;
  }

  .page-fishing-games__video-wrapper {
    padding-bottom: 56.25% !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

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

  .page-fishing-games__features-grid,
  .page-fishing-games__game-cards-grid,
  .page-fishing-games__promotion-cards-grid,
  .page-fishing-games__security-grid,
  .page-fishing-games__support-methods {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-fishing-games__feature-item,
  .page-fishing-games__game-card,
  .page-fishing-games__promotion-card,
  .page-fishing-games__security-item,
  .page-fishing-games__support-item {
    padding: 20px;
  }

  .page-fishing-games__feature-image,
  .page-fishing-games__game-card-image,
  .page-fishing-games__security-image,
  .page-fishing-games__app-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-fishing-games__app-showcase {
    flex-direction: column;
    gap: 30px;
  }

  .page-fishing-games__app-details {
    text-align: center;
    max-width: 100%;
  }

  .page-fishing-games__app-features-list li {
    padding-left: 0;
    text-align: left;
  }

  .page-fishing-games__app-features-list li::before {
    position: static;
    margin-right: 5px;
  }

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

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

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

  .page-fishing-games__steps-list {
    margin-left: 0;
    margin-right: 0;
  }

  .page-fishing-games__step-item {
    padding-left: 20px;
  }

  .page-fishing-games__step-item::before {
    left: 10px;
    top: 15px;
    width: 30px;
    height: 30px;
    font-size: 1em;
  }
}