.page-fishing-games {
  --primary-color: #017439;
  --secondary-color: #FFFFFF;
  --text-dark: #333333;
  --text-light: #ffffff;
  --button-register-bg: #C30808;
  --button-login-bg: #C30808;
  --button-text-yellow: #FFFF00;
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-dark); /* Default text color for light body background */
  background-color: var(--secondary-color); /* Matches body background */
}

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

.page-fishing-games__section {
  padding: 60px 0;
}

.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);
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-color) 50%, #00a854 100%); /* Slightly darker green gradient */
  color: var(--text-light);
}

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

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

.page-fishing-games__hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

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

.page-fishing-games__hero-content h1 {
  font-size: 48px;
  margin-bottom: 20px;
  line-height: 1.2;
  color: var(--text-light);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-fishing-games__hero-content p.page-fishing-games__intro-text {
  font-size: 18px;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: rgba(255, 255, 255, 0.9);
}

.page-fishing-games__hero-content a {
  color: var(--button-text-yellow); /* Yellow for links in hero text */
  text-decoration: underline;
}

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

.page-fishing-games__cta-button {
  display: inline-block;
  padding: 15px 40px;
  text-decoration: none;
  border-radius: 5px;
  font-size: 18px;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  max-width: 100%; /* Ensure button responsiveness */
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-fishing-games__btn-primary {
  background: var(--button-register-bg); /* #C30808 */
  color: var(--button-text-yellow); /* #FFFF00 */
  border: 2px solid var(--button-register-bg);
}

.page-fishing-games__btn-primary:hover {
  background: #a30606;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.25);
}

.page-fishing-games__btn-secondary {
  background: var(--text-light); /* #FFFFFF */
  color: var(--primary-color); /* #017439 */
  border: 2px solid var(--primary-color);
}

.page-fishing-games__btn-secondary:hover {
  background: var(--primary-color);
  color: var(--text-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.25);
}

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

.page-fishing-games__heading {
  font-size: 36px;
  text-align: center;
  margin-bottom: 40px;
  color: var(--primary-color);
  font-weight: bold;
}

.page-fishing-games__about-fishing-games p,
.page-fishing-games__game-features p,
.page-fishing-games__how-to-play p,
.page-fishing-games__promotions p,
.page-fishing-games__security-support p,
.page-fishing-games__faq p,
.page-fishing-games__latest-news p {
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 15px;
  color: var(--text-dark);
}

.page-fishing-games__about-fishing-games p a,
.page-fishing-games__game-features p a,
.page-fishing-games__how-to-play p a,
.page-fishing-games__promotions p a,
.page-fishing-games__security-support p a,
.page-fishing-games__faq p a,
.page-fishing-games__latest-news p a {
  color: var(--primary-color);
  text-decoration: underline;
}

.page-fishing-games__image-content-block {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.page-fishing-games__image-content-block:nth-child(even) {
  flex-direction: row-reverse;
}

.page-fishing-games__content-image {
  flex: 1;
  min-width: 400px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  object-fit: cover;
  width: 100%; /* Ensure it takes full width of its flex item */
  height: auto;
}

.page-fishing-games__text-block {
  flex: 1;
  min-width: 400px;
}

.page-fishing-games__text-block h3 {
  font-size: 24px;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.page-fishing-games__text-block ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.page-fishing-games__text-block ul li {
  margin-bottom: 10px;
  padding-left: 25px;
  position: relative;
  color: var(--text-dark);
}

.page-fishing-games__text-block ul li::before {
  content: '✔';
  color: var(--primary-color);
  position: absolute;
  left: 0;
  top: 0;
  font-weight: bold;
}

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

.page-fishing-games__dark-section .page-fishing-games__heading,
.page-fishing-games__dark-section .page-fishing-games__text-block h3 {
  color: var(--text-light);
}

.page-fishing-games__dark-section p,
.page-fishing-games__dark-section ul li {
  color: rgba(255, 255, 255, 0.9);
}

.page-fishing-games__dark-section p a,
.page-fishing-games__dark-section ul li a {
  color: var(--button-text-yellow);
}

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

.page-fishing-games__card {
  background: var(--text-light);
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  padding: 25px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  color: var(--text-dark);
}

.page-fishing-games__card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-fishing-games__card h3 {
  font-size: 22px;
  color: var(--primary-color);
  margin-bottom: 15px;
  line-height: 1.4;
}

.page-fishing-games__card p {
  font-size: 15px;
  color: var(--text-dark);
  flex-grow: 1;
  margin-bottom: 20px;
}

.page-fishing-games__card .page-fishing-games__btn-secondary {
  margin-top: auto; /* Push button to bottom */
}

.page-fishing-games__card .page-fishing-games__card-link {
  text-decoration: none;
  color: var(--primary-color);
  font-weight: bold;
}

.page-fishing-games__card .page-fishing-games__card-link:hover {
  text-decoration: underline;
}