/* style/fishing-games.css */
:root {
  --primary-color: #26A9E0;
  --secondary-color: #FFFFFF;
  --text-dark: #333333;
  --text-light: #ffffff;
  --bg-dark: #0a0a0a; /* From body background */
  --login-color: #EA7C07;
}

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

.page-fishing-games__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 500px;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  text-align: center;
  overflow: hidden;
  color: var(--text-light);
}

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

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

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

.page-fishing-games__hero-description {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 30px;
  color: var(--secondary-color);
}

.page-fishing-games__cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: center;
}

.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 8px;
  font-size: 1.05rem;
  font-weight: 600;
  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(--primary-color);
  color: var(--text-light);
  border: 2px solid var(--primary-color);
}

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

.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(--text-light);
}

.page-fishing-games__btn-center {
  margin: 20px auto 0 auto;
  display: block;
  width: fit-content;
}

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

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

.page-fishing-games__section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  margin-bottom: 40px;
  color: var(--text-light);
}

.page-fishing-games__section.page-fishing-games__game-overview .page-fishing-games__section-title,
.page-fishing-games__section.page-fishing-games__how-to-play .page-fishing-games__section-title,
.page-fishing-games__section.page-fishing-games__bonuses .page-fishing-games__section-title,
.page-fishing-games__section.page-fishing-games__faq-section .page-fishing-games__section-title {
  color: var(--primary-color);
}

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

.page-fishing-games__text-block {
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 20px;
  color: var(--text-light);
}

.page-fishing-games__section.page-fishing-games__game-overview .page-fishing-games__text-block,
.page-fishing-games__section.page-fishing-games__how-to-play .page-fishing-games__text-block,
.page-fishing-games__section.page-fishing-games__bonuses .page-fishing-games__text-block,
.page-fishing-games__section.page-fishing-games__faq-section .page-fishing-games__text-block {
  color: var(--text-dark);
}

.page-fishing-games__image-content,
.page-fishing-games__promo-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

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

.page-fishing-games__feature-card,
.page-fishing-games__promo-card {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 30px;
  text-align: left;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  color: var(--text-light);
  display: flex;
  flex-direction: column;
}

.page-fishing-games__promo-card {
  background-color: var(--secondary-color);
  color: var(--text-dark);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.page-fishing-games__card-title {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: var(--secondary-color);
}

.page-fishing-games__promo-card .page-fishing-games__card-title {
  color: var(--primary-color);
}

.page-fishing-games__feature-card p,
.page-fishing-games__promo-card p {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-light);
}

.page-fishing-games__promo-card p {
  color: var(--text-dark);
}

.page-fishing-games__list-numbered,
.page-fishing-games__list-bullet {
  list-style: none;
  padding: 0;
  margin: 20px auto 30px auto;
  text-align: left;
  max-width: 800px;
}

.page-fishing-games__list-numbered li,
.page-fishing-games__list-bullet li {
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 10px;
  padding-left: 30px;
  position: relative;
  color: var(--text-dark);
}

.page-fishing-games__list-numbered li:before {
  content: counter(list-item) ". ";
  counter-increment: list-item;
  position: absolute;
  left: 0;
  font-weight: 600;
  color: var(--primary-color);
}

.page-fishing-games__list-bullet li:before {
  content: "\2022"; /* Bullet point */
  position: absolute;
  left: 0;
  font-size: 1.2em;
  line-height: 1;
  color: var(--primary-color);
}

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

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

.page-fishing-games__faq-item {
  background-color: var(--secondary-color);
  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.1rem;
  font-weight: 600;
  color: var(--primary-color);
  cursor: pointer;
  background-color: #f9f9f9;
  border-bottom: 1px solid #e0e0e0;
}

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

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

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

.page-fishing-games__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  margin-left: 15px;
  transition: transform 0.3s ease;
}

.page-fishing-games__faq-item[open] .page-fishing-games__faq-toggle {
  transform: rotate(45deg);
}

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

.page-fishing-games__faq-item summary {
  list-style: none;
}

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

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

.page-fishing-games__cta-final .page-fishing-games__section-title {
  margin-bottom: 25px;
}

.page-fishing-games__cta-final .page-fishing-games__text-block {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 40px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-fishing-games__hero-section {
    min-height: 400px;
    padding: 40px 15px;
  }

  .page-fishing-games__main-title {
    font-size: clamp(2rem, 4.5vw, 3rem);
  }

  .page-fishing-games__section-title {
    font-size: clamp(1.6rem, 4vw, 2.5rem);
  }

  .page-fishing-games__feature-grid,
  .page-fishing-games__promo-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-fishing-games__hero-section {
    padding: 30px 15px;
    padding-top: 10px !important; /* body handles --header-offset */
    min-height: 350px;
  }

  .page-fishing-games__main-title {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
  }

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

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

  .page-fishing-games__btn-primary,
  .page-fishing-games__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    padding: 12px 20px;
    font-size: 1rem;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }

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

  .page-fishing-games__section-title {
    font-size: clamp(1.5rem, 5vw, 2rem);
    margin-bottom: 30px;
  }

  .page-fishing-games__text-block {
    font-size: 0.95rem;
  }

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

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

  .page-fishing-games__card-title {
    font-size: 1.2rem;
  }

  .page-fishing-games__list-numbered li,
  .page-fishing-games__list-bullet li {
    font-size: 0.95rem;
  }

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

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

  /* Mobile image responsiveness */
  .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__promo-card,
  .page-fishing-games__feature-card {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Ensure padding is applied to containers that might hold images/buttons */
  .page-fishing-games__game-overview .page-fishing-games__container,
  .page-fishing-games__features .page-fishing-games__container,
  .page-fishing-games__how-to-play .page-fishing-games__container,
  .page-fishing-games__strategies .page-fishing-games__container,
  .page-fishing-games__bonuses .page-fishing-games__container,
  .page-fishing-games__safety .page-fishing-games__container,
  .page-fishing-games__faq-section .page-fishing-games__container,
  .page-fishing-games__cta-final .page-fishing-games__container {
    padding-left: 15px !important;
    padding-right: 15px !important;
  }

  /* Video specific mobile styles, though no video in this specific page, good to include as a general rule */
  .page-fishing-games video,
  .page-fishing-games__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-fishing-games__video-section,
  .page-fishing-games__video-container,
  .page-fishing-games__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  .page-fishing-games__video-section {
    padding-top: 10px !important;
  }
}

/* Contrast Fixes */
.page-fishing-games__contrast-fix {
  background: #ffffff !important;
  color: #333333 !important;
  border: 1px solid #e0e0e0 !important;
}

.page-fishing-games__text-contrast-fix {
  color: #333333 !important;
  text-shadow: none !important;
}