/* style/fishing-games.css */
.page-fishing-games {
  color: #ffffff; /* Body background is dark, so text is light */
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
}

/* Hero Section */
.page-fishing-games__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 600px;
  padding: 60px 20px;
  padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
  background-color: #1a1a1a; /* Dark background for hero */
  overflow: hidden;
}

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

.page-fishing-games__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.5); /* Darken image for text readability */
}

.page-fishing-games__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
  padding: 20px;
  background: rgba(0, 0, 0, 0.5); /* Semi-transparent overlay for text */
  border-radius: 10px;
}

.page-fishing-games__heading-primary {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #FFFFFF;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-fishing-games__subheading {
  font-size: 1.4em;
  margin-bottom: 30px;
  color: #f0f0f0;
}

.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;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-fishing-games__btn-primary {
  background-color: #017439;
  color: #FFFFFF;
  border: 2px solid #017439;
}

.page-fishing-games__btn-primary:hover {
  background-color: #005a2d;
  transform: translateY(-3px);
}

.page-fishing-games__btn-secondary {
  background-color: #C30808; /* Login/Register color */
  color: #FFFF00; /* Login/Register font color */
  border: 2px solid #C30808;
}

.page-fishing-games__btn-secondary:hover {
  background-color: #9c0606;
  transform: translateY(-3px);
}

.page-fishing-games__section {
  max-width: 1200px;
  margin: 40px auto;
  padding: 40px 20px;
  background: rgba(255, 255, 255, 0.05); /* Slightly transparent white for content sections on dark body */
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-fishing-games__section-title {
  font-size: 2.5em;
  color: #017439; /* Brand color for titles */
  text-align: center;
  margin-bottom: 40px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.page-fishing-games__content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.page-fishing-games__content-wrapper p {
  font-size: 1.1em;
  color: #e0e0e0;
}

.page-fishing-games__content-wrapper--reverse {
  flex-direction: row-reverse;
}

.page-fishing-games__text-block {
  flex: 1;
}

.page-fishing-games__image-block {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-fishing-games__image-full {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.page-fishing-games__sub-title {
  font-size: 1.8em;
  color: #FFFFFF;
  margin-top: 30px;
  margin-bottom: 15px;
}

/* Video Section */
.page-fishing-games__video-section {
  text-align: center;
}

.page-fishing-games__video-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
  margin-bottom: 20px;
}

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

.page-fishing-games__video-description {
  font-size: 1.1em;
  color: #e0e0e0;
  margin-bottom: 30px;
}

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

/* Game Types Grid */
.page-fishing-games__game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.page-fishing-games__game-card {
  background: rgba(255, 255, 255, 0.08); /* Darker transparent white for cards */
  border-radius: 10px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

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

.page-fishing-games__game-card-title {
  font-size: 1.5em;
  color: #017439;
  margin-bottom: 10px;
}

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

/* How to Play Steps */
.page-fishing-games__step-list {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.page-fishing-games__step-item {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

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

.page-fishing-games__step-item p {
  color: #e0e0e0;
  font-size: 1em;
  margin-bottom: 20px;
}

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

.page-fishing-games__strategy-item {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.page-fishing-games__strategy-sub-title {
  font-size: 1.5em;
  color: #017439;
  margin-bottom: 10px;
}

.page-fishing-games__strategy-item p {
  color: #cccccc;
  font-size: 1em;
}

.page-fishing-games__promotions-banner-image {
  width: 100%;
  height: auto;
  border-radius: 10px;
  margin-bottom: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-fishing-games__promo-list {
  list-style: disc inside;
  color: #e0e0e0;
  margin-left: 20px;
  margin-bottom: 30px;
}

.page-fishing-games__promo-item {
  font-size: 1.1em;
  margin-bottom: 10px;
}

.page-fishing-games__support-list {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
}

.page-fishing-games__support-item {
  background: rgba(255, 255, 255, 0.08);
  border-left: 5px solid #017439;
  padding: 15px 20px;
  margin-bottom: 15px;
  border-radius: 8px;
  font-size: 1.1em;
  color: #e0e0e0;
}

.page-fishing-games__support-item strong {
  color: #FFFFFF;
}

.page-fishing-games__faq-container {
  margin-top: 30px;
}

.page-fishing-games__faq-item {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-fishing-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  background-color: rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.page-fishing-games__faq-question h3 {
  font-size: 1.3em;
  color: #FFFFFF;
  margin: 0;
}

.page-fishing-games__faq-toggle {
  font-size: 1.8em;
  color: #017439;
  transition: transform 0.3s ease;
}

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

.page-fishing-games__faq-answer {
  padding: 0 25px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease-out, padding 0.5s ease-out;
  color: #cccccc;
  font-size: 1em;
}

.page-fishing-games__faq-item.active .page-fishing-games__faq-answer {
  max-height: 200px; /* Adjust based on content */
  padding: 15px 25px 25px;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
  .page-fishing-games__hero-content {
    padding: 15px;
  }

  .page-fishing-games__heading-primary {
    font-size: 2.8em;
  }

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

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

  .page-fishing-games__content-wrapper,
  .page-fishing-games__content-wrapper--reverse {
    flex-direction: column;
  }

  .page-fishing-games__game-grid,
  .page-fishing-games__step-list,
  .page-fishing-games__strategy-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .page-fishing-games__hero-section {
    min-height: 450px;
    padding-top: var(--header-offset, 100px);
  }

  .page-fishing-games__heading-primary {
    font-size: 2.2em;
  }

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

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

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

  .page-fishing-games__section {
    margin: 30px auto;
    padding: 30px 15px;
  }

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

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

  .page-fishing-games__game-card-title {
    font-size: 1.3em;
  }

  .page-fishing-games__step-title {
    font-size: 1.4em;
  }

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

  .page-fishing-games__faq-question h3 {
    font-size: 1.1em;
  }

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

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

@media (max-width: 480px) {
  .page-fishing-games__hero-section {
    min-height: 350px;
    padding-top: var(--header-offset, 80px);
  }

  .page-fishing-games__heading-primary {
    font-size: 1.8em;
  }

  .page-fishing-games__subheading {
    font-size: 0.9em;
  }

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

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