.page-jackpot-games {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: var(--dark-bg-1);
}

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

.page-jackpot-games__text-center {
  text-align: center;
}

/* Hero Section */
.page-jackpot-games__hero-section {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 600px;
  padding-top: 0; /* Prevents double padding if body already has it */
  overflow: hidden;
  color: #ffffff;
  background-color: #26A9E0; /* Fallback for image loading */
}

.page-jackpot-games__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.page-jackpot-games__hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 40px;
  background: rgba(0, 0, 0, 0.5); /* Semi-transparent overlay for text readability */
  border-radius: 10px;
}

.page-jackpot-games__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #ffffff;
  line-height: 1.2;
}

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

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

/* General Button Styles */
.page-jackpot-games__btn-primary,
.page-jackpot-games__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-jackpot-games__btn-primary {
  background-color: #26A9E0;
  color: #ffffff;
  border: 2px solid #26A9E0;
}

.page-jackpot-games__btn-primary:hover {
  background-color: #1e87b8;
  border-color: #1e87b8;
}

.page-jackpot-games__btn-secondary {
  background-color: transparent;
  color: #ffffff;
  border: 2px solid #ffffff;
}

.page-jackpot-games__btn-secondary:hover {
  background-color: #ffffff;
  color: #26A9E0;
}

/* Section Styling */
.page-jackpot-games__intro-section,
.page-jackpot-games__why-choose-us-section,
.page-jackpot-games__popular-games-section,
.page-jackpot-games__how-to-play-section,
.page-jackpot-games__strategies-section,
.page-jackpot-games__promotions-section,
.page-jackpot-games__faq-section,
.page-jackpot-games__cta-section {
  padding: 80px 0;
}

.page-jackpot-games__dark-bg {
  background-color: var(--dark-bg-1);
  color: #ffffff;
}

.page-jackpot-games__light-bg {
  background-color: #ffffff;
  color: #333333;
}

.page-jackpot-games__light-bg h2,
.page-jackpot-games__light-bg h3 {
  color: #26A9E0;
}

.page-jackpot-games__light-bg a {
  color: #26A9E0;
}

.page-jackpot-games__dark-bg h2,
.page-jackpot-games__dark-bg h3 {
  color: #ffffff;
}

.page-jackpot-games__dark-bg a {
  color: #ffffff;
}

.page-jackpot-games__dark-bg .page-jackpot-games__btn-primary {
  background-color: #26A9E0;
  color: #ffffff;
  border-color: #26A9E0;
}

.page-jackpot-games__dark-bg .page-jackpot-games__btn-secondary {
  background-color: transparent;
  color: #ffffff;
  border-color: #ffffff;
}

.page-jackpot-games__dark-bg .page-jackpot-games__feature-card,
.page-jackpot-games__dark-bg .page-jackpot-games__promo-card {
  background-color: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

.page-jackpot-games__dark-bg .page-jackpot-games__feature-card h3,
.page-jackpot-games__dark-bg .page-jackpot-games__promo-card h3 {
  color: #ffffff;
}