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

/* Base styles for the page content */
.page-slot-games-popular-recommendations {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Dark text on light background */
  background-color: #ffffff; /* Explicitly set for clarity, though shared.css defines body bg */
  overflow-x: hidden; /* Prevent horizontal scroll */
}

/* Container for content sections */
.page-slot-games-popular-recommendations__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

/* Section titles */
.page-slot-games-popular-recommendations__section-title {
  font-size: 2.5em;
  color: #26A9E0; /* Primary brand color for titles */
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

/* Text blocks */
.page-slot-games-popular-recommendations__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  text-align: center;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-slot-games-popular-recommendations__text-center {
    text-align: center;
}

/* Hero Section */
.page-slot-games-popular-recommendations__hero-section {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 600px;
  color: #ffffff;
  text-align: center;
  overflow: hidden;
  padding: 80px 20px; /* Default desktop padding, assuming body padding-top is handled by shared.css */
  background-color: #26A9E0; /* Fallback background color */
}

.page-slot-games-popular-recommendations__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  opacity: 0.7; /* Make content more readable */
}

.page-slot-games-popular-recommendations__hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.page-slot-games-popular-recommendations__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #ffffff;
  font-weight: bold;
}

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

/* CTA Buttons */
.page-slot-games-popular-recommendations__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

.page-slot-games-popular-recommendations__btn-primary,
.page-slot-games-popular-recommendations__btn-secondary,
.page-slot-games-popular-recommendations__btn-play,
.page-slot-games-popular-recommendations__btn-view-promo {
  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;
  cursor: pointer;
  box-sizing: border-box; /* Crucial for responsive buttons */
  white-space: normal; /* Allow text wrap */
  word-wrap: break-word; /* Allow long words to break */
  max-width: 100%; /* Ensure buttons don't overflow */
}

.page-slot-games-popular-recommendations__btn-primary {
  background-color: #EA7C07; /* Login color for primary action */
  color: #ffffff;
  border: 2px solid transparent;
}

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

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

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

.page-slot-games-popular-recommendations__btn-play,
.page-slot-games-popular-recommendations__btn-view-promo {
  background-color: #26A9E0;
  color: #ffffff;
  border: 2px solid transparent;
  padding: 10px 20px;
  font-size: 0.9em;
  margin-top: 15px;
}

.page-slot-games-popular-recommendations__btn-play:hover,
.page-slot-games-popular-recommendations__btn-view-promo:hover {
  background-color: #1f8ec4;
}

.page-slot-games-popular-recommendations__btn-large {
    padding: 18px 40px;
    font-size: 1.1em;
}

/* Section specific styles */
.page-slot-games-popular-recommendations__introduction-section,
.page-slot-games-popular-recommendations__top-games-section,
.page-slot-games-popular-recommendations__promotions-section,
.page-slot-games-popular-recommendations__faq-section {
  padding: 80px 0;
}

.page-slot-games-popular-recommendations__why-choose-section,
.page-slot-games-popular-recommendations__how-to-play-section,
.page-slot-games-popular-recommendations__cta-section {
  padding: 80px 0;
  background-color: #26A9E0; /* Primary color as background */
  color: #ffffff;
}

.page-slot-games-popular-recommendations__why-choose-section .page-slot-games-popular-recommendations__section-title,
.page-slot-games-popular-recommendations__how-to-play-section .page-slot-games-popular-recommendations__section-title,
.page-slot-games-popular-recommendations__cta-section .page-slot-games-popular-recommendations__section-title {
  color: #ffffff;
}

.page-slot-games-popular-recommendations__why-choose-section .page-slot-games-popular-recommendations__text-block,
.page-slot-games-popular-recommendations__how-to-play-section .page-slot-games-popular-recommendations__text-block,
.page-slot-games-popular-recommendations__cta-section .page-slot-games-popular-recommendations__text-block {
  color: #f0f0f0;
}

/* Feature Grid */
.page-slot-games-popular-recommendations__features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-slot-games-popular-recommendations__feature-card {
  background-color: rgba(255, 255, 255, 0.15); /* Slightly transparent white on blue background */
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  transition: transform 0.3s ease, background-color 0.3s ease;
  color: #ffffff;
}

.page-slot-games-popular-recommendations__feature-card:hover {
  transform: translateY(-10px);
  background-color: rgba(255, 255, 255, 0.25);
}

