/* style/fishing-games.css */
.page-fishing-games {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: #000000; /* Ensure consistency with body 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: 2.8em;
  color: #FFD700; /* Golden brand color */
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-fishing-games__text-block {
  font-size: 1.1em;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 30px auto;
  color: #f0f0f0;
}

.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  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;
}

.page-fishing-games__btn-primary {
  background-color: #FFD700; /* Golden */
  color: #8B0000; /* Deep Red for contrast */
  border: 2px solid #FFD700;
}

.page-fishing-games__btn-primary:hover {
  background-color: #e6c200;
  color: #6a0000;
}

.page-fishing-games__btn-secondary {
  background-color: transparent;
  color: #FFD700; /* Golden */
  border: 2px solid #FFD700;
}

.page-fishing-games__btn-secondary:hover {
  background-color: #FFD700;
  color: #8B0000;
}

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

.page-fishing-games__hero-section {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 600px;
  padding: 60px 20px;
  padding-top: var(--header-offset, 120px); /* Ensure space for fixed header */
  text-align: center;
  overflow: hidden;
  background-color: #000000;
  flex-direction: column;
}

.page-fishing-games__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

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

.page-fishing-games__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  color: #ffffff;
}

.page-fishing-games__hero-title {
  font-size: 4em;
  margin-bottom: 20px;
  color: #FFD700;
  text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.7);
}

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

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

/* Intro Section */
.page-fishing-games__intro-section {
  padding: 80px 0;
  background-color: #0d0d0d;
}

.page-fishing-games__video-section {
  margin-top: 40px;
  text-align: center;
}

.page-fishing-games__video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  height: 0;
  overflow: hidden;
  max-width: 100%;
  margin: 0 auto;
  background-color: #000;
  border-radius: 10px;
}

.page-fishing-games__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  border-radius: 10px;
}

.page-fishing-games__video-caption {
  color: #f0f0f0;
  margin-top: 15px;
  font-style: italic;
}

/* Features Section */
.page-fishing-games__features-section {
  padding: 80px 0;
  background-color: #1a1a1a;
}

.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.08);
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

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

.page-fishing-games__feature-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-fishing-games__card-title {
  font-size: 1.6em;
  color: #FFD700;
  margin-bottom: 15px;
}

.page-fishing-games__card-description {
  font-size: 1em;
  color: #cccccc;
}

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

.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-card {
  background-color: #1a1a1a;
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  color: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-fishing-games__step-card .page-fishing-games__card-title {
  color: #FFD700;
  font-size: 1.4em;
}

.page-fishing-games__step-card .page-fishing-games__card-description {
  color: #cccccc;
  margin-bottom: 20px;
}

/* Promotions Section */
.page-fishing-games__promotions-section {
  padding: 80px 0;
  background-color: #1a1a1a;
}

.page-fishing-games__promo-card {
  display: flex;
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  overflow: hidden;
  margin-top: 40px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  align-items: center;
}

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

.page-fishing-games__promo-content {
  width: 50%;
  padding: 30px;
  color: #ffffff;
}

.page-fishing-games__promo-content .page-fishing-games__card-title {
  color: #FFD700;
  font-size: 1.8em;
  text-align: left;
}

.page-fishing-games__promo-content .page-fishing-games__card-description {
  color: #cccccc;
  text-align: left;
  margin-bottom: 25px;
}

/* Advantages Section */
.page-fishing-games__advantages-section {
  padding: 80px 0;
  background-color: #0d0d0d;
}

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

.page-fishing-games__advantage-item {
  background-color: rgba(255, 255, 255, 0.08);
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  color: #ffffff;
}

.page-fishing-games__advantage-title {
  font-size: 1.6em;
  color: #FFD700;
  margin-bottom: 10px;
}

.page-fishing-games__advantage-description {
  color: #cccccc;
}

/* Download Section */
.page-fishing-games__download-section {
  padding: 80px 0;
  background-color: #1a1a1a;
}

.page-fishing-games__download-content {
  display: flex;
  align-items: center;
  gap: 40px;
}

.page-fishing-games__download-text {
  flex: 1;
  color: #ffffff;
}

.page-fishing-games__download-text .page-fishing-games__section-title {
  text-align: left;
}

.page-fishing-games__download-text .page-fishing-games__text-block {
  text-align: left;
  margin-left: 0;
  margin-right: 0;
}

.page-fishing-games__download-buttons {
  display: flex;
  gap: 20px;
  margin-top: 30px;
}

.page-fishing-games__download-image-wrapper {
  flex: 1;
  text-align: center;
}

.page-fishing-games__download-image {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
  display: block;
  margin-left: auto;
  margin-right: auto;
}

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

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

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

.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: #FFD700;
  cursor: pointer;
  background-color: rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.page-fishing-games__faq-question:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.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: #cccccc;
}

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

