/* style/fishing-games.css */
.page-fishing-games {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Body background is #121212 (dark), so use light text */
  background-color: #121212; /* Ensure consistency with body background */
}

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

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

.page-fishing-games__main-title {
  font-size: clamp(2.5em, 5vw, 3.5em); /* Use clamp for H1 */
  color: #FFFFFF;
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
  max-width: 800px; /* Limit width to prevent overly long lines */
  margin-left: auto;
  margin-right: auto;
}

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

.page-fishing-games__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 600px;
  padding: 10px 0 60px 0; /* body handles padding-top, add small top padding here */
  overflow: hidden;
  background-color: #121212;
}

.page-fishing-games__hero-image-wrapper {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  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.5); /* Darken image for text readability, not color change */
}

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

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

.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;
  font-size: 1.1em;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  box-sizing: border-box;
  text-align: center;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text wrapping */
}

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

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

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

.page-fishing-games__btn-secondary:hover {
  background-color: #26A9E0;
  color: #FFFFFF;
}

.page-fishing-games__btn-large {
  min-width: 220px;
}

.page-fishing-games__intro-section,
.page-fishing-games__how-to-play-section,
.page-fishing-games__strategies-section,
.page-fishing-games__register-section {
  padding: 60px 0;
  background-color: #1a1a1a; /* Slightly lighter dark background for contrast */
  color: #f0f0f0;
}

.page-fishing-games__dark-section {
  background-color: #26A9E0;
  color: #FFFFFF;
  padding: 60px 0;
}

.page-fishing-games__light-bg {
  background-color: #222222;
  color: #f0f0f0;
  padding: 60px 0;
}

.page-fishing-games__content-image {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 40px auto;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-fishing-games__features-grid,
.page-fishing-games__game-cards-grid,
.page-fishing-games__strategy-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__game-card,
.page-fishing-games__strategy-item {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
  color: #f0f0f0;
}

.page-fishing-games__dark-section .page-fishing-games__feature-card {
  background-color: rgba(0, 0, 0, 0.2);
  color: #FFFFFF;
}

.page-fishing-games__feature-card:hover,
.page-fishing-games__game-card:hover,
.page-fishing-games__strategy-item:hover {
  transform: translateY(-5px);
}

.page-fishing-games__card-title,
.page-fishing-games__game-card-title,
.page-fishing-games__strategy-title {
  font-size: 1.5em;
  color: #26A9E0;
  margin-bottom: 15px;
  font-weight: bold;
}

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

.page-fishing-games__steps-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
}

.page-fishing-games__step-item {
  background-color: rgba(255, 255, 255, 0.08);
  padding: 25px;
  margin-bottom: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  color: #f0f0f0;
}

.page-fishing-games__step-title {
  font-size: 1.3em;
  color: #26A9E0;
  margin-bottom: 10px;
  font-weight: bold;
}

.page-fishing-games__promo-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
  text-align: center;
}

.page-fishing-games__promo-item {
  font-size: 1.1em;
  margin-bottom: 10px;
  position: relative;
  padding-left: 25px;
  color: #FFFFFF;
}

.page-fishing-games__promo-item::before {
  content: '★';
  color: #FFD700; /* Gold star */
  position: absolute;
  left: 0;
  top: 0;
}

.page-fishing-games__text-center {
  text-align: center;
  margin-top: 40px;
  font-size: 1.1em;
}

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

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

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

.page-fishing-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  background-color: rgba(255, 255, 255, 0.15);
  cursor: pointer;
  font-weight: bold;
  font-size: 1.1em;
  color: #FFFFFF;
  list-style: none;
  -webkit-touch-callout: none; /* iOS Safari */
  -webkit-user-select: none;   /* Safari */
  -khtml-user-select: none;    /* Konqueror HTML */
  -moz-user-select: none;      /* Old versions of Firefox */
  -ms-user-select: none;       /* Internet Explorer/Edge */
  user-select: none;           /* Non-prefixed version, currently supported by Chrome, Edge, Opera and Firefox */
}

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

