/* style/fishing-games.css */

/* Root variables for colors */
:root {
  --page-fishing-games-primary-color: #26A9E0;
  --page-fishing-games-secondary-color: #FFFFFF;
  --page-fishing-games-text-dark: #333333;
  --page-fishing-games-text-light: #ffffff;
  --page-fishing-games-bg-dark: #0a0a0a; /* Body background from shared.css */
  --page-fishing-games-bg-light: #ffffff;
  --page-fishing-games-btn-login-color: #EA7C07;
}

.page-fishing-games {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--page-fishing-games-text-light); /* Default text color for dark body background */
  background-color: var(--page-fishing-games-bg-dark); /* Ensure consistency if section backgrounds are not full width */
}

.page-fishing-games a {
  color: var(--page-fishing-games-primary-color);
  text-decoration: none;
}

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

/* Section styles */
.page-fishing-games__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 20px 60px; /* Small top padding, more bottom padding */
  text-align: center;
  overflow: hidden;
  box-sizing: border-box;
}

.page-fishing-games__hero-image-wrapper {
  position: relative;
  width: 100%;
  max-height: 700px; /* Limit height for hero image */
  overflow: hidden;
  margin-bottom: 20px;
}

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

.page-fishing-games__hero-content {
  position: relative;
  z-index: 10;
  max-width: 900px;
  margin: 0 auto;
  padding: 20px;
  background: rgba(0, 0, 0, 0.5); /* Semi-transparent background for text on image */
  border-radius: 8px;
}

.page-fishing-games__main-title {
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--page-fishing-games-text-light);
  margin-bottom: 15px;
  /* No fixed large font-size, rely on clamp for responsiveness if needed */
  font-size: clamp(2.2rem, 4vw, 3.5rem);
}

.page-fishing-games__description {
  font-size: 1.15rem;
  color: var(--page-fishing-games-text-light);
  margin-bottom: 30px;
}

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

.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary,
.page-fishing-games__btn-small {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-transform: uppercase;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
  max-width: 100%;
  text-align: center;
}

.page-fishing-games__btn-primary {
  background-color: var(--page-fishing-games-primary-color);
  color: var(--page-fishing-games-text-light);
  border: 2px solid var(--page-fishing-games-primary-color);
}

.page-fishing-games__btn-primary:hover {
  background-color: darken(var(--page-fishing-games-primary-color), 10%);
  border-color: darken(var(--page-fishing-games-primary-color), 10%);
  text-decoration: none;
}

.page-fishing-games__btn-secondary {
  background-color: transparent;
  color: var(--page-fishing-games-primary-color);
  border: 2px solid var(--page-fishing-games-primary-color);
}

.page-fishing-games__btn-secondary:hover {
  background-color: var(--page-fishing-games-primary-color);
  color: var(--page-fishing-games-text-light);
  text-decoration: none;
}

.page-fishing-games__btn-small {
  padding: 8px 15px;
  font-size: 0.9rem;
  background-color: var(--page-fishing-games-btn-login-color);
  color: var(--page-fishing-games-text-light);
  border: 1px solid var(--page-fishing-games-btn-login-color);
}

.page-fishing-games__btn-small:hover {
  background-color: darken(var(--page-fishing-games-btn-login-color), 10%);
  border-color: darken(var(--page-fishing-games-btn-login-color), 10%);
  text-decoration: none;
}

/* Generic section styles */
.page-fishing-games__introduction,
.page-fishing-games__how-to-play,
.page-fishing-games__game-types,
.page-fishing-games__why-nk88,
.page-fishing-games__promotions,
.page-fishing-games__mobile-app,
.page-fishing-games__security-payments,
.page-fishing-games__customer-support,
.page-fishing-games__faq-section,
.page-fishing-games__conclusion {
  padding: 60px 0;
  box-sizing: border-box;
}

.page-fishing-games__dark-bg {
  background-color: var(--page-fishing-games-bg-dark);
  color: var(--page-fishing-games-text-light);
}

.page-fishing-games__light-bg {
  background-color: var(--page-fishing-games-bg-light);
  color: var(--page-fishing-games-text-dark);
}

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

.page-fishing-games__section-title {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: bold;
  text-align: center;
  margin-bottom: 40px;
  color: inherit;
}

.page-fishing-games p {
  margin-bottom: 20px;
  font-size: 1.05rem;
  line-height: 1.7;
  color: inherit;
}

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

.page-fishing-games__list-item {
  position: relative;
  padding-left: 30px;
  margin-bottom: 15px;
  font-size: 1.05rem;
  color: inherit;
}

.page-fishing-games__list-item::before {
  content: '✔';
  position: absolute;
  left: 0;
  color: var(--page-fishing-games-primary-color);
  font-weight: bold;
}

