/* style/fishing-games.css */

/* Custom Properties for Colors */
:root {
  --f68-primary: #11A84E;
  --f68-secondary: #22C768;
  --f68-card-bg: #11271B;
  --f68-background: #08160F;
  --f68-text-main: #F2FFF6;
  --f68-text-secondary: #A7D9B8;
  --f68-border: #2E7A4E;
  --f68-glow: #57E38D;
  --f68-gold: #F2C14E;
  --f68-divider: #1E3A2A;
  --f68-deep-green: #0A4B2C;
  --f68-button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
}

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

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

.page-fishing-games__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  background-color: var(--f68-card-bg);
  padding-bottom: 40px;
}

.page-fishing-games__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  max-height: 600px; /* Limit height for hero image */
}

.page-fishing-games__hero-content {
  text-align: center;
  padding: 30px 20px;
  max-width: 900px;
  margin-top: -80px; /* Overlap slightly for visual effect, but not text over image */
  background: var(--f68-card-bg);
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  position: relative; /* Ensure z-index works for content */
  z-index: 2;
  border: 1px solid var(--f68-border);
}

.page-fishing-games__main-title {
  font-size: clamp(2rem, 4vw, 3.5rem); /* Responsive font size for H1 */
  color: var(--f68-gold);
  margin-bottom: 15px;
  line-height: 1.2;
  font-weight: bold;
}

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

.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,
.page-fishing-games__btn-link {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  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%;
  text-align: center;
}

.page-fishing-games__btn-primary {
  background: var(--f68-button-gradient);
  color: #ffffff; /* White text for primary button */
  border: 2px solid transparent;
  box-shadow: 0 4px 15px rgba(42, 209, 111, 0.4);
}

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

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

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

.page-fishing-games__section-title {
  font-size: 2.5rem;
  color: var(--f68-gold);
  text-align: center;
  margin-bottom: 30px;
  position: relative;
  padding-bottom: 15px;
}

.page-fishing-games__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: var(--f68-primary);
  border-radius: 2px;
}

.page-fishing-games__text-block {
  font-size: 1.05rem;
  color: var(--f68-text-secondary);
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
}

.page-fishing-games__about-section,
.page-fishing-games__guide-section,
.page-fishing-games__promotions-section,
.page-fishing-games__faq-section {
  padding: 60px 0;
  background-color: var(--f68-card-bg);
}

.page-fishing-games__games-section,
.page-fishing-games__strategy-section,
.page-fishing-games__why-choose-section,
.page-fishing-games__cta-bottom-section {
  padding: 60px 0;
  background-color: var(--f68-background);
}

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

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

.page-fishing-games__feature-item,
.page-fishing-games__benefit-item {
  background-color: var(--f68-background);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--f68-border);
  transition: transform 0.3s ease;
}

.page-fishing-games__feature-item:hover,
.page-fishing-games__benefit-item:hover {
  transform: translateY(-5px);
}

.page-fishing-games__feature-icon,
.page-fishing-games__benefit-icon {
  width: 80px;
  height: 80px;
  object-fit: contain;
  margin: 0 auto 20px auto;
  display: block;
}

.page-fishing-games__feature-title,
.page-fishing-games__benefit-title {
  font-size: 1.4rem;
  color: var(--f68-primary);
  margin-bottom: 10px;
}

.page-fishing-games__feature-description,
.page-fishing-games__benefit-description {
  font-size: 0.95rem;
  color: var(--f68-text-secondary);
}

.page-fishing-games__game-card {
  background-color: var(--f68-card-bg);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--f68-border);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
}

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

.page-fishing-games__game-card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.page-fishing-games__game-card-title {
  font-size: 1.5rem;
  color: var(--f68-gold);
  padding: 15px 20px 10px;
  margin: 0;
}

.page-fishing-games__game-link {
  color: var(--f68-gold);
  text-decoration: none;
}

.page-fishing-games__game-link:hover {
  text-decoration: underline;
}

.page-fishing-games__game-card-description {
  font-size: 0.95rem;
  color: var(--f68-text-secondary);
  padding: 0 20px 15px;
  flex-grow: 1;
}

.page-fishing-games__game-card .page-fishing-games__btn-primary {
  margin: 0 20px 20px;
  width: calc(100% - 40px);
}

.page-fishing-games__steps-grid {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.page-fishing-games__step-item {
  background-color: var(--f68-background);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--f68-border);
  position: relative;
  padding-top: 60px;
}

.page-fishing-games__step-number {
  position: absolute;
  top: -25px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--f68-primary);
  color: #ffffff;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.8rem;
  font-weight: bold;
  border: 3px solid var(--f68-deep-green);
  box-shadow: 0 0 0 5px var(--f68-card-bg);
}

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

.page-fishing-games__step-description {
  font-size: 0.95rem;
  color: var(--f68-text-secondary);
  margin-bottom: 20px;
}

.page-fishing-games__btn-link {
  color: var(--f68-gold);
  text-decoration: none;
  font-size: 1rem;
}

