.page-slot-games {
  color: #ffffff; /* Body background is dark (#000000), so use light text */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  background-color: transparent; /* Rely on body background */
}

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

.page-slot-games__section-title {
  font-size: 2.5em;
  font-weight: bold;
  text-align: center;
  margin-bottom: 30px;
  color: #26A9E0; /* Brand color for titles */
}

.page-slot-games__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: #f0f0f0; /* Light text for readability on dark backgrounds */
}

/* Hero Section */
.page-slot-games__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 0 60px 0; /* Small top padding, more bottom padding */
  background: #000000; /* Ensure dark background for hero content */
  overflow: hidden;
}

.page-slot-games__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  max-width: 100%; /* Ensure image doesn't overflow */
  margin-bottom: 30px;
}

.page-slot-games__hero-content {
  text-align: center;
  max-width: 900px;
  padding: 0 20px;
  z-index: 1;
  color: #ffffff;
}

.page-slot-games__main-title {
  font-size: clamp(2em, 4vw, 3.5em); /* Responsive font size for H1 */
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #FFFFFF; /* White text on dark background */
}

.page-slot-games__description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #f0f0f0;
}

.page-slot-games__cta-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.page-slot-games__btn-primary,
.page-slot-games__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.2s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-slot-games__btn-primary {
  background-color: #26A9E0;
  color: #FFFFFF;
  border: 2px solid #26A9E0;
}

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

.page-slot-games__btn-secondary {
  background-color: transparent;
  color: #FFFFFF;
  border: 2px solid #FFFFFF;
}

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

.page-slot-games__cta-buttons--centered {
  margin-top: 40px;
}

/* Introduction Section */
.page-slot-games__introduction-section {
  padding: 60px 0;
  background-color: #0d0d0d; /* Slightly lighter dark background for contrast */
  color: #ffffff;
}

/* Games Showcase Section */
.page-slot-games__games-showcase-section {
  padding: 60px 0;
  background-color: #000000;
  color: #ffffff;
}

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

.page-slot-games__game-card,
.page-slot-games__promo-card {
  background: rgba(255, 255, 255, 0.08); /* Semi-transparent white on dark 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;
  height: 100%; /* Ensure cards have equal height */
  display: flex;
  flex-direction: column;
}

.page-slot-games__game-card:hover,
.page-slot-games__promo-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-slot-games__card-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
  object-fit: cover;
  width: 100%;
}

.page-slot-games__card-title {
  font-size: 1.5em;
  font-weight: bold;
  margin-bottom: 10px;
  color: #26A9E0;
}

.page-slot-games__card-description {
  font-size: 1em;
  color: #f0f0f0;
  flex-grow: 1;
}

/* Advantages Section */
.page-slot-games__advantages-section {
  padding: 60px 0;
  background-color: #0d0d0d;
  color: #ffffff;
}

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

