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

:root {
  --primary-color: #007bff;
  --accent-color: #ffc107;
  --dark-bg-color: #121212;
  --light-text-color: #ffffff;
  --dark-text-color: #333333;
  --card-bg-dark: rgba(255, 255, 255, 0.1);
  --card-bg-light: #ffffff;
  --border-color: #e0e0e0;
}

.page-fishing-games-popular {
  font-family: 'Arial', sans-serif;
  color: var(--light-text-color); /* Body background is dark, so text is light */
  line-height: 1.6;
  background-color: var(--dark-bg-color); /* Inherited from shared, but explicit for clarity */
}

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

.page-fishing-games-popular__section-title {
  font-size: 2.5em;
  color: var(--light-text-color);
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-fishing-games-popular__section-subtitle {
  font-size: 1.2em;
  color: #cccccc;
  text-align: center;
  margin-bottom: 40px;
}

.page-fishing-games-popular__text-block {
  font-size: 1.1em;
  margin-bottom: 15px;
  color: #e0e0e0;
}

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

.page-fishing-games-popular__mt-large {
  margin-top: 60px;
}

/* Buttons */
.page-fishing-games-popular__btn-primary,
.page-fishing-games-popular__btn-secondary,
.page-fishing-games-popular__btn-card,
.page-fishing-games-popular__btn-promo,
.page-fishing-games-popular__video-cta {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-fishing-games-popular__btn-primary,
.page-fishing-games-popular__video-cta {
  background-color: var(--primary-color);
  color: var(--light-text-color);
  border: 2px solid var(--primary-color);
}

.page-fishing-games-popular__btn-primary:hover,
.page-fishing-games-popular__video-cta:hover {
  background-color: #0056b3;
  border-color: #0056b3;
}

.page-fishing-games-popular__btn-secondary {
  background-color: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.page-fishing-games-popular__btn-secondary:hover {
  background-color: var(--primary-color);
  color: var(--light-text-color);
}

.page-fishing-games-popular__btn-card,
.page-fishing-games-popular__btn-promo {
  background-color: var(--accent-color);
  color: var(--dark-text-color);
  border: 2px solid var(--accent-color);
  padding: 10px 20px;
  font-size: 0.9em;
}

.page-fishing-games-popular__btn-card:hover,
.page-fishing-games-popular__btn-promo:hover {
  background-color: #e0a800;
  border-color: #e0a800;
}

.page-fishing-games-popular__btn-large {
  padding: 15px 40px;
  font-size: 1.3em;
}

/* Hero Section */
.page-fishing-games-popular__hero-section {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 600px;
  padding: 80px 20px;
  padding-top: var(--header-offset, 120px);
  overflow: hidden;
  color: var(--light-text-color);
  background-color: var(--dark-bg-color);
}

.page-fishing-games-popular__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.page-fishing-games-popular__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.4); /* Darken image for text readability */
}

.page-fishing-games-popular__hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  text-align: center;
  background: rgba(0, 0, 0, 0.5); /* Semi-transparent overlay for text */
  padding: 30px;
  border-radius: 10px;
}

.page-fishing-games-popular__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  line-height: 1.2;
  color: var(--light-text-color);
}

.page-fishing-games-popular__hero-description {
  font-size: 1.3em;
  margin-bottom: 30px;
  color: #f0f0f0;
}

.page-fishing-games-popular__hero-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
}

/* Intro Section */
.page-fishing-games-popular__intro-section {
  padding: 80px 0;
  background-color: var(--card-bg-light);
  color: var(--dark-text-color);
}

.page-fishing-games-popular__intro-section .page-fishing-games-popular__section-title,
.page-fishing-games-popular__intro-section .page-fishing-games-popular__text-block {
  color: var(--dark-text-color);
}

/* Games Showcase */
.page-fishing-games-popular__games-showcase {
  padding: 80px 0;
  background-color: var(--dark-bg-color);
}

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

.page-fishing-games-popular__game-card {
  background-color: var(--card-bg-dark);
  border-radius: 10px;
  overflow: hidden;
  text-align: center;
  padding-bottom: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  color: var(--light-text-color);
}

