.page-jackpot-slots {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: #1a1a2e; /* Inherited from body, but good to ensure */
}

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

.page-jackpot-slots__section-title {
  font-size: 2.5em;
  color: #FFFFFF;
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
}

.page-jackpot-slots__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #017439;
  border-radius: 2px;
}

.page-jackpot-slots__text-block {
  font-size: 1.1em;
  color: #f0f0f0;
  margin-bottom: 20px;
  text-align: justify;
}

.page-jackpot-slots__text-block a {
  color: #FFFF00; /* Link color for dark background */
  text-decoration: underline;
}

/* Buttons */
.page-jackpot-slots__btn-primary,
.page-jackpot-slots__btn-secondary,
.page-jackpot-slots__card-button {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%; /* Ensure responsiveness */
}

.page-jackpot-slots__btn-primary {
  background-color: #017439;
  color: #ffffff;
  border: 2px solid #017439;
}

.page-jackpot-slots__btn-primary:hover {
  background-color: #005a2e;
  border-color: #005a2e;
}

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

.page-jackpot-slots__btn-secondary:hover {
  background-color: #a00606;
  border-color: #a00606;
}

.page-jackpot-slots__card-button {
  background-color: #017439;
  color: #ffffff;
  border: 1px solid #017439;
  margin-top: 15px;
}

.page-jackpot-slots__card-button:hover {
  background-color: #005a2e;
  border-color: #005a2e;
}

/* Hero Section */
.page-jackpot-slots__hero-section {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 600px;
  background-color: #1a1a2e;
  color: #ffffff;
  text-align: center;
  overflow: hidden;
  padding: 80px 20px;
  padding-top: var(--header-offset, 120px); /* Fixed header offset */
  flex-direction: column;
}

.page-jackpot-slots__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.page-jackpot-slots__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3; /* Subtle overlay for text readability */
  filter: none; /* No CSS filter allowed */
}

.page-jackpot-slots__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 20px;
  background: rgba(0, 0, 0, 0.5); /* Semi-transparent background for text */
  border-radius: 10px;
}

.page-jackpot-slots__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #FFFFFF;
}

.page-jackpot-slots__hero-description {
  font-size: 1.3em;
  margin-bottom: 30px;
  color: #f0f0f0;
}

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

/* Introduction Section */
.page-jackpot-slots__introduction-section {
  padding: 60px 0;
  background-color: #1a1a2e; /* Dark background */
  color: #ffffff;
}

.page-jackpot-slots__dark-section {
  background-color: #1a1a2e;
  color: #ffffff;
}

/* Games Showcase */
.page-jackpot-slots__games-showcase-section {
  padding: 60px 0;
  background-color: #0d0d1e; /* Slightly different dark background */
  color: #ffffff;
}