/* style/fishing-games.css */

/* General styles for the page content, assuming a dark body background from shared.css */
.page-fishing-games {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-main, #F2FFF6); /* Main text color */
  background-color: var(--background, #08160F); /* Page specific background, if not inherited from body */
}

/* Container for consistent content width */
.page-fishing-games__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

/* Section styling */
.page-fishing-games__hero-section,
.page-fishing-games__about-section,
.page-fishing-games__features-section,
.page-fishing-games__games-section,
.page-fishing-games__how-to-play-section,
.page-fishing-games__promotions-section,
.page-fishing-games__faq-section,
.page-fishing-games__cta-final-section {
  padding: 60px 0;
  overflow: hidden; /* Prevent content overflow */
}

.page-fishing-games__dark-section {
  background-color: var(--background, #08160F); /* Dark background for sections */
}

/* Hero Section */
.page-fishing-games__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 10px 0 60px 0; /* body already handles top padding, add small decorative top padding */
  color: var(--text-main, #F2FFF6);
}

.page-fishing-games__hero-image-wrapper {
  width: 100%;
  max-height: 700px; /* Limit height for hero image */
  overflow: hidden;
  position: relative;
}

.page-fishing-games__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  min-height: 400px; /* Ensure hero image is not too small */
}

.page-fishing-games__hero-content {
  position: relative; /* Ensure content is above image if any overlap */
  z-index: 2;
  margin-top: 40px; /* Space between image and text */
  max-width: 800px;
  padding: 0 20px;
}

/* Titles */
.page-fishing-games__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem); /* Responsive H1 font size */
  font-weight: bold;
  margin-bottom: 20px;
  color: var(--text-main, #F2FFF6);
  line-height: 1.2;
}

.page-fishing-games__section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: bold;
  text-align: center;
  margin-bottom: 40px;
  color: var(--text-main, #F2FFF6);
}

.page-fishing-games__feature-title,
.page-fishing-games__card-title,
.page-fishing-games__promo-title,
.page-fishing-games__step-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: bold;
  margin-bottom: 15px;
  color: var(--text-main, #F2FFF6);
}

/* Paragraphs and Text Blocks */
.page-fishing-games__description,
.page-fishing-games__text-block {
  font-size: 1.1rem;
  margin-bottom: 20px;
  color: var(--text-secondary, #A7D9B8); /* Secondary text color */
}

.page-fishing-games__text-block--center {
  text-align: center;
}

/* Buttons */
.page-fishing-games__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
  flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary,
.page-fishing-games__btn-play,
.page-fishing-games__btn-view-promo,
.page-fishing-games__cta-support .page-fishing-games__btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  border: 2px solid transparent;
  box-sizing: border-box;
  max-width: 100%; /* Ensure buttons adapt to width */
  white-space: normal; /* Allow text to wrap */
  word-wrap: break-word; /* Ensure long words break */
}

.page-fishing-games__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #ffffff;
}

