/* style/fishing-games.css */

/* Base styles for the page content */
.page-fishing-games {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-main, #F2FFF6); /* Default text color for dark background */
  background-color: var(--background, #08160F); /* Page background from custom palette */
}

.page-fishing-games__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%; /* Important for flex/grid layouts with max-width */
}

/* Hero Section */
.page-fishing-games__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 600px; /* Adjust as needed */
  padding-top: 10px; /* Small top padding, body handles header offset */
  background-color: var(--background, #08160F);
  overflow: hidden;
}

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

.page-fishing-games__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.4; /* Slightly dim image for text readability */
}

.page-fishing-games__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 40px 20px;
  background-color: rgba(8, 22, 15, 0.7); /* Semi-transparent dark background for text */
  border-radius: 10px;
  margin-top: 100px; /* Push content down to avoid overlapping the top of the image */
  margin-bottom: 50px;
}

.page-fishing-games__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem); /* Flexible font size for H1 */
  color: var(--text-main, #F2FFF6);
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.page-fishing-games__hero-description {
  font-size: 1.2rem;
  color: var(--text-secondary, #A7D9B8);
  margin-bottom: 30px;
}

.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__btn-primary,
.page-fishing-games__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  box-sizing: border-box;
  text-align: center;
}

.page-fishing-games__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #ffffff;
  border: 2px solid transparent;
}

.page-fishing-games__btn-primary:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

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

