:root {
  --primary-color: #003366;
  --secondary-color: #FFCC00;
  --text-color-dark-bg: #ffffff;
  --text-color-light-bg: #333333;
  --accent-color: #FFD700; /* A slightly brighter gold */
}

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

/* Ensure content is not hidden by fixed header */
.page-fishing-games__hero-section,
.page-fishing-games__intro-section,
.page-fishing-games__advantages-section,
.page-fishing-games__popular-games-section,
.page-fishing-games__how-to-play-section,
.page-fishing-games__promotions-section,
.page-fishing-games__mobile-experience-section,
.page-fishing-games__faq-section {
  padding-top: 120px; /* Desktop: Adjust based on actual header height */
  padding-bottom: 60px;
}

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

/* Hero Section */
.page-fishing-games__hero-section {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 600px;
  overflow: hidden;
  color: var(--text-color-dark-bg);
  padding-bottom: 120px; /* Adjust for spacing */
}

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

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

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

.page-fishing-games__hero-description {
  font-size: 1.3em;
  margin-bottom: 40px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.6);
  color: var(--text-color-dark-bg);
}

.page-fishing-games__hero-button {
  display: inline-block;
  padding: 18px 45px;
  background: var(--secondary-color);
  color: var(--primary-color);
  text-decoration: none;
  border-radius: 50px;
  font-size: 1.2em;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  border: none;
  cursor: pointer;
}