.page-fishing-games__faq-item[open] .page-fishing-games__faq-question {
  background-color: #26A9E0;
}

.page-fishing-games__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  color: #FFFFFF;
}

.page-fishing-games__faq-item[open] .page-fishing-games__faq-toggle {
  content: '−';
}

.page-fishing-games__faq-answer {
  padding: 20px 25px;
  font-size: 1em;
  color: #e0e0e0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-fishing-games__section-title {
    font-size: 2em;
  }
  .page-fishing-games__main-title {
    font-size: clamp(2em, 4vw, 3em);
  }
}

@media (max-width: 768px) {
  .page-fishing-games {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-fishing-games__container {
    padding: 0 15px;
  }
  .page-fishing-games__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }
  .page-fishing-games__main-title {
    font-size: clamp(1.8em, 6vw, 2.5em);
  }
  .page-fishing-games__hero-section {
    min-height: 400px;
    padding: 10px 0 40px 0;
  }
  .page-fishing-games__hero-content {
    padding: 15px;
  }
  .page-fishing-games__description {
    font-size: 1em;
  }
  .page-fishing-games__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-fishing-games__btn-primary,
  .page-fishing-games__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 12px 20px !important;
    font-size: 1em !important;
  }
  .page-fishing-games__btn-large {
    min-width: unset;
  }
  .page-fishing-games__intro-section,
  .page-fishing-games__how-to-play-section,
  .page-fishing-games__strategies-section,
  .page-fishing-games__register-section,
  .page-fishing-games__dark-section,
  .page-fishing-games__light-bg,
  .page-fishing-games__faq-section {
    padding: 40px 0;
  }
  .page-fishing-games__content-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-fishing-games__feature-card,
  .page-fishing-games__game-card,
  .page-fishing-games__strategy-item {
    padding: 20px;
  }
  .page-fishing-games__game-card-image {
    height: 150px;
  }
  .page-fishing-games__step-item {
    padding: 20px;
  }
  .page-fishing-games__promo-item {
    padding-left: 20px;
  }
  .page-fishing-games__faq-question {
    padding: 15px 20px;
    font-size: 1em;
  }
  .page-fishing-games__faq-answer {
    padding: 15px 20px;
  }

  /* Ensure all images are responsive */
  .page-fishing-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  /* All containers with images/videos/buttons */
  .page-fishing-games__section,
  .page-fishing-games__card,
  .page-fishing-games__container,
  .page-fishing-games__hero-section,
  .page-fishing-games__intro-section,
  .page-fishing-games__features-section,
  .page-fishing-games__how-to-play-section,
  .page-fishing-games__game-types-section,
  .page-fishing-games__strategies-section,
  .page-fishing-games__promotions-section,
  .page-fishing-games__register-section,
  .page-fishing-games__faq-section,
  .page-fishing-games__cta-buttons,
  .page-fishing-games__button-group,
  .page-fishing-games__btn-container,
  .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;
  }
  /* For multiple buttons in a row, allow wrapping */
  .page-fishing-games__cta-buttons {
    flex-wrap: wrap !important;
    gap: 10px;
  }
}

/* Color Contrast Specifics */
.page-fishing-games p,
.page-fishing-games li {
  color: #f0f0f0; /* Ensure light text on dark background */
}

.page-fishing-games__dark-bg {
  color: #ffffff; /* Deep dark background, pure white text */
  background: #121212; 
}

.page-fishing-games__light-bg {
  color: #f0f0f0; /* Slightly lighter dark background, light grey text */
  background: #222222;
}

.page-fishing-games__medium-bg {
  color: #f0f0f0; /* Default light text */
  background: #26A9E0;
}

/* Override specific element background/text for contrast if needed */
.page-fishing-games__dark-section .page-fishing-games__section-title {
  color: #FFFFFF;
}

.page-fishing-games__dark-section .page-fishing-games__card-title {
  color: #FFFFFF;
}

.page-fishing-games__dark-section .page-fishing-games__promo-item::before {
  color: #FFD700; /* Gold star */
}