/* style/fishing-games.css */
:root {
  --primary-color: #1A202C;
  --secondary-color: #FFD700;
  --text-light: #ffffff;
  --text-dark: #333333;
  --card-bg-dark: rgba(255, 255, 255, 0.1);
  --card-bg-light: #ffffff;
}

.page-fishing-games {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-light); /* Default text color for dark body background */
  background-color: var(--primary-color);
}

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

.page-fishing-games__section-title {
  font-size: 2.5em;
  color: var(--secondary-color);
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
}

.page-fishing-games__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: var(--secondary-color);
  border-radius: 2px;
}

.page-fishing-games__section-description {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 50px;
  color: var(--text-light);
}

/* Hero Section */
.page-fishing-games__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px 20px 40px;
  background-color: var(--primary-color);
  position: relative;
  overflow: hidden;
  text-align: center;
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
}

.page-fishing-games__hero-content {
  max-width: 900px;
  z-index: 1;
  position: relative;
}

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

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

.page-fishing-games__cta-buttons {
  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: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%; /* Ensure button adapts to mobile */
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text wrapping */
}

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

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

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

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

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

.page-fishing-games__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
}

/* General Content Sections */
.page-fishing-games__intro-section,
.page-fishing-games__popular-games-section,
.page-fishing-games__strategy-section,
.page-fishing-games__security-support-section {
  padding: 80px 0;
  color: var(--text-dark);
}

.page-fishing-games__light-bg {
  background-color: var(--text-light);
}

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

.page-fishing-games__intro-section .page-fishing-games__section-title,
.page-fishing-games__popular-games-section .page-fishing-games__section-title,
.page-fishing-games__strategy-section .page-fishing-games__section-title,
.page-fishing-games__security-support-section .page-fishing-games__section-title {
  color: var(--primary-color);
}

.page-fishing-games__intro-section .page-fishing-games__section-title::after,
.page-fishing-games__popular-games-section .page-fishing-games__section-title::after,
.page-fishing-games__strategy-section .page-fishing-games__section-title::after,
.page-fishing-games__security-support-section .page-fishing-games__section-title::after {
  background-color: var(--primary-color);
}

.page-fishing-games__content-wrapper {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-top: 40px;
}

.page-fishing-games__content-wrapper--reverse {
  flex-direction: row-reverse;
}

.page-fishing-games__text-block {
  flex: 1;
}

.page-fishing-games__intro-image,
.page-fishing-games__strategy-image,
.page-fishing-games__security-image {
  flex: 1;
  max-width: 50%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  object-fit: cover;
}

/* Highlights Section */
.page-fishing-games__highlights-section {
  padding: 80px 0;
  background-color: var(--primary-color);
  color: var(--text-light);
}

.page-fishing-games__highlights-section .page-fishing-games__section-title {
  color: var(--secondary-color);
}

.page-fishing-games__highlights-section .page-fishing-games__section-title::after {
  background-color: var(--secondary-color);
}

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

.page-fishing-games__card {
  background-color: var(--card-bg-dark);
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
  color: var(--text-light);
}

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

.page-fishing-games__card-title {
  font-size: 1.5em;
  color: var(--secondary-color);
  margin-bottom: 15px;
}

.page-fishing-games__card p {
  font-size: 1em;
  color: var(--text-light);
}

/* Popular Games Section */
.page-fishing-games__games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-fishing-games__game-card {
  background-color: var(--card-bg-light);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  color: var(--text-dark);
  text-align: center;
}

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

.page-fishing-games__game-image {
  width: 100%;
  height: 250px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
}

.page-fishing-games__game-title {
  font-size: 1.8em;
  color: var(--primary-color);
  margin: 20px 0 10px;
}

.page-fishing-games__game-card p {
  padding: 0 20px 20px;
  color: var(--text-dark);
}

.page-fishing-games__game-card .page-fishing-games__btn-primary {
  margin-bottom: 20px;
}

/* How-To Play Section */
.page-fishing-games__how-to-play-section {
  padding: 80px 0;
}

.page-fishing-games__step-list {
  list-style: none;
  padding: 0;
}

.page-fishing-games__step-list li {
  background-color: var(--card-bg-dark);
  margin-bottom: 15px;
  padding: 20px;
  border-radius: 8px;
  font-size: 1.1em;
  color: var(--text-light);
}

.page-fishing-games__step-list li strong {
  color: var(--secondary-color);
}

