/* style/fishing-games.css */

:root {
  --primary-color: #017439;
  --secondary-color: #FFFFFF;
  --text-dark: #333333;
  --text-light: #ffffff;
  --bg-dark-body: #121212;
  --btn-register-bg: #C30808;
  --btn-login-bg: #C30808;
  --btn-register-login-text: #FFFF00;
}

.page-fishing-games {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-light); /* Body background is dark, so text is light */
  background-color: var(--bg-dark-body); /* Inherited from shared, explicitly set for clarity */
}

.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: 80px 20px;
  padding-top: var(--header-offset, 120px); /* Ensure space below fixed header */
  min-height: 600px;
  overflow: hidden;
  background-color: var(--primary-color); /* Fallback, image will cover */
  color: var(--text-light);
}

.page-fishing-games__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.page-fishing-games__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.7;
}

.page-fishing-games__hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
}

.page-fishing-games__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: var(--text-light);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-fishing-games__hero-description {
  font-size: 1.2em;
  margin-bottom: 40px;
  color: var(--text-light);
}

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

.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
  box-sizing: border-box;
  max-width: 100%; /* Ensure responsiveness */
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text wrapping */
}

.page-fishing-games__btn-primary {
  background-color: var(--btn-register-bg); /* Custom color for register/login */
  color: var(--btn-register-login-text); /* Custom font color */
  border: 2px solid var(--btn-register-bg);
}

.page-fishing-games__btn-primary:hover {
  background-color: darken(var(--btn-register-bg), 10%);
  transform: translateY(-2px);
}

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

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

.page-fishing-games__section-title {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-fishing-games__section-subtitle {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-fishing-games__about-section,
.page-fishing-games__guide-section,
.page-fishing-games__security-section,
.page-fishing-games__cta-section {
  padding: 80px 0;
  color: var(--text-dark);
  background-color: var(--secondary-color);
}

.page-fishing-games__about-section .page-fishing-games__section-title,
.page-fishing-games__guide-section .page-fishing-games__section-title,
.page-fishing-games__security-section .page-fishing-games__section-title,
.page-fishing-games__cta-section .page-fishing-games__section-title {
  color: var(--primary-color);
}

.page-fishing-games__about-section .page-fishing-games__section-subtitle,
.page-fishing-games__guide-section .page-fishing-games__section-subtitle,
.page-fishing-games__security-section .page-fishing-games__section-subtitle,
.page-fishing-games__cta-section .page-fishing-games__section-subtitle {
  color: var(--text-dark);
}

.page-fishing-games__content-wrapper {
  max-width: 900px;
  margin: 0 auto;
  text-align: justify;
}

.page-fishing-games__content-wrapper p {
  margin-bottom: 15px;
  font-size: 1.1em;
}

.page-fishing-games__content-wrapper a {
  color: var(--primary-color);
  text-decoration: underline;
}

.page-fishing-games__content-wrapper a:hover {
  color: darken(var(--primary-color), 10%);
}

.page-fishing-games__btn-inline {
  margin-top: 20px;
}

.page-fishing-games__games-showcase,
.page-fishing-games__strategy-section,
.page-fishing-games__faq-section {
  padding: 80px 0;
  background-color: var(--bg-dark-body);
  color: var(--text-light);
}

.page-fishing-games__games-showcase .page-fishing-games__section-title,
.page-fishing-games__strategy-section .page-fishing-games__section-title,
.page-fishing-games__faq-section .page-fishing-games__section-title {
  color: var(--text-light);
}

.page-fishing-games__games-showcase .page-fishing-games__section-subtitle,
.page-fishing-games__strategy-section .page-fishing-games__section-subtitle,
.page-fishing-games__faq-section .page-fishing-games__section-subtitle {
  color: rgba(255, 255, 255, 0.8);
}

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

.page-fishing-games__card {
  background-color: rgba(255, 255, 255, 0.08); /* Slightly transparent white for dark background */
  border-radius: 12px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: var(--text-light); /* Ensure light text on dark card background */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-fishing-games__card:hover {
  transform: translateY(-10px);
  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; /* Enforce min image size */
  min-height: 200px;
}

.page-fishing-games__card-title {
  font-size: 1.5em;
  margin-bottom: 10px;
  color: var(--text-light);
}

.page-fishing-games__card-description {
  font-size: 0.95em;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-fishing-games__card .page-fishing-games__btn-secondary {
  background-color: var(--primary-color);
  color: var(--text-light);
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  margin-top: auto;
}

.page-fishing-games__card .page-fishing-games__btn-secondary:hover {
  background-color: darken(var(--primary-color), 10%);
  color: var(--text-light);
}

.page-fishing-games__guide-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  margin-top: 50px;
  text-align: left;
}

.page-fishing-games__step-item {
  background-color: var(--secondary-color);
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  color: var(--text-dark);
}

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

.page-fishing-games__step-item p {
  font-size: 1em;
  margin-bottom: 15px;
}

.page-fishing-games__step-item a {
  color: var(--primary-color);
  text-decoration: underline;
}

.page-fishing-games__guide-image {
  width: 100%;
  max-width: 800px;
  height: auto;
  display: block;
  margin: 50px auto 0 auto;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  min-width: 200px;
  min-height: 200px;
}

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

.page-fishing-games__strategy-list li {
  background-color: rgba(255, 255, 255, 0.08);
  margin-bottom: 20px;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  color: var(--text-light);
}

.page-fishing-games__strategy-list li h3 {
  font-size: 1.6em;
  color: var(--text-light);
  margin-bottom: 10px;
}

.page-fishing-games__strategy-list li p {
  font-size: 1.05em;
  color: rgba(255, 255, 255, 0.7);
}

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

.page-fishing-games__feature-item {
  background-color: var(--secondary-color);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  color: var(--text-dark);
}

.page-fishing-games__feature-icon {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 20px;
  min-width: 200px;
  min-height: 200px;
}

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

.page-fishing-games__feature-item p {
  font-size: 1em;
  color: var(--text-dark);
}

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

.page-fishing-games__faq-item {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
  color: var(--text-light);
}

.page-fishing-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: bold;
  cursor: pointer;
  background-color: rgba(255, 255, 255, 0.15);
  transition: background-color 0.3s ease;
}

.page-fishing-games__faq-question:hover {
  background-color: rgba(255, 255, 255, 0.25);
}

.page-fishing-games__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
}

.page-fishing-games__faq-item.active .page-fishing-games__faq-toggle {
  transform: rotate(45deg);
}

.page-fishing-games__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: rgba(255, 255, 255, 0.7);
}

