.page-slot-games-latest {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Body background is dark (#0a0a0a), so text should be light */
}

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

/* Hero Section */
.page-slot-games-latest__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 10px 0 60px 0; /* Small top padding, larger bottom padding */
  background: #0a0a0a; /* Match body background for seamless blend */
  overflow: hidden;
}

.page-slot-games-latest__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  margin-bottom: 30px;
}

.page-slot-games-latest__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-slot-games-latest__hero-content {
  max-width: 800px;
  padding: 0 20px;
  z-index: 1;
}

.page-slot-games-latest__hero-title {
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.03em;
  color: #FFFFFF;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
  font-size: clamp(2.5rem, 5vw, 3.5rem); /* Responsive font size */
}

.page-slot-games-latest__hero-description {
  font-size: 1.15rem;
  margin-bottom: 30px;
  color: #f0f0f0;
}

/* General Section Styling */
.page-slot-games-latest__intro-section,
.page-slot-games-latest__how-to-play-section,
.page-slot-games-latest__faq-section {
  padding: 60px 0;
  background: #0a0a0a;
  color: #ffffff;
}

.page-slot-games-latest__featured-games-section,
.page-slot-games-latest__promotions-section,
.page-slot-games-latest__cta-section {
  padding: 60px 0;
  background: #1a1a1a; /* Slightly lighter dark background for contrast */
  color: #ffffff;
}

.page-slot-games-latest__benefits-section {
  padding: 60px 0;
  background: #0a0a0a;
  color: #ffffff; /* Text color for dark background */
}

.page-slot-games-latest__section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 20px;
  color: #26A9E0; /* Brand color for titles */
}

.page-slot-games-latest__section-description {
  font-size: 1.1rem;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
  color: #cccccc;
}

.page-slot-games-latest__text-block {
  font-size: 1.05rem;
  margin-bottom: 20px;
  color: #e0e0e0;
}

/* Buttons */
.page-slot-games-latest__cta-button,
.page-slot-games-latest__btn-primary,
.page-slot-games-latest__btn-secondary {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  transition: background-color 0.3s ease, transform 0.2s ease;
  cursor: pointer;
  text-align: center;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-slot-games-latest__btn-primary {
  background-color: #26A9E0;
  color: #FFFFFF;
  border: 2px solid #26A9E0;
  margin: 0 10px 10px 0;
}

.page-slot-games-latest__btn-primary:hover {
  background-color: #1e87b8;
  transform: translateY(-2px);
}

.page-slot-games-latest__btn-secondary {
  background-color: transparent;
  color: #26A9E0;
  border: 2px solid #26A9E0;
  margin: 0 10px 10px 0;
}

.page-slot-games-latest__btn-secondary:hover {
  background-color: #26A9E0;
  color: #FFFFFF;
  transform: translateY(-2px);
}

.page-slot-games-latest__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
  flex-wrap: wrap;
}

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

.page-slot-games-latest__game-card,
.page-slot-games-latest__promo-card {
  background: rgba(255, 255, 255, 0.08); /* Semi-transparent white for dark background */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  text-align: center;
  padding-bottom: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
}

.page-slot-games-latest__game-image,
.page-slot-games-latest__promo-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  margin-bottom: 15px;
}

.page-slot-games-latest__game-title,
.page-slot-games-latest__promo-title {
  font-size: 1.4rem;
  font-weight: 600;
  color: #26A9E0;
  margin-bottom: 10px;
  padding: 0 15px;
}

.page-slot-games-latest__game-description,
.page-slot-games-latest__promo-description {
  font-size: 1rem;
  color: #cccccc;
  margin-bottom: 20px;
  flex-grow: 1;
  padding: 0 15px;
}

/* How-to-Play Steps */
.page-slot-games-latest__steps-list {
  list-style: none;
  counter-reset: step-counter;
  padding: 0;
  margin-top: 40px;
}

.page-slot-games-latest__step-item {
  background: rgba(255, 255, 255, 0.08);
  border-left: 5px solid #26A9E0;
  padding: 25px;
  margin-bottom: 25px;
  border-radius: 8px;
  position: relative;
  padding-left: 70px; /* Space for step number */
}

.page-slot-games-latest__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-weight: 700;
  font-size: 1.3rem;
}

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

.page-slot-games-latest__step-description {
  color: #e0e0e0;
  font-size: 1.05rem;
}

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

