/* style/fishing-games.css */

/* Fixed Navbar Spacing */
.page-fishing-games {
  padding-top: 120px; /* Desktop default spacing for fixed header */
  color: #ffffff; /* Default text color for dark body background */
  background-color: var(--dark-bg-1); /* Assume dark background from shared.css */
}

@media (max-width: 768px) {
  .page-fishing-games {
    padding-top: 100px; /* Mobile default spacing */
  }
}

/* General Section Styling */
.page-fishing-games__section {
  width: 100%;
  padding: 60px 20px;
  box-sizing: border-box;
}

.page-fishing-games__container {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.page-fishing-games__section-title {
  font-size: 36px;
  font-weight: bold;
  margin-bottom: 20px;
  color: #FFCC00; /* Auxiliary color for titles */
}

.page-fishing-games__section-description {
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 40px;
  color: #f0f0f0; /* Light text for dark backgrounds */
}

/* Color Schemes for Sections */
.page-fishing-games__dark-bg {
  background-color: #003366; /* Main brand dark blue */
  color: #ffffff;
}

.page-fishing-games__light-bg {
  background-color: #f8f9fa; /* Light background for contrast */
  color: #333333;
}

.page-fishing-games__light-bg .page-fishing-games__section-title {
  color: #003366; /* Dark blue title on light background */
}

.page-fishing-games__light-bg .page-fishing-games__section-description {
  color: #555555;
}

/* Hero Banner */
.page-fishing-games__hero-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 20px;
  gap: 40px;
  text-align: left;
}

.page-fishing-games__hero-content {
  flex: 1;
  max-width: 600px;
}

.page-fishing-games__hero-title {
  font-size: 48px;
  font-weight: bold;
  margin-bottom: 20px;
  color: #FFCC00;
  line-height: 1.2;
}

.page-fishing-games__hero-description {
  font-size: 20px;
  line-height: 1.7;
  margin-bottom: 30px;
  color: #e0e0e0;
}

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

.page-fishing-games__hero-image-wrapper {
  flex: 1;
  max-width: 600px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

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

/* Buttons */
.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary,
.page-fishing-games__btn-tertiary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  border: 2px solid transparent;
}

.page-fishing-games__btn-primary {
  background-color: #FFCC00;
  color: #003366;
}

.page-fishing-games__btn-primary:hover {
  background-color: #e6b800;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-fishing-games__btn-secondary {
  background-color: transparent;
  color: #FFCC00;
  border-color: #FFCC00;
}

.page-fishing-games__btn-secondary:hover {
  background-color: #FFCC00;
  color: #003366;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-fishing-games__btn-tertiary {
  background-color: #003366;
  color: #ffffff;
  border-color: #003366;
  padding: 10px 20px;
  font-size: 16px;
}

.page-fishing-games__btn-tertiary:hover {
  background-color: #002244;
  border-color: #002244;
  transform: translateY(-1px);
}

/* Card Styling */
.page-fishing-games__card {
  background-color: rgba(255, 255, 255, 0.05); /* Slightly transparent white for dark backgrounds */
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-fishing-games__light-bg .page-fishing-games__card {
  background-color: #ffffff; /* White for light backgrounds */
  color: #333333;
  border: 1px solid #e0e0e0;
}

.page-fishing-games__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

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

.page-fishing-games__feature-card {
  padding: 30px;
}

.page-fishing-games__feature-icon {
  width: 80px;
  height: 80px;
  margin-bottom: 20px;
  object-fit: contain;
}

.page-fishing-games__feature-title {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 15px;
  color: #FFCC00;
}

.page-fishing-games__light-bg .page-fishing-games__feature-title {
  color: #003366;
}

.page-fishing-games__feature-text {
  font-size: 16px;
  line-height: 1.6;
  color: #e0e0e0;
}

.page-fishing-games__light-bg .page-fishing-games__feature-text {
  color: #555555;
}

/* Popular Games Section */
.page-fishing-games__games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.page-fishing-games__game-card {
  overflow: hidden;
  padding: 0;
  text-align: left;
}

.page-fishing-games__game-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.page-fishing-games__game-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  border-radius: 10px 10px 0 0;
}

.page-fishing-games__game-title {
  font-size: 20px;
  font-weight: bold;
  margin: 15px 15px 10px;
  color: #FFCC00;
}

.page-fishing-games__game-desc {
  font-size: 15px;
  line-height: 1.5;
  color: #e0e0e0;
  padding: 0 15px 15px;
}

/* How To Play Section */
.page-fishing-games__steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.page-fishing-games__step-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 30px;
}

.page-fishing-games__step-number {
  width: 50px;
  height: 50px;
  background-color: #FFCC00;
  color: #003366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: bold;
  margin-bottom: 20px;
}

.page-fishing-games__step-title {
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 15px;
  color: #003366;
}

.page-fishing-games__step-text {
  font-size: 16px;
  line-height: 1.6;
  color: #555555;
  margin-bottom: 20px;
}

/* Tips Section */
.page-fishing-games__tips-list {
  list-style: none;
  padding: 0;
  text-align: left;
  max-width: 800px;
  margin: 0 auto;
}

.page-fishing-games__tip-item {
  background-color: rgba(255, 255, 255, 0.08);
  padding: 20px 25px;
  margin-bottom: 15px;
  border-radius: 8px;
  font-size: 17px;
  line-height: 1.7;
  color: #f0f0f0;
  border-left: 5px solid #FFCC00;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-fishing-games__tip-item strong {
  color: #FFCC00;
}

