.page-promotions-referral-program {
  font-family: 'Arial', sans-serif;
  color: #333;
  line-height: 1.6;
  background-color: #f8f8f8;
}

.page-promotions-referral-program__hero {
  background: linear-gradient(135deg, #003366 0%, #004d99 100%); /* Deeper blue gradient */
  color: #ffffff;
  padding: 80px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 40px;
  position: relative;
  overflow: hidden;
}

.page-promotions-referral-program__hero::before {
  content: '';
  position: absolute;
  top: -50px;
  left: -50px;
  width: 200px;
  height: 200px;
  background: rgba(255, 204, 0, 0.1); /* Auxiliary color subtle accent */
  border-radius: 50%;
  filter: blur(80px);
  z-index: 0;
}

.page-promotions-referral-program__hero::after {
  content: '';
  position: absolute;
  bottom: -50px;
  right: -50px;
  width: 250px;
  height: 250px;
  background: rgba(255, 204, 0, 0.15); /* Auxiliary color subtle accent */
  border-radius: 50%;
  filter: blur(100px);
  z-index: 0;
}

.page-promotions-referral-program__hero-content {
  max-width: 900px;
  z-index: 1;
}

.page-promotions-referral-program__title {
  font-size: 3.2em;
  margin-bottom: 20px;
  font-weight: bold;
  color: #FFCC00; /* Auxiliary color for highlight */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-promotions-referral-program__subtitle {
  font-size: 1.3em;
  margin-bottom: 30px;
  color: #e0e0e0;
}

.page-promotions-referral-program__cta-button {
  display: inline-block;
  background-color: #FFCC00; /* Auxiliary color */
  color: #003366; /* Main color for contrast */
  padding: 15px 35px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-promotions-referral-program__cta-button:hover {
  background-color: #e6b800; /* Darker auxiliary on hover */
  transform: translateY(-3px);
}

.page-promotions-referral-program__hero-image img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.page-promotions-referral-program__section {
  padding: 60px 20px;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.page-promotions-referral-program__section-title {
  font-size: 2.5em;
  color: #003366; /* Main color */
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
}

.page-promotions-referral-program__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #FFCC00; /* Auxiliary color */
  border-radius: 2px;
}

.page-promotions-referral-program__description {
  font-size: 1.1em;
  color: #555;
  max-width: 800px;
  margin: 0 auto 50px auto;
}

.page-promotions-referral-program__features-grid,
.page-promotions-referral-program__steps-grid,
.page-promotions-referral-program__reward-tiers {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-promotions-referral-program__feature-item,
.page-promotions-referral-program__step-item,
.page-promotions-referral-program__tier-item {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-promotions-referral-program__feature-item:hover,
.page-promotions-referral-program__step-item:hover,
.page-promotions-referral-program__tier-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.page-promotions-referral-program__feature-item h3,
.page-promotions-referral-program__step-item h3,
.page-promotions-referral-program__tier-item h3 {
  font-size: 1.6em;
  color: #003366; /* Main color */
  margin-top: 20px;
  margin-bottom: 15px;
}

.page-promotions-referral-program__feature-item p,
.page-promotions-referral-program__step-item p,
.page-promotions-referral-program__tier-item p {
  color: #666;
  font-size: 1em;
}

.page-promotions-referral-program__feature-icon {
  width: 70px;
  height: 70px;
  margin-bottom: 15px;
}

.page-promotions-referral-program__step-number {
  width: 50px;
  height: 50px;
  background-color: #FFCC00; /* Auxiliary color */
  color: #003366; /* Main color for contrast */
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.8em;
  font-weight: bold;
  margin: 0 auto 20px auto;
}

.page-promotions-referral-program__how-it-works a {
  color: #003366;
  font-weight: bold;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-promotions-referral-program__how-it-works a:hover {
  color: #FFCC00;
}

.page-promotions-referral-program__action-area {
  margin-top: 50px;
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.page-promotions-referral-program__secondary-button {
  display: inline-block;
  background-color: transparent;
  color: #003366; /* Main color */
  border: 2px solid #003366; /* Main color border */
  padding: 15px 35px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.page-promotions-referral-program__secondary-button:hover {
  background-color: #003366; /* Main color on hover */
  color: #FFCC00; /* Auxiliary color for text */
  transform: translateY(-3px);
}

.page-promotions-referral-program__tier-image {
  max-width: 150px;
  height: auto;
  margin-top: 20px;
}

.page-promotions-referral-program__note {
  font-style: italic;
  color: #777;
  margin-top: 30px;
  font-size: 0.95em;
}

.page-promotions-referral-program__terms-conditions {
  background-color: #e6f0f8; /* Lighter shade of main color */
  border-top: 5px solid #003366;
  border-bottom: 5px solid #003366;
}

.page-promotions-referral-program__terms-list {
  list-style-type: disc;
  text-align: left;
  max-width: 800px;
  margin: 40px auto;
  padding-left: 20px;
  color: #444;
}

.page-promotions-referral-program__terms-list li {
  margin-bottom: 10px;
  font-size: 1.05em;
  line-height: 1.8;
}

.page-promotions-referral-program__cta-button--small {
  padding: 12px 25px;
  font-size: 1em;
  margin-top: 30px;
}

.page-promotions-referral-program__faq-item {
  background-color: #ffffff;
  padding: 25px;
  margin-bottom: 20px;
  border-radius: 8px;
  text-align: left;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-promotions-referral-program__faq-item h3 {
  color: #003366; /* Main color */
  font-size: 1.4em;
  margin-top: 0;
  margin-bottom: 15px;
  cursor: pointer;
  position: relative;
  padding-right: 30px;
}

.page-promotions-referral-program__faq-item p {
  color: #555;
  font-size: 1em;
  display: block; /* Ensure content is visible by default */
}

.page-promotions-referral-program__call-to-action {
  background: #003366; /* Main color */
  color: #ffffff;
  padding: 80px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

.page-promotions-referral-program__call-to-action-content {
  max-width: 800px;
}

.page-promotions-referral-program__call-to-action .page-promotions-referral-program__section-title {
  color: #FFCC00; /* Auxiliary color */
  margin-bottom: 20px;
}

.page-promotions-referral-program__call-to-action .page-promotions-referral-program__section-title::after {
  background-color: #FFCC00;
}

.page-promotions-referral-program__call-to-action p {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #e0e0e0;
}

.page-promotions-referral-program__download-app-text a {
  color: #FFCC00;
  font-weight: bold;
  text-decoration: underline;
}

.page-promotions-referral-program__download-app-text a:hover {
  color: #ffffff;
}

.page-promotions-referral-program__cta-image img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Responsive Design */
@media (min-width: 768px) {
  .page-promotions-referral-program__hero {
    flex-direction: row;
    text-align: left;
    justify-content: space-between;
    padding: 100px 40px;
  }

  .page-promotions-referral-program__hero-content {
    flex: 1;
    padding-right: 40px;
  }

  .page-promotions-referral-program__hero-image {
    flex: 1;
    max-width: 50%;
  }

  .page-promotions-referral-program__title {
    font-size: 4em;
  }

  .page-promotions-referral-program__section {
    padding: 80px 40px;
  }

  .page-promotions-referral-program__features-grid,
  .page-promotions-referral-program__steps-grid,
  .page-promotions-referral-program__reward-tiers {
    grid-template-columns: repeat(2, 1fr);
  }

  .page-promotions-referral-program__call-to-action {
    flex-direction: row;
    text-align: left;
    justify-content: space-between;
    padding: 100px 40px;
  }

  .page-promotions-referral-program__call-to-action-content {
    flex: 1;
    padding-right: 40px;
  }

  .page-promotions-referral-program__cta-image {
    flex: 1;
    max-width: 50%;
  }
}

@media (min-width: 1024px) {
  .page-promotions-referral-program__features-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .page-promotions-referral-program__steps-grid,
  .page-promotions-referral-program__reward-tiers {
    grid-template-columns: repeat(3, 1fr);
  }
}