/* style/fishing-games.css */
.page-fishing-games {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-main-color, #F2FFF6);
  background-color: var(--background-color, #08160F); /* Body background from shared.css */
}

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

.page-fishing-games__section-title {
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: bold;
  text-align: center;
  margin-bottom: 40px;
  color: var(--text-main-color, #F2FFF6);
}

.page-fishing-games__text-block {
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 20px;
  color: var(--text-secondary-color, #A7D9B8);
}

.page-fishing-games__text-main {
  color: var(--text-main-color, #F2FFF6);
}

.page-fishing-games__text-secondary {
  color: var(--text-secondary-color, #A7D9B8);
}

/* Buttons */
.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary,
.page-fishing-games__btn-small {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 16px;
  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: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #ffffff;
  border: none;
}

.page-fishing-games__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

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

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

.page-fishing-games__btn-small {
  padding: 8px 15px;
  font-size: 14px;
  border-radius: 5px;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #ffffff;
  border: none;
}

.page-fishing-games__btn-small:hover {
  opacity: 0.9;
}

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

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

/* Hero Section */
.page-fishing-games__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles header offset */
  min-height: 500px;
  overflow: hidden;
  background-color: var(--deep-green-color, #0A4B2C);
}

.page-fishing-games__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  margin-bottom: 30px;
}

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

.page-fishing-games__hero-content {
  text-align: center;
  max-width: 900px;
  z-index: 1;
}

.page-fishing-games__main-title {
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 20px;
  color: var(--text-main-color, #F2FFF6);
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
}

.page-fishing-games__description {
  font-size: clamp(18px, 2.5vw, 22px);
  color: var(--text-secondary-color, #A7D9B8);
  margin-bottom: 30px;
}

/* Introduction Section */
.page-fishing-games__introduction-section {
  padding: 80px 0;
  background-color: var(--background-color, #08160F);
}

/* Features Section */
.page-fishing-games__features-section {
  padding: 80px 0;
  background-color: var(--card-bg-color, #11271B);
}

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

.page-fishing-games__feature-card {
  background-color: var(--card-bg-color, #11271B);
  border: 1px solid var(--border-color, #2E7A4E);
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

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

.page-fishing-games__feature-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-fishing-games__card-title {
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 10px;
  color: var(--text-main-color, #F2FFF6);
}

/* How to Play Section */
.page-fishing-games__how-to-play-section {
  padding: 80px 0;
  background-color: var(--background-color, #08160F);
}

.page-fishing-games__steps-list {
  list-style: none;
  padding: 0;
  counter-reset: step-counter;
}

.page-fishing-games__list-item {
  position: relative;
  padding-left: 50px;
  margin-bottom: 30px;
}

.page-fishing-games__list-item::before {
  content: counter(step-counter);
  counter-increment: step-counter;
  position: absolute;
  left: 0;
  top: 0;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #ffffff;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 18px;
}

.page-fishing-games__list-title {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 10px;
  color: var(--text-main-color, #F2FFF6);
}

/* Popular Games Section */
.page-fishing-games__popular-games-section {
  padding: 80px 0;
  background-color: var(--card-bg-color, #11271B);
}

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

.page-fishing-games__game-card {
  background-color: var(--card-bg-color, #11271B);
  border: 1px solid var(--border-color, #2E7A4E);
  border-radius: 10px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

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

.page-fishing-games__game-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
}

/* Promotions Section */
.page-fishing-games__promotions-section {
  padding: 80px 0;
  background-color: var(--background-color, #08160F);
}

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

.page-fishing-games__promo-card {
  background-color: var(--card-bg-color, #11271B);
  border: 1px solid var(--border-color, #2E7A4E);
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

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

.page-fishing-games__promo-image {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

/* Why Choose Kbet Section */
.page-fishing-games__why-choose-kbet-section {
  padding: 80px 0;
  background-color: var(--card-bg-color, #11271B);
}

.page-fishing-games__advantage-list {
  list-style: none;
  padding: 0;
  max-width: 800px;
  margin: 0 auto 40px auto;
}

.page-fishing-games__advantage-list .page-fishing-games__list-item {
  position: relative;
  padding-left: 30px;
  margin-bottom: 15px;
  font-size: 17px;
  text-align: left;
}

.page-fishing-games__advantage-list .page-fishing-games__list-item::before {
  content: '✔';
  position: absolute;
  left: 0;
  color: var(--gold-color, #F2C14E);
  font-weight: bold;
}

/* FAQ Section */
.page-fishing-games__faq-section {
  padding: 80px 0;
  background-color: var(--background-color, #08160F);
}

.page-fishing-games__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.page-fishing-games__faq-item {
  background-color: var(--card-bg-color, #11271B);
  border: 1px solid var(--border-color, #2E7A4E);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-fishing-games__faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: bold;
  font-size: 18px;
  color: var(--text-main-color, #F2FFF6);
  background-color: var(--card-bg-color, #11271B);
}

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

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

.page-fishing-games__faq-toggle {
  font-size: 24px;
  line-height: 1;
  margin-left: 15px;
  color: var(--gold-color, #F2C14E);
}

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

.page-fishing-games__faq-answer {
  padding: 0 20px 20px 20px;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-secondary-color, #A7D9B8);
}

/* Final CTA Section */
.page-fishing-games__cta-final-section {
  padding: 80px 0;
  text-align: center;
  background-color: var(--deep-green-color, #0A4B2C);
}

/* Color contrast adjustments for specific sections */
.page-fishing-games__dark-bg {
  background-color: var(--deep-green-color, #0A4B2C);
  color: var(--text-main-color, #F2FFF6);
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-fishing-games__main-title {
    font-size: clamp(32px, 4.5vw, 50px);
  }
  .page-fishing-games__description {
    font-size: clamp(16px, 2.2vw, 20px);
  }
  .page-fishing-games__section-title {
    font-size: clamp(26px, 3.8vw, 38px);
  }
}

@media (max-width: 768px) {
  .page-fishing-games__hero-section {
    padding: 40px 15px;
  }
  .page-fishing-games__hero-image-wrapper {
    margin-bottom: 20px;
  }
  .page-fishing-games__main-title {
    font-size: 32px;
  }
  .page-fishing-games__description {
    font-size: 16px;
  }
  .page-fishing-games__section-title {
    font-size: 28px;
  }
  .page-fishing-games__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-fishing-games__btn-primary,
  .page-fishing-games__btn-secondary,
  .page-fishing-games__btn-small {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-fishing-games__hero-content .page-fishing-games__cta-buttons {
    padding: 0 15px;
  }

  /* Mobile image 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-image-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
  .page-fishing-games__hero-section {
    padding-top: 10px !important; /* body already handles --header-offset */
  }

  /* Mobile video responsiveness (if any, though none currently in HTML) */
  .page-fishing-games video,
  .page-fishing-games__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-fishing-games__video-section,
  .page-fishing-games__video-container,
  .page-fishing-games__video-wrapper {
    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__features-grid,
  .page-fishing-games__games-grid,
  .page-fishing-games__promotions-grid {
    grid-template-columns: 1fr;
  }

  .page-fishing-games__list-item {
    padding-left: 40px;
  }
  .page-fishing-games__list-item::before {
    width: 30px;
    height: 30px;
    font-size: 16px;
  }
  .page-fishing-games__faq-item summary {
    font-size: 16px;
    padding: 15px;
  }
  .page-fishing-games__faq-answer {
    padding: 0 15px 15px 15px;
  }
}