/* style/fishing-games.css */

/* Base styles and typography */
.page-fishing-games {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Light text for dark body background */
  background-color: transparent; /* Body background handled by shared.css */
}

.page-fishing-games__section-title {
  font-size: 2.5em;
  color: #26A9E0;
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
  text-transform: uppercase;
}

.page-fishing-games__hero-title {
  font-size: 3.5em;
  color: #FFFFFF;
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
}

.page-fishing-games__hero-description {
  font-size: 1.2em;
  color: #f0f0f0;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 30px auto;
}

.page-fishing-games__section-title, .page-fishing-games__hero-title {
    color: #FFFFFF; /* Ensure titles are white on dark backgrounds */
}

/* Buttons */
.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;
  max-width: 100%;
  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: #1e87b8;
  border-color: #1e87b8;
}

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

.page-fishing-games__btn-secondary:hover {
  background: #f0f0f0;
  color: #1e87b8;
  border-color: #1e87b8;
}

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

/* Section common styles */
.page-fishing-games__hero-section,
.page-fishing-games__video-section,
.page-fishing-games__features-section,
.page-fishing-games__game-showcase,
.page-fishing-games__how-to-play,
.page-fishing-games__tips-section,
.page-fishing-games__promotions-section,
.page-fishing-games__security-section,
.page-fishing-games__faq-section,
.page-fishing-games__cta-section {
  padding: 60px 20px;
  max-width: 100%;
  box-sizing: border-box;
}

.page-fishing-games__dark-section {
  background-color: #1a1a1a; /* Dark background for sections */
  color: #ffffff;
}

/* Hero Section */
.page-fishing-games__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 700px;
  text-align: center;
  overflow: hidden;
  background-color: #0d0d0d;
}

.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.4);
}

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

/* Video Section */
.page-fishing-games__video-section {
  text-align: center;
  background-color: #0d0d0d;
}

.page-fishing-games__video-container {
  max-width: 960px;
  margin: 0 auto;
  background-color: #000;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
}

.page-fishing-games__video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
}

.page-fishing-games__video,
.page-fishing-games__video-link {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: pointer;
  display: block;
}

.page-fishing-games__video-caption {
  color: #f0f0f0;
  margin-top: 20px;
  font-size: 1.1em;
}

/* Features Section */
.page-fishing-games__features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.page-fishing-games__feature-card {
  background-color: rgba(255, 255, 255, 0.08); /* Semi-transparent white for dark bg */
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
  color: #ffffff;
}

.page-fishing-games__feature-card:hover {
  transform: translateY(-10px);
}

.page-fishing-games__feature-icon {
  width: 100%;
  height: auto;
  max-height: 200px;
  object-fit: contain;
  margin-bottom: 20px;
  border-radius: 5px;
}

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

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

/* Game Showcase */
.page-fishing-games__game-showcase {
  background-color: #0d0d0d;
}

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

.page-fishing-games__game-card {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  color: #ffffff;
}

.page-fishing-games__game-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.page-fishing-games__game-title {
  font-size: 1.8em;
  color: #26A9E0;
  margin: 20px 0 10px;
}

.page-fishing-games__game-description {
  padding: 0 20px 20px;
  color: #f0f0f0;
}

.page-fishing-games__game-button {
  display: block;
  margin: 0 20px 20px;
  padding: 12px 20px;
  background-color: #EA7C07; /* Login color for CTA */
  color: #FFFFFF;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-fishing-games__game-button:hover {
  background-color: #c76706;
}

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

.page-fishing-games__how-to-play-content {
  max-width: 900px;
  margin: 0 auto;
}

.page-fishing-games__steps-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.page-fishing-games__step-item {
  background-color: rgba(255, 255, 255, 0.08);
  margin-bottom: 20px;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  color: #ffffff;
}

.page-fishing-games__step-title {
  font-size: 1.6em;
  color: #26A9E0;
  margin-bottom: 10px;
}

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

.page-fishing-games__step-description a:hover {
  text-decoration: underline;
}

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

/* Tips Section */
.page-fishing-games__tips-section {
  background-color: #0d0d0d;
}

.page-fishing-games__tips-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.page-fishing-games__tip-card {
  background-color: rgba(255, 255, 255, 0.08);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  color: #ffffff;
}

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

