/* style/fishing-games-popular.css */
:root {
  --primary-color: #FFD700; /* Gold */
  --secondary-color: #8B0000; /* Dark Red */
  --text-light: #ffffff;
  --text-dark: #333333;
  --background-dark: #000;
  --background-light-grey: #f1f3f5;
  --card-background: rgba(255, 255, 255, 0.1);
  --border-color: #e0e0e0;
}

.page-fishing-games-popular {
  color: var(--text-light); /* Body background is dark, so text should be light */
  background-color: var(--background-dark);
  min-height: 100vh;
}

.page-fishing-games-popular__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 180px; /* Adjust for fixed header */
  padding-bottom: 60px;
  background: var(--background-dark);
}

.page-fishing-games-popular__hero-container {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
}

.page-fishing-games-popular__hero-image {
  width: 100%;
  margin-bottom: 30px;
  border-radius: 8px;
  overflow: hidden;
}

.page-fishing-games-popular__hero-img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  object-fit: cover;
}

.page-fishing-games-popular__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
}

.page-fishing-games-popular__hero-title {
  font-size: 48px;
  font-weight: bold;
  color: var(--primary-color);
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-fishing-games-popular__hero-description {
  font-size: 18px;
  color: var(--text-light);
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.page-fishing-games-popular__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: linear-gradient(135deg, var(--primary-color), #FFA500);
  color: #000000; /* Dark text on bright button for contrast */
  text-decoration: none;
  border-radius: 5px;
  font-size: 20px;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  border: none;
}

.page-fishing-games-popular__cta-button:hover {
  background: linear-gradient(135deg, #FFA500, var(--primary-color));
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}

.page-fishing-games-popular__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

.page-fishing-games-popular__section-title {
  font-size: 36px;
  font-weight: bold;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 40px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.page-fishing-games-popular__introduction-section,
.page-fishing-games-popular__core-games-section,
.page-fishing-games-popular__promotions-section,
.page-fishing-games-popular__blog-section,
.page-fishing-games-popular__faq-section {
  padding: 60px 0;
  background-color: var(--background-dark);
}

.page-fishing-games-popular__text-block {
  color: var(--text-light);
  font-size: 17px;
  line-height: 1.8;
  margin-bottom: 20px;
  background: var(--card-background);
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.page-fishing-games-popular__text-block p {
  margin-bottom: 15px;
}

.page-fishing-games-popular__text-block a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

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

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

.page-fishing-games-popular__game-card,
.page-fishing-games-popular__promo-card,
.page-fishing-games-popular__blog-card {
  background: var(--card-background);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  color: var(--text-light);
}

.page-fishing-games-popular__game-card:hover,
.page-fishing-games-popular__promo-card:hover,
.page-fishing-games-popular__blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.page-fishing-games-popular__game-image,
.page-fishing-games-popular__promo-image,
.page-fishing-games-popular__blog-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
}

.page-fishing-games-popular__game-name,
.page-fishing-games-popular__promo-title,
.page-fishing-games-popular__blog-title {
  font-size: 24px;
  font-weight: bold;
  color: var(--primary-color);
  padding: 15px 20px 10px;
  line-height: 1.3;
}

.page-fishing-games-popular__blog-title a {
  color: var(--primary-color);
  text-decoration: none;
}

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

.page-fishing-games-popular__game-description,
.page-fishing-games-popular__promo-description,
.page-fishing-games-popular__blog-summary {
  font-size: 16px;
  color: var(--text-light);
  padding: 0 20px 15px;
  line-height: 1.6;
  flex-grow: 1;
}

.page-fishing-games-popular__game-description a,
.page-fishing-games-popular__promo-description a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: bold;
}

.page-fishing-games-popular__game-description a:hover,
.page-fishing-games-popular__promo-description a:hover {
  color: #FFA500;
  text-decoration: underline;
}

.page-fishing-games-popular__btn-detail,
.page-fishing-games-popular__btn-view-promo,
.page-fishing-games-popular__btn-view-all {
  display: inline-block;
  padding: 12px 25px;
  margin: 0 20px 20px;
  background: var(--secondary-color);
  color: var(--text-light);
  text-decoration: none;
  border-radius: 5px;
  font-size: 16px;
  font-weight: bold;
  text-align: center;
  transition: all 0.3s ease;
  border: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.page-fishing-games-popular__btn-detail:hover,
.page-fishing-games-popular__btn-view-promo:hover,
.page-fishing-games-popular__btn-view-all:hover {
  background: #B22222; /* Slightly darker red */
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.page-fishing-games-popular__blog-date {
  font-size: 14px;
  color: #cccccc;
  padding: 0 20px 15px;
  display: block;
}

.page-fishing-games-popular__text-center {
  text-align: center;
}

/* FAQ Section Styles */
.page-fishing-games-popular__faq-section {
  padding: 60px 0;
  background-color: var(--background-dark);
}

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

.page-fishing-games-popular__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  overflow: hidden;
  background: var(--card-background);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.page-fishing-games-popular__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
  padding: 0 20px;
  opacity: 0;
  color: var(--text-light);
  font-size: 16px;
  line-height: 1.7;
}

.page-fishing-games-popular__faq-item.active .page-fishing-games-popular__faq-answer {
  max-height: 2000px !important;
  padding: 20px !important;
  opacity: 1;
  background: rgba(255, 255, 255, 0.05); /* Slightly lighter background for answer */
  border-radius: 0 0 5px 5px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.page-fishing-games-popular__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: var(--card-background);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 5px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
  color: var(--text-light);
}

.page-fishing-games-popular__faq-question:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.2);
}

.page-fishing-games-popular__faq-question:active {
  background: rgba(255, 255, 255, 0.2);
}

.page-fishing-games-popular__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  pointer-events: none;
  color: var(--primary-color);
}

.page-fishing-games-popular__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  line-height: 1;
  color: var(--primary-color);
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
}

