/* style/fishing-games.css */

/* Base styles for the page content */
.page-fishing-games {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: #000; /* Ensure consistency with shared.css body background */
}

.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.5rem;
  color: #ffc107;
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

.page-fishing-games__text-block {
  font-size: 1.1rem;
  margin-bottom: 20px;
  text-align: justify;
}

/* Hero Section */
.page-fishing-games__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 600px;
  padding: 120px 20px 60px;
  padding-top: var(--header-offset, 120px); /* Fixed header offset */
  text-align: center;
  overflow: hidden;
  background-color: #007bff; /* Primary brand color for hero background */
  color: #ffffff;
}

.page-fishing-games__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

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

.page-fishing-games__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
}

.page-fishing-games__hero-title {
  font-size: 3.5rem;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #ffc107;
}

.page-fishing-games__hero-description {
  font-size: 1.4rem;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

/* 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.1rem;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-fishing-games__btn-primary {
  background-color: #ffc107;
  color: #000000;
  border: 2px solid #ffc107;
}

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

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

.page-fishing-games__btn-secondary:hover {
  background-color: #ffffff;
  color: #007bff;
  border-color: #ffffff;
}

.page-fishing-games__btn-large {
  padding: 18px 35px;
  font-size: 1.2rem;
}

/* Section backgrounds */
.page-fishing-games__dark-bg {
  background-color: #0d0d0d; /* Slightly lighter than #000 for contrast */
  color: #ffffff;
  padding: 80px 0;
}

.page-fishing-games__light-bg {
  background-color: #1a1a1a; /* Dark gray for contrast with dark bg */
  color: #ffffff;
  padding: 80px 0;
}

/* Intro Section */
.page-fishing-games__intro-section .page-fishing-games__text-block {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-fishing-games__feature-item {
  background-color: rgba(255, 255, 255, 0.05);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  transition: transform 0.3s ease, background-color 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-fishing-games__feature-item:hover {
  transform: translateY(-10px);
  background-color: rgba(255, 255, 255, 0.1);
}

.page-fishing-games__feature-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
}

.page-fishing-games__feature-title {
  font-size: 1.5rem;
  color: #ffc107;
  margin-bottom: 15px;
}

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

/* Video Section */
.page-fishing-games__video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  height: 0;
  overflow: hidden;
  max-width: 100%;
  background: #000;
  border-radius: 10px;
  margin: 0 auto 30px;
}

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

.page-fishing-games__video-caption {
  text-align: center;
  font-style: italic;
  color: #cccccc;
  margin-top: 15px;
}

/* How to Play Section */
.page-fishing-games__step-list {
  list-style: none;
  padding: 0;
  counter-reset: step-counter;
  max-width: 900px;
  margin: 0 auto;
}

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

.page-fishing-games__step-item::before {
  counter-increment: step-counter;
  content: "Bước " counter(step-counter);
  position: absolute;
  left: 20px;
  top: 25px;
  background-color: #007bff;
  color: #ffffff;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 0.9rem;
}

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

.page-fishing-games__step-item a {
  color: #ffc107;
  text-decoration: none;
}

.page-fishing-games__step-item a:hover {
  text-decoration: underline;
}

/* Tips and Strategies Section */
.page-fishing-games__tips-content {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  max-width: 1000px;
  margin: 0 auto;
}

.page-fishing-games__tips-text-block {
  flex: 2;
}

.page-fishing-games__tips-list {
  list-style: disc;
  margin-left: 20px;
  padding-left: 0;
  margin-top: 20px;
}

.page-fishing-games__tips-list li {
  margin-bottom: 10px;
  color: #cccccc;
}

.page-fishing-games__tips-list strong {
  color: #ffc107;
}

.page-fishing-games__tips-image-wrapper {
  flex: 1;
  min-width: 300px;
}

.page-fishing-games__tips-image {
  width: 100%;
  height: auto;
  border-radius: 10px;
  display: block;
}

/* Promotions Section */
.page-fishing-games__promo-list {
  list-style: none;
  padding: 0;
  max-width: 800px;
  margin: 40px auto;
}

.page-fishing-games__promo-item {
  background-color: rgba(0, 123, 255, 0.1);
  border-left: 5px solid #007bff;
  padding: 20px;
  margin-bottom: 15px;
  border-radius: 5px;
  color: #ffffff;
}

.page-fishing-games__promo-item strong {
  color: #ffc107;
}

.page-fishing-games__cta-buttons {
  text-align: center;
  margin-top: 40px;
  display: flex;
  gap: 20px;
  justify-content: center;
}

/* Safety and Fairness Section */
.page-fishing-games__safety-list {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
  margin-top: 40px;
}

.page-fishing-games__safety-item {
  background-color: rgba(255, 255, 255, 0.05);
  padding: 25px;
  border-radius: 10px;
  color: #cccccc;
  border-left: 4px solid #007bff;
}

.page-fishing-games__safety-item strong {
  color: #ffc107;
  display: block;
  margin-bottom: 10px;
  font-size: 1.2rem;
}

/* FAQ Section */
.page-fishing-games__faq-section {
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  position: relative;
  padding: 80px 0;
}

.page-fishing-games__faq-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7); /* Dark overlay for readability */
  z-index: 0;
}