.page-slot-games-latest__benefit-card {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-slot-games-latest__benefit-icon {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 20px;
}

.page-slot-games-latest__benefit-title {
  font-size: 1.35rem;
  font-weight: 600;
  color: #26A9E0;
  margin-bottom: 10px;
}

.page-slot-games-latest__benefit-description {
  font-size: 1rem;
  color: #cccccc;
}

/* FAQ Section */
.page-slot-games-latest__faq-list {
  margin-top: 40px;
}

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

.page-slot-games-latest__faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2rem;
  font-weight: 600;
  color: #FFFFFF;
  cursor: pointer;
  list-style: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.page-slot-games-latest__faq-item summary::-webkit-details-marker {
  display: none;
}

.page-slot-games-latest__faq-qtext {
  flex-grow: 1;
  color: #FFFFFF;
}

.page-slot-games-latest__faq-toggle {
  font-size: 1.5rem;
  font-weight: bold;
  color: #26A9E0;
  margin-left: 20px;
}

.page-slot-games-latest__faq-answer {
  padding: 15px 25px 20px 25px;
  font-size: 1.05rem;
  color: #e0e0e0;
}

/* Color Contrast Fixes (as per instructions) */
.page-slot-games-latest__dark-bg {
  background: #26A9E0;
  color: #ffffff;
}

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

.page-slot-games-latest__text-contrast-fix {
  color: #ffffff !important; /* Ensure light text on dark background */
}

.page-slot-games-latest__contrast-fix {
  background: rgba(255, 255, 255, 0.1) !important;
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-slot-games-latest__hero-title {
    font-size: clamp(2rem, 4.5vw, 3rem);
  }
  .page-slot-games-latest__section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  }
}

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

  .page-slot-games-latest__hero-section,
  .page-slot-games-latest__intro-section,
  .page-slot-games-latest__featured-games-section,
  .page-slot-games-latest__how-to-play-section,
  .page-slot-games-latest__benefits-section,
  .page-slot-games-latest__promotions-section,
  .page-slot-games-latest__faq-section,
  .page-slot-games-latest__cta-section {
    padding: 40px 0;
  }

  .page-slot-games-latest__hero-image-wrapper {
    margin-bottom: 20px;
  }

  .page-slot-games-latest__hero-content {
    padding: 0 15px;
  }

  .page-slot-games-latest__hero-title {
    font-size: clamp(2rem, 6vw, 2.8rem);
  }

  .page-slot-games-latest__hero-description {
    font-size: 1rem;
    margin-bottom: 20px;
  }

  .page-slot-games-latest__cta-button,
  .page-slot-games-latest__btn-primary,
  .page-slot-games-latest__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    margin: 0 0 10px 0 !important; /* Stack buttons vertically */
    white-space: normal !important;
    word-wrap: break-word !important;
    box-sizing: border-box !important;
  }

  .page-slot-games-latest__cta-buttons {
    flex-direction: column;
    gap: 10px;
    padding: 0 15px;
  }

  .page-slot-games-latest__game-grid,
  .page-slot-games-latest__promo-grid,
  .page-slot-games-latest__benefits-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-slot-games-latest__game-card,
  .page-slot-games-latest__promo-card,
  .page-slot-games-latest__benefit-card {
    padding: 20px;
  }

  .page-slot-games-latest__game-image,
  .page-slot-games-latest__promo-image {
    height: 180px;
  }

  .page-slot-games-latest__game-title,
  .page-slot-games-latest__promo-title {
    font-size: 1.25rem;
  }

  .page-slot-games-latest__step-item {
    padding: 20px 20px 20px 60px;
  }

  .page-slot-games-latest__step-item::before {
    width: 35px;
    height: 35px;
    font-size: 1.1rem;
    left: 15px;
    top: 18px;
  }

  .page-slot-games-latest__step-title {
    font-size: 1.3rem;
  }

  .page-slot-games-latest__faq-item summary {
    font-size: 1.1rem;
    padding: 15px 20px;
  }

  .page-slot-games-latest__faq-answer {
    padding: 10px 20px 15px 20px;
  }

  /* Image responsiveness for all images within the page content */
  .page-slot-games-latest img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  /* Containers holding images/content */
  .page-slot-games-latest__section,
  .page-slot-games-latest__card,
  .page-slot-games-latest__container,
  .page-slot-games-latest__hero-section,
  .page-slot-games-latest__intro-section,
  .page-slot-games-latest__featured-games-section,
  .page-slot-games-latest__how-to-play-section,
  .page-slot-games-latest__benefits-section,
  .page-slot-games-latest__promotions-section,
  .page-slot-games-latest__faq-section,
  .page-slot-games-latest__cta-section,
  .page-slot-games-latest__hero-image-wrapper,
  .page-slot-games-latest__game-card,
  .page-slot-games-latest__promo-card,
  .page-slot-games-latest__benefit-card,
  .page-slot-games-latest__step-item,
  .page-slot-games-latest__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  /* Specific override for hero section top padding if needed, but body handles global */
  .page-slot-games-latest__hero-section {
    padding-top: 10px !important; 
  }
}