/* style/fishing-games.css */

/* Base Styles for Page */
.page-fishing-games {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Deep gray for light background */
  background-color: #FFFFFF; /* Body background is light */
}

/* Header Offset */
.page-fishing-games__hero-section {
  padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
}

/* Section Styling */
.page-fishing-games__section-title {
  font-size: 2.5em;
  color: #26A9E0; /* Brand primary color for titles */
  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: #26A9E0;
  border-radius: 2px;
}

.page-fishing-games__section-description {
  font-size: 1.1em;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px auto;
  color: #555555;
}

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

/* Hero Section */
.page-fishing-games__hero-section {
  background: linear-gradient(135deg, #26A9E0, #1a7bbd);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 80px 40px;
  min-height: 600px;
  position: relative;
  overflow: hidden;
}

.page-fishing-games__hero-content {
  flex: 1;
  max-width: 600px;
  z-index: 1;
  text-align: left;
}

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

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

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

.page-fishing-games__hero-image-wrapper {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  z-index: 1;
  position: relative;
}

.page-fishing-games__hero-image {
  max-width: 100%;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  display: block; /* Ensure it behaves as a block element */
}

/* Buttons */
.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  max-width: 100%; /* Ensure responsiveness */
  box-sizing: border-box; /* Include padding in width */
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Break long words */
}

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

.page-fishing-games__btn-primary:hover {
  background-color: #d16e06;
  border-color: #d16e06;
  transform: translateY(-2px);
}

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

.page-fishing-games__btn-secondary:hover {
  background-color: #26A9E0;
  color: #FFFFFF;
  transform: translateY(-2px);
}

/* About Section */
.page-fishing-games__about-section {
  padding: 80px 0;
  background-color: #FFFFFF; /* Light background */
  color: #333333; /* Dark text for contrast */
}

.page-fishing-games__about-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
  font-size: 1.1em;
  line-height: 1.8;
}

.page-fishing-games__text-block a {
  color: #26A9E0;
  text-decoration: underline;
}

.page-fishing-games__text-block a:hover {
  color: #1a7bbd;
}

/* Features Section */
.page-fishing-games__features-section {
  padding: 80px 0;
  background-color: #26A9E0; /* Dark background */
  color: #FFFFFF; /* Light text for contrast */
}

.page-fishing-games__features-section .page-fishing-games__section-title {
  color: #FFFFFF;
}

.page-fishing-games__features-section .page-fishing-games__section-title::after {
  background-color: #FFFFFF;
}

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

.page-fishing-games__feature-card {
  background-color: rgba(255, 255, 255, 0.1); /* Slightly transparent white for cards on dark background */
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.page-fishing-games__feature-card:hover {
  transform: translateY(-5px);
}

.page-fishing-games__feature-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block; /* Ensure it behaves as a block element */
  margin-left: auto;
  margin-right: auto;
}

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

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

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

.page-fishing-games__steps-list {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.page-fishing-games__list-item {
  background-color: #f9f9f9;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-fishing-games__list-title {
  font-size: 1.4em;
  color: #26A9E0;
  margin-bottom: 10px;
}

.page-fishing-games__list-item p {
  font-size: 1em;
  line-height: 1.7;
}

.page-fishing-games__list-item a {
  color: #EA7C07; /* Login/Register link color */
  text-decoration: underline;
}

.page-fishing-games__list-item a:hover {
  color: #d16e06;
}

/* Tips Section */
.page-fishing-games__tips-section {
  padding: 80px 0;
  background-color: #26A9E0;
  color: #FFFFFF;
}

.page-fishing-games__tips-section .page-fishing-games__section-title {
  color: #FFFFFF;
}

.page-fishing-games__tips-section .page-fishing-games__section-title::after {
  background-color: #FFFFFF;
}

.page-fishing-games__tips-list {
  list-style: disc;
  padding-left: 20px;
  max-width: 800px;
  margin: 0 auto;
  font-size: 1.1em;
  line-height: 1.8;
}

.page-fishing-games__tips-list .page-fishing-games__list-item {
  background: none;
  border: none;
  box-shadow: none;
  padding: 10px 0;
  color: #f0f0f0;
}

.page-fishing-games__tips-list .page-fishing-games__list-item strong {
  color: #FFFFFF;
}

.page-fishing-games__tips-list .page-fishing-games__list-item a {
  color: #FFFFFF;
  text-decoration: underline;
}

.page-fishing-games__tips-list .page-fishing-games__list-item a:hover {
  color: #f0f0f0;
}

/* Game Showcase Section */
.page-fishing-games__game-showcase-section {
  padding: 80px 0;
  background-color: #FFFFFF;
  color: #333333;
}

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

.page-fishing-games__game-card {
  background-color: #f9f9f9;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-fishing-games__game-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-fishing-games__game-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
}

.page-fishing-games__game-card .page-fishing-games__card-title {
  font-size: 1.4em;
  margin: 20px 15px 10px;
  color: #26A9E0;
  text-align: left;
}

.page-fishing-games__game-card .page-fishing-games__card-link {
  color: #26A9E0;
  text-decoration: none;
}

.page-fishing-games__game-card .page-fishing-games__card-link:hover {
  text-decoration: underline;
}

.page-fishing-games__game-card .page-fishing-games__card-description {
  font-size: 0.95em;
  color: #555555;
  padding: 0 15px 20px;
  text-align: left;
}

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

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

.page-fishing-games__promotions-section .page-fishing-games__section-title {
  color: #FFFFFF;
}

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

.page-fishing-games__promo-list {
  list-style: none;
  padding: 0;
  max-width: 800px;
  margin: 0 auto;
}

.page-fishing-games__promo-list .page-fishing-games__list-item {
  background-color: rgba(255, 255, 255, 0.1);
  margin-bottom: 20px;
  padding: 25px;
  border-radius: 10px;
  font-size: 1.1em;
  color: #f0f0f0;
  line-height: 1.7;
}

.page-fishing-games__promo-list .page-fishing-games__list-item strong {
  color: #FFFFFF;
  display: block;
  margin-bottom: 5px;
  font-size: 1.2em;
}

.page-fishing-games__promo-list .page-fishing-games__list-item a {
  color: #FFFFFF;
  text-decoration: underline;
}

.page-fishing-games__promo-list .page-fishing-games__list-item a:hover {
  color: #f0f0f0;
}

/* Support Section */
.page-fishing-games__support-section {
  padding: 80px 0;
  background-color: #FFFFFF;
  color: #333333;
  text-align: center;
}

.page-fishing-games__support-contact {
  font-size: 1.1em;
  line-height: 2;
}

.page-fishing-games__support-contact a {
  color: #26A9E0;
  text-decoration: underline;
}

.page-fishing-games__support-contact a:hover {
  color: #1a7bbd;
}

/* FAQ Section */
.page-fishing-games__faq-section {
  padding: 80px 0;
  background-color: #26A9E0;
  color: #FFFFFF;
}

.page-fishing-games__faq-section .page-fishing-games__section-title {
  color: #FFFFFF;
}

.page-fishing-games__faq-section .page-fishing-games__section-title::after {
  background-color: #FFFFFF;
}

.page-fishing-games__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.page-fishing-games__faq-item {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  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: 20px 30px;
  cursor: pointer;
  background-color: rgba(255, 255, 255, 0.15);
  transition: background-color 0.3s ease;
}

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

.page-fishing-games__faq-title {
  font-size: 1.3em;
  color: #FFFFFF;
  margin: 0;
  flex-grow: 1;
}

.page-fishing-games__faq-toggle {
  font-size: 1.8em;
  font-weight: bold;
  color: #FFFFFF;
  margin-left: 20px;
  transition: transform 0.3s ease;
}

.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 30px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #f0f0f0;
}

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

