/* style/fishing-games.css */
.page-fishing-games {
  font-family: 'Arial', sans-serif;
  color: #ffffff; /* Default text color for dark body background */
  background-color: #000000; /* Inherited from body, ensuring contrast */
}

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

.page-fishing-games__hero-section {
  position: relative;
  width: 100%;
  height: 70vh;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  color: #ffffff;
  background-color: #000000; /* Fallback */
}

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

.page-fishing-games__hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 2;
}

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

.page-fishing-games__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #ffffff;
}

.page-fishing-games__hero-description {
  font-size: 1.3em;
  margin-bottom: 40px;
  line-height: 1.6;
  color: #f0f0f0;
}

.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, border-color 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-fishing-games__btn-primary {
  background-color: #26A9E0;
  color: #ffffff;
  border: 2px solid #26A9E0;
}

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

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

.page-fishing-games__btn-secondary:hover {
  background-color: #e0e0e0;
  color: #1a7fb0;
  border-color: #1a7fb0;
}

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

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

.page-fishing-games__text-block {
  font-size: 1.1em;
  line-height: 1.7;
  margin-bottom: 30px;
  text-align: center;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  color: #f0f0f0;
}

.page-fishing-games__light-bg .page-fishing-games__text-block {
  color: #333333;
}

.page-fishing-games__text-block a {
  color: #26A9E0;
  text-decoration: underline;
}

.page-fishing-games__text-block a:hover {
  color: #1a7fb0;
}

.page-fishing-games__intro-section {
  padding: 80px 0;
  background-color: #ffffff;
  color: #333333;
}

.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-item {
  text-align: center;
  background-color: #f8f8f8;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

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

.page-fishing-games__feature-title {
  font-size: 1.5em;
  color: #26A9E0;
  margin-bottom: 10px;
}

.page-fishing-games__feature-description {
  font-size: 1em;
  line-height: 1.6;
  color: #555555;
}

.page-fishing-games__login-guide {
  padding: 80px 0;
  background-color: #000000;
  color: #ffffff;
}

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

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

.page-fishing-games__step-title {
  font-size: 1.4em;
  color: #26A9E0;
  margin-bottom: 15px;
}

.page-fishing-games__step-description {
  font-size: 1em;
  line-height: 1.6;
  color: #f0f0f0;
}

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

.page-fishing-games__games-showcase {
  padding: 80px 0;
  background-color: #ffffff;
  color: #333333;
}

.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: #f8f8f8;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  text-align: center;
}

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

.page-fishing-games__game-title {
  font-size: 1.4em;
  margin: 20px 15px 10px;
  color: #26A9E0;
}

.page-fishing-games__game-title a {
  color: #26A9E0;
  text-decoration: none;
}

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

.page-fishing-games__game-description {
  font-size: 0.95em;
  line-height: 1.6;
  color: #555555;
  padding: 0 15px 20px;
}

.page-fishing-games__promotions {
  padding: 80px 0;
  background-color: #000000;
  color: #ffffff;
}

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

.page-fishing-games__promo-card {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  padding-bottom: 30px;
}

.page-fishing-games__promo-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  margin-bottom: 20px;
}

.page-fishing-games__promo-title {
  font-size: 1.5em;
  color: #26A9E0;
  margin: 0 15px 10px;
}

.page-fishing-games__promo-description {
  font-size: 1em;
  line-height: 1.6;
  color: #f0f0f0;
  padding: 0 15px 20px;
}

.page-fishing-games__app-download {
  padding: 80px 0;
  background-color: #ffffff;
  color: #333333;
}

.page-fishing-games__app-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 50px;
  margin-top: 40px;
}

.page-fishing-games__app-image-wrapper {
  flex: 1 1 300px;
  max-width: 400px;
  text-align: center;
}

.page-fishing-games__app-image {
  width: 100%;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-fishing-games__app-info {
  flex: 2 1 450px;
  max-width: 600px;
}

.page-fishing-games__app-subtitle {
  font-size: 2em;
  color: #26A9E0;
  margin-bottom: 20px;
}

.page-fishing-games__app-features-list {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
}

.page-fishing-games__app-features-list li {
  font-size: 1.1em;
  line-height: 1.8;
  margin-bottom: 10px;
  position: relative;
  padding-left: 30px;
  color: #555555;
}

.page-fishing-games__app-features-list li::before {
  content: '✔';
  color: #26A9E0;
  position: absolute;
  left: 0;
  font-weight: bold;
}

.page-fishing-games__list-highlight {
  color: #26A9E0;
}

.page-fishing-games__app-download-buttons {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.page-fishing-games__btn-download {
  min-width: 200px;
  justify-content: center;
}

.page-fishing-games__faq-section {
  padding: 80px 0;
  background-color: #000000;
  color: #ffffff;
}

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

.page-fishing-games__faq-item {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  margin-bottom: 20px;
  overflow: hidden;
}

.page-fishing-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 30px;
  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.2);
}

