.page-fishing-games {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #F2FFF6; /* Text Main */
  background-color: #08160F; /* Background */
}

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

.page-fishing-games__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 0 60px 0; /* body handles padding-top, this is for visual spacing */
  text-align: center;
  overflow: hidden;
}

.page-fishing-games__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  max-height: 700px;
  margin-bottom: 40px; /* Space between image and content */
}

.page-fishing-games__hero-content {
  max-width: 900px;
  padding: 0 20px;
  z-index: 1;
  color: #F2FFF6;
}

.page-fishing-games__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  color: #F2C14E; /* Gold */
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-fishing-games__hero-description {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-fishing-games__hero-cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-fishing-games__section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
  color: #F2C14E; /* Gold */
  line-height: 1.3;
}

.page-fishing-games__text-block {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 20px;
  color: #F2FFF6;
}

.page-fishing-games__dark-section {
  background-color: #08160F; /* Background */
  padding: 80px 0;
  color: #F2FFF6;
}

.page-fishing-games__light-section {
  background-color: #11271B; /* Card BG */
  padding: 80px 0;
  color: #F2FFF6;
}

.page-fishing-games__introduction .page-fishing-games__text-block {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.page-fishing-games__features-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 {
  background-color: #11271B; /* Card BG */
  border: 1px solid #2E7A4E; /* Border */
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-fishing-games__feature-card:hover,
.page-fishing-games__game-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.page-fishing-games__card-image {
  width: 100%;
  max-width: 400px;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
}

.page-fishing-games__card-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 15px;
}

.page-fishing-games__card-description {
  font-size: 1rem;
  color: #A7D9B8; /* Text Secondary */
  flex-grow: 1;
  margin-bottom: 20px;
}

.page-fishing-games__btn-primary {
  display: inline-block;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #F2FFF6; /* Text Main */
  padding: 14px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  transition: background 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 5px 15px rgba(34, 199, 104, 0.3);
}

.page-fishing-games__btn-primary:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  transform: translateY(-3px);
}

.page-fishing-games__btn-secondary {
  display: inline-block;
  background: transparent;
  color: #F2FFF6; /* Text Main */
  padding: 14px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  transition: background 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
  border: 2px solid #2E7A4E; /* Border */
  cursor: pointer;
}

.page-fishing-games__btn-secondary:hover {
  background-color: rgba(46, 122, 78, 0.2); /* Border color with opacity */
  transform: translateY(-3px);
  border-color: #57E38D; /* Glow */
}

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

.page-fishing-games__how-to-play .page-fishing-games__text-block {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.page-fishing-games__steps-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.page-fishing-games__step-item {
  background-color: #0A4B2C; /* Deep Green */
  border-radius: 12px;
  padding: 30px;
  position: relative;
  color: #F2FFF6;
}

.page-fishing-games__step-item::before {
  content: ' ' counter(step-counter);
  counter-increment: step-counter;
  position: absolute;
  top: -15px;
  left: 20px;
  background-color: #F2C14E; /* Gold */
  color: #08160F;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.2rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-fishing-games__step-title {
  font-size: 1.3rem;
  font-weight: 600;
  color: #F2FFF6;
  margin-top: 15px;
  margin-bottom: 10px;
}

.page-fishing-games__step-description {
  font-size: 1rem;
  color: #A7D9B8;
}

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

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

.page-fishing-games__promo-item {
  background-color: #11271B; /* Card BG */
  border: 1px solid #2E7A4E; /* Border */
  border-radius: 12px;
  padding: 25px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-fishing-games__promo-image {
  width: 100%;
  max-width: 300px;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
}

.page-fishing-games__promo-title {
  font-size: 1.4rem;
  font-weight: 600;
  color: #F2FFF6;
  margin-bottom: 10px;
}

.page-fishing-games__promo-description {
  font-size: 1rem;
  color: #A7D9B8;
  flex-grow: 1;
}

.page-fishing-games__faq-section {
  padding: 80px 0;
  background-color: #0A4B2C; /* Deep Green */
  color: #F2FFF6;
}

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

.page-fishing-games__faq-item {
  background-color: #11271B; /* Card BG */
  border: 1px solid #2E7A4E; /* Border */
  border-radius: 12px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-fishing-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2rem;
  font-weight: 600;
  color: #F2FFF6;
  cursor: pointer;
  background-color: #11271B;
  user-select: none;
  transition: background-color 0.3s ease;
}

.page-fishing-games__faq-question:hover {
  background-color: #1e3a2a; /* Divider */
}

.page-fishing-games__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  margin-left: 15px;
  color: #F2C14E; /* Gold */
}

.page-fishing-games__faq-answer {
  padding: 0 25px 20px 25px;
  font-size: 1rem;
  color: #A7D9B8;
  line-height: 1.7;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
}

.page-fishing-games__faq-item[open] .page-fishing-games__faq-answer {
  max-height: 500px; /* Adjust as needed for content */
  padding-top: 10px;
}

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

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

.page-fishing-games__cta-final {
  padding: 100px 0;
  text-align: center;
  background-image: linear-gradient(rgba(8, 22, 15, 0.8), rgba(8, 22, 15, 0.8)), url('[GALLERY:bg:1920x1080:ct88,fishing_games,underwater_cta,treasure_background]');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: #F2FFF6;
}

.page-fishing-games__cta-final .page-fishing-games__section-title {
  color: #F2C14E; /* Gold */
}

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

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

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-fishing-games__hero-image {
    max-height: 600px;
  }
}

@media (max-width: 768px) {
  .page-fishing-games__container {
    padding: 0 15px !important;
  }

  .page-fishing-games__hero-section,
  .page-fishing-games__introduction,
  .page-fishing-games__why-choose,
  .page-fishing-games__popular-games-showcase,
  .page-fishing-games__how-to-play,
  .page-fishing-games__promotions-section,
  .page-fishing-games__faq-section,
  .page-fishing-games__cta-final {
    padding: 40px 0 !important;
  }

  .page-fishing-games__hero-image {
    max-height: 400px;
    margin-bottom: 30px;
  }

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

  .page-fishing-games__hero-description {
    font-size: clamp(0.9rem, 3vw, 1.1rem);
    margin-bottom: 30px;
  }

  .page-fishing-games__section-title {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
    margin-bottom: 30px;
  }

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

  .page-fishing-games__features-grid,
  .page-fishing-games__game-cards-grid,
  .page-fishing-games__steps-list,
  .page-fishing-games__promo-list {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .page-fishing-games__feature-card,
  .page-fishing-games__game-card,
  .page-fishing-games__promo-item {
    padding: 25px;
  }

  .page-fishing-games__card-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

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

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

  .page-fishing-games__hero-cta-buttons,
  .page-fishing-games__cta-final .page-fishing-games__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

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

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

  .page-fishing-games__cta-final .page-fishing-games__text-block {
    font-size: 1rem;
  }

  /* Ensure all img tags inside .page-fishing-games 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__introduction,
  .page-fishing-games__why-choose,
  .page-fishing-games__popular-games-showcase,
  .page-fishing-games__how-to-play,
  .page-fishing-games__promotions-section,
  .page-fishing-games__faq-section,
  .page-fishing-games__cta-final,
  .page-fishing-games__hero-cta-buttons,
  .page-fishing-games__cta-final .page-fishing-games__cta-buttons {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important; /* Prevent horizontal scroll */
  }
}