/* style/fishing-games.css */

/* Body background color from shared.css, assuming it's dark. */
/* If body is dark, text should be light. */
.page-fishing-games {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-main, #F2FFF6); /* Default light text for dark body */
  background-color: var(--background, #08160F); /* Default dark background */
}

.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%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 500px;
  color: var(--text-main, #F2FFF6);
  text-align: center;
  overflow: hidden;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
}

.page-fishing-games__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  filter: brightness(0.6); /* Slightly dim the background image for text readability */
}

.page-fishing-games__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 40px 20px;
  background-color: rgba(0, 0, 0, 0.4); /* Semi-transparent overlay for text readability */
  border-radius: 10px;
}

.page-fishing-games__hero-title {
  font-weight: bold;
  margin-bottom: 20px;
  color: var(--gold, #F2C14E);
}

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

.page-fishing-games__cta-button {
  display: inline-block;
  padding: 15px 30px;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: var(--text-main, #F2FFF6);
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: background-color 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-fishing-games__cta-button:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
}

.page-fishing-games__cta-button--center {
  display: block;
  margin: 40px auto 0 auto;
  text-align: center;
}

.page-fishing-games__section-title {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 20px;
  color: var(--gold, #F2C14E);
}

.page-fishing-games__section-subtitle {
  font-size: 1.2em;
  text-align: center;
  margin-bottom: 40px;
  color: var(--text-secondary, #A7D9B8);
}

.page-fishing-games__introduction-section,
.page-fishing-games__guide-section,
.page-fishing-games__security-section,
.page-fishing-games__cta-final-section {
  padding: 60px 0;
  background-color: var(--light-bg, #08160F); /* Default to dark if not specified */
  color: var(--text-main, #F2FFF6);
}

.page-fishing-games__light-bg {
  background-color: var(--background, #08160F); /* Use dark background for these sections as per overall theme */
  color: var(--text-main, #F2FFF6);
}

.page-fishing-games__dark-bg {
  background-color: var(--card-bg, #11271B);
  color: var(--text-main, #F2FFF6);
}

.page-fishing-games__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: var(--text-secondary, #A7D9B8);
}

.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 {
  background-color: var(--card-bg, #11271B);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border, #2E7A4E);
}

.page-fishing-games__feature-icon {
  width: 100%; /* Ensure images are responsive */
  height: auto;
  max-width: 250px; /* Adjust as needed, but not too small */
  margin-bottom: 20px;
  border-radius: 5px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-fishing-games__feature-title {
  font-size: 1.5em;
  margin-bottom: 15px;
  color: var(--glow, #57E38D);
}

.page-fishing-games__feature-description {
  color: var(--text-secondary, #A7D9B8);
}

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

.page-fishing-games__game-card {
  background-color: var(--card-bg, #11271B);
  padding: 20px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border, #2E7A4E);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

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

.page-fishing-games__game-title {
  font-size: 1.6em;
  margin-bottom: 10px;
  color: var(--gold, #F2C14E);
}

.page-fishing-games__game-description {
  font-size: 0.95em;
  margin-bottom: 20px;
  flex-grow: 1;
  color: var(--text-secondary, #A7D9B8);
}

.page-fishing-games__btn-secondary {
  display: inline-block;
  padding: 10px 20px;
  background-color: var(--text-main, #F2FFF6);
  color: var(--primary-color, #11A84E);
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
  border: 2px solid var(--primary-color, #11A84E);
  cursor: pointer;
}

.page-fishing-games__btn-secondary:hover {
  background-color: var(--primary-color, #11A84E);
  color: var(--text-main, #F2FFF6);
}

.page-fishing-games__guide-block {
  background-color: var(--card-bg, #11271B);
  padding: 30px;
  border-radius: 10px;
  margin-bottom: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border, #2E7A4E);
}

.page-fishing-games__guide-title {
  font-size: 1.8em;
  margin-bottom: 20px;
  color: var(--glow, #57E38D);
}

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

.page-fishing-games__guide-list li {
  background-color: var(--deep-green, #0A4B2C);
  margin-bottom: 10px;
  padding: 15px;
  border-radius: 5px;
  color: var(--text-main, #F2FFF6);
  border-left: 5px solid var(--primary-color, #11A84E);
}

.page-fishing-games__list-highlight {
  color: var(--gold, #F2C14E);
}

.page-fishing-games__promotions-section {
  padding: 60px 0;
}

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

.page-fishing-games__promo-card {
  background-color: var(--card-bg, #11271B);
  padding: 20px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border, #2E7A4E);
}

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

.page-fishing-games__promo-title {
  font-size: 1.6em;
  margin-bottom: 10px;
  color: var(--gold, #F2C14E);
}

.page-fishing-games__promo-description {
  font-size: 0.95em;
  color: var(--text-secondary, #A7D9B8);
}

.page-fishing-games__security-image {
  width: 100%;
  height: auto;
  max-width: 800px;
  display: block;
  margin: 30px auto;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border, #2E7A4E);
}

.page-fishing-games__faq-section {
  padding: 60px 0;
}

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

.page-fishing-games__faq-item {
  background-color: var(--card-bg, #11271B);
  margin-bottom: 15px;
  border-radius: 8px;
  border: 1px solid var(--border, #2E7A4E);
  overflow: hidden;
}

.page-fishing-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.2em;
  font-weight: bold;
  color: var(--text-main, #F2FFF6);
  cursor: pointer;
  background-color: var(--deep-green, #0A4B2C);
  list-style: none; /* For details tag */
  -webkit-touch-callout: none; /* Disable text highlight on iOS */
  -webkit-user-select: none;   /* Disable text highlight on iOS */
  -khtml-user-select: none;    /* Disable text highlight on iOS */
  -moz-user-select: none;      /* Disable text highlight on Firefox */
  -ms-user-select: none;       /* Disable text highlight on IE/Edge */
  user-select: none;           /* Disable text highlight */
}

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

.page-fishing-games__faq-qtext {
  flex-grow: 1;
}

.page-fishing-games__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  color: var(--glow, #57E38D);
}

.page-fishing-games__faq-answer {
  padding: 15px 20px;
  font-size: 1em;
  color: var(--text-secondary, #A7D9B8);
  background-color: var(--card-bg, #11271B);
  border-top: 1px solid var(--divider, #1E3A2A);
}

.page-fishing-games__faq-item[open] .page-fishing-games__faq-question {
  background-color: var(--primary-color, #11A84E);
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-fishing-games__hero-content {
    padding: 30px 15px;
  }

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

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

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

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

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

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

  .page-fishing-games__hero-section {
    min-height: 400px;
    padding: 40px 10px;
  }

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

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

  .page-fishing-games__cta-button {
    padding: 12px 25px;
    font-size: 0.95em;
    max-width: 100% !important;
    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;
  }

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

  .page-fishing-games__features-grid,
  .page-fishing-games__game-list,
  .page-fishing-games__promo-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-fishing-games__feature-item,
  .page-fishing-games__game-card,
  .page-fishing-games__promo-card,
  .page-fishing-games__guide-block,
  .page-fishing-games__faq-item {
    padding: 20px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

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

  .page-fishing-games__feature-icon,
  .page-fishing-games__game-image,
  .page-fishing-games__promo-image,
  .page-fishing-games__security-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    box-sizing: border-box !important;
  }

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

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

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

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

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

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

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

  .page-fishing-games__feature-title,
  .page-fishing-games__game-title,
  .page-fishing-games__promo-title,
  .page-fishing-games__guide-title {
    font-size: 1.3em;
  }
}