/* style/fishing-games.css */

:root {
  --primary-color: #26A9E0;
  --secondary-color: #FFFFFF;
  --text-dark-bg: #FFFFFF;
  --text-light-bg: #333333;
  --login-button-color: #EA7C07;
  --background-dark: #1a1a2e;
  --background-light: #f8f9fa;
}

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

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

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

.page-fishing-games__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

/* Hero Section */
.page-fishing-games__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: var(--header-offset, 120px); /* Ensure space for fixed header */
  min-height: 600px;
  overflow: hidden;
}

.page-fishing-games__hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin-bottom: 40px;
}

.page-fishing-games__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: var(--text-dark-bg);
  line-height: 1.2;
}

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

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

.page-fishing-games__hero-image-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-fishing-games__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.4); /* Darken image for text readability, no color change */
}

/* General Section Styles */
.page-fishing-games__section-title {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 25px;
  color: var(--primary-color);
}

.page-fishing-games__section-description {
  font-size: 1.1em;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 40px auto;
}

/* Background Colors */
.page-fishing-games__dark-bg {
  background-color: var(--background-dark);
  color: var(--text-dark-bg);
}

.page-fishing-games__light-bg {
  background-color: var(--background-light);
  color: var(--text-light-bg);
}

.page-fishing-games__light-bg .page-fishing-games__section-title,
.page-fishing-games__light-bg .page-fishing-games__game-card-title a {
  color: var(--primary-color);
}

.page-fishing-games__light-bg .page-fishing-games__section-description,
.page-fishing-games__light-bg .page-fishing-games__benefit-text,
.page-fishing-games__light-bg .page-fishing-games__guide-step-text,
.page-fishing-games__light-bg .page-fishing-games__promo-card-text,
.page-fishing-games__light-bg .page-fishing-games__game-card-text {
  color: var(--text-light-bg);
}

/* Buttons */
.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary,
.page-fishing-games__btn-login {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  text-transform: uppercase;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text breaking */
  max-width: 100%; /* Ensure button fits container */
  box-sizing: border-box;
  text-align: center;
}

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

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

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

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

.page-fishing-games__btn-login {
  background-color: var(--login-button-color);
  color: var(--secondary-color);
  border: 2px solid var(--login-button-color);
}

.page-fishing-games__btn-login:hover {
  background-color: darken(var(--login-button-color), 10%);
  transform: translateY(-2px);
}

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

.page-fishing-games__game-card {
  background-color: rgba(255, 255, 255, 0.08); /* Semi-transparent white on dark bg */
  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-dark-bg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
}

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

.page-fishing-games__game-card-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  min-width: 200px; /* Ensure min image size */
  min-height: 200px; /* Ensure min image size */
}

.page-fishing-games__game-card-title {
  font-size: 1.5em;
  margin-bottom: 15px;
  color: var(--text-dark-bg);
}

.page-fishing-games__game-card-title a {
  color: var(--text-dark-bg);
  text-decoration: none;
}

.page-fishing-games__game-card-title a:hover {
  color: var(--primary-color);
  text-decoration: underline;
}

.page-fishing-games__game-card-text {
  font-size: 1em;
  margin-bottom: 20px;
  flex-grow: 1;
}

/* Benefits Section */
.page-fishing-games__benefits-list {
  list-style: none;
  padding: 0;
  margin-top: 50px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.page-fishing-games__benefit-item {
  background-color: var(--secondary-color);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: var(--text-light-bg);
}

.page-fishing-games__benefit-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.12);
}

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

.page-fishing-games__benefit-text {
  font-size: 1em;
  line-height: 1.7;
}

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

.page-fishing-games__guide-step-item {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  color: var(--text-dark-bg);
}

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

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

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

.page-fishing-games__guide-step-text {
  font-size: 1em;
}

.page-fishing-games__guide-conclusion {
  text-align: center;
  margin-top: 40px;
  font-size: 1.1em;
  color: var(--text-dark-bg);
}

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

.page-fishing-games__promo-card {
  background-color: var(--secondary-color);
  border-radius: 12px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: var(--text-light-bg);
}

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

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

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

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

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

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

.page-fishing-games__promotions-cta {
  text-align: center;
  margin-top: 50px;
}

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

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

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

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

.page-fishing-games__faq-question-text {
  margin: 0;
  color: var(--text-dark-bg);
}

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

.page-fishing-games__faq-item.active .page-fishing-games__faq-toggle {
  transform: rotate(45deg); /* Change + to X (or - if using a different icon) */
}

.page-fishing-games__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: var(--text-dark-bg);
}

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

.page-fishing-games__faq-answer-text {
  margin: 0;
  font-size: 1em;
}

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

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

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

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

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

@media (max-width: 768px) {
  .page-fishing-games {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-fishing-games__hero-section {
    padding: 40px 15px;
    padding-top: var(--header-offset, 120px) !important;
  }

  .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__btn-primary,
  .page-fishing-games__btn-secondary,
  .page-fishing-games__btn-login {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

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

  .page-fishing-games__content-area {
    padding: 30px 15px;
  }

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

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

  .page-fishing-games__game-cards,
  .page-fishing-games__benefits-list,
  .page-fishing-games__guide-steps,
  .page-fishing-games__promo-cards {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .page-fishing-games__game-card-image,
  .page-fishing-games__promo-card-image,
  .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__promo-card,
  .page-fishing-games__benefit-item,
  .page-fishing-games__guide-step-item,
  .page-fishing-games__hero-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-fishing-games__faq-question,
  .page-fishing-games__faq-answer {
    padding-left: 15px;
    padding-right: 15px;
  }

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

  .page-fishing-games__cta-section {
    padding: 60px 15px;
  }
}

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

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