/* style/fishing-games.css */

:root {
  --page-fishing-games-primary-color: #11A84E;
  --page-fishing-games-secondary-color: #22C768;
  --page-fishing-games-background-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-glow-color: #57E38D;
  --page-fishing-games-gold-color: #F2C14E;
  --page-fishing-games-divider-color: #1E3A2A;
  --page-fishing-games-deep-green: #0A4B2C;
}

.page-fishing-games {
  color: var(--page-fishing-games-text-main);
  background-color: var(--page-fishing-games-background-color); /* Default background for the page */
}

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

.page-fishing-games__light-bg {
  background-color: #ffffff;
  color: #333333;
}

.page-fishing-games__text-main {
  color: var(--page-fishing-games-text-main);
}

.page-fishing-games__text-secondary {
  color: var(--page-fishing-games-text-secondary);
}

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

.page-fishing-games__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
}

.page-fishing-games__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.6);
}

.page-fishing-games__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 20px;
  margin-top: 20px; /* Space from image if image is full height */
}

.page-fishing-games__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: var(--page-fishing-games-text-main);
}

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

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

.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%; /* Ensure buttons don't overflow */
}

.page-fishing-games__btn-primary {
  background: var(--page-fishing-games-button-gradient);
  color: #ffffff;
  border: none;
}

.page-fishing-games__btn-primary:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
}

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

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

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

.page-fishing-games__section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  margin-bottom: 30px;
  text-align: center;
}

.page-fishing-games__intro-section .page-fishing-games__section-title,
.page-fishing-games__how-to-play-section .page-fishing-games__section-title,
.page-fishing-games__why-choose-section .page-fishing-games__section-title,
.page-fishing-games__final-cta-section .page-fishing-games__section-title {
  color: #333333;
}

.page-fishing-games__text-block {
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 20px;
  text-align: justify;
}

.page-fishing-games__games-section .page-fishing-games__section-title,
.page-fishing-games__strategy-section .page-fishing-games__section-title,
.page-fishing-games__promotions-section .page-fishing-games__section-title,
.page-fishing-games__faq-section .page-fishing-games__section-title {
  color: var(--page-fishing-games-text-main);
}

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

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

.page-fishing-games__card-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  margin-bottom: 20px;
}

.page-fishing-games__card-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 10px;
  padding: 0 15px;
}

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

.page-fishing-games__card-button {
  margin-top: auto;
  width: calc(100% - 30px);
}

.page-fishing-games__ordered-list,
.page-fishing-games__unordered-list,
.page-fishing-games__promotion-list,
.page-fishing-games__advantages-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
}

.page-fishing-games__ordered-list li,
.page-fishing-games__unordered-list li,
.page-fishing-games__promotion-list li,
.page-fishing-games__advantages-list li {
  margin-bottom: 25px;
  position: relative;
  padding-left: 35px;
  font-size: 1.05rem;
  line-height: 1.7;
  color: #333333;
}

.page-fishing-games__ordered-list li::before {
  content: counter(list-item) ".";
  counter-increment: list-item;
  position: absolute;
  left: 0;
  top: 0;
  font-weight: 700;
  color: var(--page-fishing-games-primary-color);
  font-size: 1.2rem;
}

.page-fishing-games__unordered-list li::before,
.page-fishing-games__promotion-list li::before,
.page-fishing-games__advantages-list li::before {
  content: '✔';
  position: absolute;
  left: 0;
  top: 0;
  font-weight: 700;
  color: var(--page-fishing-games-primary-color);
  font-size: 1.2rem;
}

.page-fishing-games__list-title {
  font-size: 1.3rem;
  font-weight: 600;
  color: #333333;
  margin-bottom: 5px;
}

.page-fishing-games__unordered-list li p,
.page-fishing-games__ordered-list li p,
.page-fishing-games__promotion-list li p,
.page-fishing-games__advantages-list li p {
  margin-top: 5px;
  margin-bottom: 0;
  font-size: 1rem;
  line-height: 1.6;
}

.page-fishing-games__features-section {
  padding-top: 60px;
  padding-bottom: 60px;
}

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

