.page-slot-games-how-to-play {
  font-family: Arial, sans-serif;
  color: #ffffff; /* Default text color for dark body background */
  line-height: 1.6;
  background-color: transparent; /* Body background is handled by shared.css */
}

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

.page-slot-games-how-to-play__section {
  padding: 80px 0;
}

.page-slot-games-how-to-play__dark-bg {
  background-color: #0a0a0a; /* Ensure dark background for sections */
  color: #ffffff;
}

.page-slot-games-how-to-play__light-bg {
  background-color: #1a1a1a; /* Slightly lighter for contrast between sections */
  color: #ffffff;
}

.page-slot-games-how-to-play__section-title,
.page-slot-games-how-to-play__subsection-title,
.page-slot-games-how-to-play__feature-title,
.page-slot-games-how-to-play__type-title,
.page-slot-games-how-to-play__guide-step-title,
.page-slot-games-how-to-play__tip-title,
.page-slot-games-how-to-play__cta-title {
  color: #26A9E0; /* Brand color for titles */
  text-align: center;
  margin-bottom: 20px;
  font-size: 2.5em;
  font-weight: bold;
}

.page-slot-games-how-to-play__section-description,
.page-slot-games-how-to-play__hero-description,
.page-slot-games-how-to-play__cta-description {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px;
  font-size: 1.1em;
  color: #f0f0f0;
}

.page-slot-games-how-to-play__hero-section {
  position: relative;
  padding-top: var(--header-offset, 120px);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 70vh;
  text-align: center;
  overflow: hidden;
}

.page-slot-games-how-to-play__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  opacity: 0.3; /* Slightly transparent to let content stand out */
}

.page-slot-games-how-to-play__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 40px;
  background: rgba(0, 0, 0, 0.6); /* Dark overlay for text readability */
  border-radius: 10px;
}

.page-slot-games-how-to-play__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #FFFFFF;
  line-height: 1.2;
}

.page-slot-games-how-to-play__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
}

.page-slot-games-how-to-play__btn-primary,
.page-slot-games-how-to-play__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-slot-games-how-to-play__btn-primary {
  background-color: #26A9E0;
  color: #FFFFFF;
  border: 2px solid #26A9E0;
}

.page-slot-games-how-to-play__btn-primary:hover {
  background-color: #1e87c0;
  border-color: #1e87c0;
}

.page-slot-games-how-to-play__btn-secondary {
  background-color: transparent;
  color: #26A9E0;
  border: 2px solid #26A9E0;
}

.page-slot-games-how-to-play__btn-secondary:hover {
  background-color: #26A9E0;
  color: #FFFFFF;
}

.page-slot-games-how-to-play__why-play .page-slot-games-how-to-play__features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-slot-games-how-to-play__feature-item {
  text-align: center;
  background-color: rgba(255, 255, 255, 0.05); /* Slightly visible card on dark background */
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  color: #ffffff;
}

.page-slot-games-how-to-play__feature-icon {
  width: 150px;
  height: auto;
  margin-bottom: 20px;
  object-fit: contain;
  min-width: 200px;
  min-height: 200px;
}

.page-slot-games-how-to-play__mechanics .page-slot-games-how-to-play__content-grid {
  display: flex;
  align-items: center;
  gap: 50px;
  margin-top: 50px;
}

.page-slot-games-how-to-play__content-text {
  flex: 1;
}

.page-slot-games-how-to-play__content-image {
  flex: 1;
  border-radius: 10px;
  object-fit: cover;
  min-width: 200px;
  min-height: 200px;
}

.page-slot-games-how-to-play__text-block {
  margin-bottom: 20px;
  color: #f0f0f0;
}

.page-slot-games-how-to-play__types .page-slot-games-how-to-play__types-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-slot-games-how-to-play__type-card {
  background-color: rgba(255, 255, 255, 0.05);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-slot-games-how-to-play__type-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 5px;
  margin-bottom: 20px;
  min-width: 200px;
  min-height: 200px;
}

.page-slot-games-how-to-play__guide .page-slot-games-how-to-play__guide-list {
  list-style: none;
  padding: 0;
  margin-top: 50px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}

.page-slot-games-how-to-play__guide-item {
  background-color: rgba(255, 255, 255, 0.05);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  color: #ffffff;
}

.page-slot-games-how-to-play__guide-step-title {
  color: #26A9E0;
  font-size: 1.5em;
  margin-bottom: 10px;
  text-align: left;
}

.page-slot-games-how-to-play__guide-step-text {
  color: #f0f0f0;
}

.page-slot-games-how-to-play__guide-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 10px;
  margin-top: 50px;
  min-width: 200px;
  min-height: 200px;
}

