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

:root {
  --primary-color: #017439;
  --secondary-color: #FFFFFF;
  --accent-color-register: #C30808;
  --accent-color-login: #C30808;
  --text-color-light: #FFFF00; /* For register/login text */
  --text-color-dark: #333333;
  --background-color-light: #FFFFFF;
  --border-color: #e0e0e0;
}

.page-fishing-games-popular-recommendations {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-color-dark);
  background-color: var(--background-color-light); /* Assuming shared.css sets body background to secondary-color (white) */
}

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

.page-fishing-games-popular-recommendations__dark-bg {
  background-color: var(--primary-color);
  color: var(--secondary-color);
}

.page-fishing-games-popular-recommendations__light-bg {
  background-color: var(--background-color-light);
  color: var(--text-color-dark);
}

.page-fishing-games-popular-recommendations__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.page-fishing-games-popular-recommendations__section-title {
  font-size: 36px;
  margin-bottom: 30px;
  font-weight: bold;
  color: inherit; /* Inherit color from parent section (dark-bg or light-bg) */
}

.page-fishing-games-popular-recommendations__text-block {
  font-size: 18px;
  margin-bottom: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

/* Hero Section */
.page-fishing-games-popular-recommendations__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: var(--header-offset, 120px); /* Ensure header offset */
  overflow: hidden;
}

.page-fishing-games-popular-recommendations__hero-container {
  position: relative;
  max-width: 100%;
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

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

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

.page-fishing-games-popular-recommendations__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
  padding: 0 15px;
}

