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

.page-fishing-games {
  background-color: var(--keovip-background);
  color: var(--keovip-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%;
  height: auto;
  overflow: hidden;
}

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

.page-fishing-games__hero-content-wrapper {
  position: relative;
  z-index: 10;
  padding: 40px 20px;
  max-width: 900px;
  margin-top: -80px; /* Pull content slightly over the image for visual flow */
  background: rgba(8, 22, 15, 0.85); /* Slightly transparent background */
  border-radius: 15px;
  backdrop-filter: blur(5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

.page-fishing-games__hero-title {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 700;
  color: var(--keovip-gold);
  margin-bottom: 20px;
  line-height: 1.2;
  letter-spacing: 1px;
}

.page-fishing-games__hero-description {
  font-size: 1.1rem;
  color: var(--keovip-text-secondary);
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-fishing-games__section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  color: var(--keovip-gold);
  text-align: center;
  margin-bottom: 40px;
  padding-top: 40px;
}

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

.page-fishing-games__introduction-section,
.page-fishing-games__why-choose-section,
.page-fishing-games__game-types-section,
.page-fishing-games__guide-section,
.page-fishing-games__tips-section,
.page-fishing-games__promotions-section,
.page-fishing-games__faq-section,
.page-fishing-games__conclusion-section {
  padding: 60px 0;
}

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

.page-fishing-games__content-image {
  width: 100%;
  height: auto;
  display: block;
  margin: 40px auto;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  min-width: 200px;
  min-height: 200px;
}

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

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

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

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

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

.page-fishing-games__card-description {
  font-size: 0.95rem;
  color: var(--keovip-text-secondary);
}

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

.page-fishing-games__guide-list li,
.page-fishing-games__tips-list li {
  background-color: var(--keovip-card-bg);
  border: 1px solid var(--keovip-border);
  border-radius: 10px;
  padding: 25px;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

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

.page-fishing-games__list-description {
  font-size: 0.95rem;
  color: var(--keovip-text-secondary);
}

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

.page-fishing-games__btn-primary {
  background: var(--keovip-button-gradient);
  color: var(--keovip-text-main);
  border: 2px solid transparent;
  box-shadow: 0 5px 15px rgba(42, 209, 111, 0.4);
}

.page-fishing-games__btn-primary:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  box-shadow: 0 8px 20px rgba(42, 209, 111, 0.6);
  transform: translateY(-2px);
}

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

.page-fishing-games__btn-secondary:hover {
  background-color: var(--keovip-primary-color);
  color: var(--keovip-text-main);
  transform: translateY(-2px);
}

.page-fishing-games__cta-buttons--centered {
  margin-top: 40px;
  display: flex;
  justify-content: center;
  gap: 20px;
}

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

.page-fishing-games__faq-item {
  background-color: var(--keovip-card-bg);
  border: 1px solid var(--keovip-border);
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.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(--keovip-gold);
  background-color: var(--keovip-card-bg);
  list-style: none; /* For details/summary */
}

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

.page-fishing-games__faq-toggle {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--keovip-glow);
  margin-left: 15px;
}

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

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

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

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

  .page-fishing-games__hero-title {
    font-size: clamp(1.8rem, 8vw, 2.5rem);
    margin-bottom: 15px;
  }

  .page-fishing-games__hero-description {
    font-size: 1rem;
    margin-bottom: 20px;
  }

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

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

  .page-fishing-games__section-title {
    font-size: clamp(1.5rem, 6vw, 2rem);
    margin-bottom: 30px;
    padding-top: 30px;
  }

  .page-fishing-games__introduction-section,
  .page-fishing-games__why-choose-section,
  .page-fishing-games__game-types-section,
  .page-fishing-games__guide-section,
  .page-fishing-games__tips-section,
  .page-fishing-games__promotions-section,
  .page-fishing-games__faq-section,
  .page-fishing-games__conclusion-section {
    padding: 40px 0;
  }

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

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

  .page-fishing-games__card {
    padding: 25px;
  }

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

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

  .page-fishing-games__guide-list li,
  .page-fishing-games__tips-list li {
    padding: 20px;
  }

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

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

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

  /* Mobile image and container 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__introduction-section,
  .page-fishing-games__why-choose-section,
  .page-fishing-games__game-types-section,
  .page-fishing-games__guide-section,
  .page-fishing-games__tips-section,
  .page-fishing-games__promotions-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;
  }

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