.page-fishing-games {
  font-family: Arial, sans-serif;
  color: var(--text-main);
  background-color: var(--background);
  line-height: 1.6;
  padding-bottom: 50px; /* Add some space at the bottom */
}

.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;
  align-items: center;
  justify-content: center;
  padding: 10px 20px 60px; /* Small top padding, more bottom padding */
  background: var(--background);
  color: var(--text-main);
  text-align: center;
  overflow: hidden;
}

.page-fishing-games__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  margin-bottom: 30px;
}

.page-fishing-games__hero-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

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

.page-fishing-games__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 0 0 10px rgba(87, 227, 141, 0.7);
}

.page-fishing-games__tagline {
  font-size: 1.2rem;
  color: var(--text-secondary);
  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,
.page-fishing-games__btn-tertiary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  text-align: center;
  box-sizing: border-box;
}

.page-fishing-games__btn-primary {
  background: var(--button-gradient);
  color: #ffffff;
  border: none;
  box-shadow: 0 4px 15px rgba(42, 209, 111, 0.4);
}

.page-fishing-games__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(42, 209, 111, 0.6);
  opacity: 0.9;
}

.page-fishing-games__btn-secondary {
  background: transparent;
  color: var(--text-main);
  border: 2px solid var(--border);
}

.page-fishing-games__btn-secondary:hover {
  background: rgba(var(--main-color-rgb), 0.2);
  color: var(--glow);
  border-color: var(--glow);
  transform: translateY(-3px);
}

.page-fishing-games__btn-tertiary {
  background: var(--deep-green);
  color: var(--text-main);
  border: none;
  padding: 10px 20px;
  font-size: 1rem;
}

.page-fishing-games__btn-tertiary:hover {
  background: var(--main-color);
  color: #ffffff;
}

.page-fishing-games__introduction-section,
.page-fishing-games__guide-section,
.page-fishing-games__advantages-section,
.page-fishing-games__promotions-section,
.page-fishing-games__register-section,
.page-fishing-games__conclusion-section,
.page-fishing-games__faq-section {
  padding: 60px 0;
  background-color: var(--background);
  color: var(--text-main);
}

.page-fishing-games__section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: var(--gold);
  text-align: center;
  margin-bottom: 40px;
  font-weight: 600;
  text-shadow: 0 0 8px rgba(242, 193, 78, 0.3);
}

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

.page-fishing-games__highlight {
  color: var(--text-main);
  font-weight: bold;
}

.page-fishing-games__highlight-link {
  color: var(--glow);
  text-decoration: underline;
}

.page-fishing-games__highlight-link:hover {
  color: var(--gold);
}

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

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

.page-fishing-games__card {
  background-color: var(--card-bg);
  border-radius: 12px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
}

.page-fishing-games__card-image {
  width: 100%;
  height: auto;
  max-width: 400px;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
}

.page-fishing-games__card-title {
  font-size: 1.5rem;
  color: var(--text-main);
  margin-bottom: 15px;
  font-weight: 600;
}

.page-fishing-games__card-description {
  font-size: 1rem;
  color: var(--text-secondary);
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-fishing-games__callout-text {
  text-align: center;
  margin-top: 40px;
  font-style: italic;
  font-size: 1.15rem;
  color: var(--glow);
}

.page-fishing-games__numbered-list {
  list-style-type: decimal;
  padding-left: 25px;
  margin-bottom: 30px;
  color: var(--text-secondary);
}

.page-fishing-games__numbered-list li {
  margin-bottom: 15px;
  font-size: 1.1rem;
  line-height: 1.5;
}

.page-fishing-games__numbered-list li a {
  color: var(--glow);
  text-decoration: none;
}

.page-fishing-games__numbered-list li a:hover {
  text-decoration: underline;
}

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

.page-fishing-games__feature-item {
  background-color: var(--card-bg);
  border-radius: 12px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border);
}