.page-fishing-games-popular__game-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  margin-bottom: 15px;
}

.page-fishing-games-popular__game-title {
  font-size: 1.5em;
  margin-bottom: 10px;
  color: var(--light-text-color);
}

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

.page-fishing-games-popular__game-title a:hover {
  color: var(--primary-color);
}

.page-fishing-games-popular__game-description {
  font-size: 0.95em;
  color: #cccccc;
  padding: 0 15px;
  flex-grow: 1;
  margin-bottom: 20px;
}

.page-fishing-games-popular__btn-card {
  margin-top: auto; /* Push button to bottom */
}

/* Features Section */
.page-fishing-games-popular__features-section {
  padding: 80px 0;
  background-color: var(--card-bg-light);
  color: var(--dark-text-color);
}

.page-fishing-games-popular__features-section .page-fishing-games-popular__section-title,
.page-fishing-games-popular__features-section .page-fishing-games-popular__section-subtitle,
.page-fishing-games-popular__features-section .page-fishing-games-popular__feature-title,
.page-fishing-games-popular__features-section .page-fishing-games-popular__feature-description {
  color: var(--dark-text-color);
}

.page-fishing-games-popular__features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  text-align: center;
}

.page-fishing-games-popular__feature-item {
  background-color: #f8f9fa;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-fishing-games-popular__feature-icon {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 20px;
}

.page-fishing-games-popular__feature-title {
  font-size: 1.8em;
  margin-bottom: 10px;
}

.page-fishing-games-popular__feature-description {
  font-size: 1em;
  color: #555555;
}

/* Strategy Section */
.page-fishing-games-popular__strategy-section {
  padding: 80px 0;
  background-color: var(--dark-bg-color);
}

.page-fishing-games-popular__strategy-content {
  display: flex;
  gap: 40px;
  align-items: center;
}

.page-fishing-games-popular__strategy-text {
  flex: 1;
}

.page-fishing-games-popular__strategy-list {
  list-style: disc inside;
  margin-left: 20px;
  margin-bottom: 20px;
  color: #e0e0e0;
}

.page-fishing-games-popular__strategy-list li {
  margin-bottom: 10px;
  font-size: 1.1em;
}

.page-fishing-games-popular__strategy-list strong {
  color: var(--accent-color);
}

.page-fishing-games-popular__strategy-image-wrapper {
  flex: 1;
  text-align: center;
}

.page-fishing-games-popular__strategy-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* Video Section */
.page-fishing-games-popular__video-section {
  padding: 80px 0;
  background-color: var(--card-bg-light);
  color: var(--dark-text-color);
  text-align: center;
}

.page-fishing-games-popular__video-section .page-fishing-games-popular__section-title,
.page-fishing-games-popular__video-section .page-fishing-games-popular__section-subtitle {
  color: var(--dark-text-color);
}

.page-fishing-games-popular__video-wrapper {
  position: relative;
  max-width: 800px;
  margin: 0 auto 30px auto;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  width: 100%;
  box-sizing: border-box;
}

.page-fishing-games-popular__video {
  width: 100%;
  height: auto;
  display: block;
  cursor: pointer;
}

.page-fishing-games-popular__video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
  pointer-events: none; /* Allow click to pass through to video */
}

.page-fishing-games-popular__video-cta {
  margin-top: 20px;
}

/* Promotions Section */
.page-fishing-games-popular__promotions-section {
  padding: 80px 0;
  background-color: var(--dark-bg-color);
}

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

.page-fishing-games-popular__promo-card {
  background-color: var(--card-bg-dark);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  padding-bottom: 20px;
  display: flex;
  flex-direction: column;
  color: var(--light-text-color);
}

.page-fishing-games-popular__promo-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  margin-bottom: 15px;
}

.page-fishing-games-popular__promo-title {
  font-size: 1.6em;
  margin-bottom: 10px;
  color: var(--light-text-color);
  padding: 0 15px;
}

