.page-jackpot-games {
  --primary-color: #007bff;
  --secondary-color: #ffc107;
  --text-dark: #333333;
  --text-light: #ffffff;
  --background-light: #f8f9fa;
  --background-dark: #212529;
  --border-color: #e0e0e0;
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
}

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

.page-jackpot-games__section {
  padding: 60px 0;
  text-align: center;
}

.page-jackpot-games__section:nth-of-type(even) {
  background-color: var(--background-light);
}

.page-jackpot-games h1,
.page-jackpot-games h2 {
  color: var(--primary-color);
  margin-bottom: 25px;
  font-weight: bold;
}

.page-jackpot-games h1 {
  font-size: 2.8em;
  color: var(--text-light);
}

.page-jackpot-games h2 {
  font-size: 2.2em;
}

.page-jackpot-games h3 {
  color: var(--text-dark);
  font-size: 1.5em;
  margin-bottom: 15px;
}

.page-jackpot-games p {
  margin-bottom: 20px;
  font-size: 1.1em;
  line-height: 1.8;
}

.page-jackpot-games ul {
  list-style: disc inside;
  text-align: left;
  margin: 0 auto 20px;
  max-width: 800px;
  padding-left: 20px;
}

.page-jackpot-games li {
  margin-bottom: 10px;
  font-size: 1.05em;
}

.page-jackpot-games__cta-button,
.page-jackpot-games__button {
  display: inline-block;
  padding: 15px 35px;
  background: var(--primary-color);
  color: var(--text-light);
  text-decoration: none;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  margin-top: 20px;
}

.page-jackpot-games__cta-button:hover,
.page-jackpot-games__button:hover {
  background: var(--secondary-color);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.page-jackpot-games__button--secondary {
  background: var(--secondary-color);
  color: var(--text-dark);
}

.page-jackpot-games__button--secondary:hover {
  background: var(--primary-color);
  color: var(--text-light);
}

/* Hero Section */
.page-jackpot-games__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px;
  background: linear-gradient(135deg, #007bff, #0056b3);
  color: var(--text-light);
  overflow: hidden;
}

.page-jackpot-games__hero-container {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-jackpot-games__hero-image {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  margin-bottom: 40px;
}

.page-jackpot-games__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
}

.page-jackpot-games__hero-content h1 {
  font-size: 3.5em;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
}

.page-jackpot-games__hero-content p {
  font-size: 1.3em;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

/* Deposit Guide Section */
.page-jackpot-games__guide-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
  text-align: left;
}

.page-jackpot-games__step-item {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-jackpot-games__step-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.page-jackpot-games__step-item h3 {
  color: var(--primary-color);
  font-size: 1.4em;
  margin-bottom: 15px;
}

.page-jackpot-games__note {
  font-style: italic;
  color: #666;
  margin-top: 30px;
  font-size: 1em;
}

/* Popular Games Section */
.page-jackpot-games__game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

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

.page-jackpot-games__game-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.page-jackpot-games__card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.page-jackpot-games__game-card h3 {
  padding: 15px 20px 0;
  font-size: 1.3em;
  margin-bottom: 10px;
}

.page-jackpot-games__game-card h3 a {
  color: var(--primary-color);
  text-decoration: none;
}

.page-jackpot-games__game-card h3 a:hover {
  text-decoration: underline;
}

.page-jackpot-games__game-card p {
  padding: 0 20px 20px;
  font-size: 0.95em;
  color: #555;
}

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

.page-jackpot-games__offer-card {
  background: linear-gradient(145deg, var(--primary-color), #0056b3);
  color: var(--text-light);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: left;
}

.page-jackpot-games__offer-card h3 {
  color: var(--secondary-color);
  font-size: 1.6em;
  margin-bottom: 15px;
}

.page-jackpot-games__offer-card p {
  color: var(--text-light);
  font-size: 1.05em;
}

/* FAQ Section */
.page-jackpot-games__faq .faq-item {
  margin-bottom: 15px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  overflow: hidden;
}

.page-jackpot-games__faq .faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: #ffffff;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.page-jackpot-games__faq .faq-question:hover {
  background: var(--background-light);
}

.page-jackpot-games__faq .faq-question h3 {
  margin: 0;
  color: var(--text-dark);
  font-size: 1.25em;
}

.page-jackpot-games__faq .faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: var(--primary-color);
  transition: transform 0.3s ease;
}

.page-jackpot-games__faq .faq-item.active .faq-toggle {
  transform: rotate(45deg);
  color: var(--secondary-color);
}

.page-jackpot-games__faq .faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
  padding: 0 20px;
  background: #f9f9f9;
  color: #555;
}

.page-jackpot-games__faq .faq-item.active .faq-answer {
  max-height: 500px; /* Sufficient height for content */
  padding: 20px;
}

.page-jackpot-games__faq .faq-answer p {
  margin-bottom: 0;
  text-align: left;
}

/* Image Styling */
.page-jackpot-games__image--small {
  max-width: 600px;
  width: 100%;
  height: auto;
  margin: 30px auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.page-jackpot-games__image--medium {
  max-width: 800px;
  width: 100%;
  height: auto;
  margin: 30px auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.page-jackpot-games__image--large {
  max-width: 1000px;
  width: 100%;
  height: auto;
  margin: 30px auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-jackpot-games h1 {
    font-size: 2.5em;
  }
  .page-jackpot-games h2 {
    font-size: 1.8em;
  }
  .page-jackpot-games__hero-content p {
    font-size: 1.1em;
  }
  .page-jackpot-games__guide-steps,
  .page-jackpot-games__game-grid,
  .page-jackpot-games__offer-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-jackpot-games__section {
    padding: 40px 0;
  }
  .page-jackpot-games h1 {
    font-size: 2em;
  }
  .page-jackpot-games h2 {
    font-size: 1.6em;
  }
  .page-jackpot-games__hero-image {
    margin-bottom: 20px;
  }
  .page-jackpot-games__hero-content p {
    font-size: 1em;
  }
  .page-jackpot-games__cta-button,
  .page-jackpot-games__button {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-jackpot-games__guide-steps,
  .page-jackpot-games__game-grid,
  .page-jackpot-games__offer-grid {
    grid-template-columns: 1fr;
  }
  .page-jackpot-games__faq .faq-question {
    padding: 15px;
  }
  .page-jackpot-games__faq .faq-question h3 {
    font-size: 1.1em;
  }
  .page-jackpot-games__faq .faq-toggle {
    font-size: 20px;
  }
  .page-jackpot-games__faq .faq-answer {
    padding: 15px;
  }
}

@media (max-width: 480px) {
  .page-jackpot-games h1 {
    font-size: 1.8em;
  }
  .page-jackpot-games h2 {
    font-size: 1.4em;
  }
  .page-jackpot-games__hero-content p {
    font-size: 0.95em;
  }
  .page-jackpot-games__step-item,
  .page-jackpot-games__game-card,
  .page-jackpot-games__offer-card {
    padding: 20px;
  }
  .page-jackpot-games__game-card h3 {
    font-size: 1.1em;
  }
  .page-jackpot-games__game-card p {
    font-size: 0.9em;
  }
}