/* Base styles for the page */
.page-slot-games-popular-recommendations {
  background-color: var(--color-deep-navy); /* Dark background from shared.css */
  color: var(--text-main); /* Light text for contrast */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

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

.page-slot-games-popular-recommendations__hero-section {
  position: relative;
  text-align: center;
  color: var(--text-main);
  padding-top: 10px; /* Small top padding, assuming body handles --header-offset */
  margin-bottom: 40px;
}

.page-slot-games-popular-recommendations__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  max-height: 500px;
}

.page-slot-games-popular-recommendations__hero-content {
  position: relative;
  padding: 40px 20px;
  background: rgba(16, 35, 63, 0.85); /* Card BG with transparency */
  margin-top: -100px; /* Overlap image slightly for design */
  border-radius: 10px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-slot-games-popular-recommendations__main-title {
  font-size: 48px;
  font-weight: bold;
  margin-bottom: 20px;
  color: var(--color-gold); /* Gold for main title */
  line-height: 1.2;
}

.page-slot-games-popular-recommendations__hero-description {
  font-size: 20px;
  margin-bottom: 30px;
  color: var(--text-secondary);
}

.page-slot-games-popular-recommendations__section-title {
  font-size: 36px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 40px;
  color: var(--color-gold);
  position: relative;
  padding-bottom: 15px;
}

.page-slot-games-popular-recommendations__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: var(--color-gold);
  border-radius: 2px;
}

.page-slot-games-popular-recommendations__introduction-section,
.page-slot-games-popular-recommendations__why-choose-section,
.page-slot-games-popular-recommendations__popular-games-section,
.page-slot-games-popular-recommendations__how-to-start-section,
.page-slot-games-popular-recommendations__faq-section,
.page-slot-games-popular-recommendations__conclusion-section {
  padding: 60px 0;
  margin-bottom: 20px;
}

.page-slot-games-popular-recommendations__introduction-section p,
.page-slot-games-popular-recommendations__conclusion-section p {
  font-size: 18px;
  text-align: justify;
  margin-bottom: 15px;
  color: var(--text-secondary);
}

.page-slot-games-popular-recommendations__introduction-section .highlight,
.page-slot-games-popular-recommendations__why-choose-section .highlight,
.page-slot-games-popular-recommendations__popular-games-section .highlight,
.page-slot-games-popular-recommendations__how-to-start-section .highlight,
.page-slot-games-popular-recommendations__faq-section .highlight,
.page-slot-games-popular-recommendations__conclusion-section .highlight {
  color: var(--color-gold);
  font-weight: bold;
}

.page-slot-games-popular-recommendations__feature-grid,
.page-slot-games-popular-recommendations__game-grid,
.page-slot-games-popular-recommendations__steps-grid {
  display: grid;
  gap: 30px;
  margin-top: 30px;
}

