/* style/fishing-games.css */
:root {
  --primary-color: #007bff;
  --secondary-color: #28a745;
  --accent-color: #ffc107;
  --dark-bg-1: #0d0d0d; /* From shared.css, assuming a dark background */
  --text-color-light: #ffffff;
  --text-color-dark: #333333;
  --card-bg: #ffffff;
  --border-color: #e0e0e0;
  --shadow-color: rgba(0, 0, 0, 0.1);
}

.page-fishing-games {
  color: var(--text-color-light); /* Default to light text for dark body background */
  background-color: var(--dark-bg-1); /* Inherit from body, for context */
}

/* Ensure content is not hidden by fixed header */
.page-fishing-games__hero-sub-section {
  padding-top: 180px; /* Desktop: Adjust based on fixed header height */
}

/* HERO Sub-Section (Not the main HERO, but a banner for this page) */
.page-fishing-games__hero-sub-section {
  background: linear-gradient(135deg, var(--primary-color), #0056b3);
  color: var(--text-color-light);
  padding: 80px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 300px;
  position: relative;
  overflow: hidden;
}

.page-fishing-games__hero-sub-container {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.page-fishing-games__hero-sub-title {
  font-size: 42px;
  font-weight: bold;
  margin-bottom: 20px;
  line-height: 1.2;
  color: var(--text-color-light);
}

.page-fishing-games__hero-sub-description {
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 30px;
  color: var(--text-color-light);
  opacity: 0.9;
}

.page-fishing-games__hero-sub-cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: var(--accent-color);
  color: var(--text-color-dark);
  text-decoration: none;
  border-radius: 8px;
  font-size: 20px;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: none;
}

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

/* Brand Review Content Section (Adapted) */
.page-fishing-games__review-content-section {
  padding: 60px 20px;
  background: var(--dark-bg-1); /* Dark background for consistency */
  color: var(--text-color-light);
}

.page-fishing-games__review-content-container {
  max-width: 1200px;
  margin: 0 auto;
}

.page-fishing-games__review-content-card {
  background: rgba(255, 255, 255, 0.08); /* Slightly transparent white card on dark background */
  border-radius: 12px;
  box-shadow: 0 4px 20px var(--shadow-color);
  padding: 40px;
  color: var(--text-color-light);
}

.page-fishing-games__review-content-card h2 {
  font-size: 32px;
  font-weight: bold;
  color: var(--text-color-light);
  margin-bottom: 30px;
  text-align: center;
}

.page-fishing-games__review-content-card h3 {
  font-size: 24px;
  font-weight: bold;
  color: var(--accent-color);
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-fishing-games__review-body {
  line-height: 1.8;
}

.page-fishing-games__review-body p {
  margin-bottom: 18px;
  font-size: 17px;
  color: var(--text-color-light);
  opacity: 0.9;
}

.page-fishing-games__text-link {
  color: var(--secondary-color);
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-fishing-games__text-link:hover {
  color: var(--accent-color);
  text-decoration: underline;
}

/* Intro Section */
.page-fishing-games__intro-section {
  padding: 60px 20px;
  background: #f1f3f5; /* Lighter background for contrast */
  color: var(--text-color-dark);
}

.page-fishing-games__intro-container {
  max-width: 1200px;
  margin: 0 auto;
}

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

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

.page-fishing-games__intro-card {
  background: var(--card-bg);
  border-radius: 12px;
  box-shadow: 0 4px 15px var(--shadow-color);
  padding: 30px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s ease;
  color: var(--text-color-dark);
}

.page-fishing-games__intro-card:hover {
  transform: translateY(-5px);
}

.page-fishing-games__intro-image {
  width: 100%;
  max-width: 400px; /* Ensure images are not too small */
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
}

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

.page-fishing-games__intro-card p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-color-dark);
}

/* Games Section */
.page-fishing-games__games-section {
  padding: 60px 20px;
  background: var(--dark-bg-1);
  color: var(--text-color-light);
}

.page-fishing-games__games-container {
  max-width: 1200px;
  margin: 0 auto;
}

.page-fishing-games__games-title {
  font-size: 32px;
  font-weight: bold;
  color: var(--text-color-light);
  margin-bottom: 15px;
  text-align: center;
}

.page-fishing-games__games-subtitle {
  font-size: 18px;
  color: var(--text-color-light);
  opacity: 0.8;
  margin-bottom: 40px;
  text-align: center;
}

.page-fishing-games__game-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-bottom: 50px;
}

