/* style/fishing-games.css */

/* Base Styles */
.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 is handled by shared.css */
}

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

.page-fishing-games__section-title {
  font-size: 2.5em;
  color: #ffffff;
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
}

.page-fishing-games__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #017439;
  border-radius: 2px;
}

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

/* Buttons */
.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  text-align: center;
  box-sizing: border-box;
  max-width: 100%; /* Ensure button adapts to container */
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text wrapping */
}

.page-fishing-games__btn-primary {
  background-color: #C30808; /* Login/Register color */
  color: #FFFF00; /* Login/Register font color */
  border: 2px solid #C30808;
}

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

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

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

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

/* Hero Section */
.page-fishing-games__hero-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 600px;
  padding: 80px 0;
  padding-top: var(--header-offset, 120px); /* Desktop padding-top */
  background-color: #017439; /* Using brand color for hero background */
  position: relative;
  overflow: hidden;
}

.page-fishing-games__hero-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.page-fishing-games__hero-content {
  flex: 1;
  padding-right: 40px;
  max-width: 60%;
  z-index: 1;
}

.page-fishing-games__hero-title {
  font-size: 3.5em;
  color: #FFFF00; /* Highlighted title */
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-fishing-games__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #ffffff;
}

.page-fishing-games__hero-image-wrapper {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 40%;
  z-index: 1;
}

.page-fishing-games__hero-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  min-width: 200px; /* Minimum size requirement */
  min-height: 200px; /* Minimum size requirement */
}

/* Intro Section */
.page-fishing-games__intro-section {
  padding: 80px 0;
  background-color: #ffffff; /* Light background */
  color: #333333; /* Dark text for light background */
}

.page-fishing-games__intro-section .page-fishing-games__section-title,
.page-fishing-games__intro-section .page-fishing-games__text-block {
  color: #333333;
}

.page-fishing-games__intro-section .page-fishing-games__section-title::after {
  background-color: #017439;
}

/* Video Section */
.page-fishing-games__video-section {
  padding: 80px 0;
  background-color: #1a1a2e; /* Dark background from body */
  color: #ffffff; /* Light text */
}

.page-fishing-games__video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  max-width: 100%;
  background: #000;
  margin: 0 auto 40px auto;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.page-fishing-games__video-wrapper .page-fishing-games__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  min-width: 200px; /* Minimum size requirement */
  min-height: 200px; /* Minimum size requirement */
}

.page-fishing-games__video-link-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 10;
  cursor: pointer;
}

/* Game Types Section */
.page-fishing-games__game-types-section {
  padding: 80px 0;
  background-color: #ffffff;
  color: #333333;
}

.page-fishing-games__game-types-section .page-fishing-games__section-title,
.page-fishing-games__game-types-section .page-fishing-games__text-block {
  color: #333333;
}

.page-fishing-games__game-types-section .page-fishing-games__section-title::after {
  background-color: #017439;
}

.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: #f8f8f8;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  padding: 25px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 200px; /* Minimum card height for content */
}

.page-fishing-games__card-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  min-width: 200px; /* Minimum size requirement */
  min-height: 200px; /* Minimum size requirement */
}

.page-fishing-games__card-title {
  font-size: 1.8em;
  color: #017439;
  margin-bottom: 15px;
}

.page-fishing-games__card-description {
  font-size: 1em;
  color: #555555;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-fishing-games__card .page-fishing-games__btn-primary {
  width: auto;
  margin-top: auto; /* Push button to bottom */
}

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

.page-fishing-games__ordered-list {
  list-style-type: decimal;
  padding-left: 25px;
  margin-top: 30px;
}

.page-fishing-games__ordered-list li {
  margin-bottom: 15px;
  font-size: 1.1em;
}

.page-fishing-games__ordered-list li strong {
  color: #FFFF00;
}

.page-fishing-games__content-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 40px auto 0 auto;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  min-width: 200px; /* Minimum size requirement */
  min-height: 200px; /* Minimum size requirement */
}

/* Strategies Section */
.page-fishing-games__strategies-section {
  padding: 80px 0;
  background-color: #ffffff;
  color: #333333;
}

.page-fishing-games__strategies-section .page-fishing-games__section-title,
.page-fishing-games__strategies-section .page-fishing-games__text-block {
  color: #333333;
}

.page-fishing-games__strategies-section .page-fishing-games__section-title::after {
  background-color: #017439;
}

.page-fishing-games__unordered-list {
  list-style-type: disc;
  padding-left: 25px;
  margin-top: 30px;
}

.page-fishing-games__unordered-list li {
  margin-bottom: 10px;
  font-size: 1.1em;
}

.page-fishing-games__unordered-list li strong {
  color: #017439;
}

/* Advantages Section */
.page-fishing-games__advantages-section {
  padding: 80px 0;
  background-color: #1a1a2e;
  color: #ffffff;
}

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