.page-fishing-games__tip-description {
  font-size: 1em;
  color: #f0f0f0;
}

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

/* Promotions Section */
.page-fishing-games__promotions-section {
  text-align: center;
}

.page-fishing-games__promotions-intro {
  font-size: 1.2em;
  color: #f0f0f0;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-fishing-games__promo-list {
  list-style: none;
  padding: 0;
  margin: 0 auto 40px auto;
  max-width: 700px;
  text-align: left;
}

.page-fishing-games__promo-item {
  background-color: rgba(255, 255, 255, 0.08);
  padding: 15px 25px;
  border-radius: 8px;
  margin-bottom: 15px;
  font-size: 1.1em;
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Security Section */
.page-fishing-games__security-section {
  background-color: #0d0d0d;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

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

.page-fishing-games__security-image {
  width: 100%;
  max-width: 500px;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.page-fishing-games__security-text {
  flex: 1;
  min-width: 300px;
  color: #f0f0f0;
}

.page-fishing-games__security-text p {
  margin-bottom: 20px;
  font-size: 1.1em;
}

/* FAQ Section */
.page-fishing-games__faq-section {
  text-align: center;
}

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

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

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

.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 {
  background-color: #1e87b8;
}

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

.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: 15px;
}

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

.page-fishing-games__faq-answer a:hover {
  text-decoration: underline;
}

.page-fishing-games__faq-buttons {
    margin-top: 15px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: flex-start;
}

/* CTA Section */
.page-fishing-games__cta-section {
  text-align: center;
  background-color: #26A9E0;
  color: #FFFFFF;
  padding: 80px 20px;
}

.page-fishing-games__cta-title {
  font-size: 3em;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-fishing-games__cta-description {
  font-size: 1.3em;
  margin-bottom: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

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

/* Responsive Design */
@media (max-width: 1024px) {
  .page-fishing-games__hero-title {
    font-size: 3em;
  }
  .page-fishing-games__section-title {
    font-size: 2em;
  }
  .page-fishing-games__cta-title {
    font-size: 2.5em;
  }
  .page-fishing-games__security-content {
    flex-direction: column;
  }
}

@media (max-width: 768px) {
  .page-fishing-games__hero-section {
    min-height: 500px;
  }
  .page-fishing-games__hero-title {
    font-size: 2.2em;
  }
  .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 {
    width: 100%;
    max-width: 100% !important;
    padding: 12px 15px;
    font-size: 1em;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  
  .page-fishing-games__features-grid,
  .page-fishing-games__game-grid,
  .page-fishing-games__tips-grid {
    grid-template-columns: 1fr;
  }

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

  /* Mobile responsive images/videos/buttons */
  .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-section,
  .page-fishing-games__video-container,
  .page-fishing-games__video-wrapper,
  .page-fishing-games__section,
  .page-fishing-games__card,
  .page-fishing-games__container,
  .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;
    overflow: hidden !important;
  }

  .page-fishing-games__video-section {
    padding-top: var(--header-offset, 120px) !important; /* Ensure video section has header offset on mobile */
  }

  .page-fishing-games__cta-buttons {
    flex-direction: column; /* Stack buttons vertically on mobile */
    gap: 15px; /* Adjust gap for stacked buttons */
  }

  .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: 1.8em;
  }
  .page-fishing-games__section-title {
    font-size: 1.5em;
  }
  .page-fishing-games__cta-title {
    font-size: 1.8em;
  }
  .page-fishing-games__hero-section,
  .page-fishing-games__video-section,
  .page-fishing-games__features-section,
  .page-fishing-games__game-showcase,
  .page-fishing-games__how-to-play,
  .page-fishing-games__tips-section,
  .page-fishing-games__promotions-section,
  .page-fishing-games__security-section,
  .page-fishing-games__faq-section,
  .page-fishing-games__cta-section {
    padding: 40px 15px;
  }
  .page-fishing-games__feature-title,
  .page-fishing-games__game-title,
  .page-fishing-games__tip-title,
  .page-fishing-games__step-title {
    font-size: 1.3em;
  }
  .page-fishing-games__faq-question h3 {
    font-size: 1em;
  }
  .page-fishing-games__faq-toggle {
    font-size: 1.2em;
  }
}