/* style/fishing-games.css */

/* Base styles for the fishing games page */
.page-fishing-games {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Dark text for light body background */
  background-color: var(--secondary-color, #FFFFFF); /* Assuming shared.css sets body to --secondary-color (white) */
}

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

.page-fishing-games__section {
  padding: 60px 0;
  text-align: center;
}

.page-fishing-games__section-title {
  font-size: 2.5em;
  margin-bottom: 20px;
  color: #017439;
}

.page-fishing-games__section-description {
  font-size: 1.1em;
  max-width: 800px;
  margin: 0 auto 40px;
  color: #555555;
}

/* Color themes */
.page-fishing-games__dark-bg {
  background-color: #017439; /* Primary color */
  color: #ffffff;
}

.page-fishing-games__dark-bg .page-fishing-games__section-title,
.page-fishing-games__dark-bg .page-fishing-games__hero-title,
.page-fishing-games__dark-bg .page-fishing-games__cta-title {
  color: #ffffff;
}

.page-fishing-games__light-bg {
  background-color: #ffffff;
  color: #333333;
}

.page-fishing-games__light-bg .page-fishing-games__section-title {
  color: #017439;
}

/* Hero Section */
.page-fishing-games__hero-section {
  position: relative;
  padding: 120px 0 60px; /* Adjusted padding-top to account for header-offset */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  text-align: center;
}

.page-fishing-games__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-fishing-games__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-fishing-games__hero-description {
  font-size: 1.3em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

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

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

/* Buttons */
.page-fishing-games__cta-button,
.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary,
.page-fishing-games__game-button,
.page-fishing-games__guide-button,
.page-fishing-games__promo-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  box-sizing: border-box;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow long words to break */
}

.page-fishing-games__btn-primary {
  background-color: #C30808; /* Register/Login color */
  color: #FFFF00; /* Register/Login font color */
  border: 2px solid #C30808;
}

.page-fishing-games__btn-primary:hover {
  background-color: #e02020;
  border-color: #e02020;
}

.page-fishing-games__btn-secondary {
  background-color: transparent;
  color: #ffffff;
  border: 2px solid #ffffff;
}

.page-fishing-games__btn-secondary:hover {
  background-color: #ffffff;
  color: #017439;
}

/* Content Area */
.page-fishing-games__content-area {
  text-align: left;
  font-size: 1.05em;
}

.page-fishing-games__content-area p {
  margin-bottom: 1.5em;
}

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

.page-fishing-games__card {
  background-color: #ffffff;
  color: #333333;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

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

.page-fishing-games__card-title {
  font-size: 1.6em;
  color: #017439;
  margin-bottom: 15px;
}

.page-fishing-games__card-description {
  font-size: 1em;
  color: #555555;
}

/* Game Showcase Grid */
.page-fishing-games__game-showcase-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-fishing-games__game-card {
  background-color: #ffffff;
  color: #333333;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-fishing-games__game-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

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

.page-fishing-games__game-title {
  font-size: 1.5em;
  color: #017439;
  margin-bottom: 10px;
}

.page-fishing-games__game-description {
  font-size: 0.95em;
  color: #666666;
  margin-bottom: 20px;
}

.page-fishing-games__game-button {
  background-color: #017439;
  color: #ffffff;
  border: 2px solid #017439;
  padding: 10px 20px;
  font-size: 1em;
}

.page-fishing-games__game-button:hover {
  background-color: #005a2e;
  border-color: #005a2e;
}

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

.page-fishing-games__guide-item {
  background-color: #ffffff;
  color: #333333;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  text-align: center;
}

.page-fishing-games__guide-icon-wrapper {
  margin-bottom: 20px;
  display: inline-block;
  background-color: #017439;
  border-radius: 50%;
  padding: 15px;
}

.page-fishing-games__guide-icon {
  width: 60px;
  height: 60px;
  filter: invert(100%); /* Make icon white */
  min-width: 60px;
  min-height: 60px;
}

.page-fishing-games__guide-title {
  font-size: 1.4em;
  color: #017439;
  margin-bottom: 15px;
}

.page-fishing-games__guide-text {
  font-size: 0.95em;
  color: #666666;
  margin-bottom: 25px;
}

.page-fishing-games__guide-button {
  background-color: #C30808;
  color: #FFFF00;
  border: 2px solid #C30808;
  padding: 10px 20px;
  font-size: 1em;
}

.page-fishing-games__guide-button:hover {
  background-color: #e02020;
  border-color: #e02020;
}

.page-fishing-games__tips-section {
  margin-top: 60px;
  text-align: left;
  background-color: rgba(1, 116, 57, 0.05);
  padding: 30px;
  border-radius: 12px;
}

.page-fishing-games__tips-title {
  font-size: 1.8em;
  color: #017439;
  margin-bottom: 20px;
  text-align: center;
}

.page-fishing-games__tips-list {
  list-style-type: disc;
  margin-left: 25px;
  color: #333333;
}

.page-fishing-games__tips-list li {
  margin-bottom: 10px;
  font-size: 1.05em;
}

.page-fishing-games__tips-highlight {
  color: #017439;
}

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

.page-fishing-games__promo-card {
  background-color: #ffffff;
  color: #333333;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-fishing-games__promo-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.page-fishing-games__promo-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 15px;
  min-width: 200px;
  min-height: 200px;
  object-fit: cover;
}

.page-fishing-games__promo-title {
  font-size: 1.5em;
  color: #017439;
  margin-bottom: 10px;
}

.page-fishing-games__promo-text {
  font-size: 0.95em;
  color: #666666;
  margin-bottom: 20px;
}

.page-fishing-games__promo-button {
  background-color: #017439;
  color: #ffffff;
  border: 2px solid #017439;
  padding: 10px 20px;
  font-size: 1em;
}

.page-fishing-games__promo-button:hover {
  background-color: #005a2e;
  border-color: #005a2e;
}

.page-fishing-games__full-promo-cta {
  margin-top: 50px;
}

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

.page-fishing-games__feature-item {
  text-align: center;
  padding: 25px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  color: #ffffff;
}

.page-fishing-games__feature-icon {
  width: 80px;
  height: 80px;
  margin-bottom: 15px;
  filter: invert(100%); /* Make icon white for dark background */
  min-width: 80px;
  min-height: 80px;
}

.page-fishing-games__feature-sub-title {
  font-size: 1.4em;
  margin-bottom: 10px;
  color: #ffffff;
}

.page-fishing-games__feature-text {
  font-size: 0.95em;
  color: #f0f0f0;
}

/* FAQ Section */
.page-fishing-games__faq-list {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-fishing-games__faq-item {
  background-color: #f9f9f9;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-fishing-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.2em;
  font-weight: bold;
  color: #017439;
  cursor: pointer;
  background-color: #ffffff;
  transition: background-color 0.3s ease;
}

.page-fishing-games__faq-question:hover {
  background-color: #f0f0f0;
}

.page-fishing-games__faq-question h3 {
  margin: 0;
  color: #017439;
}

.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); /* Plus to X */
}

.page-fishing-games__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  text-align: left;
  color: #555555;
}

.page-fishing-games__faq-item.active .page-fishing-games__faq-answer {
  max-height: 1000px !important; /* Sufficiently large value */
  padding: 15px 25px;
}

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

/* CTA Section at bottom */
.page-fishing-games__cta-section {
  padding: 80px 0;
  text-align: center;
}

.page-fishing-games__cta-title {
  font-size: 3em;
  margin-bottom: 20px;
}

.page-fishing-games__cta-description {
  font-size: 1.2em;
  max-width: 800px;
  margin: 0 auto 40px;
  color: #f0f0f0;
}

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

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

  .page-fishing-games__cta-title {
    font-size: 2.5em;
  }
}

