/* style/fishing-games.css */
:root {
  --primary-color: #FFD700; /* Gold */
  --secondary-color: #8B0000; /* Dark Red */
  --text-color-dark-bg: #ffffff;
  --text-color-light-bg: #333333;
  --background-dark: #121212; /* Body background from shared.css */
  --background-light: #f8f8f8;
  --card-background-dark-mode: rgba(255, 255, 255, 0.08);
  --card-background-light-mode: #ffffff;
}

.page-fishing-games {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-color-dark-bg);
  background-color: var(--background-dark);
}

/* ==================== Shared Container Styles ==================== */
.page-fishing-games__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  box-sizing: border-box;
}

.page-fishing-games__section-title {
  font-size: 2.8em;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.page-fishing-games__section-description {
  font-size: 1.1em;
  color: var(--text-color-dark-bg);
  text-align: center;
  margin-bottom: 50px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-fishing-games__card {
  background: var(--card-background-dark-mode);
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: var(--text-color-dark-bg);
}

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

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

.page-fishing-games__cta-buttons--center {
  justify-content: center;
}

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

.page-fishing-games__btn-primary {
  background: var(--primary-color);
  color: #000000; /* Ensure high contrast with gold */
  border: 2px solid var(--primary-color);
}

.page-fishing-games__btn-primary:hover {
  background: darken(var(--primary-color), 10%);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.25);
  transform: translateY(-2px);
}

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

.page-fishing-games__btn-secondary:hover {
  background: var(--primary-color);
  color: #000000; /* Ensure high contrast with gold */
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.25);
  transform: translateY(-2px);
}

/* ==================== Video Section ==================== */
.page-fishing-games__video-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  padding-top: 10px; /* Desktop: Adjust for fixed header */
  background: var(--background-dark);
}

.page-fishing-games__video-container {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-fishing-games__video-link {
  display: block;
  text-decoration: none;
  position: relative;
  width: 100%;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-fishing-games__video-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.page-fishing-games__video-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  border-radius: 12px;
  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%;
  border: none;
  border-radius: 12px;
  object-fit: cover;
  pointer-events: none; /* Prevent video controls from blocking click event on parent <a> */
}

.page-fishing-games__video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.4);
  border-radius: 12px;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: 1;
}

.page-fishing-games__video-link:hover .page-fishing-games__video-overlay {
  opacity: 1;
}

.page-fishing-games__video-click-hint {
  color: #ffffff;
  font-size: 20px;
  font-weight: bold;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
  padding: 12px 25px;
  background: rgba(var(--primary-color-rgb), 0.8);
  border-radius: 6px;
  white-space: nowrap;
  letter-spacing: 0.5px;
}

.page-fishing-games__video-cta {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 30px;
}

.page-fishing-games__play-now-button {
  display: inline-block;
  padding: 18px 50px;
  background: var(--primary-color);
  color: #000000; /* Black text for contrast on gold */
  text-decoration: none;
  border-radius: 10px;
  font-size: 1.3em;
  font-weight: bold;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.25);
  border: none;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.page-fishing-games__play-now-button:hover {
  background: var(--secondary-color);
  color: #ffffff; /* White text for contrast on dark red */
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
}

