/* style/fishing-games.css */

:root {
  --page-fishing-games-primary-color: #11A84E;
  --page-fishing-games-secondary-color: #22C768;
  --page-fishing-games-button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  --page-fishing-games-card-bg: #11271B;
  --page-fishing-games-bg-main: #08160F;
  --page-fishing-games-text-main: #F2FFF6;
  --page-fishing-games-text-secondary: #A7D9B8;
  --page-fishing-games-border-color: #2E7A4E;
  --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 {
  background-color: var(--page-fishing-games-bg-main);
  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__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 10px 0 60px 0;
  overflow: hidden;
}

.page-fishing-games__hero-image-wrapper {
  width: 100%;
  max-height: 700px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

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

.page-fishing-games__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 40px 20px;
  margin-top: -100px; /* Adjust to bring content slightly over the image for visual flow, without overlapping text */
  background: rgba(8, 22, 15, 0.8); /* Semi-transparent background for readability */
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-fishing-games__main-title {
  color: var(--page-fishing-games-gold-color);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  letter-spacing: 0.05em;
}

.page-fishing-games__description {
  color: var(--page-fishing-games-text-secondary);
  font-size: 1.1em;
  margin-bottom: 30px;
}

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

.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary {
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
  max-width: 100%;
  width: auto; /* Default to auto, adjust for mobile */
  text-align: center;
}

.page-fishing-games__btn-primary {
  background: var(--page-fishing-games-button-gradient);
  color: var(--page-fishing-games-text-main);
  border: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-fishing-games__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3), 0 0 15px var(--page-fishing-games-glow-color);
}

.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: var(--page-fishing-games-text-main);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-fishing-games__section-title {
  color: var(--page-fishing-games-gold-color);
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
  line-height: 1.3;
  letter-spacing: 0.03em;
}

.page-fishing-games__description-text {
  color: var(--page-fishing-games-text-secondary);
  text-align: center;
  max-width: 800px;
  margin: 0 auto 30px auto;
  font-size: 1.05em;
}

.page-fishing-games__intro-section,
.page-fishing-games__guide-section,
.page-fishing-games__promotions-section,
.page-fishing-games__faq-section,
.page-fishing-games__final-cta-section {
  padding: 80px 0;
  background-color: var(--page-fishing-games-bg-main);
}

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

.page-fishing-games__text-block {
  color: var(--page-fishing-games-text-secondary);
  margin-bottom: 20px;
  line-height: 1.7;
  text-align: justify;
}

.page-fishing-games__text-block a {
  color: var(--page-fishing-games-primary-color);
  text-decoration: underline;
}

.page-fishing-games__text-block a:hover {
  color: var(--page-fishing-games-gold-color);
}

.page-fishing-games__games-showcase-section {
  padding: 80px 0;
  background-color: var(--page-fishing-games-card-bg);
}

.page-fishing-games__game-cards-grid {
  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: 15px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  text-align: center;
  padding-bottom: 30px;
  display: flex;
  flex-direction: column;
  color: var(--page-fishing-games-text-main);
}

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

.page-fishing-games__card-title {
  color: var(--page-fishing-games-gold-color);
  font-size: 1.6em;
  margin-bottom: 15px;
  padding: 0 20px;
}

.page-fishing-games__card-text {
  color: var(--page-fishing-games-text-secondary);
  font-size: 1em;
  margin-bottom: 25px;
  padding: 0 20px;
  flex-grow: 1;
}

.page-fishing-games__card-button {
  margin: 0 auto;
  width: fit-content;
}

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

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

.page-fishing-games__guide-step-title {
  color: var(--page-fishing-games-primary-color);
  font-size: 1.4em;
  margin-bottom: 15px;
}

.page-fishing-games__guide-item p {
  color: var(--page-fishing-games-text-secondary);
  line-height: 1.6;
}

.page-fishing-games__tips-section {
  padding: 80px 0;
  background-color: var(--page-fishing-games-bg-main);
}

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

.page-fishing-games__tip-card {
  background-color: var(--page-fishing-games-card-bg);
  border: 1px solid var(--page-fishing-games-border-color);
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
  color: var(--page-fishing-games-text-secondary);
}

.page-fishing-games__tip-title {
  color: var(--page-fishing-games-gold-color);
  font-size: 1.3em;
  margin-bottom: 15px;
}

.page-fishing-games__promo-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.page-fishing-games__promo-item {
  display: flex;
  align-items: center;
  gap: 20px;
  background-color: var(--page-fishing-games-card-bg);
  border: 1px solid var(--page-fishing-games-border-color);
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
}

.page-fishing-games__promo-icon {
  width: 80px;
  height: 80px;
  object-fit: contain;
  flex-shrink: 0;
}

.page-fishing-games__promo-title {
  color: var(--page-fishing-games-primary-color);
  font-size: 1.4em;
  margin-bottom: 8px;
}

.page-fishing-games__promo-item p {
  color: var(--page-fishing-games-text-secondary);
  line-height: 1.5;
}

.page-fishing-games__why-choose-us-section {
  padding: 80px 0;
  background-color: var(--page-fishing-games-bg-main);
}

.page-fishing-games__feature-list {
  list-style: none;
  padding: 0;
  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);
  border: 1px solid var(--page-fishing-games-border-color);
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
  text-align: center;
}

