.page-slot-games-popular-recommendations {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Dark background, so light text */
  background-color: #121212; /* Inherited from body, but reinforce */
}

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

.page-slot-games-popular-recommendations__dark-bg {
  background-color: #121212;
  color: #ffffff;
}

.page-slot-games-popular-recommendations__light-bg {
  background-color: #ffffff;
  color: #333333;
}

.page-slot-games-popular-recommendations__text-dark {
  color: #333333;
}

.page-slot-games-popular-recommendations__hero-section {
  position: relative;
  width: 100%;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding-top: var(--header-offset, 120px); /* Fixed header offset */
  box-sizing: border-box;
}

.page-slot-games-popular-recommendations__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.page-slot-games-popular-recommendations__hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7); /* Dark overlay for text readability */
  z-index: 2;
}

.page-slot-games-popular-recommendations__hero-content {
  position: relative;
  z-index: 3;
  max-width: 900px;
  padding: 20px;
}

.page-slot-games-popular-recommendations__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #ffffff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-slot-games-popular-recommendations__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #f0f0f0;
}

.page-slot-games-popular-recommendations__hero-cta {
  display: flex;
  gap: 20px;
  justify-content: center;
}

.page-slot-games-popular-recommendations__btn-primary,
.page-slot-games-popular-recommendations__btn-secondary,
.page-slot-games-popular-recommendations__btn-play {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-slot-games-popular-recommendations__btn-primary {
  background-color: #26A9E0;
  color: #ffffff;
  border: 2px solid #26A9E0;
}

.page-slot-games-popular-recommendations__btn-primary:hover {
  background-color: #1e87b6;
  border-color: #1e87b6;
}

.page-slot-games-popular-recommendations__btn-secondary {
  background-color: transparent;
  color: #26A9E0;
  border: 2px solid #26A9E0;
}

.page-slot-games-popular-recommendations__btn-secondary:hover {
  background-color: #26A9E0;
  color: #ffffff;
}

.page-slot-games-popular-recommendations__btn-play {
  background-color: #EA7C07; /* Login color for play button */
  color: #ffffff;
  border: 2px solid #EA7C07;
  padding: 10px 20px;
  font-size: 0.9em;
}

.page-slot-games-popular-recommendations__btn-play:hover {
  background-color: #c46405;
  border-color: #c46405;
}

.page-slot-games-popular-recommendations__section-title {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 40px;
  color: #26A9E0;
}

.page-slot-games-popular-recommendations__sub-title {
  font-size: 1.8em;
  margin-top: 30px;
  margin-bottom: 20px;
  color: #26A9E0;
}

.page-slot-games-popular-recommendations__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  text-align: justify;
}

.page-slot-games-popular-recommendations__intro-section,
.page-slot-games-popular-recommendations__recommendations-section,
.page-slot-games-popular-recommendations__promotions-section,
.page-slot-games-popular-recommendations__security-section,
.page-slot-games-popular-recommendations__faq-section,
.page-slot-games-popular-recommendations__cta-final-section {
  padding: 60px 0;
}

.page-slot-games-popular-recommendations__features-section {
  padding: 60px 0;
  background-color: #ffffff;
  color: #333333;
}

