.page-slot-games {
  color: #ffffff; /* Default text color for dark body background */
  background-color: #000000; /* Ensure body background is respected */
}

.page-slot-games__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 0 60px 0; /* Small top padding, more bottom padding */
  text-align: center;
  background-color: #000000; /* Ensure section background is dark */
}

.page-slot-games__hero-image-wrapper {
  width: 100%;
  max-width: 1920px; /* Max width for hero image wrapper */
  margin-bottom: 30px;
}

.page-slot-games__hero-image {
  width: 100%;
  height: auto;
  display: block;
}

.page-slot-games__hero-content {
  max-width: 900px;
  padding: 0 20px;
}

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

.page-slot-games__description {
  font-size: 1.125rem;
  line-height: 1.6;
  color: #f0f0f0;
  margin-bottom: 40px;
}

.page-slot-games__cta-buttons {
  display: flex;
  flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
  gap: 20px;
  justify-content: center;
}

.page-slot-games__btn-primary,
.page-slot-games__btn-secondary {
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text breaking */
  box-sizing: border-box;
  text-align: center;
  max-width: 100%;
}

.page-slot-games__btn-primary {
  background-color: #C30808; /* Custom color for primary buttons */
  color: #FFFF00; /* Custom font color for primary buttons */
  border: 2px solid #C30808;
}

.page-slot-games__btn-primary:hover {
  background-color: #e02020;
  border-color: #e02020;
}

.page-slot-games__btn-secondary {
  background-color: #017439; /* Main brand color */
  color: #FFFFFF; /* Auxiliary brand color for text */
  border: 2px solid #017439;
}

.page-slot-games__btn-secondary:hover {
  background-color: #005a2d;
  border-color: #005a2d;
}

.page-slot-games__btn-small {
  padding: 10px 20px;
  font-size: 0.9rem;
}

.page-slot-games__section {
  padding: 60px 20px;
  background-color: #000000; /* Ensure section background is dark */
  color: #ffffff; /* Default text color for sections */
}

.page-slot-games__container {
  max-width: 1200px;
  margin: 0 auto;
}

.page-slot-games__section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  color: #ffffff;
  text-align: center;
  margin-bottom: 40px;
  line-height: 1.3;
}

.page-slot-games__text-block {
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 20px;
  color: #f0f0f0;
}

.page-slot-games__image-inline {
  display: block;
  margin: 40px auto;
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

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

.page-slot-games__feature-card,
.page-slot-games__step-card,
.page-slot-games__game-type-card {
  background: rgba(255, 255, 255, 0.1); /* Light transparent background for cards on dark body */
  color: #ffffff; /* White text for cards */
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  min-height: 280px; /* Ensure cards have a minimum height */
}

.page-slot-games__feature-card .page-slot-games__card-title,
.page-slot-games__step-card .page-slot-games__card-title,
.page-slot-games__game-type-card .page-slot-games__card-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #FFFF00; /* Custom font color for card titles */
  margin-bottom: 15px;
}

.page-slot-games__feature-card p,
.page-slot-games__step-card p,
.page-slot-games__game-type-card p {
  font-size: 1rem;
  line-height: 1.6;
  color: #f0f0f0;
  flex-grow: 1;
}

.page-slot-games__step-icon {
  font-size: 2.5rem;
  font-weight: 700;
  color: #C30808; /* Custom color for step icons */
  margin-bottom: 20px;
  background: #ffffff;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.page-slot-games__game-type-card .page-slot-games__game-type-image {
  width: 100%;
  height: 200px; /* Fixed height for consistent card layout */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-slot-games__bullet-list {
  list-style: none;
  padding: 0;
  margin: 40px auto;
  max-width: 800px;
}

.page-slot-games__bullet-list li {
  background: rgba(255, 255, 255, 0.05);
  padding: 20px;
  margin-bottom: 15px;
  border-radius: 8px;
  font-size: 1.05rem;
  line-height: 1.6;
  color: #f0f0f0;
  border-left: 4px solid #017439; /* Brand color accent */
}

.page-slot-games__bullet-list li strong {
  color: #FFFF00; /* Custom color for strong text in lists */
}

.page-slot-games__faq-list {
  margin-top: 40px;
}

.page-slot-games__faq-item {
  background: rgba(255, 255, 255, 0.1); /* Light transparent background for FAQ items */
  color: #ffffff; /* White text for FAQ */
  margin-bottom: 15px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-slot-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.15rem;
  font-weight: 600;
  cursor: pointer;
  background-color: rgba(255, 255, 255, 0.05);
  color: #FFFF00; /* Custom font color for FAQ questions */
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  list-style: none; /* For details/summary */
}

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

.page-slot-games__faq-item[open] .page-slot-games__faq-question {
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.page-slot-games__faq-qtext {
  flex-grow: 1;
}

.page-slot-games__faq-toggle {
  font-size: 1.8rem;
  line-height: 1;
  margin-left: 15px;
  transition: transform 0.3s ease;
}

.page-slot-games__faq-item[open] .page-slot-games__faq-toggle {
  transform: rotate(45deg);
}

.page-slot-games__faq-answer {
  padding: 15px 25px 20px;
  font-size: 1rem;
  line-height: 1.7;
  color: #f0f0f0;
}

.page-slot-games__faq-answer p {
  margin-bottom: 0;
}

.page-slot-games__conclusion .page-slot-games__text-block {
  text-align: center;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-slot-games__hero-content {
    padding: 0 15px;
  }

  .page-slot-games__section {
    padding: 40px 15px;
  }

  .page-slot-games__main-title {
    font-size: clamp(2rem, 4.5vw, 3rem);
  }

  .page-slot-games__section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  }

  .page-slot-games__feature-card,
  .page-slot-games__step-card,
  .page-slot-games__game-type-card {
    padding: 25px;
    min-height: unset;
  }
}

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

  .page-slot-games__main-title {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
  }

  .page-slot-games__description {
    font-size: 1rem;
    margin-bottom: 30px;
  }

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

  .page-slot-games__btn-primary,
  .page-slot-games__btn-secondary,
  .page-slot-games a[class*="button"],
  .page-slot-games a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  
  .page-slot-games__cta-buttons,
  .page-slot-games__button-group,
  .page-slot-games__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
  }

  .page-slot-games__section {
    padding: 30px 15px;
  }

  .page-slot-games__section-title {
    font-size: clamp(1.5rem, 5vw, 2rem);
    margin-bottom: 30px;
  }

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

  .page-slot-games__feature-card,
  .page-slot-games__step-card,
  .page-slot-games__game-type-card {
    padding: 20px;
  }
  
  .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 {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  
  .page-slot-games__hero-section {
    padding-top: 10px !important; 
  }

  .page-slot-games__video-section,
  .page-slot-games__video-container,
  .page-slot-games__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
  .page-slot-games__video-section {
    padding-top: 10px !important;
  }
  .page-slot-games video,
  .page-slot-games__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
}