.page-fishing-games {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: #0a0a0a; /* Body background from shared.css */
}

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

.page-fishing-games__section-title {
  font-size: 2.5em;
  color: #ffffff;
  text-align: center;
  margin-bottom: 20px;
  text-transform: uppercase;
  font-weight: bold;
}

.page-fishing-games__section-description {
  font-size: 1.1em;
  color: #f0f0f0;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
}

.page-fishing-games__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 70vh;
  text-align: center;
  color: #ffffff;
  overflow: hidden;
  padding: 60px 20px; /* Add some padding for smaller screens */
  padding-top: var(--header-offset, 120px); /* Ensure content is below header */
  box-sizing: border-box;
}

.page-fishing-games__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.page-fishing-games__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.5); /* Darken image for text readability */
}

.page-fishing-games__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 20px;
  background: rgba(0, 0, 0, 0.6); /* Semi-transparent background for text */
  border-radius: 10px;
}

.page-fishing-games__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #FFFF00; /* Register and Login font color for prominence */
  line-height: 1.2;
}

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

.page-fishing-games__hero-actions {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, color 0.3s ease;
  box-sizing: border-box;
  text-align: center;
}

.page-fishing-games__btn-primary {
  background-color: #C30808; /* Register/Login color */
  color: #FFFF00; /* Register/Login font color */
  border: 2px solid #C30808;
}

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

.page-fishing-games__btn-secondary {
  background-color: #017439; /* Primary brand color */
  color: #ffffff;
  border: 2px solid #017439;
}

.page-fishing-games__btn-secondary:hover {
  background-color: #005a2d;
  border-color: #005a2d;
}

.page-fishing-games__about-section,
.page-fishing-games__types-section,
.page-fishing-games__strategy-section,
.page-fishing-games__jackpot-connection-section,
.page-fishing-games__promotions-section,
.page-fishing-games__safety-section,
.page-fishing-games__faq-section,
.page-fishing-games__cta-final-section {
  padding: 80px 0;
}

.page-fishing-games__dark-section {
  background-color: #1a1a1a; /* Slightly lighter dark for contrast */
}

.page-fishing-games__image-and-text-grid {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-top: 40px;
}

.page-fishing-games__image-and-text-grid--reverse {
  flex-direction: row-reverse;
}

.page-fishing-games__image-grid-item {
  flex: 1;
  max-width: 50%;
  border-radius: 10px;
  object-fit: cover;
  display: block;
}

.page-fishing-games__text-grid-item {
  flex: 1;
  max-width: 50%;
  color: #f0f0f0;
}

.page-fishing-games__text-grid-item h3 {
  font-size: 1.8em;
  color: #017439;
  margin-bottom: 15px;
}

.page-fishing-games__text-grid-item ul {
  list-style: none;
  padding-left: 0;
}

.page-fishing-games__text-grid-item li {
  margin-bottom: 10px;
  padding-left: 25px;
  position: relative;
}

.page-fishing-games__text-grid-item li::before {
  content: '✅';
  position: absolute;
  left: 0;
  color: #FFFF00; /* Use highlight color for checkmarks */
}

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

.page-fishing-games__card,
.page-fishing-games__promo-card {
  background-color: rgba(255, 255, 255, 0.1); /* Light transparent background */
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  color: #ffffff;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-fishing-games__card-image,
.page-fishing-games__promo-card-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block; /* Ensure block-level for max-width to work */
  margin-left: auto; /* Center image */
  margin-right: auto; /* Center image */
}

.page-fishing-games__card-title,
.page-fishing-games__promo-card-title {
  font-size: 1.5em;
  color: #FFFF00; /* Highlight important titles */
  margin-bottom: 15px;
}

.page-fishing-games__card-text,
.page-fishing-games__promo-card-text {
  font-size: 1em;
  color: #f0f0f0;
  flex-grow: 1;
  margin-bottom: 20px;
}

