.page-jackpot-slots {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Light background, so dark text */
  background-color: #FFFFFF; /* Body background is white */
}

/* Hero Section */
.page-jackpot-slots__hero-section {
  position: relative;
  width: 100%;
  height: 600px; /* Adjust as needed for visual impact */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding-top: var(--header-offset, 120px); /* Fixed header offset */
}

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

.page-jackpot-slots__hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5); /* Dark overlay for text readability */
  z-index: 2;
}

.page-jackpot-slots__hero-content {
  position: relative;
  z-index: 3;
  color: #FFFFFF;
  max-width: 900px;
  padding: 0 20px;
}

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

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

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

/* General Section Styling */
.page-jackpot-slots__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

.page-jackpot-slots__section-title {
  font-size: 2.5em;
  color: #26A9E0; /* Brand primary color */
  text-align: center;
  margin-bottom: 40px;
}

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

.page-jackpot-slots__text-link {
  color: #26A9E0;
  text-decoration: underline;
}

/* Buttons */
.page-jackpot-slots__btn-primary,
.page-jackpot-slots__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  box-sizing: border-box; /* Ensure padding is included in width */
  white-space: normal; /* Allow text to wrap */
  word-wrap: break-word; /* Break long words */
}

.page-jackpot-slots__btn-primary {
  background-color: #26A9E0; /* Brand primary color */
  color: #FFFFFF;
  border: 2px solid #26A9E0;
}

.page-jackpot-slots__btn-primary:hover {
  background-color: #1a7fb0; /* Slightly darker primary */
  border-color: #1a7fb0;
}

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

.page-jackpot-slots__btn-secondary:hover {
  background-color: #26A9E0;
  color: #FFFFFF;
}

/* Background Colors */
.page-jackpot-slots__dark-bg {
  background-color: #26A9E0; /* Brand primary color */
  color: #FFFFFF;
}

.page-jackpot-slots__dark-bg .page-jackpot-slots__section-title {
  color: #FFFFFF;
}

.page-jackpot-slots__light-bg {
  background-color: #FFFFFF;
  color: #333333;
}

/* Why Choose Section */
.page-jackpot-slots__features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-jackpot-slots__feature-card {
  background-color: rgba(255, 255, 255, 0.1); /* Slightly transparent white for dark bg */
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-jackpot-slots__feature-card .page-jackpot-slots__feature-title {
  font-size: 1.5em;
  margin-bottom: 15px;
  color: #FFFFFF;
}

.page-jackpot-slots__feature-card .page-jackpot-slots__feature-description {
  font-size: 1em;
  color: #f0f0f0;
  text-align: justify;
}

.page-jackpot-slots__feature-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
}

/* Game Showcase Section */
.page-jackpot-slots__game-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-jackpot-slots__game-card {
  background-color: #f9f9f9;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  text-align: center;
  display: flex;
  flex-direction: column;
}

.page-jackpot-slots__game-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  display: block; /* Remove extra space below image */
}

.page-jackpot-slots__game-title {
  font-size: 1.4em;
  margin: 20px 15px 10px;
  color: #26A9E0;
}

.page-jackpot-slots__game-title a {
  color: #26A9E0;
  text-decoration: none;
}

.page-jackpot-slots__game-title a:hover {
  text-decoration: underline;
}

.page-jackpot-slots__game-description {
  font-size: 0.95em;
  color: #555555;
  padding: 0 15px 20px;
  flex-grow: 1; /* Push footer to bottom */
}

/* How to Play / Tips Sections */
.page-jackpot-slots__steps-list,
.page-jackpot-slots__tips-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
}

.page-jackpot-slots__list-item {
  background-color: #f9f9f9;
  padding: 25px;
  border-radius: 8px;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.page-jackpot-slots__tips-list .page-jackpot-slots__list-item {
  background-color: rgba(255, 255, 255, 0.1);
  color: #FFFFFF;
}

.page-jackpot-slots__tips-list .page-jackpot-slots__list-title {
  color: #FFFFFF;
}

.page-jackpot-slots__tips-list .page-jackpot-slots__list-description {
  color: #f0f0f0;
}

.page-jackpot-slots__list-title {
  font-size: 1.3em;
  color: #26A9E0;
  margin-bottom: 10px;
}

.page-jackpot-slots__list-description {
  font-size: 1em;
  line-height: 1.6;
}

/* Video Section */
.page-jackpot-slots__video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  height: 0;
  overflow: hidden;
  max-width: 100%;
  background: #000;
  margin: 30px auto;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.page-jackpot-slots__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block; /* Ensure it behaves as a block element */
}

/* Promotions Section */
.page-jackpot-slots__promotion-card {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 10px;
  margin-bottom: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-jackpot-slots__promotion-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-jackpot-slots__promotion-title {
  font-size: 1.8em;
  color: #FFFFFF;
  margin-bottom: 15px;
}