.page-fishing-games {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light body background */
  background-color: var(--secondary-color, #FFFFFF); /* Assuming --secondary-color is light */
}

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

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

.page-fishing-games__section-title {
  font-size: clamp(28px, 4vw, 42px);
  color: #017439;
  text-align: center;
  margin-bottom: 40px;
  font-weight: 700;
  line-height: 1.2;
}

.page-fishing-games p {
  margin-bottom: 15px;
  font-size: 17px;
}

.page-fishing-games .highlight {
  color: #017439;
  font-weight: bold;
}

/* 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: 10px; /* Small top padding, body handles header offset */
  background-color: #f0f0f0; /* Light background for the section */
}

.page-fishing-games__hero-container {
  position: relative;
  max-width: 1200px;
  width: 100%;
  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: 12px;
  object-fit: cover;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

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

.page-fishing-games__hero-content h1 {
  font-size: clamp(32px, 5vw, 56px);
  color: #017439;
  margin-bottom: 20px;
  font-weight: 800;
  line-height: 1.1;
  max-width: 800px; /* Constrain H1 width */
  margin-left: auto;
  margin-right: auto;
}

.page-fishing-games__hero-content p {
  font-size: 19px;
  color: #555555;
  max-width: 700px;
  margin: 0 auto 30px auto;
}

.page-fishing-games__cta-button {
  display: inline-block;
  padding: 18px 45px;
  background: #C30808; /* Register/Login color */
  color: #FFFF00; /* Register/Login font color */
  text-decoration: none;
  border-radius: 8px;
  font-size: 20px;
  font-weight: bold;
  margin-top: 20px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: none;
}

.page-fishing-games__cta-button:hover {
  background: #E00A0A;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Color Contrast */
.page-fishing-games__light-bg {
  background-color: #FFFFFF;
  color: #333333;
}

.page-fishing-games__dark-bg {
  background-color: #017439;
  color: #ffffff;
}

.page-fishing-games__dark-bg .page-fishing-games__section-title {
  color: #ffffff;
}

.page-fishing-games__dark-bg .highlight {
  color: #FFFF00;
}

.page-fishing-games__dark-bg .page-fishing-games__cta-button--dark-bg {
  background: #FFFF00; /* Login/Register font color for dark bg CTA */
  color: #017439; /* Primary color for text on yellow background */
  box-shadow: 0 4px 15px rgba(255, 255, 0, 0.4);
}

.page-fishing-games__dark-bg .page-fishing-games__cta-button--dark-bg:hover {
  background: #FFFFA0;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(255, 255, 0, 0.6);
}

/* Image Styling */
.page-fishing-games__image {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  margin-bottom: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.page-fishing-games__image--center {
  margin-left: auto;
  margin-right: auto;
}

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

.page-fishing-games__feature-item,
.page-fishing-games__game-card,
.page-fishing-games__promo-card,
.page-fishing-games__info-item,
.page-fishing-games__blog-card {
  background: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-fishing-games__light-bg .page-fishing-games__feature-item,
.page-fishing-games__light-bg .page-fishing-games__game-card,
.page-fishing-games__light-bg .page-fishing-games__promo-card,
.page-fishing-games__light-bg .page-fishing-games__info-item,
.page-fishing-games__light-bg .page-fishing-games__blog-card {
  background: #f9f9f9;
  border: 1px solid #e0e0e0;
}

.page-fishing-games__dark-bg .page-fishing-games__feature-item,
.page-fishing-games__dark-bg .page-fishing-games__promo-card,
.page-fishing-games__dark-bg .page-fishing-games__info-item,
.page-fishing-games__dark-bg .page-fishing-games__blog-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.page-fishing-games__feature-item:hover,
.page-fishing-games__game-card:hover,
.page-fishing-games__promo-card:hover,
.page-fishing-games__info-item:hover,
.page-fishing-games__blog-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.page-fishing-games__feature-item h3,
.page-fishing-games__game-card h3,
.page-fishing-games__promo-card h3,
.page-fishing-games__info-item h3,
.page-fishing-games__blog-card h3 {
  font-size: 24px;
  margin-top: 15px;
  margin-bottom: 10px;
  font-weight: 700;
  line-height: 1.3;
  color: #017439;
}

.page-fishing-games__dark-bg .page-fishing-games__feature-item h3,
.page-fishing-games__dark-bg .page-fishing-games__promo-card h3,
.page-fishing-games__dark-bg .page-fishing-games__info-item h3,
.page-fishing-games__dark-bg .page-fishing-games__blog-card h3 {
  color: #ffffff;
}

.page-fishing-games__game-card img,
.page-fishing-games__promo-card img,
.page-fishing-games__blog-card img {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.page-fishing-games__blog-card h3 a {
  color: #017439;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-fishing-games__blog-card h3 a:hover {
  color: #005f2e;
}

.page-fishing-games__dark-bg .page-fishing-games__blog-card h3 a {
  color: #ffffff;
}

.page-fishing-games__dark-bg .page-fishing-games__blog-card h3 a:hover {
  color: #FFFF00;
}

.page-fishing-games__blog-card time {
  display: block;
  font-size: 14px;
  color: #888;
  margin-top: 10px;
}

.page-fishing-games__dark-bg .page-fishing-games__blog-card time {
  color: #ccc;
}

/* Guide List */
.page-fishing-games__guide-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
}

.page-fishing-games__guide-list li {
  background: #f0f8ff;
  border-left: 5px solid #017439;
  padding: 20px 25px;
  margin-bottom: 15px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-fishing-games__guide-list li h3 {
  font-size: 20px;
  color: #017439;
  margin-top: 0;
  margin-bottom: 10px;
}

.page-fishing-games__guide-list li p {
  font-size: 16px;
  margin-bottom: 0;
}

/* FAQ Section */
details.page-fishing-games__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  border: 1px solid #e0e0e0;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

details.page-fishing-games__faq-item summary.page-fishing-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
}

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

details.page-fishing-games__faq-item summary.page-fishing-games__faq-question:hover {
  background: #f5f5f5;
}

.page-fishing-games__faq-qtext {
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #333333;
}

.page-fishing-games__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  color: #017439;
  flex-shrink: 0;
  margin-left: 20px;
  width: 30px;
  text-align: center;
}

details.page-fishing-games__faq-item .page-fishing-games__faq-answer {
  padding: 0 25px 20px;
  background: #f9f9f9;
  border-radius: 0 0 8px 8px;
}

details.page-fishing-games__faq-item .page-fishing-games__faq-answer p {
  font-size: 16px;
  color: #555555;
  margin-bottom: 0;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-fishing-games__features-grid,
  .page-fishing-games__game-grid,
  .page-fishing-games__promo-grid,
  .page-fishing-games__info-grid,
  .page-fishing-games__blog-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
  }
  .page-fishing-games__section {
    padding: 50px 0;
  }
  .page-fishing-games__section-title {
    font-size: clamp(26px, 4.5vw, 38px);
    margin-bottom: 30px;
  }
  .page-fishing-games__hero-content h1 {
    font-size: clamp(28px, 6vw, 48px);
  }
  .page-fishing-games__hero-content p {
    font-size: 17px;
  }
  .page-fishing-games__cta-button {
    padding: 15px 35px;
    font-size: 18px;
  }
  .page-fishing-games__game-card img,
  .page-fishing-games__promo-card img,
  .page-fishing-games__blog-card img {
    
  }
  .page-fishing-games__feature-item h3,
  .page-fishing-games__game-card h3,
  .page-fishing-games__promo-card h3,
  .page-fishing-games__info-item h3,
  .page-fishing-games__blog-card h3 {
    font-size: 22px;
  }
  details.page-fishing-games__faq-item summary.page-fishing-games__faq-question {
    padding: 16px 20px;
  }
  .page-fishing-games__faq-qtext {
    font-size: 17px;
  }
  .page-fishing-games__faq-toggle {
    font-size: 24px;
  }
}

@media (max-width: 768px) {
  .page-fishing-games__section {
    padding: 40px 0;
  }
  .page-fishing-games__container {
    padding: 0 15px;
  }
  .page-fishing-games__section-title {
    font-size: clamp(24px, 6vw, 32px);
    margin-bottom: 25px;
  }
  .page-fishing-games__hero-section {
    padding-top: 10px !important;
    padding-bottom: 30px;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-fishing-games__hero-image img {
    border-radius: 8px;
  }
  .page-fishing-games__hero-content h1 {
    font-size: clamp(26px, 7vw, 38px);
    margin-bottom: 15px;
  }
  .page-fishing-games__hero-content p {
    font-size: 16px;
    margin-bottom: 20px;
  }
  .page-fishing-games__cta-button {
    padding: 14px 30px;
    font-size: 17px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-fishing-games__cta-buttons,
  .page-fishing-games__button-group,
  .page-fishing-games__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
  }
  .page-fishing-games__image,
  .page-fishing-games__game-card img,
  .page-fishing-games__promo-card img,
  .page-fishing-games__blog-card img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    object-fit: cover;
  }
  .page-fishing-games__game-card img,
  .page-fishing-games__promo-card img,
  .page-fishing-games__blog-card img {
     /* Adjust height for mobile cards */
  }
  .page-fishing-games__features-grid,
  .page-fishing-games__game-grid,
  .page-fishing-games__promo-grid,
  .page-fishing-games__info-grid,
  .page-fishing-games__blog-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-fishing-games__feature-item,
  .page-fishing-games__game-card,
  .page-fishing-games__promo-card,
  .page-fishing-games__info-item,
  .page-fishing-games__blog-card {
    padding: 25px;
  }
  .page-fishing-games__feature-item h3,
  .page-fishing-games__game-card h3,
  .page-fishing-games__promo-card h3,
  .page-fishing-games__info-item h3,
  .page-fishing-games__blog-card h3 {
    font-size: 20px;
  }
  .page-fishing-games p,
  .page-fishing-games__guide-list li p,
  details.page-fishing-games__faq-item .page-fishing-games__faq-answer p {
    font-size: 15px;
  }
  .page-fishing-games__guide-list li {
    padding: 18px 20px;
  }
  .page-fishing-games__guide-list li h3 {
    font-size: 18px;
  }
  details.page-fishing-games__faq-item summary.page-fishing-games__faq-question {
    padding: 15px 18px;
  }
  .page-fishing-games__faq-qtext {
    font-size: 16px;
  }
  .page-fishing-games__faq-toggle {
    font-size: 24px;
    width: 25px;
  }
  details.page-fishing-games__faq-item .page-fishing-games__faq-answer {
    padding: 0 18px 15px;
  }
}

@media (max-width: 480px) {
  .page-fishing-games__hero-content h1 {
    font-size: clamp(24px, 8vw, 32px);
  }
  .page-fishing-games__hero-content p {
    font-size: 15px;
  }
  .page-fishing-games__cta-button {
    padding: 12px 25px;
    font-size: 16px;
  }
  .page-fishing-games__section-title {
    font-size: clamp(22px, 7vw, 28px);
  }
  .page-fishing-games__feature-item h3,
  .page-fishing-games__game-card h3,
  .page-fishing-games__promo-card h3,
  .page-fishing-games__info-item h3,
  .page-fishing-games__blog-card h3 {
    font-size: 18px;
  }
  .page-fishing-games p,
  .page-fishing-games__guide-list li p,
  details.page-fishing-games__faq-item .page-fishing-games__faq-answer p {
    font-size: 14px;
  }
  .page-fishing-games__game-card img,
  .page-fishing-games__promo-card img,
  .page-fishing-games__blog-card img {
    
  }
}