/* style/fishing-games.css */

/* Custom Colors from Palette */
:root {
  --goplay06-primary: #11A84E;
  --goplay06-secondary: #22C768;
  --goplay06-button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  --goplay06-card-bg: #11271B;
  --goplay06-background: #08160F;
  --goplay06-text-main: #F2FFF6;
  --goplay06-text-secondary: #A7D9B8;
  --goplay06-border: #2E7A4E;
  --goplay06-glow: #57E38D;
  --goplay06-gold: #F2C14E;
  --goplay06-divider: #1E3A2A;
  --goplay06-deep-green: #0A4B2C;
}

/* General Page Styles */
.page-fishing-games {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--goplay06-text-main); /* Default text color for dark background */
  background-color: var(--goplay06-background); /* Default background */
}

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

.page-fishing-games__section-title {
  font-size: clamp(2em, 4vw, 2.8em); /* Use clamp for H2 */
  font-weight: bold;
  text-align: center;
  margin-bottom: 40px;
  color: var(--goplay06-text-main);
  line-height: 1.2;
}

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

.page-fishing-games__link {
  color: var(--goplay06-gold);
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-fishing-games__link:hover {
  color: var(--goplay06-glow);
  text-decoration: underline;
}

.page-fishing-games__highlight {
  color: var(--goplay06-gold);
  font-weight: bold;
}

/* Section Backgrounds for Contrast */
.page-fishing-games__dark-bg {
  background-color: var(--goplay06-background);
  color: var(--goplay06-text-main);
}

.page-fishing-games__light-bg {
  background-color: #f2fff6; /* A very light green, for contrast with dark background */
  color: #333333; /* Dark text for light background */
}

.page-fishing-games__light-bg .page-fishing-games__section-title,
.page-fishing-games__light-bg .page-fishing-games__text-block,
.page-fishing-games__light-bg .page-fishing-games__feature-description,
.page-fishing-games__light-bg .page-fishing-games__game-description,
.page-fishing-games__light-bg .page-fishing-games__step-description,
.page-fishing-games__light-bg .page-fishing-games__promotion-description,
.page-fishing-games__light-bg .page-fishing-games__list-item,
.page-fishing-games__light-bg .page-fishing-games__faq-qtext,
.page-fishing-games__light-bg .page-fishing-games__faq-answer p {
  color: #333333;
}

.page-fishing-games__light-bg .page-fishing-games__link {
  color: var(--goplay06-primary);
}

/* Buttons */
.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary {
  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;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
  border: 2px solid transparent;
}

.page-fishing-games__btn-primary {
  background: var(--goplay06-button-gradient);
  color: #ffffff;
}

.page-fishing-games__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(42, 209, 111, 0.4);
}

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

.page-fishing-games__btn-secondary:hover {
  background-color: var(--goplay06-primary);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(17, 168, 78, 0.3);
}

.page-fishing-games__btn-small {
  padding: 10px 20px;
  font-size: 1em;
}

/* Hero Section */
.page-fishing-games__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 10px; /* Small top padding, body handles header offset */
  padding-bottom: 60px;
  overflow: hidden;
}

.page-fishing-games__hero-image-wrapper {
  width: 100%;
  max-height: 70vh; /* Limit height to prevent excessive size on large screens */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 30px;
}

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

.page-fishing-games__hero-content {
  text-align: center;
  max-width: 900px;
  padding: 0 20px;
  z-index: 1;
}

.page-fishing-games__main-title {
  font-size: clamp(2.5em, 5vw, 3.8em); /* Clamp H1 size */
  font-weight: 800;
  color: var(--goplay06-gold);
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 0 0 10px rgba(242, 193, 78, 0.5);
}

.page-fishing-games__description {
  font-size: 1.2em;
  color: var(--goplay06-text-secondary);
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

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

/* Why Choose Section */
.page-fishing-games__why-choose-section {
  padding: 80px 0;
}

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

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

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

.page-fishing-games__feature-icon {
  width: 100px;
  height: 100px;
  margin-bottom: 20px;
  object-fit: contain;
}

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

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

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

.page-fishing-games__game-cards-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(--goplay06-card-bg);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--goplay06-border);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

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

.page-fishing-games__game-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.page-fishing-games__game-card .page-fishing-games__game-title,
.page-fishing-games__game-card .page-fishing-games__game-description,
.page-fishing-games__game-card .page-fishing-games__btn-primary {
  padding: 0 20px;
}

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

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

.page-fishing-games__game-card .page-fishing-games__btn-primary {
  margin-bottom: 20px;
  margin-top: auto; /* Push button to bottom */
}

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

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

.page-fishing-games__step-card {
  background-color: var(--goplay06-card-bg);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--goplay06-border);
  display: flex;
  flex-direction: column;
}