.page-fishing-games__faq-title {
  font-size: 1.2em;
  color: #ffffff;
  margin: 0;
}

.page-fishing-games__faq-toggle {
  font-size: 1.5em;
  font-weight: bold;
  color: #26A9E0;
  transition: transform 0.3s ease;
}

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

.page-fishing-games__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 30px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #f0f0f0;
}

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

.page-fishing-games__faq-answer p {
  margin: 0;
  line-height: 1.6;
}

.page-fishing-games__faq-answer a {
  color: #26A9E0;
  text-decoration: underline;
}

.page-fishing-games__faq-answer a:hover {
  color: #1a7fb0;
}

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

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

  .page-fishing-games__hero-section {
    height: 80vh;
    min-height: 400px;
  }

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

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

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

  .page-fishing-games__btn-primary,
  .page-fishing-games__btn-secondary {
    padding: 12px 20px;
    width: 100%;
    max-width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

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

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

  .page-fishing-games__text-block {
    font-size: 1em;
  }

  .page-fishing-games__intro-section,
  .page-fishing-games__login-guide,
  .page-fishing-games__games-showcase,
  .page-fishing-games__promotions,
  .page-fishing-games__app-download,
  .page-fishing-games__faq-section {
    padding: 50px 0;
  }

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

  .page-fishing-games__app-content {
    flex-direction: column;
    gap: 30px;
  }

  .page-fishing-games__app-image-wrapper,
  .page-fishing-games__app-info {
    max-width: 100%;
    flex: none;
  }

  .page-fishing-games__app-download-buttons {
    flex-direction: column;
    gap: 15px;
  }
  
  .page-fishing-games__app-download-buttons a {
    width: 100%;
  }

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

  .page-fishing-games__faq-title {
    font-size: 1.1em;
  }

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

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

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

  /* Force container responsiveness */
  .page-fishing-games__section,
  .page-fishing-games__card,
  .page-fishing-games__container,
  .page-fishing-games__app-image-wrapper,
  .page-fishing-games__app-info,
  .page-fishing-games__hero-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important;
  }

  /* Specific padding for sections to prevent content sticking to edges */
  .page-fishing-games__intro-section .page-fishing-games__container,
  .page-fishing-games__login-guide .page-fishing-games__container,
  .page-fishing-games__games-showcase .page-fishing-games__container,
  .page-fishing-games__promotions .page-fishing-games__container,
  .page-fishing-games__app-download .page-fishing-games__container,
  .page-fishing-games__faq-section .page-fishing-games__container {
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Hero section on mobile needs offset if not handled by shared body padding */
  /* Assuming shared body padding handles it, so hero content shifts down */
  /* If not, uncomment and apply padding-top to the hero-section */
  /* .page-fishing-games__hero-section { padding-top: var(--header-offset, 120px) !important; } */
}

/* Color contrast fixes for specific elements if needed */
.page-fishing-games__dark-bg {
  background-color: #000000;
  color: #ffffff;
}

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

.page-fishing-games__feature-item,
.page-fishing-games__game-card {
  background-color: #f8f8f8;
  color: #333333;
}

.page-fishing-games__feature-title,
.page-fishing-games__game-title {
  color: #26A9E0;
}

.page-fishing-games__feature-description,
.page-fishing-games__game-description {
  color: #555555;
}

.page-fishing-games__promo-card {
  background-color: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

.page-fishing-games__promo-title {
  color: #26A9E0;
}

.page-fishing-games__promo-description {
  color: #f0f0f0;
}

.page-fishing-games__faq-item {
  background-color: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

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

.page-fishing-games__faq-title {
  color: #ffffff;
}

.page-fishing-games__faq-answer {
  color: #f0f0f0;
}

.page-fishing-games__list-highlight {
  color: #26A9E0;
}