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

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

.page-fishing-games-popular-titles {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--color-text-main); /* Default text color for the page */
  background-color: var(--color-background); /* Page background */
}

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

/* Hero Section */
.page-fishing-games-popular-titles__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small decorative top padding, body handles --header-offset */
  overflow: hidden;
  background-color: var(--color-deep-green);
}

.page-fishing-games-popular-titles__hero-image-wrapper {
  width: 100%;
  max-height: 700px; /* Limit height for aesthetic */
  overflow: hidden;
  margin-bottom: 30px;
}

.page-fishing-games-popular-titles__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 10px;
}

.page-fishing-games-popular-titles__hero-content {
  position: relative;
  z-index: 10;
  max-width: 900px;
  color: var(--color-text-main);
}

.page-fishing-games-popular-titles__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: bold;
  color: var(--color-gold);
  margin-bottom: 15px;
  line-height: 1.2;
  text-shadow: 0 0 10px rgba(242, 193, 78, 0.7);
}

.page-fishing-games-popular-titles__hero-description {
  font-size: 1.2rem;
  color: var(--color-text-secondary);
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* General Section Styles */
.page-fishing-games-popular-titles__section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: var(--color-gold);
  text-align: center;
  margin-bottom: 30px;
  text-shadow: 0 0 5px rgba(242, 193, 78, 0.5);
}

.page-fishing-games-popular-titles__text-block {
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 25px;
  text-align: center;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  color: var(--color-text-secondary);
}

/* Intro Section */
.page-fishing-games-popular-titles__intro-section {
  padding: 80px 0;
  background-color: var(--color-background);
  color: var(--color-text-main);
}

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

.page-fishing-games-popular-titles__feature-item {
  background-color: var(--color-card-bg);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  border: 1px solid var(--color-border);
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.page-fishing-games-popular-titles__feature-title {
  font-size: 1.5rem;
  color: var(--color-primary);
  margin-bottom: 15px;
}

.page-fishing-games-popular-titles__feature-item p {
  color: var(--color-text-secondary);
}

/* Games Section */
.page-fishing-games-popular-titles__games-section {
  padding: 80px 0;
  background-color: var(--color-deep-green);
}

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

.page-fishing-games-popular-titles__game-card {
  background-color: var(--color-card-bg);
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--color-border);
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
  display: flex;
  flex-direction: column;
  text-align: center;
}

.page-fishing-games-popular-titles__game-card-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
}

.page-fishing-games-popular-titles__game-card-title {
  font-size: 1.5rem;
  margin: 20px 15px 10px;
  color: var(--color-gold);
}

.page-fishing-games-popular-titles__game-card-title a {
  color: var(--color-gold);
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-fishing-games-popular-titles__game-card-title a:hover {
  color: var(--color-glow);
}

.page-fishing-games-popular-titles__game-card-description {
  font-size: 0.95rem;
  color: var(--color-text-secondary);
  padding: 0 15px 20px;
  flex-grow: 1;
}

.page-fishing-games-popular-titles__game-card .page-fishing-games-popular-titles__btn-secondary {
  margin: 0 15px 20px;
  width: auto; /* Override max-width: 100% for card buttons */
  align-self: center;
  padding: 10px 25px;
}

/* Strategy Section */
.page-fishing-games-popular-titles__strategy-section {
  padding: 80px 0;
  background-color: var(--color-background);
  color: var(--color-text-main);
}

.page-fishing-games-popular-titles__strategy-content {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  margin-top: 40px;
  align-items: flex-start;
}

.page-fishing-games-popular-titles__strategy-image {
  flex: 1 1 45%;
  min-width: 300px;
  height: auto;
  display: block;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
  object-fit: cover;
}

.page-fishing-games-popular-titles__strategy-list {
  flex: 1 1 45%;
  min-width: 300px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.page-fishing-games-popular-titles__strategy-list li {
  background-color: var(--color-card-bg);
  padding: 25px;
  margin-bottom: 20px;
  border-radius: 8px;
  border: 1px solid var(--color-border);
  box-shadow: 0 3px 10px rgba(0,0,0,0.2);
}

.page-fishing-games-popular-titles__strategy-list h3 {
  font-size: 1.4rem;
  color: var(--color-primary);
  margin-bottom: 10px;
}

.page-fishing-games-popular-titles__strategy-list p {
  color: var(--color-text-secondary);
  font-size: 1rem;
  text-align: left;
}

/* Promotions Section */
.page-fishing-games-popular-titles__promotions-section {
  padding: 80px 0;
  background-color: var(--color-deep-green);
}

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

.page-fishing-games-popular-titles__promotion-card {
  background-color: var(--color-card-bg);
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--color-border);
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
  display: flex;
  flex-direction: column;
  text-align: center;
}

.page-fishing-games-popular-titles__promotion-card-image {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

.page-fishing-games-popular-titles__promotion-card-title {
  font-size: 1.4rem;
  margin: 20px 15px 10px;
  color: var(--color-primary);
}

.page-fishing-games-popular-titles__promotion-card-description {
  font-size: 0.95rem;
  color: var(--color-text-secondary);
  padding: 0 15px 20px;
  flex-grow: 1;
}

.page-fishing-games-popular-titles__promotion-card .page-fishing-games-popular-titles__btn-secondary {
  margin: 0 15px 20px;
  width: auto;
  align-self: center;
  padding: 10px 25px;
}

/* FAQ Section */
.page-fishing-games-popular-titles__faq-section {
  padding: 80px 0;
  background-color: var(--color-background);
  color: var(--color-text-main);
}

.page-fishing-games-popular-titles__faq-list {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-fishing-games-popular-titles__faq-item {
  background-color: var(--color-card-bg);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 3px 10px rgba(0,0,0,0.2);
}

.page-fishing-games-popular-titles__faq-item summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-size: 1.2rem;
  font-weight: bold;
  color: var(--color-primary);
  background-color: var(--color-card-bg);
  transition: background-color 0.3s ease;
}

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

.page-fishing-games-popular-titles__faq-item summary::-webkit-details-marker {
  display: none;
}

.page-fishing-games-popular-titles__faq-qtext {
  flex-grow: 1;
  text-align: left;
}

.page-fishing-games-popular-titles__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  margin-left: 15px;
  color: var(--color-gold);
}

.page-fishing-games-popular-titles__faq-answer {
  padding: 0 25px 20px;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--color-text-secondary);
}

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

