/* style/fishing-games.css */
.page-fishing-games {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Text color for dark body background */
  background-color: #0a0a0a; /* 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__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 600px;
  padding: 80px 20px 40px; /* Adjusted padding-top, assuming shared handles header offset */
  background-color: #0a0a0a;
  color: #ffffff;
  overflow: hidden;
}

.page-fishing-games__hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin-bottom: 40px;
}

.page-fishing-games__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #26A9E0;
  text-shadow: 0 0 10px rgba(38, 169, 224, 0.7);
}

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

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

.page-fishing-games__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.4) blur(3px); /* Darken and blur background image */
}

.page-fishing-games__cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-fishing-games__btn-primary {
  background: #26A9E0;
  color: #ffffff;
  border: 2px solid #26A9E0;
}

.page-fishing-games__btn-primary:hover {
  background: #1e87b7;
  border-color: #1e87b7;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(38, 169, 224, 0.4);
}

.page-fishing-games__btn-secondary {
  background: #ffffff;
  color: #26A9E0;
  border: 2px solid #26A9E0;
}

.page-fishing-games__btn-secondary:hover {
  background: #f0f0f0;
  color: #1e87b7;
  border-color: #1e87b7;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(255, 255, 255, 0.2);
}

.page-fishing-games__section-title {
  font-size: 2.8em;
  text-align: center;
  margin-bottom: 25px;
  color: #26A9E0;
  text-shadow: 0 0 8px rgba(38, 169, 224, 0.5);
}

.page-fishing-games__section-intro {
  font-size: 1.1em;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 50px;
  color: #cccccc;
}

.page-fishing-games__dark-section {
  background-color: #0d0d0d;
  padding: 80px 0;
}

.page-fishing-games__card {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  text-align: center;
  color: #ffffff;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

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

.page-fishing-games__why-choose {
  padding: 80px 0;
}

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

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

.page-fishing-games__feature-title {
  font-size: 1.8em;
  color: #26A9E0;
  margin-bottom: 15px;
}

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

.page-fishing-games__game-showcase {
  padding: 80px 0;
  background-color: #0a0a0a;
}

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

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

.page-fishing-games__game-name {
  font-size: 1.6em;
  margin-bottom: 10px;
}

.page-fishing-games__game-name a {
  color: #26A9E0;
  text-decoration: none;
}

.page-fishing-games__game-name a:hover {
  text-decoration: underline;
}

.page-fishing-games__game-description {
  font-size: 0.95em;
  color: #cccccc;
  margin-bottom: 20px;
}

.page-fishing-games__how-to-play {
  padding: 80px 0;
}

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

.page-fishing-games__step-item {
  position: relative;
  text-align: center;
  padding: 20px;
}

.page-fishing-games__step-number {
  width: 60px;
  height: 60px;
  background-color: #26A9E0;
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2em;
  font-weight: bold;
  margin: 0 auto 20px;
  box-shadow: 0 0 15px rgba(38, 169, 224, 0.6);
}

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

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

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

.page-fishing-games__promotions {
  padding: 80px 0;
  background-color: #0a0a0a;
}

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

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

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

.page-fishing-games__promo-title a {
  color: #26A9E0;
  text-decoration: none;
}

.page-fishing-games__promo-title a:hover {
  text-decoration: underline;
}

.page-fishing-games__promo-description {
  font-size: 0.95em;
  color: #cccccc;
  margin-bottom: 20px;
}

.page-fishing-games__video-section {
  padding: 80px 0;
  background-color: #0d0d0d;
}

.page-fishing-games__video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  max-width: 100%;
  background: #000;
  border-radius: 15px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
}

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

.page-fishing-games__faq-section {
  padding: 80px 0;
}

.page-fishing-games__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.page-fishing-games__faq-item {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  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: #ffffff;
  cursor: pointer;
  background: #26A9E0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: background-color 0.3s ease;
}

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

.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;
  background: rgba(255, 255, 255, 0.05);
}

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

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

.page-fishing-games__final-cta {
  padding: 80px 0;
  text-align: center;
  background-color: #0a0a0a;
}

/* Responsive styles */
@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: 2.2em;
  }
}

@media (max-width: 768px) {
  .page-fishing-games__hero-section {
    padding-top: var(--header-offset, 120px) !important; /* Ensure header offset is applied */
    min-height: 500px;
  }

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

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

  .page-fishing-games__cta-button {
    padding: 12px 25px;
    font-size: 1em;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

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

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

  .page-fishing-games__features-grid,
  .page-fishing-games__game-grid,
  .page-fishing-games__steps-grid,
  .page-fishing-games__promo-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-fishing-games__card {
    padding: 25px;
  }

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

  /* Mobile specific overrides for images and videos */
  .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__container,
  .page-fishing-games__hero-section,
  .page-fishing-games__why-choose,
  .page-fishing-games__game-showcase,
  .page-fishing-games__how-to-play,
  .page-fishing-games__promotions,
  .page-fishing-games__video-section,
  .page-fishing-games__faq-section,
  .page-fishing-games__final-cta,
  .page-fishing-games__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden !important;
  }

  .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;
    display: flex;
    flex-direction: column; /* Stack buttons vertically on mobile */
  }
}

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

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

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