/* style/fishing-games.css */

/* Base styles for the fishing games page */
.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 */
}

.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: #017439;
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

.page-fishing-games__sub-title {
  font-size: 1.8em;
  color: #017439;
  margin-top: 30px;
  margin-bottom: 20px;
}

.page-fishing-games__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: inherit; /* Inherit from parent section */
}

.page-fishing-games strong {
  color: #017439; /* Highlight keywords */
}

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

.page-fishing-games__list-item {
  margin-bottom: 10px;
  color: inherit;
}

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

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

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

.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;
  gap: 15px;
  margin-top: 30px;
  justify-content: center;
  flex-wrap: wrap; /* Allow wrapping on smaller screens */
}

.page-fishing-games__cta-buttons--center {
  justify-content: center;
}

/* Section Backgrounds for Contrast */
.page-fishing-games__dark-bg {
  background-color: #017439; /* Primary brand color */
  color: #ffffff; /* Light text for dark background */
  padding: 60px 0;
}

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

/* Hero Section */
.page-fishing-games__hero-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding-top: var(--header-offset, 120px); /* Fixed header offset */
  position: relative;
  overflow: hidden;
}

.page-fishing-games__hero-content {
  flex: 1;
  max-width: 60%;
  padding-left: 20px;
}

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

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

.page-fishing-games__hero-image-wrapper {
  flex: 1;
  max-width: 40%;
  display: flex;
  justify-content: flex-end;
}

.page-fishing-games__hero-image {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  object-fit: cover;
}

/* Intro Section */
.page-fishing-games__intro-section .page-fishing-games__section-title {
  color: #017439;
}

.page-fishing-games__intro-section .page-fishing-games__sub-title {
  color: #017439;
}

/* Games Section */
.page-fishing-games__games-section .page-fishing-games__section-title {
  color: #FFFF00;
}

.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: #ffffff; /* White background for cards */
  color: #333333; /* Dark text for cards */
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 25px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-fishing-games__card-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
}

.page-fishing-games__card-title {
  font-size: 1.5em;
  color: #017439;
  margin-bottom: 10px;
  font-weight: bold;
}

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

.page-fishing-games__more-games-text {
  text-align: center;
  margin-top: 40px;
  font-size: 1.1em;
}

.page-fishing-games__view-all-button {
  margin-top: 20px;
}

/* How-to-play Section */
.page-fishing-games__how-to-play-section .page-fishing-games__section-title {
  color: #017439;
}

.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-item {
  background-color: #f9f9f9;
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #333333;
}

.page-fishing-games__step-image {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
}

.page-fishing-games__step-title {
  font-size: 1.3em;
  color: #017439;
  margin-bottom: 10px;
  font-weight: bold;
}

.page-fishing-games__step-description {
  font-size: 0.95em;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-fishing-games__step-button {
  margin-top: auto; /* Push button to the bottom */
}

/* Promotions Section */
.page-fishing-games__promotions-section .page-fishing-games__section-title {
  color: #FFFF00;
}

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

.page-fishing-games__more-promos-text {
  text-align: center;
  margin-top: 40px;
  font-size: 1.1em;
}

/* Security & Support Section */
.page-fishing-games__security-support-section .page-fishing-games__section-title {
  color: #017439;
}

.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-item {
  background-color: #f9f9f9;
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #333333;
}

.page-fishing-games__feature-icon {
  width: 80px;
  height: 80px;
  object-fit: contain;
  margin-bottom: 15px;
  /* Ensure no filter is applied to change color */
}

.page-fishing-games__feature-title {
  font-size: 1.4em;
  color: #017439;
  margin-bottom: 10px;
  font-weight: bold;
}

.page-fishing-games__feature-description {
  font-size: 0.95em;
  flex-grow: 1;
}

/* FAQ Section */
.page-fishing-games__faq-section .page-fishing-games__section-title {
  color: #FFFF00;
}

.page-fishing-games__faq-list {
  margin-top: 40px;
}

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

.page-fishing-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.2em;
  font-weight: bold;
  cursor: pointer;
  background-color: #f0f0f0;
  border-bottom: 1px solid #e0e0e0;
  transition: background-color 0.3s ease;
  color: #017439;
}

.page-fishing-games__faq-question:hover {
  background-color: #e6e6e6;
}

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

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

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

.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 {
  margin-top: 0;
  margin-bottom: 0;
}

/* Conclusion Section */
.page-fishing-games__conclusion-section .page-fishing-games__section-title {
  color: #017439;
}

/* Global image styles for responsiveness and size limits */
.page-fishing-games img {
  max-width: 100%;
  height: auto;
  display: block;
  /* Ensure no filter is applied to change color */
}

/* Responsive styles */
@media (max-width: 1024px) {
  .page-fishing-games__hero-title {
    font-size: 3em;
  }

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

  .page-fishing-games__section-title {
    font-size: 2em;
  }
}

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