.page-fishing-games__faq-item.active .page-fishing-games__faq-answer {
  max-height: 1000px !important; /* Ensure it expands */
  padding: 15px 25px;
}

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

.page-fishing-games__faq-answer a {
  color: var(--btn-register-login-text);
  text-decoration: underline;
}

.page-fishing-games__cta-section {
  text-align: center;
  color: var(--text-dark);
}

.page-fishing-games__cta-section .page-fishing-games__section-title {
  color: var(--primary-color);
}

.page-fishing-games__cta-section p {
  max-width: 800px;
  margin: 0 auto 30px auto;
  font-size: 1.1em;
  color: var(--text-dark);
}

.page-fishing-games__cta-section a {
  color: var(--primary-color);
  text-decoration: underline;
}

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

.page-fishing-games__btn-lg {
  padding: 18px 35px;
  font-size: 1.1em;
}

/* Custom colors for CTA buttons in light section */
.page-fishing-games__cta-section .page-fishing-games__btn-primary {
  background-color: var(--btn-register-bg);
  color: var(--btn-register-login-text);
  border: 2px solid var(--btn-register-bg);
}

.page-fishing-games__cta-section .page-fishing-games__btn-primary:hover {
  background-color: darken(var(--btn-register-bg), 10%);
  border-color: darken(var(--btn-register-bg), 10%);
  color: var(--btn-register-login-text);
}

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

.page-fishing-games__cta-section .page-fishing-games__btn-secondary:hover {
  background-color: var(--primary-color);
  color: var(--secondary-color);
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-fishing-games__hero-title {
    font-size: 2.8em;
  }

  .page-fishing-games__section-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-fishing-games__hero-section {
    padding: 60px 15px;
    padding-top: var(--header-offset, 120px) !important; /* Mobile fixed header offset */
  }

  .page-fishing-games__hero-title {
    font-size: 2.2em;
  }

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

  .page-fishing-games__hero-buttons,
  .page-fishing-games__cta-buttons {
    flex-direction: column;
    gap: 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;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-fishing-games__container,
  .page-fishing-games__section,
  .page-fishing-games__card,
  .page-fishing-games__content-wrapper,
  .page-fishing-games__game-cards,
  .page-fishing-games__guide-steps,
  .page-fishing-games__strategy-list,
  .page-fishing-games__security-features,
  .page-fishing-games__faq-list,
  .page-fishing-games__cta-buttons {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden; /* Prevent horizontal scroll */
  }

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

  .page-fishing-games__card-image,
  .page-fishing-games__guide-image,
  .page-fishing-games__feature-icon {
    min-width: 200px !important;
    min-height: 200px !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-fishing-games__about-section,
  .page-fishing-games__games-showcase,
  .page-fishing-games__guide-section,
  .page-fishing-games__strategy-section,
  .page-fishing-games__security-section,
  .page-fishing-games__faq-section,
  .page-fishing-games__cta-section {
    padding: 40px 0;
  }

  .page-fishing-games__section-title {
    font-size: 1.8em;
  }

  .page-fishing-games__section-subtitle {
    font-size: 0.95em;
  }

  .page-fishing-games__card,
  .page-fishing-games__step-item,
  .page-fishing-games__feature-item,
  .page-fishing-games__strategy-list li {
    padding: 20px;
  }

  .page-fishing-games__card-title,
  .page-fishing-games__step-title,
  .page-fishing-games__feature-title,
  .page-fishing-games__strategy-list li h3 {
    font-size: 1.3em;
  }

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

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

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

@media (max-width: 480px) {
  .page-fishing-games__hero-title {
    font-size: 1.8em;
  }
}