.page-fishing-games__cta-card {
  display: flex;
  background-color: rgba(1, 116, 57, 0.9); /* Primary color with transparency */
  border-radius: 10px;
  padding: 40px;
  margin-top: 50px;
  align-items: center;
  gap: 40px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.page-fishing-games__cta-card-image {
  max-width: 40%;
  border-radius: 8px;
  object-fit: cover;
  display: block;
}

.page-fishing-games__cta-card-content {
  flex: 1;
  color: #ffffff;
}

.page-fishing-games__cta-card-content h3 {
  font-size: 2em;
  color: #FFFF00;
  margin-bottom: 15px;
}

.page-fishing-games__cta-card-content p {
  font-size: 1.1em;
  margin-bottom: 25px;
}

.page-fishing-games__cta-banner {
  background-color: #C30808; /* Register/Login color for CTA */
  color: #FFFF00;
  border-radius: 10px;
  padding: 40px;
  text-align: center;
  margin-top: 60px;
}

.page-fishing-games__cta-banner-title {
  font-size: 2.2em;
  margin-bottom: 15px;
  color: #FFFF00;
}

.page-fishing-games__cta-banner-text {
  font-size: 1.1em;
  margin-bottom: 30px;
  color: #f0f0f0;
}

.page-fishing-games__safety-features {
  display: flex;
  justify-content: space-around;
  gap: 30px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.page-fishing-games__feature-item {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  flex: 1;
  min-width: 280px;
  max-width: 350px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-fishing-games__feature-icon {
  width: 80px;
  height: 80px;
  margin-bottom: 20px;
  object-fit: contain;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-fishing-games__feature-item h3 {
  font-size: 1.4em;
  color: #FFFF00;
  margin-bottom: 10px;
}

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

.page-fishing-games__faq-list {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-fishing-games__faq-item {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-fishing-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: bold;
  color: #ffffff;
  cursor: pointer;
  background-color: #017439;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: background-color 0.3s ease;
  list-style: none; /* For details/summary */
}

.page-fishing-games__faq-question::-webkit-details-marker {
  display: none;
}

.page-fishing-games__faq-question:hover {
  background-color: #005a2d;
}

.page-fishing-games__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
}

.page-fishing-games__faq-answer {
  padding: 20px 25px;
  font-size: 1em;
  color: #f0f0f0;
  background-color: rgba(255, 255, 255, 0.05);
}

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

.page-fishing-games__cta-final-section {
  text-align: center;
  background-color: #017439;
  color: #ffffff;
  padding: 100px 20px;
}

.page-fishing-games__cta-final-section .page-fishing-games__section-title {
  color: #FFFF00;
}

.page-fishing-games__cta-final-section .page-fishing-games__section-description {
  color: #f0f0f0;
}

.page-fishing-games__cta-actions {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 40px;
  flex-wrap: wrap;
}

/* General image responsiveness */
.page-fishing-games img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Media Queries for Responsiveness */
@media (max-width: 1024px) {
  .page-fishing-games__hero-title {
    font-size: 2.8em;
  }
  .page-fishing-games__section-title {
    font-size: 2em;
  }
  .page-fishing-games__image-and-text-grid {
    flex-direction: column;
  }
  .page-fishing-games__image-grid-item,
  .page-fishing-games__text-grid-item {
    max-width: 100%;
  }
  .page-fishing-games__cta-card {
    flex-direction: column;
    text-align: center;
  }
  .page-fishing-games__cta-card-image {
    max-width: 60%;
  }
}

@media (max-width: 768px) {
  .page-fishing-games {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-fishing-games__hero-section {
    min-height: 80vh;
  }
  .page-fishing-games__hero-title {
    font-size: 2.2em;
  }
  .page-fishing-games__hero-description {
    font-size: 1em;
  }
  .page-fishing-games__hero-actions {
    flex-direction: column;
    gap: 15px;
  }
  .page-fishing-games__btn-primary,
  .page-fishing-games__btn-secondary {
    width: 100%;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-fishing-games__section-title {
    font-size: 1.8em;
  }
  .page-fishing-games__section-description {
    font-size: 0.95em;
  }
  .page-fishing-games__about-section,
  .page-fishing-games__types-section,
  .page-fishing-games__strategy-section,
  .page-fishing-games__jackpot-connection-section,
  .page-fishing-games__promotions-section,
  .page-fishing-games__safety-section,
  .page-fishing-games__faq-section,
  .page-fishing-games__cta-final-section {
    padding: 60px 0;
  }
  .page-fishing-games__container {
    padding: 0 15px;
  }

  /* Image responsiveness */
  .page-fishing-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-fishing-games__image-grid-item,
  .page-fishing-games__cta-card-image,
  .page-fishing-games__card-image,
  .page-fishing-games__promo-card-image,
  .page-fishing-games__feature-icon {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-fishing-games__grid {
    grid-template-columns: 1fr;
  }
  .page-fishing-games__cta-card {
    padding: 30px;
  }
  .page-fishing-games__cta-card-image {
    max-width: 80%;
  }
  .page-fishing-games__cta-card-content h3 {
    font-size: 1.6em;
  }
  .page-fishing-games__cta-banner {
    padding: 30px;
  }
  .page-fishing-games__cta-banner-title {
    font-size: 1.8em;
  }
  .page-fishing-games__safety-features {
    flex-direction: column;
    gap: 20px;
  }
  .page-fishing-games__feature-item {
    max-width: 100%;
    min-width: unset;
  }
  .page-fishing-games__faq-question {
    font-size: 1.1em;
    padding: 15px 20px;
  }
  .page-fishing-games__faq-answer {
    padding: 15px 20px;
  }
  .page-fishing-games__cta-actions {
    flex-direction: column;
    gap: 15px;
  }
}

@media (max-width: 480px) {
  .page-fishing-games__hero-title {
    font-size: 1.8em;
  }
  .page-fishing-games__section-title {
    font-size: 1.5em;
  }
  .page-fishing-games__hero-content {
    padding: 15px;
  }
  .page-fishing-games__hero-description {
    font-size: 0.9em;
  }
}