/* style/fishing-games.css */

/* Variables */
:root {
  --page-fishing-games-primary-color: #11A84E;
  --page-fishing-games-secondary-color: #22C768;
  --page-fishing-games-card-bg: #11271B;
  --page-fishing-games-background: #08160F;
  --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-button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
}

/* Base styles for the page content */
.page-fishing-games {
  background-color: var(--page-fishing-games-background);
  color: var(--page-fishing-games-text-main);
  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 {
  padding: 60px 0;
  text-align: center;
}

.page-fishing-games__dark-section {
  background-color: var(--page-fishing-games-background);
  color: var(--page-fishing-games-text-main);
}

.page-fishing-games__light-bg {
  background-color: #F2FFF6; /* Use a lighter green/white for contrast */
  color: #333333;
}

.page-fishing-games__section-title {
  font-size: 2.8em;
  font-weight: bold;
  margin-bottom: 20px;
  color: var(--page-fishing-games-gold);
  letter-spacing: 1px;
}

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

.page-fishing-games__text-block {
  font-size: 1.1em;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-fishing-games__hero-image-wrapper {
  width: 100%;
  max-height: 700px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

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

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

.page-fishing-games__main-title {
  font-size: clamp(2.5em, 5vw, 3.5em);
  font-weight: 900;
  color: var(--page-fishing-games-gold);
  margin-bottom: 20px;
  line-height: 1.2;
  letter-spacing: 1px;
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.page-fishing-games__hero-description {
  font-size: 1.3em;
  color: var(--page-fishing-games-text-main);
  margin-bottom: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  text-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
}

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

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

.page-fishing-games__btn-primary {
  background: var(--page-fishing-games-button-gradient);
  color: #ffffff;
  border: 2px solid transparent;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-fishing-games__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
  opacity: 0.9;
}

.page-fishing-games__btn-secondary {
  background: #ffffff;
  color: var(--page-fishing-games-primary-color);
  border: 2px solid var(--page-fishing-games-primary-color);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.page-fishing-games__btn-secondary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  background: var(--page-fishing-games-primary-color);
  color: #ffffff;
}

/* Intro Section */
.page-fishing-games__intro-section {
  background-color: var(--page-fishing-games-text-main);
  color: #333333;
}

.page-fishing-games__intro-section .page-fishing-games__text-block {
  color: #555555;
}

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

.page-fishing-games__grid-item {
  text-align: left;
  background-color: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.page-fishing-games__grid-item .page-fishing-games__image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

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

.page-fishing-games__feature-list {
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
}

.page-fishing-games__feature-list li {
  margin-bottom: 10px;
  padding-left: 25px;
  position: relative;
  color: #555555;
}

.page-fishing-games__feature-list li::before {
  content: '✔';
  color: var(--page-fishing-games-primary-color);
  position: absolute;
  left: 0;
  font-weight: bold;
}

/* How-To-Play Section */
.page-fishing-games__how-to-play-section {
  background-color: var(--page-fishing-games-deep-green);
  color: var(--page-fishing-games-text-main);
}

.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(--page-fishing-games-card-bg);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.page-fishing-games__step-icon {
  background: var(--page-fishing-games-gold);
  color: #000000;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8em;
  font-weight: bold;
  margin-bottom: 20px;
}

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

.page-fishing-games__step-card p {
  color: var(--page-fishing-games-text-secondary);
  margin-bottom: 20px;
}

/* Promotions Section */
.page-fishing-games__promotions-section {
  background-color: var(--page-fishing-games-text-main);
  color: #333333;
}

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

.page-fishing-games__card {
  background-color: #ffffff;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

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

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

.page-fishing-games__card p {
  color: #555555;
  margin-bottom: 20px;
  flex-grow: 1;
}

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

/* Features Section */
.page-fishing-games__features-section {
  background-color: var(--page-fishing-games-background);
  color: var(--page-fishing-games-text-main);
}

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

.page-fishing-games__feature-item {
  background-color: var(--page-fishing-games-card-bg);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

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

.page-fishing-games__feature-name {
  font-size: 1.5em;
  color: var(--page-fishing-games-gold);
  margin-bottom: 10px;
}

.page-fishing-games__feature-item p {
  color: var(--page-fishing-games-text-secondary);
}

/* Tips Section */
.page-fishing-games__tips-section {
  background-color: var(--page-fishing-games-text-main);
  color: #333333;
}

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

.page-fishing-games__tip-card {
  background-color: #ffffff;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  text-align: left;
}

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

.page-fishing-games__tip-card p {
  color: #555555;
}

/* FAQ Section */
.page-fishing-games__faq-section {
  background-color: var(--page-fishing-games-deep-green);
  color: var(--page-fishing-games-text-main);
}

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

.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;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.page-fishing-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: bold;
  color: var(--page-fishing-games-gold);
  cursor: pointer;
  background-color: var(--page-fishing-games-card-bg);
  user-select: none; /* Prevent text selection on click */
  list-style: none; /* For details/summary native marker */
}

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

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

.page-fishing-games__faq-answer {
  padding: 0 25px 20px 25px;
  color: var(--page-fishing-games-text-secondary);
  font-size: 1em;
  line-height: 1.6;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
}

.page-fishing-games__faq-item[open] .page-fishing-games__faq-answer {
  max-height: 500px; /* Sufficient height for content */
  padding-top: 10px;
}

/* Final CTA Section */
.page-fishing-games__cta-final {
  padding: 80px 0;
  background-color: var(--page-fishing-games-text-main);
  color: #333333;
}

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

.page-fishing-games__cta-final .page-fishing-games__text-block {
  color: #555555;
}

/* Images */
.page-fishing-games img {
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: cover; /* Ensure images fill their space without distortion */
}

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

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

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

@media (max-width: 768px) {
  .page-fishing-games__section {
    padding: 40px 0;
  }

  .page-fishing-games__section-title {
    font-size: 1.8em;
  }

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

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

  .page-fishing-games__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;
    margin-left: auto;
    margin-right: auto;
  }

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

  /* Mobile image and video responsiveness */
  .page-fishing-games img {
    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__hero-section,
  .page-fishing-games__image-and-text-grid,
  .page-fishing-games__steps-grid,
  .page-fishing-games__promo-cards,
  .page-fishing-games__feature-grid,
  .page-fishing-games__tips-grid,
  .page-fishing-games__faq-list {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden;
  }

  .page-fishing-games__hero-section {
    padding-top: 10px !important;
    padding-bottom: 40px !important;
  }

  .page-fishing-games__hero-content {
    margin-top: 20px;
  }

  .page-fishing-games__feature-item,
  .page-fishing-games__grid-item,
  .page-fishing-games__step-card,
  .page-fishing-games__card,
  .page-fishing-games__tip-card {
    padding: 20px;
  }

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

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

@media (max-width: 480px) {
  .page-fishing-games__section-title {
    font-size: 1.5em;
  }

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

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

  .page-fishing-games__step-icon {
    width: 40px;
    height: 40px;
    font-size: 1.5em;
  }
}