.page-fishing-games-popular-recommendations__main-title {
  font-size: 48px;
  font-weight: bold;
  margin-bottom: 20px;
  color: var(--secondary-color);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-fishing-games-popular-recommendations__main-description {
  font-size: 20px;
  margin-bottom: 40px;
  color: var(--secondary-color);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* CTA Buttons */
.page-fishing-games-popular-recommendations__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: var(--accent-color-register); /* Specific color for register/login */
  color: var(--text-color-light); /* Specific color for register/login font */
  text-decoration: none;
  border-radius: 5px;
  font-size: 18px;
  font-weight: bold;
  margin-top: 20px;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-fishing-games-popular-recommendations__cta-button:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.page-fishing-games-popular-recommendations__btn-primary {
  background: var(--accent-color-register);
  color: var(--text-color-light);
}

.page-fishing-games-popular-recommendations__btn-secondary {
  background: var(--secondary-color);
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
  margin-left: 20px;
}

.page-fishing-games-popular-recommendations__btn-secondary:hover {
  background: var(--primary-color);
  color: var(--secondary-color);
}

.page-fishing-games-popular-recommendations__btn-primary--small,
.page-fishing-games-popular-recommendations__btn-secondary--small {
  padding: 10px 20px;
  font-size: 16px;
  margin-top: 15px;
}

.page-fishing-games-popular-recommendations__cta-wrapper {
  margin-top: 40px;
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.page-fishing-games-popular-recommendations__cta-wrapper--center {
  margin-top: 50px;
}

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

.page-fishing-games-popular-recommendations__feature-item {
  text-align: center;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-fishing-games-popular-recommendations__feature-item img {
  width: 100%;
  max-width: 400px;
  height: 300px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-fishing-games-popular-recommendations__feature-title {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 15px;
  color: var(--primary-color);
}

/* List Styles */
.page-fishing-games-popular-recommendations__list {
  list-style: none;
  padding: 0;
  text-align: left;
  max-width: 800px;
  margin: 40px auto;
}

.page-fishing-games-popular-recommendations__list li {
  margin-bottom: 15px;
  padding-left: 30px;
  position: relative;
  font-size: 18px;
  color: inherit;
}

.page-fishing-games-popular-recommendations__list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent-color-register);
  font-weight: bold;
  font-size: 20px;
}

/* Game Showcase */
.page-fishing-games-popular-recommendations__game-showcase {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-fishing-games-popular-recommendations__game-card {
  text-align: center;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-fishing-games-popular-recommendations__game-card img {
  width: 100%;
  height: 250px; /* Consistent image height for cards */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-fishing-games-popular-recommendations__game-title {
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 10px;
  color: var(--primary-color);
}

.page-fishing-games-popular-recommendations__game-title a {
  color: inherit;
  text-decoration: none;
}

.page-fishing-games-popular-recommendations__game-title a:hover {
  text-decoration: underline;
}

.page-fishing-games-popular-recommendations__game-card p {
  font-size: 16px;
  margin-bottom: 20px;
  flex-grow: 1;
}

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

.page-fishing-games-popular-recommendations__tip-card {
  text-align: left;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-fishing-games-popular-recommendations__tip-title {
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 15px;
  color: var(--primary-color);
}

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

.page-fishing-games-popular-recommendations__promo-card {
  text-align: center;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-fishing-games-popular-recommendations__promo-card img {
  width: 100%;
  height: 250px; /* Consistent image height for cards */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-fishing-games-popular-recommendations__promo-title {
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 10px;
  color: var(--primary-color);
}

.page-fishing-games-popular-recommendations__promo-title a {
  color: inherit;
  text-decoration: none;
}

.page-fishing-games-popular-recommendations__promo-title a:hover {
  text-decoration: underline;
}

.page-fishing-games-popular-recommendations__promo-card p {
  font-size: 16px;
  margin-bottom: 20px;
  flex-grow: 1;
}

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

.page-fishing-games-popular-recommendations__support-item {
  text-align: center;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-fishing-games-popular-recommendations__support-title {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 15px;
  color: var(--primary-color);
}

/* Call to Action */
.page-fishing-games-popular-recommendations__call-to-action {
  padding: 80px 20px;
  background-color: var(--primary-color);
  color: var(--secondary-color);
  text-align: center;
}

.page-fishing-games-popular-recommendations__call-to-action .page-fishing-games-popular-recommendations__section-title {
  color: var(--secondary-color);
}

.page-fishing-games-popular-recommendations__call-to-action .page-fishing-games-popular-recommendations__text-block {
  color: var(--secondary-color);
}

.page-fishing-games-popular-recommendations__call-to-action .page-fishing-games-popular-recommendations__text-block a {
  color: var(--text-color-light);
  text-decoration: underline;
}

.page-fishing-games-popular-recommendations__call-to-action .page-fishing-games-popular-recommendations__text-block a:hover {
  color: var(--secondary-color);
}

/* FAQ Section */
.page-fishing-games-popular-recommendations__faq-list {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}

.page-fishing-games-popular-recommendations__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  overflow: hidden;
}

.page-fishing-games-popular-recommendations__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease;
  padding: 0 15px;
  opacity: 0;
}

.page-fishing-games-popular-recommendations__faq-item.active .page-fishing-games-popular-recommendations__faq-answer {
  max-height: 2000px !important;
  padding: 20px 15px !important;
  opacity: 1;
  background: #f9f9f9;
  border-radius: 0 0 5px 5px;
}

.page-fishing-games-popular-recommendations__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 5px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.page-fishing-games-popular-recommendations__faq-question:hover {
  background: #f5f5f5;
  border-color: #d0d0d0;
}

.page-fishing-games-popular-recommendations__faq-question:active {
  background: #eeeeee;
}

.page-fishing-games-popular-recommendations__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  pointer-events: none;
  color: var(--text-color-dark);
}

.page-fishing-games-popular-recommendations__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  line-height: 1;
  color: #666;
  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: 28px;
  height: 28px;
}

.page-fishing-games-popular-recommendations__faq-item.active .page-fishing-games-popular-recommendations__faq-toggle {
  color: var(--primary-color);
  transform: rotate(45deg); /* Changed from '-' to rotate for a more dynamic look */
}