/* style/fishing-games.css */
.page-fishing-games {
  font-family: 'Arial', sans-serif;
  color: #ffffff; /* Body background is dark #121212, so text should be light */
  background-color: transparent; /* Main content background is handled by sections */
}

.page-fishing-games__dark-bg {
  background-color: #1a1a1a; /* Slightly lighter than body for contrast */
  color: #ffffff;
}

.page-fishing-games__light-bg {
  background-color: #26A9E0; /* Brand color as background */
  color: #ffffff;
}

.page-fishing-games__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 20px 60px 20px; /* Small top padding, more bottom padding */
  text-align: center;
  overflow: hidden;
}

.page-fishing-games__hero-image-wrapper {
  width: 100%;
  max-width: 1920px; /* Max width for the image */
  margin-bottom: 30px; /* Space between image and text */
}

.page-fishing-games__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 8px;
}

.page-fishing-games__hero-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 15px;
  z-index: 1; /* Ensure content is above background if any */
}

.page-fishing-games__main-title {
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #ffffff;
  margin-bottom: 20px;
  max-width: 100%; /* Ensure H1 doesn't overflow */
  font-size: clamp(2.2rem, 5vw, 3.5rem); /* Responsive font size for H1 */
}

.page-fishing-games__description {
  font-size: 1.15rem;
  line-height: 1.6;
  color: #f0f0f0;
  margin-bottom: 40px;
}

.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-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.2s ease;
  box-sizing: border-box;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text breaking */
}

.page-fishing-games__btn-primary {
  background-color: #EA7C07; /* Login color */
  color: #ffffff;
  border: 2px solid #EA7C07;
}

.page-fishing-games__btn-primary:hover {
  background-color: #d16b06;
  transform: translateY(-2px);
}

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

.page-fishing-games__btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

.page-fishing-games__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
  line-height: 1.7;
}

.page-fishing-games__section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #ffffff;
  text-align: center;
  margin-bottom: 40px;
  line-height: 1.3;
}

.page-fishing-games__intro-section .page-fishing-games__section-title,
.page-fishing-games__how-to-play-section .page-fishing-games__section-title,
.page-fishing-games__why-choose-us-section .page-fishing-games__section-title,
.page-fishing-games__faq-section .page-fishing-games__section-title {
  color: #000000; /* Dark text on light brand background */
}

.page-fishing-games__intro-section p,
.page-fishing-games__how-to-play-section p,
.page-fishing-games__why-choose-us-section p,
.page-fishing-games__faq-section p {
  color: #333333; /* Dark text on light brand background */
  font-size: 1.05rem;
}

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

.page-fishing-games__game-card,
.page-fishing-games__promo-card {
  background-color: #ffffff; /* Light background for cards */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  text-align: center;
  padding-bottom: 20px;
}

.page-fishing-games__game-image,
.page-fishing-games__promo-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
  margin-bottom: 20px;
}

.page-fishing-games__game-title,
.page-fishing-games__promo-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: #000000; /* Dark text on light card background */
  margin-bottom: 10px;
  padding: 0 15px;
}

.page-fishing-games__game-description,
.page-fishing-games__promo-description {
  font-size: 1rem;
  color: #555555; /* Slightly lighter dark text */
  line-height: 1.5;
  flex-grow: 1;
  padding: 0 15px 20px;
}

.page-fishing-games__game-card .page-fishing-games__btn-primary,
.page-fishing-games__promo-card .page-fishing-games__btn-primary {
  margin: 0 15px;
  width: calc(100% - 30px);
}

.page-fishing-games__more-games-cta,
.page-fishing-games__more-promos-cta {
  text-align: center;
  margin-top: 50px;
}

.page-fishing-games__steps-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
  margin-top: 40px;
}

.page-fishing-games__steps-text {
  flex: 1;
  min-width: 300px;
}

.page-fishing-games__steps-list {
  list-style-type: decimal;
  padding-left: 25px;
  margin-bottom: 30px;
}

