.page-fishing-games {
  font-family: 'Arial', sans-serif;
  color: #ffffff; /* Default text color for dark body background */
  background-color: #1a1a1a; /* Inherited from shared.css body */
  line-height: 1.6;
}

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

/* Hero Section */
.page-fishing-games__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px;
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
  background: linear-gradient(135deg, #8B0000 0%, #FFD700 100%);
  overflow: hidden;
  border-bottom: 5px solid #FFD700;
}

.page-fishing-games__hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5); /* 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-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0.6;
}

.page-fishing-games__main-title {
  font-size: 48px;
  font-weight: bold;
  color: #FFD700; /* Gold for main title */
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-fishing-games__description {
  font-size: 18px;
  color: #f0f0f0;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary {
  display: inline-block;
  padding: 15px 35px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%;
  box-sizing: border-box;
}

.page-fishing-games__btn-primary {
  background-color: #FFD700;
  color: #8B0000; /* Dark red text on gold button */
  border: 2px solid #FFD700;
}

.page-fishing-games__btn-primary:hover {
  background-color: #e0b800;
  color: #8B0000;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

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

.page-fishing-games__btn-secondary:hover {
  background-color: #FFD700;
  color: #8B0000; /* Dark red text on gold button */
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* General Section Styling */
.page-fishing-games__intro-section,
.page-fishing-games__how-to-play,
.page-fishing-games__faq-section,
.page-fishing-games__cta-final {
  padding: 60px 0;
  background-color: #2a2a2a; /* Slightly lighter dark background */
  color: #ffffff;
}

.page-fishing-games__game-types,
.page-fishing-games__advantages-section {
  padding: 60px 0;
  background-color: #1a1a1a; /* Darker background for contrast */
  color: #ffffff;
}

.page-fishing-games__section-title {
  font-size: 36px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 40px;
  color: #FFD700; /* Gold for section titles */
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.page-fishing-games__sub-title {
  font-size: 28px;
  font-weight: bold;
  color: #FFD700;
  margin-top: 30px;
  margin-bottom: 20px;
}

.page-fishing-games__feature-list {
  list-style: none;
  padding: 0;
  margin-top: 20px;
}

.page-fishing-games__feature-list li {
  font-size: 17px;
  margin-bottom: 15px;
  padding-left: 30px;
  position: relative;
  color: #f0f0f0;
}

.page-fishing-games__feature-list li::before {
  content: '✔';
  color: #FFD700;
  position: absolute;
  left: 0;
  font-weight: bold;
  font-size: 20px;
  top: -2px;
}

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

.page-fishing-games__game-card {
  background-color: #2a2a2a;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(255, 215, 0, 0.2);
}

.page-fishing-games__game-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.page-fishing-games__game-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
  border-bottom: 1px solid rgba(255, 215, 0, 0.3);
}

.page-fishing-games__card-title {
  font-size: 22px;
  font-weight: bold;
  color: #FFD700;
  margin: 20px 15px 10px;
}

.page-fishing-games__card-description {
  font-size: 15px;
  color: #cccccc;
  padding: 0 15px 20px;
}

.page-fishing-games__card-button {
  display: block;
  background-color: #8B0000;
  color: #ffffff;
  padding: 12px 20px;
  font-size: 16px;
  font-weight: bold;
  text-decoration: none;
  border-radius: 0 0 10px 10px;
  transition: background-color 0.3s ease;
}

.page-fishing-games__card-button:hover {
  background-color: #a00000;
}

/* How To Play Section */
.page-fishing-games__steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-fishing-games__step-item {
  background-color: #1a1a1a;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 215, 0, 0.1);
}

.page-fishing-games__step-number {
  width: 60px;
  height: 60px;
  background-color: #FFD700;
  color: #8B0000;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  font-weight: bold;
  margin: 0 auto 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.page-fishing-games__step-title {
  font-size: 22px;
  font-weight: bold;
  color: #FFD700;
  margin-bottom: 15px;
}

.page-fishing-games__step-item p {
  font-size: 16px;
  color: #cccccc;
}

.page-fishing-games__cta-center {
  text-align: center;
  margin-top: 50px;
}

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

.page-fishing-games__advantage-item {
  background-color: #2a2a2a;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(139, 0, 0, 0.2);
}

.page-fishing-games__advantage-icon {
  width: 80px;
  height: 80px;
  margin-bottom: 20px;
  object-fit: contain;
}

.page-fishing-games__advantage-title {
  font-size: 22px;
  font-weight: bold;
  color: #FFD700;
  margin-bottom: 15px;
}

.page-fishing-games__advantage-item p {
  font-size: 16px;
  color: #cccccc;
}

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

.page-fishing-games__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 215, 0, 0.1);
}

.page-fishing-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background-color: #2a2a2a;
  color: #FFD700; /* Gold for FAQ question */
  border-radius: 8px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

.page-fishing-games__faq-question:hover {
  background-color: #3a3a3a;
}

.page-fishing-games__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  pointer-events: none;
  color: #FFD700;
}