.page-fishing-games__feature-item {
  text-align: center;
  padding: 30px 20px;
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-fishing-games__feature-icon {
  width: 200px;
  height: 200px;
  object-fit: contain;
  margin: 0 auto 20px auto;
  min-width: 200px; /* Minimum size requirement */
  min-height: 200px; /* Minimum size requirement */
}

.page-fishing-games__feature-title {
  font-size: 1.5em;
  color: #FFFF00;
  margin-bottom: 10px;
}

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

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

.page-fishing-games__promotions-section .page-fishing-games__section-title,
.page-fishing-games__promotions-section .page-fishing-games__text-block {
  color: #333333;
}

.page-fishing-games__promotions-section .page-fishing-games__section-title::after {
  background-color: #017439;
}

.page-fishing-games__promo-list {
  list-style-type: '⭐ ';
  padding-left: 20px;
  margin-top: 30px;
}

.page-fishing-games__promo-list li {
  margin-bottom: 10px;
  font-size: 1.1em;
}

.page-fishing-games__promo-list li strong {
  color: #017439;
}

/* FAQ Section */
.page-fishing-games__faq-section {
  padding: 80px 0;
  background-color: #1a1a2e;
  color: #ffffff;
}

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

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

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

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

.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-toggle {
  transform: rotate(45deg); /* Plus to X / Minus */
}

.page-fishing-games__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

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

.page-fishing-games__faq-answer p {
  font-size: 1em;
  color: #cccccc;
  margin: 0;
}

/* CTA Section */
.page-fishing-games__cta-section {
  padding: 80px 0;
  text-align: center;
  background-color: #017439;
  color: #ffffff;
}

.page-fishing-games__cta-section .page-fishing-games__section-title {
  color: #FFFF00;
}

.page-fishing-games__cta-section .page-fishing-games__text-block {
  max-width: 800px;
  margin: 0 auto 30px auto;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-fishing-games__hero-title {
    font-size: 3em;
  }
  .page-fishing-games__section-title {
    font-size: 2em;
  }
  .page-fishing-games__hero-content,
  .page-fishing-games__hero-image-wrapper {
    max-width: 50%;
  }
}

@media (max-width: 768px) {
  .page-fishing-games__hero-section {
    flex-direction: column;
    text-align: center;
    padding-top: var(--header-offset, 120px) !important; /* Mobile padding-top */
  }
  .page-fishing-games__hero-container {
    flex-direction: column;
  }
  .page-fishing-games__hero-content {
    padding-right: 0;
    max-width: 100%;
  }
  .page-fishing-games__hero-title {
    font-size: 2.5em;
  }
  .page-fishing-games__hero-image-wrapper {
    max-width: 90%;
    margin-top: 40px;
  }
  .page-fishing-games__hero-image {
    width: 100%;
  }
  .page-fishing-games__game-cards {
    grid-template-columns: 1fr;
  }
  .page-fishing-games__feature-grid {
    grid-template-columns: 1fr;
  }
  .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-left: 15px;
    padding-right: 15px;
  }

  /* Mobile image and video responsiveness */
  .page-fishing-games img,
  .page-fishing-games video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-fishing-games__video-wrapper,
  .page-fishing-games__container,
  .page-fishing-games__hero-section,
  .page-fishing-games__intro-section,
  .page-fishing-games__video-section,
  .page-fishing-games__game-types-section,
  .page-fishing-games__how-to-play-section,
  .page-fishing-games__strategies-section,
  .page-fishing-games__advantages-section,
  .page-fishing-games__promotions-section,
  .page-fishing-games__faq-section,
  .page-fishing-games__cta-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
    overflow-x: hidden !important;
  }
  /* Reset padding for sections to allow container to manage it */
  .page-fishing-games__hero-section,
  .page-fishing-games__intro-section,
  .page-fishing-games__video-section,
  .page-fishing-games__game-types-section,
  .page-fishing-games__how-to-play-section,
  .page-fishing-games__strategies-section,
  .page-fishing-games__advantages-section,
  .page-fishing-games__promotions-section,
  .page-fishing-games__faq-section,
  .page-fishing-games__cta-section {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .page-fishing-games__feature-icon {
    min-width: 200px;
    min-height: 200px;
    width: 100px; /* Resetting to original smaller size for display, but min-width ensures it's not too small */
    height: 100px;
    object-fit: contain;
  }
}

@media (max-width: 480px) {
  .page-fishing-games__hero-title {
    font-size: 2em;
  }
  .page-fishing-games__section-title {
    font-size: 1.8em;
  }
  .page-fishing-games__hero-description,
  .page-fishing-games__text-block,
  .page-fishing-games__ordered-list li,
  .page-fishing-games__unordered-list li,
  .page-fishing-games__promo-list li {
    font-size: 1em;
  }
  .page-fishing-games__faq-question {
    font-size: 1em;
    padding: 15px 20px;
  }
  .page-fishing-games__faq-answer {
    padding: 0 20px;
  }
  .page-fishing-games__faq-item.active .page-fishing-games__faq-answer {
    padding: 15px 20px;
  }
}