:root {
  --primary-color: #2F6BFF;
  --secondary-color: #6FA3FF;
  --card-bg: #FFFFFF;
  --background-main: #F4F7FB;
  --text-main: #1F2D3D;
  --text-dark: #000000;
  --border-color: #D6E2FF;
  --glow-color: #A5C4FF;
  --button-gradient: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
}

/* General page styling, assuming a light body background from shared.css */
.page-fishing-games {
  font-family: 'Arial', sans-serif;
  color: var(--text-main); /* Default text color for the page */
  background-color: var(--background-main); /* Specific background for main content area */
}

.page-fishing-games__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 20px 60px; /* Small top padding, more bottom padding */
  background-color: var(--primary-color);
  color: #ffffff;
  overflow: hidden;
}

.page-fishing-games__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
}

.page-fishing-games__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.8); /* Slightly dim the image for text contrast, if needed */
}

.page-fishing-games__hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 900px;
  margin-top: -120px; /* Pull content up slightly over the image, but not covering it */
  padding: 20px;
  background: rgba(0, 0, 0, 0.3); /* Semi-transparent dark background for text readability */
  border-radius: 8px;
}

.page-fishing-games__main-title {
  font-size: clamp(2em, 4vw, 3.5em); /* Responsive font size for H1 */
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 15px;
  color: #ffffff; /* Ensure high contrast */
}

.page-fishing-games__hero-description {
  font-size: 1.1em;
  line-height: 1.6;
  margin-bottom: 30px;
  color: #f0f0f0; /* Slightly off-white for softer look */
}

.page-fishing-games__cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 30px;
  background: var(--button-gradient);
  color: #ffffff;
  font-size: 1.1em;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-fishing-games__cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  opacity: 0.9;
}

.page-fishing-games__section {
  padding: 60px 20px;
  background-color: var(--background-main);
}

.page-fishing-games__section:nth-of-type(even) {
  background-color: #eaf1f8; /* Slightly different background for alternating sections */
}

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

.page-fishing-games__section-title {
  font-size: clamp(1.8em, 3vw, 2.8em);
  font-weight: 700;
  color: var(--text-dark); /* Ensure high contrast */
  text-align: center;
  margin-bottom: 40px;
  position: relative;
}

.page-fishing-games__section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background: var(--primary-color);
  margin: 15px auto 0;
  border-radius: 2px;
}

.page-fishing-games__text-block {
  font-size: 1.05em;
  line-height: 1.8;
  margin-bottom: 20px;
  color: var(--text-main);
  text-align: justify;
}

.page-fishing-games__text-block strong {
  color: var(--primary-color);
}

.page-fishing-games__image-wrapper {
  margin: 40px 0;
  text-align: center;
}

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

.page-fishing-games__feature-list, .page-fishing-games__steps-list, .page-fishing-games__promo-list {
  list-style: none;
  padding: 0;
  margin: 0 0 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-fishing-games__feature-item, .page-fishing-games__step-item, .page-fishing-games__promo-item {
  background-color: var(--card-bg);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--border-color);
}

.page-fishing-games__feature-item:hover, .page-fishing-games__step-item:hover, .page-fishing-games__promo-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

.page-fishing-games__feature-heading {
  font-size: 1.4em;
  color: var(--primary-color);
  margin-bottom: 15px;
  font-weight: 600;
}

.page-fishing-games__feature-description, .page-fishing-games__step-item, .page-fishing-games__promo-item {
  font-size: 1em;
  line-height: 1.7;
  color: var(--text-main);
}

.page-fishing-games__step-item strong {
  color: var(--text-dark);
}

.page-fishing-games__step-item a, .page-fishing-games__promo-list a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
}

.page-fishing-games__step-item a:hover, .page-fishing-games__promo-list a:hover {
  text-decoration: underline;
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .page-fishing-games__hero-content {
    margin-top: -80px;
  }
  .page-fishing-games__main-title {
    font-size: clamp(1.8em, 5vw, 3em);
  }
  .page-fishing-games__section-title {
    font-size: clamp(1.6em, 4vw, 2.5em);
  }
}

@media (max-width: 768px) {
  /* Mobile specific styles */
  .page-fishing-games {
    font-size: 16px;
    line-height: 1.6;
  }

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

  .page-fishing-games__hero-content {
    margin-top: -60px;
    padding: 15px;
  }

  .page-fishing-games__main-title {
    font-size: clamp(1.5em, 6vw, 2.5em) !important;
  }

  .page-fishing-games__hero-description {
    font-size: 1em;
    margin-bottom: 20px;
  }

  .page-fishing-games__cta-button {
    padding: 12px 25px;
    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__section {
    padding: 40px 15px;
  }

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

  .page-fishing-games__section-title {
    font-size: clamp(1.4em, 5vw, 2em) !important;
    margin-bottom: 30px;
  }

  .page-fishing-games__text-block {
    font-size: 0.95em;
  }

  .page-fishing-games__feature-list, .page-fishing-games__steps-list, .page-fishing-games__promo-list {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  /* Image responsive adaptations */
  .page-fishing-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-fishing-games__image-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  /* Ensure no small icons by enforcing minimum content image size */
  .page-fishing-games__content-image {
    min-width: 200px !important;
    min-height: 200px !important;
  }
}

/* Color contrast safety checks */
/* Assuming body background is light, so text is dark */
.page-fishing-games p, .page-fishing-games li, .page-fishing-games__feature-description {
  color: var(--text-main); /* #1F2D3D on #F4F7FB or #FFFFFF */
}
.page-fishing-games__card, .page-fishing-games__feature-item, .page-fishing-games__step-item, .page-fishing-games__promo-item {
  background-color: var(--card-bg); /* #FFFFFF */
  color: var(--text-main); /* #1F2D3D */
}
.page-fishing-games__dark-section {
  background: var(--primary-color);
  color: #ffffff;
}
.page-fishing-games__btn-primary {
  background: var(--button-gradient);
  color: #ffffff;
}
.page-fishing-games__btn-secondary {
  background: #ffffff;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}