.page-fishing-games__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.page-fishing-games__btn-secondary {
  background: none;
  border-color: var(--border, #2E7A4E);
  color: var(--text-main, #F2FFF6);
}

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

.page-fishing-games__btn-play {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #ffffff;
  padding: 10px 20px;
  font-size: 1rem;
  margin-top: auto; /* Push button to bottom of card */
}

.page-fishing-games__btn-play:hover {
  opacity: 0.9;
}

.page-fishing-games__btn-view-promo {
  background: none;
  border-color: var(--border, #2E7A4E);
  color: var(--text-main, #F2FFF6);
  padding: 10px 20px;
  font-size: 1rem;
}

.page-fishing-games__btn-view-promo:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

/* Images */
.page-fishing-games img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 8px; /* Consistent border-radius for images */
  object-fit: cover;
}

.page-fishing-games__image-content {
  margin-top: 40px;
  display: flex;
  justify-content: center;
}

.page-fishing-games__image-content--right .page-fishing-games__content-image {
  margin-left: auto;
}

.page-fishing-games__image-content--left .page-fishing-games__content-image {
  margin-right: auto;
}

.page-fishing-games__content-image {
  max-width: 800px;
  width: 100%;
  height: auto;
  min-height: 200px; /* Ensure images meet minimum size */
}

/* Lists */
.page-fishing-games__feature-list,
.page-fishing-games__step-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 30px;
  margin-top: 40px;
}

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

.page-fishing-games__feature-item {
  background-color: var(--card-bg, #11271B); /* Card background color */
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  color: var(--text-main, #F2FFF6);
}

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

.page-fishing-games__step-list {
  counter-reset: step-counter;
  max-width: 800px;
  margin: 40px auto;
}

.page-fishing-games__step-item {
  background-color: var(--card-bg, #11271B);
  padding: 25px 30px;
  border-radius: 12px;
  position: relative;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
  display: flex;
  flex-direction: column;
  color: var(--text-main, #F2FFF6);
}

.page-fishing-games__step-item::before {
  counter-increment: step-counter;
  content: "0" counter(step-counter);
  position: absolute;
  top: 20px;
  left: -15px;
  background-color: var(--deep-green, #0A4B2C); /* Deep green for step numbers */
  color: var(--glow, #57E38D); /* Glow color for text on step numbers */
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.2rem;
  box-shadow: 0 0 10px rgba(87, 227, 141, 0.4); /* Glow effect */
}
.page-fishing-games__step-item:nth-child(n+10)::before {
  content: counter(step-counter); /* For numbers 10 and above, remove leading zero */
}


.page-fishing-games__step-title {
  margin-left: 30px; /* Offset title to align with text */
  margin-top: 0;
  margin-bottom: 10px;
}

.page-fishing-games__step-description {
  margin-left: 30px;
  color: var(--text-secondary, #A7D9B8);
}


/* Game Cards */
.page-fishing-games__game-cards,
.page-fishing-games__promo-cards {
  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: var(--card-bg, #11271B);
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  padding: 25px;
  display: flex;
  flex-direction: column;
  text-align: center;
  color: var(--text-main, #F2FFF6);
}

.page-fishing-games__card-image {
  width: 100%;
  height: 200px; /* Fixed height for consistent card image display */
  object-fit: cover;
  margin-bottom: 20px;
}

.page-fishing-games__card-description,
.page-fishing-games__promo-description {
  font-size: 1rem;
  color: var(--text-secondary, #A7D9B8);
  margin-bottom: 20px;
  flex-grow: 1; /* Allow description to take up available space */
}

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

.page-fishing-games__faq-item {
  background-color: var(--card-bg, #11271B);
  border-radius: 12px;
  margin-bottom: 15px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
  color: var(--text-main, #F2FFF6);
}

.page-fishing-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.1rem;
  font-weight: bold;
  cursor: pointer;
  border-bottom: 1px solid var(--divider, #1E3A2A); /* Divider color */
}

.page-fishing-games__faq-question:hover {
  background-color: rgba(255, 255, 255, 0.05);
}

.page-fishing-games__faq-question::marker, /* Hide default marker for details summary */
.page-fishing-games__faq-question::-webkit-details-marker {
  display: none;
}

.page-fishing-games__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  width: 20px;
  text-align: center;
  color: var(--glow, #57E38D); /* Glow color for toggle icon */
}

.page-fishing-games__faq-answer {
  padding: 15px 25px 20px;
  font-size: 1rem;
  color: var(--text-secondary, #A7D9B8);
}

.page-fishing-games__faq-answer p {
  margin: 0;
}

.page-fishing-games__cta-support {
  text-align: center;
  margin-top: 50px;
}

/* Links within text */
.page-fishing-games a {
  color: var(--glow, #57E38D); /* Glow color for links */
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-fishing-games a:hover {
  color: #fff;
  text-decoration: underline;
}

/* Responsive design */
@media (max-width: 768px) {
  .page-fishing-games__hero-section {
    padding: 10px 0 40px 0;
  }
}