.page-slot-games-popular-recommendations__feature-grid {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.page-slot-games-popular-recommendations__game-grid {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.page-slot-games-popular-recommendations__steps-grid {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.page-slot-games-popular-recommendations__feature-card,
.page-slot-games-popular-recommendations__game-card,
.page-slot-games-popular-recommendations__step-card {
  background: var(--card-bg);
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--border-color);
  color: var(--text-main);
}

.page-slot-games-popular-recommendations__feature-card:hover,
.page-slot-games-popular-recommendations__game-card:hover,
.page-slot-games-popular-recommendations__step-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

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

.page-slot-games-popular-recommendations__feature-title,
.page-slot-games-popular-recommendations__game-title {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 10px;
  color: var(--color-gold);
}

.page-slot-games-popular-recommendations__feature-card p,
.page-slot-games-popular-recommendations__game-card p {
  font-size: 16px;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.page-slot-games-popular-recommendations__step-card {
  position: relative;
  padding-top: 50px;
}

.page-slot-games-popular-recommendations__step-number {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-glow);
  color: var(--color-deep-navy);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: bold;
  border: 3px solid var(--color-gold);
  box-shadow: 0 0 15px rgba(79, 168, 255, 0.6);
}

.page-slot-games-popular-recommendations__step-title {
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 15px;
  color: var(--color-gold);
}

.page-slot-games-popular-recommendations__step-card p {
  font-size: 16px;
  color: var(--text-secondary);
}

.page-slot-games-popular-recommendations__btn-primary,
.page-slot-games-popular-recommendations__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  font-size: 18px;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-slot-games-popular-recommendations__btn-primary {
  background: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
  color: var(--text-main);
  border: none;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-slot-games-popular-recommendations__btn-primary:hover {
  background: linear-gradient(180deg, #1144A6 0%, #2B73F6 100%);
  transform: translateY(-2px);
}

.page-slot-games-popular-recommendations__btn-secondary {
  background: var(--color-deep-navy);
  color: var(--color-gold);
  border: 2px solid var(--color-gold);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-slot-games-popular-recommendations__btn-secondary:hover {
  background: var(--color-gold);
  color: var(--color-deep-navy);
  transform: translateY(-2px);
}

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

.page-slot-games-popular-recommendations__cta-bottom p,
.page-slot-games-popular-recommendations__cta-middle p {
  font-size: 20px;
  margin-bottom: 25px;
  color: var(--text-main);
}

.page-slot-games-popular-recommendations__text-link {
  color: var(--color-gold);
  text-decoration: underline;
  font-weight: bold;
}

.page-slot-games-popular-recommendations__text-link:hover {
  color: var(--color-glow);
}

/* FAQ Styles */
details.page-slot-games-popular-recommendations__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid var(--border-color);
  overflow: hidden;
  background: var(--card-bg);
  color: var(--text-main);
}
details.page-slot-games-popular-recommendations__faq-item summary.page-slot-games-popular-recommendations__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
}
details.page-slot-games-popular-recommendations__faq-item summary.page-slot-games-popular-recommendations__faq-question::-webkit-details-marker {
  display: none;
}
details.page-slot-games-popular-recommendations__faq-item summary.page-slot-games-popular-recommendations__faq-question:hover {
  background: rgba(var(--color-blue-rgb), 0.1);
}
.page-slot-games-popular-recommendations__faq-qtext {
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: var(--text-main);
}
.page-slot-games-popular-recommendations__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  color: var(--color-gold);
  flex-shrink: 0;
  margin-left: 15px;
  width: 32px;
  text-align: center;
}
details.page-slot-games-popular-recommendations__faq-item .page-slot-games-popular-recommendations__faq-answer {
  padding: 0 20px 20px;
  background: rgba(var(--color-deep-navy-rgb), 0.5);
  border-radius: 0 0 5px 5px;
  color: var(--text-secondary);
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-slot-games-popular-recommendations__hero-content {
    margin-top: -80px;
    padding: 30px 15px;
  }
  .page-slot-games-popular-recommendations__main-title {
    font-size: 40px;
  }
  .page-slot-games-popular-recommendations__hero-description {
    font-size: 18px;
  }
  .page-slot-games-popular-recommendations__section-title {
    font-size: 30px;
  }
}

@media (max-width: 768px) {
  .page-slot-games-popular-recommendations__container,
  .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__popular-games-section,
  .page-slot-games-popular-recommendations__how-to-start-section,
  .page-slot-games-popular-recommendations__faq-section,
  .page-slot-games-popular-recommendations__conclusion-section {
    padding-left: 15px !important;
    padding-right: 15px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-slot-games-popular-recommendations__hero-content {
    margin-top: -60px;
    padding: 25px 15px;
  }

  .page-slot-games-popular-recommendations__main-title {
    font-size: 32px;
  }

  .page-slot-games-popular-recommendations__hero-description {
    font-size: 16px;
  }

  .page-slot-games-popular-recommendations__section-title {
    font-size: 26px;
    margin-bottom: 30px;
  }

  .page-slot-games-popular-recommendations__introduction-section p,
  .page-slot-games-popular-recommendations__conclusion-section p {
    font-size: 16px;
  }

  .page-slot-games-popular-recommendations__feature-grid,
  .page-slot-games-popular-recommendations__game-grid,
  .page-slot-games-popular-recommendations__steps-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

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

  .page-slot-games-popular-recommendations__feature-title,
  .page-slot-games-popular-recommendations__game-title {
    font-size: 20px;
  }

  .page-slot-games-popular-recommendations__step-title {
    font-size: 18px;
  }

  .page-slot-games-popular-recommendations__btn-primary,
  .page-slot-games-popular-recommendations__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 15px;
    font-size: 16px;
  }

  .page-slot-games-popular-recommendations__cta-bottom .page-slot-games-popular-recommendations__btn-primary,
  .page-slot-games-popular-recommendations__cta-middle .page-slot-games-popular-recommendations__btn-primary {
    margin-top: 20px;
  }

  .page-slot-games-popular-recommendations__cta-bottom p,
  .page-slot-games-popular-recommendations__cta-middle p {
    font-size: 18px;
  }

  /* Images responsive for mobile */
  .page-slot-games-popular-recommendations img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  /* FAQ mobile styles */
  details.page-slot-games-popular-recommendations__faq-item summary.page-slot-games-popular-recommendations__faq-question { padding: 15px; }
  .page-slot-games-popular-recommendations__faq-qtext { font-size: 16px; }
  .page-slot-games-popular-recommendations__faq-toggle { font-size: 24px; width: 28px; }
  details.page-slot-games-popular-recommendations__faq-item .page-slot-games-popular-recommendations__faq-answer { padding: 0 15px 15px; }
}

/* Custom Colors */
:root {
  --color-blue: #113B7A;
  --color-blue-rgb: 17, 59, 122;
  --color-light-blue: #1D5FD1;
  --color-light-blue-rgb: 29, 95, 209;
  --btn-gradient: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
  --card-bg: #10233F;
  --text-main: #F3F8FF;
  --text-secondary: #AFC4E8;
  --border-color: #244D84;
  --color-glow: #4FA8FF;
  --color-gold: #F2C14E;
  --color-divider: #1B3357;
  --color-deep-navy: #08162B;
  --color-deep-navy-rgb: 8, 22, 43;
}