.page-fishing-games__game-item {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  padding: 25px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: var(--text-color-light);
}

.page-fishing-games__game-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-fishing-games__game-item-image {
  width: 100%;
  max-width: 300px; /* Ensure images are not too small */
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
}

.page-fishing-games__game-item-title {
  font-size: 22px;
  font-weight: bold;
  color: var(--accent-color);
  margin-bottom: 10px;
}

.page-fishing-games__game-item-description {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-color-light);
  opacity: 0.9;
  flex-grow: 1;
  margin-bottom: 20px;
}

.page-fishing-games__game-item-button {
  display: inline-block;
  padding: 12px 30px;
  background: var(--secondary-color);
  color: var(--text-color-light);
  text-decoration: none;
  border-radius: 8px;
  font-size: 17px;
  font-weight: bold;
  transition: all 0.3s ease;
  border: none;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.page-fishing-games__game-item-button:hover {
  background: #218838;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
}

.page-fishing-games__tips-section {
  background: rgba(255, 255, 255, 0.05); /* Slightly lighter background for tips */
  border-radius: 12px;
  padding: 30px 40px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-fishing-games__tips-title {
  font-size: 26px;
  font-weight: bold;
  color: var(--accent-color);
  margin-bottom: 25px;
  text-align: center;
}

.page-fishing-games__tips-list {
  list-style-type: disc;
  padding-left: 30px;
  font-size: 17px;
  line-height: 1.8;
  color: var(--text-color-light);
  opacity: 0.9;
}

.page-fishing-games__tips-list li {
  margin-bottom: 12px;
}

.page-fishing-games__tips-list strong {
  color: var(--text-color-light);
}

/* Promotions Section */
.page-fishing-games__promotions-section {
  padding: 60px 20px;
  background: #f1f3f5; /* Lighter background for contrast */
  color: var(--text-color-dark);
}

.page-fishing-games__promotions-container {
  max-width: 1200px;
  margin: 0 auto;
}

.page-fishing-games__promotions-title {
  font-size: 32px;
  font-weight: bold;
  color: var(--primary-color);
  margin-bottom: 15px;
  text-align: center;
}

.page-fishing-games__promotions-subtitle {
  font-size: 18px;
  color: var(--text-color-dark);
  opacity: 0.8;
  margin-bottom: 40px;
  text-align: center;
}

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

.page-fishing-games__promotion-card {
  background: var(--card-bg);
  border-radius: 12px;
  box-shadow: 0 4px 15px var(--shadow-color);
  padding: 30px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s ease;
  color: var(--text-color-dark);
}

.page-fishing-games__promotion-card:hover {
  transform: translateY(-5px);
}

.page-fishing-games__promotion-image {
  width: 100%;
  max-width: 400px; /* Ensure images are not too small */
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
}

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

.page-fishing-games__promotion-card p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-color-dark);
  flex-grow: 1;
  margin-bottom: 20px;
}

.page-fishing-games__promotion-button {
  display: inline-block;
  padding: 12px 30px;
  background: var(--primary-color);
  color: var(--text-color-light);
  text-decoration: none;
  border-radius: 8px;
  font-size: 17px;
  font-weight: bold;
  transition: all 0.3s ease;
  border: none;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.page-fishing-games__promotion-button:hover {
  background: #0056b3;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
}

/* FAQ Section */
.page-fishing-games__faq-section {
  padding: 60px 20px;
  background: var(--dark-bg-1);
  color: var(--text-color-light);
}

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

.page-fishing-games__faq-title {
  font-size: 32px;
  font-weight: bold;
  color: var(--text-color-light);
  margin-bottom: 40px;
  text-align: center;
}

.page-fishing-games__faq-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.page-fishing-games__faq-item {
  margin-bottom: 0;
  border-radius: 8px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-fishing-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
  color: var(--text-color-light);
}

.page-fishing-games__faq-question:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
}

