/* style/fishing-games.css */

/* Base Styles & Typography */
.page-fishing-games {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light backgrounds */
  background-color: #f5f5f5; /* Light background for the page */
}

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

.page-fishing-games__section-title {
  font-size: 2.5em;
  color: #CC0000; /* Main brand color for titles */
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

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

.page-fishing-games__text-link {
  color: #CC0000;
  text-decoration: underline;
}

.page-fishing-games__text-link:hover {
  color: #FFD700;
}

/* Color Contrast Helpers */
.page-fishing-games__dark-bg {
  background-color: #CC0000;
  color: #ffffff;
}

.page-fishing-games__light-bg {
  background-color: #f5f5f5;
  color: #333333;
}

.page-fishing-games__medium-bg {
  background-color: #FFD700;
  color: #333333;
}

/* Buttons */
.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-align: center;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  border: 2px solid transparent;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%;
}

.page-fishing-games__btn-primary {
  background-color: #CC0000;
  color: #ffffff;
  border-color: #CC0000;
}

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

.page-fishing-games__btn-secondary {
  background-color: transparent;
  color: #CC0000;
  border-color: #CC0000;
}

.page-fishing-games__btn-secondary:hover {
  background-color: #FFD700;
  color: #333333;
  border-color: #FFD700;
}

/* Hero Section */
.page-fishing-games__hero-section {
  position: relative;
  width: 100%;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
  color: #ffffff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
  padding-top: var(--header-offset, 120px); /* Apply header offset */
}

.page-fishing-games__hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

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

.page-fishing-games__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-fishing-games__hero-description {
  font-size: 1.4em;
  margin-bottom: 40px;
}

.page-fishing-games__hero-cta-group {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Sections */
.page-fishing-games__introduction-section,
.page-fishing-games__how-to-play-section,
.page-fishing-games__benefits-section,
.page-fishing-games__cta-final-section {
  padding: 80px 0;
}

.page-fishing-games__features-section,
.page-fishing-games__promotions-section,
.page-fishing-games__faq-section,
.page-fishing-games__video-section {
  padding: 80px 0;
}

/* Image Content */
.page-fishing-games__image-content {
  text-align: center;
  margin: 40px 0;
}

.page-fishing-games__responsive-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

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

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

.page-fishing-games__feature-icon {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 20px;
  border-radius: 50%;
  border: 3px solid #FFD700;
}

.page-fishing-games__feature-title {
  font-size: 1.4em;
  color: #FFD700; /* Secondary brand color for feature titles */
  margin-bottom: 15px;
  font-weight: bold;
}

.page-fishing-games__feature-description {
  font-size: 1em;
  color: #f0f0f0;
  text-align: center;
}

/* How to Play Steps */
.page-fishing-games__step-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
}

.page-fishing-games__list-item {
  background-color: #ffffff;
  border-left: 5px solid #CC0000;
  margin-bottom: 20px;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.page-fishing-games__list-title {
  font-size: 1.3em;
  color: #CC0000;
  margin-bottom: 10px;
  font-weight: bold;
}

.page-fishing-games__list-item p {
  margin-bottom: 0;
}

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

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

.page-fishing-games__promotion-card {
  background-color: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.page-fishing-games__promotion-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.page-fishing-games__card-title {
  font-size: 1.3em;
  color: #CC0000;
  margin: 20px 20px 10px 20px;
  font-weight: bold;
}

.page-fishing-games__card-description {
  font-size: 1em;
  color: #555555;
  margin: 0 20px 20px 20px;
  flex-grow: 1;
}

.page-fishing-games__promotion-card .page-fishing-games__btn-secondary {
  margin: 0 20px 20px 20px;
  align-self: flex-start;
}

/* Video Section */
.page-fishing-games__video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  height: 0;
  overflow: hidden;
  margin-top: 40px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.page-fishing-games__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  cursor: pointer;
}

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

.page-fishing-games__benefit-card {
  background-color: #ffffff;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  height: 100%;
}

/* FAQ Section */
.page-fishing-games__faq-list {
  margin-top: 40px;
}

.page-fishing-games__faq-item {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.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: #ffffff;
  cursor: pointer;
  background-color: #CC0000;
  border-radius: 8px;
  transition: background-color 0.3s ease;
}

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

.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-question {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

.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;
  background-color: #ffffff;
  color: #333333;
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
}

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

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

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

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

/* Responsive Design */
@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;
  }

  .page-fishing-games__hero-section {
    min-height: 450px;
    padding-top: var(--header-offset, 120px) !important; /* Ensure mobile header offset */
  }

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

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

  .page-fishing-games__hero-cta-group,
  .page-fishing-games__cta-group {
    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;
    box-sizing: border-box !important;
    padding: 12px 20px !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

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

  .page-fishing-games__introduction-section,
  .page-fishing-games__how-to-play-section,
  .page-fishing-games__benefits-section,
  .page-fishing-games__cta-final-section,
  .page-fishing-games__features-section,
  .page-fishing-games__promotions-section,
  .page-fishing-games__faq-section,
  .page-fishing-games__video-section {
    padding: 50px 0;
  }

  .page-fishing-games__container {
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important;
  }

  .page-fishing-games img {
    max-width: 100% !important;
    height: auto !important;
    display: block !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-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .page-fishing-games__feature-card,
  .page-fishing-games__promotion-card,
  .page-fishing-games__benefit-card {
    padding: 20px;
  }

  .page-fishing-games__feature-icon {
    width: 80px;
    height: 80px;
  }

  .page-fishing-games__feature-title {
    font-size: 1.2em;
  }

  .page-fishing-games__list-item {
    padding: 20px;
  }

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

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