.page-slot-machines {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #f0f0f0; /* Light text for dark body background */
  background-color: var(--dark-bg-1);
  padding-top: 120px; /* Adjust for fixed header on desktop */
}

.page-slot-machines__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-slot-machines__main-title,
.page-slot-machines__section-title {
  font-size: 36px;
  font-weight: bold;
  color: #FFD700; /* Gold brand color for titles */
  text-align: center;
  margin-bottom: 30px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.page-slot-machines__section-title {
  font-size: 30px;
  margin-top: 60px;
}

.page-slot-machines__description,
.page-slot-machines__text-center {
  font-size: 17px;
  color: #f0f0f0;
  text-align: center;
  margin-bottom: 40px;
}

.page-slot-machines__description a,
.page-slot-machines__text-center a {
  color: #FFD700;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-slot-machines__description a:hover,
.page-slot-machines__text-center a:hover {
  color: #FFA500;
  text-decoration: underline;
}

/* Intro Section */
.page-slot-machines__intro-section {
  padding: 60px 0;
  background: linear-gradient(135deg, #8B0000, #CD5C5C);
  color: #ffffff;
}

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

.page-slot-machines__feature-item {
  background: rgba(0, 0, 0, 0.3);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-slot-machines__feature-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-slot-machines__feature-icon {
  width: 100px;
  height: auto;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-slot-machines__feature-item h3 {
  font-size: 22px;
  color: #FFD700;
  margin-bottom: 15px;
}

.page-slot-machines__feature-item p {
  font-size: 16px;
  color: #f0f0f0;
}

/* Core Games Section */
.page-slot-machines__core-games-section {
  padding: 60px 0;
  background: var(--dark-bg-1);
}

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

.page-slot-machines__game-card {
  background: #2a2a2a; /* Dark background for game cards */
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #ffffff; /* Light text for dark card background */
}

.page-slot-machines__game-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-slot-machines__game-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-slot-machines__game-title {
  font-size: 24px;
  color: #FFD700;
  margin-bottom: 15px;
}

.page-slot-machines__game-description {
  font-size: 15px;
  color: #f0f0f0;
  margin-bottom: 20px;
}

/* Promotions Section */
.page-slot-machines__promotions-section {
  padding: 60px 0;
  background: #1a1a1a;
}

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

.page-slot-machines__promo-card {
  background: #2a2a2a;
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #ffffff;
}

.page-slot-machines__promo-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-slot-machines__promo-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-slot-machines__promo-title {
  font-size: 24px;
  color: #FFD700;
  margin-bottom: 15px;
}

.page-slot-machines__promo-description {
  font-size: 15px;
  color: #f0f0f0;
  margin-bottom: 20px;
}

/* Blog Section */
.page-slot-machines__blog-section {
  padding: 60px 0;
  background: var(--dark-bg-1);
}

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

.page-slot-machines__blog-card {
  background: #2a2a2a;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #ffffff;
  overflow: hidden;
}

.page-slot-machines__blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-slot-machines__blog-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.page-slot-machines__blog-content {
  padding: 25px;
}

.page-slot-machines__blog-title {
  font-size: 20px;
  color: #FFD700;
  margin-bottom: 10px;
}

.page-slot-machines__blog-title a.page-slot-machines__blog-link {
  color: #FFD700;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-slot-machines__blog-title a.page-slot-machines__blog-link:hover {
  color: #FFA500;
  text-decoration: underline;
}

.page-slot-machines__blog-excerpt {
  font-size: 15px;
  color: #f0f0f0;
  margin-bottom: 15px;
}

.page-slot-machines__blog-date {
  font-size: 13px;
  color: #aaa;
}

/* CTA Buttons */
.page-slot-machines__cta-button {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  border: none;
}

.page-slot-machines__btn-primary {
  background: linear-gradient(135deg, #FFD700, #FFA500);
  color: #333333; /* Dark text for gold button */
}

.page-slot-machines__btn-primary:hover {
  background: linear-gradient(135deg, #FFA500, #FFC107);
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.page-slot-machines__btn-secondary {
  background: linear-gradient(135deg, #8B0000, #CD5C5C);
  color: #ffffff;
}

.page-slot-machines__btn-secondary:hover {
  background: linear-gradient(135deg, #CD5C5C, #8B0000);
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

/* FAQ Section */
.page-slot-machines__faq-section {
  padding: 60px 0;
  background: #1a1a1a;
}

.page-slot-machines__faq-list {
  max-width: 900px;
  margin: 40px auto 0 auto;
}

.page-slot-machines__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  overflow: hidden;
  background: #2a2a2a;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.page-slot-machines__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
  padding: 0 15px;
  opacity: 0;
  color: #f0f0f0; /* Light text for dark background */
  font-size: 16px;
}

.page-slot-machines__faq-item.active .page-slot-machines__faq-answer {
  max-height: 2000px !important;
  padding: 20px 15px !important;
  opacity: 1;
  background: #3a3a3a;
  border-radius: 0 0 5px 5px;
}

.page-slot-machines__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: #2a2a2a;
  border: 1px solid #444;
  border-radius: 5px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.page-slot-machines__faq-question:hover {
  background: #3a3a3a;
  border-color: #555;
}

.page-slot-machines__faq-question:active {
  background: #4a4a4a;
}

.page-slot-machines__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  pointer-events: none;
  color: #FFD700; /* Gold text for question */
}

.page-slot-machines__faq-question h3 a {
  color: #FFD700;
  text-decoration: none;
  font-weight: bold;
}

.page-slot-machines__faq-question h3 a:hover {
  text-decoration: underline;
}

.page-slot-machines__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  line-height: 1;
  color: #FFD700;
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
}

.page-slot-machines__faq-item.active .page-slot-machines__faq-toggle {
  color: #FFA500;
  transform: rotate(45deg); /* Rotate for minus sign effect */
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-slot-machines__main-title {
    font-size: 32px;
  }
  .page-slot-machines__section-title {
    font-size: 28px;
  }
  .page-slot-machines__feature-item h3,
  .page-slot-machines__game-title,
  .page-slot-machines__promo-title {
    font-size: 20px;
  }
  .page-slot-machines__blog-title {
    font-size: 18px;
  }
}

@media (max-width: 768px) {
  .page-slot-machines {
    padding-top: 100px !important; /* Adjust for fixed header on mobile */
    font-size: 16px;
    line-height: 1.6;
  }
  .page-slot-machines__container {
    padding: 0 15px;
  }
  .page-slot-machines__main-title {
    font-size: 28px;
    margin-bottom: 20px;
  }
  .page-slot-machines__section-title {
    font-size: 24px;
    margin-top: 40px;
    margin-bottom: 20px;
  }
  .page-slot-machines__description,
  .page-slot-machines__text-center {
    font-size: 15px;
    margin-bottom: 30px;
  }
  .page-slot-machines__feature-grid,
  .page-slot-machines__game-category,
  .page-slot-machines__promo-grid,
  .page-slot-machines__blog-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 30px;
  }
  .page-slot-machines__feature-item,
  .page-slot-machines__game-card,
  .page-slot-machines__promo-card,
  .page-slot-machines__blog-card {
    padding: 20px;
  }
  .page-slot-machines__feature-icon {
    width: 80px;
  }
  .page-slot-machines__feature-item h3,
  .page-slot-machines__game-title,
  .page-slot-machines__promo-title {
    font-size: 18px;
  }
  .page-slot-machines__game-image,
  .page-slot-machines__promo-image,
  .page-slot-machines__blog-image {
    height: 180px;
  }
  .page-slot-machines__blog-title {
    font-size: 16px;
  }
  .page-slot-machines__cta-button {
    padding: 10px 20px;
    font-size: 14px;
  }
  .page-slot-machines__faq-question {
    padding: 15px;
    flex-wrap: wrap;
  }
  .page-slot-machines__faq-question h3 {
    font-size: 15px;
    margin-bottom: 0;
    width: calc(100% - 40px);
  }
  .page-slot-machines__faq-toggle {
    margin-left: 10px;
    width: 24px;
    height: 24px;
    font-size: 20px;
  }
  .page-slot-machines__faq-answer {
    padding: 0 15px;
  }
  .page-slot-machines__faq-item.active .page-slot-machines__faq-answer {
    padding: 15px !important;
  }
  
  /* Force responsive images for mobile */
  .page-slot-machines img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-slot-machines__section,
  .page-slot-machines__card,
  .page-slot-machines__container,
  .page-slot-machines__feature-item,
  .page-slot-machines__game-card,
  .page-slot-machines__promo-card,
  .page-slot-machines__blog-card,
  .page-slot-machines__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}