:root {
  --primary-color: #017439;
  --secondary-color: #FFFFFF;
  --register-color: #C30808;
  --login-color: #C30808;
  --register-login-font-color: #FFFF00;
  --text-dark: #333333;
  --text-light: #ffffff;
  --border-color: #e0e0e0;
  --background-light: #f9f9f9;
  --background-white: #ffffff;
}

/* Ensure page body content color has sufficient contrast with body background color */
.page-fishing-games {
  color: var(--text-dark); /* Default text color for light backgrounds */
  background-color: var(--background-white); /* Assuming shared.css body is light */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  font-size: 16px;
}

/* Hero Section */
.page-fishing-games__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: var(--header-offset, 120px); /* Fixed header offset */
  background: linear-gradient(135deg, var(--primary-color) 0%, #004d26 100%); /* Adjusted gradient for better contrast with white text */
  color: var(--text-light);
  overflow: hidden; /* Ensure no overflow from images */
}

.page-fishing-games__hero-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.page-fishing-games__hero-image {
  width: 100%;
  margin-bottom: 30px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.page-fishing-games__hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  object-fit: cover;
  border-radius: 8px; /* Apply border-radius to the image itself */
}

.page-fishing-games__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
}

.page-fishing-games__main-title {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--text-light);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-fishing-games__description {
  font-size: 20px;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: var(--text-light);
}

.page-fishing-games__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: var(--register-color); /* Use register color for primary CTA */
  color: var(--register-login-font-color); /* Use specific font color */
  text-decoration: none;
  border-radius: 5px;
  font-size: 18px;
  font-weight: bold;
  margin-top: 30px;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-fishing-games__cta-button:hover {
  background: #a90707; /* Darken for hover effect */
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

/* General Section Styles */
.page-fishing-games__section {
  padding: 60px 20px;
  margin-bottom: 20px;
  text-align: center;
  overflow: hidden; /* Prevent content overflow */
}

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

.page-fishing-games__section-title {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 40px;
  color: var(--primary-color);
}

.page-fishing-games__section-title--white {
  color: var(--text-light);
}

.page-fishing-games__text-block {
  font-size: 17px;
  margin-bottom: 25px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  color: var(--text-dark);
}

.page-fishing-games__text-block--white {
  color: var(--text-light);
}

.page-fishing-games__text-block--center {
  text-align: center;
}

.page-fishing-games__image-block {
  margin: 40px auto;
  max-width: 1000px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}

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

/* Backgrounds */
.page-fishing-games__light-bg {
  background-color: var(--background-white);
  color: var(--text-dark);
}

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

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

.page-fishing-games__feature-item {
  background: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: var(--text-light);
}

.page-fishing-games__feature-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.page-fishing-games__feature-title {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 15px;
  color: var(--text-light);
}

.page-fishing-games__feature-description {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-light);
}

/* 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: var(--background-white);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  text-align: center;
  padding-bottom: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-fishing-games__game-card img {
  width: 100%;
  height: 250px; /* Fixed height for consistency in cards */
  object-fit: cover;
  display: block;
  margin-bottom: 20px;
}

.page-fishing-games__game-title {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--primary-color);
  padding: 0 15px;
}

.page-fishing-games__game-description {
  font-size: 15px;
  line-height: 1.5;
  margin-bottom: 20px;
  color: var(--text-dark);
  padding: 0 15px;
}

.page-fishing-games__btn-secondary {
  display: inline-block;
  padding: 10px 25px;
  background: var(--secondary-color);
  color: var(--primary-color);
  text-decoration: none;
  border: 2px solid var(--primary-color);
  border-radius: 5px;
  font-weight: bold;
  transition: all 0.3s ease;
}

.page-fishing-games__btn-secondary:hover {
  background: var(--primary-color);
  color: var(--secondary-color);
}

.page-fishing-games__app-interface {
  margin-top: 60px;
  padding: 30px;
  background: var(--background-light);
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.page-fishing-games__app-interface img {
  width: 100%;
  max-width: 800px;
  height: auto;
  display: block;
  margin: 0 auto 20px auto;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* How to Play Steps */
.page-fishing-games__steps-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  text-align: left;
}

.page-fishing-games__steps-list li {
  background: rgba(255, 255, 255, 0.15);
  padding: 25px;
  border-radius: 8px;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  color: var(--text-light);
}

.page-fishing-games__steps-list--white li {
  background: rgba(255, 255, 255, 0.15);
  color: var(--text-light);
}

.page-fishing-games__steps-list li strong {
  font-size: 20px;
  color: var(--register-login-font-color); /* Highlight step titles */
  display: block;
  margin-bottom: 10px;
}

.page-fishing-games__steps-list li p {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-light);
  margin-bottom: 0;
}

.page-fishing-games__link-inline {
  color: var(--register-login-font-color); /* Use a contrasting color for inline links */
  text-decoration: underline;
  transition: color 0.3s ease;
}

.page-fishing-games__link-inline:hover {
  color: #ffcc00; /* Slightly different hover color */
}

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

.page-fishing-games__cta-center .page-fishing-games__cta-button {
  margin: 10px;
}

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

.page-fishing-games__promo-card {
  background: var(--background-white);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  text-align: center;
  padding-bottom: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-fishing-games__promo-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.page-fishing-games__promo-card img {
  width: 100%;
  height: 200px; /* Fixed height for consistency in promo cards */
  object-fit: cover;
  display: block;
  margin-bottom: 20px;
}

.page-fishing-games__promo-title {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--primary-color);
  padding: 0 15px;
}

.page-fishing-games__promo-description {
  font-size: 15px;
  line-height: 1.5;
  margin-bottom: 20px;
  color: var(--text-dark);
  padding: 0 15px;
}

/* Security & Support Section */
.page-fishing-games__security-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-fishing-games__security-item {
  background: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  text-align: center;
  color: var(--text-light);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-fishing-games__security-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.page-fishing-games__security-item img {
  
  
  margin-bottom: 20px;
  /* filter: none; */ /* Removed filter to comply with strict rule */
}

.page-fishing-games__security-title {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--text-light);
}

.page-fishing-games__security-description {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-light);
}

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

.page-fishing-games__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.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 15px;
  opacity: 0;
}