/* style/fishing-games-popular-titles.css */

:root {
  --jun88-primary-color: #11A84E;
  --jun88-secondary-color: #22C768;
  --jun88-button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  --jun88-card-bg: #11271B;
  --jun88-background: #08160F;
  --jun88-text-main: #F2FFF6;
  --jun88-text-secondary: #A7D9B8;
  --jun88-border-color: #2E7A4E;
  --jun88-glow-color: #57E38D;
  --jun88-gold-color: #F2C14E;
  --jun88-divider-color: #1E3A2A;
  --jun88-deep-green: #0A4B2C;
}

.page-fishing-games-popular-titles {
  background-color: var(--jun88-background);
  color: var(--jun88-text-main); /* Light text on dark body background */
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
}

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

.page-fishing-games-popular-titles__section {
  padding: 60px 0;
  text-align: center;
}

.page-fishing-games-popular-titles__section:nth-of-type(even) {
  background-color: var(--jun88-deep-green);
}

.page-fishing-games-popular-titles__main-title {
  font-size: clamp(2.5rem, 5vw, 3.2rem);
  font-weight: 700;
  color: var(--jun88-gold-color);
  margin-bottom: 20px;
  line-height: 1.2;
  letter-spacing: 1px;
  text-shadow: 0 0 10px rgba(242, 193, 78, 0.5);
}

.page-fishing-games-popular-titles__section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  color: var(--jun88-primary-color);
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.page-fishing-games-popular-titles__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: var(--jun88-gold-color);
  border-radius: 2px;
}

.page-fishing-games-popular-titles__section-description,
.page-fishing-games-popular-titles__hero-description,
.page-fishing-games-popular-titles__info-text,
.page-fishing-games-popular-titles p {
  font-size: 1.1rem;
  color: var(--jun88-text-secondary);
  max-width: 900px;
  margin: 0 auto 30px auto;
}

.page-fishing-games-popular-titles__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 0 60px 0; /* Small top padding, body handles header offset */
  overflow: hidden;
}

.page-fishing-games-popular-titles__hero-image-wrapper {
  width: 100%;
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
}

.page-fishing-games-popular-titles__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.7);
}

.page-fishing-games-popular-titles__hero-content {
  position: relative;
  z-index: 10;
  max-width: 900px;
  padding: 40px 20px;
  text-align: center;
  background: rgba(8, 22, 15, 0.8); /* Semi-transparent background for text */
  border-radius: 10px;
  margin-top: -100px; /* Overlap slightly with image for visual flow */
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
}

.page-fishing-games-popular-titles__cta-button,
.page-fishing-games-popular-titles__btn-primary,
.page-fishing-games-popular-titles__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  box-sizing: border-box;
}

.page-fishing-games-popular-titles__btn-primary {
  background: var(--jun88-button-gradient);
  color: var(--jun88-text-main);
  border: 2px solid transparent;
  box-shadow: 0 4px 15px rgba(17, 168, 78, 0.4);
}

.page-fishing-games-popular-titles__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(17, 168, 78, 0.6);
}

.page-fishing-games-popular-titles__btn-secondary {
  background: var(--jun88-card-bg);
  color: var(--jun88-primary-color);
  border: 2px solid var(--jun88-primary-color);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.page-fishing-games-popular-titles__btn-secondary:hover {
  background: var(--jun88-primary-color);
  color: var(--jun88-text-main);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(17, 168, 78, 0.5);
}

.page-fishing-games-popular-titles__card {
  background-color: var(--jun88-card-bg);
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  text-align: left;
  color: var(--jun88-text-main);
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-fishing-games-popular-titles__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

.page-fishing-games-popular-titles__feature-icon,
.page-fishing-games-popular-titles__game-thumbnail {
  width: 100%;
  max-width: 250px;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
  border: 1px solid var(--jun88-border-color);
}

.page-fishing-games-popular-titles__feature-title,
.page-fishing-games-popular-titles__step-title,
.page-fishing-games-popular-titles__game-title,
.page-fishing-games-popular-titles__strategy-title,
.page-fishing-games-popular-titles__promo-title {
  font-size: 1.5rem;
  color: var(--jun88-primary-color);
  margin-bottom: 15px;
  font-weight: 600;
  line-height: 1.3;
}

.page-fishing-games-popular-titles__feature-text,
.page-fishing-games-popular-titles__step-text,
.page-fishing-games-popular-titles__game-description,
.page-fishing-games-popular-titles__strategy-text,
.page-fishing-games-popular-titles__promo-text {
  font-size: 1rem;
  color: var(--jun88-text-secondary);
  margin-bottom: 20px;
}

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

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

.page-fishing-games-popular-titles__step-item,
.page-fishing-games-popular-titles__strategy-item {
  text-align: left;
}

.page-fishing-games-popular-titles__step-item .page-fishing-games-popular-titles__btn-secondary {
  margin-top: auto;
  align-self: flex-start;
}

.page-fishing-games-popular-titles__faq-list {
  margin-top: 40px;
  text-align: left;
}

.page-fishing-games-popular-titles__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  border: 1px solid var(--jun88-border-color);
  overflow: hidden;
  box-shadow: none;
  padding: 0;
}

.page-fishing-games-popular-titles__faq-item[open] {
  background-color: var(--jun88-deep-green);
}

.page-fishing-games-popular-titles__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--jun88-text-main);
  cursor: pointer;
  background-color: var(--jun88-card-bg);
  border-radius: 8px;
  transition: background-color 0.3s ease;
}

