/* style/fishing-games.css */

/* Base styles for the fishing games page */
.page-fishing-games {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light background */
  background-color: #FFFFFF; /* Matches body background */
}

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

.page-fishing-games__highlight {
  color: #26A9E0;
  font-weight: bold;
}

/* Hero Section */
.page-fishing-games__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: 10px; /* Small top padding, body handles header offset */
  padding-bottom: 60px;
  text-align: center;
  overflow: hidden;
}

.page-fishing-games__hero-image-wrapper {
  width: 100%;
  max-height: 700px; /* Limit height for hero image */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-fishing-games__hero-image {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.page-fishing-games__hero-content {
  position: relative;
  z-index: 10;
  max-width: 800px;
  margin-top: 40px; /* Space between image and content */
  padding: 0 20px;
  color: #ffffff;
}

.page-fishing-games__main-title {
  font-size: clamp(2em, 4vw, 3.5em); /* Responsive font size for H1 */
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #ffffff;
}

.page-fishing-games__hero-description {
  font-size: 1.1em;
  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: 700;
  transition: all 0.3s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

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

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

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

.page-fishing-games__btn-secondary:hover {
  background-color: #ffffff;
  color: #26A9E0;
}

/* Section Titles */
.page-fishing-games__section-title {
  font-size: clamp(1.8em, 3vw, 2.8em);
  font-weight: 700;
  margin-bottom: 30px;
  text-align: center;
}

/* Text Blocks */
.page-fishing-games__text-block {
  font-size: 1.05em;
  margin-bottom: 20px;
  text-align: justify;
}

/* Introduction Section */
.page-fishing-games__introduction-section {
  padding: 60px 0;
  background-color: #FFFFFF;
  color: #333333;
}

/* Why Choose Section */
.page-fishing-games__why-choose-section {
  padding: 60px 0;
  background-color: #26A9E0;
  color: #ffffff;
}

.page-fishing-games__why-choose-section .page-fishing-games__section-title {
  color: #ffffff;
}

.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.1);
  transition: transform 0.3s ease;
  color: #ffffff;
}

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

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

.page-fishing-games__feature-title {
  font-size: 1.4em;
  font-weight: 600;
  margin-bottom: 15px;
  color: #ffffff;
}

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

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

.page-fishing-games__cta-center .page-fishing-games__btn-primary {
  background-color: #ffffff;
  color: #26A9E0;
  border-color: #ffffff;
}

.page-fishing-games__cta-center .page-fishing-games__btn-primary:hover {
  background-color: #e0e0e0;
  color: #26A9E0;
  border-color: #e0e0e0;
}

/* Games Showcase Section */
.page-fishing-games__games-showcase {
  padding: 60px 0;
  background-color: #f5f5f5;
  color: #333333;
}

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

.page-fishing-games__game-card {
  background-color: #ffffff;
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
  text-align: center;
}

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

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

.page-fishing-games__game-title {
  font-size: 1.3em;
  font-weight: 600;
  margin-bottom: 10px;
  color: #26A9E0;
}

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

.page-fishing-games__game-btn {
  display: inline-block;
  padding: 10px 20px;
  background-color: #EA7C07; /* Login color */
  color: #ffffff;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

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

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

.page-fishing-games__how-to-play-section .page-fishing-games__section-title {
  color: #ffffff;
}

.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: rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  color: #ffffff;
  position: relative;
  padding-top: 60px;
}

.page-fishing-games__step-number {
  position: absolute;
  top: 15px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #ffffff;
  color: #26A9E0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5em;
  font-weight: bold;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

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

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

.page-fishing-games__btn-link {
  display: inline-block;
  color: #ffffff;
  text-decoration: underline;
  font-weight: 600;
  transition: color 0.3s ease;
}

.page-fishing-games__btn-link:hover {
  color: #f0f0f0;
}

/* Promotions Section */
.page-fishing-games__promotions-section {
  padding: 60px 0;
  background-color: #FFFFFF;
  color: #333333;
}

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

.page-fishing-games__promo-item {
  background-color: #f9f9f9;
  border-left: 5px solid #26A9E0;
  border-radius: 8px;
  padding: 25px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-fishing-games__promo-title {
  font-size: 1.3em;
  font-weight: 600;
  margin-bottom: 10px;
  color: #26A9E0;
}

.page-fishing-games__promo-description {
  font-size: 0.95em;
  color: #555555;
}

/* Tips Section */
.page-fishing-games__tips-section {
  padding: 60px 0;
  background-color: #26A9E0;
  color: #ffffff;
}

.page-fishing-games__tips-section .page-fishing-games__section-title {
  color: #ffffff;
}

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

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

.page-fishing-games__tip-title {
  font-size: 1.3em;
  font-weight: 600;
  margin-bottom: 10px;
  color: #ffffff;
}

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

/* Security Section */
.page-fishing-games__security-section {
  padding: 60px 0;
  background-color: #FFFFFF;
  color: #333333;
}

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

.page-fishing-games__security-item {
  background-color: #f9f9f9;
  border-radius: 8px;
  padding: 25px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-fishing-games__security-title {
  font-size: 1.3em;
  font-weight: 600;
  margin-bottom: 10px;
  color: #26A9E0;
}

.page-fishing-games__security-description {
  font-size: 0.95em;
  color: #555555;
}

/* FAQ Section */
.page-fishing-games__faq-section {
  padding: 60px 0;
  background-color: #26A9E0;
  color: #ffffff;
}

.page-fishing-games__faq-section .page-fishing-games__section-title {
  color: #ffffff;
}

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

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

.page-fishing-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-size: 1.15em;
  font-weight: 600;
  color: #ffffff;
  list-style: none; /* For details/summary */
}

.page-fishing-games__faq-question::-webkit-details-marker {
  display: none;
}

.page-fishing-games__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
}

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

.page-fishing-games__faq-answer {
  padding: 0 25px 20px 25px;
  font-size: 1em;
  color: #f0f0f0;
}

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

.page-fishing-games__faq-answer .page-fishing-games__btn-link {
  color: #ffffff;
}

.page-fishing-games__faq-answer .page-fishing-games__btn-link:hover {
  color: #f0f0f0;
}

/* Final CTA Section */
.page-fishing-games__cta-final-section {
  padding: 60px 0;
  background-color: #FFFFFF;
  color: #333333;
  text-align: center;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-fishing-games__hero-content {
    margin-top: 20px;
  }
}

@media (max-width: 768px) {
  .page-fishing-games__container {
    padding: 0 15px;
  }

  .page-fishing-games__hero-section {
    padding-bottom: 40px;
  }

  .page-fishing-games__hero-image {
    height: 400px; /* Adjust height for smaller screens */
  }

  .page-fishing-games__main-title {
    font-size: clamp(2em, 8vw, 2.8em);
  }

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

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

  .page-fishing-games__btn-primary,
  .page-fishing-games__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-fishing-games__section-title {
    font-size: clamp(1.6em, 6vw, 2.2em);
  }

  .page-fishing-games__text-block {
    font-size: 0.95em;
  }

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

  /* Mobile image and container responsive styles */
  .page-fishing-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-fishing-games__hero-image-wrapper,
  .page-fishing-games__introduction-section,
  .page-fishing-games__why-choose-section,
  .page-fishing-games__games-showcase,
  .page-fishing-games__how-to-play-section,
  .page-fishing-games__promotions-section,
  .page-fishing-games__tips-section,
  .page-fishing-games__security-section,
  .page-fishing-games__faq-section,
  .page-fishing-games__cta-final-section,
  .page-fishing-games__feature-card,
  .page-fishing-games__game-card,
  .page-fishing-games__step-card,
  .page-fishing-games__promo-item,
  .page-fishing-games__tip-item,
  .page-fishing-games__security-item,
  .page-fishing-games__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  .page-fishing-games__hero-section {
    padding-top: 10px !important; /* body handles --header-offset */
  }

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

@media (max-width: 480px) {
  .page-fishing-games__hero-content {
    margin-top: 10px;
  }

  .page-fishing-games__main-title {
    font-size: clamp(1.8em, 9vw, 2.5em);
  }

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

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

  .page-fishing-games__section-title {
    font-size: clamp(1.4em, 7vw, 2em);
  }

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

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

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

.page-fishing-games__feature-card,
.page-fishing-games__step-card,
.page-fishing-games__faq-item {
  background-color: rgba(255, 255, 255, 0.15);
}

.page-fishing-games__game-card,
.page-fishing-games__promo-item,
.page-fishing-games__security-item {
  background-color: #ffffff;
}

.page-fishing-games__game-title,
.page-fishing-games__promo-title,
.page-fishing-games__security-title {
  color: #26A9E0;
}

.page-fishing-games__game-btn {
  background-color: #EA7C07;
  color: #ffffff;
}

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