/* style/fishing-games.css */

/* Base styles for the page content */
.page-fishing-games {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: #0a0a0a; /* Body background from shared.css */
}

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

/* Hero Section */
.page-fishing-games__hero-section {
  position: relative;
  width: 100%;
  height: 70vh; /* Adjust height as needed */
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding-top: var(--header-offset, 120px); /* Fixed header spacing */
}

.page-fishing-games__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.page-fishing-games__hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6); /* Dark overlay for text readability */
  z-index: 2;
}

.page-fishing-games__hero-content {
  position: relative;
  z-index: 3;
  max-width: 900px;
  color: #ffffff;
  padding: 20px;
}

.page-fishing-games__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #FFFF00; /* Use Register/Login font color for strong emphasis */
  text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
  line-height: 1.2;
}

.page-fishing-games__hero-description {
  font-size: 1.3em;
  margin-bottom: 40px;
  line-height: 1.5;
  color: #f0f0f0;
}

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

/* General Section Styles */
.page-fishing-games__section-title {
  font-size: 2.5em;
  color: #FFFF00; /* Highlight titles with a bright color */
  text-align: center;
  margin-bottom: 20px;
  padding-top: 40px;
}

.page-fishing-games__section-description {
  font-size: 1.1em;
  color: #f0f0f0;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 60px auto;
}

.page-fishing-games__dark-bg {
  background-color: #0a0a0a; /* Ensure dark background */
  color: #ffffff;
  padding: 80px 0;
}

.page-fishing-games__light-bg {
  background-color: #ffffff;
  color: #333333;
  padding: 80px 0;
}

/* Buttons */
.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;
  cursor: pointer;
  border: 2px solid transparent;
  box-sizing: border-box;
  max-width: 100%; /* For mobile responsiveness */
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text wrapping */
}

.page-fishing-games__btn-primary {
  background-color: #C30808; /* Register/Login button color */
  color: #FFFF00; /* Register/Login font color */
  border-color: #C30808;
}

.page-fishing-games__btn-primary:hover {
  background-color: #a00606;
  border-color: #a00606;
}

.page-fishing-games__btn-secondary {
  background-color: transparent;
  color: #FFFF00; /* Register/Login font color */
  border-color: #FFFF00;
}

.page-fishing-games__btn-secondary:hover {
  background-color: #FFFF00;
  color: #0a0a0a;
}

.page-fishing-games__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

.page-fishing-games__cta-buttons--center {
  text-align: center;
  margin-top: 40px;
}

/* Introduction Section */
.page-fishing-games__introduction-section {
  padding-bottom: 80px;
}

.page-fishing-games__introduction-section .page-fishing-games__section-title {
  color: #FFFF00;
}

.page-fishing-games__introduction-section .page-fishing-games__section-description a {
    color: #017439; /* Brand primary color for links in dark background */
    text-decoration: underline;
}

.page-fishing-games__introduction-section .page-fishing-games__section-description a:hover {
    color: #FFFF00; /* Hover color for links */
}

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

.page-fishing-games__feature-item {
  background-color: rgba(255, 255, 255, 0.05); /* Slightly transparent white for cards on dark background */
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #ffffff;
}

.page-fishing-games__feature-icon {
  width: 150px;
  height: 150px;
  object-fit: contain;
  margin-bottom: 20px;
  border-radius: 8px; /* Ensure images have some radius */
}

.page-fishing-games__feature-title {
  font-size: 1.5em;
  color: #017439; /* Brand primary color for feature titles */
  margin-bottom: 15px;
}

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

/* Popular Games Section */
.page-fishing-games__popular-games-section {
  padding: 80px 0;
  background-color: #0a0a0a;
  color: #ffffff;
}

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