.page-fishing-games__hero-button:hover {
  background: var(--accent-color);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

/* General Section Styling */
.page-fishing-games__intro-section,
.page-fishing-games__how-to-play-section,
.page-fishing-games__mobile-experience-section,
.page-fishing-games__faq-section {
  background-color: #1e1e1e; /* Slightly lighter dark background */
  color: var(--text-color-dark-bg);
}

.page-fishing-games__dark-section {
  background-color: var(--primary-color);
  color: var(--text-color-dark-bg);
}

.page-fishing-games h2 {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 40px;
  color: var(--text-color-dark-bg);
}

.page-fishing-games h3 {
  font-size: 1.8em;
  margin-bottom: 15px;
  color: var(--secondary-color);
}

.page-fishing-games p {
  font-size: 1.1em;
  margin-bottom: 15px;
  color: var(--text-color-dark-bg);
}

.page-fishing-games a {
  color: var(--secondary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-fishing-games a:hover {
  color: var(--accent-color);
  text-decoration: underline;
}

/* Intro Section */
.page-fishing-games__intro-text {
  max-width: 900px;
  margin: 0 auto 50px auto;
  text-align: center;
}

.page-fishing-games__intro-features {
  display: flex;
  justify-content: space-around;
  gap: 30px;
  flex-wrap: wrap;
  margin-top: 50px;
}

.page-fishing-games__feature-item {
  flex: 1;
  min-width: 280px;
  max-width: 350px;
  text-align: center;
  padding: 30px;
  background: rgba(255, 255, 255, 0.08); /* Slightly transparent white for dark background */
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, background 0.3s ease;
}

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

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

.page-fishing-games__feature-heading {
  font-size: 1.5em;
  color: var(--secondary-color);
}

.page-fishing-games__feature-description {
  font-size: 1em;
  color: var(--text-color-dark-bg);
}

/* Advantages Section */
.page-fishing-games__advantages-title {
  color: var(--text-color-dark-bg);
}

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

.page-fishing-games__advantage-card {
  background: rgba(255, 255, 255, 0.12);
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, background 0.3s ease;
}

.page-fishing-games__advantage-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.2);
}

.page-fishing-games__advantage-heading {
  font-size: 1.4em;
  color: var(--secondary-color);
  margin-bottom: 10px;
}

.page-fishing-games__advantage-text {
  font-size: 1em;
  color: var(--text-color-dark-bg);
}

/* Popular Games Section */
.page-fishing-games__popular-games-description {
  text-align: center;
  margin-bottom: 50px;
  font-size: 1.1em;
}

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

.page-fishing-games__game-card {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  color: var(--text-color-dark-bg);
}

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

.page-fishing-games__game-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.page-fishing-games__game-card h3,
.page-fishing-games__game-card p {
  padding: 0 20px;
}

.page-fishing-games__game-title {
  font-size: 1.4em;
  margin-top: 20px;
  color: var(--secondary-color);
}

.page-fishing-games__game-excerpt {
  font-size: 0.95em;
  flex-grow: 1;
  margin-bottom: 20px;
}

.page-fishing-games__game-button {
  display: block;
  width: calc(100% - 40px);
  margin: 0 20px 20px 20px;
  padding: 12px 0;
  background: var(--secondary-color);
  color: var(--primary-color);
  text-align: center;
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.page-fishing-games__game-button:hover {
  background: var(--accent-color);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* How To Play Section */
.page-fishing-games__how-to-play-intro {
  text-align: center;
  margin-bottom: 50px;
  font-size: 1.1em;
}

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

.page-fishing-games__step-item {
  background: 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__step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--secondary-color);
  color: var(--primary-color);
  font-size: 2em;
  font-weight: bold;
  margin-bottom: 20px;
}

.page-fishing-games__step-heading {
  font-size: 1.6em;
  color: var(--secondary-color);
  margin-bottom: 10px;
}

.page-fishing-games__step-text {
  font-size: 1em;
  color: var(--text-color-dark-bg);
}

.page-fishing-games__tips-heading {
  text-align: center;
  margin-top: 60px;
  margin-bottom: 30px;
  color: var(--secondary-color);
}

.page-fishing-games__tips-list {
  list-style: none;
  padding: 0;
  max-width: 800px;
  margin: 0 auto;
}

.page-fishing-games__tips-list li {
  background: rgba(255, 255, 255, 0.05);
  padding: 15px 20px;
  margin-bottom: 10px;
  border-left: 5px solid var(--secondary-color);
  border-radius: 8px;
  color: var(--text-color-dark-bg);
  font-size: 1.05em;
}

.page-fishing-games__tips-list li p {
  margin: 0;
  color: var(--text-color-dark-bg);
}

.page-fishing-games__tips-list li strong {
  color: var(--secondary-color);
}

/* Promotions Section */
.page-fishing-games__promotions-description {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
  font-size: 1.1em;
}

.page-fishing-games__promotions-button {
  display: block;
  width: fit-content;
  margin: 0 auto;
  padding: 15px 35px;
  background: var(--secondary-color);
  color: var(--primary-color);
  text-decoration: none;
  border-radius: 50px;
  font-size: 1.1em;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  border: none;
  cursor: pointer;
}

.page-fishing-games__promotions-button:hover {
  background: var(--accent-color);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

/* Mobile Experience Section */
.page-fishing-games__mobile-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
}

.page-fishing-games__mobile-text-content {
  flex: 1;
  min-width: 300px;
}

.page-fishing-games__mobile-text {
  font-size: 1.1em;
  margin-bottom: 30px;
}

.page-fishing-games__mobile-app-button {
  display: inline-block;
  padding: 15px 35px;
  background: var(--secondary-color);
  color: var(--primary-color);
  text-decoration: none;
  border-radius: 50px;
  font-size: 1.1em;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  border: none;
  cursor: pointer;
}

.page-fishing-games__mobile-app-button:hover {
  background: var(--accent-color);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.page-fishing-games__mobile-image {
  flex: 1;
  min-width: 300px;
  max-width: 500px;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

/* FAQ Section */
.page-fishing-games__faq-main-title {
  color: var(--text-color-dark-bg);
}

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

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

.page-fishing-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background: rgba(255, 255, 255, 0.15);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease;
  position: relative;
  color: var(--text-color-dark-bg);
}

.page-fishing-games__faq-item:last-child .page-fishing-games__faq-question {
  border-bottom: none;
}

.page-fishing-games__faq-question:hover {
  background: rgba(255, 255, 255, 0.2);
}

.page-fishing-games__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 1.15em;
  font-weight: 600;
  line-height: 1.5;
  pointer-events: none;
  color: var(--text-color-dark-bg);
}

.page-fishing-games__faq-toggle {
  font-size: 2em;
  font-weight: bold;
  line-height: 1;
  color: var(--secondary-color);
  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-item.active .page-fishing-games__faq-toggle {
  color: var(--accent-color);
  transform: rotate(45deg); /* Change to X or rotate */
}

.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: rgba(0, 0, 0, 0.3); /* Darker background for answer */
  color: var(--text-color-dark-bg);
}

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

.page-fishing-games__faq-answer p {
  margin: 0;
  font-size: 1em;
  color: var(--text-color-dark-bg);
}

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

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

  .page-fishing-games h2 {
    font-size: 2em;
  }

  .page-fishing-games h3 {
    font-size: 1.6em;
  }
}

@media (max-width: 768px) {
  /* Ensure content is not hidden by fixed header on mobile */
  .page-fishing-games__hero-section,
  .page-fishing-games__intro-section,
  .page-fishing-games__advantages-section,
  .page-fishing-games__popular-games-section,
  .page-fishing-games__how-to-play-section,
  .page-fishing-games__promotions-section,
  .page-fishing-games__mobile-experience-section,
  .page-fishing-games__faq-section {
    padding-top: 100px !important; /* Mobile: Adjust based on actual header height */
    padding-bottom: 40px;
    padding-left: 15px;
    padding-right: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

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

  .page-fishing-games__hero-section {
    min-height: 450px;
    padding-bottom: 80px;
  }

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

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

  .page-fishing-games__hero-button {
    padding: 12px 30px;
    font-size: 1em;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

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

  .page-fishing-games h3 {
    font-size: 1.4em;
  }

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

  /* Images responsive */
  .page-fishing-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    box-sizing: border-box !important;
  }

  .page-fishing-games__feature-item {
    min-width: unset;
    width: 100%;
    padding: 20px;
  }

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

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

  .page-fishing-games__game-button {
    max-width: 100% !important;
    width: calc(100% - 40px) !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

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

  .page-fishing-games__promotions-button {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-fishing-games__mobile-content {
    flex-direction: column;
  }

  .page-fishing-games__mobile-image {
    max-width: 100% !important;
    width: 100% !important;
    min-width: unset;
    height: auto !important;
    box-sizing: border-box !important;
  }

  .page-fishing-games__mobile-app-button {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

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

  .page-fishing-games__faq-question h3 {
    font-size: 1em;
    width: calc(100% - 40px);
  }

  .page-fishing-games__faq-toggle {
    margin-left: 10px;
    width: 24px;
    height: 24px;
    font-size: 1.5em;
  }

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

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

@media (max-width: 480px) {
  .page-fishing-games__hero-section {
    min-height: 350px;
  }

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

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

  .page-fishing-games__hero-button {
    padding: 10px 25px;
    font-size: 0.9em;
  }

  .page-fishing-games h2 {
    font-size: 1.6em;
  }

  .page-fishing-games h3 {
    font-size: 1.2em;
  }

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

  .page-fishing-games__feature-heading {
    font-size: 1.3em;
  }

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

  .page-fishing-games__step-number {
    width: 50px;
    height: 50px;
    font-size: 1.8em;
  }
}