/* style/fishing-games.css */

/* Base styles for the page content, ensuring light text on dark body background */
.page-fishing-games {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Light text on dark body background */
  background-color: transparent; /* Body background is handled by shared.css (#000) */
  padding-top: var(--header-offset, 120px); /* Fixed header offset */
}

/* Container for content sections */
.page-fishing-games__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

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

.page-fishing-games__section-description {
  font-size: 1.1em;
  color: #f0f0f0;
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

/* Paragraphs */
.page-fishing-games p {
  margin-bottom: 1em;
  color: #ffffff; /* Ensure paragraphs are light text */
}

/* Lists */
.page-fishing-games__list {
  list-style-type: disc;
  margin-left: 20px;
  margin-bottom: 1em;
  color: #ffffff;
}

.page-fishing-games__list li {
  margin-bottom: 0.5em;
  color: #ffffff; /* Ensure list items are light text */
}

/* Links within content */
.page-fishing-games a {
  color: #26A9E0; /* Brand color for links */
  text-decoration: underline;
}

.page-fishing-games a:hover {
  color: #1a7eb3;
}

/* --- Hero Section --- */
.page-fishing-games__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #000000 0%, #0d0d0d 50%, #000000 100%); /* Dark gradient background */
}

.page-fishing-games__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  opacity: 0.3; /* Slightly transparent to let background show */
}

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

.page-fishing-games__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  color: #ffffff;
}

.page-fishing-games__hero-title {
  font-size: 3.8em;
  margin-bottom: 20px;
  color: #26A9E0; /* Brand color for main title */
  font-weight: bold;
  line-height: 1.2;
}

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

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

/* --- Video Section --- */
.page-fishing-games__video-section {
  padding: 60px 20px;
  background-color: #0d0d0d; /* Slightly lighter dark background for contrast */
  text-align: center;
}

.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: 10px;
  margin-top: 30px;
}

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

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

/* --- Content Area --- */
.page-fishing-games__content-area {
  padding: 60px 20px;
  background-color: #1a1a1a; /* Dark background for content */
  color: #ffffff;
}

.page-fishing-games__image-full {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 30px 0;
  display: block;
  object-fit: cover;
}

.page-fishing-games__image-right {
  width: 100%;
  max-width: 600px; /* Example max-width for content images */
  height: auto;
  border-radius: 8px;
  margin: 30px 0 30px auto; /* Align right */
  display: block;
  object-fit: cover;
}

.page-fishing-games__image-left {
  width: 100%;
  max-width: 600px; /* Example max-width for content images */
  height: auto;
  border-radius: 8px;
  margin: 30px auto 30px 0; /* Align left */
  display: block;
  object-fit: cover;
}


/* --- Call to Action Section --- */
.page-fishing-games__cta-section {
  background: linear-gradient(90deg, #26A9E0 0%, #1a7eb3 100%); /* Brand color gradient */
  padding: 60px 20px;
  text-align: center;
  color: #ffffff;
}

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

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

/* --- 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: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  box-sizing: border-box; /* Ensure padding doesn't cause overflow */
  white-space: normal; /* Allow text to wrap */
  word-wrap: break-word; /* Allow long words to break */
}

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

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

.page-fishing-games__btn-secondary {
  background-color: transparent;
  color: #26A9E0; /* Brand color */
  border: 2px solid #26A9E0;
}

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

/* --- FAQ Section --- */
.page-fishing-games__faq-list {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-fishing-games__faq-item {
  background-color: #0d0d0d; /* Slightly lighter dark for FAQ items */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  border: 1px solid #26A9E0; /* Brand color border */
}

.page-fishing-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.2em;
  font-weight: bold;
  color: #26A9E0; /* Brand color for questions */
  cursor: pointer;
  list-style: none; /* Remove default marker for summary */
}

.page-fishing-games__faq-question::-webkit-details-marker {
  display: none; /* Hide default marker for webkit browsers */
}

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

.page-fishing-games__faq-item[open] .page-fishing-games__faq-toggle {
  transform: rotate(45deg); /* Rotate plus to form an X or minus */
}

.page-fishing-games__faq-answer {
  padding: 0 20px 20px 20px;
  font-size: 1em;
  color: #f0f0f0; /* Light text for answers */
}

/* --- Dark/Light Background Classes for Contrast (as per instructions) --- */
.page-fishing-games__dark-bg {
  color: #ffffff; /* Deep dark background, use light text */
}

.page-fishing-games__light-bg {
  color: #333333; /* Light background, use dark text */
  background: #ffffff;
}

.page-fishing-games__medium-bg {
  color: #000000; /* Default dark text for medium brightness */
  background: #FFFFFF;
}

/* --- 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__sub-title {
    font-size: 1.5em;
  }
}

@media (max-width: 768px) {
  .page-fishing-games {
    font-size: 16px;
    line-height: 1.6;
    padding-top: var(--header-offset, 120px) !important; /* Ensure mobile header offset */
  }

  .page-fishing-games__hero-section {
    padding: 60px 15px;
  }

  .page-fishing-games__hero-title {
    font-size: 2.2em;
    margin-bottom: 15px;
  }

  .page-fishing-games__hero-description {
    font-size: 1em;
    margin-bottom: 30px;
  }

  .page-fishing-games__hero-buttons,
  .page-fishing-games__cta-buttons {
    flex-direction: column;
    gap: 15px;
    width: 100%;
  }

  .page-fishing-games__btn-primary,
  .page-fishing-games__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
  }

  .page-fishing-games__container,
  .page-fishing-games__hero-content,
  .page-fishing-games__cta-content {
    padding-left: 15px;
    padding-right: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

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

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

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

  /* Images responsive */
  .page-fishing-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  /* Video responsive */
  .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;
  }
  /* Specific override for video section padding-top on mobile if needed */
  .page-fishing-games__video-section {
    padding-top: 30px !important; /* Adjust if header offset is too much for mobile */
  }

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

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