/* style/fishing-games.css */
.page-fishing-games {
  color: #333333; /* Default text color for light background */
}

.page-fishing-games__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  background-color: #f0f8ff; /* Light background for hero */
  overflow: hidden;
}

.page-fishing-games__hero-image-wrapper {
  width: 100%;
  max-width: 1920px;
  margin-bottom: 30px; /* Space between image and content */
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-fishing-games__hero-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.page-fishing-games__hero-content {
  text-align: center;
  max-width: 900px;
  z-index: 1;
}

.page-fishing-games__main-title {
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #26A9E0;
  margin-bottom: 20px;
  /* clamp for responsive font size, avoiding fixed large values */
  font-size: clamp(2.2rem, 4vw, 3.5rem);
}

.page-fishing-games__description {
  font-size: 1.15rem;
  line-height: 1.6;
  margin-bottom: 30px;
  color: #555555;
}

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

.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.3s ease;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow long words to break */
  box-sizing: border-box;
  max-width: 100%;
}

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

.page-fishing-games__btn-primary:hover {
  background-color: #1e87b8;
  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: #e0f2f7;
  transform: translateY(-2px);
}

.page-fishing-games__section {
  padding: 80px 20px;
  background-color: #FFFFFF;
  color: #333333;
}

.page-fishing-games__dark-section {
  background-color: #26A9E0;
  color: #FFFFFF;
}

.page-fishing-games__dark-section .page-fishing-games__section-title,
.page-fishing-games__dark-section .page-fishing-games__card-title,
.page-fishing-games__dark-section .page-fishing-games__sub-title,
.page-fishing-games__dark-section .page-fishing-games__promo-title,
.page-fishing-games__dark-section .page-fishing-games__feature-title {
  color: #FFFFFF;
}

.page-fishing-games__dark-section p,
.page-fishing-games__dark-section li,
.page-fishing-games__dark-section th,
.page-fishing-games__dark-section td {
  color: #f0f0f0;
}

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

.page-fishing-games__section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
  color: #26A9E0;
}

.page-fishing-games__introduction p,
.page-fishing-games__how-to-play p,
.page-fishing-games__fish-types p,
.page-fishing-games__promotions p,
.page-fishing-games__why-choose p,
.page-fishing-games__conclusion p {
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 20px;
}

.page-fishing-games__image-content {
  width: 100%;
  height: auto;
  display: block;
  margin: 40px auto;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

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

.page-fishing-games__card {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
  color: #FFFFFF;
}

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

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

.page-fishing-games__step-list {
  list-style: none;
  padding: 0;
  counter-reset: step-counter;
  margin-bottom: 40px;
}

.page-fishing-games__step-list li {
  background-color: #f9f9f9;
  padding: 25px;
  margin-bottom: 20px;
  border-radius: 8px;
  position: relative;
  padding-left: 60px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.page-fishing-games__step-list li::before {
  counter-increment: step-counter;
  content: counter(step-counter);
  position: absolute;
  left: 20px;
  top: 20px;
  background-color: #26A9E0;
  color: #FFFFFF;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: 700;
  font-size: 1.1rem;
}

.page-fishing-games__step-title {
  font-size: 1.3rem;
  font-weight: 600;
  margin-top: 0;
  margin-bottom: 10px;
  color: #26A9E0;
}

.page-fishing-games__sub-title {
  font-size: 1.8rem;
  font-weight: 600;
  margin-top: 40px;
  margin-bottom: 25px;
  text-align: center;
  color: #FFFFFF;
}

.page-fishing-games__table-wrapper {
  overflow-x: auto;
  margin-bottom: 40px;
}

.page-fishing-games__fish-table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 auto;
  font-size: 1rem;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  overflow: hidden;
}

.page-fishing-games__fish-table th,
.page-fishing-games__fish-table td {
  padding: 15px;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  color: #f0f0f0;
}

.page-fishing-games__fish-table th {
  background-color: rgba(0, 0, 0, 0.2);
  font-weight: 700;
  color: #FFFFFF;
}

.page-fishing-games__fish-table tbody tr:last-child td {
  border-bottom: none;
}

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

.page-fishing-games__promo-list li {
  background-color: #f9f9f9;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  color: #333333;
}

.page-fishing-games__promo-title {
  font-size: 1.4rem;
  font-weight: 600;
  margin-top: 0;
  margin-bottom: 15px;
  color: #26A9E0;
}

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

.page-fishing-games__feature-list li {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  color: #FFFFFF;
}

.page-fishing-games__feature-title {
  font-size: 1.4rem;
  font-weight: 600;
  margin-top: 0;
  margin-bottom: 15px;
  color: #FFFFFF;
}

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

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

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

.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.2rem;
  font-weight: 600;
  cursor: pointer;
  background-color: #f0f0f0;
  color: #26A9E0;
  border-bottom: 1px solid #e0e0e0;
}

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

.page-fishing-games__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  margin-left: 15px;
}

.page-fishing-games__faq-answer {
  padding: 20px 25px;
  font-size: 1rem;
  line-height: 1.6;
  color: #555555;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-fishing-games__hero-content {
    max-width: 700px;
  }
  .page-fishing-games__main-title {
    font-size: clamp(2rem, 4.5vw, 3.2rem);
  }
  .page-fishing-games__description {
    font-size: 1rem;
  }
}

@media (max-width: 768px) {
  .page-fishing-games__hero-section {
    padding: 40px 15px;
    padding-top: 10px !important; /* body already handles --header-offset */
  }
  .page-fishing-games__main-title {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
  }
  .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;
  }
  .page-fishing-games__section {
    padding: 50px 15px;
  }
  .page-fishing-games__section-title {
    font-size: clamp(1.5rem, 5vw, 2.2rem);
    margin-bottom: 30px;
  }
  .page-fishing-games__grid,
  .page-fishing-games__promo-list,
  .page-fishing-games__feature-list {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-fishing-games__image-content {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    margin: 30px auto;
  }
  .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;
    display: block !important;
  }
  .page-fishing-games__table-wrapper {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
  }
  .page-fishing-games__fish-table {
    min-width: 600px; /* Ensure table content doesn't shrink too much */
  }
  .page-fishing-games__faq-question {
    font-size: 1.1rem;
    padding: 15px 20px;
  }
  .page-fishing-games__faq-answer {
    padding: 15px 20px;
  }
  .page-fishing-games__step-list li {
    padding-left: 50px;
  }
  .page-fishing-games__step-list li::before {
    left: 15px;
    top: 15px;
    width: 25px;
    height: 25px;
    font-size: 1rem;
  }
  .page-fishing-games__step-title {
    font-size: 1.2rem;
  }
}

@media (max-width: 480px) {
  .page-fishing-games__hero-section {
    padding: 30px 10px;
    padding-top: 10px !important;
  }
  .page-fishing-games__section {
    padding: 40px 10px;
  }
  .page-fishing-games__cta-buttons {
    gap: 10px;
  }
  .page-fishing-games__card,
  .page-fishing-games__promo-list li,
  .page-fishing-games__feature-list li {
    padding: 20px;
  }
  .page-fishing-games__card-title,
  .page-fishing-games__promo-title,
  .page-fishing-games__feature-title {
    font-size: 1.3rem;
  }
  .page-fishing-games__sub-title {
    font-size: 1.5rem;
  }
  .page-fishing-games__container {
    padding-left: 10px !important;
    padding-right: 10px !important;
  }
}