/* style/fishing-games.css */
:root {
  --page-fishing-games-primary-color: #11A84E;
  --page-fishing-games-secondary-color: #22C768;
  --page-fishing-games-bg-color: #08160F;
  --page-fishing-games-card-bg: #11271B;
  --page-fishing-games-text-main: #F2FFF6;
  --page-fishing-games-text-secondary: #A7D9B8;
  --page-fishing-games-border-color: #2E7A4E;
  --page-fishing-games-button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
}

.page-fishing-games {
  background-color: var(--page-fishing-games-bg-color);
  color: var(--page-fishing-games-text-main);
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
}

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

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

.page-fishing-games__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 10px 0 60px;
  background-color: var(--page-fishing-games-bg-color);
}

.page-fishing-games__hero-image-wrapper {
  width: 100%;
  max-height: 700px; /* Limit height for hero image */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 30px; /* Space between image and content */
}

.page-fishing-games__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.7); /* Slightly darken image for text contrast */
}

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

.page-fishing-games__main-title {
  color: var(--page-fishing-games-text-main);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  /* No fixed font-size, rely on clamp if necessary or context */
}

.page-fishing-games__description {
  color: var(--page-fishing-games-text-secondary);
  font-size: 1.15rem;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-fishing-games__section-title {
  color: var(--page-fishing-games-text-main);
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 40px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.page-fishing-games__text-block {
  color: var(--page-fishing-games-text-secondary);
  font-size: 1rem;
  margin-bottom: 20px;
  text-align: left;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-fishing-games__text-block--center {
  text-align: center;
}

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

.page-fishing-games__cta-buttons--centered {
  margin-top: 30px;
}

.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-fishing-games__btn-primary {
  background: var(--page-fishing-games-button-gradient);
  color: var(--page-fishing-games-text-main);
  border: 2px solid transparent;
  box-shadow: 0 4px 15px rgba(34, 199, 104, 0.4);
}

.page-fishing-games__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(34, 199, 104, 0.6);
}

.page-fishing-games__btn-secondary {
  background: var(--page-fishing-games-card-bg);
  color: var(--page-fishing-games-primary-color);
  border: 2px solid var(--page-fishing-games-primary-color);
  box-shadow: 0 2px 10px rgba(17, 168, 78, 0.2);
}

.page-fishing-games__btn-secondary:hover {
  transform: translateY(-3px);
  background-color: var(--page-fishing-games-primary-color);
  color: var(--page-fishing-games-text-main);
  box-shadow: 0 4px 15px rgba(17, 168, 78, 0.4);
}

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

.page-fishing-games__feature-item {
  background-color: var(--page-fishing-games-card-bg);
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-fishing-games__feature-image {
  width: 100%;
  max-width: 400px; /* Ensure images are not too small */
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
}

.page-fishing-games__feature-title {
  color: var(--page-fishing-games-primary-color);
  font-size: 1.5rem;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-fishing-games__feature-description {
  color: var(--page-fishing-games-text-secondary);
  font-size: 0.95rem;
  text-align: center;
}

.page-fishing-games__step-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
}

.page-fishing-games__step-item {
  background-color: var(--page-fishing-games-card-bg);
  border: 1px solid var(--page-fishing-games-border-color);
  border-radius: 10px;
  margin-bottom: 20px;
  padding: 25px 30px;
  text-align: left;
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.15);
}

.page-fishing-games__step-title {
  color: var(--page-fishing-games-primary-color);
  font-size: 1.35rem;
  margin-bottom: 10px;
  font-weight: 600;
}

.page-fishing-games__step-description {
  color: var(--page-fishing-games-text-secondary);
  font-size: 1rem;
}

.page-fishing-games__strategy-section .page-fishing-games__container {
  text-align: left;
}

.page-fishing-games__strategy-content {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: flex-start;
  margin-top: 40px;
}

.page-fishing-games__strategy-text {
  flex: 2;
  min-width: 300px;
}

.page-fishing-games__strategy-image-wrapper {
  flex: 1;
  min-width: 280px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-fishing-games__strategy-image {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  object-fit: cover;
}

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

.page-fishing-games__strategy-item {
  color: var(--page-fishing-games-text-secondary);
  font-size: 1rem;
  margin-bottom: 15px;
  padding-left: 25px;
  position: relative;
}

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

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

.page-fishing-games__card {
  background-color: var(--page-fishing-games-card-bg);
  border: 1px solid var(--page-fishing-games-border-color);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-fishing-games__promotion-image {
  width: 100%;
  max-width: 300px;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
}

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

.page-fishing-games__card-description {
  color: var(--page-fishing-games-text-secondary);
  font-size: 0.95rem;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-fishing-games__btn-link {
  display: inline-block;
  padding: 10px 20px;
  background: var(--page-fishing-games-button-gradient);
  color: var(--page-fishing-games-text-main);
  border-radius: 6px;
  text-decoration: none;
  font-weight: 500;
  transition: background-color 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-fishing-games__btn-link:hover {
  filter: brightness(1.1);
}

.page-fishing-games__faq-list {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-fishing-games__faq-item {
  background-color: var(--page-fishing-games-card-bg);
  border: 1px solid var(--page-fishing-games-border-color);
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  text-align: left;
}

.page-fishing-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--page-fishing-games-primary-color);
  cursor: pointer;
  background-color: var(--page-fishing-games-card-bg);
  user-select: none;
  position: relative;
  list-style: none; /* For details/summary */
}

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

.page-fishing-games__faq-qtext {
  flex-grow: 1;
}

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

.page-fishing-games__faq-answer {
  padding: 0 25px 20px;
  color: var(--page-fishing-games-text-secondary);
  font-size: 1rem;
  line-height: 1.7;
  /* For div based FAQ */
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
}

.page-fishing-games__faq-item[open] .page-fishing-games__faq-answer {
  max-height: 500px; /* Arbitrary large value for smooth transition */
  padding-top: 10px;
}

.page-fishing-games__faq-item.active .page-fishing-games__faq-answer {
  max-height: 500px !important; /* For JS-driven div based FAQ */
  padding-top: 10px !important;
}

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

.page-fishing-games__conclusion-content {
  max-width: 900px;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-fishing-games__hero-content {
    padding: 0 40px;
  }
  .page-fishing-games__main-title {
    font-size: 2.8rem;
  }
  .page-fishing-games__section-title {
    font-size: 2.2rem;
  }
}

@media (max-width: 768px) {
  .page-fishing-games {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-fishing-games__hero-section {
    padding: 10px 0 40px;
  }
  .page-fishing-games__hero-image-wrapper {
    margin-bottom: 20px;
  }
  .page-fishing-games__main-title {
    font-size: 2.2rem;
    margin-bottom: 15px;
  }
  .page-fishing-games__description {
    font-size: 1rem;
    margin-bottom: 25px;
  }
  .page-fishing-games__section {
    padding: 40px 0;
  }
  .page-fishing-games__section-title {
    font-size: 1.8rem;
    margin-bottom: 30px;
  }
  .page-fishing-games__text-block {
    font-size: 0.95rem;
    padding: 0 15px;
  }
  .page-fishing-games__container,
  .page-fishing-games__hero-content,
  .page-fishing-games__cta-buttons,
  .page-fishing-games__features-grid,
  .page-fishing-games__feature-item,
  .page-fishing-games__step-item,
  .page-fishing-games__strategy-content,
  .page-fishing-games__strategy-text,
  .page-fishing-games__strategy-image-wrapper,
  .page-fishing-games__promotion-cards,
  .page-fishing-games__card,
  .page-fishing-games__faq-list,
  .page-fishing-games__faq-item,
  .page-fishing-games__conclusion-content {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
    overflow: hidden !important; /* Ensure no overflow */
  }

  /* Images responsive */
  .page-fishing-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  /* Buttons responsive */
  .page-fishing-games__cta-button,
  .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__cta-buttons {
    flex-direction: column !important;
    gap: 15px !important;
  }

  .page-fishing-games__features-grid,
  .page-fishing-games__promotion-cards {
    grid-template-columns: 1fr;
  }

  .page-fishing-games__strategy-content {
    flex-direction: column;
    gap: 30px;
  }

  .page-fishing-games__strategy-image-wrapper {
    order: -1; /* Image above text on mobile */
    margin-bottom: 20px;
  }
  .page-fishing-games__faq-question {
    font-size: 1rem;
  }
  .page-fishing-games__faq-answer {
    font-size: 0.95rem;
  }
}

@media (max-width: 480px) {
  .page-fishing-games__main-title {
    font-size: 1.8rem;
  }
  .page-fishing-games__section-title {
    font-size: 1.6rem;
  }
  .page-fishing-games__btn-primary,
  .page-fishing-games__btn-secondary {
    font-size: 1rem;
    padding: 12px 20px;
  }
}