/* style/fishing-games.css */

/* Custom Colors */
:root {
  --page-fishing-games-bg: #08160F;
  --page-fishing-games-card-bg: #11271B;
  --page-fishing-games-text-main: #F2FFF6;
  --page-fishing-games-text-secondary: #A7D9B8;
  --page-fishing-games-border: #2E7A4E;
  --page-fishing-games-glow: #57E38D;
  --page-fishing-games-gold: #F2C14E;
  --page-fishing-games-divider: #1E3A2A;
  --page-fishing-games-deep-green: #0A4B2C;
  --page-fishing-games-btn-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
}

.page-fishing-games {
  color: var(--page-fishing-games-text-main); /* Dark body background, so light text */
  background-color: var(--page-fishing-games-bg);
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

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

.page-fishing-games__section-title {
  font-size: 2.5em;
  color: var(--page-fishing-games-gold);
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
  line-height: 1.2;
  text-shadow: 0 0 10px rgba(242, 193, 78, 0.5);
}

.page-fishing-games__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  text-align: justify;
  color: var(--page-fishing-games-text-secondary);
}

.page-fishing-games__btn {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  text-align: center;
  box-sizing: border-box;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text wrapping */
  max-width: 100%;
}

.page-fishing-games__btn--primary {
  background: var(--page-fishing-games-btn-gradient);
  color: var(--page-fishing-games-text-main);
  border: 2px solid var(--page-fishing-games-glow);
  box-shadow: 0 4px 15px rgba(42, 209, 111, 0.4);
}

.page-fishing-games__btn--primary:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(42, 209, 111, 0.6);
}

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

.page-fishing-games__btn--secondary:hover {
  background: var(--page-fishing-games-glow);
  color: var(--page-fishing-games-bg);
  transform: translateY(-2px);
}

.page-fishing-games__btn--small {
  padding: 8px 15px;
  font-size: 0.9em;
}

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

/* Hero Section */
.page-fishing-games__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: 10px; /* Small top padding */
  padding-bottom: 60px;
  overflow: hidden;
  text-align: center;
}

.page-fishing-games__hero-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  margin-bottom: 30px;
}