.page-fishing-games__steps-list li {
  margin-bottom: 15px;
  font-size: 1.1rem;
  color: #333333; /* Dark text on light background */
}

.page-fishing-games__steps-list li strong {
  color: #000000;
}

.page-fishing-games__steps-image-wrapper {
  flex: 1;
  min-width: 300px;
  text-align: center;
}

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

.page-fishing-games__feature-item {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-fishing-games__feature-item .page-fishing-games__feature-title {
  font-size: 1.4rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 15px;
}

.page-fishing-games__feature-item p {
  font-size: 1rem;
  color: #f0f0f0;
  line-height: 1.6;
}

.page-fishing-games__faq-list {
  margin-top: 40px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 15px;
}

.page-fishing-games__faq-item {
  background-color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  color: #333333;
  border: 1px solid #e0e0e0;
}

.page-fishing-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.15rem;
  font-weight: 600;
  color: #000000; /* Dark text for question */
  cursor: pointer;
  list-style: none;
  user-select: none;
}

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

.page-fishing-games__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  margin-left: 15px;
  color: #26A9E0;
  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: 0 20px 20px;
  font-size: 1rem;
  line-height: 1.6;
  color: #555555; /* Slightly lighter dark text for answer */
}

.page-fishing-games__faq-answer p {
  margin: 0;
  color: #555555; /* Ensure paragraph text color is correct */
}

.page-fishing-games__faq-image {
  width: 100%;
  height: auto;
  display: block;
  margin-top: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.page-fishing-games__call-to-action-section {
  text-align: center;
  padding: 80px 20px;
  background-color: #26A9E0; /* Brand color for CTA section */
  color: #ffffff;
}

.page-fishing-games__call-to-action-section .page-fishing-games__section-title {
  color: #ffffff;
  margin-bottom: 25px;
}

.page-fishing-games__call-to-action-section p {
  font-size: 1.2rem;
  margin-bottom: 40px;
  line-height: 1.6;
  color: #f0f0f0;
}

/* --- Responsive Styles --- */

/* Tablet */
@media (max-width: 1024px) {
  .page-fishing-games__main-title {
    font-size: clamp(2rem, 6vw, 3rem);
  }

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

  .page-fishing-games__content-area {
    padding: 50px 25px;
  }

  .page-fishing-games__hero-image-wrapper {
    margin-bottom: 20px;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .page-fishing-games__main-title {
    font-size: clamp(1.8rem, 8vw, 2.5rem);
  }

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

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

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

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

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

  .page-fishing-games__hero-section {
    padding: 10px 15px 40px 15px;
  }

  .page-fishing-games__hero-image {
    border-radius: 0;
  }

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

  .page-fishing-games__game-image,
  .page-fishing-games__promo-image {
    height: 180px;
  }

  .page-fishing-games__steps-container {
    flex-direction: column;
    gap: 30px;
  }

  .page-fishing-games__steps-list li {
    font-size: 1rem;
  }

  .page-fishing-games__feature-item {
    padding: 25px;
  }

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

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

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

  /* Mobile specific image, video, and container adaptations */
  .page-fishing-games img,
  .page-fishing-games video {
    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__hero-image-wrapper,
  .page-fishing-games__steps-image-wrapper,
  .page-fishing-games__promo-card,
  .page-fishing-games__game-card,
  .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;
  }

  /* Override for elements that might have fixed widths */
  .page-fishing-games__steps-text, .page-fishing-games__steps-image-wrapper {
    padding-left: 0;
    padding-right: 0;
  }

  .page-fishing-games__video-section {
    padding-top: 10px !important; /* body already handles --header-offset */
  }

  .page-fishing-games__cta-buttons,
  .page-fishing-games__button-group,
  .page-fishing-games__btn-container {
    flex-wrap: wrap !important;
    gap: 10px;
    padding-left: 15px;
    padding-right: 15px;
    flex-direction: column; /* Stack buttons vertically on mobile */
  }
}