.page-resources-j9bet-latest-promotions {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #333333; /* Default dark text for light body background */
  background-color: #f8f8f8;
}

.page-resources-j9bet-latest-promotions__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  box-sizing: border-box;
}

.page-resources-j9bet-latest-promotions__section-title {
  font-size: 36px;
  font-weight: bold;
  color: #0A246A;
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
}

.page-resources-j9bet-latest-promotions__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #FFD700;
  border-radius: 2px;
}

.page-resources-j9bet-latest-promotions__text-block {
  font-size: 17px;
  margin-bottom: 20px;
  text-align: justify;
}

/* Color Contrast Specifics */
.page-resources-j9bet-latest-promotions__dark-bg {
  background-color: #0A246A;
  color: #ffffff; /* Light text for dark background */
}

.page-resources-j9bet-latest-promotions__dark-bg .page-resources-j9bet-latest-promotions__section-title {
  color: #ffffff;
}

.page-resources-j9bet-latest-promotions__light-bg {
  background-color: #ffffff;
  color: #333333; /* Dark text for light background */
}

.page-resources-j9bet-latest-promotions__light-bg .page-resources-j9bet-latest-promotions__section-title {
  color: #0A246A;
}

/* HERO Section */
.page-resources-j9bet-latest-promotions__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); /* Fixed header offset */
  overflow: hidden;
}

.page-resources-j9bet-latest-promotions__hero-container {
  position: relative;
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.page-resources-j9bet-latest-promotions__hero-image {
  width: 100%;
  margin-bottom: 30px;
  position: relative;
  z-index: 1;
}

.page-resources-j9bet-latest-promotions__hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-resources-j9bet-latest-promotions__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-resources-j9bet-latest-promotions__hero-title {
  font-size: 48px;
  font-weight: 900;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #FFD700; /* Gold for highlight */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-resources-j9bet-latest-promotions__hero-description {
  font-size: 22px;
  margin-bottom: 40px;
  color: #f0f0f0;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Buttons */
.page-resources-j9bet-latest-promotions__cta-button {
  display: inline-block;
  padding: 15px 40px;
  text-decoration: none;
  border-radius: 8px;
  font-size: 20px;
  font-weight: bold;
  margin-top: 20px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  cursor: pointer;
}

.page-resources-j9bet-latest-promotions__btn-primary {
  background: #FFD700;
  color: #0A246A;
  border: 2px solid #FFD700;
}

.page-resources-j9bet-latest-promotions__btn-primary:hover {
  background: #e6c200;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-resources-j9bet-latest-promotions__btn-secondary {
  background: #0A246A;
  color: #FFD700;
  border: 2px solid #FFD700;
}

.page-resources-j9bet-latest-promotions__btn-secondary:hover {
  background: #1a3a8a;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Grid for Promotion Types */
.page-resources-j9bet-latest-promotions__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-resources-j9bet-latest-promotions__card {
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: center;
  padding: 25px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-resources-j9bet-latest-promotions__card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-resources-j9bet-latest-promotions__card-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-resources-j9bet-latest-promotions__card-title {
  font-size: 24px;
  color: #0A246A;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-resources-j9bet-latest-promotions__card-text {
  font-size: 16px;
  color: #555555;
  margin-bottom: 25px;
  flex-grow: 1;
}

/* Step List for How-To Section */
.page-resources-j9bet-latest-promotions__step-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
}

.page-resources-j9bet-latest-promotions__step-item {
  background: #f9f9f9;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  padding: 30px;
  margin-bottom: 25px;
  position: relative;
  counter-increment: step-counter;
  padding-left: 80px;
}

.page-resources-j9bet-latest-promotions__step-item::before {
  content: counter(step-counter);
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  background-color: #0A246A;
  color: #ffffff;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: bold;
}

.page-resources-j9bet-latest-promotions__step-title {
  font-size: 22px;
  color: #0A246A;
  margin-top: 0;
  margin-bottom: 10px;
}

.page-resources-j9bet-latest-promotions__step-item p {
  font-size: 16px;
  color: #555555;
  margin-bottom: 15px;
}

/* General List Styling */
.page-resources-j9bet-latest-promotions__list {
  list-style: disc;
  padding-left: 25px;
  margin-top: 20px;
  color: #e0e0e0; /* Light text for dark background */
}

.page-resources-j9bet-latest-promotions__list-item {
  margin-bottom: 10px;
  font-size: 17px;
}

.page-resources-j9bet-latest-promotions__list-item strong {
  color: #FFD700;
}

/* FAQ Section */
.page-resources-j9bet-latest-promotions__faq-list {
  margin-top: 40px;
}

.page-resources-j9bet-latest-promotions__faq-item {
  margin-bottom: 15px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-resources-j9bet-latest-promotions__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.page-resources-j9bet-latest-promotions__faq-question:hover {
  background: #f5f5f5;
  border-color: #d0d0d0;
}

.page-resources-j9bet-latest-promotions__faq-question:active {
  background: #eeeeee;
}

.page-resources-j9bet-latest-promotions__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  color: #0A246A;
  pointer-events: none;
}

.page-resources-j9bet-latest-promotions__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  line-height: 1;
  color: #666;
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
}

.page-resources-j9bet-latest-promotions__faq-item.active .page-resources-j9bet-latest-promotions__faq-toggle {
  color: #0A246A;
  transform: rotate(180deg);
}

.page-resources-j9bet-latest-promotions__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
  padding: 0 25px;
  opacity: 0;
  background: #f9f9f9;
  color: #555555;
}

.page-resources-j9bet-latest-promotions__faq-item.active .page-resources-j9bet-latest-promotions__faq-answer {
  max-height: 2000px !important;
  padding: 20px 25px !important;
  opacity: 1;
  border-radius: 0 0 10px 10px;
}

.page-resources-j9bet-latest-promotions__faq-answer p {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
}

/* Final CTA Section */
.page-resources-j9bet-latest-promotions__cta-final-section {
  text-align: center;
  padding: 80px 20px;
}

.page-resources-j9bet-latest-promotions__cta-final-section .page-resources-j9bet-latest-promotions__section-title {
  margin-bottom: 25px;
}

.page-resources-j9bet-latest-promotions__cta-final-section .page-resources-j9bet-latest-promotions__text-block {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 40px;
  font-size: 18px;
  color: #f0f0f0;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-resources-j9bet-latest-promotions__hero-title {
    font-size: 42px;
  }
  .page-resources-j9bet-latest-promotions__hero-description {
    font-size: 20px;
  }
  .page-resources-j9bet-latest-promotions__section-title {
    font-size: 32px;
  }
  .page-resources-j9bet-latest-promotions__text-block {
    font-size: 16px;
  }
}