.page-slot-games-popular-recommendations__feature-icon {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 20px;
  border-radius: 50%; /* Make icons round */
  background-color: #ffffff; /* White background for icons */
  padding: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.page-slot-games-popular-recommendations__feature-title {
  font-size: 1.5em;
  margin-bottom: 15px;
  color: #ffffff;
  font-weight: bold;
}

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

/* Game Grid */
.page-slot-games-popular-recommendations__game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-slot-games-popular-recommendations__game-card {
  background-color: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
  padding-bottom: 20px;
}

.page-slot-games-popular-recommendations__game-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.page-slot-games-popular-recommendations__game-image {
  width: 100%;
  height: 250px; /* Fixed height for consistency */
  object-fit: cover;
  margin-bottom: 15px;
}

.page-slot-games-popular-recommendations__game-title {
  font-size: 1.4em;
  margin-bottom: 10px;
  padding: 0 15px;
  font-weight: bold;
}

.page-slot-games-popular-recommendations__game-title a {
  color: #26A9E0; /* Primary color for game titles */
  text-decoration: none;
}

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

.page-slot-games-popular-recommendations__game-description {
  font-size: 0.95em;
  color: #555555;
  margin-bottom: 15px;
  padding: 0 15px;
}

/* How to Play Steps */
.page-slot-games-popular-recommendations__steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-slot-games-popular-recommendations__step-card {
  background-color: rgba(255, 255, 255, 0.15);
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  color: #ffffff;
}

.page-slot-games-popular-recommendations__step-title {
  font-size: 1.4em;
  margin-bottom: 15px;
  color: #ffffff;
  font-weight: bold;
}

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

.page-slot-games-popular-recommendations__step-description a {
  color: #f0f0f0;
  text-decoration: underline;
}

.page-slot-games-popular-recommendations__step-description a:hover {
  color: #ffffff;
}

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

.page-slot-games-popular-recommendations__promo-card {
  background-color: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
  padding-bottom: 20px;
}

.page-slot-games-popular-recommendations__promo-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.page-slot-games-popular-recommendations__promo-image {
  width: 100%;
  height: 200px; /* Fixed height for promo images */
  object-fit: cover;
  margin-bottom: 15px;
}

.page-slot-games-popular-recommendations__promo-title {
  font-size: 1.4em;
  margin-bottom: 10px;
  padding: 0 15px;
  color: #26A9E0;
  font-weight: bold;
}

.page-slot-games-popular-recommendations__promo-description {
  font-size: 0.95em;
  color: #555555;
  margin-bottom: 15px;
  padding: 0 15px;
}

.page-slot-games-popular-recommendations__cta-bottom {
  text-align: center;
  margin-top: 50px;
}

/* FAQ Section */
.page-slot-games-popular-recommendations__faq-list {
  max-width: 800px;
  margin: 50px auto 0 auto;
}

.page-slot-games-popular-recommendations__faq-item {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.page-slot-games-popular-recommendations__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  background-color: #f9f9f9;
  font-size: 1.1em;
  font-weight: bold;
  color: #26A9E0; /* Primary color for questions */
  transition: background-color 0.3s ease;
}

.page-slot-games-popular-recommendations__faq-question:hover {
  background-color: #f0f0f0;
}

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

.page-slot-games-popular-recommendations__faq-item.active .page-slot-games-popular-recommendations__faq-toggle {
  transform: rotate(45deg); /* Plus to X/Minus */
}

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

.page-slot-games-popular-recommendations__faq-item.active .page-slot-games-popular-recommendations__faq-answer {
  max-height: 1000px !important; /* Ensure it expands fully */
  padding: 20px;
}

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

/* Light/Dark Background classes for contrast */
.page-slot-games-popular-recommendations__light-bg {
    background-color: #ffffff;
    color: #333333;
}

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

/* Responsive styles */
@media (max-width: 1024px) {
  .page-slot-games-popular-recommendations__hero-title {
    font-size: 3em;
  }
  .page-slot-games-popular-recommendations__hero-description {
    font-size: 1.2em;
  }
  .page-slot-games-popular-recommendations__section-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-slot-games-popular-recommendations__container {
    padding: 0 15px;
  }

  .page-slot-games-popular-recommendations__hero-section {
    min-height: 500px;
    padding: 60px 15px;
    padding-top: var(--header-offset, 120px) !important; /* Apply header offset on mobile */
  }

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

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

  .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,
  .page-slot-games-popular-recommendations__btn-view-promo {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  /* Ensure all image containers and images are responsive */
  .page-slot-games-popular-recommendations img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-slot-games-popular-recommendations__hero-section,
  .page-slot-games-popular-recommendations__introduction-section,
  .page-slot-games-popular-recommendations__why-choose-section,
  .page-slot-games-popular-recommendations__top-games-section,
  .page-slot-games-popular-recommendations__how-to-play-section,
  .page-slot-games-popular-recommendations__promotions-section,
  .page-slot-games-popular-recommendations__faq-section,
  .page-slot-games-popular-recommendations__cta-section,
  .page-slot-games-popular-recommendations__container,
  .page-slot-games-popular-recommendations__feature-card,
  .page-slot-games-popular-recommendations__game-card,
  .page-slot-games-popular-recommendations__step-card,
  .page-slot-games-popular-recommendations__promo-card {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important; /* Prevent horizontal scroll for containers */
  }

  /* Specific adjustments for cards/grids */
  .page-slot-games-popular-recommendations__features-grid,
  .page-slot-games-popular-recommendations__game-grid,
  .page-slot-games-popular-recommendations__steps-grid,
  .page-slot-games-popular-recommendations__promo-cards {
    grid-template-columns: 1fr; /* Single column layout */
    padding-left: 0;
    padding-right: 0;
  }

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

  .page-slot-games-popular-recommendations__faq-question {
    font-size: 1em;
  }
  .page-slot-games-popular-recommendations__faq-answer {
    font-size: 0.95em;
  }
}