/* style/fishing-games.css */

:root {
  --page-primary-color: #26A9E0;
  --page-secondary-color: #FFFFFF;
  --page-dark-background: #1a1a2e;
  --page-light-text: #ffffff;
  --page-dark-text: #333333;
  --page-accent-orange: #EA7C07;
}

.page-fishing-games {
  color: var(--page-light-text); /* Default text color for dark body background */
  background-color: var(--page-dark-background);
}

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

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

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

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

.page-fishing-games__hero-section {
  position: relative;
  padding-top: var(--header-offset, 120px);
  padding-bottom: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-fishing-games__hero-section .page-fishing-games__container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  text-align: center;
}

.page-fishing-games__hero-content {
  max-width: 800px;
}

.page-fishing-games__main-title {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  margin-bottom: 20px;
  line-height: 1.2;
  color: var(--page-secondary-color);
}

.page-fishing-games__description {
  font-size: clamp(1rem, 2vw, 1.25rem);
  line-height: 1.6;
  margin-bottom: 30px;
  color: var(--page-light-text);
}

.page-fishing-games__hero-image-wrapper {
  width: 100%;
  max-width: 900px;
}

.page-fishing-games__hero-image {
  width: 100%;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.page-fishing-games__section-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  margin-bottom: 30px;
  line-height: 1.3;
}

.page-fishing-games__intro-section .page-fishing-games__section-title,
.page-fishing-games__game-types .page-fishing-games__section-title,
.page-fishing-games__strategy-section .page-fishing-games__section-title,
.page-fishing-games__security-section .page-fishing-games__section-title,
.page-fishing-games__cta-bottom .page-fishing-games__section-title {
  color: var(--page-primary-color);
}

.page-fishing-games__dark-bg .page-fishing-games__section-title {
  color: var(--page-secondary-color);
}

.page-fishing-games__text-block {
  font-size: 1.1rem;
  line-height: 1.7;
  max-width: 900px;
  margin: 0 auto 20px auto;
}

.page-fishing-games__text-block strong {
  color: var(--page-primary-color);
}

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

.page-fishing-games__cta-buttons--center {
  margin-top: 40px;
}

.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  font-size: 1.1rem;
  font-weight: bold;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

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

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

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

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

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

.page-fishing-games__card {
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--page-light-text);
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-fishing-games__light-bg .page-fishing-games__card {
  background-color: var(--page-secondary-color);
  color: var(--page-dark-text);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.page-fishing-games__feature-image,
.page-fishing-games__promo-image {
  width: 100%;
  max-width: 400px;
  height: auto;
  border-radius: 10px;
  margin-bottom: 20px;
  object-fit: cover;
}

.page-fishing-games__feature-title,
.page-fishing-games__promo-title {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: var(--page-primary-color);
}

.page-fishing-games__dark-bg .page-fishing-games__feature-title,
.page-fishing-games__dark-bg .page-fishing-games__promo-title {
  color: var(--page-secondary-color);
}

.page-fishing-games__feature-description,
.page-fishing-games__promo-description {
  font-size: 1rem;
  line-height: 1.6;
}

.page-fishing-games__list,
.page-fishing-games__ordered-list {
  list-style-position: inside;
  text-align: left;
  max-width: 900px;
  margin: 30px auto;
  padding-left: 0;
}

.page-fishing-games__list-item {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 10px;
  padding-left: 20px;
  position: relative;
}

.page-fishing-games__list-item::before {
  content: '•';
  color: var(--page-primary-color);
  font-weight: bold;
  display: inline-block;
  width: 1em;
  margin-left: -1em;
}

.page-fishing-games__ordered-list .page-fishing-games__list-item::before {
  content: counter(list-item) '.';
  counter-increment: list-item;
  color: var(--page-primary-color);
  font-weight: bold;
  display: inline-block;
  width: 1.5em;
  margin-left: -1.5em;
  text-align: right;
  margin-right: 5px;
}

.page-fishing-games__faq-list {
  max-width: 900px;
  margin: 40px auto;
  text-align: left;
}

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

.page-fishing-games__light-bg .page-fishing-games__faq-item {
  background-color: #f9f9f9;
  color: var(--page-dark-text);
}

.page-fishing-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2rem;
  font-weight: bold;
  cursor: pointer;
  color: var(--page-secondary-color);
  background-color: rgba(255, 255, 255, 0.15);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.page-fishing-games__light-bg .page-fishing-games__faq-question {
  color: var(--page-primary-color);
  background-color: #eaf6ff;
  border-bottom: 1px solid #e0e0e0;
}

.page-fishing-games__faq-item[open] .page-fishing-games__faq-question {
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.page-fishing-games__light-bg .page-fishing-games__faq-item[open] .page-fishing-games__faq-question {
  border-bottom: 1px solid #d0d0d0;
}

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

.page-fishing-games__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  width: 20px;
  text-align: center;
}

.page-fishing-games__faq-answer {
  padding: 20px 25px;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--page-light-text);
}

.page-fishing-games__light-bg .page-fishing-games__faq-answer {
  color: var(--page-dark-text);
}

.page-fishing-games__cta-bottom {
  padding-bottom: 80px;
}

.page-fishing-games__cta-content {
  background-color: var(--page-secondary-color);
  color: var(--page-dark-text);
  padding: 50px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

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

.page-fishing-games__cta-content .page-fishing-games__text-block {
  color: var(--page-dark-text);
}

/* Responsive styles */
@media (max-width: 992px) {
  .page-fishing-games__hero-section .page-fishing-games__container {
    flex-direction: column;
  }

  .page-fishing-games__hero-content {
    text-align: center;
  }

  .page-fishing-games__feature-grid, .page-fishing-games__promo-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .page-fishing-games__section {
    padding: 40px 0;
  }

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

  .page-fishing-games__main-title {
    font-size: 2rem;
  }

  .page-fishing-games__description {
    font-size: 1rem;
  }

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

  .page-fishing-games__text-block,
  .page-fishing-games__list-item,
  .page-fishing-games__feature-description,
  .page-fishing-games__promo-description,
  .page-fishing-games__faq-answer p {
    font-size: 0.95rem;
  }

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

  .page-fishing-games__btn-primary,
  .page-fishing-games__btn-secondary {
    width: 100%;
    padding: 12px 20px;
    font-size: 1rem;
  }

  .page-fishing-games__card {
    padding: 20px;
  }

  .page-fishing-games__feature-title,
  .page-fishing-games__promo-title {
    font-size: 1.3rem;
  }

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

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

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

  /* Image responsive adaptations */
  .page-fishing-games img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-fishing-games__section,
  .page-fishing-games__card,
  .page-fishing-games__container,
  .page-fishing-games__hero-image-wrapper,
  .page-fishing-games__promo-card {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-fishing-games__cta-buttons {
    flex-wrap: wrap !important;
    gap: 10px;
  }
}

/* Ensure images in content areas are not too small */
.page-fishing-games__feature-image,
.page-fishing-games__promo-image {
  min-width: 200px;
  min-height: 200px;
}

/* Details/Summary styling for FAQ */
.page-fishing-games__faq-item summary {
  list-style: none; /* Hide default marker */
}
.page-fishing-games__faq-item summary::-webkit-details-marker {
  display: none; /* Hide default marker for webkit */
}