.page-fishing-games__hero-content {
  max-width: 900px;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-fishing-games__hero-title {
  font-size: clamp(2.5em, 5vw, 3.5em); /* Responsive H1 font size */
  color: var(--page-fishing-games-gold);
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
  text-shadow: 0 0 15px rgba(242, 193, 78, 0.7);
}

.page-fishing-games__hero-description {
  font-size: 1.3em;
  color: var(--page-fishing-games-text-secondary);
  margin-bottom: 30px;
}

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

/* Advantages Section */
.page-fishing-games__advantages-section {
  padding: 80px 0;
  background-color: var(--page-fishing-games-deep-green);
}

.page-fishing-games__advantages-section .page-fishing-games__section-title {
  color: var(--page-fishing-games-gold);
}

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

.page-fishing-games__card {
  background-color: var(--page-fishing-games-card-bg);
  border: 1px solid var(--page-fishing-games-border);
  border-radius: 12px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: var(--page-fishing-games-text-main);
  display: flex;
  flex-direction: column;
  align-items: center;
}

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

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

.page-fishing-games__card-title {
  font-size: 1.4em;
  color: var(--page-fishing-games-gold);
  margin-bottom: 10px;
  font-weight: bold;
}

.page-fishing-games__card-description {
  font-size: 1em;
  color: var(--page-fishing-games-text-secondary);
}

/* Popular Games Section */
.page-fishing-games__popular-games-section {
  padding: 80px 0;
  background-color: var(--page-fishing-games-bg);
}

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

.page-fishing-games__game-card {
  background-color: var(--page-fishing-games-card-bg);
  border: 1px solid var(--page-fishing-games-border);
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
  color: var(--page-fishing-games-text-main);
  display: flex;
  flex-direction: column;
  align-items: center;
}

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

.page-fishing-games__game-image {
  width: 100%;
  max-width: 300px; /* Recommended size */
  height: auto;
  border-radius: 8px;
  margin-bottom: 15px;
  object-fit: cover;
  min-height: 200px; /* Enforce min size */
}

.page-fishing-games__game-title {
  font-size: 1.3em;
  color: var(--page-fishing-games-gold);
  margin-bottom: 10px;
  font-weight: bold;
}

.page-fishing-games__game-description {
  font-size: 0.95em;
  color: var(--page-fishing-games-text-secondary);
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-fishing-games__btn--play {
  background: var(--page-fishing-games-btn-gradient);
  color: var(--page-fishing-games-text-main);
  border: none;
  padding: 10px 20px;
  font-size: 1em;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(42, 209, 111, 0.3);
}

.page-fishing-games__btn--play:hover {
  filter: brightness(1.15);
}

/* How To Play Section */
.page-fishing-games__how-to-play-section {
  padding: 80px 0;
  background-color: var(--page-fishing-games-card-bg); /* Use card bg for light section */
  color: var(--page-fishing-games-text-main);
}

.page-fishing-games__how-to-play-section .page-fishing-games__section-title {
  color: var(--page-fishing-games-gold);
}

.page-fishing-games__how-to-play-section .page-fishing-games__text-block {
  color: var(--page-fishing-games-text-secondary);
}

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

.page-fishing-games__step-item {
  background-color: var(--page-fishing-games-bg);
  border: 1px solid var(--page-fishing-games-border);
  border-radius: 12px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
}

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

.page-fishing-games__step-title {
  font-size: 1.3em;
  color: var(--page-fishing-games-gold);
  margin-bottom: 10px;
  font-weight: bold;
}

.page-fishing-games__step-description {
  font-size: 1em;
  color: var(--page-fishing-games-text-secondary);
  flex-grow: 1;
  margin-bottom: 15px;
}

/* Promotions Section */
.page-fishing-games__promotions-section {
  padding: 80px 0;
  background-color: var(--page-fishing-games-deep-green);
}

.page-fishing-games__promotions-section .page-fishing-games__section-title {
  color: var(--page-fishing-games-gold);
}

.page-fishing-games__promotions-section .page-fishing-games__text-block {
  color: var(--page-fishing-games-text-secondary);
}

.page-fishing-games__promo-list {
  list-style: none;
  padding: 0;
  margin: 30px 0;
  text-align: left;
  font-size: 1.1em;
  color: var(--page-fishing-games-text-main);
}

.page-fishing-games__promo-list li {
  background-color: var(--page-fishing-games-card-bg);
  border: 1px solid var(--page-fishing-games-border);
  border-radius: 8px;
  padding: 15px 20px;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-fishing-games__promo-list li strong {
  color: var(--page-fishing-games-gold);
  margin-right: 10px;
}

/* Tips & Strategies Section */
.page-fishing-games__tips-strategies-section {
  padding: 80px 0;
  background-color: var(--page-fishing-games-bg);
}

.page-fishing-games__tips-strategies-section .page-fishing-games__text-block {
  color: var(--page-fishing-games-text-secondary);
}

.page-fishing-games__tips-list {
  list-style: none;
  padding: 0;
  margin: 30px 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  font-size: 1.1em;
  color: var(--page-fishing-games-text-main);
}

.page-fishing-games__tips-list li {
  background-color: var(--page-fishing-games-card-bg);
  border: 1px solid var(--page-fishing-games-border);
  border-radius: 8px;
  padding: 15px 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  position: relative;
  padding-left: 40px;
}

.page-fishing-games__tips-list li::before {
  content: '✓';
  color: var(--page-fishing-games-glow);
  font-size: 1.5em;
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  font-weight: bold;
}

/* Video Section */
.page-fishing-games__video-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding */
  background-color: var(--page-fishing-games-deep-green);
  text-align: center;
}

.page-fishing-games__video-section .page-fishing-games__section-title {
  color: var(--page-fishing-games-gold);
}

.page-fishing-games__video-section .page-fishing-games__text-block {
  color: var(--page-fishing-games-text-secondary);
  margin-bottom: 30px;
}

.page-fishing-games__video-wrapper {
  position: relative;
  width: 100%;
  max-width: 800px; /* Adjust max-width as needed */
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio (9 / 16 * 100%) */
  height: 0;
  margin-bottom: 30px;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
  box-sizing: border-box; /* Crucial for responsive */
}

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

.page-fishing-games__btn--video-cta {
  margin-top: 20px;
}

/* FAQ Section */
.page-fishing-games__faq-section {
  padding: 80px 0;
  background-color: var(--page-fishing-games-bg);
}

.page-fishing-games__faq-section .page-fishing-games__section-title {
  color: var(--page-fishing-games-gold);
}

.page-fishing-games__faq-list {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-fishing-games__faq-item {
  background-color: var(--page-fishing-games-card-bg);
  border: 1px solid var(--page-fishing-games-border);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: var(--page-fishing-games-text-main);
}

.page-fishing-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.2em;
  font-weight: bold;
  cursor: pointer;
  background-color: var(--page-fishing-games-deep-green);
  color: var(--page-fishing-games-gold);
  border-bottom: 1px solid var(--page-fishing-games-divider);
  list-style: none; /* For details/summary */
}

.page-fishing-games__faq-item summary::-webkit-details-marker {
  display: none; /* Hide default marker */
}

.page-fishing-games__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  color: var(--page-fishing-games-glow);
  transition: transform 0.3s ease;
}

.page-fishing-games__faq-item[open] .page-fishing-games__faq-toggle {
  transform: rotate(45deg); /* Rotate plus to cross */
}

.page-fishing-games__faq-answer {
  padding: 15px 25px;
  font-size: 1em;
  color: var(--page-fishing-games-text-secondary);
  line-height: 1.5;
  background-color: var(--page-fishing-games-card-bg);
}

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

.page-fishing-games__cta-final-section .page-fishing-games__section-title {
  color: var(--page-fishing-games-gold);
}

.page-fishing-games__cta-final-section .page-fishing-games__text-block {
  color: var(--page-fishing-games-text-secondary);
  max-width: 800px;
  margin: 0 auto 40px auto;
}

/* Global image responsiveness (applies to all images) */
.page-fishing-games img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .page-fishing-games {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-fishing-games__container,
  .page-fishing-games__hero-content {
    padding-left: 15px !important;
    padding-right: 15px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

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

  .page-fishing-games__hero-title {
    font-size: clamp(2em, 8vw, 2.5em);
  }

  .page-fishing-games__hero-description {
    font-size: 1.1em;
  }

  .page-fishing-games__hero-section,
  .page-fishing-games__intro-section,
  .page-fishing-games__advantages-section,
  .page-fishing-games__popular-games-section,
  .page-fishing-games__how-to-play-section,
  .page-fishing-games__promotions-section,
  .page-fishing-games__tips-strategies-section,
  .page-fishing-games__video-section,
  .page-fishing-games__faq-section,
  .page-fishing-games__cta-final-section {
    padding: 40px 0;
  }

  /* Images and their containers */
  .page-fishing-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-fishing-games__card-image,
  .page-fishing-games__game-image,
  .page-fishing-games__step-image {
    min-height: 150px !important; /* Adjust min height for mobile if necessary */
  }

  /* Video responsiveness */
  .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-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .page-fishing-games__video-section {
    padding-top: 10px !important; /* body already handles header offset */
  }

  /* Button responsiveness */
  .page-fishing-games__btn,
  .page-fishing-games__btn--primary,
  .page-fishing-games__btn--secondary,
  .page-fishing-games__btn--play,
  .page-fishing-games__btn--small {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }

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

  .page-fishing-games__promo-list li,
  .page-fishing-games__tips-list li {
    padding: 15px;
    padding-left: 35px;
  }

  .page-fishing-games__tips-list li::before {
    left: 10px;
    font-size: 1.2em;
  }

  .page-fishing-games__faq-question {
    font-size: 1.1em;
    padding: 15px 20px;
  }

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