.page-fishing-games__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  line-height: 1;
  color: #FFD700;
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
}

.page-fishing-games__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
  padding: 0 25px;
  opacity: 0;
  background-color: #1a1a1a;
  color: #cccccc;
}

.page-fishing-games__faq-item.active .page-fishing-games__faq-answer {
  max-height: 2000px !important; /* Sufficiently large to contain content */
  padding: 20px 25px !important;
  opacity: 1;
  border-top: 1px solid rgba(255, 215, 0, 0.1);
}

.page-fishing-games__faq-item.active .page-fishing-games__faq-toggle {
  color: #FFD700;
  transform: rotate(180deg);
}

/* Final CTA Section */
.page-fishing-games__cta-final {
  text-align: center;
  border-top: 5px solid #8B0000;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-fishing-games__main-title {
    font-size: 42px;
  }
  .page-fishing-games__section-title {
    font-size: 32px;
  }
}

@media (max-width: 768px) {
  .page-fishing-games__container {
    padding: 0 15px;
  }

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

  .page-fishing-games__main-title {
    font-size: 32px;
    margin-bottom: 15px;
  }

  .page-fishing-games__description {
    font-size: 16px;
    margin-bottom: 25px;
  }

  .page-fishing-games__cta-buttons {
    flex-direction: column;
    gap: 15px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

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

  .page-fishing-games__intro-section,
  .page-fishing-games__how-to-play,
  .page-fishing-games__faq-section,
  .page-fishing-games__cta-final,
  .page-fishing-games__game-types,
  .page-fishing-games__advantages-section {
    padding: 40px 0;
  }

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

  .page-fishing-games__sub-title {
    font-size: 24px;
  }

  .page-fishing-games__feature-list li {
    font-size: 16px;
    padding-left: 25px;
  }

  .page-fishing-games__feature-list li::before {
    font-size: 18px;
  }

  .page-fishing-games__game-grid {
    gap: 20px;
  }

  .page-fishing-games__game-image {
    height: 200px;
  }

  .page-fishing-games__card-title {
    font-size: 20px;
    margin: 15px 10px 8px;
  }

  .page-fishing-games__card-description {
    font-size: 14px;
    padding: 0 10px 15px;
  }

  .page-fishing-games__card-button {
    padding: 10px 15px;
    font-size: 15px;
  }

  .page-fishing-games__steps-grid,
  .page-fishing-games__advantages-grid {
    gap: 20px;
  }

  .page-fishing-games__step-item,
  .page-fishing-games__advantage-item {
    padding: 25px;
  }

  .page-fishing-games__step-number {
    width: 50px;
    height: 50px;
    font-size: 28px;
    margin-bottom: 15px;
  }

  .page-fishing-games__step-title,
  .page-fishing-games__advantage-title {
    font-size: 20px;
    margin-bottom: 10px;
  }

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

  .page-fishing-games__faq-question h3 {
    font-size: 16px;
  }

  .page-fishing-games__faq-toggle {
    font-size: 24px;
    width: 25px;
    height: 25px;
  }

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

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

  /* Image and Video responsive rules for mobile */
  .page-fishing-games img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-fishing-games__section,
  .page-fishing-games__card,
  .page-fishing-games__container,
  .page-fishing-games__game-card,
  .page-fishing-games__step-item,
  .page-fishing-games__advantage-item,
  .page-fishing-games__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 0;
    padding-right: 0;
  }

  .page-fishing-games__hero-section .page-fishing-games__container {
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-fishing-games__game-grid,
  .page-fishing-games__steps-grid,
  .page-fishing-games__advantages-grid,
  .page-fishing-games__faq-list {
    padding-left: 15px;
    padding-right: 15px;
  }
}