/* style/fishing-games.css */

/* Base Styles for the page-fishing-games scope */
.page-fishing-games {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: transparent; /* Body background is handled by shared.css */
}

/* Ensure content area uses appropriate text color based on background */
.page-fishing-games__light-bg {
  background-color: #ffffff; /* White background for light sections */
  color: #333333; /* Dark text for light background */
}

.page-fishing-games__dark-bg {
  background-color: #0A2463; /* Primary brand color for dark sections */
  color: #ffffff; /* White text for dark background */
}

.page-fishing-games__text-white {
  color: #ffffff;
}

/* Hero Section */
.page-fishing-games__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px;
  padding-top: var(--header-offset, 120px); /* Ensure space for fixed header */
  color: #ffffff;
  overflow: hidden;
}

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

.page-fishing-games__main-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: #FFD700; /* Auxiliary color for main title */
  line-height: 1.2;
}

.page-fishing-games__hero-description {
  font-size: 1.3em;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-fishing-games__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

.page-fishing-games__cta-buttons--center {
  margin-top: 30px;
}

.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;
  white-space: normal; /* Allow text to wrap */
  word-wrap: break-word; /* Break long words */
  max-width: 100%; /* Ensure button doesn't overflow */
  box-sizing: border-box; /* Include padding and border in element's total width and height */
}

.page-fishing-games__btn-primary {
  background-color: #FFD700; /* Auxiliary color */
  color: #0A2463; /* Primary color text */
  border: 2px solid #FFD700;
}

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

.page-fishing-games__btn-secondary {
  background-color: transparent;
  color: #FFD700; /* Auxiliary color text */
  border: 2px solid #FFD700;
}

.page-fishing-games__btn-secondary:hover {
  background-color: #FFD700;
  color: #0A2463;
}

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

.page-fishing-games__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3; /* Subtle background image */
}

/* General Section Styling */
.page-fishing-games__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  box-sizing: border-box;
}

.page-fishing-games__section-title {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 40px;
  color: #FFD700; /* Auxiliary color for section titles */
}

.page-fishing-games__introduction-section .page-fishing-games__section-title,
.page-fishing-games__how-to-play-section .page-fishing-games__section-title,
.page-fishing-games__promotions-section .page-fishing-games__section-title,
.page-fishing-games__video-section .page-fishing-games__section-title {
  color: #0A2463; /* Primary color for section titles in light sections */
}


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

.page-fishing-games__content-image {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 30px auto;
  border-radius: 12px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  min-width: 200px; /* Enforce minimum size */
  min-height: 200px; /* Enforce minimum size */
}

/* Game Types Section */
.page-fishing-games__game-types-section {
  padding: 60px 0;
}

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

.page-fishing-games__card {
  background-color: rgba(255, 255, 255, 0.1); /* Semi-transparent white for cards on dark background */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  color: #ffffff;
}

.page-fishing-games__light-bg-card {
  background-color: #f0f0f0; /* Light background for cards on light sections */
  color: #333333;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.page-fishing-games__card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3);
}

.page-fishing-games__card-image {
  width: 100%;
  height: 250px; /* Fixed height for consistency */
  object-fit: cover;
  min-width: 200px; /* Enforce minimum size */
  min-height: 200px; /* Enforce minimum size */
}

.page-fishing-games__card-title {
  font-size: 1.5em;
  margin: 20px 20px 10px;
  color: #FFD700; /* Auxiliary color for card titles */
}

.page-fishing-games__light-bg-card .page-fishing-games__card-title {
  color: #0A2463; /* Primary color for card titles on light cards */
}

.page-fishing-games__card-title a {
  text-decoration: none;
  color: inherit;
}

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

.page-fishing-games__card-description {
  font-size: 1em;
  padding: 0 20px 20px;
  flex-grow: 1; /* Allow description to take available space */
}

/* How to Play Section */
.page-fishing-games__how-to-play-section {
  padding: 60px 0;
}

.page-fishing-games__numbered-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
}

