:root {
  --primary-color: #0A2463;
  --secondary-color: #FFD700;
  --text-color-dark: #333333;
  --text-color-light: #ffffff;
  --background-light: #f4f4f4;
  --background-white: #ffffff;
  --border-color: #e0e0e0;
}

.page-jackpot-games {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-color-dark);
  background-color: var(--background-light);
}

.page-jackpot-games__section {
  padding: 60px 20px;
  text-align: center;
  background-color: var(--background-white);
}

.page-jackpot-games__dark-bg {
  background-color: var(--primary-color);
  color: var(--text-color-light);
}

.page-jackpot-games__light-bg {
  background-color: var(--background-light);
  color: var(--text-color-dark);
}

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

.page-jackpot-games__section-title {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 30px;
  color: inherit; /* Inherit color from parent section */
}

.page-jackpot-games__dark-bg .page-jackpot-games__section-title {
  color: var(--secondary-color);
}

.page-jackpot-games__text-block {
  font-size: 17px;
  margin-bottom: 20px;
  line-height: 1.7;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

/* Hero Section */
.page-jackpot-games__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: var(--header-offset, 120px);
  overflow: hidden;
}

.page-jackpot-games__hero-container {
  position: relative;
  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: 8px;
  object-fit: cover;
  margin-bottom: 30px;
}

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

.page-jackpot-games__hero-title {
  font-size: 48px;
  font-weight: 800;
  margin-bottom: 20px;
  color: var(--text-color-light);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-jackpot-games__hero-description {
  font-size: 20px;
  margin-bottom: 40px;
  color: var(--text-color-light);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-jackpot-games__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: var(--secondary-color);
  color: var(--primary-color);
  text-decoration: none;
  border-radius: 50px;
  font-size: 18px;
  font-weight: bold;
  margin-top: 10px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  border: none;
}

.page-jackpot-games__cta-button:hover {
  background: #FFC107; /* Slightly darker gold on hover */
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.page-jackpot-games__button-center {
  display: block;
  margin-left: auto;
  margin-right: auto;
  margin-top: 40px;
}

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

.page-jackpot-games__game-card {
  background: var(--background-white);
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: left;
  transition: transform 0.3s ease;
  height: 100%; /* Ensure cards are same height */
  display: flex;
  flex-direction: column;
}

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

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

.page-jackpot-games__game-card .page-jackpot-games__card-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--primary-color);
  padding: 15px 20px 10px;
  margin: 0;
}

.page-jackpot-games__game-card .page-jackpot-games__card-description {
  font-size: 15px;
  color: var(--text-color-dark);
  padding: 0 20px 20px;
  flex-grow: 1;
}

/* Providers List */
.page-jackpot-games__provider-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px 40px;
}

.page-jackpot-games__provider-list li {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-color-light);
  margin-bottom: 10px;
  text-align: center;
}

/* Strategy Section */
.page-jackpot-games__strategy-content {
  display: flex;
  align-items: flex-start;
  gap: 40px;
  text-align: left;
  margin-top: 40px;
}

.page-jackpot-games__strategy-text {
  flex: 1;
}

.page-jackpot-games__strategy-list {
  list-style: disc;
  padding-left: 20px;
  font-size: 17px;
  color: var(--text-color-dark);
}

.page-jackpot-games__strategy-list li {
  margin-bottom: 15px;
}

.page-jackpot-games__strategy-list strong {
  color: var(--primary-color);
}

.page-jackpot-games__strategy-image {
  flex-shrink: 0;
  width: 600px;
  height: 375px;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Promotions Grid */
.page-jackpot-games__promo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-jackpot-games__promo-card {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 30px;
  text-align: left;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.page-jackpot-games__promo-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.15);
}

.page-jackpot-games__promo-card .page-jackpot-games__card-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--secondary-color);
  margin-bottom: 15px;
}

.page-jackpot-games__promo-card .page-jackpot-games__card-description {
  font-size: 15px;
  color: var(--text-color-light);
  flex-grow: 1;
}

/* Registration Steps Grid */
.page-jackpot-games__steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-jackpot-games__step-card {
  background: var(--background-white);
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

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

.page-jackpot-games__step-card .page-jackpot-games__card-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.page-jackpot-games__step-card .page-jackpot-games__card-description {
  font-size: 15px;
  color: var(--text-color-dark);
  flex-grow: 1;
}

.page-jackpot-games__button-group {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
  flex-wrap: wrap;
}

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

.page-jackpot-games__btn-primary:hover {
  background: #071A4D; /* Darker primary on hover */
}

.page-jackpot-games__btn-secondary {
  background: var(--background-white);
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

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

/* Security Section */
.page-jackpot-games__security-flex {
  display: flex;
  align-items: center;
  gap: 40px;
  text-align: left;
  margin-top: 40px;
}

.page-jackpot-games__security-text {
  flex: 1;
}

.page-jackpot-games__security-list {
  list-style: disc;
  padding-left: 20px;
  font-size: 17px;
  color: var(--text-color-light);
}

.page-jackpot-games__security-list li {
  margin-bottom: 15px;
}

.page-jackpot-games__security-list strong {
  color: var(--secondary-color);
}

.page-jackpot-games__security-image {
  flex-shrink: 0;
  width: 500px;
  height: 350px;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* FAQ Section */
.page-jackpot-games__faq-list {
  max-width: 900px;
  margin: 40px auto 0;
  text-align: left;
}

.page-jackpot-games__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.page-jackpot-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: var(--background-white);
  border: 1px solid var(--border-color);
  border-radius: 5px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.page-jackpot-games__faq-question:hover {
  background: #f5f5f5;
  border-color: #d0d0d0;
}

.page-jackpot-games__faq-question:active {
  background: #eeeeee;
}