:root {
  --primary-color: #0056B3;
  --secondary-color: #FFD700;
  --dark-text-color: #333333;
  --light-text-color: #ffffff;
  --light-bg-color: #f8f8f8; /* Light background for sections */
  --card-bg-color: #ffffff; /* White background for cards */
  --border-color: #e0e0e0;
  --shadow-light: 0 2px 8px rgba(0, 0, 0, 0.1);
  --shadow-medium: 0 4px 12px rgba(0, 0, 0, 0.15);
  --shadow-strong: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.page-fishing-games {
  padding-top: 120px; /* Desktop padding for fixed header */
  font-family: 'Arial', sans-serif;
  color: var(--dark-text-color); /* Default text color for light sections */
  line-height: 1.6;
  background-color: var(--light-bg-color); /* Ensure a light background for the page content */
}

@media (max-width: 768px) {
  .page-fishing-games {
    padding-top: 100px; /* Mobile padding for fixed header */
  }
}

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

/* --- General Headings & Text --- */
.page-fishing-games__heading-primary {
  font-size: 38px;
  font-weight: bold;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 30px;
  line-height: 1.2;
}

.page-fishing-games__heading-secondary {
  font-size: 32px;
  font-weight: bold;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 30px;
  line-height: 1.3;
}

.page-fishing-games__heading-tertiary {
  font-size: 24px;
  font-weight: bold;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.page-fishing-games__text-block {
  font-size: 16px;
  margin-bottom: 20px;
  color: var(--dark-text-color);
}

.page-fishing-games__highlight-text {
  font-weight: bold;
  color: var(--primary-color);
}

/* --- CTA Buttons --- */
.page-fishing-games__cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  text-decoration: none;
  text-align: center;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  box-shadow: var(--shadow-medium);
}

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

.page-fishing-games__cta-button--primary:hover {
  background: #004085; /* Darker primary */
  transform: translateY(-2px);
  box-shadow: var(--shadow-strong);
}

.page-fishing-games__cta-button--secondary {
  background: var(--secondary-color);
  color: var(--dark-text-color);
}

.page-fishing-games__cta-button--secondary:hover {
  background: #e6b800; /* Darker secondary */
  transform: translateY(-2px);
  box-shadow: var(--shadow-strong);
}

/* --- Sections --- */
.page-fishing-games__intro-section {
  background: var(--light-bg-color); /* Light background for contrast */
  padding: 60px 0;
  text-align: center;
}
.page-fishing-games__intro-section .page-fishing-games__cta-button {
  margin-top: 30px;
}

.page-fishing-games__game-types-section {
  background: var(--primary-color); /* Dark background */
  padding: 60px 0;
  color: var(--light-text-color); /* Light text */
}

.page-fishing-games__game-types-section .page-fishing-games__heading-secondary {
  color: var(--light-text-color); /* Ensure heading is light */
}

.page-fishing-games__game-types-section .page-fishing-games__highlight-text {
  color: var(--secondary-color); /* Highlight text in secondary color */
}

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

.page-fishing-games__game-card {
  background: var(--card-bg-color);
  border-radius: 10px;
  box-shadow: var(--shadow-light);
  padding: 30px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-fishing-games__game-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-medium);
}

.page-fishing-games__game-card-image {
  width: 100%;
  max-width: 400px; /* Ensure images are not too small or too large */
  height: auto;
  min-height: 200px; /* Minimum height for content images */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-fishing-games__game-card-title {
  font-size: 22px;
  font-weight: bold;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.page-fishing-games__game-card-description {
  font-size: 15px;
  color: var(--dark-text-color);
  margin-bottom: 20px;
  flex-grow: 1; /* Allow description to take available space */
}

.page-fishing-games__promotions-section {
  background: var(--light-bg-color); /* Light background for contrast */
  padding: 60px 0;
  text-align: center;
}

.page-fishing-games__promotion-banner {
  width: 100%;
  max-width: 800px;
  height: auto;
  min-height: 250px; /* Minimum height for banner image */
  object-fit: cover;
  border-radius: 10px;
  margin: 30px auto;
  display: block;
  box-shadow: var(--shadow-light);
}

.page-fishing-games__promotion-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
  text-align: left;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
}

.page-fishing-games__promotion-item {
  background: var(--card-bg-color);
  border-radius: 10px;
  box-shadow: var(--shadow-light);
  padding: 25px;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-fishing-games__promotion-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-medium);
}

.page-fishing-games__promotion-title {
  font-size: 20px;
  font-weight: bold;
  color: var(--primary-color);
  margin-bottom: 10px;
}

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

.page-fishing-games__promotion-link {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: bold;
  margin-top: auto; /* Push link to bottom */
}

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

