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

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

/* Sections */
.page-fishing-games__section {
  padding: 60px 20px;
  text-align: center;
}

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

.page-fishing-games__light-bg {
  background-color: #f8f9fa; /* A light background to contrast with dark sections */
  color: #333333; /* Dark text for light background */
}

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

.page-fishing-games__section-title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: bold;
  margin-bottom: 20px;
  color: var(--color-gold);
  text-shadow: 0 0 8px rgba(242, 193, 78, 0.5);
}

.page-fishing-games__sub-title {
  font-size: clamp(22px, 3vw, 30px);
  font-weight: bold;
  margin-top: 30px;
  margin-bottom: 15px;
  color: var(--color-primary);
}

.page-fishing-games__description {
  font-size: 18px;
  margin-bottom: 30px;
  color: var(--color-text-secondary);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Buttons */
.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 18px;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
}

.page-fishing-games__btn-primary {
  background: var(--btn-gradient);
  color: #ffffff;
  border: none;
  box-shadow: 0 4px 15px rgba(34, 199, 104, 0.4);
}

.page-fishing-games__btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(34, 199, 104, 0.6);
}

.page-fishing-games__btn-secondary {
  background: transparent;
  color: var(--color-gold);
  border: 2px solid var(--color-gold);
  box-shadow: 0 4px 15px rgba(242, 193, 78, 0.2);
}

.page-fishing-games__btn-secondary:hover {
  background-color: rgba(242, 193, 78, 0.1);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(242, 193, 78, 0.4);
}

.page-fishing-games__btn-small {
  padding: 10px 20px;
  font-size: 16px;
}

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

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

/* Hero Section */
.page-fishing-games__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 20px 60px; /* Small top padding, larger bottom for content separation */
  min-height: 600px;
  overflow: hidden;
}

.page-fishing-games__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  filter: brightness(0.6); /* Darken image for text readability */
}

.page-fishing-games__hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 900px;
  color: #ffffff;
  padding: 20px;
  background-color: rgba(0, 0, 0, 0.3); /* Semi-transparent overlay for text readability */
  border-radius: 10px;
}

.page-fishing-games__main-title {
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 900;
  margin-bottom: 20px;
  line-height: 1.2;
  color: var(--color-gold);
  text-shadow: 0 0 15px rgba(242, 193, 78, 0.8);
}

/* About FK88 Section */
.page-fishing-games__about-fk88 .page-fishing-games__container {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.page-fishing-games__grid-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.page-fishing-games__text-block p {
  margin-bottom: 15px;
  font-size: 17px;
  line-height: 1.7;
  color: #333333; /* Dark text for light background */
}

.page-fishing-games__image-block .page-fishing-games__image {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

/* Why Choose FK88 Section */
.page-fishing-games__why-choose-fk88 .page-fishing-games__description {
  color: var(--color-text-secondary);
}

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

.page-fishing-games__feature-card {
  background-color: var(--color-card-bg);
  padding: 30px;
  border-radius: 10px;
  text-align: left;
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
  border: 1px solid var(--color-border);
}

.page-fishing-games__feature-card .page-fishing-games__card-title {
  font-size: 24px;
  color: var(--color-gold);
  margin-bottom: 15px;
  text-shadow: 0 0 5px rgba(242, 193, 78, 0.3);
}

.page-fishing-games__feature-card p {
  font-size: 16px;
  color: var(--color-text-secondary);
  line-height: 1.6;
}

/* Login Guide Section */
.page-fishing-games__login-guide .page-fishing-games__description {
  color: #333333;
}

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

.page-fishing-games__step-card {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 10px;
  text-align: left;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  color: #333333;
  border: 1px solid #e0e0e0;
}

.page-fishing-games__step-card .page-fishing-games__step-title {
  font-size: 22px;
  color: var(--color-primary);
  margin-bottom: 15px;
}

.page-fishing-games__step-card p {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 15px;
}

.page-fishing-games__image--small {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-top: 15px;
}

.page-fishing-games__tips {
  margin-top: 50px;
  background-color: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  text-align: left;
  color: #333333;
}

.page-fishing-games__tips ul {
  list-style: disc;
  padding-left: 25px;
  margin-top: 15px;
}

.page-fishing-games__tips li {
  margin-bottom: 10px;
  font-size: 16px;
  line-height: 1.6;
}

/* Featured Games Section */
.page-fishing-games__featured-games .page-fishing-games__description {
  color: var(--color-text-secondary);
}

.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__game-card {
  background-color: var(--color-card-bg);
  padding: 25px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
  border: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

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

.page-fishing-games__game-card .page-fishing-games__card-title {
  font-size: 22px;
  color: var(--color-gold);
  margin-bottom: 10px;
  text-shadow: 0 0 5px rgba(242, 193, 78, 0.3);
}

.page-fishing-games__game-card p {
  font-size: 15px;
  color: var(--color-text-secondary);
  line-height: 1.5;
  flex-grow: 1;
  margin-bottom: 20px;
}

/* Promotions Section */
.page-fishing-games__promotions .page-fishing-games__description {
  color: #333333;
}

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

.page-fishing-games__promo-item {
  background-color: #ffffff;
  padding: 25px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  color: #333333;
  border: 1px solid #e0e0e0;
}

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

.page-fishing-games__promo-item .page-fishing-games__card-title {
  font-size: 22px;
  color: var(--color-primary);
  margin-bottom: 10px;
}

.page-fishing-games__promo-item p {
  font-size: 15px;
  line-height: 1.5;
}

/* FAQ Section */
.page-fishing-games__faq-section .page-fishing-games__description {
  color: var(--color-text-secondary);
}

.page-fishing-games__faq-list {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}

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

.page-fishing-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 18px;
  font-weight: bold;
  color: var(--color-text-main);
  cursor: pointer;
  background-color: var(--color-deep-green);
  border-bottom: 1px solid var(--color-divider);
  list-style: none; /* For details/summary */
}

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

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

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

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

.page-fishing-games__faq-answer p {
  margin-bottom: 10px;
}

/* Conclusion Section */
.page-fishing-games__conclusion .page-fishing-games__description {
  color: #333333;
}

/* Image responsiveness */
.page-fishing-games img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .page-fishing-games__section {
    padding: 40px 15px;
  }

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

  .page-fishing-games__hero-content {
    padding: 15px;
  }

  .page-fishing-games__main-title {
    font-size: clamp(28px, 8vw, 40px);
  }

  .page-fishing-games__description {
    font-size: 16px;
    margin-bottom: 20px;
  }

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

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

  .page-fishing-games__grid-layout {
    grid-template-columns: 1fr;
  }

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

  .page-fishing-games__feature-card,
  .page-fishing-games__step-card,
  .page-fishing-games__game-card,
  .page-fishing-games__promo-item,
  .page-fishing-games__tips {
    padding: 20px;
  }

  .page-fishing-games__image,
  .page-fishing-games__image--small,
  .page-fishing-games__card-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    box-sizing: border-box !important;
  }
  
  .page-fishing-games__container,
  .page-fishing-games__hero-content,
  .page-fishing-games__cta-buttons,
  .page-fishing-games__faq-list {
    padding-left: 15px;
    padding-right: 15px;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

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

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

/* Ensure content area images are not too small in desktop */
.page-fishing-games__image-block img,
.page-fishing-games__image--small,
.page-fishing-games__game-card .page-fishing-games__card-image,
.page-fishing-games__promo-item .page-fishing-games__card-image {
  min-width: 200px;
  min-height: 200px;
}

.page-fishing-games__hero-image { /* Ensure hero image is not filtered by global img rule */
  filter: brightness(0.6);
}