/* style/fishing-games.css */

:root {
  --primary-color: #0A192F;
  --secondary-color: #FFD700;
  --text-light: #ffffff;
  --text-dark: #333333;
  --bg-light: #f8f9fa;
  --bg-dark: #0A192F;
  --border-color: #e0e0e0;
}

.page-fishing-games {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-light); /* Body background is dark, so use light text */
  background-color: var(--primary-color);
  padding-top: 120px; /* Adjust for fixed header */
}

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

.page-fishing-games__section-title {
  font-size: 36px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 40px;
  color: inherit; /* Inherit color from parent section */
}

/* --- Hero Section --- */
.page-fishing-games__hero-section {
  padding: 80px 20px;
  text-align: center;
  background-color: var(--bg-dark);
  color: var(--text-light);
}

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

.page-fishing-games__main-title {
  font-size: 48px;
  color: var(--secondary-color);
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-fishing-games__hero-description {
  font-size: 18px;
  margin-bottom: 40px;
  color: var(--text-light);
}

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

.page-fishing-games__cta-button {
  display: inline-block;
  padding: 15px 40px;
  text-decoration: none;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  border: none;
  cursor: pointer;
  white-space: normal;
  word-wrap: break-word;
}

.page-fishing-games__btn-primary {
  background: var(--secondary-color);
  color: var(--primary-color);
}

.page-fishing-games__btn-primary:hover {
  background: darken(var(--secondary-color), 10%); /* Placeholder for darken function */
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.page-fishing-games__btn-secondary {
  background: transparent;
  color: var(--secondary-color);
  border: 2px solid var(--secondary-color);
}

.page-fishing-games__btn-secondary:hover {
  background: var(--secondary-color);
  color: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

/* --- General Section Styles --- */
.page-fishing-games__introduction-section,
.page-fishing-games__guide-section,
.page-fishing-games__promotions-section,
.page-fishing-games__faq-section,
.page-fishing-games__blog-section {
  padding: 60px 0;
  background-color: var(--bg-light);
  color: var(--text-dark);
}

.page-fishing-games__advantages-section,
.page-fishing-games__games-showcase-section,
.page-fishing-games__brand-section {
  padding: 60px 0;
  background-color: var(--bg-dark);
  color: var(--text-light);
}

.page-fishing-games__image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

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

.page-fishing-games__game-item {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  overflow: hidden;
  text-align: center;
  padding: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.page-fishing-games__game-item:hover {
  transform: translateY(-5px);
}

.page-fishing-games__game-image {
  max-width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
}

.page-fishing-games__game-title {
  font-size: 24px;
  color: var(--secondary-color);
  margin-bottom: 10px;
}

.page-fishing-games__game-description {
  font-size: 16px;
  color: var(--text-light);
  flex-grow: 1;
}

/* --- Guide Section --- */
.page-fishing-games__guide-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-fishing-games__guide-item {
  background: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.page-fishing-games__guide-item:hover {
  transform: translateY(-5px);
}

.page-fishing-games__guide-step-title {
  font-size: 22px;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.page-fishing-games__guide-item p {
  color: var(--text-dark);
  flex-grow: 1;
}

/* --- Advantages Section --- */
.page-fishing-games__advantage-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-fishing-games__advantage-item {
  text-align: center;
  background: rgba(255, 255, 255, 0.05);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-fishing-games__advantage-icon {
  width: 80px;
  height: 80px;
  object-fit: contain;
  margin-bottom: 20px;
  filter: drop-shadow(0 0 5px var(--secondary-color)); /* Allowed for visual effect, not color change */
}

.page-fishing-games__advantage-title {
  font-size: 22px;
  color: var(--secondary-color);
  margin-bottom: 10px;
}

.page-fishing-games__advantage-item p {
  color: var(--text-light);
  flex-grow: 1;
}

/* --- Promotions Section --- */
.page-fishing-games__promo-list {
  list-style: disc inside;
  margin-left: 20px;
  margin-bottom: 30px;
  font-size: 17px;
  color: var(--text-dark);
}

.page-fishing-games__promo-list li {
  margin-bottom: 10px;
}

.page-fishing-games__promo-list strong {
  color: var(--primary-color);
}

.page-fishing-games__promo-cta {
  text-align: center;
  margin-top: 40px;
}

/* --- FAQ Section --- */
.page-fishing-games__faq-list {
  margin-top: 40px;
}

.page-fishing-games__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  overflow: hidden;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.page-fishing-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: #fff;
  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: var(--bg-light);
  border-color: #d0d0d0;
}

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

.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;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
}

.page-fishing-games__faq-item.active .page-fishing-games__faq-toggle {
  transform: rotate(45deg);
  color: var(--secondary-color);
}

.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; /* Ensure enough height for content */
  padding: 20px 15px !important;
  opacity: 1;
  background: #f9f9f9;
  border-radius: 0 0 5px 5px;
  color: var(--text-dark);
}

.page-fishing-games__faq-item.active .page-fishing-games__faq-question {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  border-color: #d0d0d0;
}

/* --- Brand Section --- */
.page-fishing-games__brand-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-fishing-games__brand-item {
  background: rgba(255, 255, 255, 0.05);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.page-fishing-games__brand-item-title {
  font-size: 22px;
  color: var(--secondary-color);
  margin-bottom: 15px;
}

.page-fishing-games__brand-item p {
  color: var(--text-light);
  flex-grow: 1;
}

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

.page-fishing-games__blog-item {
  background: #ffffff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

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

.page-fishing-games__blog-item-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.page-fishing-games__blog-link {
  display: flex;
  flex-direction: column;
  padding: 20px;
  text-decoration: none;
  color: var(--text-dark);
  flex-grow: 1;
}

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

.page-fishing-games__blog-item-excerpt {
  font-size: 15px;
  color: #555;
  margin-bottom: 15px;
  flex-grow: 1;
}

.page-fishing-games__blog-item-date {
  font-size: 14px;
  color: #888;
  text-align: right;
}

/* --- Responsive Design --- */
@media (max-width: 992px) {
  .page-fishing-games__main-title {
    font-size: 40px;
  }

  .page-fishing-games__section-title {
    font-size: 30px;
  }

  .page-fishing-games__game-image {
    height: 180px;
  }
}

@media (max-width: 768px) {
  .page-fishing-games {
    padding-top: 100px !important; /* Mobile fixed header adjustment */
    font-size: 16px;
    line-height: 1.6;
  }

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

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

  .page-fishing-games__main-title {
    font-size: 32px;
  }

  .page-fishing-games__hero-description {
    font-size: 16px;
  }

  .page-fishing-games__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-fishing-games__cta-button {
    max-width: 100% !important;
    width: 100% !important;
    padding: 12px 25px !important;
    font-size: 16px !important;
  }

  .page-fishing-games__section-title {
    font-size: 26px;
    margin-bottom: 30px;
  }

  .page-fishing-games__introduction-section,
  .page-fishing-games__games-showcase-section,
  .page-fishing-games__guide-section,
  .page-fishing-games__advantages-section,
  .page-fishing-games__promotions-section,
  .page-fishing-games__faq-section,
  .page-fishing-games__brand-section,
  .page-fishing-games__blog-section {
    padding: 40px 0;
  }

  .page-fishing-games__game-list,
  .page-fishing-games__guide-steps,
  .page-fishing-games__advantage-list,
  .page-fishing-games__brand-content,
  .page-fishing-games__blog-list {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-fishing-games__game-item,
  .page-fishing-games__guide-item,
  .page-fishing-games__advantage-item,
  .page-fishing-games__brand-item,
  .page-fishing-games__blog-item {
    padding: 20px;
  }

  .page-fishing-games__game-image,
  .page-fishing-games__blog-item-image {
    height: 160px;
  }

  .page-fishing-games__game-title,
  .page-fishing-games__guide-step-title,
  .page-fishing-games__advantage-title,
  .page-fishing-games__brand-item-title,
  .page-fishing-games__blog-item-title {
    font-size: 20px;
  }

  .page-fishing-games__advantage-icon {
    width: 60px;
    height: 60px;
  }

  .page-fishing-games__faq-question {
    padding: 15px;
  }

  .page-fishing-games__faq-question h3 {
    font-size: 15px;
  }

  .page-fishing-games__faq-toggle {
    font-size: 20px;
    width: 24px;
    height: 24px;
  }

  .page-fishing-games__faq-item.active .page-fishing-games__faq-answer {
    padding: 15px !important;
  }

  .page-fishing-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
}

@media (max-width: 480px) {
  .page-fishing-games__main-title {
    font-size: 28px;
  }

  .page-fishing-games__section-title {
    font-size: 24px;
  }

  .page-fishing-games__game-image,
  .page-fishing-games__blog-item-image {
    height: 140px;
  }
}