.page-fishing-games__list--two-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.page-fishing-games__image-full-width {
  width: 100%;
  height: auto;
  display: block;
  margin: 30px 0;
  border-radius: 8px;
  min-width: 200px;
  min-height: 200px;
}

/* Card Grid */
.page-fishing-games__card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 30px;
  margin-bottom: 30px;
}

.page-fishing-games__card {
  background-color: rgba(255, 255, 255, 0.1); /* Light background for cards on dark body */
  color: var(--page-fishing-games-text-light);
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  min-height: 400px; /* Ensure cards have a decent height */
}

.page-fishing-games__card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  min-width: 200px;
  min-height: 200px;
}

.page-fishing-games__card-title {
  font-size: 1.4rem;
  font-weight: bold;
  margin-bottom: 10px;
  color: var(--page-fishing-games-primary-color);
}

.page-fishing-games__card-text {
  font-size: 1rem;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-fishing-games__more-games-text,
.page-fishing-games__text-center {
  text-align: center;
  font-size: 1.1rem;
}

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

.page-fishing-games__promo-card {
  background-color: var(--page-fishing-games-bg-dark); /* Dark background for promo cards */
  color: var(--page-fishing-games-text-light);
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 380px;
}

.page-fishing-games__promo-image {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  min-width: 200px;
  min-height: 200px;
}

/* Mobile App Section */
.page-fishing-games__content-area--flex {
  display: flex;
  align-items: center;
  gap: 40px;
}

.page-fishing-games__text-block {
  flex: 1;
}

.page-fishing-games__image-block {
  flex: 1;
  text-align: center;
}

.page-fishing-games__image-responsive {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 8px;
  min-width: 200px;
  min-height: 200px;
}

/* FAQ Section */
.page-fishing-games__faq-list {
  margin-top: 30px;
}

.page-fishing-games__faq-item {
  background-color: rgba(255, 255, 255, 0.08); /* Slightly lighter background for FAQ on dark body */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: var(--page-fishing-games-text-light);
}

.page-fishing-games__faq-item details > summary {
  list-style: none;
}

.page-fishing-games__faq-item details > summary::-webkit-details-marker {
  display: none;
}

.page-fishing-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.15rem;
  font-weight: bold;
  cursor: pointer;
  background-color: rgba(255, 255, 255, 0.15); /* Slightly darker for question */
  border-radius: 8px;
  transition: background-color 0.3s ease;
}

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

.page-fishing-games__faq-qtext {
  flex-grow: 1;
  color: var(--page-fishing-games-text-light);
}

.page-fishing-games__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  margin-left: 15px;
  color: var(--page-fishing-games-primary-color);
}

.page-fishing-games__faq-answer {
  padding: 15px 20px 20px;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--page-fishing-games-text-light);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-fishing-games__list--two-columns {
    grid-template-columns: 1fr;
  }
  .page-fishing-games__content-area--flex {
    flex-direction: column;
  }
  .page-fishing-games__image-block {
    margin-top: 30px;
  }
}

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

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

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

  .page-fishing-games__main-title {
    font-size: clamp(1.8rem, 7vw, 2.5rem);
  }

  .page-fishing-games__description {
    font-size: 1rem;
  }

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

  .page-fishing-games__btn-primary,
  .page-fishing-games__btn-secondary,
  .page-fishing-games__btn-small,
  .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__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;
    flex-wrap: wrap !important;
    gap: 10px;
  }

  .page-fishing-games__introduction,
  .page-fishing-games__how-to-play,
  .page-fishing-games__game-types,
  .page-fishing-games__why-nk88,
  .page-fishing-games__promotions,
  .page-fishing-games__mobile-app,
  .page-fishing-games__security-payments,
  .page-fishing-games__customer-support,
  .page-fishing-games__faq-section,
  .page-fishing-games__conclusion {
    padding: 40px 0;
  }

  .page-fishing-games__content-area {
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-fishing-games__section-title {
    font-size: clamp(1.5rem, 6vw, 2.2rem);
    margin-bottom: 30px;
  }

  .page-fishing-games p,
  .page-fishing-games__list-item {
    font-size: 0.95rem;
  }

  .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-section,
  .page-fishing-games__video-container,
  .page-fishing-games__video-wrapper,
  .page-fishing-games__section,
  .page-fishing-games__card,
  .page-fishing-games__container,
  .page-fishing-games__promotion-cards {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  .page-fishing-games__video-section {
    padding-top: 10px !important; /* body has padding-top from shared */
  }

  .page-fishing-games__card-grid {
    grid-template-columns: 1fr;
  }

  .page-fishing-games__card-title {
    font-size: 1.2rem;
  }

  .page-fishing-games__promo-card {
    min-height: auto;
  }

  .page-fishing-games__faq-question {
    font-size: 1rem;
    padding: 15px;
  }

  .page-fishing-games__faq-answer {
    padding: 10px 15px 15px;
  }
}