/* style/fishing-games.css */

/* Variables from shared.css: --background-color: #0D0E12; --card-bg-color: #17191F; --text-main-color: #FFF3E6; --primary-color: #FF8C1A; --secondary-color: #FFA53A; --border-color: #A84F0C; */

.page-fishing-games {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-main-color); /* Light text for dark background */
  background-color: var(--background-color); /* Dark background */
}

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

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

.page-fishing-games__hero-image-wrapper {
  width: 100%;
  max-height: 600px; /* Limit height for hero image */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

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

.page-fishing-games__hero-content-wrapper {
  padding: 40px 20px;
  max-width: 900px;
  margin-top: -80px; /* Overlap with image slightly for visual appeal */
  background-color: var(--card-bg-color); /* Dark card background */
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
  position: relative;
  z-index: 10;
  border: 1px solid var(--border-color);
}

.page-fishing-games__hero-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 2px 2px 5px rgba(0,0,0,0.7);
}

.page-fishing-games__hero-description {
  font-size: 1.1rem;
  color: var(--text-main-color);
  margin-bottom: 30px;
}

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

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

.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%;
  width: auto;
}

.page-fishing-games__btn-primary {
  background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%);
  color: #ffffff; /* White text for primary button */
  border: 2px solid var(--border-color);
  box-shadow: 0 5px 15px rgba(255, 140, 26, 0.4);
}

.page-fishing-games__btn-primary:hover {
  background: linear-gradient(180deg, #D96800 0%, #FFA53A 100%);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(255, 140, 26, 0.6);
}

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

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

.page-fishing-games__section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 40px;
  padding-top: 40px;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

.page-fishing-games__text-block {
  font-size: 1rem;
  color: var(--text-main-color);
  margin-bottom: 20px;
  text-align: justify;
}

.page-fishing-games__introduction-section,
.page-fishing-games__how-to-get-section,
.page-fishing-games__tips-section,
.page-fishing-games__conclusion-section {
  padding: 60px 0;
  background-color: var(--background-color); /* Dark background */
}

.page-fishing-games__benefits-section,
.page-fishing-games__game-types-section,
.page-fishing-games__faq-section {
  padding: 60px 0;
  background-color: var(--card-bg-color); /* Slightly lighter dark background */
}

.page-fishing-games__content-image {
  width: 100%;
  height: auto;
  max-width: 800px;
  margin: 40px auto;
  display: block;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-color);
}

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

.page-fishing-games__card,
.page-fishing-games__step-card,
.page-fishing-games__game-card {
  background-color: var(--card-bg-color); /* Dark card background */
  border: 1px solid var(--border-color);
  border-radius: 15px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: var(--text-main-color); /* Light text for dark card background */
}

.page-fishing-games__card:hover,
.page-fishing-games__step-card:hover,
.page-fishing-games__game-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

.page-fishing-games__card-title,
.page-fishing-games__step-title,
.page-fishing-games__game-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--secondary-color);
  margin-bottom: 15px;
}

.page-fishing-games__step-image,
.page-fishing-games__game-image {
  width: 100%;
  height: auto;
  max-width: 400px;
  margin: 0 auto 20px auto;
  display: block;
  border-radius: 10px;
  border: 1px solid var(--border-color);
}

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

.page-fishing-games__list-item {
  background-color: var(--card-bg-color); /* Dark card background */
  border: 1px solid var(--border-color);
  border-radius: 15px;
  padding: 30px;
  margin-bottom: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  color: var(--text-main-color); /* Light text for dark card background */
}

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

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

.page-fishing-games__faq-item {
  background-color: var(--card-bg-color); /* Dark card background */
  border: 1px solid var(--border-color);
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
  color: var(--text-main-color); /* Light text for dark card background */
}

.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(--secondary-color);
  cursor: pointer;
  background-color: #1a1d25; /* Slightly different dark shade for question */
  border-bottom: 1px solid var(--border-color);
  transition: background-color 0.3s ease;
}

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

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

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

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

