.page-slots {
  color: #ffffff; /* Default text color for dark body background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

.page-slots__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  box-sizing: border-box;
}

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

.page-slots__hero-section {
  position: relative;
  padding-top: 10px; /* Adhering to the 10px top padding rule */
  padding-bottom: 0;
  padding-left: 0;
  padding-right: 0;
  background-color: #000000; /* Ensuring dark background for hero */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-slots__hero-image-wrapper {
  width: 100%;
  overflow: hidden;
  position: relative;
}

.page-slots__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  min-height: 400px; /* Minimum height for hero image */
}

.page-slots__hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  padding: 40px 20px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.5));
  width: 100%;
  box-sizing: border-box;
  color: #ffffff;
  margin-top: -100px; /* Pull content slightly over image for design, but not overlapping text */
  padding-top: 120px; /* Ensure content starts below the image */
}

.page-slots__main-title {
  font-size: clamp(2em, 4vw, 3.2em); /* Responsive font size for H1 */
  color: #ffffff;
  margin-bottom: 15px;
  line-height: 1.2;
  font-weight: bold;
}

.page-slots__hero-description {
  font-size: 1.1em;
  color: #f0f0f0;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-slots__cta-buttons--center {
  margin-top: 30px;
  margin-bottom: 30px;
}

.page-slots__btn-primary,
.page-slots__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  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;
  text-align: center;
}

.page-slots__btn-primary {
  background-color: #C30808; /* Register/Login color */
  color: #FFFF00; /* Register/Login font color */
  border: 2px solid #C30808;
}

.page-slots__btn-primary:hover {
  background-color: #a30606;
  border-color: #a30606;
}

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

.page-slots__btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.2);
  color: #FFFFFF;
}

.page-slots__intro-section,
.page-slots__how-to-play,
.page-slots__promotions-section,
.page-slots__final-cta-section {
  background-color: #FFFFFF; /* Light background for these sections */
  color: #333333; /* Dark text for light background */
  padding-top: 50px;
  padding-bottom: 50px;
}

.page-slots__intro-section .page-slots__section-title,
.page-slots__how-to-play .page-slots__section-title,
.page-slots__promotions-section .page-slots__section-title,
.page-slots__final-cta-section .page-slots__section-title {
  color: #017439;
}

.page-slots__dark-section {
  background-color: #017439;
  color: #ffffff;
  padding-top: 50px;
  padding-bottom: 50px;
}

.page-slots__dark-section .page-slots__section-title {
  color: #ffffff;
}

.page-slots p {
  margin-bottom: 1em;
  font-size: 1.05em;
}

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

.page-slots__game-card {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-bottom: 20px;
}

.page-slots__game-card:hover {
  transform: translateY(-5px);
}

.page-slots__game-image {
  width: 100%;
  height: 250px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
  min-width: 200px;
  min-height: 200px;
}

.page-slots__game-title {
  font-size: 1.8em;
  margin: 20px 0 10px;
  color: #FFFF00;
  text-align: center;
  padding: 0 15px;
}

.page-slots__game-card p {
  font-size: 0.95em;
  color: #f0f0f0;
  text-align: center;
  padding: 0 15px;
}

.page-slots__ordered-list,
.page-slots__unordered-list {
  margin-left: 20px;
  margin-bottom: 20px;
  padding-left: 0;
}

.page-slots__ordered-list li,
.page-slots__unordered-list li {
  margin-bottom: 10px;
  list-style-position: inside;
}

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

.page-slots__feature-item {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  color: #ffffff;
}

.page-slots__feature-icon {
  width: 80px;
  height: 80px;
  margin-bottom: 15px;
  min-width: 200px;
  min-height: 200px;
  width: 100%;
  height: auto;
}

.page-slots__feature-title {
  font-size: 1.5em;
  color: #FFFF00;
  margin-bottom: 10px;
}

.page-slots__faq-list {
  margin-top: 30px;
}

.page-slots__faq-item {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #ffffff;
}

.page-slots__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.2em;
  font-weight: bold;
  cursor: pointer;
  color: #FFFF00;
  list-style: none;
  user-select: none;
}

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