.page-fishing-games__promotions-section .page-fishing-games__cta-button {
  margin-top: 40px;
}

.page-fishing-games__news-section {
  background: var(--light-bg-color); /* Light background for contrast */
  padding: 60px 0;
}

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

.page-fishing-games__article-card {
  background: var(--card-bg-color);
  border-radius: 10px;
  box-shadow: var(--shadow-light);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-fishing-games__article-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-medium);
}

.page-fishing-games__article-image {
  width: 100%;
  height: 220px; /* Fixed height for consistent look */
  min-height: 200px; /* Ensure minimum size */
  object-fit: cover;
  border-radius: 10px 10px 0 0;
}

.page-fishing-games__article-card h3 {
  padding: 20px 20px 0;
}

.page-fishing-games__article-title {
  font-size: 20px;
  font-weight: bold;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.page-fishing-games__article-title a {
  color: var(--primary-color);
  text-decoration: none;
}

.page-fishing-games__article-title a:hover {
  text-decoration: underline;
}

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

.page-fishing-games__article-readmore {
  display: inline-block;
  color: var(--primary-color);
  text-decoration: none;
  font-weight: bold;
  padding: 0 20px 20px;
  margin-top: auto; /* Push link to bottom */
}

.page-fishing-games__article-readmore:hover {
  text-decoration: underline;
}

.page-fishing-games__view-all-button-wrapper {
  text-align: center;
  margin-top: 50px;
}

/* --- FAQ Section --- */
.page-fishing-games__faq-section {
  background: var(--light-bg-color); /* Light background for contrast */
  padding: 60px 0;
}

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

.page-fishing-games__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  overflow: hidden;
  box-shadow: var(--shadow-light);
}

.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;
}

.page-fishing-games__faq-item.active .page-fishing-games__faq-answer {
  max-height: 2000px !important; /* Important to override initial max-height */
  padding: 20px 15px !important;
  opacity: 1;
  background: #f9f9f9;
  border-radius: 0 0 5px 5px;
}

.page-fishing-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: var(--card-bg-color);
  border: 1px solid var(--border-color);
  border-radius: 5px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.page-fishing-games__faq-question:hover {
  background: #f5f5f5;
  border-color: #d0d0d0;
}

.page-fishing-games__faq-question:active {
  background: #eeeeee;
}

.page-fishing-games__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  pointer-events: none; /* Allow click on parent div */
  color: var(--dark-text-color);
}

.page-fishing-games__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  line-height: 1;
  color: #666;
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
  pointer-events: none; /* Allow click on parent div */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
}

.page-fishing-games__faq-item.active .page-fishing-games__faq-toggle {
  color: var(--primary-color); /* Change color when active */
  transform: rotate(45deg); /* Rotate to form an 'X' or similar */
}

/* --- Responsive Design --- */
@media (max-width: 992px) {
  .page-fishing-games__heading-primary {
    font-size: 32px;
  }
  .page-fishing-games__heading-secondary {
    font-size: 28px;
  }
  .page-fishing-games__game-cards,
  .page-fishing-games__article-grid,
  .page-fishing-games__promotion-list {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
  }
  .page-fishing-games__game-card-image {
    max-width: 300px;
  }
}

@media (max-width: 768px) {
  .page-fishing-games__container {
    padding: 0 15px;
  }
  .page-fishing-games__heading-primary {
    font-size: 28px;
  }
  .page-fishing-games__heading-secondary {
    font-size: 24px;
  }
  .page-fishing-games__text-block,
  .page-fishing-games__game-card-description,
  .page-fishing-games__promotion-item p,
  .page-fishing-games__article-excerpt {
    font-size: 15px;
  }
  .page-fishing-games__cta-button {
    padding: 12px 25px;
    font-size: 16px;
  }
  .page-fishing-games__intro-section,
  .page-fishing-games__game-types-section,
  .page-fishing-games__promotions-section,
  .page-fishing-games__news-section,
  .page-fishing-games__faq-section {
    padding: 40px 0;
  }
  .page-fishing-games__game-cards,
  .page-fishing-games__article-grid,
  .page-fishing-games__promotion-list {
    gap: 20px;
  }
  .page-fishing-games__game-card-image {
    max-width: 100%; /* Allow full width on mobile */
  }
  .page-fishing-games__faq-question {
    padding: 15px;
  }
  .page-fishing-games__faq-question h3 {
    font-size: 15px;
  }
  .page-fishing-games__faq-toggle {
    width: 24px;
    height: 24px;
    font-size: 20px;
  }
  .page-fishing-games__faq-item.active .page-fishing-games__faq-answer {
    padding: 15px !important;
  }
}