.page-fishing-games {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Dark body background (#0a0a0a), so text is white */
  background-color: transparent; /* Inherit from body or shared, ensuring text contrast is handled */
}

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

/* Fixed header offset for main content */
.page-fishing-games__hero-section {
  position: relative;
  padding-top: var(--header-offset, 120px); /* Apply header offset */
  background-color: #017439; /* Brand color for hero background */
  color: #ffffff;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 600px; /* Ensure hero section has a decent height */
  overflow: hidden; /* Prevent image overflow */
}

.page-fishing-games__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0.3; /* Make background image subtle */
}

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

.page-fishing-games__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #FFFF00; /* Use specific color for emphasis */
}

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

.page-fishing-games__hero-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

/* General Section Styling */
.page-fishing-games__intro-section,
.page-fishing-games__featured-games,
.page-fishing-games__how-to-play,
.page-fishing-games__strategies,
.page-fishing-games__promotions,
.page-fishing-games__security-support,
.page-fishing-games__faq-section {
  padding: 80px 0;
  text-align: center;
}

.page-fishing-games__dark-section {
  background-color: #0a0a0a; /* Ensure dark background for these sections */
  color: #ffffff;
}

.page-fishing-games__section-title {
  font-size: 2.5em;
  margin-bottom: 20px;
  color: #017439; /* Brand color for titles */
}

.page-fishing-games__dark-section .page-fishing-games__section-title {
  color: #ffffff; /* White title on dark background */
}

.page-fishing-games__section-description {
  font-size: 1.1em;
  margin-bottom: 50px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #f0f0f0;
}

/* Buttons */
.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary,
.page-fishing-games__btn-link {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  max-width: 100%; /* For responsive buttons */
  box-sizing: border-box; /* For responsive buttons */
  white-space: normal; /* Allow text wrap */
  word-wrap: break-word; /* Allow text wrap */
}

.page-fishing-games__btn-primary {
  background-color: #C30808; /* Specific color for register/login */
  color: #FFFF00; /* Specific font color */
  border: 2px solid #C30808;
}

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

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

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

.page-fishing-games__btn-link {
  background-color: transparent;
  color: #FFFF00; /* Specific font color */
  border: none;
  padding: 0;
  text-decoration: underline;
  margin-top: 10px;
}

.page-fishing-games__btn-link:hover {
  color: #017439;
}

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

/* Feature List */
.page-fishing-games__feature-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  list-style: none;
  padding: 0;
  margin-top: 50px;
  text-align: left;
}

.page-fishing-games__feature-item {
  background-color: rgba(255, 255, 255, 0.1); /* Light background for contrast on dark section */
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

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

.page-fishing-games__feature-text {
  color: #f0f0f0;
}

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

.page-fishing-games__game-card,
.page-fishing-games__promotion-card,
.page-fishing-games__strategy-card {
  background-color: rgba(255, 255, 255, 0.05); /* Slightly transparent white on dark background */
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  text-align: left;
  display: flex;
  flex-direction: column;
  color: #ffffff;
}

.page-fishing-games__game-image,
.page-fishing-games__promotion-image {
  width: 100%;
  height: 250px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
}

.page-fishing-games__game-title,
.page-fishing-games__promotion-title {
  font-size: 1.4em;
  margin: 20px 20px 10px 20px;
  color: #FFFF00; /* Specific font color */
}

.page-fishing-games__game-link,
.page-fishing-games__promotion-link {
  color: #FFFF00; /* Specific font color */
  text-decoration: none;
}

.page-fishing-games__game-link:hover,
.page-fishing-games__promotion-link:hover {
  text-decoration: underline;
  color: #017439;
}

.page-fishing-games__game-description,
.page-fishing-games__promotion-text {
  padding: 0 20px 20px 20px;
  flex-grow: 1; /* Make description take available space */
  color: #f0f0f0;
}

.page-fishing-games__game-card .page-fishing-games__btn-secondary,
.page-fishing-games__promotion-card .page-fishing-games__btn-primary {
  margin: 0 20px 20px 20px;
  text-align: center;
}

/* How-to-Play Section */
.page-fishing-games__how-to-play-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
  text-align: left;
  margin-top: 50px;
}

.page-fishing-games__steps-column {
  padding-right: 20px;
}

.page-fishing-games__step-list {
  list-style: none;
  padding: 0;
}

.page-fishing-games__step-item {
  margin-bottom: 30px;
}

.page-fishing-games__step-title {
  font-size: 1.6em;
  color: #FFFF00; /* Specific font color */
  margin-bottom: 10px;
}

.page-fishing-games__step-text {
  color: #f0f0f0;
}

.page-fishing-games__image-column {
  text-align: center;
}

.page-fishing-games__image-column .page-fishing-games__image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* Strategies Section */
.page-fishing-games__strategy-card {
  background-color: rgba(255, 255, 255, 0.05); /* Slightly transparent white on dark background */
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: left;
  color: #ffffff;
}

.page-fishing-games__strategy-title {
  font-size: 1.5em;
  color: #FFFF00; /* Specific font color */
  margin-bottom: 15px;
}

.page-fishing-games__strategy-text {
  color: #f0f0f0;
}

/* Security & Support Section */
.page-fishing-games__security-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
  text-align: left;
  margin-top: 50px;
}

.page-fishing-games__security-list {
  list-style: none;
  padding: 0;
}

.page-fishing-games__security-item {
  margin-bottom: 30px;
}

.page-fishing-games__security-title {
  font-size: 1.6em;
  color: #FFFF00; /* Specific font color */
  margin-bottom: 10px;
}

.page-fishing-games__security-text {
  color: #f0f0f0;
}

.page-fishing-games__security-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

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

.page-fishing-games__faq-item {
  background-color: rgba(255, 255, 255, 0.05); /* Slightly transparent white on dark background */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  color: #ffffff;
}

.page-fishing-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: bold;
  cursor: pointer;
  background-color: rgba(255, 255, 255, 0.1); /* Slightly darker for question header */
  color: #FFFF00; /* Specific font color */
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.page-fishing-games__faq-question:hover {
  background-color: rgba(255, 255, 255, 0.15);
}
.page-fishing-games__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
}

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

.page-fishing-games__faq-answer {
  padding: 20px 25px 25px 25px;
  background-color: rgba(255, 255, 255, 0.02); /* Even lighter for answer content */
  color: #f0f0f0;
}

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

/* Responsive Adjustments */
@media (max-width: 992px) {
  .page-fishing-games__hero-title {
    font-size: 2.8em;
  }

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

  .page-fishing-games__how-to-play-grid,
  .page-fishing-games__security-content {
    grid-template-columns: 1fr;
  }

  .page-fishing-games__steps-column,
  .page-fishing-games__security-list {
    padding-right: 0;
  }

  .page-fishing-games__image-column {
    order: -1; /* Move image above text on small screens */
    margin-bottom: 30px;
  }
}

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

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

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

  .page-fishing-games__btn-primary,
  .page-fishing-games__btn-secondary {
    width: 100%;
  }

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

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

  .page-fishing-games__feature-list,
  .page-fishing-games__game-grid,
  .page-fishing-games__promotion-grid,
  .page-fishing-games__strategy-grid {
    grid-template-columns: 1fr;
  }

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

  .page-fishing-games__game-title,
  .page-fishing-games__promotion-title,
  .page-fishing-games__strategy-title,
  .page-fishing-games__step-title,
  .page-fishing-games__security-title {
    font-size: 1.3em;
  }

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

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