.page-fishing-games__faq-question:active {
  background: rgba(255, 255, 255, 0.2);
}

.page-fishing-games__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  pointer-events: none;
  color: var(--text-color-light);
}

.page-fishing-games__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  line-height: 1;
  color: var(--accent-color);
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
}

.page-fishing-games__faq-item.active .page-fishing-games__faq-toggle {
  color: var(--secondary-color);
  transform: rotate(45deg); /* For '-' symbol rotation */
}

.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 25px;
  opacity: 0;
  color: var(--text-color-light);
  line-height: 1.7;
  font-size: 16px;
}

.page-fishing-games__faq-item.active .page-fishing-games__faq-answer {
  max-height: 2000px !important; /* Sufficiently large value */
  padding: 20px 25px !important;
  opacity: 1;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 0 0 8px 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Blog Section */
.page-fishing-games__blog-section {
  padding: 60px 20px;
  background: #f1f3f5; /* Lighter background for contrast */
  color: var(--text-color-dark);
}

.page-fishing-games__blog-container {
  max-width: 1200px;
  margin: 0 auto;
}

.page-fishing-games__blog-title {
  font-size: 32px;
  font-weight: bold;
  color: var(--primary-color);
  margin-bottom: 15px;
  text-align: center;
}

.page-fishing-games__blog-subtitle {
  font-size: 18px;
  color: var(--text-color-dark);
  opacity: 0.8;
  margin-bottom: 40px;
  text-align: center;
}

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

.page-fishing-games__blog-card {
  background: var(--card-bg);
  border-radius: 12px;
  box-shadow: 0 4px 15px var(--shadow-color);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease;
  color: var(--text-color-dark);
}

.page-fishing-games__blog-card:hover {
  transform: translateY(-5px);
}

.page-fishing-games__blog-image {
  width: 100%;
  height: 200px; /* Fixed height for consistent card appearance */
  object-fit: cover;
  display: block;
}

.page-fishing-games__blog-card h3 {
  font-size: 20px;
  font-weight: bold;
  color: var(--primary-color);
  padding: 20px 20px 10px;
  line-height: 1.4;
}

.page-fishing-games__blog-link {
  text-decoration: none;
  color: var(--primary-color);
  transition: color 0.3s ease;
}

.page-fishing-games__blog-link:hover {
  color: var(--secondary-color);
  text-decoration: underline;
}

.page-fishing-games__blog-excerpt {
  font-size: 15px;
  color: var(--text-color-dark);
  padding: 0 20px;
  line-height: 1.6;
  flex-grow: 1;
}

.page-fishing-games__blog-date {
  font-size: 14px;
  color: #6c757d;
  padding: 15px 20px 20px;
  display: block;
  margin-top: 10px;
}

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

.page-fishing-games__view-all-button {
  display: inline-block;
  padding: 15px 40px;
  background: var(--secondary-color);
  color: var(--text-color-light);
  text-decoration: none;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  transition: all 0.3s ease;
  border: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

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

/* Responsive Design */
@media (max-width: 1024px) {
  .page-fishing-games__hero-sub-title {
    font-size: 38px;
  }
  .page-fishing-games__hero-sub-description {
    font-size: 17px;
  }
  .page-fishing-games__hero-sub-cta-button {
    font-size: 18px;
    padding: 14px 35px;
  }
  .page-fishing-games__review-content-card h2,
  .page-fishing-games__intro-title,
  .page-fishing-games__games-title,
  .page-fishing-games__promotions-title,
  .page-fishing-games__faq-title,
  .page-fishing-games__blog-title {
    font-size: 28px;
  }
  .page-fishing-games__review-content-card h3 {
    font-size: 22px;
  }
  .page-fishing-games__review-body p,
  .page-fishing-games__intro-card p,
  .page-fishing-games__game-item-description,
  .page-fishing-games__tips-list,
  .page-fishing-games__promotions-subtitle,
  .page-fishing-games__promotion-card p,
  .page-fishing-games__faq-question h3,
  .page-fishing-games__faq-answer,
  .page-fishing-games__blog-excerpt {
    font-size: 16px;
  }
}

@media (max-width: 768px) {
  .page-fishing-games__hero-sub-section {
    padding-top: 160px !important; /* Mobile: Adjust based on mobile fixed header height */
    padding-bottom: 40px;
    min-height: 250px;
  }
  .page-fishing-games__hero-sub-title {
    font-size: 30px;
    margin-bottom: 15px;
  }
  .page-fishing-games__hero-sub-description {
    font-size: 15px;
    margin-bottom: 25px;
  }
  .page-fishing-games__hero-sub-cta-button {
    font-size: 16px;
    padding: 12px 30px;
  }

  .page-fishing-games__review-content-section,
  .page-fishing-games__intro-section,
  .page-fishing-games__games-section,
  .page-fishing-games__promotions-section,
  .page-fishing-games__faq-section,
  .page-fishing-games__blog-section {
    padding: 30px 15px;
  }

  .page-fishing-games__review-content-card,
  .page-fishing-games__intro-card,
  .page-fishing-games__game-item,
  .page-fishing-games__promotion-card,
  .page-fishing-games__blog-card {
    padding: 20px;
    border-radius: 8px;
  }

  .page-fishing-games__review-content-card h2,
  .page-fishing-games__intro-title,
  .page-fishing-games__games-title,
  .page-fishing-games__promotions-title,
  .page-fishing-games__faq-title,
  .page-fishing-games__blog-title {
    font-size: 24px;
    margin-bottom: 25px;
  }

  .page-fishing-games__review-content-card h3 {
    font-size: 20px;
    margin-top: 25px;
    margin-bottom: 10px;
  }
  .page-fishing-games__review-body p,
  .page-fishing-games__intro-card p,
  .page-fishing-games__game-item-description,
  .page-fishing-games__tips-list,
  .page-fishing-games__promotions-subtitle,
  .page-fishing-games__promotion-card p,
  .page-fishing-games__blog-excerpt {
    font-size: 15px;
    line-height: 1.6;
  }

  .page-fishing-games__game-card-grid,
  .page-fishing-games__promotion-grid,
  .page-fishing-games__blog-grid {
    gap: 20px;
  }

  .page-fishing-games__tips-section {
    padding: 25px 20px;
  }
  .page-fishing-games__tips-title {
    font-size: 22px;
    margin-bottom: 20px;
  }

  .page-fishing-games__game-item-button,
  .page-fishing-games__promotion-button,
  .page-fishing-games__view-all-button {
    font-size: 16px;
    padding: 10px 25px;
  }

  .page-fishing-games__faq-question {
    padding: 15px 20px;
  }
  .page-fishing-games__faq-question h3 {
    font-size: 16px;
  }
  .page-fishing-games__faq-toggle {
    font-size: 24px;
    width: 28px;
    height: 28px;
  }
  .page-fishing-games__faq-answer {
    padding: 0 20px;
    font-size: 15px;
  }
  .page-fishing-games__faq-item.active .page-fishing-games__faq-answer {
    padding: 15px 20px !important;
  }
  
  /* Force all images and their containers to be responsive */
  .page-fishing-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-fishing-games__hero-sub-container,
  .page-fishing-games__review-content-container,
  .page-fishing-games__intro-container,
  .page-fishing-games__games-container,
  .page-fishing-games__promotions-container,
  .page-fishing-games__faq-container,
  .page-fishing-games__blog-container,
  .page-fishing-games__review-content-card,
  .page-fishing-games__intro-card,
  .page-fishing-games__game-item,
  .page-fishing-games__promotion-card,
  .page-fishing-games__blog-card,
  .page-fishing-games__tips-section,
  .page-fishing-games__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 10px;
    padding-right: 10px;
  }
  .page-fishing-games__tips-list {
    padding-left: 20px;
  }
  .page-fishing-games__blog-image {
    height: 180px; /* Adjust height for mobile */
  }
}