/* style/fishing-games.css */

/* Base styles for the page */
.page-fishing-games {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light backgrounds */
  background-color: var(--secondary-color, #FFFFFF); /* Body background from shared */
}

/* Dark background sections */
.page-fishing-games__dark-bg {
  background-color: #26A9E0;
  color: #ffffff;
}

.page-fishing-games__dark-bg .page-fishing-games__section-title,
.page-fishing-games__dark-bg .page-fishing-games__text-block,
.page-fishing-games__dark-bg .page-fishing-games__instruction-title,
.page-fishing-games__dark-bg .page-fishing-games__instruction-description,
.page-fishing-games__dark-bg .page-fishing-games__text-link {
  color: #ffffff;
}

.page-fishing-games__dark-bg .page-fishing-games__text-link:hover {
  color: rgba(255, 255, 255, 0.8);
}

/* Light background sections */
.page-fishing-games__light-bg {
  background-color: #f8f8f8;
  color: #333333;
}

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

.page-fishing-games__container--center-text {
  text-align: center;
}

.page-fishing-games__section {
  padding: 60px 0;
}

.page-fishing-games__section-title {
  font-size: 2.5em;
  color: #26A9E0;
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

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

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

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

/* Hero Section */
.page-fishing-games__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px; /* Small top padding, body handles header offset */
  padding-top: 10px;
  min-height: 500px;
  overflow: hidden;
}

.page-fishing-games__hero-image-wrapper {
  position: relative;
  width: 100%;
  height: auto;
  margin-bottom: 20px; /* Space between image and content */
}

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

.page-fishing-games__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 20px;
  background: rgba(0, 0, 0, 0.3); /* Slightly darker overlay for text readability */
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-fishing-games__main-title {
  font-size: clamp(2.5em, 4vw, 3.5em);
  color: #FFFFFF;
  margin-bottom: 20px;
  line-height: 1.2;
  font-weight: bold;
}

.page-fishing-games__description {
  font-size: 1.2em;
  color: #f0f0f0;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

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

.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
  box-sizing: border-box;
}

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

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

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

.page-fishing-games__btn-secondary:hover {
  background-color: #e0e0e0;
  color: #1a7bbd;
  transform: translateY(-2px);
}

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

.page-fishing-games__feature-item {
  background-color: #FFFFFF;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  text-align: center;
  transition: transform 0.3s ease;
  color: #333333;
}

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

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

.page-fishing-games__feature-title {
  font-size: 1.5em;
  color: #26A9E0;
  margin-bottom: 15px;
  font-weight: bold;
}

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

/* Game Types Section */
.page-fishing-games__game-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

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

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

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

.page-fishing-games__game-title {
  font-size: 1.4em;
  color: #26A9E0;
  padding: 15px 20px 0;
  font-weight: bold;
}

.page-fishing-games__game-description {
  font-size: 0.95em;
  color: #555555;
  padding: 0 20px 20px;
}

/* How To Play Section */
.page-fishing-games__instruction-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
}

.page-fishing-games__instruction-item {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 25px;
  border-radius: 8px;
  margin-bottom: 20px;
  color: #ffffff;
}

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

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

/* Promotions Section */
.page-fishing-games__promotion-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
}

.page-fishing-games__promotion-item {
  background-color: #FFFFFF;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  color: #333333;
}

.page-fishing-games__promotion-title {
  font-size: 1.5em;
  color: #26A9E0;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-fishing-games__promotion-description {
  font-size: 1em;
  color: #555555;
}

/* Security & Support Section */
.page-fishing-games__content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.page-fishing-games__content-block {
  color: #333333;
}

.page-fishing-games__content-image {
  width: 100%;
  height: auto;
  border-radius: 10px;
  display: block;
}

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

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

.page-fishing-games__faq-item summary {
  list-style: none;
  cursor: pointer;
}

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

.page-fishing-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.15em;
  font-weight: bold;
  color: #26A9E0;
  background-color: #eaf7ff;
  border-bottom: 1px solid #e0e0e0;
}

.page-fishing-games__faq-item[open] .page-fishing-games__faq-question {
  background-color: #d8efff;
}

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

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

.page-fishing-games__faq-answer {
  padding: 20px 25px;
  font-size: 1em;
  color: #555555;
  border-top: 1px solid #f0f0f0;
}

/* Conclusion Section */
.page-fishing-games__conclusion-section .page-fishing-games__text-block {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  color: #f0f0f0;
}

.page-fishing-games__conclusion-section .page-fishing-games__text-link {
  color: #FFFFFF;
}

.page-fishing-games__conclusion-section .page-fishing-games__text-link:hover {
  color: rgba(255, 255, 255, 0.8);
}

/* Responsive Styles */
@media (max-width: 992px) {
  .page-fishing-games__main-title {
    font-size: clamp(2em, 5vw, 3em);
  }

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

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

  .page-fishing-games__content-block, .page-fishing-games__image-block {
    order: unset;
  }
}

@media (max-width: 768px) {
  .page-fishing-games__hero-section {
    padding: 40px 15px;
    padding-top: 10px !important; /* body already handles --header-offset */
  }

  .page-fishing-games__section {
    padding: 40px 0;
  }

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

  .page-fishing-games__text-block {
    font-size: 1em;
  }

  .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: 12px 20px;
    font-size: 1em;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-fishing-games__features-grid,
  .page-fishing-games__game-list,
  .page-fishing-games__promotion-list {
    grid-template-columns: 1fr;
    gap: 20px;
  }

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

  .page-fishing-games__hero-image,
  .page-fishing-games__feature-image,
  .page-fishing-games__game-image,
  .page-fishing-games__content-image,
  .page-fishing-games img {
    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__hero-section,
  .page-fishing-games__features-grid,
  .page-fishing-games__game-list,
  .page-fishing-games__promotion-list,
  .page-fishing-games__content-grid,
  .page-fishing-games__faq-list {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden;
  }

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

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

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

  .page-fishing-games__instruction-item {
    padding: 20px;
  }
}

/* Ensure content area images are not too small */
.page-fishing-games__content-area img,
.page-fishing-games__feature-image,
.page-fishing-games__game-image,
.page-fishing-games__content-image {
  min-width: 200px;
  min-height: 200px;
}