.page-slots__faq-qtext {
  flex-grow: 1;
}

.page-slots__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  color: #ffffff;
}

.page-slots__faq-answer {
  padding: 0 25px 20px;
  font-size: 1.05em;
  color: #f0f0f0;
}

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

/* General image styling */
.page-slots img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
  .page-slots {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-slots__content-area {
    padding: 20px 15px !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  /* HERO Section */
  .page-slots__hero-section {
    padding-top: 10px !important; /* Specific top padding for mobile */
    padding-bottom: 0 !important;
  }

  .page-slots__hero-image {
    min-height: 250px;
    height: auto !important;
    max-width: 100% !important;
    width: 100% !important;
  }

  .page-slots__hero-content {
    padding: 30px 15px !important;
    margin-top: -50px; /* Adjust overlap for mobile */
    padding-top: 80px; /* Ensure content starts below the image */
  }

  .page-slots__main-title {
    font-size: 2em !important;
    margin-bottom: 10px !important;
  }

  .page-slots__hero-description {
    font-size: 1em !important;
    margin-bottom: 20px !important;
  }

  .page-slots__cta-buttons {
    flex-direction: column !important; /* Stack buttons vertically */
    gap: 10px !important;
    padding-left: 15px;
    padding-right: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-slots__btn-primary,
  .page-slots__btn-secondary,
  .page-slots a[class*="button"],
  .page-slots 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: 12px 20px !important;
  }

  /* Product Display / Games Showcase */
  .page-slots__games-grid {
    grid-template-columns: 1fr !important; /* Single column for games */
    gap: 20px !important;
    margin-top: 20px !important;
  }

  .page-slots__game-card {
    padding-bottom: 15px !important;
  }

  .page-slots__game-image {
    height: 200px; /* Adjust height for mobile */
    max-width: 100% !important;
    width: 100% !important;
    min-width: 200px !important;
    min-height: 200px !important;
  }

  .page-slots__game-title {
    font-size: 1.5em !important;
    margin: 15px 0 8px !important;
  }

  /* Universal Image Adaptation */
  .page-slots img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  /* Feature Icons (if they were small, they would be >=200px now) */
  .page-slots__feature-icon {
    width: 100% !important;
    height: auto !important;
    min-width: 200px !important;
    min-height: 200px !important;
  }

  .page-slots__features-grid {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }

  .page-slots__feature-item {
    padding: 20px !important;
  }

  .page-slots__feature-title {
    font-size: 1.3em !important;
  }

  /* FAQ Section */
  .page-slots__faq-question {
    padding: 15px 20px !important;
    font-size: 1.1em !important;
  }

  .page-slots__faq-answer {
    padding: 0 20px 15px !important;
    font-size: 0.95em !important;
  }

  .page-slots__faq-toggle {
    font-size: 1.3em !important;
  }

  .page-slots__section-title {
    font-size: 2em !important;
    margin-bottom: 20px !important;
  }

  .page-slots__ordered-list,
  .page-slots__unordered-list {
    margin-left: 0;
    padding-left: 15px;
  }

  .page-slots__ordered-list li,
  .page-slots__unordered-list li {
    list-style-position: outside;
  }

  /* General container adaptation for mobile */
  .page-slots__intro-section,
  .page-slots__games-showcase,
  .page-slots__how-to-play,
  .page-slots__features-section,
  .page-slots__promotions-section,
  .page-slots__faq-section,
  .page-slots__final-cta-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
}

/* Tablet Responsive Styles */
@media (max-width: 1024px) and (min-width: 769px) {
  .page-slots__content-area {
    padding: 30px 25px;
  }

  .page-slots__hero-content {
    padding: 40px 25px;
  }

  .page-slots__main-title {
    font-size: 2.8em;
  }

  .page-slots__games-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }

  .page-slots__features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }

  .page-slots__game-image {
    height: 220px;
  }

  .page-slots__feature-icon {
    width: 100px;
    height: 100px;
  }

  .page-slots__section-title {
    font-size: 2.2em;
  }
}