@media (max-width: 768px) {
  .page-resources-j9bet-latest-promotions__hero-section {
    padding-top: var(--header-offset, 120px) !important;
    padding-bottom: 40px;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-resources-j9bet-latest-promotions__hero-image img {
    border-radius: 8px;
  }
  .page-resources-j9bet-latest-promotions__hero-title {
    font-size: 32px;
    margin-bottom: 15px;
  }
  .page-resources-j9bet-latest-promotions__hero-description {
    font-size: 18px;
    margin-bottom: 30px;
  }
  .page-resources-j9bet-latest-promotions__cta-button {
    padding: 12px 30px;
    font-size: 18px;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-resources-j9bet-latest-promotions__container {
    padding: 25px 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-resources-j9bet-latest-promotions__section-title {
    font-size: 28px;
    margin-bottom: 30px;
  }

  .page-resources-j9bet-latest-promotions__text-block {
    font-size: 15px;
  }

  .page-resources-j9bet-latest-promotions__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-resources-j9bet-latest-promotions__card {
    padding: 20px;
  }

  .page-resources-j9bet-latest-promotions__card-image {
    height: 180px;
  }

  .page-resources-j9bet-latest-promotions__card-title {
    font-size: 20px;
  }

  .page-resources-j9bet-latest-promotions__card-text {
    font-size: 14px;
  }

  .page-resources-j9bet-latest-promotions__step-item {
    padding: 20px;
    padding-left: 60px;
    margin-bottom: 15px;
  }

  .page-resources-j9bet-latest-promotions__step-item::before {
    width: 32px;
    height: 32px;
    font-size: 18px;
    left: 15px;
  }

  .page-resources-j9bet-latest-promotions__step-title {
    font-size: 18px;
  }

  .page-resources-j9bet-latest-promotions__step-item p {
    font-size: 14px;
  }

  .page-resources-j9bet-latest-promotions__list {
    padding-left: 20px;
  }

  .page-resources-j9bet-latest-promotions__list-item {
    font-size: 15px;
  }

  .page-resources-j9bet-latest-promotions__faq-question {
    padding: 15px 20px;
  }

  .page-resources-j9bet-latest-promotions__faq-question h3 {
    font-size: 16px;
  }

  .page-resources-j9bet-latest-promotions__faq-toggle {
    font-size: 24px;
    width: 28px;
    height: 28px;
  }

  .page-resources-j9bet-latest-promotions__faq-item.active .page-resources-j9bet-latest-promotions__faq-answer {
    padding: 15px 20px !important;
  }

  .page-resources-j9bet-latest-promotions__faq-answer p {
    font-size: 14px;
  }

  .page-resources-j9bet-latest-promotions img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-resources-j9bet-latest-promotions__hero-section,
  .page-resources-j9bet-latest-promotions__intro-section,
  .page-resources-j9bet-latest-promotions__types-section,
  .page-resources-j9bet-latest-promotions__how-to-join-section,
  .page-resources-j9bet-latest-promotions__terms-section,
  .page-resources-j9bet-latest-promotions__why-choose-section,
  .page-resources-j9bet-latest-promotions__faq-section,
  .page-resources-j9bet-latest-promotions__cta-final-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
}

@media (max-width: 480px) {
  .page-resources-j9bet-latest-promotions__hero-title {
    font-size: 28px;
  }
  .page-resources-j9bet-latest-promotions__hero-description {
    font-size: 16px;
  }
  .page-resources-j9bet-latest-promotions__section-title {
    font-size: 24px;
  }
  .page-resources-j9bet-latest-promotions__cta-button {
    font-size: 16px;
    padding: 10px 25px;
  }
}