.page-fishing-games__feature-icon {
  width: 100%;
  height: auto;
  max-width: 200px;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-fishing-games__feature-title {
  font-size: 1.4rem;
  color: var(--text-main);
  margin-bottom: 10px;
  font-weight: 600;
}

.page-fishing-games__feature-description {
  font-size: 1rem;
  color: var(--text-secondary);
}

.page-fishing-games__promo-list {
  list-style-type: disc;
  padding-left: 25px;
  margin-bottom: 30px;
  color: var(--text-secondary);
}

.page-fishing-games__promo-list li {
  margin-bottom: 10px;
  font-size: 1.1rem;
  line-height: 1.5;
}

.page-fishing-games__promo-list li a {
  color: var(--glow);
  text-decoration: none;
}

.page-fishing-games__promo-list li a:hover {
  text-decoration: underline;
}

.page-fishing-games__faq-list {
  margin-top: 40px;
}

.page-fishing-games__faq-item {
  background-color: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-fishing-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-main);
  background-color: var(--deep-green);
  border-bottom: 1px solid var(--divider);
  list-style: none; /* For details/summary */
}

.page-fishing-games__faq-question::-webkit-details-marker {
  display: none; /* For details/summary */
}

.page-fishing-games__faq-qtext {
  flex-grow: 1;
  text-align: left;
}

.page-fishing-games__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  margin-left: 15px;
  color: var(--gold);
}

.page-fishing-games__faq-answer {
  padding: 15px 25px;
  font-size: 1rem;
  color: var(--text-secondary);
  text-align: justify;
}

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

.page-fishing-games__faq-item[open] .page-fishing-games__faq-question {
  border-bottom: 1px solid var(--border);
}

.page-fishing-games__faq-item[open] .page-fishing-games__faq-toggle {
  content: '−';
}

/* Responsive Styles */
@media (max-width: 768px) {
  .page-fishing-games__container {
    padding-left: 15px !important;
    padding-right: 15px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .page-fishing-games__hero-section {
    padding: 10px 15px 40px;
  }

  .page-fishing-games__main-title {
    font-size: clamp(2rem, 8vw, 2.5rem);
  }

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

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

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

  .page-fishing-games__hero-image,
  .page-fishing-games__card-image,
  .page-fishing-games__feature-icon,
  .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,
  .page-fishing-games__hero-image-wrapper,
  .page-fishing-games__cards-wrapper,
  .page-fishing-games__feature-list,
  .page-fishing-games__faq-list,
  .page-fishing-games__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important; /* Ensure no overflow for containers */
  }

  .page-fishing-games__section-title {
    font-size: clamp(1.8rem, 6vw, 2.2rem);
  }

  .page-fishing-games__text-block,
  .page-fishing-games__numbered-list li,
  .page-fishing-games__promo-list li,
  .page-fishing-games__feature-description,
  .page-fishing-games__faq-answer p {
    font-size: 15px;
  }

  .page-fishing-games__card-title,
  .page-fishing-games__feature-title {
    font-size: 1.3rem;
  }

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

  .page-fishing-games__faq-toggle {
    font-size: 1.3rem;
  }
}

/* Color Contrast Fixes based on dark background */
.page-fishing-games h1, .page-fishing-games h2, .page-fishing-games h3 {
  color: var(--gold); /* Headings use Gold for contrast on dark background */
}

.page-fishing-games p, .page-fishing-games li, .page-fishing-games__card-description, .page-fishing-games__feature-description, .page-fishing-games__faq-answer {
  color: var(--text-secondary); /* General text uses secondary text color */
}

.page-fishing-games__highlight {
  color: var(--text-main); /* Highlighted text uses main text color */
}

.page-fishing-games__btn-primary {
  color: #ffffff; /* White text on gradient button */
}

.page-fishing-games__btn-secondary {
  color: var(--text-main); /* Main text color on transparent button */
}

.page-fishing-games__btn-tertiary {
  color: var(--text-main); /* Main text color on deep green button */
}