.page-fishing-games__btn-secondary:hover {
  background: var(--glow, #57E38D);
  color: var(--background, #08160F);
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* General Section Styles */
.page-fishing-games__section-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: var(--gold, #F2C14E);
  text-align: center;
  margin-bottom: 40px;
  padding-top: 40px;
  font-weight: bold;
}

.page-fishing-games__text-block {
  font-size: 1.1rem;
  color: var(--text-main, #F2FFF6);
  margin-bottom: 20px;
  text-align: justify;
}

/* Intro Section */
.page-fishing-games__intro-section {
  padding: 60px 0;
  background-color: var(--bg-color, #08160F);
}

/* Video Section */
.page-fishing-games__video-section {
  padding: 60px 0;
  background-color: var(--card-bg, #11271B);
  text-align: center;
  padding-top: 10px; /* Small top padding, body handles header offset */
}

.page-fishing-games__video-wrapper {
  position: relative;
  width: 100%;
  max-width: 1280px; /* Max width for the video container */
  margin: 0 auto;
  background-color: #000; /* Black background for video area */
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
  margin-top: 30px;
}

.page-fishing-games__video {
  width: 100%;
  height: auto;
  display: block;
  cursor: pointer; /* Indicate it's clickable */
}

.page-fishing-games__video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10; /* Above the video */
  cursor: pointer;
}

.page-fishing-games__text-block--center {
  text-align: center;
}

/* Features Section */
.page-fishing-games__features-section {
  padding: 60px 0;
  background-color: var(--card-bg, #11271B); /* Darker background for contrast */
}

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

.page-fishing-games__feature-card {
  background-color: var(--background, #08160F);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
  border: 1px solid var(--divider, #1E3A2A);
}

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

.page-fishing-games__feature-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
  object-fit: cover;
  min-width: 200px; /* Enforce minimum size */
  min-height: 200px; /* Enforce minimum size */
}

.page-fishing-games__feature-title {
  font-size: 1.6rem;
  color: var(--text-main, #F2FFF6);
  margin-bottom: 15px;
  font-weight: bold;
}

.page-fishing-games__feature-description {
  font-size: 1rem;
  color: var(--text-secondary, #A7D9B8);
}

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

/* How to Play Section */
.page-fishing-games__how-to-play-section {
  padding: 60px 0;
  background-color: var(--bg-color, #08160F);
}

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

.page-fishing-games__step-card {
  background-color: var(--card-bg, #11271B);
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--divider, #1E3A2A);
}

.page-fishing-games__step-title {
  font-size: 1.4rem;
  color: var(--gold, #F2C14E);
  margin-bottom: 15px;
  font-weight: bold;
}

.page-fishing-games__step-description {
  font-size: 1rem;
  color: var(--text-secondary, #A7D9B8);
}

/* Tips Section */
.page-fishing-games__tips-section {
  padding: 60px 0;
  background-color: var(--card-bg, #11271B);
}

.page-fishing-games__tips-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
}

.page-fishing-games__tips-list li {
  background-color: var(--background, #08160F);
  color: var(--text-main, #F2FFF6);
  padding: 20px;
  margin-bottom: 15px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  border-left: 5px solid var(--deep-green, #0A4B2C);
  font-size: 1.1rem;
}

.page-fishing-games__tips-list li strong {
  color: var(--gold, #F2C14E);
}

/* Promotions Section */
.page-fishing-games__promotions-section {
  padding: 60px 0;
  background-color: var(--bg-color, #08160F);
}

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

.page-fishing-games__promotion-list li {
  background-color: var(--card-bg, #11271B);
  color: var(--text-main, #F2FFF6);
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  border-left: 5px solid var(--glow, #57E38D);
  font-size: 1.1rem;
}

.page-fishing-games__promotion-list li strong {
  color: var(--gold, #F2C14E);
}

/* Safety Section */
.page-fishing-games__safety-section {
  padding: 60px 0;
  background-color: var(--card-bg, #11271B);
}

/* FAQ Section */
.page-fishing-games__faq-section {
  padding: 60px 0;
  background-color: var(--bg-color, #08160F);
}

.page-fishing-games__faq-list {
  margin-top: 30px;
}

.page-fishing-games__faq-item {
  background-color: var(--card-bg, #11271B);
  border: 1px solid var(--divider, #1E3A2A);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-fishing-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.2rem;
  font-weight: bold;
  color: var(--text-main, #F2FFF6);
  cursor: pointer;
  background-color: var(--deep-green, #0A4B2C);
  transition: background-color 0.3s ease;
}

.page-fishing-games__faq-question:hover {
  background-color: var(--main-color, #11A84E);
}

.page-fishing-games__faq-qtext {
  flex-grow: 1;
  color: var(--text-main, #F2FFF6);
}

.page-fishing-games__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  margin-left: 15px;
  color: var(--gold, #F2C14E);
}

/* Note: content for + and - is handled by JS for details tag, or by toggle() for div structure */

.page-fishing-games__faq-answer {
  padding: 20px;
  font-size: 1rem;
  color: var(--text-secondary, #A7D9B8);
  border-top: 1px solid var(--divider, #1E3A2A);
}

/* Final CTA Section */
.page-fishing-games__cta-final-section {
  padding: 60px 0;
  text-align: center;
  background-color: var(--deep-green, #0A4B2C);
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-fishing-games__hero-content {
    margin-top: 50px;
    margin-bottom: 30px;
  }
}

@media (max-width: 768px) {
  .page-fishing-games__hero-section {
    min-height: 400px;
  }

  .page-fishing-games__hero-content {
    padding: 30px 15px;
    margin-top: 30px;
    margin-bottom: 20px;
  }

  .page-fishing-games__main-title {
    font-size: clamp(2rem, 6vw, 2.8rem);
  }

  .page-fishing-games__hero-description {
    font-size: 1rem;
  }

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

  .page-fishing-games__btn-primary,
  .page-fishing-games__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    padding: 12px 20px;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-fishing-games__section-title {
    font-size: clamp(1.5rem, 5vw, 2.2rem);
    padding-top: 30px;
    margin-bottom: 30px;
  }

  .page-fishing-games__text-block,
  .page-fishing-games__feature-description,
  .page-fishing-games__step-description,
  .page-fishing-games__tips-list li,
  .page-fishing-games__promotion-list li,
  .page-fishing-games__faq-answer {
    font-size: 0.95rem;
  }

  /* Images responsive */
  .page-fishing-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  /* All containers with images/videos/buttons */
  .page-fishing-games__container,
  .page-fishing-games__hero-section,
  .page-fishing-games__intro-section,
  .page-fishing-games__features-section,
  .page-fishing-games__how-to-play-section,
  .page-fishing-games__tips-section,
  .page-fishing-games__promotions-section,
  .page-fishing-games__safety-section,
  .page-fishing-games__faq-section,
  .page-fishing-games__cta-final-section,
  .page-fishing-games__feature-card,
  .page-fishing-games__step-card,
  .page-fishing-games__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden !important; /* Prevent horizontal scroll */
  }

  .page-fishing-games__video-section {
    padding-top: 10px !important; /* Small top padding, body handles header offset */
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden !important;
  }

  /* Video specific mobile rules */
  .page-fishing-games video,
  .page-fishing-games__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-fishing-games__video-container,
  .page-fishing-games__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
  
  /* Button group for multiple buttons */
  .page-fishing-games__cta-buttons {
    display: flex;
    flex-direction: column; /* Stack buttons vertically on mobile */
    gap: 10px;
  }
  
  .page-fishing-games__cta-buttons .page-fishing-games__btn-primary,
  .page-fishing-games__cta-buttons .page-fishing-games__btn-secondary {
    width: 100%;
  }
}