/* Base styles for the fishing games page */
.page-fishing-games {
  font-family: Arial, sans-serif;
  color: #FFF6D6; /* Main text color for dark background */
  background-color: #0A0A0A; /* Page background color */
  line-height: 1.6;
  padding-top: 10px; /* Small padding-top for first section, body handles main offset */
}

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

.page-fishing-games__section-title {
  font-size: 32px;
  font-weight: bold;
  color: #F2C14E; /* Brand color for titles */
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
}
.page-fishing-games__section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #FFD86A 0%, #DDA11D 100%);
  margin: 10px auto 0;
  border-radius: 2px;
}

/* Hero Section */
.page-fishing-games__hero-section {
  position: relative;
  overflow: hidden;
  margin-bottom: 40px;
}

.page-fishing-games__hero-image-wrapper {
  position: relative;
  width: 100%;
  height: 450px; /* Fixed height for hero image wrapper */
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-fishing-games__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.page-fishing-games__hero-content {
  text-align: center;
  padding: 30px 15px;
  max-width: 900px;
  margin: 0 auto;
}

.page-fishing-games__main-title {
  font-size: clamp(28px, 4vw, 48px); /* Responsive H1 font size */
  color: #FFD36B; /* Auxiliary color for H1 */
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-fishing-games__description {
  font-size: 18px;
  color: #FFF6D6;
  margin-bottom: 30px;
}

.page-fishing-games__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap; /* Allow buttons to wrap */
}

/* Buttons */
.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary,
.page-fishing-games__game-btn,
.page-fishing-games__promo-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 25px;
  border-radius: 8px;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  min-width: 160px;
  text-align: center;
  box-sizing: border-box; /* Crucial for responsiveness */
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text wrapping */
}

.page-fishing-games__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: #111111; /* Dark text for light button */
  border: none;
  box-shadow: 0 4px 10px rgba(242, 193, 78, 0.4);
}

.page-fishing-games__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(242, 193, 78, 0.6);
}

.page-fishing-games__btn-secondary {
  background: #111111; /* Card BG */
  color: #F2C14E; /* Brand color */
  border: 2px solid #3A2A12; /* Border color */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-fishing-games__btn-secondary:hover {
  background: #F2C14E;
  color: #111111;
  border-color: #F2C14E;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(242, 193, 78, 0.4);
}

/* Intro Section */
.page-fishing-games__intro-section {
  margin-bottom: 50px;
}

.page-fishing-games__content-wrapper {
  display: flex;
  gap: 30px;
  align-items: center;
}

.page-fishing-games__text-block {
  flex: 1;
  color: #FFF6D6;
}
.page-fishing-games__text-block a {
  color: #FFD36B;
  text-decoration: underline;
}