.page-fishing-games__feature-title {
  color: var(--page-fishing-games-gold-color);
  font-size: 1.4em;
  margin-bottom: 15px;
}

.page-fishing-games__feature-item p {
  color: var(--page-fishing-games-text-secondary);
  line-height: 1.6;
}

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

.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;
}

.page-fishing-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 30px;
  cursor: pointer;
  background-color: var(--page-fishing-games-card-bg);
  color: var(--page-fishing-games-text-main);
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease;
  list-style: none; /* For details/summary */
}

.page-fishing-games__faq-item[open] .page-fishing-games__faq-question {
  background-color: var(--page-fishing-games-deep-green);
}

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

.page-fishing-games__faq-question:hover {
  background-color: var(--page-fishing-games-deep-green);
}

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

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

.page-fishing-games__faq-answer {
  padding: 0 30px 20px 30px;
  color: var(--page-fishing-games-text-secondary);
  line-height: 1.6;
}

.page-fishing-games__faq-answer p {
  margin-top: 10px;
  color: var(--page-fishing-games-text-secondary);
}

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

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

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-fishing-games__hero-content {
    margin-top: -80px;
    padding: 30px 20px;
  }

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

@media (max-width: 768px) {
  .page-fishing-games {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-fishing-games__hero-section {
    padding: 10px 0 40px 0;
  }

  .page-fishing-games__hero-content {
    margin-top: -60px;
    padding: 25px 15px;
  }

  .page-fishing-games__main-title {
    font-size: 1.8em;
    line-height: 1.3;
  }

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

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

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

  .page-fishing-games__intro-section,
  .page-fishing-games__games-showcase-section,
  .page-fishing-games__guide-section,
  .page-fishing-games__tips-section,
  .page-fishing-games__promotions-section,
  .page-fishing-games__why-choose-us-section,
  .page-fishing-games__faq-section,
  .page-fishing-games__final-cta-section {
    padding: 50px 0;
  }

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

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

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

  .page-fishing-games__card,
  .page-fishing-games__tip-card,
  .page-fishing-games__feature-item,
  .page-fishing-games__guide-item,
  .page-fishing-games__promo-item,
  .page-fishing-games__faq-item {
    padding-left: 15px !important;
    padding-right: 15px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-fishing-games__card-image,
  .page-fishing-games__promo-icon,
  .page-fishing-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-fishing-games__promo-item {
    flex-direction: column;
    text-align: center;
  }

  .page-fishing-games__promo-icon {
    margin-bottom: 15px;
    width: 100px;
    height: 100px;
  }

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

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

  .page-fishing-games__cta-wrapper .page-fishing-games__btn-secondary {
    width: 100% !important;
  }

  /* Ensure all containers and sections adapt to mobile width */
  .page-fishing-games__container,
  .page-fishing-games__hero-section,
  .page-fishing-games__intro-section,
  .page-fishing-games__games-showcase-section,
  .page-fishing-games__guide-section,
  .page-fishing-games__tips-section,
  .page-fishing-games__promotions-section,
  .page-fishing-games__why-choose-us-section,
  .page-fishing-games__faq-section,
  .page-fishing-games__final-cta-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  
  /* Override specific padding for sections on mobile to ensure content doesn't touch edges */
  .page-fishing-games__intro-section > .page-fishing-games__container,
  .page-fishing-games__games-showcase-section > .page-fishing-games__container,
  .page-fishing-games__guide-section > .page-fishing-games__container,
  .page-fishing-games__tips-section > .page-fishing-games__container,
  .page-fishing-games__promotions-section > .page-fishing-games__container,
  .page-fishing-games__why-choose-us-section > .page-fishing-games__container,
  .page-fishing-games__faq-section > .page-fishing-games__container,
  .page-fishing-games__final-cta-section > .page-fishing-games__container {
    padding-left: 15px;
    padding-right: 15px;
  }

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

  .page-fishing-games__hero-image-wrapper {
    max-height: 400px;
  }
}