.page-fishing-games__faq-item[open] .page-fishing-games__faq-question {
  border-bottom: 1px solid transparent;
}

.page-fishing-games__faq-item[open] .page-fishing-games__faq-toggle {
  content: '−';
}

.page-fishing-games__faq-answer {
  padding: 20px 25px;
  font-size: 1rem;
  color: var(--text-main-color);
  border-top: 1px solid var(--border-color);
}

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

/* Responsive Design */
@media (max-width: 1024px) {
  .page-fishing-games__hero-content-wrapper {
    margin-top: -60px;
    padding: 30px 15px;
  }
  .page-fishing-games__hero-title {
    font-size: clamp(2rem, 4.5vw, 3rem);
  }
  .page-fishing-games__hero-description {
    font-size: 1rem;
  }
  .page-fishing-games__btn-primary,
  .page-fishing-games__btn-secondary {
    font-size: 1rem;
    padding: 12px 25px;
  }
  .page-fishing-games__section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  }
  .page-fishing-games__card-title,
  .page-fishing-games__step-title,
  .page-fishing-games__game-title {
    font-size: 1.3rem;
  }
  .page-fishing-games__list-title {
    font-size: 1.2rem;
  }
  .page-fishing-games__faq-question {
    font-size: 1.05rem;
    padding: 18px 20px;
  }
  .page-fishing-games__faq-answer {
    font-size: 0.95rem;
    padding: 18px 20px;
  }
}

@media (max-width: 768px) {
  .page-fishing-games__hero-section {
    padding-bottom: 40px;
  }
  .page-fishing-games__hero-image-wrapper {
    max-height: 400px;
  }
  .page-fishing-games__hero-content-wrapper {
    margin-top: -40px;
    padding: 25px 15px;
  }
  .page-fishing-games__hero-title {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
  }
  .page-fishing-games__hero-description {
    font-size: 0.95rem;
  }
  .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-left: 15px;
    padding-right: 15px;
    font-size: 1rem;
  }
  .page-fishing-games__container {
    padding: 0 15px;
  }
  .page-fishing-games__introduction-section,
  .page-fishing-games__how-to-get-section,
  .page-fishing-games__tips-section,
  .page-fishing-games__conclusion-section,
  .page-fishing-games__benefits-section,
  .page-fishing-games__game-types-section,
  .page-fishing-games__faq-section {
    padding: 40px 0;
  }
  .page-fishing-games__section-title {
    font-size: clamp(1.5rem, 5.5vw, 2.2rem);
    margin-bottom: 30px;
    padding-top: 0;
  }
  .page-fishing-games__text-block {
    font-size: 0.95rem;
  }
  .page-fishing-games__card-grid,
  .page-fishing-games__steps-grid,
  .page-fishing-games__game-card-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-fishing-games__card,
  .page-fishing-games__step-card,
  .page-fishing-games__game-card,
  .page-fishing-games__list-item {
    padding: 25px;
  }
  .page-fishing-games__card-title,
  .page-fishing-games__step-title,
  .page-fishing-games__game-title {
    font-size: 1.2rem;
  }
  .page-fishing-games__list-title {
    font-size: 1.1rem;
  }
  .page-fishing-games__faq-question {
    font-size: 1rem;
    padding: 15px 18px;
  }
  .page-fishing-games__faq-answer {
    font-size: 0.9rem;
    padding: 15px 18px;
  }

  /* Mobile image and video responsiveness */
  .page-fishing-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-fishing-games video {
    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__video-section,
  .page-fishing-games__video-container,
  .page-fishing-games__video-wrapper,
  .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;
    overflow: hidden !important;
  }
  .page-fishing-games__video-section {
    padding-top: 10px !important;
  }
  .page-fishing-games__cta-buttons {
    flex-wrap: wrap !important;
    gap: 10px;
  }
  .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"] {
    white-space: normal !important;
    word-wrap: break-word !important;
  }
}