.page-fishing-games__faq-section .page-fishing-games__container {
  position: relative;
  z-index: 1;
}

.page-fishing-games__faq-list {
  max-width: 800px;
  margin: 50px auto 0;
}

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

.page-fishing-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  background-color: #007bff;
  color: #ffffff;
  font-size: 1.2rem;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-fishing-games__faq-question:hover {
  background-color: #0056b3;
}

.page-fishing-games__faq-toggle {
  font-size: 1.5rem;
  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;
  color: #cccccc;
  font-size: 1rem;
}

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

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

/* Call to Action Section */
.page-fishing-games__cta-section {
  padding: 100px 0;
  text-align: center;
  background-color: #007bff;
  color: #ffffff;
}

.page-fishing-games__cta-content {
  max-width: 900px;
  margin: 0 auto;
}

.page-fishing-games__cta-title {
  font-size: 3rem;
  color: #ffc107;
  margin-bottom: 25px;
}

.page-fishing-games__cta-description {
  font-size: 1.2rem;
  margin-bottom: 40px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-fishing-games__hero-title {
    font-size: 3rem;
  }
  .page-fishing-games__hero-description {
    font-size: 1.2rem;
  }
  .page-fishing-games__section-title {
    font-size: 2rem;
  }
  .page-fishing-games__tips-content {
    flex-direction: column;
    align-items: center;
  }
  .page-fishing-games__tips-image-wrapper {
    margin-top: 30px;
  }
}

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

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

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

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

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

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

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

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

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

  .page-fishing-games__features-grid {
    grid-template-columns: 1fr;
  }

  .page-fishing-games__feature-image {
    height: 180px;
  }

  .page-fishing-games__video-wrapper {
    padding-bottom: 56.25% !important; /* Ensure aspect ratio */
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

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

  .page-fishing-games__tips-content {
    gap: 20px;
  }

  .page-fishing-games__tips-image-wrapper {
    min-width: unset;
    width: 100%;
  }

  .page-fishing-games__safety-list {
    grid-template-columns: 1fr;
  }

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

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

  .page-fishing-games__faq-item.active .page-fishing-games__faq-answer {
    padding: 10px 20px !important;
  }

  .page-fishing-games__cta-title {
    font-size: 2rem;
  }

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

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

  /* Mobile specific image adaptation */
  .page-fishing-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-fishing-games__section,
  .page-fishing-games__card,
  .page-fishing-games__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  
  .page-fishing-games__video-section {
    padding-top: var(--header-offset, 120px) !important;
  }
}

@media (max-width: 480px) {
  .page-fishing-games__hero-title {
    font-size: 1.8rem;
  }
  .page-fishing-games__section-title {
    font-size: 1.6rem;
  }
  .page-fishing-games__cta-title {
    font-size: 1.8rem;
  }
  .page-fishing-games__step-item {
    padding-left: 60px;
  }
  .page-fishing-games__step-item::before {
    left: 15px;
    top: 20px;
  }
}