.page-jackpot-games {
  padding-top: var(--header-offset, 120px);
  color: #333333; /* Default dark text for light body background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

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

.page-jackpot-games__section-title,
.page-jackpot-games__cta-title {
  font-size: 2.5em;
  color: #1E90FF; /* Auxiliary blue for titles */
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

.page-jackpot-games__section-subtitle {
  font-size: 1.2em;
  text-align: center;
  margin-bottom: 30px;
  color: #555;
}

.page-jackpot-games__button {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  text-align: center;
  white-space: nowrap;
}

.page-jackpot-games__button--primary {
  background-color: #FFD700; /* Gold primary button */
  color: #333333;
  border: 2px solid #FFD700;
}

.page-jackpot-games__button--primary:hover {
  background-color: #e6c200;
  transform: translateY(-2px);
}

.page-jackpot-games__button--secondary {
  background-color: transparent;
  color: #1E90FF; /* Blue secondary button text */
  border: 2px solid #1E90FF;
}

.page-jackpot-games__button--secondary:hover {
  background-color: rgba(30, 144, 255, 0.1);
  transform: translateY(-2px);
}

/* Hero Section */
.page-jackpot-games__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 60px 20px;
  background-color: #f8f8f8;
  position: relative;
  overflow: hidden;
}

.page-jackpot-games__hero-content {
  max-width: 800px;
  z-index: 1;
  margin-bottom: 40px;
}

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

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

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

.page-jackpot-games__hero-image {
  width: 100%;
  max-width: 1000px; /* Adjust as needed */
  margin-top: 40px;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.page-jackpot-games__hero-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* About Section */
.page-jackpot-games__about-section {
  padding: 80px 0;
  background-color: #ffffff;
}

.page-jackpot-games__about-grid {
  display: flex;
  gap: 40px;
  align-items: center;
}

.page-jackpot-games__about-text {
  flex: 1;
  font-size: 1.1em;
  color: #444;
}

.page-jackpot-games__about-image {
  flex: 1;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.page-jackpot-games__about-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* Advantages Section */
.page-jackpot-games__advantages-section {
  padding: 80px 0;
  background-color: #f2f2f2;
}

.page-jackpot-games__advantages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 50px;
}

.page-jackpot-games__advantage-card {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  text-align: center;
  transition: transform 0.3s ease;
}

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

.page-jackpot-games__advantage-title {
  font-size: 1.5em;
  color: #FFD700;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-jackpot-games__advantage-card p {
  color: #666;
  font-size: 1em;
}

.page-jackpot-games__advantages-image {
  text-align: center;
}

.page-jackpot-games__advantages-image img {
  max-width: 800px;
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  object-fit: cover;
}

/* Featured Games Section */
.page-jackpot-games__featured-games {
  padding: 80px 0;
  background-color: #ffffff;
}

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

.page-jackpot-games__game-card {
  background-color: #f9f9f9;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  text-align: center;
  transition: transform 0.3s ease;
}

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

.page-jackpot-games__game-card img {
  width: 100%;
  height: 250px; /* Fixed height for consistency */
  object-fit: cover;
}

.page-jackpot-games__game-title {
  font-size: 1.4em;
  color: #1E90FF;
  margin: 20px 15px 10px;
}

.page-jackpot-games__game-description {
  color: #666;
  font-size: 0.95em;
  padding: 0 15px 20px;
}

.page-jackpot-games__game-card .page-jackpot-games__button {
  margin-bottom: 20px;
  background-color: #FFD700;
  color: #333333;
  border: none;
}

.page-jackpot-games__game-card .page-jackpot-games__button:hover {
  background-color: #e6c200;
}

/* Guide Section */
.page-jackpot-games__guide-section {
  padding: 80px 0;
  background-color: #f8f8f8;
}

.page-jackpot-games__guide-grid {
  display: flex;
  gap: 40px;
  align-items: center;
}

.page-jackpot-games__guide-steps {
  flex: 1;
}

.page-jackpot-games__step-item {
  background-color: #ffffff;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
  margin-bottom: 20px;
}

.page-jackpot-games__step-item:last-child {
  margin-bottom: 0;
}

.page-jackpot-games__step-title {
  font-size: 1.3em;
  color: #1E90FF;
  margin-bottom: 10px;
}

.page-jackpot-games__step-item p {
  color: #666;
}

.page-jackpot-games__guide-image {
  flex: 1;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.page-jackpot-games__guide-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* Promotions Section */
.page-jackpot-games__promotions-section {
  padding: 80px 0;
  background-color: #ffffff;
  text-align: center;
}

.page-jackpot-games__section-description {
  font-size: 1.1em;
  color: #555;
  max-width: 800px;
  margin: 0 auto 40px auto;
}

/* CTA Section */
.page-jackpot-games__cta-section {
  padding: 80px 0;
  background-color: #1E90FF; /* Blue background for CTA */
  color: #ffffff;
  text-align: center;
}

.page-jackpot-games__cta-title {
  font-size: 3em;
  color: #FFD700; /* Gold title for contrast */
  margin-bottom: 20px;
}

.page-jackpot-games__cta-description {
  font-size: 1.2em;
  max-width: 800px;
  margin: 0 auto 40px auto;
}

.page-jackpot-games__cta-actions {
  display: flex;
  gap: 20px;
  justify-content: center;
}

.page-jackpot-games__cta-actions .page-jackpot-games__button--primary {
  background-color: #FFD700;
  color: #333333;
  border-color: #FFD700;
}

.page-jackpot-games__cta-actions .page-jackpot-games__button--secondary {
  background-color: transparent;
  color: #ffffff;
  border-color: #ffffff;
}

.page-jackpot-games__cta-actions .page-jackpot-games__button--secondary:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-jackpot-games__hero-title {
    font-size: 3em;
  }
  .page-jackpot-games__section-title,
  .page-jackpot-games__cta-title {
    font-size: 2em;
  }
  .page-jackpot-games__about-grid,
  .page-jackpot-games__guide-grid {
    flex-direction: column;
  }
  .page-jackpot-games__about-text,
  .page-jackpot-games__about-image,
  .page-jackpot-games__guide-steps,
  .page-jackpot-games__guide-image {
    flex: none;
    width: 100%;
  }
  .page-jackpot-games__hero-image,
  .page-jackpot-games__advantages-image img {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .page-jackpot-games__hero-section {
    padding: 40px 15px;
  }
  .page-jackpot-games__hero-title {
    font-size: 2.2em;
  }
  .page-jackpot-games__hero-description {
    font-size: 1em;
  }
  .page-jackpot-games__hero-actions,
  .page-jackpot-games__cta-actions {
    flex-direction: column;
    gap: 15px;
  }
  .page-jackpot-games__button {
    width: 100%;
  }
  .page-jackpot-games__section-title,
  .page-jackpot-games__cta-title {
    font-size: 1.8em;
  }
  .page-jackpot-games__advantages-grid,
  .page-jackpot-games__games-grid {
    grid-template-columns: 1fr;
  }
  .page-jackpot-games__container {
    padding: 0 15px;
  }
  /* Mobile content image overflow prevention */
  .page-jackpot-games img {
    max-width: 100%;
    height: auto;
  }
  /* Ensure no content images are smaller than 200px display size */
  .page-jackpot-games__game-card img {
    height: 200px; /* Adjust height for smaller screens, but keep >= 200px */
  }
  .page-jackpot-games__hero-image img,
  .page-jackpot-games__about-image img,
  .page-jackpot-games__advantages-image img,
  .page-jackpot-games__guide-image img {
    min-height: 200px; /* Ensure images are not too small */
    object-fit: cover;
  }
}

/* Ensure content area images are never smaller than 200px */
.page-jackpot-games__about-image img,
.page-jackpot-games__advantages-image img,
.page-jackpot-games__game-card img,
.page-jackpot-games__guide-image img {
  min-width: 200px;
  min-height: 200px;
}

/* No filter on images */
.page-jackpot-games img {
  filter: none; /* Ensure no CSS filter is applied */
}