.page-fishing-games__faq-answer p {
  margin-bottom: 0;
  line-height: 1.7;
}

.page-fishing-games__faq-answer a {
  color: #FFFFFF;
  text-decoration: underline;
}

.page-fishing-games__faq-answer a:hover {
  color: #f0f0f0;
}

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

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


/* Responsive Design */
@media (max-width: 1024px) {
  .page-fishing-games__hero-title {
    font-size: 3em;
  }
  .page-fishing-games__hero-description {
    font-size: 1.1em;
  }
  .page-fishing-games__hero-section {
    flex-direction: column;
    text-align: center;
    padding: 60px 20px;
    min-height: auto;
  }
  .page-fishing-games__hero-content {
    max-width: 100%;
    margin-bottom: 40px;
  }
  .page-fishing-games__hero-image-wrapper {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  /* Global responsive styles for images, videos, buttons, and containers */
  .page-fishing-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  /* Ensure content area images are not smaller than 200px (this overrides the small icon restriction) */
  .page-fishing-games__feature-image,
  .page-fishing-games__game-image {
    min-width: 200px !important;
    min-height: 200px !important;
    width: 100% !important; /* Ensure it takes full width of its container */
    height: auto !important; /* Maintain aspect ratio */
  }

  .page-fishing-games video,
  .page-fishing-games__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-fishing-games__section,
  .page-fishing-games__card,
  .page-fishing-games__container,
  .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;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden !important; /* Prevent horizontal scrolling */
  }

  /* Specific padding-top for hero section on mobile if needed, matching header offset */
  .page-fishing-games__hero-section {
    padding-top: var(--header-offset, 120px) !important;
  }

  /* Buttons responsiveness */
  .page-fishing-games__btn-primary,
  .page-fishing-games__btn-secondary,
  .page-fishing-games a[class*="button"],
  .page-fishing-games a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-fishing-games__hero-buttons,
  .page-fishing-games__cta-final-section .page-fishing-games__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

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

  .page-fishing-games__hero-title {
    font-size: 2.5em;
  }

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

  .page-fishing-games__features-grid,
  .page-fishing-games__game-grid,
  .page-fishing-games__steps-list {
    grid-template-columns: 1fr;
  }

  .page-fishing-games__feature-card,
  .page-fishing-games__list-item,
  .page-fishing-games__game-card {
    padding: 20px;
  }

  .page-fishing-games__game-image {
    height: 180px; /* Adjust height for smaller screens */
  }

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

  .page-fishing-games__faq-title {
    font-size: 1.1em;
  }

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

  .page-fishing-games__faq-item.active .page-fishing-games__faq-answer {
    padding: 10px 20px 20px;
  }
}

@media (max-width: 480px) {
  .page-fishing-games__hero-title {
    font-size: 2em;
  }
  .page-fishing-games__hero-description {
    font-size: 0.9em;
  }
  .page-fishing-games__btn-primary,
  .page-fishing-games__btn-secondary {
    padding: 12px 20px;
    font-size: 1em;
  }
  .page-fishing-games__section-title {
    font-size: 1.8em;
  }
}