.page-fishing-games-popular__promo-description {
  font-size: 0.95em;
  color: #cccccc;
  padding: 0 15px;
  flex-grow: 1;
  margin-bottom: 20px;
}

.page-fishing-games-popular__btn-promo {
  margin-top: auto;
}

/* FAQ Section */
.page-fishing-games-popular__faq-section {
  padding: 80px 0;
  background-color: var(--card-bg-light);
  color: var(--dark-text-color);
}

.page-fishing-games-popular__faq-section .page-fishing-games-popular__section-title {
  color: var(--dark-text-color);
}

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

.page-fishing-games-popular__faq-item {
  background-color: #f8f9fa;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.page-fishing-games-popular__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.2em;
  font-weight: bold;
  color: var(--dark-text-color);
  cursor: pointer;
  background-color: #e9ecef;
  transition: background-color 0.3s ease;
}

.page-fishing-games-popular__faq-question:hover {
  background-color: #dee2e6;
}

.page-fishing-games-popular__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
}

.page-fishing-games-popular__faq-item.active .page-fishing-games-popular__faq-toggle {
  transform: rotate(45deg);
}

.page-fishing-games-popular__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #555555;
}

.page-fishing-games-popular__faq-item.active .page-fishing-games-popular__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to show content */
  padding: 15px 25px;
}

.page-fishing-games-popular__faq-answer p {
  margin-bottom: 0;
  color: var(--dark-text-color);
}

/* Final CTA Section */
.page-fishing-games-popular__cta-final-section {
  padding: 80px 0;
  background-color: var(--primary-color);
  color: var(--light-text-color);
}

.page-fishing-games-popular__cta-final-section .page-fishing-games-popular__section-title,
.page-fishing-games-popular__cta-final-section .page-fishing-games-popular__section-subtitle {
  color: var(--light-text-color);
}

/* Responsive Adjustments */
@media (max-width: 992px) {
  .page-fishing-games-popular__hero-title {
    font-size: 2.8em;
  }
  .page-fishing-games-popular__hero-description {
    font-size: 1.1em;
  }
  .page-fishing-games-popular__strategy-content {
    flex-direction: column;
  }
  .page-fishing-games-popular__strategy-image-wrapper {
    margin-top: 40px;
  }
}

@media (max-width: 768px) {
  .page-fishing-games-popular__hero-section {
    min-height: 500px;
    padding-top: var(--header-offset, 120px) !important;
  }
  .page-fishing-games-popular__hero-title {
    font-size: 2.2em;
  }
  .page-fishing-games-popular__hero-description {
    font-size: 1em;
  }
  .page-fishing-games-popular__hero-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-fishing-games-popular__btn-primary,
  .page-fishing-games-popular__btn-secondary,
  .page-fishing-games-popular__btn-card,
  .page-fishing-games-popular__btn-promo,
  .page-fishing-games-popular__video-cta {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-fishing-games-popular__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-fishing-games-popular__section-title {
    font-size: 2em;
  }
  .page-fishing-games-popular__section-subtitle {
    font-size: 1em;
  }
  .page-fishing-games-popular__text-block {
    font-size: 0.95em;
  }
  .page-fishing-games-popular img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-fishing-games-popular__game-card,
  .page-fishing-games-popular__feature-item,
  .page-fishing-games-popular__promo-card {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-fishing-games-popular__video-section,
  .page-fishing-games-popular__video-container,
  .page-fishing-games-popular__video-wrapper {
    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__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-fishing-games-popular__faq-question,
  .page-fishing-games-popular__faq-answer {
    padding-left: 15px;
    padding-right: 15px;
  }
}

@media (max-width: 480px) {
  .page-fishing-games-popular__hero-title {
    font-size: 1.8em;
  }
  .page-fishing-games-popular__hero-description {
    font-size: 0.9em;
  }
  .page-fishing-games-popular__section-title {
    font-size: 1.8em;
  }
  .page-fishing-games-popular__hero-content {
    padding: 20px;
  }
  .page-fishing-games-popular__faq-question {
    font-size: 1.1em;
  }
}