.page-fishing-games__game-card {
  background-color: rgba(255, 255, 255, 0.08); /* Slightly darker transparent white */
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  text-align: center;
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

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

.page-fishing-games__game-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.page-fishing-games__game-title {
  font-size: 1.4em;
  margin: 20px 15px 10px 15px;
  color: #FFFF00; /* Highlight game titles */
}

.page-fishing-games__game-title a {
  color: #FFFF00;
  text-decoration: none;
}

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

.page-fishing-games__game-description {
  font-size: 0.95em;
  color: #e0e0e0;
  padding: 0 15px 20px 15px;
  flex-grow: 1; /* Make description take available space */
}

/* Guide Section */
.page-fishing-games__guide-section {
  padding-bottom: 80px;
}

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

.page-fishing-games__guide-item {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  color: #ffffff;
}

.page-fishing-games__guide-title {
  font-size: 1.5em;
  color: #017439; /* Brand primary for guide titles */
  margin-bottom: 15px;
}

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

/* Promotions Section */
.page-fishing-games__promotions-section {
  padding: 80px 0;
  background-color: #0a0a0a;
  color: #ffffff;
}

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

.page-fishing-games__promo-card {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  text-align: center;
  display: flex;
  flex-direction: column;
}

.page-fishing-games__promo-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.page-fishing-games__promo-title {
  font-size: 1.4em;
  color: #FFFF00;
  margin: 20px 15px 10px 15px;
}

.page-fishing-games__promo-text {
  font-size: 0.95em;
  color: #e0e0e0;
  padding: 0 15px 20px 15px;
  flex-grow: 1;
}

.page-fishing-games__promo-card .page-fishing-games__btn-primary {
  margin: 0 15px 20px 15px;
}

/* Safety Section */
.page-fishing-games__safety-section {
  padding-bottom: 80px;
}

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

.page-fishing-games__safety-item {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  color: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-fishing-games__safety-icon {
  width: 120px;
  height: 120px;
  object-fit: contain;
  margin-bottom: 20px;
  border-radius: 8px;
}

.page-fishing-games__safety-title {
  font-size: 1.5em;
  color: #017439;
  margin-bottom: 15px;
}

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

/* FAQ Section */
.page-fishing-games__faq-section {
  padding: 80px 0;
  background-color: #0a0a0a;
  color: #ffffff;
}

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

.page-fishing-games__faq-item {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  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: 20px 25px;
  cursor: pointer;
  background-color: rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: background-color 0.3s ease;
}

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

.page-fishing-games__faq-title {
  font-size: 1.2em;
  color: #FFFF00;
  margin: 0;
}

.page-fishing-games__faq-toggle {
  font-size: 1.8em;
  font-weight: bold;
  color: #017439;
  transition: transform 0.3s ease;
}

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

.page-fishing-games__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #e0e0e0;
  font-size: 1em;
}

.page-fishing-games__faq-item.active .page-fishing-games__faq-answer {
  max-height: 1000px !important; /* Ensure it expands fully */
  padding: 15px 25px 25px 25px;
}

.page-fishing-games__faq-answer p {
  margin-bottom: 15px;
}

.page-fishing-games__faq-answer a.page-fishing-games__btn-primary {
  margin-top: 15px;
  display: inline-block;
  padding: 10px 20px;
  font-size: 0.9em;
}

/* Conclusion Section */
.page-fishing-games__conclusion-section {
  padding-bottom: 80px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-fishing-games__hero-title {
    font-size: 3em;
  }
  .page-fishing-games__section-title {
    font-size: 2em;
  }
  .page-fishing-games__hero-description {
    font-size: 1.1em;
  }
}

@media (max-width: 768px) {
  .page-fishing-games__container {
    padding: 0 15px; /* Add padding for mobile content */
  }

  .page-fishing-games__hero-section {
    height: 60vh;
    min-height: 400px;
    padding-top: var(--header-offset, 120px) !important; /* Ensure header offset on mobile */
  }

  .page-fishing-games__hero-title {
    font-size: 2.2em;
  }

  .page-fishing-games__hero-description {
    font-size: 1em;
    margin-bottom: 30px;
  }

  .page-fishing-games__hero-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;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  
  .page-fishing-games__cta-buttons {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
  }

  /* Images and Videos Responsive */
  .page-fishing-games img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-fishing-games video {
    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,
  .page-fishing-games__video-section,
  .page-fishing-games__video-container,
  .page-fishing-games__video-wrapper,
  .page-fishing-games__feature-item,
  .page-fishing-games__game-card,
  .page-fishing-games__guide-item,
  .page-fishing-games__promo-card,
  .page-fishing-games__safety-item,
  .page-fishing-games__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px; /* Add horizontal padding to main content blocks */
  }

  .page-fishing-games__section-title {
    font-size: 1.8em;
    padding-top: 30px;
  }

  .page-fishing-games__section-description {
    font-size: 1em;
    margin-bottom: 40px;
  }

  .page-fishing-games__feature-icon,
  .page-fishing-games__safety-icon {
    width: 100px;
    height: 100px;
  }

  .page-fishing-games__game-image,
  .page-fishing-games__promo-image {
    height: 180px; /* Adjust height for mobile */
  }

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

  .page-fishing-games__faq-title {
    font-size: 1.1em;
  }

  .page-fishing-games__faq-answer {
    padding: 0 20px;
  }

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

@media (max-width: 480px) {
  .page-fishing-games__hero-title {
    font-size: 1.8em;
  }
  .page-fishing-games__section-title {
    font-size: 1.6em;
  }
  .page-fishing-games__hero-section {
    height: auto;
    min-height: 350px;
  }
  .page-fishing-games__hero-content {
    padding: 15px;
  }
  .page-fishing-games__hero-description {
    font-size: 0.9em;
  }
}