.page-slot-jackpot-games {
  background-color: #100224;
  color: #FFFFFF;
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

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

.page-slot-jackpot-games__section-title {
  font-size: 2.2em;
  color: #FFFFFF;
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
  background: linear-gradient(to right, #ff9500, #ff5e3a);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-fill-color: transparent;
  line-height: 1.2;
}

.page-slot-jackpot-games__text-content {
  font-size: 1.1em;
  margin-bottom: 20px;
  text-align: center;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  color: #e0e0e0;
}

.page-slot-jackpot-games__cta-button {
  display: block;
  width: fit-content;
  margin: 30px auto;
  padding: 15px 30px;
  background: linear-gradient(to right, #ff9500, #ff5e3a);
  color: #FFFFFF;
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  font-size: 1.1em;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-slot-jackpot-games__cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 15px rgba(255, 94, 58, 0.4);
}

.page-slot-jackpot-games__secondary-cta {
  display: block;
  width: fit-content;
  margin: 20px auto;
  padding: 10px 20px;
  background-color: #83a1f2;
  color: #FFFFFF;
  text-decoration: none;
  border-radius: 6px;
  font-weight: bold;
  font-size: 1em;
  transition: background-color 0.3s ease;
}

.page-slot-jackpot-games__secondary-cta:hover {
  background-color: #688cec;
}

.page-slot-jackpot-games__hero-section {
  position: relative;
  background-color: #100224;
  padding-top: 10px; /* Small top padding */
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.page-slot-jackpot-games__hero-visual {
  width: 100%;
  overflow: hidden;
  margin-bottom: 20px;
}

.page-slot-jackpot-games__hero-visual img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 16/5;
  object-fit: cover;
}

.page-slot-jackpot-games__hero-content {
  padding: 20px;
  max-width: 900px;
  width: 100%;
  z-index: 1;
  box-sizing: border-box;
}

.page-slot-jackpot-games__main-title {
  font-size: clamp(2em, 5vw, 3.5em);
  color: #FFFFFF;
  font-weight: bold;
  line-height: 1.2;
  margin-bottom: 15px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-slot-jackpot-games__intro-description {
  font-size: 1.2em;
  color: #e0e0e0;
  margin-bottom: 25px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-slot-jackpot-games__jackpot-display {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 30px;
  padding: 15px 20px;
  background-color: rgba(0, 0, 0, 0.3);
  border-radius: 10px;
  border: 2px solid #ff9500;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}

.page-slot-jackpot-games__jackpot-label {
  font-size: 1.2em;
  color: #e0e0e0;
  margin-bottom: 5px;
}

.page-slot-jackpot-games__jackpot-amount {
  font-size: clamp(1.8rem, 6.5vw, 3.5rem);
  color: #FFFF00;
  font-weight: bold;
  word-break: break-all;
  letter-spacing: 1px;
}

.page-slot-jackpot-games__game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.page-slot-jackpot-games__game-tile {
  display: block;
  border-radius: 10px;
  overflow: hidden;
  background-color: #2a043c;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-decoration: none;
}

.page-slot-jackpot-games__game-tile:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.page-slot-jackpot-games__game-tile img {
  width: 100%;
  height: 200px; /* Minimum size */
  object-fit: cover;
  display: block;
}

.page-slot-jackpot-games__feature-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.page-slot-jackpot-games__feature-item {
  background-color: #2a043c;
  padding: 25px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.page-slot-jackpot-games__feature-title {
  font-size: 1.5em;
  color: #ff9500;
  margin-bottom: 10px;
}

.page-slot-jackpot-games__feature-description {
  font-size: 1em;
  color: #e0e0e0;
}

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

.page-slot-jackpot-games__promo-card {
  background-color: #2a043c;
  padding: 20px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.page-slot-jackpot-games__promo-card img {
  width: 100%;
  height: 250px; /* Ensure minimum size */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
}

.page-slot-jackpot-games__promo-title {
  font-size: 1.4em;
  color: #ff9500;
  margin-bottom: 10px;
}

.page-slot-jackpot-games__promo-description {
  font-size: 0.95em;
  color: #e0e0e0;
  margin-bottom: 15px;
}

.page-slot-jackpot-games__promo-link {
  display: inline-block;
  padding: 8px 15px;
  background-color: #83a1f2;
  color: #FFFFFF;
  text-decoration: none;
  border-radius: 5px;
  font-size: 0.9em;
  transition: background-color 0.3s ease;
}

.page-slot-jackpot-games__promo-link:hover {
  background-color: #688cec;
}

.page-slot-jackpot-games__steps-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
}

.page-slot-jackpot-games__step-item {
  background-color: #2a043c;
  padding: 20px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

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

.page-slot-jackpot-games__step-description {
  font-size: 1em;
  color: #e0e0e0;
}

.page-slot-jackpot-games__action-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
}

.page-slot-jackpot-games__cta-button--register {
  background-color: #C30808;
  color: #FFFF00;
}

.page-slot-jackpot-games__cta-button--register:hover {
  background-color: #a30606;
  box-shadow: 0 8px 15px rgba(195, 8, 8, 0.4);
}

.page-slot-jackpot-games__cta-button--deposit {
  background-color: #017439;
  color: #FFFFFF;
}

.page-slot-jackpot-games__cta-button--deposit:hover {
  background-color: #005f2f;
  box-shadow: 0 8px 15px rgba(1, 116, 57, 0.4);
}

.page-slot-jackpot-games__faq-accordion {
  margin-top: 30px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-slot-jackpot-games__faq-item {
  background-color: #2a043c;
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.page-slot-jackpot-games__faq-question {
  width: 100%;
  background-color: #017439;
  color: #FFFFFF;
  padding: 15px 20px;
  border: none;
  text-align: left;
  font-size: 1.1em;
  font-weight: bold;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color 0.3s ease;
}

.page-slot-jackpot-games__faq-question::after {
  content: '+';
  font-size: 1.5em;
  transition: transform 0.3s ease;
}

.page-slot-jackpot-games__faq-question[aria-expanded="true"]::after {
  content: '-';
  transform: rotate(180deg);
}

.page-slot-jackpot-games__faq-question:hover {
  background-color: #005f2f;
}

.page-slot-jackpot-games__faq-answer {
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
  color: #e0e0e0;
}

.page-slot-jackpot-games__faq-answer p {
  padding-bottom: 15px;
  margin: 0;
}

/* Responsive adjustments */
@media (max-width: 849px) {
  .page-slot-jackpot-games__hero-section {
    flex-direction: column;
  }
  .page-slot-jackpot-games__hero-visual img {
    aspect-ratio: 4/3;
  }
  .page-slot-jackpot-games__main-title {
    font-size: clamp(1.8em, 7vw, 2.5em);
  }
  .page-slot-jackpot-games__intro-description {
    font-size: 1em;
  }
  .page-slot-jackpot-games__jackpot-amount {
    font-size: clamp(1.5rem, 8vw, 2.5rem);
  }
  .page-slot-jackpot-games__section-title {
    font-size: 1.8em;
  }
  .page-slot-jackpot-games__game-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }
  .page-slot-jackpot-games__feature-list,
  .page-slot-jackpot-games__promo-cards,
  .page-slot-jackpot-games__steps-list {
    grid-template-columns: 1fr;
  }
  .page-slot-jackpot-games__action-buttons {
    flex-direction: column;
    align-items: center;
  }
  .page-slot-jackpot-games__cta-button {
    width: 80%;
  }
}

@media (max-width: 549px) {
  .page-slot-jackpot-games__container {
    padding: 10px;
  }
  .page-slot-jackpot-games__section-title {
    font-size: 1.5em;
  }
  .page-slot-jackpot-games__hero-visual img {
    aspect-ratio: 16/9;
  }
  .page-slot-jackpot-games__game-grid {
    grid-template-columns: 1fr;
  }
  .page-slot-jackpot-games__faq-question {
    font-size: 1em;
    padding: 12px 15px;
  }
}

/* Ensure images in content areas are not too small on mobile */
@media (max-width: 768px) {
  .page-slot-jackpot-games img {
    max-width: 100%;
    height: auto;
  }
  .page-slot-jackpot-games__game-tile img, 
  .page-slot-jackpot-games__promo-card img {
    min-width: 200px; /* Enforce minimum size even if scaled */
    min-height: 200px;
  }
}

/* Color contrast check */
.page-slot-jackpot-games__text-content, .page-slot-jackpot-games__feature-description, .page-slot-jackpot-games__promo-description, .page-slot-jackpot-games__step-description, .page-slot-jackpot-games__faq-answer p {
  color: #e0e0e0; /* Sufficient contrast against #100224 or #2a043c */
}

.keyword {
  color: #FFFF00; /* For highlighting keywords, ensuring contrast */
  font-weight: bold;
}