.page-slot-games-popular-recommendations__features-grid,
.page-slot-games-popular-recommendations__game-grid,
.page-slot-games-popular-recommendations__promo-grid,
.page-slot-games-popular-recommendations__security-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.page-slot-games-popular-recommendations__card {
  background-color: rgba(255, 255, 255, 0.1); /* Semi-transparent white for dark sections */
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-slot-games-popular-recommendations__features-section .page-slot-games-popular-recommendations__card {
  background-color: #f8f8f8; /* Light background for light section */
  color: #333333;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-slot-games-popular-recommendations__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-slot-games-popular-recommendations__feature-image,
.page-slot-games-popular-recommendations__game-image,
.page-slot-games-popular-recommendations__promo-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-slot-games-popular-recommendations__feature-title,
.page-slot-games-popular-recommendations__game-title,
.page-slot-games-popular-recommendations__promo-title {
  font-size: 1.5em;
  margin-bottom: 10px;
  color: #26A9E0;
}

.page-slot-games-popular-recommendations__game-title a,
.page-slot-games-popular-recommendations__promo-title a {
  color: #26A9E0;
  text-decoration: none;
}

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

.page-slot-games-popular-recommendations__feature-description,
.page-slot-games-popular-recommendations__game-description,
.page-slot-games-popular-recommendations__promo-description {
  font-size: 1em;
  color: #f0f0f0;
  margin-bottom: 15px;
}

.page-slot-games-popular-recommendations__features-section .page-slot-games-popular-recommendations__feature-description {
  color: #555555;
}

.page-slot-games-popular-recommendations__more-games {
  margin-top: 40px;
  padding: 20px;
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
}

.page-slot-games-popular-recommendations__list {
  list-style-type: disc;
  padding-left: 25px;
  margin-bottom: 20px;
  color: #f0f0f0;
}

.page-slot-games-popular-recommendations__list li {
  margin-bottom: 10px;
  font-size: 1.05em;
}

.page-slot-games-popular-recommendations__list li a {
  color: #26A9E0;
  text-decoration: none;
}

.page-slot-games-popular-recommendations__list li a:hover {
  text-decoration: underline;
}

.page-slot-games-popular-recommendations__how-to-play-section {
  background-color: #ffffff;
  color: #333333;
}

.page-slot-games-popular-recommendations__steps-list {
  list-style: none;
  padding: 0;
  counter-reset: step-counter;
}

.page-slot-games-popular-recommendations__step-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 30px;
  padding: 20px;
  background-color: #f8f8f8;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  position: relative;
  padding-left: 70px;
}

.page-slot-games-popular-recommendations__step-item::before {
  counter-increment: step-counter;
  content: counter(step-counter);
  position: absolute;
  left: 20px;
  top: 20px;
  background-color: #26A9E0;
  color: #ffffff;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5em;
  font-weight: bold;
}

.page-slot-games-popular-recommendations__step-title {
  font-size: 1.6em;
  color: #26A9E0;
  margin-bottom: 10px;
}

.page-slot-games-popular-recommendations__step-description {
  font-size: 1em;
  color: #555555;
  margin-bottom: 15px;
  text-align: left;
}

.page-slot-games-popular-recommendations__security-item {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  color: #ffffff;
  text-align: left;
}

.page-slot-games-popular-recommendations__security-title {
  font-size: 1.5em;
  color: #26A9E0;
  margin-bottom: 10px;
}

.page-slot-games-popular-recommendations__security-description {
  font-size: 1em;
  color: #f0f0f0;
}

.page-slot-games-popular-recommendations__cta-bottom {
  text-align: center;
  margin-top: 40px;
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-slot-games-popular-recommendations__faq-list {
  margin-top: 30px;
}

.page-slot-games-popular-recommendations__faq-item {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-slot-games-popular-recommendations__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  background-color: rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: #ffffff;
  font-weight: bold;
}

.page-slot-games-popular-recommendations__faq-question:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.page-slot-games-popular-recommendations__faq-title {
  margin: 0;
  font-size: 1.2em;
  color: #ffffff;
}

.page-slot-games-popular-recommendations__faq-toggle {
  font-size: 1.5em;
  transition: transform 0.3s ease;
  color: #26A9E0;
}

.page-slot-games-popular-recommendations__faq-item.active .page-slot-games-popular-recommendations__faq-toggle {
  transform: rotate(45deg);
  content: '−';
}

.page-slot-games-popular-recommendations__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #f0f0f0;
}

.page-slot-games-popular-recommendations__faq-item.active .page-slot-games-popular-recommendations__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to show content */
  padding: 20px;
}

.page-slot-games-popular-recommendations__faq-answer p {
  margin: 0;
}

.page-slot-games-popular-recommendations__cta-final-section {
  text-align: center;
}

.page-slot-games-popular-recommendations__cta-final-section .page-slot-games-popular-recommendations__cta-buttons {
  margin-top: 30px;
}

/* Image and video responsiveness */
.page-slot-games-popular-recommendations img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .page-slot-games-popular-recommendations {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-slot-games-popular-recommendations__hero-section {
    min-height: 400px;
    padding-top: var(--header-offset, 120px) !important;
  }

  .page-slot-games-popular-recommendations__hero-title {
    font-size: 2em;
  }

  .page-slot-games-popular-recommendations__hero-description {
    font-size: 1em;
  }

  .page-slot-games-popular-recommendations__hero-cta,
  .page-slot-games-popular-recommendations__cta-bottom,
  .page-slot-games-popular-recommendations__cta-final-section .page-slot-games-popular-recommendations__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-slot-games-popular-recommendations__btn-primary,
  .page-slot-games-popular-recommendations__btn-secondary,
  .page-slot-games-popular-recommendations__btn-play {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 12px 20px;
    font-size: 1em;
  }

  .page-slot-games-popular-recommendations__section-title {
    font-size: 1.8em;
  }

  .page-slot-games-popular-recommendations__sub-title {
    font-size: 1.4em;
  }

  .page-slot-games-popular-recommendations__features-grid,
  .page-slot-games-popular-recommendations__game-grid,
  .page-slot-games-popular-recommendations__promo-grid,
  .page-slot-games-popular-recommendations__security-grid {
    grid-template-columns: 1fr;
  }

  .page-slot-games-popular-recommendations__card {
    padding: 20px;
  }

  .page-slot-games-popular-recommendations__feature-image,
  .page-slot-games-popular-recommendations__game-image,
  .page-slot-games-popular-recommendations__promo-image {
    height: 200px;
  }

  .page-slot-games-popular-recommendations__step-item {
    padding-left: 60px;
  }

  .page-slot-games-popular-recommendations__step-item::before {
    width: 35px;
    height: 35px;
    font-size: 1.2em;
    top: 15px;
    left: 15px;
  }

  .page-slot-games-popular-recommendations__faq-question {
    padding: 15px;
  }

  .page-slot-games-popular-recommendations__faq-title {
    font-size: 1.1em;
  }

  .page-slot-games-popular-recommendations__faq-answer {
    padding: 0 15px;
  }

  .page-slot-games-popular-recommendations__faq-item.active .page-slot-games-popular-recommendations__faq-answer {
    padding: 15px;
  }

  /* Ensure all content containers are constrained */
  .page-slot-games-popular-recommendations__section,
  .page-slot-games-popular-recommendations__card,
  .page-slot-games-popular-recommendations__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-slot-games-popular-recommendations img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
}