/* style/fishing-games.css */

:root {
  --k9cc11-primary-color: #017439;
  --k9cc11-secondary-color: #FFFFFF;
  --k9cc11-register-color: #C30808;
  --k9cc11-login-color: #C30808;
  --k9cc11-background-color: #FFFFFF;
  --k9cc11-register-login-font-color: #FFFF00;
  --body-bg-color: #0a0a0a; /* From shared.css */
  --text-on-dark-bg: #ffffff;
  --text-on-light-bg: #333333;
}

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

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

.page-fishing-games__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-top: 10px; /* Small top padding, relies on body padding-top for header offset */
  padding-bottom: 40px;
  padding-left: 0;
  padding-right: 0;
  background: linear-gradient(135deg, var(--k9cc11-primary-color), #004d2b);
  color: var(--k9cc11-secondary-color);
  overflow: hidden;
}

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

.page-fishing-games__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-fishing-games__hero-content {
  max-width: 900px;
  padding: 0 20px;
}

.page-fishing-games__main-title {
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 15px;
  color: var(--k9cc11-register-login-font-color); /* Yellow for prominence */
}

.page-fishing-games__description {
  font-size: 1.1em;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.2s ease;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
  max-width: 100%;
}

.page-fishing-games__btn-primary {
  background-color: var(--k9cc11-register-color); /* Red for Register */
  color: var(--k9cc11-register-login-font-color); /* Yellow for text */
  border: 2px solid var(--k9cc11-register-color);
}

.page-fishing-games__btn-primary:hover {
  background-color: #a30606;
  transform: translateY(-2px);
}

.page-fishing-games__btn-secondary {
  background-color: transparent;
  color: var(--k9cc11-register-login-font-color); /* Yellow for text */
  border: 2px solid var(--k9cc11-login-color); /* Red for Login */
}

.page-fishing-games__btn-secondary:hover {
  background-color: var(--k9cc11-login-color);
  color: var(--k9cc11-secondary-color);
  transform: translateY(-2px);
}

.page-fishing-games__section-title {
  font-size: 2.2em;
  text-align: center;
  margin-bottom: 30px;
  color: var(--k9cc11-primary-color);
}

.page-fishing-games__dark-section .page-fishing-games__section-title {
  color: var(--k9cc11-secondary-color);
}

.page-fishing-games__text-block {
  font-size: 1.05em;
  margin-bottom: 20px;
  text-align: justify;
}

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

/* Intro Section */
.page-fishing-games__intro-section {
  padding: 60px 0;
  background-color: var(--k9cc11-background-color); /* White background */
  color: var(--text-on-light-bg);
}

