/* style/fishing-games.css */
:root {
  --primary-color: #26A9E0;
  --secondary-color: #FFFFFF;
  --accent-color: #EA7C07;
  --text-dark: #333333;
  --text-light: #ffffff;
  --bg-light: #ffffff;
  --bg-dark: #26A9E0;
  --border-color: #e0e0e0;
}

.page-fishing-games {
  color: var(--text-dark);
  font-family: Arial, sans-serif;
  line-height: 1.6;
  padding-top: var(--header-offset, 120px); /* Account for fixed header */
}

.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(--primary-color);
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

.page-fishing-games__section-title--white {
  color: var(--text-light);
}

.page-fishing-games__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  text-align: justify;
}

.page-fishing-games__text-block--white {
  color: var(--text-light);
}

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

.page-fishing-games__btn-primary {
  background-color: var(--accent-color);
  color: var(--secondary-color);
  border: 2px solid var(--accent-color);
}

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

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

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

/* Hero Section */
.page-fishing-games__hero-section {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 80px 0;
  background-color: var(--bg-dark);
  color: var(--text-light);
  gap: 40px;
}

.page-fishing-games__hero-content {
  flex: 1;
  max-width: 600px;
  padding-left: 20px;
}

.page-fishing-games__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  line-height: 1.2;
  font-weight: bold;
  color: var(--secondary-color);
}

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

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

.page-fishing-games__hero-image-wrapper {
  flex: 1;
  max-width: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding-right: 20px;
}

.page-fishing-games__hero-image {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* About Section */
.page-fishing-games__about-section {
  padding: 80px 0;
  background-color: var(--bg-light);
}

/* Video Section */
.page-fishing-games__video-section {
  padding: 80px 0;
  background-color: var(--bg-dark);
  text-align: center;
}

.page-fishing-games__video-wrapper {
  position: relative;
  width: 100%;
  max-width: 1000px;
  margin: 40px auto;
  background-color: #000;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}

.page-fishing-games__video {
  width: 100%;
  height: auto;
  display: block;
}

.page-fishing-games__video-cta-buttons {
  margin-top: 30px;
}

/* Features Section */
.page-fishing-games__features-section {
  padding: 80px 0;
  background-color: var(--bg-light);
}

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

.page-fishing-games__feature-item {
  background-color: var(--secondary-color);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-fishing-games__feature-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  min-width: 200px;
  min-height: 200px;
}

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

.page-fishing-games__feature-description {
  font-size: 1em;
  color: var(--text-dark);
  text-align: justify;
}

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

.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(--secondary-color);
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  text-align: center;
}

.page-fishing-games__step-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 15px;
  min-width: 200px;
  min-height: 200px;
}

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

.page-fishing-games__step-description {
  font-size: 0.95em;
  color: var(--text-dark);
}

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

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

.page-fishing-games__cta-buttons--margin-top {
  margin-top: 60px;
}

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

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

.page-fishing-games__promo-card {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 25px;
  text-align: center;
  color: var(--text-light);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-fishing-games__promo-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  min-width: 200px;
  min-height: 200px;
}

.page-fishing-games__promo-title {
  font-size: 1.6em;
  color: var(--secondary-color);
  margin-bottom: 15px;
  font-weight: bold;
}

.page-fishing-games__promo-description {
  font-size: 1em;
  color: var(--text-light);
  margin-bottom: 25px;
  flex-grow: 1;
}

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

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

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

.page-fishing-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.2em;
  font-weight: bold;
  color: var(--primary-color);
  cursor: pointer;
  background-color: #f9f9f9;
  transition: background-color 0.3s ease;
}

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

.page-fishing-games__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
}

.page-fishing-games__faq-item.active .page-fishing-games__faq-toggle {
  transform: rotate(45deg);
}

.page-fishing-games__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: var(--text-dark);
}

.page-fishing-games__faq-item.active .page-fishing-games__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to show all content */
  padding: 15px 25px;
}

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

/* Final CTA Section */
.page-fishing-games__final-cta-section {
  padding: 80px 0;
  background-color: var(--bg-dark);
  text-align: center;
}

.page-fishing-games__final-cta-content {
  max-width: 900px;
}

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

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

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

@media (max-width: 768px) {
  .page-fishing-games {
    font-size: 16px;
    line-height: 1.6;
    padding-top: var(--header-offset, 120px) !important; /* Ensure header offset on mobile */
  }

  .page-fishing-games__hero-section {
    flex-direction: column-reverse;
    text-align: center;
    padding: 60px 20px;
  }

  .page-fishing-games__hero-content {
    padding-left: 0;
    max-width: 100%;
  }

  .page-fishing-games__hero-image-wrapper {
    max-width: 100%;
    padding-right: 0;
    margin-bottom: 30px;
  }

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

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

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

  .page-fishing-games__btn-primary,
  .page-fishing-games__btn-secondary,
  .page-fishing-games a[class*="button"],
  .page-fishing-games a[class*="btn"] {
    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-buttons,
  .page-fishing-games__button-group,
  .page-fishing-games__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
  }

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

  .page-fishing-games__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 0 15px;
  }

  .page-fishing-games video,
  .page-fishing-games__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-fishing-games__features-grid,
  .page-fishing-games__steps-grid,
  .page-fishing-games__promo-cards {
    grid-template-columns: 1fr;
  }

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

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

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

  .page-fishing-games__video-section {
    padding-top: var(--header-offset, 120px) !important;
  }

  .page-fishing-games__faq-question,
  .page-fishing-games__faq-answer {
    padding-left: 15px;
    padding-right: 15px;
  }
}

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

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

  .page-fishing-games__btn-primary,
  .page-fishing-games__btn-secondary {
    font-size: 1em;
    padding: 12px 20px;
  }
}