.page-fishing-games__feature-item {
  text-align: center;
  padding: 25px;
  border-radius: 12px;
  background-color: #ffffff;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  color: #333333;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}

.page-fishing-games__feature-icon {
  width: 100%;
  max-width: 200px;
  height: auto;
  object-fit: contain;
  margin-bottom: 20px;
}

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

.page-fishing-games__feature-description {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #555555;
}

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

.page-fishing-games__faq-section {
  padding-top: 60px;
  padding-bottom: 60px;
}

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

.page-fishing-games__faq-item {
  background-color: var(--page-fishing-games-card-bg);
  border-radius: 12px;
  margin-bottom: 15px;
  overflow: hidden;
  border: 1px solid var(--page-fishing-games-border-color);
}

.page-fishing-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--page-fishing-games-text-main);
  position: relative;
  list-style: none;
}

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

.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-toggle {
  font-size: 1.8rem;
  line-height: 1;
  margin-left: 15px;
  color: var(--page-fishing-games-glow-color);
}

.page-fishing-games__faq-answer {
  padding: 0 25px 20px;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--page-fishing-games-text-secondary);
  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; /* Adjust as needed for content */
  padding-top: 10px;
}

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

.page-fishing-games__faq-item.active .page-fishing-games__faq-toggle {
  content: '−';
}

.page-fishing-games__final-cta-section {
  padding-top: 60px;
  padding-bottom: 80px;
  text-align: center;
}

.page-fishing-games__final-cta-section .page-fishing-games__description {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Ensure all content images are at least 200x200px */
.page-fishing-games img:not(.page-fishing-games__hero-image) {
  min-width: 200px;
  min-height: 200px;
  object-fit: cover;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-fishing-games__hero-content {
    padding: 15px;
  }

  .page-fishing-games__main-title {
    font-size: clamp(2.2rem, 4.5vw, 3rem);
  }

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

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

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

  .page-fishing-games__game-card {
    padding-bottom: 15px;
  }

  .page-fishing-games__card-image {
    height: 200px;
  }

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

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

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

  .page-fishing-games__faq-question {
    font-size: 1.05rem;
    padding: 18px 20px;
  }
}

@media (max-width: 768px) {
  .page-fishing-games__hero-section {
    padding-bottom: 40px;
  }

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

  .page-fishing-games__main-title {
    font-size: clamp(2rem, 6vw, 2.8rem);
  }

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

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

  .page-fishing-games__btn-primary,
  .page-fishing-games__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 15px !important;
    font-size: 1rem !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-fishing-games__content-area {
    padding: 40px 15px;
  }

  .page-fishing-games__section-title {
    font-size: clamp(1.6rem, 5vw, 2.2rem);
  }

  .page-fishing-games__text-block,
  .page-fishing-games__ordered-list li p,
  .page-fishing-games__unordered-list li p,
  .page-fishing-games__promotion-list li p,
  .page-fishing-games__advantages-list li p,
  .page-fishing-games__feature-description,
  .page-fishing-games__card-description,
  .page-fishing-games__faq-answer {
    font-size: 0.95rem;
  }

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

  .page-fishing-games__game-card,
  .page-fishing-games__feature-item,
  .page-fishing-games__faq-item {
    padding: 15px;
  }

  .page-fishing-games__card-image {
    height: 180px;
  }

  .page-fishing-games__list-title {
    font-size: 1.15rem;
  }

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

  /* Mobile image responsiveness */
  .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__intro-section,
  .page-fishing-games__games-section,
  .page-fishing-games__how-to-play-section,
  .page-fishing-games__strategy-section,
  .page-fishing-games__features-section,
  .page-fishing-games__promotions-section,
  .page-fishing-games__why-choose-section,
  .page-fishing-games__faq-section,
  .page-fishing-games__final-cta-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden;
  }

  .page-fishing-games__hero-image-wrapper {
    padding: 0;
  }

  .page-fishing-games__hero-section {
    padding-top: 10px !important;
  }

  .page-fishing-games__hero-content {
    margin-top: 0;
  }

  /* Specific for video if present, though this page uses image hero */
  .page-fishing-games__video-section {
    padding-top: 10px !important;
  }

  .page-fishing-games__video-container,
  .page-fishing-games__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 0;
    padding-right: 0;
    overflow: hidden !important;
  }
}