/* Features Section */
.page-fishing-games__features-section {
  padding: 60px 0;
  background: linear-gradient(135deg, #004d2b, var(--k9cc11-primary-color));
  color: var(--text-on-dark-bg);
}

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

.page-fishing-games__feature-card {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 25px;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-fishing-games__feature-icon {
  width: 100%;
  height: auto;
  max-width: 250px;
  margin-bottom: 20px;
  border-radius: 6px;
  object-fit: cover;
}

.page-fishing-games__feature-title {
  font-size: 1.4em;
  margin-bottom: 10px;
  color: var(--k9cc11-register-login-font-color);
}

.page-fishing-games__feature-description {
  font-size: 1em;
  color: var(--text-on-dark-bg);
}

/* Popular Games Section */
.page-fishing-games__popular-games {
  padding: 60px 0;
  background-color: var(--k9cc11-background-color);
  color: var(--text-on-light-bg);
}

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

.page-fishing-games__game-card {
  background-color: #f9f9f9;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  overflow: hidden;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
}

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

.page-fishing-games__game-title {
  font-size: 1.3em;
  margin: 15px 10px 5px;
  color: var(--k9cc11-primary-color);
}

.page-fishing-games__game-title a {
  color: var(--k9cc11-primary-color);
  text-decoration: none;
}

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

.page-fishing-games__game-description {
  font-size: 0.95em;
  color: #555;
  padding: 0 15px 15px;
  flex-grow: 1;
}

.page-fishing-games__game-btn {
  display: inline-block;
  background-color: var(--k9cc11-primary-color);
  color: var(--k9cc11-secondary-color);
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  margin: 0 15px 15px;
  transition: background-color 0.3s ease;
}

.page-fishing-games__game-btn:hover {
  background-color: #004d2b;
}

/* Guide Section */
.page-fishing-games__guide-section {
  padding: 60px 0;
  background: linear-gradient(135deg, var(--k9cc11-primary-color), #004d2b);
  color: var(--text-on-dark-bg);
}

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

.page-fishing-games__guide-list li {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 20px;
  margin-bottom: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.page-fishing-games__guide-step-title {
  font-size: 1.3em;
  color: var(--k9cc11-register-login-font-color);
  margin-bottom: 10px;
}

.page-fishing-games__guide-list p {
  color: var(--text-on-dark-bg);
}

/* Tips Section */
.page-fishing-games__tips-section {
  padding: 60px 0;
  background-color: var(--k9cc11-background-color);
  color: var(--text-on-light-bg);
}

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

.page-fishing-games__tips-list li {
  background-color: #f9f9f9;
  padding: 20px;
  margin-bottom: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.page-fishing-games__tip-title {
  font-size: 1.3em;
  color: var(--k9cc11-primary-color);
  margin-bottom: 10px;
}

.page-fishing-games__tips-list p {
  color: var(--text-on-light-bg);
}

/* FAQ Section */
.page-fishing-games__faq-section {
  padding: 60px 0;
  background: linear-gradient(135deg, #004d2b, var(--k9cc11-primary-color));
  color: var(--text-on-dark-bg);
}

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

.page-fishing-games__faq-item {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.page-fishing-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  font-weight: bold;
  font-size: 1.1em;
  color: var(--k9cc11-register-login-font-color); /* Yellow for contrast */
  list-style: none; /* For <details> summary */
}

.page-fishing-games__faq-item[open] > .page-fishing-games__faq-question {
  background-color: rgba(255, 255, 255, 0.15);
}

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

.page-fishing-games__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  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: 0 25px 20px;
  font-size: 1em;
  color: var(--text-on-dark-bg);
}

/* Contact Section */
.page-fishing-games__contact-section {
  padding: 60px 0;
  background-color: var(--k9cc11-background-color);
  color: var(--text-on-light-bg);
  text-align: center;
}

.page-fishing-games__contact-section .page-fishing-games__cta-buttons {
  margin-top: 30px;
}

/* General Image Responsiveness */
.page-fishing-games img {
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

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

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

  /* HERO Section */
  .page-fishing-games__hero-section {
    padding-top: 10px !important; /* Small top padding, consistent with body padding */
    padding-bottom: 30px;
  }

  .page-fishing-games__main-title {
    font-size: 1.8em;
    margin-bottom: 10px;
  }

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

  .page-fishing-games__cta-buttons {
    flex-direction: column;
    gap: 10px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 0 15px;
  }

  /* Buttons */
  .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-left: 15px;
    padding-right: 15px;
  }

  /* Section Titles */
  .page-fishing-games__section-title {
    font-size: 1.8em;
    margin-bottom: 25px;
  }

  /* Features Section */
  .page-fishing-games__features-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-fishing-games__feature-card {
    padding: 20px;
  }

  /* Popular Games Section */
  .page-fishing-games__games-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-fishing-games__game-card {
    margin-bottom: 15px;
  }

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

  /* Guide & Tips Sections */
  .page-fishing-games__guide-list li,
  .page-fishing-games__tips-list li {
    padding: 15px;
    margin-bottom: 15px;
  }

  .page-fishing-games__guide-step-title,
  .page-fishing-games__tip-title {
    font-size: 1.2em;
  }

  /* FAQ Section */
  .page-fishing-games__faq-question {
    padding: 15px 20px;
    font-size: 1em;
  }

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

  /* All images */
  .page-fishing-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-fishing-games__hero-image-wrapper,
  .page-fishing-games__section,
  .page-fishing-games__card,
  .page-fishing-games__container,
  .page-fishing-games__cta-buttons,
  .page-fishing-games__button-group,
  .page-fishing-games__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}