.page-fishing-games__numbered-list li {
  margin-bottom: 25px;
  background-color: #f9f9f9;
  padding: 20px;
  border-left: 5px solid #FFD700; /* Auxiliary color accent */
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.page-fishing-games__list-title {
  font-size: 1.3em;
  color: #0A2463; /* Primary color for list titles */
  margin-bottom: 10px;
}

.page-fishing-games__numbered-list li p {
  font-size: 1em;
  margin-top: 10px;
}

/* Strategies Section */
.page-fishing-games__strategies-section {
  padding: 60px 0;
}

.page-fishing-games__bullet-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
}

.page-fishing-games__bullet-list li {
  margin-bottom: 20px;
  padding-left: 30px;
  position: relative;
  color: #ffffff;
}

.page-fishing-games__bullet-list li::before {
  content: '•';
  color: #FFD700; /* Auxiliary color bullet */
  font-size: 1.5em;
  position: absolute;
  left: 0;
  top: -5px;
}

.page-fishing-games__bullet-list li p {
  font-size: 1em;
  margin-top: 5px;
}

/* Promotions Section */
.page-fishing-games__promotions-section {
  padding: 60px 0;
}

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

/* Why Choose Us Section */
.page-fishing-games__why-choose-us-section {
  padding: 60px 0;
}

.page-fishing-games__feature-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
  text-align: center;
}

.page-fishing-games__feature-list li {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 30px 20px;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  color: #ffffff;
}

.page-fishing-games__feature-icon {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 20px;
  min-width: 200px; /* Enforce minimum size */
  min-height: 200px; /* Enforce minimum size */
}

/* Video Section */
.page-fishing-games__video-section {
  padding: 60px 0;
}

.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: 12px;
  margin-top: 30px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.page-fishing-games__video-link {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
  z-index: 1; /* Make link clickable over video */
}

.page-fishing-games__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: none;
  min-width: 200px; /* Enforce minimum size */
  min-height: 200px; /* Enforce minimum size */
}

.page-fishing-games__video-caption {
  text-align: center;
  margin-top: 20px;
  font-size: 1.1em;
  color: #0A2463;
  font-weight: bold;
}


/* FAQ Section */
.page-fishing-games__faq-section {
  padding: 60px 0;
}

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

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

.page-fishing-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  font-size: 1.2em;
  font-weight: bold;
  color: #FFD700; /* Auxiliary color for question */
  transition: background-color 0.3s ease;
}

.page-fishing-games__faq-question:hover {
  background-color: rgba(255, 255, 255, 0.15);
}

.page-fishing-games__faq-title {
  margin: 0;
  color: inherit;
}

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

.page-fishing-games__faq-item.active .page-fishing-games__faq-toggle {
  transform: rotate(45deg); /* Change + to X or - */
}

.page-fishing-games__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  font-size: 1em;
  color: #f0f0f0;
}

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

/* Responsive Design */
@media (max-width: 1024px) {
  .page-fishing-games__main-title {
    font-size: 2.8em;
  }
  .page-fishing-games__section-title {
    font-size: 2em;
  }
  .page-fishing-games__game-cards,
  .page-fishing-games__promotion-cards,
  .page-fishing-games__feature-list {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

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

  /* Ensure content area images/videos/buttons are responsive */
  .page-fishing-games img {
    max-width: 100% !important;
    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;
  }
  
  /* Video wrapper needs explicit width for aspect ratio trick */
  .page-fishing-games__video-wrapper {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    padding-left: 15px; /* Add padding to prevent content touching edges */
    padding-right: 15px;
  }

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

  /* All containers with images/videos/buttons should be constrained */
  .page-fishing-games__section,
  .page-fishing-games__card,
  .page-fishing-games__container,
  .page-fishing-games__cta-buttons,
  .page-fishing-games__promotion-cards,
  .page-fishing-games__game-cards,
  .page-fishing-games__feature-list,
  .page-fishing-games__faq-list,
  .page-fishing-games__video-section,
  .page-fishing-games__video-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden !important;
  }
}