/* style/fishing-games.css */

/* Base styles for the page content */
.page-fishing-games {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light backgrounds */
  background-color: var(--background-color, #FFFFFF); /* Inherit from shared or default to white */
}

/* Sections */
.page-fishing-games__section-title {
  font-size: 2.5em;
  font-weight: 700;
  color: #26A9E0; /* Brand primary color for titles */
  text-align: center;
  margin-bottom: 40px;
  margin-top: 60px;
}

.page-fishing-games__sub-title {
  font-size: 1.8em;
  font-weight: 600;
  color: #26A9E0; /* Brand primary color for sub-titles */
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-fishing-games__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  text-align: justify;
}

.page-fishing-games__list {
  list-style: disc inside;
  margin-bottom: 20px;
  padding-left: 20px;
}

.page-fishing-games__ordered-list {
  list-style: decimal inside;
  margin-bottom: 20px;
  padding-left: 20px;
}

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

/* Color contrast specific classes */
.page-fishing-games__dark-section {
  background-color: #26A9E0; /* Primary brand color as background */
  color: #ffffff; /* White text for dark background */
  padding: 60px 20px;
}

.page-fishing-games__dark-section .page-fishing-games__section-title,
.page-fishing-games__dark-section .page-fishing-games__sub-title {
  color: #ffffff;
}

.page-fishing-games__light-bg {
  background-color: #ffffff; /* White background */
  color: #333333; /* Dark text for light background */
  padding: 60px 20px;
}

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

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

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

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

.page-fishing-games__main-title {
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -1px;
  color: #ffffff;
  margin-bottom: 20px;
  font-size: clamp(2.5em, 5vw, 3.8em); /* Responsive font size for H1 */
}

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

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

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

/* 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: 700;
  font-size: 1.1em;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
  text-align: center;
}

.page-fishing-games__btn-primary {
  background-color: #EA7C07; /* Login color for primary action */
  color: #ffffff;
  border: 2px solid transparent;
}

.page-fishing-games__btn-primary:hover {
  background-color: #ff912a;
}

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

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

/* Content Area */
.page-fishing-games__content-area,
.page-fishing-games__how-to-play-section,
.page-fishing-games__faq-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  box-sizing: border-box;
}

/* Features Grid */
.page-fishing-games__features-section {
  padding: 60px 20px;
  text-align: center;
}

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

.page-fishing-games__feature-card {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
  box-sizing: border-box;
}

.page-fishing-games__feature-image {
  width: 100%;
  max-width: 400px; /* Ensure images are not too wide in cards */
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
}

.page-fishing-games__card-title {
  font-size: 1.5em;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 15px;
}

.page-fishing-games__card-description {
  color: #f0f0f0;
  font-size: 1.05em;
  flex-grow: 1;
}

/* FAQ Section */
.page-fishing-games__faq-list {
  margin-top: 30px;
}

.page-fishing-games__faq-item {
  background-color: #f9f9f9;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-sizing: border-box;
}

.page-fishing-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  font-weight: 600;
  font-size: 1.15em;
  color: #333333;
  background-color: #ffffff;
  user-select: none;
  list-style: none;
}

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

.page-fishing-games__faq-toggle {
  font-size: 1.5em;
  font-weight: 500;
  color: #26A9E0;
  margin-left: 15px;
}

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

/* Conclusion Section */
.page-fishing-games__conclusion-section {
  text-align: center;
  padding: 80px 20px;
}

.page-fishing-games__conclusion-section .page-fishing-games__text-block {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #f0f0f0;
  margin-bottom: 40px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-fishing-games__section-title {
    font-size: 2em;
  }
  .page-fishing-games__main-title {
    font-size: clamp(2em, 4.5vw, 3em);
  }
  .page-fishing-games__hero-description {
    font-size: 1.1em;
  }
}

@media (max-width: 768px) {
  .page-fishing-games {
    font-size: 16px;
    line-height: 1.6;
  }

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

  .page-fishing-games__hero-content {
    padding: 0 15px;
  }

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

  .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 {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 12px 20px;
    font-size: 1em;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-fishing-games__content-area,
  .page-fishing-games__features-section,
  .page-fishing-games__how-to-play-section,
  .page-fishing-games__safety-support-section,
  .page-fishing-games__faq-section,
  .page-fishing-games__conclusion-section {
    padding: 30px 15px !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

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

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

  .page-fishing-games__text-block,
  .page-fishing-games__list-item {
    font-size: 1em;
  }

  .page-fishing-games__feature-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-fishing-games__feature-card {
    padding: 20px;
  }

  .page-fishing-games__feature-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

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

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

  /* Image, video, and container responsiveness */
  .page-fishing-games img,
  .page-fishing-games video,
  .page-fishing-games__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-fishing-games__hero-image-wrapper,
  .page-fishing-games__video-section,
  .page-fishing-games__video-container,
  .page-fishing-games__video-wrapper,
  .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;
    overflow: hidden !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-fishing-games__video-section {
    padding-top: 10px !important; /* body has padding, keep small top padding */
  }
}

@media (max-width: 480px) {
  .page-fishing-games__section-title {
    font-size: 1.5em;
  }
  .page-fishing-games__main-title {
    font-size: clamp(1.5em, 8vw, 2em);
  }
  .page-fishing-games__sub-title {
    font-size: 1.3em;
  }
  .page-fishing-games__cta-buttons {
    flex-direction: column;
    gap: 10px;
  }
}

/* Ensure video container has width: 100% for desktop as well */
.page-fishing-games__video-container {
  width: 100%; /* Ensure width is 100% for desktop */
  max-width: 1200px;
  margin: 0 auto;
  box-sizing: border-box;
}