/* style/slots-popular-games.css */
.page-slots-popular-games {
  font-family: 'Arial', sans-serif;
  color: #E5E5E5; /* Light grey for text on dark background */
  background-color: #1A202C;
}

.page-slots-popular-games__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-slots-popular-games__section {
  padding: 60px 0;
  text-align: center;
}

.page-slots-popular-games__section:nth-of-type(even) {
  background-color: #2D3748; /* Slightly lighter dark background for contrast */
}

.page-slots-popular-games__section-title {
  font-size: 2.5em;
  color: #E53E3E;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-slots-popular-games__section-description {
  font-size: 1.1em;
  color: #CBD5E0;
  margin-bottom: 40px;
  line-height: 1.6;
}

/* Hero Section */
.page-slots-popular-games__hero {
  background: linear-gradient(135deg, #1A202C, #4A5568);
  padding: 100px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-slots-popular-games__hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('[GALLERY:bg:abstract_geometric,dark_pattern,gaming_theme]');
  background-size: cover;
  opacity: 0.1;
  z-index: 0;
}

.page-slots-popular-games__hero-title {
  font-size: 3.5em;
  color: #E53E3E;
  margin-bottom: 20px;
  font-weight: 900;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  position: relative;
  z-index: 1;
}

.page-slots-popular-games__hero-subtitle {
  font-size: 1.4em;
  color: #CBD5E0;
  margin-bottom: 40px;
  line-height: 1.6;
  position: relative;
  z-index: 1;
}

.page-slots-popular-games__hero-actions {
  display: flex;
  justify-content: center;
  gap: 20px;
  position: relative;
  z-index: 1;
}

.page-slots-popular-games__btn {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
}

.page-slots-popular-games__btn--primary {
  background-color: #E53E3E;
  color: #FFFFFF;
}

.page-slots-popular-games__btn--primary:hover {
  background-color: #C53030;
  transform: translateY(-2px);
}

.page-slots-popular-games__btn--secondary {
  background-color: transparent;
  color: #E53E3E;
  border: 2px solid #E53E3E;
}

.page-slots-popular-games__btn--secondary:hover {
  background-color: #E53E3E;
  color: #FFFFFF;
  transform: translateY(-2px);
}

.page-slots-popular-games__btn--small {
  padding: 10px 20px;
  font-size: 0.9em;
}

.page-slots-popular-games__btn--lg {
  padding: 18px 35px;
  font-size: 1.2em;
}

.page-slots-popular-games__btn--center {
  display: block;
  margin: 40px auto 0 auto;
  max-width: 300px;
}

/* Why 123b Section */
.page-slots-popular-games__why-123b {
  background-color: #1A202C;
}

.page-slots-popular-games__features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-slots-popular-games__feature-item {
  background-color: #2D3748;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  text-align: center;
  transition: transform 0.3s ease;
}

.page-slots-popular-games__feature-item:hover {
  transform: translateY(-10px);
}

.page-slots-popular-games__feature-icon {
  width: 60px;
  height: 60px;
  margin-bottom: 20px;
  filter: drop-shadow(0 0 5px #E53E3E);
}

.page-slots-popular-games__feature-title {
  font-size: 1.5em;
  color: #E53E3E;
  margin-bottom: 15px;
}

.page-slots-popular-games__feature-description {
  font-size: 1em;
  color: #CBD5E0;
  line-height: 1.6;
}

/* Popular Games Section */
.page-slots-popular-games__popular-games {
  background-color: #2D3748;
}

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

.page-slots-popular-games__game-card {
  background-color: #1A202C;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
  text-align: left;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-slots-popular-games__game-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.6);
}

.page-slots-popular-games__game-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-bottom: 2px solid #E53E3E;
}