/* --- Responsive Styles --- */
@media (max-width: 1024px) {
  .page-fishing-games__hero-title {
    font-size: 3.5em;
  }
  .page-fishing-games__hero-description {
    font-size: 1.2em;
  }
  .page-fishing-games__section-title {
    font-size: 2.2em;
  }
  .page-fishing-games__promo-card {
    flex-direction: column;
  }
  .page-fishing-games__promo-image,
  .page-fishing-games__promo-content {
    width: 100%;
  }
  .page-fishing-games__promo-content {
    text-align: center;
  }
  .page-fishing-games__promo-content .page-fishing-games__card-title,
  .page-fishing-games__promo-content .page-fishing-games__card-description {
    text-align: center;
  }
  .page-fishing-games__download-content {
    flex-direction: column;
  }
  .page-fishing-games__download-text .page-fishing-games__section-title,
  .page-fishing-games__download-text .page-fishing-games__text-block {
    text-align: center;
  }
  .page-fishing-games__download-buttons {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .page-fishing-games {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-fishing-games__container {
    padding: 0 15px;
  }
  .page-fishing-games__hero-section {
    padding: 40px 15px;
    padding-top: var(--header-offset, 120px) !important; /* Ensure space for fixed header on mobile */
  }
  .page-fishing-games__hero-title {
    font-size: 2.5em;
  }
  .page-fishing-games__hero-description {
    font-size: 1em;
  }
  .page-fishing-games__hero-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__cta-buttons {
    flex-direction: column;
  }
  .page-fishing-games__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }
  .page-fishing-games__text-block {
    font-size: 0.95em;
  }
  .page-fishing-games__features-grid,
  .page-fishing-games__steps-grid,
  .page-fishing-games__advantage-list {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-fishing-games__promo-card {
    margin-top: 30px;
  }
  .page-fishing-games__promo-image {
    width: 100%;
    height: auto;
  }
  .page-fishing-games__promo-content {
    padding: 20px;
  }
  .page-fishing-games__download-content {
    gap: 20px;
  }
  .page-fishing-games__download-buttons {
    flex-direction: column;
    gap: 15px;
  }
  /* Mobile image responsiveness */
  .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,
  .page-fishing-games__hero-section,
  .page-fishing-games__intro-section,
  .page-fishing-games__features-section,
  .page-fishing-games__how-to-play-section,
  .page-fishing-games__promotions-section,
  .page-fishing-games__advantages-section,
  .page-fishing-games__download-section,
  .page-fishing-games__faq-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important; /* Prevent horizontal scroll */
  }
  /* Mobile 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-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-wrapper {
    padding-bottom: 56.25% !important; /* Ensure aspect ratio on mobile */
  }
  .page-fishing-games__faq-question {
    font-size: 1.1em;
    padding: 15px 20px;
  }
  .page-fishing-games__faq-answer {
    padding: 15px 20px;
  }
}

@media (max-width: 480px) {
  .page-fishing-games__hero-title {
    font-size: 2em;
  }
  .page-fishing-games__section-title {
    font-size: 1.6em;
  }
  .page-fishing-games__hero-buttons {
    flex-direction: column;
  }
  .page-fishing-games__download-buttons {
    flex-direction: column;
  }
}

/* Color Contrast Fixes (if needed) */
.page-fishing-games__dark-bg {
  background-color: #000000;
  color: #ffffff;
}

.page-fishing-games__light-bg {
  background-color: #1a1a1a;
  color: #ffffff;
}

.page-fishing-games__card.page-fishing-games__dark-bg {
  background-color: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

.page-fishing-games__step-card.page-fishing-games__light-bg {
  background-color: #1a1a1a;
  color: #ffffff;
}