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

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

.page-slot-games-how-to-play__section-title {
  font-size: 2.5em;
  color: #ffffff;
  text-align: center;
  margin-bottom: 30px;
  font-weight: bold;
}

.page-slot-games-how-to-play__paragraph {
  font-size: 1.1em;
  margin-bottom: 20px;
  text-align: justify;
  color: #f0f0f0;
}

.page-slot-games-how-to-play__text-link {
  color: #FFFF00; /* Custom color for register/login font */
  text-decoration: underline;
}

.page-slot-games-how-to-play__text-link:hover {
  color: #FFD700;
}

/* Hero Section */
.page-slot-games-how-to-play__hero-section {
  position: relative;
  width: 100%;
  height: 70vh;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding-top: var(--header-offset, 120px); /* Ensures content is below fixed header */
  box-sizing: border-box;
}

.page-slot-games-how-to-play__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.page-slot-games-how-to-play__hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 2;
}

.page-slot-games-how-to-play__hero-content {
  position: relative;
  z-index: 3;
  max-width: 900px;
  padding: 20px;
}

.page-slot-games-how-to-play__hero-title {
  font-size: 3.8em;
  color: #ffffff;
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-slot-games-how-to-play__hero-description {
  font-size: 1.4em;
  color: #f0f0f0;
  margin-bottom: 40px;
  text-align: center;
}

.page-slot-games-how-to-play__hero-actions {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Buttons */
.page-slot-games-how-to-play__btn-primary,
.page-slot-games-how-to-play__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-slot-games-how-to-play__btn-primary {
  background-color: #C30808; /* Custom color for Register/Login */
  color: #FFFF00; /* Custom font color for Register/Login */
  border: 2px solid #C30808;
}

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

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

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

/* Intro Section */
.page-slot-games-how-to-play__intro-section {
  padding: 60px 0;
  background-color: #0a0a0a; /* Dark background */
  color: #f0f0f0;
}

.page-slot-games-how-to-play__image-full-width {
  width: 100%;
  height: auto;
  display: block;
  margin: 30px 0;
  border-radius: 8px;
  min-width: 200px;
  min-height: 200px;
}

.page-slot-games-how-to-play__image-center {
  display: block;
  margin: 30px auto;
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  min-width: 200px;
  min-height: 200px;
}

/* How to Play Section */
.page-slot-games-how-to-play__how-to-play-section {
  padding: 60px 0;
  background-color: #017439; /* Main brand color for dark section */
  color: #ffffff;
}

.page-slot-games-how-to-play__step-list {
  list-style: none;
  padding: 0;
  margin: 40px 0;
}

.page-slot-games-how-to-play__list-item {
  background: rgba(255, 255, 255, 0.1);
  margin-bottom: 20px;
  padding: 25px;
  border-radius: 10px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-slot-games-how-to-play__list-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

.page-slot-games-how-to-play__list-title {
  font-size: 1.5em;
  color: #FFFF00; /* Custom color for register/login font */
  margin-bottom: 10px;
}

.page-slot-games-how-to-play__list-item p {
  color: #f0f0f0;
}

.page-slot-games-how-to-play__cta-center {
  text-align: center;
  margin-top: 40px;
}

/* Video Section */
.page-slot-games-how-to-play__video-section {
  padding: 60px 0;
  background-color: #0a0a0a; /* Dark background */
  color: #f0f0f0;
}

.page-slot-games-how-to-play__video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  max-width: 100%;
  background: #000;
  margin-top: 30px;
  border-radius: 8px;
}

.page-slot-games-how-to-play__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  cursor: pointer;
}

.page-slot-games-how-to-play__note {
  text-align: center;
  font-style: italic;
  margin-top: 15px;
  color: #cccccc;
}

/* Types Section */
.page-slot-games-how-to-play__types-section {
  padding: 60px 0;
  background-color: #0a0a0a; /* Dark background */
  color: #f0f0f0;
}

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

.page-slot-games-how-to-play__card {
  background: rgba(255, 255, 255, 0.08);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #f0f0f0;
}

.page-slot-games-how-to-play__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-slot-games-how-to-play__card-title {
  font-size: 1.6em;
  color: #FFFF00; /* Custom color for register/login font */
  margin-bottom: 15px;
}

.page-slot-games-how-to-play__card-text {
  font-size: 1em;
  color: #cccccc;
}

/* Tips Section */
.page-slot-games-how-to-play__tips-section {
  padding: 60px 0;
  background-color: #017439; /* Main brand color for dark section */
  color: #ffffff;
}

.page-slot-games-how-to-play__bullet-list {
  list-style: none;
  padding: 0;
  margin: 40px 0;
}

.page-slot-games-how-to-play__bullet-list .page-slot-games-how-to-play__list-item {
  background: rgba(0, 0, 0, 0.2);
  border-left: 5px solid #FFFF00; /* Custom color for register/login font */
}

/* Why Us Section */
.page-slot-games-how-to-play__why-us-section {
  padding: 60px 0;
  background-color: #0a0a0a; /* Dark background */
  color: #f0f0f0;
}

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

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

.page-slot-games-how-to-play__feature-title {
  font-size: 1.6em;
  color: #FFFF00; /* Custom color for register/login font */
  margin-bottom: 10px;
}

.page-slot-games-how-to-play__feature-item p {
  font-size: 1em;
  color: #cccccc;
}

/* FAQ Section */
.page-slot-games-how-to-play__faq-section {
  padding: 60px 0;
  background-color: #017439; /* Main brand color for dark section */
  color: #ffffff;
}

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

.page-slot-games-how-to-play__faq-item {
  background: rgba(0, 0, 0, 0.2);
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-slot-games-how-to-play__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.3em;
  font-weight: bold;
  color: #FFFF00; /* Custom color for register/login font */
  cursor: pointer;
  background: rgba(0, 0, 0, 0.3);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  list-style: none; /* For details/summary */
}

.page-slot-games-how-to-play__faq-question::-webkit-details-marker {
  display: none;
}

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

.page-slot-games-how-to-play__faq-item[open] .page-slot-games-how-to-play__faq-toggle {
  transform: rotate(45deg);
}

.page-slot-games-how-to-play__faq-answer {
  padding: 15px 25px 25px;
  font-size: 1.1em;
  color: #f0f0f0;
}

/* CTA Section */
.page-slot-games-how-to-play__cta-section {
  padding: 80px 0;
  background-color: #0a0a0a; /* Dark background */
  color: #f0f0f0;
  text-align: center;
}

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

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-slot-games-how-to-play__hero-title {
    font-size: 3em;
  }
  .page-slot-games-how-to-play__hero-description {
    font-size: 1.2em;
  }
  .page-slot-games-how-to-play__section-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-slot-games-how-to-play {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-slot-games-how-to-play__hero-section {
    height: auto;
    min-height: 400px;
    padding: 80px 20px 40px;
    padding-top: var(--header-offset, 120px) !important; /* Mobile fixed header offset */
  }

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

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

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

  .page-slot-games-how-to-play__btn-primary,
  .page-slot-games-how-to-play__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    font-size: 1em;
  }

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

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

  .page-slot-games-how-to-play__list-title,
  .page-slot-games-how-to-play__card-title,
  .page-slot-games-how-to-play__feature-title {
    font-size: 1.3em;
  }

  .page-slot-games-how-to-play__faq-question {
    font-size: 1.1em;
    padding: 15px 20px;
  }

  .page-slot-games-how-to-play__faq-answer {
    font-size: 1em;
    padding: 10px 20px 20px;
  }

  /* Image and Video Responsiveness */
  .page-slot-games-how-to-play img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .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__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,
  .page-slot-games-how-to-play__cta-buttons,
  .page-slot-games-how-to-play__button-group,
  .page-slot-games-how-to-play__btn-container,
  .page-slot-games-how-to-play__section,
  .page-slot-games-how-to-play__card {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important; /* Ensure no horizontal scroll */
  }

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

@media (max-width: 480px) {
  .page-slot-games-how-to-play__hero-title {
    font-size: 1.8em;
  }
  .page-slot-games-how-to-play__section-title {
    font-size: 1.5em;
  }
}