.page-slots-popular-games__game-info {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.page-slots-popular-games__game-title {
  font-size: 1.6em;
  color: #E53E3E;
  margin-bottom: 10px;
}

.page-slots-popular-games__game-description {
  font-size: 0.95em;
  color: #CBD5E0;
  line-height: 1.5;
  margin-bottom: 15px;
  flex-grow: 1;
}

.page-slots-popular-games__game-features-list {
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
  color: #CBD5E0;
}

.page-slots-popular-games__game-features-list li {
  margin-bottom: 5px;
  position: relative;
  padding-left: 20px;
}

.page-slots-popular-games__game-features-list li::before {
  content: '✔';
  color: #E53E3E;
  position: absolute;
  left: 0;
  top: 0;
}

/* Tips Section */
.page-slots-popular-games__tips-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  text-align: left;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-slots-popular-games__tips-list li {
  background-color: #2D3748;
  padding: 20px;
  border-radius: 8px;
  margin-bottom: 15px;
  font-size: 1.1em;
  line-height: 1.6;
  color: #CBD5E0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-slots-popular-games__tips-list li strong {
  color: #E53E3E;
}

/* How to Play Section */
.page-slots-popular-games__how-to-play {
  background-color: #1A202C;
}

.page-slots-popular-games__steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-slots-popular-games__step-card {
  background-color: #2D3748;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-slots-popular-games__step-number {
  font-size: 2.5em;
  font-weight: bold;
  color: #E53E3E;
  margin-bottom: 15px;
  background-color: #1A202C;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px auto;
  border: 2px solid #E53E3E;
}

.page-slots-popular-games__step-title {
  font-size: 1.4em;
  color: #E53E3E;
  margin-bottom: 10px;
}

.page-slots-popular-games__step-description {
  font-size: 1em;
  color: #CBD5E0;
  line-height: 1.6;
  margin-bottom: 20px;
}

/* App Download Section */
.page-slots-popular-games__app-download {
  background-color: #2D3748;
}

.page-slots-popular-games__app-flex {
  display: flex;
  align-items: center;
  gap: 50px;
  text-align: left;
  flex-wrap: wrap;
}

.page-slots-popular-games__app-content {
  flex: 1;
  min-width: 300px;
}

.page-slots-popular-games__app-image-wrapper {
  flex: 1;
  min-width: 300px;
  text-align: center;
}

.page-slots-popular-games__app-image {
  max-width: 100%;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  border: 3px solid #E53E3E;
}

.page-slots-popular-games__app-benefits {
  list-style: none;
  padding: 0;
  margin: 30px 0;
  color: #CBD5E0;
}

.page-slots-popular-games__app-benefits li {
  margin-bottom: 10px;
  position: relative;
  padding-left: 30px;
  font-size: 1.1em;
}

.page-slots-popular-games__app-benefits li::before {
  content: '⭐';
  position: absolute;
  left: 0;
  top: 0;
  font-size: 1.2em;
  color: #E53E3E;
}

/* FAQ Section */
.page-slots-popular-games__faq {
  background-color: #1A202C;
}

.page-slots-popular-games__faq-item {
  background-color: #2D3748;
  border-radius: 8px;
  padding: 25px;
  margin-bottom: 20px;
  text-align: left;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-slots-popular-games__faq-question {
  font-size: 1.3em;
  color: #E53E3E;
  margin-bottom: 10px;
  cursor: pointer;
}

.page-slots-popular-games__faq-answer {
  font-size: 1em;
  color: #CBD5E0;
  line-height: 1.6;
  display: none; /* Hidden by default */
}

/* CTA Section */
.page-slots-popular-games__cta {
  background: linear-gradient(90deg, #E53E3E, #C53030);
  padding: 80px 0;
  color: #FFFFFF;
}

.page-slots-popular-games__cta .page-slots-popular-games__section-title {
  color: #FFFFFF;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.page-slots-popular-games__cta .page-slots-popular-games__section-description {
  color: #FFF;
}

.page-slots-popular-games__cta .page-slots-popular-games__btn {
  background-color: #1A202C;
  color: #E53E3E;
  border: 2px solid #1A202C;
}

.page-slots-popular-games__cta .page-slots-popular-games__btn:hover {
  background-color: #000000;
  color: #E53E3E;
  border-color: #000000;
}

/* Responsive Design */
@media (max-width: 768px) {
  .page-slots-popular-games__hero-title {
    font-size: 2.5em;
  }

  .page-slots-popular-games__hero-subtitle {
    font-size: 1.2em;
  }

  .page-slots-popular-games__hero-actions {
    flex-direction: column;
    gap: 15px;
  }

  .page-slots-popular-games__section-title {
    font-size: 2em;
  }

  .page-slots-popular-games__features,
  .page-slots-popular-games__game-grid,
  .page-slots-popular-games__steps-grid {
    grid-template-columns: 1fr;
  }

  .page-slots-popular-games__app-flex {
    flex-direction: column;
    text-align: center;
  }

  .page-slots-popular-games__app-content,
  .page-slots-popular-games__app-image-wrapper {
    min-width: unset;
  }

  .page-slots-popular-games__app-benefits {
    text-align: left;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
  }

  .page-slots-popular-games__tips-list {
    text-align: center;
  }

  .page-slots-popular-games__tips-list li {
    text-align: left;
  }
}

@media (max-width: 480px) {
  .page-slots-popular-games__hero-title {
    font-size: 2em;
  }

  .page-slots-popular-games__hero-subtitle {
    font-size: 1em;
  }

  .page-slots-popular-games__btn {
    padding: 12px 25px;
    font-size: 1em;
  }

  .page-slots-popular-games__section-title {
    font-size: 1.8em;
  }
}