@media (max-width: 768px) {
  .page-fishing-games__hero-section {
    padding-top: var(--header-offset, 120px) !important; /* Ensure header offset on mobile */
    padding-bottom: 40px;
  }

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

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

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

  .page-fishing-games__cta-button,
  .page-fishing-games__btn-primary,
  .page-fishing-games__btn-secondary,
  .page-fishing-games__game-button,
  .page-fishing-games__guide-button,
  .page-fishing-games__promo-button {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
    margin: 0 auto; /* Center buttons if in a flex column */
  }

  .page-fishing-games__section {
    padding: 40px 0;
  }

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

  .page-fishing-games__section-description {
    font-size: 0.95em;
    margin-bottom: 30px;
  }

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

  .page-fishing-games__card,
  .page-fishing-games__game-card,
  .page-fishing-games__guide-item,
  .page-fishing-games__promo-card,
  .page-fishing-games__feature-item {
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  }

  .page-fishing-games__card-image,
  .page-fishing-games__game-image,
  .page-fishing-games__promo-image,
  .page-fishing-games__guide-icon,
  .page-fishing-games__feature-icon,
  .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__game-card,
  .page-fishing-games__guide-item,
  .page-fishing-games__promo-card,
  .page-fishing-games__feature-item,
  .page-fishing-games__faq-item,
  .page-fishing-games__hero-cta-buttons,
  .page-fishing-games__cta-buttons,
  .page-fishing-games__game-showcase-grid,
  .page-fishing-games__guide-steps,
  .page-fishing-games__promotions-grid,
  .page-fishing-games__security-features {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden !important; /* Prevent horizontal scroll */
  }

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

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

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

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

  .page-fishing-games__guide-icon-wrapper {
    padding: 10px;
  }

  .page-fishing-games__guide-icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    min-height: 50px;
  }

  .page-fishing-games__tips-section {
    padding: 20px;
  }

  .page-fishing-games__tips-title {
    font-size: 1.5em;
  }

  .page-fishing-games__tips-list {
    font-size: 0.95em;
  }
}