.page-fishing-games__step-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.page-fishing-games__step-card .page-fishing-games__step-title,
.page-fishing-games__step-card .page-fishing-games__step-description,
.page-fishing-games__step-card .page-fishing-games__btn-primary {
  padding: 0 20px;
}

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

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

.page-fishing-games__step-card .page-fishing-games__btn-primary {
  margin-bottom: 20px;
  margin-top: auto;
}

/* Tips and Strategies Section */
.page-fishing-games__tips-strategies-section {
  padding: 80px 0;
}

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

.page-fishing-games__list-item {
  background-color: #f2fff6;
  color: #333333;
  padding: 20px;
  margin-bottom: 15px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  font-size: 1.1em;
  border-left: 5px solid var(--goplay06-primary);
}

.page-fishing-games__list-item strong {
  color: var(--goplay06-deep-green);
}

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

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

.page-fishing-games__promotion-card {
  background-color: var(--goplay06-card-bg);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--goplay06-border);
  display: flex;
  flex-direction: column;
}

.page-fishing-games__promotion-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.page-fishing-games__promotion-card .page-fishing-games__promotion-title,
.page-fishing-games__promotion-card .page-fishing-games__promotion-description,
.page-fishing-games__promotion-card .page-fishing-games__btn-primary {
  padding: 0 20px;
}

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

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

.page-fishing-games__promotion-card .page-fishing-games__btn-primary {
  margin-bottom: 20px;
  margin-top: auto;
}

.page-fishing-games__promotion-footer {
  text-align: center;
  margin-top: 40px;
  font-style: italic;
}

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

.page-fishing-games__faq-list {
  margin-top: 40px;
  display: grid;
  gap: 15px;
}

.page-fishing-games__faq-item {
  background-color: #f2fff6;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  border: 1px solid var(--goplay06-border);
}

.page-fishing-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  font-size: 1.15em;
  font-weight: bold;
  color: #333333;
  cursor: pointer;
  background-color: #e6f7ed;
  border-bottom: 1px solid #d9d9d9;
  list-style: none; /* For details summary */
}

.page-fishing-games__faq-question::-webkit-details-marker {
  display: none;
}

.page-fishing-games__faq-question:hover {
  background-color: #d9f0e1;
}

.page-fishing-games__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  color: var(--goplay06-primary);
}

.page-fishing-games__faq-answer {
  padding: 20px;
  font-size: 1em;
  color: #555555;
  background-color: #ffffff;
  border-top: 1px solid #eeeeee;
}

.page-fishing-games__faq-answer p {
  margin-bottom: 10px;
  color: #555555;
}

.page-fishing-games__faq-answer p:last-child {
  margin-bottom: 0;
}

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

/* Responsive Design */
/* All images responsive by default */
.page-fishing-games img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* All video responsive by default */
.page-fishing-games video,
.page-fishing-games__video {
  max-width: 100%;
  width: 100%;
  height: auto;
  display: block;
}

/* Video container responsive by default */
.page-fishing-games__video-section,
.page-fishing-games__video-container,
.page-fishing-games__video-wrapper {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

@media (max-width: 768px) {
  .page-fishing-games__hero-section {
    padding-bottom: 40px;
  }

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

  .page-fishing-games__description {
    font-size: 1em;
  }

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

  .page-fishing-games__btn-primary,
  .page-fishing-games__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
  }

  .page-fishing-games__section-title {
    font-size: clamp(1.8em, 7vw, 2.2em);
    margin-bottom: 30px;
  }

  .page-fishing-games__text-block {
    font-size: 0.95em;
  }

  .page-fishing-games__features-grid,
  .page-fishing-games__game-cards-grid,
  .page-fishing-games__steps-grid,
  .page-fishing-games__promotions-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-fishing-games__feature-card,
  .page-fishing-games__game-card,
  .page-fishing-games__step-card,
  .page-fishing-games__promotion-card,
  .page-fishing-games__faq-item {
    padding: 20px;
  }

  .page-fishing-games__container {
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-fishing-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .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-section,
  .page-fishing-games__video-container,
  .page-fishing-games__video-wrapper {
    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-section {
    padding-top: 10px !important; /* body already handles --header-offset */
  }

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

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

  .page-fishing-games__list-item {
    padding: 15px;
    font-size: 1em;
  }

  .page-fishing-games__introduction-section,
  .page-fishing-games__why-choose-section,
  .page-fishing-games__popular-games-section,
  .page-fishing-games__how-to-play-section,
  .page-fishing-games__tips-strategies-section,
  .page-fishing-games__promotions-section,
  .page-fishing-games__faq-section,
  .page-fishing-games__cta-section {
    padding: 40px 0;
  }
}