/* style/fishing-games.css */

/* Custom Colors */
: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-background: #08160F; /* Body background from shared.css */
  --page-fishing-games-text-main: #F2FFF6;
  --page-fishing-games-text-secondary: #A7D9B8;
  --page-fishing-games-border: #2E7A4E;
  --page-fishing-games-glow: #57E38D;
  --page-fishing-games-gold: #F2C14E;
  --page-fishing-games-divider: #1E3A2A;
  --page-fishing-games-deep-green: #0A4B2C;
}

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

/* Sections */
.page-fishing-games__section-title {
  font-size: 2.5em;
  font-weight: 700;
  color: var(--page-fishing-games-gold);
  text-align: center;
  margin-bottom: 30px;
  line-height: 1.2;
  letter-spacing: -0.5px;
}

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

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

.page-fishing-games__text-block a {
  color: var(--page-fishing-games-primary-color);
  text-decoration: none;
  font-weight: bold;
}

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

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

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

.page-fishing-games__hero-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  min-height: 200px; /* Ensure minimum size */
}

.page-fishing-games__hero-content {
  position: relative;
  text-align: center;
  padding: 40px 20px;
  max-width: 900px;
  margin-top: -80px; /* Adjust to slightly overlap the image for visual flow */
  background: var(--page-fishing-games-card-bg);
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  z-index: 10;
  border: 1px solid var(--page-fishing-games-border);
}

.page-fishing-games__main-title {
  font-weight: 800;
  color: var(--page-fishing-games-gold);
  margin-bottom: 20px;
  line-height: 1.2;
  letter-spacing: -1px;
  font-size: clamp(2.2em, 4vw, 3.5em); /* Responsive H1 font size */
}

.page-fishing-games__description {
  font-size: 1.2em;
  line-height: 1.7;
  color: var(--page-fishing-games-text-secondary);
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

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

/* Buttons */
.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
}

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

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

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

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

/* Feature Cards */
.page-fishing-games__why-choose-section {
  padding: 80px 0;
  text-align: center;
}

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

.page-fishing-games__feature-card {
  background: var(--page-fishing-games-card-bg);
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--page-fishing-games-border);
}

.page-fishing-games__feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3), 0 0 10px var(--page-fishing-games-primary-color);
}

.page-fishing-games__card-image {
  width: 100%;
  height: 250px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 20px;
  min-width: 200px;
  min-height: 200px;
}

.page-fishing-games__card-title {
  font-size: 1.5em;
  color: var(--page-fishing-games-gold);
  margin-bottom: 15px;
  font-weight: 700;
}

.page-fishing-games__card-text {
  font-size: 1em;
  color: var(--page-fishing-games-text-secondary);
  line-height: 1.7;
}

/* Game Types Section */
.page-fishing-games__game-types-section {
  padding: 80px 0;
  text-align: center;
}

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

.page-fishing-games__game-item {
  background: var(--page-fishing-games-card-bg);
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--page-fishing-games-border);
  text-align: left;
}

.page-fishing-games__game-name {
  font-size: 1.6em;
  color: var(--page-fishing-games-gold);
  margin-bottom: 10px;
  font-weight: 700;
}

.page-fishing-games__game-desc {
  font-size: 1em;
  color: var(--page-fishing-games-text-secondary);
  line-height: 1.7;
}

/* Guide Section */
.page-fishing-games__guide-section {
  padding: 80px 0;
}

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

.page-fishing-games__guide-item {
  background: var(--page-fishing-games-card-bg);
  border-radius: 15px;
  padding: 30px;
  margin-bottom: 20px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--page-fishing-games-border);
}

.page-fishing-games__guide-step-title {
  font-size: 1.5em;
  color: var(--page-fishing-games-gold);
  margin-bottom: 10px;
  font-weight: 700;
}

.page-fishing-games__guide-step-text {
  font-size: 1em;
  color: var(--page-fishing-games-text-secondary);
  line-height: 1.7;
}

/* Promotions Section */
.page-fishing-games__promotions-section {
  padding: 80px 0;
  text-align: center;
}

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

.page-fishing-games__promo-card {
  background: var(--page-fishing-games-card-bg);
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--page-fishing-games-border);
}

.page-fishing-games__promo-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3), 0 0 10px var(--page-fishing-games-secondary-color);
}

/* Support Section */
.page-fishing-games__support-section {
  padding: 80px 0;
  text-align: center;
}

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

.page-fishing-games__contact-item {
  font-size: 1.1em;
  color: var(--page-fishing-games-text-secondary);
  line-height: 1.7;
}

.page-fishing-games__contact-item strong {
  color: var(--page-fishing-games-gold);
}

/* FAQ Section */
.page-fishing-games__faq-section {
  padding: 80px 0;
}

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

.page-fishing-games__faq-item {
  background: var(--page-fishing-games-card-bg);
  border-radius: 15px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--page-fishing-games-border);
}

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

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

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

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

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

.page-fishing-games__faq-answer {
  padding: 20px 25px;
  font-size: 1em;
  line-height: 1.7;
  color: var(--page-fishing-games-text-secondary);
  border-top: 1px solid var(--page-fishing-games-divider);
  background: var(--page-fishing-games-card-bg);
}

/* Conclusion Section */
.page-fishing-games__conclusion-section {
  padding: 80px 0;
  text-align: center;
}

/* Image & Video Responsiveness (All images and videos) */
.page-fishing-games img {
  max-width: 100%;
  height: auto;
  display: block;
  min-width: 200px; /* Global minimum for content images */
  min-height: 200px; /* Global minimum for content images */
}

.page-fishing-games video {
  max-width: 100%;
  width: 100%;
  height: auto;
  display: block;
}

/* Ensure content containers are responsive */
.page-fishing-games__section,
.page-fishing-games__container,
.page-fishing-games__hero-section,
.page-fishing-games__intro-section,
.page-fishing-games__why-choose-section,
.page-fishing-games__game-types-section,
.page-fishing-games__guide-section,
.page-fishing-games__promotions-section,
.page-fishing-games__support-section,
.page-fishing-games__faq-section,
.page-fishing-games__conclusion-section,
.page-fishing-games__feature-card,
.page-fishing-games__promo-card,
.page-fishing-games__faq-item {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

/* Mobile Adaptations */
@media (max-width: 768px) {
  .page-fishing-games__section-title {
    font-size: 2em;
  }

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

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

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

  .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: 12px 20px !important;
  }

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

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

  .page-fishing-games__text-block,
  .page-fishing-games__card-text,
  .page-fishing-games__game-desc,
  .page-fishing-games__guide-step-text,
  .page-fishing-games__contact-item,
  .page-fishing-games__faq-answer p {
    font-size: 0.95em;
  }

  .page-fishing-games__features-grid,
  .page-fishing-games__game-list,
  .page-fishing-games__promotions-grid {
    grid-template-columns: 1fr;
  }

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

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

  /* Force responsive images and containers */
  .page-fishing-games img,
  .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__hero-section,
  .page-fishing-games__intro-section,
  .page-fishing-games__why-choose-section,
  .page-fishing-games__game-types-section,
  .page-fishing-games__guide-section,
  .page-fishing-games__promotions-section,
  .page-fishing-games__support-section,
  .page-fishing-games__faq-section,
  .page-fishing-games__conclusion-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden !important;
  }

  .page-fishing-games__hero-section {
    padding-top: 10px !important; /* body already handles --header-offset */
  }
}