.page-fishing-games__btn-link:hover {
  text-decoration: underline;
}

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

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

.page-fishing-games__strategy-subtitle {
  font-size: 1.6rem;
  color: var(--f68-primary);
  margin-top: 25px;
  margin-bottom: 10px;
}

.page-fishing-games__strategy-text p {
  font-size: 1rem;
  color: var(--f68-text-secondary);
  margin-bottom: 15px;
}

.page-fishing-games__strategy-image-wrapper {
  flex: 1;
  min-width: 300px;
  text-align: center;
}

.page-fishing-games__strategy-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
  border: 2px solid var(--f68-border);
}

.page-fishing-games__promo-card {
  background-color: var(--f68-background);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--f68-border);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
}

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

.page-fishing-games__promo-image {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

.page-fishing-games__promo-title {
  font-size: 1.4rem;
  color: var(--f68-primary);
  padding: 15px 20px 10px;
  margin: 0;
}

.page-fishing-games__promo-title a {
  color: inherit;
  text-decoration: none;
}

.page-fishing-games__promo-title a:hover {
  text-decoration: underline;
}

.page-fishing-games__promo-description {
  font-size: 0.95rem;
  color: var(--f68-text-secondary);
  padding: 0 20px 15px;
  flex-grow: 1;
}

.page-fishing-games__promo-card .page-fishing-games__btn-secondary {
  margin: 0 20px 20px;
  width: calc(100% - 40px);
}

.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(--f68-background);
  border: 1px solid var(--f68-border);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-fishing-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.15rem;
  font-weight: bold;
  color: var(--f68-primary);
  cursor: pointer;
  background-color: var(--f68-deep-green);
  border-bottom: 1px solid var(--f68-border);
}

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

.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.8rem;
  line-height: 1;
  color: var(--f68-gold);
  transition: transform 0.3s ease;
}

.page-fishing-games__faq-item[open] .page-fishing-games__faq-toggle {
  transform: rotate(45deg);
}

.page-fishing-games__faq-answer {
  padding: 15px 25px 20px;
  font-size: 1rem;
  color: var(--f68-text-secondary);
  line-height: 1.7;
}

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

/* Images and Videos Responsive Styles */
.page-fishing-games img,
.page-fishing-games video {
  max-width: 100%;
  height: auto;
  display: block;
}

.page-fishing-games__video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  max-width: 100%;
  background: #000;
  margin-bottom: 30px;
}

.page-fishing-games__video-wrapper video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: pointer;
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
  .page-fishing-games__hero-content {
    margin-top: -50px;
    padding: 20px 15px;
  }

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

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

  .page-fishing-games__section-title {
    font-size: 2rem;
  }

  .page-fishing-games__text-block {
    font-size: 0.95rem;
    margin-bottom: 30px;
  }

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

  .page-fishing-games__btn-primary,
  .page-fishing-games__btn-secondary,
  .page-fishing-games__btn-link {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 15px;
    font-size: 0.95rem;
  }

  .page-fishing-games__features-grid,
  .page-fishing-games__game-cards-grid,
  .page-fishing-games__steps-grid,
  .page-fishing-games__promo-grid,
  .page-fishing-games__benefits-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .page-fishing-games__game-card .page-fishing-games__btn-primary,
  .page-fishing-games__promo-card .page-fishing-games__btn-secondary {
    width: calc(100% - 40px) !important;
  }

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

  .page-fishing-games__strategy-subtitle {
    font-size: 1.4rem;
  }

  .page-fishing-games__strategy-text p {
    font-size: 0.9rem;
  }

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

  .page-fishing-games__faq-answer {
    padding: 10px 20px 15px;
    font-size: 0.9rem;
  }

  .page-fishing-games img,
  .page-fishing-games video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-fishing-games__container,
  .page-fishing-games__hero-section,
  .page-fishing-games__about-section,
  .page-fishing-games__games-section,
  .page-fishing-games__guide-section,
  .page-fishing-games__strategy-section,
  .page-fishing-games__promotions-section,
  .page-fishing-games__why-choose-section,
  .page-fishing-games__faq-section,
  .page-fishing-games__cta-bottom-section,
  .page-fishing-games__feature-item,
  .page-fishing-games__game-card,
  .page-fishing-games__step-item,
  .page-fishing-games__promo-card,
  .page-fishing-games__benefit-item,
  .page-fishing-games__strategy-image-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-fishing-games__hero-section,
  .page-fishing-games__about-section,
  .page-fishing-games__games-section,
  .page-fishing-games__guide-section,
  .page-fishing-games__strategy-section,
  .page-fishing-games__promotions-section,
  .page-fishing-games__why-choose-section,
  .page-fishing-games__faq-section,
  .page-fishing-games__cta-bottom-section {
    padding-left: 0;
    padding-right: 0;
  }

  .page-fishing-games__container {
    padding-left: 15px;
    padding-right: 15px;
  }

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