.page-slots-jackpot {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow-x: hidden;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  color: var(--text-main);
  background-color: var(--background);
}

.page-slots-jackpot__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 40px;
  background-color: var(--card-b-g);
  padding-bottom: 20px;
  border-radius: 8px;
  overflow: hidden;
}

.page-slots-jackpot__hero-image-wrapper {
  width: 100%;
  margin-bottom: 20px;
}

.page-slots-jackpot__hero-section img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 16/9;
  object-fit: cover;
  object-position: center;
}

.page-slots-jackpot__hero-content {
  max-width: 900px;
  padding: 0 20px;
}

.page-slots-jackpot__main-title {
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--gold);
  margin-bottom: 15px;
  max-width: 100%;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  font-size: clamp(1.8rem, 4vw, 2.8rem); /* Adjusted for better mobile/desktop balance */
}

.page-slots-jackpot__hero-description {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 30px;
  color: var(--text-main);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-slots-jackpot__cta-button {
  display: inline-block;
  padding: 15px 30px;
  background: var(--button);
  color: #FFF1E8;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1.1rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  border: none;
  cursor: pointer;
}

.page-slots-jackpot__cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.page-slots-jackpot__cta-button--small {
    padding: 10px 20px;
    font-size: 1rem;
}

.page-slots-jackpot__section {
  max-width: 1200px;
  margin: 0 auto 60px auto;
  padding: 0 20px;
}

.page-slots-jackpot__section-title {
  font-size: clamp(1.5rem, 3.5vw, 2.5rem);
  font-weight: 700;
  color: var(--gold);
  text-align: center;
  margin-bottom: 30px;
  position: relative;
  padding-bottom: 10px;
}

.page-slots-jackpot__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: var(--deep-red);
  border-radius: 2px;
}

.page-slots-jackpot__text-content {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-main);
  margin-bottom: 20px;
  text-align: justify;
}

.page-slots-jackpot__feature-list,
.page-slots-jackpot__steps-list,
.page-slots-jackpot__tips-list {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}

.page-slots-jackpot__feature-item,
.page-slots-jackpot__step-item,
.page-slots-jackpot__tip-item {
  background-color: var(--card-b-g);
  padding: 15px 20px;
  margin-bottom: 10px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  font-size: 1rem;
  line-height: 1.5;
  color: var(--text-main);
  border-left: 5px solid var(--deep-red);
}

.page-slots-jackpot__step-item strong,
.page-slots-jackpot__tip-item strong {
    color: var(--gold);
}

.page-slots-jackpot__content-flex {
  display: flex;
  gap: 40px;
  align-items: flex-start;
}

.page-slots-jackpot__text-column {
  flex: 1;
}

.page-slots-jackpot__image-column {
  flex: 1;
  margin: 0;
}

.page-slots-jackpot__image-column img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.page-slots-jackpot__image-caption {
  text-align: center;
  font-size: 0.9rem;
  color: #aaa;
  margin-top: 10px;
}

.page-slots-jackpot__game-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.page-slots-jackpot__game-card {
  background-color: var(--card-b-g);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  text-align: center;
  padding-bottom: 20px;
  transition: transform 0.3s ease;
}

.page-slots-jackpot__game-card:hover {
  transform: translateY(-5px);
}

.page-slots-jackpot__game-card img {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
  margin-bottom: 15px;
}

.page-slots-jackpot__game-title {
  font-size: 1.4rem;
  color: var(--gold);
  margin-bottom: 10px;
  padding: 0 15px;
}

.page-slots-jackpot__game-description {
  font-size: 0.95rem;
  color: var(--text-main);
  line-height: 1.6;
  margin-bottom: 20px;
  padding: 0 15px;
}

.page-slots-jackpot__game-link {
  display: inline-block;
  padding: 8px 20px;
  background-color: var(--deep-red);
  color: #FFF1E8;
  text-decoration: none;
  border-radius: 20px;
  font-size: 0.9rem;
  transition: background-color 0.3s ease;
}

.page-slots-jackpot__game-link:hover {
  background-color: var(--primary-color);
}

.page-slots-jackpot__secondary-link {
  display: inline-block;
  margin-top: 15px;
  color: var(--gold);
  text-decoration: underline;
  font-size: 0.95rem;
  transition: color 0.3s ease;
}

.page-slots-jackpot__secondary-link:hover {
  color: var(--text-main);
}

.page-slots-jackpot__faq-item {
  background-color: var(--card-b-g);
  border: 1px solid var(--border);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-slots-jackpot__faq-question {
  font-size: 1.2rem;
  color: var(--gold);
  padding: 15px 20px;
  margin: 0;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color 0.3s ease;
}

.page-slots-jackpot__faq-question:hover {
  background-color: #3a1a1a; /* Slightly lighter card BG on hover */
}

.page-slots-jackpot__faq-question::after {
  content: '+';
  font-size: 1.5rem;
  color: var(--deep-red);
  transition: transform 0.3s ease;
}

.page-slots-jackpot__faq-question.active::after {
  content: '-';
  transform: rotate(180deg);
}

.page-slots-jackpot__faq-answer {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-main);
  padding: 0 20px 15px 20px;
  margin: 0;
  display: none;
}

.page-slots-jackpot__faq-answer.active {
  display: block;
}

/* Responsive adjustments */
@media (max-width: 849px) {
  .page-slots-jackpot__content-flex {
    flex-direction: column;
    gap: 30px;
  }

  .page-slots-jackpot__text-column,
  .page-slots-jackpot__image-column {
    flex: none;
    width: 100%;
  }

  .page-slots-jackpot__game-cards-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-slots-jackpot {
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-slots-jackpot__hero-content {
    padding: 0 15px;
  }

  .page-slots-jackpot__hero-section img,
  .page-slots-jackpot__image-column img,
  .page-slots-jackpot__game-card img {
    max-width: 100%;
    height: auto; /* Ensure images scale down */
  }

  .page-slots-jackpot__main-title {
    font-size: clamp(1.6rem, 8vw, 2.5rem);
  }

  .page-slots-jackpot__section-title {
    font-size: clamp(1.3rem, 6vw, 2.2rem);
  }

  .page-slots-jackpot__text-content,
  .page-slots-jackpot__feature-item,
  .page-slots-jackpot__step-item,
  .page-slots-jackpot__tip-item,
  .page-slots-jackpot__game-description,
  .page-slots-jackpot__faq-answer {
    font-size: 0.95rem;
  }

  .page-slots-jackpot__cta-button {
    padding: 12px 25px;
    font-size: 1rem;
  }
}

@media (max-width: 549px) {
  .page-slots-jackpot__hero-description {
    font-size: 1rem;
  }

  .page-slots-jackpot__text-content {
    text-align: left; /* Align left on smaller screens */
  }

  .page-slots-jackpot__game-card img {
     /* Adjust height for smaller cards */
  }
}