.page-slot-games-how-to-play__tips .page-slot-games-how-to-play__tips-list {
  list-style: none;
  padding: 0;
  margin-top: 50px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-slot-games-how-to-play__tips-item {
  background-color: rgba(255, 255, 255, 0.05);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  color: #ffffff;
}

.page-slot-games-how-to-play__tip-title {
  color: #26A9E0;
  font-size: 1.5em;
  margin-bottom: 10px;
  text-align: left;
}

.page-slot-games-how-to-play__tip-text {
  color: #f0f0f0;
}

.page-slot-games-how-to-play__tips-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 10px;
  margin-top: 50px;
  min-width: 200px;
  min-height: 200px;
}

.page-slot-games-how-to-play__responsible-gambling .page-slot-games-how-to-play__btn-primary {
  margin-top: 30px;
}

.page-slot-games-how-to-play__faq-list {
  margin-top: 50px;
}

.page-slot-games-how-to-play__faq-item {
  background-color: rgba(255, 255, 255, 0.05);
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  color: #ffffff;
}

.page-slot-games-how-to-play__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 30px;
  cursor: pointer;
  font-weight: bold;
  font-size: 1.1em;
  color: #26A9E0;
  background-color: rgba(255, 255, 255, 0.1);
  transition: background-color 0.3s ease;
}

.page-slot-games-how-to-play__faq-question:hover {
  background-color: rgba(255, 255, 255, 0.15);
}

.page-slot-games-how-to-play__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
}

.page-slot-games-how-to-play__faq-item.active .page-slot-games-how-to-play__faq-toggle {
  transform: rotate(45deg); /* Plus to X / Minus */
}

.page-slot-games-how-to-play__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 30px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #f0f0f0;
}

.page-slot-games-how-to-play__faq-item.active .page-slot-games-how-to-play__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to show content */
  padding: 15px 30px;
}

.page-slot-games-how-to-play__cta-section {
  text-align: center;
  padding: 80px 0;
  background-color: #26A9E0; /* Brand color for CTA section */
  color: #ffffff;
}

.page-slot-games-how-to-play__cta-title {
  color: #ffffff;
}

/* Image and Video Responsiveness */
.page-slot-games-how-to-play img,
.page-slot-games-how-to-play video,
.page-slot-games-how-to-play__video {
  max-width: 100%;
  height: auto;
  display: block;
  width: 100%; /* Ensure images/videos take full width of their container */
}

.page-slot-games-how-to-play__video-section,
.page-slot-games-how-to-play__video-container,
.page-slot-games-how-to-play__video-wrapper {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

/* Ensure content area images are not smaller than 200px */
.page-slot-games-how-to-play__feature-icon,
.page-slot-games-how-to-play__content-image,
.page-slot-games-how-to-play__type-image,
.page-slot-games-how-to-play__guide-image,
.page-slot-games-how-to-play__tips-image {
  min-width: 200px;
  min-height: 200px;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .page-slot-games-how-to-play__hero-section {
    min-height: 60vh;
    padding-top: var(--header-offset, 120px) !important;
  }

  .page-slot-games-how-to-play__hero-title {
    font-size: 2.5em;
  }

  .page-slot-games-how-to-play__hero-description {
    font-size: 1em;
  }

  .page-slot-games-how-to-play__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-slot-games-how-to-play__btn-primary,
  .page-slot-games-how-to-play__btn-secondary {
    width: 100% !important;
    padding: 12px 20px;
  }

  .page-slot-games-how-to-play__section {
    padding: 40px 0;
  }

  .page-slot-games-how-to-play__section-title {
    font-size: 2em;
  }

  .page-slot-games-how-to-play__section-description {
    margin-bottom: 20px;
  }

  .page-slot-games-how-to-play__mechanics .page-slot-games-how-to-play__content-grid {
    flex-direction: column;
  }

  .page-slot-games-how-to-play__container {
    padding: 0 15px;
  }

  /* Force images/videos to be responsive on mobile */
  .page-slot-games-how-to-play img,
  .page-slot-games-how-to-play video,
  .page-slot-games-how-to-play__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-slot-games-how-to-play__section,
  .page-slot-games-how-to-play__card,
  .page-slot-games-how-to-play__container,
  .page-slot-games-how-to-play__video-section,
  .page-slot-games-how-to-play__video-container,
  .page-slot-games-how-to-play__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important; /* Prevent horizontal scroll */
  }

  .page-slot-games-how-to-play__faq-question,
  .page-slot-games-how-to-play__faq-answer {
    padding-left: 15px;
    padding-right: 15px;
  }
}