.page-fishing-games__image-block {
  flex: 1;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-fishing-games__image {
  width: 100%;
  height: auto;
  display: block;
}

/* Game Features */
.page-fishing-games__game-features {
  margin-bottom: 50px;
}

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

.page-fishing-games__feature-card {
  background: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border color */
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
}

.page-fishing-games__feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-fishing-games__feature-icon {
  width: 100%; /* Ensure image fits card */
  height: 200px; /* Fixed height for feature image */
  object-fit: cover;
  margin-bottom: 20px;
  border-radius: 8px;
}

.page-fishing-games__feature-title {
  font-size: 22px;
  color: #FFD36B; /* Auxiliary color */
  margin-bottom: 10px;
}

.page-fishing-games__feature-description {
  font-size: 16px;
  color: #FFF6D6;
}

/* How To Play */
.page-fishing-games__how-to-play {
  margin-bottom: 50px;
}

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

.page-fishing-games__step-item {
  background: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border color */
  border-radius: 10px;
  padding: 25px;
  margin-bottom: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  position: relative;
  padding-left: 70px;
}
.page-fishing-games__step-item::before {
  content: counter(step-counter);
  counter-increment: step-counter;
  position: absolute;
  left: 25px;
  top: 25px;
  width: 35px;
  height: 35px;
  background: #F2C14E; /* Brand color */
  color: #111111;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 20px;
}
.page-fishing-games__steps-list {
  counter-reset: step-counter;
}


.page-fishing-games__step-title {
  font-size: 20px;
  color: #F2C14E; /* Brand color */
  margin-bottom: 10px;
}
.page-fishing-games__step-item p {
  color: #FFF6D6;
}
.page-fishing-games__step-item a {
  color: #FFD36B;
  text-decoration: underline;
}

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

/* Game Showcase */
.page-fishing-games__game-showcase {
  margin-bottom: 50px;
}

.page-fishing-games__game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.page-fishing-games__game-card {
  background: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border color */
  border-radius: 10px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-fishing-games__game-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-fishing-games__game-image {
  width: 100%;
  height: 180px; /* Fixed height for game image */
  object-fit: cover;
  margin-bottom: 15px;
  border-radius: 8px;
}

.page-fishing-games__game-title {
  font-size: 20px;
  color: #FFD36B; /* Auxiliary color */
  margin-bottom: 10px;
}

.page-fishing-games__game-description {
  font-size: 15px;
  color: #FFF6D6;
  margin-bottom: 20px;
  flex-grow: 1; /* Allows description to take up available space */
}

.page-fishing-games__game-btn {
  background: #F2C14E;
  color: #111111;
  padding: 10px 20px;
  border-radius: 5px;
  margin-top: auto; /* Push button to bottom */
  font-size: 15px;
  border: none;
}
.page-fishing-games__game-btn:hover {
  background: #FFD36B;
}

/* Promotions */
.page-fishing-games__promotions {
  margin-bottom: 50px;
}

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

.page-fishing-games__promo-card {
  background: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border color */
  border-radius: 10px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
}

.page-fishing-games__promo-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-fishing-games__promo-image {
  width: 100%;
  height: 200px; /* Fixed height for promo image */
  object-fit: cover;
  margin-bottom: 15px;
  border-radius: 8px;
}

.page-fishing-games__promo-title {
  font-size: 22px;
  color: #F2C14E; /* Brand color */
  margin-bottom: 10px;
}

.page-fishing-games__promo-description {
  font-size: 16px;
  color: #FFF6D6;
  margin-bottom: 20px;
}

.page-fishing-games__promo-btn {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: #111111;
  padding: 10px 20px;
  border-radius: 5px;
  font-size: 15px;
  border: none;
}
.page-fishing-games__promo-btn:hover {
  opacity: 0.9;
}

/* Why Choose Us */
.page-fishing-games__why-choose {
  margin-bottom: 50px;
}

.page-fishing-games__advantages-list {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
}

.page-fishing-games__advantage-item {
  background: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border color */
  border-radius: 10px;
  padding: 25px;
  display: flex;
  align-items: flex-start;
  gap: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-fishing-games__advantage-icon {
  font-size: 30px;
  color: #FFD36B; /* Auxiliary color for icons */
  flex-shrink: 0;
}

.page-fishing-games__advantage-title {
  font-size: 20px;
  color: #F2C14E; /* Brand color */
  margin-bottom: 5px;
}

.page-fishing-games__advantage-content p {
  font-size: 16px;
  color: #FFF6D6;
}

/* FAQ Section */
.page-fishing-games__faq-section {
  margin-bottom: 50px;
}

details.page-fishing-games__faq-item {
  margin-bottom: 15px;
  border-radius: 10px; /* Increased border-radius for aesthetic */
  border: 1px solid #3A2A12; /* Border color */
  overflow: hidden;
  background: #111111; /* Card BG */
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}
details.page-fishing-games__faq-item summary.page-fishing-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
}
details.page-fishing-games__faq-item summary.page-fishing-games__faq-question::-webkit-details-marker {
  display: none;
}
details.page-fishing-games__faq-item summary.page-fishing-games__faq-question:hover {
  background: #1a1a1a; /* Slightly lighter dark for hover */
}
.page-fishing-games__faq-qtext {
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #F2C14E; /* Brand color for questions */
}
.page-fishing-games__faq-toggle {
  font-size: 28px; /* Slightly larger toggle */
  font-weight: bold;
  color: #FFD36B; /* Auxiliary color for toggle */
  flex-shrink: 0;
  margin-left: 15px;
  width: 30px; /* Slightly larger width */
  text-align: center;
}
details.page-fishing-games__faq-item .page-fishing-games__faq-answer {
  padding: 0 20px 20px;
  background: #0A0A0A; /* Page BG for answer content */
  border-top: 1px solid #3A2A12; /* Separator */
  border-radius: 0 0 10px 10px;
}
.page-fishing-games__faq-answer p {
  color: #FFF6D6;
}
.page-fishing-games__faq-answer a {
  color: #FFD36B;
  text-decoration: underline;
}

/* Call to Action at bottom */
.page-fishing-games__call-to-action {
  text-align: center;
  padding: 40px 15px;
  background: #111111; /* Card BG for CTA section */
  border-top: 1px solid #3A2A12;
  border-bottom: 1px solid #3A2A12;
  margin-bottom: 50px;
}
.page-fishing-games__description-center {
  font-size: 18px;
  color: #FFF6D6;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Responsive styles */
@media (max-width: 1024px) {
  .page-fishing-games__container {
    padding: 15px 15px;
  }
  .page-fishing-games__content-wrapper {
    flex-direction: column;
  }
  .page-fishing-games__image-block {
    order: -1; /* Image above text on smaller screens */
    margin-bottom: 20px;
  }
  .page-fishing-games__features-grid,
  .page-fishing-games__game-grid,
  .page-fishing-games__promo-grid,
  .page-fishing-games__advantages-list {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
  }
  .page-fishing-games__hero-image-wrapper {
    height: 350px; /* Adjust height for tablet */
  }
}

@media (max-width: 768px) {
  /* General page content */
  .page-fishing-games {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-fishing-games__container {
    padding-left: 15px !important;
    padding-right: 15px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-fishing-games__section-title {
    font-size: 26px;
    margin-bottom: 30px;
  }
  .page-fishing-games__main-title {
    font-size: 28px;
  }
  .page-fishing-games__description {
    font-size: 16px;
  }
}