/* Promotions Section */
.page-fishing-games__promo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.page-fishing-games__promo-card {
  padding: 0;
  overflow: hidden;
  text-align: left;
}

.page-fishing-games__promo-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  border-radius: 10px 10px 0 0;
}

.page-fishing-games__promo-title {
  font-size: 22px;
  font-weight: bold;
  margin: 15px 15px 10px;
  color: #FFCC00;
}

.page-fishing-games__light-bg .page-fishing-games__promo-title {
  color: #003366;
}

.page-fishing-games__promo-text {
  font-size: 16px;
  line-height: 1.6;
  color: #e0e0e0;
  padding: 0 15px;
  margin-bottom: 20px;
}

.page-fishing-games__light-bg .page-fishing-games__promo-text {
  color: #555555;
}

.page-fishing-games__promo-card .page-fishing-games__btn-primary {
  margin: 0 15px 15px;
  width: calc(100% - 30px);
  box-sizing: border-box;
}

.page-fishing-games__cta-bottom {
  margin-top: 40px;
  text-align: center;
}

.page-fishing-games__cta-text {
  font-size: 20px;
  margin-bottom: 25px;
  color: #f0f0f0;
}

.page-fishing-games__light-bg .page-fishing-games__cta-text {
  color: #333333;
}

/* FAQ Section */
.page-fishing-games__faq-list {
  max-width: 900px;
  margin: 0 auto;
  text-align: left;
}

.page-fishing-games__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  overflow: hidden;
}

.page-fishing-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 5px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
}

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

.page-fishing-games__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  color: #FFCC00;
  pointer-events: none;
}

.page-fishing-games__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  line-height: 1;
  color: #FFCC00;
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
}

.page-fishing-games__faq-item.active .page-fishing-games__faq-toggle {
  color: #ffffff;
  transform: rotate(45deg); /* Use rotate for '−' effect visually */
}

.page-fishing-games__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
  padding: 0 20px;
  opacity: 0;
  font-size: 16px;
  line-height: 1.7;
  color: #f0f0f0;
}

.page-fishing-games__faq-item.active .page-fishing-games__faq-answer {
  max-height: 2000px !important;
  padding: 20px !important;
  opacity: 1;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 0 0 5px 5px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-top: none;
}

/* Final CTA Section */
.page-fishing-games__cta-final .page-fishing-games__section-title {
  color: #003366;
}

.page-fishing-games__cta-final .page-fishing-games__section-description {
  color: #555555;
}

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

/* Responsive Design */
@media (max-width: 1024px) {
  .page-fishing-games__hero-banner {
    flex-direction: column;
    text-align: center;
    padding: 60px 20px;
  }

  .page-fishing-games__hero-content {
    max-width: 100%;
  }

  .page-fishing-games__hero-image-wrapper {
    max-width: 80%;
    margin-top: 40px;
  }

  .page-fishing-games__hero-title {
    font-size: 40px;
  }

  .page-fishing-games__hero-description {
    font-size: 18px;
  }

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

  .page-fishing-games__section-title {
    font-size: 30px;
  }

  .page-fishing-games__section-description {
    font-size: 16px;
  }

  .page-fishing-games__feature-title,
  .page-fishing-games__game-title,
  .page-fishing-games__step-title,
  .page-fishing-games__promo-title {
    font-size: 20px;
  }

  .page-fishing-games__feature-text,
  .page-fishing-games__game-desc,
  .page-fishing-games__step-text,
  .page-fishing-games__promo-text {
    font-size: 15px;
  }

  .page-fishing-games__btn-primary,
  .page-fishing-games__btn-secondary {
    padding: 12px 25px;
    font-size: 16px;
  }

  .page-fishing-games__faq-question h3 {
    font-size: 17px;
  }

  .page-fishing-games__faq-toggle {
    font-size: 24px;
    width: 28px;
    height: 28px;
  }

  .page-fishing-games__faq-answer {
    font-size: 15px;
  }
}

@media (max-width: 768px) {
  .page-fishing-games__section {
    padding: 40px 15px;
  }

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

  .page-fishing-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-fishing-games__hero-banner {
    padding: 40px 15px;
  }

  .page-fishing-games__hero-title {
    font-size: 32px;
  }

  .page-fishing-games__hero-description {
    font-size: 16px;
  }

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

  .page-fishing-games__btn-primary,
  .page-fishing-games__btn-secondary {
    width: 100%;
    padding: 14px 20px;
    font-size: 17px;
  }

  .page-fishing-games__section-title {
    font-size: 26px;
  }

  .page-fishing-games__section-description {
    font-size: 15px;
  }

  .page-fishing-games__features-grid,
  .page-fishing-games__games-grid,
  .page-fishing-games__steps-grid,
  .page-fishing-games__promo-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .page-fishing-games__feature-card,
  .page-fishing-games__step-item,
  .page-fishing-games__promo-card {
    padding: 25px;
  }

  .page-fishing-games__game-image,
  .page-fishing-games__promo-image {
    height: 180px;
  }

  .page-fishing-games__tip-item {
    font-size: 15px;
    padding: 18px 20px;
  }

  .page-fishing-games__faq-question h3 {
    font-size: 16px;
  }

  .page-fishing-games__faq-toggle {
    font-size: 22px;
    width: 26px;
    height: 26px;
  }

  .page-fishing-games__faq-answer {
    padding: 15px !important;
    font-size: 14px;
  }

  .page-fishing-games__cta-text {
    font-size: 18px;
  }

  .page-fishing-games__final-buttons {
    flex-direction: column;
    gap: 15px;
  }
}