.page-slot-games__advantage-item {
  text-align: center;
  padding: 25px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  transition: background-color 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.page-slot-games__advantage-item:hover {
  background-color: rgba(38, 169, 224, 0.1);
}

.page-slot-games__advantage-icon {
  max-width: 150px; /* Smaller for icons, but still >200px as per rule */
  height: auto;
  margin: 0 auto 20px auto;
  display: block;
  border-radius: 8px;
  object-fit: cover;
  min-width: 200px; /* Ensure min size */
  min-height: 200px; /* Ensure min size */
}

.page-slot-games__advantage-title {
  font-size: 1.4em;
  font-weight: bold;
  margin-bottom: 10px;
  color: #FFFFFF;
}

.page-slot-games__advantage-description {
  font-size: 0.95em;
  color: #f0f0f0;
  flex-grow: 1;
}

/* How-To-Play Section */
.page-slot-games__how-to-play-section {
  padding: 60px 0;
  background-color: #000000;
  color: #ffffff;
}

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

.page-slot-games__step-item {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 25px;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: background-color 0.3s ease;
}

.page-slot-games__step-item:hover {
  background-color: rgba(38, 169, 224, 0.15);
}

.page-slot-games__step-title {
  font-size: 1.6em;
  font-weight: bold;
  margin-bottom: 15px;
  color: #26A9E0;
}

.page-slot-games__step-description {
  font-size: 1em;
  color: #f0f0f0;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-slot-games__btn-link {
  display: inline-block;
  margin-top: auto; /* Push button to bottom */
  padding: 10px 20px;
  background-color: #EA7C07; /* Login color */
  color: #FFFFFF;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.95em;
  transition: background-color 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-slot-games__btn-link:hover {
  background-color: #c96806;
}

/* Promotions Section */
.page-slot-games__promotions-section {
  padding: 60px 0;
  background-color: #0d0d0d;
  color: #ffffff;
}

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

/* FAQ Section */
.page-slot-games__faq-section {
  padding: 60px 0;
  background-color: #000000;
  color: #ffffff;
}

.page-slot-games__faq-list {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-slot-games__faq-item {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
  transition: background-color 0.3s ease;
}

.page-slot-games__faq-item:hover {
  background-color: rgba(38, 169, 224, 0.15);
}

.page-slot-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: bold;
  color: #FFFFFF;
  cursor: pointer;
  position: relative;
  list-style: none; /* For details summary */
}

.page-slot-games__faq-question::-webkit-details-marker {
  display: none;
}

.page-slot-games__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  color: #26A9E0;
}

.page-slot-games__faq-answer {
  padding: 0 25px 20px 25px;
  font-size: 1em;
  color: #f0f0f0;
}

.page-slot-games__faq-answer p {
  margin-bottom: 10px;
  color: #f0f0f0;
}

.page-slot-games__faq-answer .page-slot-games__btn-link {
  margin-top: 10px;
  background-color: #EA7C07;
}

/* Final CTA Section */
.page-slot-games__final-cta-section {
  padding: 60px 0;
  background-color: #0d0d0d;
  color: #ffffff;
  text-align: center;
}

.page-slot-games__final-cta-section .page-slot-games__container {
  padding: 40px 20px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 15px;
}

.page-slot-games__final-cta-section .page-slot-games__section-title {
  color: #FFFFFF;
  margin-bottom: 25px;
}

.page-slot-games__final-cta-section .page-slot-games__description {
  max-width: 800px;
  margin: 0 auto 30px auto;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-slot-games__main-title {
    font-size: clamp(2em, 5vw, 3em);
  }
  .page-slot-games__section-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-slot-games__hero-section {
    padding-bottom: 40px;
  }

  .page-slot-games__main-title {
    font-size: clamp(1.8em, 6vw, 2.5em); /* Further adjust H1 for mobile */
  }

  .page-slot-games__description {
    font-size: 1em;
  }

  .page-slot-games__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-slot-games__btn-primary,
  .page-slot-games__btn-secondary,
  .page-slot-games__btn-link {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
    margin: 0 auto; /* Center buttons */
  }

  .page-slot-games__grid {
    grid-template-columns: 1fr;
  }

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

  .page-slot-games__text-block {
    font-size: 0.95em;
  }

  .page-slot-games__card-title,
  .page-slot-games__advantage-title,
  .page-slot-games__step-title {
    font-size: 1.3em;
  }

  .page-slot-games__faq-question {
    font-size: 1em;
    padding: 15px 20px;
  }

  /* Mobile image responsiveness */
  .page-slot-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-slot-games__section,
  .page-slot-games__card,
  .page-slot-games__container,
  .page-slot-games__hero-section,
  .page-slot-games__games-showcase-section,
  .page-slot-games__advantages-section,
  .page-slot-games__how-to-play-section,
  .page-slot-games__promotions-section,
  .page-slot-games__faq-section,
  .page-slot-games__final-cta-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  .page-slot-games__hero-section {
    padding-top: 10px !important; /* body already handles offset */
  }
}

@media (max-width: 480px) {
  .page-slot-games__section-title {
    font-size: 1.5em;
  }
  .page-slot-games__main-title {
    font-size: clamp(1.5em, 7vw, 2em); /* Even smaller H1 for very small screens */
  }
}