.page-fishing-games-popular-titles__faq-answer a {
  color: var(--color-secondary);
  text-decoration: underline;
}

/* CTA Section */
.page-fishing-games-popular-titles__cta-section {
  padding: 80px 0;
  background-color: var(--color-deep-green);
  text-align: center;
}

/* Buttons */
.page-fishing-games-popular-titles__btn-primary,
.page-fishing-games-popular-titles__btn-secondary {
  display: inline-block;
  padding: 15px 35px;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: bold;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-fishing-games-popular-titles__btn-primary {
  background: var(--color-button-gradient);
  color: #ffffff;
  border: 2px solid transparent;
  box-shadow: 0 5px 15px rgba(42, 209, 111, 0.4);
}

.page-fishing-games-popular-titles__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(42, 209, 111, 0.6);
}

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

.page-fishing-games-popular-titles__btn-secondary:hover {
  background: var(--color-primary);
  color: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(17, 168, 78, 0.4);
}

.page-fishing-games-popular-titles__cta-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-fishing-games-popular-titles__hero-content {
    padding: 0 20px;
  }
  .page-fishing-games-popular-titles__game-card-image {
    height: 180px;
  }
}

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

  .page-fishing-games-popular-titles__container {
    padding: 0 15px;
  }

  .page-fishing-games-popular-titles__hero-section {
    padding: 40px 15px;
    padding-top: 10px !important;
  }

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

  .page-fishing-games-popular-titles__hero-description {
    font-size: 1rem;
  }

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

  .page-fishing-games-popular-titles__text-block {
    font-size: 1rem;
  }

  .page-fishing-games-popular-titles__intro-section,
  .page-fishing-games-popular-titles__games-section,
  .page-fishing-games-popular-titles__strategy-section,
  .page-fishing-games-popular-titles__promotions-section,
  .page-fishing-games-popular-titles__faq-section,
  .page-fishing-games-popular-titles__cta-section {
    padding: 50px 0;
  }

  .page-fishing-games-popular-titles__features-grid,
  .page-fishing-games-popular-titles__game-cards-grid,
  .page-fishing-games-popular-titles__promotion-cards-grid {
    grid-template-columns: 1fr;
  }

  .page-fishing-games-popular-titles__strategy-content {
    flex-direction: column;
    align-items: center;
  }

  .page-fishing-games-popular-titles__strategy-image {
    min-width: unset;
    width: 100%;
  }

  .page-fishing-games-popular-titles__strategy-list {
    min-width: unset;
    width: 100%;
  }

  .page-fishing-games-popular-titles__game-card-image,
  .page-fishing-games-popular-titles__promotion-card-image {
    height: 200px; /* Ensure images are not too small on mobile */
  }

  /* Mobile image responsiveness - IMPORTANT */
  .page-fishing-games-popular-titles img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !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-image-wrapper,
  .page-fishing-games-popular-titles__game-card,
  .page-fishing-games-popular-titles__promotion-card,
  .page-fishing-games-popular-titles__feature-item,
  .page-fishing-games-popular-titles__strategy-content,
  .page-fishing-games-popular-titles__strategy-list,
  .page-fishing-games-popular-titles__faq-list,
  .page-fishing-games-popular-titles__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Mobile button responsiveness - IMPORTANT */
  .page-fishing-games-popular-titles__cta-button,
  .page-fishing-games-popular-titles__btn-primary,
  .page-fishing-games-popular-titles__btn-secondary,
  .page-fishing-games-popular-titles a[class*="button"],
  .page-fishing-games-popular-titles a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  
  .page-fishing-games-popular-titles__cta-buttons,
  .page-fishing-games-popular-titles__button-group,
  .page-fishing-games-popular-titles__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-direction: column !important; /* Stack buttons vertically */
    gap: 10px;
  }
}