.page-fishing-games__play-now-button:active {
  transform: translateY(0);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

/* ==================== Hero Section ==================== */
.page-fishing-games__hero-section {
  padding: 80px 20px;
  text-align: center;
  background: linear-gradient(135deg, var(--background-dark) 0%, #0a0a0a 100%);
  color: var(--text-color-dark-bg);
  padding-top: 10px; /* Adjust for fixed header if this is the first content module without video */
}

.page-fishing-games__main-title {
  font-size: 3.5em;
  color: var(--primary-color);
  margin-bottom: 25px;
  line-height: 1.2;
  font-weight: bold;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-fishing-games__hero-description {
  font-size: 1.3em;
  max-width: 900px;
  margin: 0 auto 40px auto;
  color: #f0f0f0;
}

/* ==================== Features Section ==================== */
.page-fishing-games__features-section {
  background: var(--background-light);
  padding: 80px 20px;
  color: var(--text-color-light-bg);
}

.page-fishing-games__features-section .page-fishing-games__section-description {
  color: var(--text-color-light-bg);
}

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

.page-fishing-games__features-section .page-fishing-games__card {
  background: var(--card-background-light-mode);
  color: var(--text-color-light-bg);
  text-align: center;
  border: 1px solid #e0e0e0;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
}

.page-fishing-games__feature-icon {
  width: 120px; /* Larger icon size */
  height: auto;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-fishing-games__feature-title {
  font-size: 1.8em;
  color: var(--secondary-color);
  margin-bottom: 15px;
  font-weight: bold;
}

.page-fishing-games__feature-text {
  font-size: 1em;
  color: #555;
}

/* ==================== How to Play Section ==================== */
.page-fishing-games__how-to-play-section {
  background: linear-gradient(135deg, #0a0a0a 0%, var(--background-dark) 100%);
  padding: 80px 20px;
  color: var(--text-color-dark-bg);
}

.page-fishing-games__steps-list {
  list-style: none;
  padding: 0;
  margin-top: 50px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.page-fishing-games__step-item {
  background: var(--card-background-dark-mode);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  text-align: center;
  counter-increment: step-counter;
  position: relative;
  padding-top: 70px; /* Space for step number */
}

.page-fishing-games__step-item::before {
  content: counter(step-counter);
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary-color);
  color: #000000;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8em;
  font-weight: bold;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.page-fishing-games__step-title {
  font-size: 1.6em;
  color: var(--primary-color);
  margin-bottom: 15px;
  font-weight: bold;
}

.page-fishing-games__step-text {
  font-size: 1em;
  color: #e0e0e0;
}

/* ==================== Strategies Section ==================== */
.page-fishing-games__strategies-section {
  background: var(--background-light);
  padding: 80px 20px;
  color: var(--text-color-light-bg);
}

.page-fishing-games__strategies-section .page-fishing-games__section-description {
  color: var(--text-color-light-bg);
}

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

.page-fishing-games__strategies-section .page-fishing-games__card {
  background: var(--card-background-light-mode);
  color: var(--text-color-light-bg);
  text-align: center;
  border: 1px solid #e0e0e0;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
}

.page-fishing-games__strategy-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-fishing-games__strategy-title {
  font-size: 1.8em;
  color: var(--secondary-color);
  margin-bottom: 15px;
  font-weight: bold;
}

.page-fishing-games__strategy-text {
  font-size: 1em;
  color: #555;
}

/* ==================== Safety Section ==================== */
.page-fishing-games__safety-section {
  background: linear-gradient(135deg, var(--secondary-color) 0%, #6a0000 100%);
  padding: 80px 20px;
  color: var(--text-color-dark-bg);
}

.page-fishing-games__safety-section .page-fishing-games__section-title {
  color: var(--primary-color);
}

.page-fishing-games__safety-section .page-fishing-games__section-description {
  color: #f0f0f0;
}

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

.page-fishing-games__safety-item {
  background: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.page-fishing-games__safety-icon {
  width: 100px; /* Larger icon size */
  height: auto;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-fishing-games__safety-title {
  font-size: 1.6em;
  color: var(--primary-color);
  margin-bottom: 15px;
  font-weight: bold;
}

.page-fishing-games__safety-text {
  font-size: 1em;
  color: #e0e0e0;
}

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

.page-fishing-games__faq-section .page-fishing-games__section-description {
  color: var(--text-color-light-bg);
}

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

.page-fishing-games__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #e0e0e0;
  background: var(--card-background-light-mode);
}

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

.page-fishing-games__faq-item.active .page-fishing-games__faq-answer {
  max-height: 2000px !important; /* Ensure content fits */
  padding: 20px 25px !important;
  opacity: 1;
  background: #fdfdfd;
  border-top: 1px solid #eee;
}

.page-fishing-games__faq-answer p {
  margin: 0;
  color: #555;
}

.page-fishing-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  background: var(--card-background-light-mode);
  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;
}

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

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

.page-fishing-games__faq-item.active .page-fishing-games__faq-toggle {
  color: var(--primary-color);
  transform: rotate(45deg); /* Plus to X effect */
}

/* ==================== Brand Section ==================== */
.page-fishing-games__brand-section {
  background: linear-gradient(135deg, #0a0a0a 0%, var(--background-dark) 100%);
  padding: 80px 20px;
  color: var(--text-color-dark-bg);
}

.page-fishing-games__brand-title {
  font-size: 2.8em;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
}

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

.page-fishing-games__brand-section .page-fishing-games__card {
  background: var(--card-background-dark-mode);
  color: var(--text-color-dark-bg);
  text-align: center;
}

.page-fishing-games__brand-subtitle {
  font-size: 1.8em;
  color: var(--primary-color);
  margin-bottom: 15px;
  font-weight: bold;
}

.page-fishing-games__brand-text {
  font-size: 1em;
  color: #e0e0e0;
}

/* ==================== Blog Section ==================== */
.page-fishing-games__blog-section {
  background: var(--background-light);
  padding: 80px 20px;
  color: var(--text-color-light-bg);
}

.page-fishing-games__blog-section .page-fishing-games__section-description {
  color: var(--text-color-light-bg);
}

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

.page-fishing-games__blog-item {
  background: var(--card-background-light-mode);
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-fishing-games__blog-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.page-fishing-games__blog-link {
  text-decoration: none;
  display: block;
  color: inherit;
}

.page-fishing-games__blog-thumbnail {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.page-fishing-games__blog-item-title {
  font-size: 1.5em;
  color: var(--secondary-color);
  padding: 20px 20px 10px 20px;
  margin: 0;
  font-weight: bold;
}

.page-fishing-games__blog-item-excerpt {
  font-size: 0.95em;
  color: #666;
  padding: 0 20px 15px 20px;
  margin: 0;
}

.page-fishing-games__blog-item-date {
  display: block;
  font-size: 0.85em;
  color: #999;
  padding: 0 20px 20px 20px;
}

/* ==================== Responsive Design ==================== */
@media (max-width: 1024px) {
  .page-fishing-games__main-title {
    font-size: 3em;
  }
  .page-fishing-games__section-title {
    font-size: 2.5em;
  }
}

@media (max-width: 768px) {
  .page-fishing-games__container {
    padding: 30px 15px;
  }

  .page-fishing-games__video-section {
    padding-top: 10px !important; /* Mobile: Adjust for fixed header */
    padding-bottom: 40px;
    padding-left: 0;
    padding-right: 0;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
  
  .page-fishing-games__video-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
  
  .page-fishing-games__video-link {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  
  .page-fishing-games__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    border-radius: 8px;
    overflow: hidden !important;
  }
  
  .page-fishing-games__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    border-radius: 8px;
    object-fit: contain;
  }
  
  .page-fishing-games__video-click-hint {
    font-size: 16px !important;
    padding: 10px 20px !important;
  }

  .page-fishing-games__video-cta {
    margin-top: 25px;
    padding-left: 15px;
    padding-right: 15px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .page-fishing-games__play-now-button {
    font-size: 1.1em !important;
    padding: 15px 30px !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: 2.2em;
  }
  .page-fishing-games__hero-description {
    font-size: 1.1em;
  }
  .page-fishing-games__section-title {
    font-size: 2em;
  }
  .page-fishing-games__section-description {
    font-size: 1em;
  }

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

  .page-fishing-games__cta-button {
    width: 100%;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-fishing-games__feature-grid, 
  .page-fishing-games__steps-list, 
  .page-fishing-games__strategy-grid, 
  .page-fishing-games__safety-grid, 
  .page-fishing-games__brand-content, 
  .page-fishing-games__blog-list {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-fishing-games__feature-item, 
  .page-fishing-games__step-item, 
  .page-fishing-games__strategy-item, 
  .page-fishing-games__safety-item, 
  .page-fishing-games__brand-item, 
  .page-fishing-games__blog-item {
    padding: 25px;
  }

  .page-fishing-games__feature-icon, 
  .page-fishing-games__safety-icon {
    width: 80px; /* Smaller icons for mobile */
  }

  .page-fishing-games__feature-title, 
  .page-fishing-games__step-title, 
  .page-fishing-games__safety-title, 
  .page-fishing-games__brand-subtitle, 
  .page-fishing-games__blog-item-title {
    font-size: 1.4em;
  }

  .page-fishing-games__step-item::before {
    width: 40px;
    height: 40px;
    font-size: 1.6em;
    top: 15px;
  }
  .page-fishing-games__step-item {
    padding-top: 60px;
  }

  .page-fishing-games__faq-question {
    padding: 15px 20px;
  }
  .page-fishing-games__faq-question h3 {
    font-size: 1em;
  }
  .page-fishing-games__faq-toggle {
    font-size: 24px;
    width: 25px;
    height: 25px;
  }
  .page-fishing-games__faq-item.active .page-fishing-games__faq-answer {
    padding: 15px 20px !important;
  }

  /* Ensure all images are responsive */
  .page-fishing-games img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-fishing-games__blog-thumbnail {
    height: 180px;
  }

  /* Ensure all containers for images/buttons/videos are responsive */
  .page-fishing-games__section,
  .page-fishing-games__card,
  .page-fishing-games__container,
  .page-fishing-games__cta-buttons,
  .page-fishing-games__faq-list {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}

/* Light background sections for contrast */
.page-fishing-games__light-bg {
  background-color: var(--background-light);
  color: var(--text-color-light-bg);
}

.page-fishing-games__light-bg .page-fishing-games__section-title {
  color: var(--secondary-color);
}

.page-fishing-games__light-bg .page-fishing-games__section-description {
  color: #555;
}

.page-fishing-games__light-bg .page-fishing-games__card {
  background: var(--card-background-light-mode);
  color: var(--text-color-light-bg);
  border: 1px solid #e0e0e0;
}

/* Dark background sections for contrast */
.page-fishing-games__dark-bg {
  background-color: var(--background-dark);
  color: var(--text-color-dark-bg);
}

.page-fishing-games__dark-bg .page-fishing-games__section-title {
  color: var(--primary-color);
}

.page-fishing-games__dark-bg .page-fishing-games__section-description {
  color: #f0f0f0;
}

.page-fishing-games__dark-bg .page-fishing-games__card {
  background: var(--card-background-dark-mode);
  color: var(--text-color-dark-bg);
  border: none;
}