.page-fishing-games {
  font-family: 'Arial', sans-serif;
  color: #ffffff; /* Light text for dark body background */
  background-color: #121212; /* Matches shared.css body background */
}

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

.page-fishing-games__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 80px 20px;
  padding-top: calc(80px + var(--header-offset, 120px)); /* Ensure space for fixed header */
  background-color: #1a1a1a;
  overflow: hidden;
  min-height: 600px;
}

.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;
}

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

.page-fishing-games__hero-title {
  font-size: 3.5em;
  color: #FF4500;
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

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

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

.page-fishing-games__cta-buttons--center {
  margin-top: 40px;
}

.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: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

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

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

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

.page-fishing-games__btn-secondary:hover {
  background-color: #1a7fda;
  border-color: #1a7fda;
  transform: translateY(-2px);
}

.page-fishing-games__section-title {
  font-size: 2.5em;
  color: #FF4500;
  text-align: center;
  margin-bottom: 30px;
  padding-top: 60px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.page-fishing-games__section-description {
  font-size: 1.1em;
  color: #f0f0f0;
  text-align: center;
  margin-bottom: 50px;
  line-height: 1.6;
}

/* Video Section */
.page-fishing-games__video-section {
  padding: 80px 0;
  background-color: #1a1a1a;
}

.page-fishing-games__video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  max-width: 100%;
  background: #000;
  margin: 0 auto;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

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

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

/* Features Section */
.page-fishing-games__features-section {
  padding: 80px 0;
  background-color: #121212;
}

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

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

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

.page-fishing-games__feature-icon {
  width: 200px;
  height: 150px;
  object-fit: cover;
  margin-bottom: 20px;
  border-radius: 8px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

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

.page-fishing-games__feature-description {
  font-size: 1em;
  color: #cccccc;
  line-height: 1.5;
}

/* Gameplay Guide Section */
.page-fishing-games__gameplay-guide-section {
  padding: 80px 0;
  background-color: #1a1a1a;
}

.page-fishing-games__steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.page-fishing-games__step-card {
  background-color: rgba(30, 144, 255, 0.08);
  padding: 25px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.page-fishing-games__step-card:hover {
  transform: translateY(-10px);
  background-color: rgba(30, 144, 255, 0.15);
}

.page-fishing-games__step-image {
  width: 400px;
  height: 300px;
  object-fit: cover;
  margin-bottom: 20px;
  border-radius: 8px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-fishing-games__step-title {
  font-size: 1.4em;
  color: #1E90FF;
  margin-bottom: 10px;
}

.page-fishing-games__step-description {
  font-size: 0.95em;
  color: #cccccc;
  line-height: 1.5;
}

/* Advantages Section */
.page-fishing-games__advantages-section {
  padding: 80px 0;
  background-color: #121212;
}

.page-fishing-games__advantage-list {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

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

.page-fishing-games__advantage-item:hover {
  transform: translateY(-10px);
  background-color: rgba(255, 69, 0, 0.15);
}

.page-fishing-games__advantage-icon {
  width: 80px;
  height: 80px;
  object-fit: contain;
  margin-bottom: 15px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-fishing-games__advantage-title {
  font-size: 1.5em;
  color: #FF4500;
  margin-bottom: 10px;
}

.page-fishing-games__advantage-description {
  font-size: 1em;
  color: #cccccc;
  line-height: 1.5;
}

/* Promotions Section */
.page-fishing-games__promotions-section {
  padding: 80px 0;
  background-color: #1a1a1a;
}

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

.page-fishing-games__promotion-card {
  background-color: rgba(255, 255, 255, 0.08);
  padding: 25px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.page-fishing-games__promotion-card:hover {
  transform: translateY(-10px);
  background-color: rgba(255, 255, 255, 0.15);
}

.page-fishing-games__promotion-image {
  width: 400px;
  height: 225px;
  object-fit: cover;
  margin-bottom: 20px;
  border-radius: 8px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-fishing-games__promotion-title {
  font-size: 1.4em;
  color: #FF4500;
  margin-bottom: 15px;
}

.page-fishing-games__promotion-title a {
  color: #FF4500;
  text-decoration: none;
}

.page-fishing-games__promotion-title a:hover {
  text-decoration: underline;
}

.page-fishing-games__promotion-description {
  font-size: 0.95em;
  color: #cccccc;
  line-height: 1.5;
  margin-bottom: 20px;
}

/* FAQ Section */
.page-fishing-games__faq-section {
  padding: 80px 0;
  background-color: #121212;
}

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

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

.page-fishing-games__faq-item:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.page-fishing-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  color: #ffffff;
  font-size: 1.1em;
  font-weight: bold;
}

.page-fishing-games__faq-title {
  margin: 0;
  color: #FF4500; /* Ensure visibility on dark background */
}

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

.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;
  line-height: 1.6;
}

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

/* Call to Action Section */
.page-fishing-games__call-to-action-section {
  padding: 80px 0;
  background-color: #1a1a1a;
  text-align: center;
}

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

@media (max-width: 768px) {
  .page-fishing-games__hero-section {
    padding-top: calc(60px + var(--header-offset, 120px));
    min-height: 500px;
  }

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

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

  .page-fishing-games__section-title {
    font-size: 2em;
    padding-top: 40px;
  }

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

  .page-fishing-games__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 20px;
    font-size: 1em;
  }

  .page-fishing-games__container,
  .page-fishing-games__video-section,
  .page-fishing-games__features-section,
  .page-fishing-games__gameplay-guide-section,
  .page-fishing-games__advantages-section,
  .page-fishing-games__promotions-section,
  .page-fishing-games__faq-section,
  .page-fishing-games__call-to-action-section {
    padding-left: 15px;
    padding-right: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

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

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

  .page-fishing-games__video-wrapper {
    overflow: hidden !important;
  }

  .page-fishing-games__feature-icon,
  .page-fishing-games__step-image,
  .page-fishing-games__promotion-image {
    width: 100%;
    height: auto;
    min-height: 200px; /* Enforce min size for content images */
  }

  .page-fishing-games__advantage-icon {
    min-width: 80px;
    min-height: 80px;
  }

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

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

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

  /* Ensure no content causes horizontal scroll */
  .page-fishing-games {
    overflow-x: hidden;
  }
}

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

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