.page-fishing-games__video-wrapper {
  flex: 1;
  max-width: 50%;
  position: relative;
  padding-bottom: 28.125%; /* 16:9 Aspect Ratio (50% of 56.25%) */
  height: 0;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-fishing-games__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.page-fishing-games__video-caption {
  text-align: center;
  margin-top: 10px;
  font-size: 0.9em;
  color: var(--text-light);
}

/* Promotions Section */
.page-fishing-games__promotions-section {
  padding: 80px 0;
}

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

.page-fishing-games__promo-card {
  background-color: var(--card-bg-dark);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
  color: var(--text-light);
  text-align: center;
}

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

.page-fishing-games__promo-image {
  width: 100%;
  height: 200px; /* Fixed height for promo images */
  object-fit: cover;
  display: block;
}

.page-fishing-games__promo-title {
  font-size: 1.6em;
  color: var(--secondary-color);
  margin: 20px 0 10px;
}

.page-fishing-games__promo-card p {
  padding: 0 20px 20px;
  color: var(--text-light);
}

.page-fishing-games__promo-card .page-fishing-games__btn-primary,
.page-fishing-games__promo-card .page-fishing-games__btn-secondary {
  margin-bottom: 20px;
}

/* FAQ Section */
.page-fishing-games__faq-section {
  padding: 80px 0;
}

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

.page-fishing-games__faq-item {
  background-color: var(--card-bg-dark);
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.page-fishing-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.2em;
  font-weight: bold;
  color: var(--secondary-color);
  cursor: pointer;
  transition: background-color 0.3s ease;
}

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

.page-fishing-games__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
}

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

.page-fishing-games__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: var(--text-light);
}

.page-fishing-games__faq-item.active .page-fishing-games__faq-answer {
  max-height: 1000px !important; /* Important to ensure it expands */
  padding: 20px;
}

/* Conclusion Section */
.page-fishing-games__conclusion-section {
  padding: 80px 0;
  text-align: center;
}

.page-fishing-games__conclusion-section .page-fishing-games__section-title {
  color: var(--secondary-color);
}

.page-fishing-games__conclusion-section .page-fishing-games__section-title::after {
  background-color: var(--secondary-color);
}

.page-fishing-games__btn-large {
  padding: 18px 40px;
  font-size: 1.2em;
  margin-top: 30px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-fishing-games__hero-title {
    font-size: 3em;
  }
  .page-fishing-games__hero-description {
    font-size: 1.2em;
  }
  .page-fishing-games__section-title {
    font-size: 2em;
  }
  .page-fishing-games__intro-image,
  .page-fishing-games__strategy-image,
  .page-fishing-games__security-image {
    max-width: 45%;
  }
  .page-fishing-games__video-wrapper {
    max-width: 45%;
  }
}

@media (max-width: 768px) {
  .page-fishing-games__hero-section {
    padding: 60px 15px 30px;
    padding-top: var(--header-offset, 120px) !important; /* Ensure content is below fixed header on mobile */
  }
  .page-fishing-games__hero-title {
    font-size: 2.2em;
  }
  .page-fishing-games__hero-description {
    font-size: 1em;
  }
  .page-fishing-games__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-fishing-games__btn-primary,
  .page-fishing-games__btn-secondary {
    width: 100% !important;
    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;
    margin-bottom: 30px;
  }
  .page-fishing-games__section-description {
    font-size: 1em;
    margin-bottom: 30px;
  }
  .page-fishing-games__content-wrapper {
    flex-direction: column;
    gap: 30px;
  }
  .page-fishing-games__content-wrapper--reverse {
    flex-direction: column;
  }
  .page-fishing-games__intro-image,
  .page-fishing-games__strategy-image,
  .page-fishing-games__security-image,
  .page-fishing-games__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    padding-bottom: 56.25% !important; /* 16:9 for full width video */
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
  .page-fishing-games__intro-image,
  .page-fishing-games__strategy-image,
  .page-fishing-games__security-image {
    height: auto;
    min-height: 200px; /* Minimum height for content images */
  }
  .page-fishing-games__video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }
  .page-fishing-games__cards-grid,
  .page-fishing-games__games-grid,
  .page-fishing-games__promo-cards-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-fishing-games__game-image,
  .page-fishing-games__promo-image {
    height: 180px; /* Adjust height for mobile */
  }
  .page-fishing-games__faq-question,
  .page-fishing-games__faq-answer {
    padding: 15px;
  }
  .page-fishing-games__container {
    padding: 0 15px;
  }
  .page-fishing-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-fishing-games__section,
  .page-fishing-games__card,
  .page-fishing-games__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-fishing-games__video-section {
    padding-top: var(--header-offset, 120px) !important; /* Re-apply padding-top if needed, ensure !important */
  }
  .page-fishing-games__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
}