.page-fishing-games-popular__faq-item.active .page-fishing-games-popular__faq-toggle {
  color: #FFA500;
  transform: rotate(45deg); /* Rotate for 'x' effect */
}

.page-fishing-games-popular__faq-answer p a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: bold;
}

.page-fishing-games-popular__faq-answer p a:hover {
  color: #FFA500;
  text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-fishing-games-popular__hero-title {
    font-size: 40px;
  }
  .page-fishing-games-popular__hero-description {
    font-size: 16px;
  }
  .page-fishing-games-popular__section-title {
    font-size: 30px;
  }
  .page-fishing-games-popular__games-grid,
  .page-fishing-games-popular__promo-grid,
  .page-fishing-games-popular__blog-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-fishing-games-popular__hero-section {
    padding-top: 140px; /* Adjust for mobile fixed header */
    padding-bottom: 40px;
  }
  .page-fishing-games-popular__hero-title {
    font-size: 32px;
    margin-bottom: 15px;
  }
  .page-fishing-games-popular__hero-description {
    font-size: 15px;
    margin-bottom: 30px;
  }
  .page-fishing-games-popular__cta-button {
    padding: 12px 30px;
    font-size: 18px;
  }
  .page-fishing-games-popular__container {
    padding: 20px 15px;
  }
  .page-fishing-games-popular__section-title {
    font-size: 26px;
    margin-bottom: 30px;
  }
  .page-fishing-games-popular__introduction-section,
  .page-fishing-games-popular__core-games-section,
  .page-fishing-games-popular__promotions-section,
  .page-fishing-games-popular__blog-section,
  .page-fishing-games-popular__faq-section {
    padding: 40px 0;
  }
  .page-fishing-games-popular__text-block {
    padding: 20px;
    font-size: 15px;
  }
  .page-fishing-games-popular__game-image,
  .page-fishing-games-popular__promo-image,
  .page-fishing-games-popular__blog-image {
    height: 180px;
  }
  .page-fishing-games-popular__game-name,
  .page-fishing-games-popular__promo-title,
  .page-fishing-games-popular__blog-title {
    font-size: 20px;
    padding: 12px 15px 8px;
  }
  .page-fishing-games-popular__game-description,
  .page-fishing-games-popular__promo-description,
  .page-fishing-games-popular__blog-summary {
    font-size: 14px;
    padding: 0 15px 12px;
  }
  .page-fishing-games-popular__btn-detail,
  .page-fishing-games-popular__btn-view-promo,
  .page-fishing-games-popular__btn-view-all {
    padding: 10px 20px;
    margin: 0 15px 15px;
    font-size: 15px;
  }
  .page-fishing-games-popular__blog-date {
    font-size: 13px;
    padding: 0 15px 12px;
  }
  .page-fishing-games-popular__faq-question {
    padding: 15px;
    flex-wrap: wrap;
  }
  .page-fishing-games-popular__faq-question h3 {
    font-size: 16px;
    width: calc(100% - 40px);
  }
  .page-fishing-games-popular__faq-toggle {
    margin-left: 10px;
    width: 28px;
    height: 28px;
    font-size: 24px;
  }
  .page-fishing-games-popular__faq-answer {
    padding: 0 15px;
  }
  .page-fishing-games-popular__faq-item.active .page-fishing-games-popular__faq-answer {
    padding: 15px !important;
  }
}

@media (max-width: 480px) {
  .page-fishing-games-popular__hero-title {
    font-size: 28px;
  }
  .page-fishing-games-popular__cta-button {
    font-size: 16px;
    padding: 10px 25px;
  }
  .page-fishing-games-popular__section-title {
    font-size: 24px;
  }
  .page-fishing-games-popular__games-grid,
  .page-fishing-games-popular__promo-grid,
  .page-fishing-games-popular__blog-grid {
    grid-template-columns: 1fr;
  }
  .page-fishing-games-popular__game-name,
  .page-fishing-games-popular__promo-title,
  .page-fishing-games-popular__blog-title {
    font-size: 18px;
  }
}