.page-fishing-games-popular-titles__faq-item[open] .page-fishing-games-popular-titles__faq-question {
  background-color: var(--jun88-deep-green);
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

.page-fishing-games-popular-titles__faq-question:hover {
  background-color: var(--jun88-deep-green);
}

.page-fishing-games-popular-titles__faq-toggle {
  font-size: 1.8rem;
  line-height: 1;
  transition: transform 0.3s ease;
  color: var(--jun88-primary-color);
}

.page-fishing-games-popular-titles__faq-item[open] .page-fishing-games-popular-titles__faq-toggle {
  transform: rotate(45deg);
}

.page-fishing-games-popular-titles__faq-answer {
  padding: 0 25px 20px 25px;
  font-size: 1rem;
  color: var(--jun88-text-secondary);
  background-color: var(--jun88-deep-green);
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
}

.page-fishing-games-popular-titles__faq-answer p {
  margin-bottom: 0;
  text-align: left;
}

.page-fishing-games-popular-titles__contact-text {
  margin-top: 30px;
  font-size: 1.1rem;
  color: var(--jun88-text-secondary);
}

/* Details element specific styling for cross-browser consistency */
.page-fishing-games-popular-titles__faq-item summary::-webkit-details-marker {
  display: none;
}

.page-fishing-games-popular-titles__faq-item summary {
  list-style: none;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-fishing-games-popular-titles__hero-content {
    margin-top: -80px;
    padding: 30px 20px;
  }

  .page-fishing-games-popular-titles__section {
    padding: 40px 0;
  }

  .page-fishing-games-popular-titles__main-title {
    font-size: clamp(2rem, 4.5vw, 2.8rem);
  }

  .page-fishing-games-popular-titles__section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  }

  .page-fishing-games-popular-titles__features-grid,
  .page-fishing-games-popular-titles__game-cards-grid,
  .page-fishing-games-popular-titles__promo-cards-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
  }

  .page-fishing-games-popular-titles__steps-list,
  .page-fishing-games-popular-titles__strategy-list {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
  }
}

@media (max-width: 768px) {
  .page-fishing-games-popular-titles {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-fishing-games-popular-titles__hero-content {
    margin-top: -60px;
    padding: 25px 15px;
  }

  .page-fishing-games-popular-titles__main-title {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
    margin-bottom: 15px;
  }

  .page-fishing-games-popular-titles__section-title {
    font-size: clamp(1.6rem, 5vw, 2.2rem);
    margin-bottom: 15px;
  }

  .page-fishing-games-popular-titles__hero-description,
  .page-fishing-games-popular-titles__section-description,
  .page-fishing-games-popular-titles__info-text,
  .page-fishing-games-popular-titles p {
    font-size: 1rem;
    margin-bottom: 20px;
    padding: 0 10px;
  }

  .page-fishing-games-popular-titles__cta-button,
  .page-fishing-games-popular-titles__btn-primary,
  .page-fishing-games-popular-titles__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    padding: 12px 20px;
    font-size: 1rem;
    margin-bottom: 15px;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-fishing-games-popular-titles__features-grid,
  .page-fishing-games-popular-titles__game-cards-grid,
  .page-fishing-games-popular-titles__promo-cards-grid,
  .page-fishing-games-popular-titles__steps-list,
  .page-fishing-games-popular-titles__strategy-list {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 0 15px;
  }

  .page-fishing-games-popular-titles__card {
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  }

  .page-fishing-games-popular-titles__feature-icon,
  .page-fishing-games-popular-titles__game-thumbnail {
    max-width: 200px;
  }

  .page-fishing-games-popular-titles__faq-question {
    padding: 15px 20px;
    font-size: 1.1rem;
  }

  .page-fishing-games-popular-titles__faq-answer {
    padding: 0 20px 15px 20px;
  }

  /* Image responsiveness */
  .page-fishing-games-popular-titles img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-fishing-games-popular-titles__section,
  .page-fishing-games-popular-titles__card,
  .page-fishing-games-popular-titles__container,
  .page-fishing-games-popular-titles__hero-section,
  .page-fishing-games-popular-titles__hero-content,
  .page-fishing-games-popular-titles__promo-cards-grid,
  .page-fishing-games-popular-titles__game-cards-grid,
  .page-fishing-games-popular-titles__features-grid,
  .page-fishing-games-popular-titles__steps-list,
  .page-fishing-games-popular-titles__strategy-list,
  .page-fishing-games-popular-titles__faq-list {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
  
  .page-fishing-games-popular-titles__hero-section {
    padding-top: 10px !important;
  }
}