.page-promotions-referral-rewards {
  font-family: 'Arial', sans-serif;
  color: #E0E0E0; /* Light gray for general text on dark background */
  background-color: #0A2239; /* Main dark blue background */
  line-height: 1.6;
}

.page-promotions-referral-rewards__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-promotions-referral-rewards__section {
  padding: 60px 0;
  text-align: center;
}

.page-promotions-referral-rewards__section:nth-child(even) {
  background-color: rgba(255, 215, 0, 0.05); /* Slightly lighter background for contrast */
}

.page-promotions-referral-rewards__section-title {
  font-size: 2.8em;
  color: #FFD700; /* Gold for titles */
  margin-bottom: 30px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 700;
}

.page-promotions-referral-rewards__text-content {
  font-size: 1.1em;
  max-width: 900px;
  margin: 0 auto 40px auto;
  color: #C0C0C0; /* Slightly lighter text for paragraphs */
}

/* Hero Section */
.page-promotions-referral-rewards__hero {
  position: relative;
  height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  text-align: center;
}

.page-promotions-referral-rewards__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.page-promotions-referral-rewards__hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(10, 34, 57, 0.9));
  z-index: 2;
}

.page-promotions-referral-rewards__hero-content {
  position: relative;
  z-index: 3;
  color: #FFFFFF;
  padding: 20px;
}

.page-promotions-referral-rewards__hero-title {
  font-size: 4.5em;
  margin-bottom: 20px;
  color: #FFD700; /* Gold for main title */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-promotions-referral-rewards__hero-subtitle {
  font-size: 1.8em;
  margin-bottom: 40px;
  color: #F0F0F0;
}

.page-promotions-referral-rewards__hero-button {
  display: inline-block;
  background-color: #DC143C; /* Red CTA button */
  color: #FFFFFF;
  padding: 15px 40px;
  font-size: 1.3em;
  font-weight: bold;
  border-radius: 5px;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.3s ease;
  box-shadow: 0 4px 15px rgba(220, 20, 60, 0.4);
}

.page-promotions-referral-rewards__hero-button:hover {
  background-color: #FF4500; /* Slightly brighter red on hover */
  transform: translateY(-3px);
}

/* Features Grid */
.page-promotions-referral-rewards__features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-promotions-referral-rewards__feature-item {
  background-color: #1A344A; /* Darker blue for feature cards */
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  text-align: center;
  transition: transform 0.3s ease;
}

.page-promotions-referral-rewards__feature-item:hover {
  transform: translateY(-10px);
}

.page-promotions-referral-rewards__feature-icon {
  width: 80px;
  height: 80px;
  margin-bottom: 20px;
  filter: drop-shadow(0 0 5px rgba(255, 215, 0, 0.6));
}

.page-promotions-referral-rewards__feature-item h3 {
  color: #FFD700; /* Gold for feature titles */
  font-size: 1.6em;
  margin-bottom: 15px;
}

.page-promotions-referral-rewards__feature-item p {
  color: #C0C0C0;
  font-size: 1em;
}

/* How It Works Section */
.page-promotions-referral-rewards__how-it-works {
  background-color: #0A2239;
}

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

.page-promotions-referral-rewards__step-item {
  background-color: #1A344A;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  text-align: left;
  position: relative;
  padding-top: 70px; /* Space for step number */
}

.page-promotions-referral-rewards__step-number {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #FFD700; /* Gold for step number background */
  color: #0A2239; /* Dark blue for step number text */
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2em;
  font-weight: bold;
  box-shadow: 0 5px 15px rgba(255, 215, 0, 0.5);
  border: 4px solid #0A2239;
}

.page-promotions-referral-rewards__step-item h3 {
  color: #FFD700;
  font-size: 1.5em;
  margin-bottom: 15px;
  text-align: center;
}

.page-promotions-referral-rewards__step-item p {
  color: #C0C0C0;
  font-size: 1em;
  text-align: center;
}

.page-promotions-referral-rewards__step-image {
  width: 100%;
  height: 180px;
  object-fit: contain;
  margin-top: 20px;
  border-radius: 8px;
  filter: brightness(0.9);
}

.page-promotions-referral-rewards__cta-box {
  background-color: #2A4860; /* Slightly lighter dark blue for CTA box */
  padding: 40px;
  border-radius: 10px;
  margin-top: 60px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
}

.page-promotions-referral-rewards__cta-box p {
  font-size: 1.4em;
  color: #F0F0F0;
  margin-bottom: 30px;
  font-weight: 500;
}

.page-promotions-referral-rewards__cta-button {
  display: inline-block;
  background-color: #DC143C; /* Red CTA button */
  color: #FFFFFF;
  padding: 15px 40px;
  font-size: 1.3em;
  font-weight: bold;
  border-radius: 5px;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.3s ease;
  box-shadow: 0 4px 15px rgba(220, 20, 60, 0.4);
}

.page-promotions-referral-rewards__cta-button:hover {
  background-color: #FF4500;
  transform: translateY(-3px);
}

/* Reward Details Section */
.page-promotions-referral-rewards__reward-details {
  background-color: rgba(255, 215, 0, 0.05);
}

.page-promotions-referral-rewards__details-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-promotions-referral-rewards__detail-item {
  background-color: #1A344A;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  text-align: left;
}

.page-promotions-referral-rewards__detail-item h3 {
  color: #FFD700;
  font-size: 1.6em;
  margin-bottom: 15px;
}

.page-promotions-referral-rewards__detail-item p {
  color: #C0C0C0;
  font-size: 1em;
}

/* Terms & Conditions Section */
.page-promotions-referral-rewards__terms-conditions {
  position: relative;
  padding-bottom: 100px; /* Space for image */
}

.page-promotions-referral-rewards__terms-list {
  list-style: none;
  padding: 0;
  margin: 50px auto 0 auto;
  max-width: 900px;
  text-align: left;
}

.page-promotions-referral-rewards__terms-list li {
  background-color: #1A344A;
  padding: 20px;
  margin-bottom: 15px;
  border-radius: 8px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
  color: #E0E0E0;
  font-size: 1.1em;
}

.page-promotions-referral-rewards__list-highlight {
  color: #FFD700;
  font-weight: bold;
}

.page-promotions-referral-rewards__terms-image {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  max-width: 700px;
  height: auto;
  opacity: 0.1;
  z-index: 0;
}

/* FAQ Section */
.page-promotions-referral-rewards__faq {
  background-color: rgba(255, 215, 0, 0.05);
  position: relative;
}

.page-promotions-referral-rewards__faq-item {
  background-color: #1A344A;
  padding: 25px;
  margin: 20px auto;
  border-radius: 8px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
  text-align: left;
  max-width: 900px;
}

.page-promotions-referral-rewards__faq-item h3 {
  color: #FFD700;
  font-size: 1.4em;
  margin-bottom: 10px;
  cursor: pointer;
  position: relative;
  padding-right: 30px;
}

.page-promotions-referral-rewards__faq-item h3::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5em;
  color: #DC143C;
}

.page-promotions-referral-rewards__faq-item.active h3::after {
  content: '-';
}

.page-promotions-referral-rewards__faq-item p {
  color: #C0C0C0;
  font-size: 1em;
  display: none;
  margin-top: 15px;
  padding-left: 10px;
  border-left: 3px solid #DC143C;
}

.page-promotions-referral-rewards__faq-item.active p {
  display: block;
}

.page-promotions-referral-rewards__faq-image {
  width: 120px;
  height: 120px;
  margin-top: 40px;
  opacity: 0.8;
  filter: drop-shadow(0 0 8px rgba(255, 215, 0, 0.5));
}

/* Call to Action Section */
.page-promotions-referral-rewards__call-to-action {
  background-color: #0A2239;
  padding-bottom: 80px;
}

.page-promotions-referral-rewards__cta-button--large {
  padding: 18px 50px;
  font-size: 1.5em;
  margin-top: 30px;
  box-shadow: 0 6px 20px rgba(220, 20, 60, 0.5);
}

.page-promotions-referral-rewards__cta-image {
  width: 100%;
  max-width: 600px;
  height: auto;
  margin-top: 50px;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-promotions-referral-rewards__hero-title {
    font-size: 3.5em;
  }
  .page-promotions-referral-rewards__hero-subtitle {
    font-size: 1.5em;
  }
  .page-promotions-referral-rewards__section-title {
    font-size: 2.2em;
  }
  .page-promotions-referral-rewards__text-content {
    font-size: 1em;
  }
  .page-promotions-referral-rewards__features-grid,
  .page-promotions-referral-rewards__steps-grid,
  .page-promotions-referral-rewards__details-grid {
    grid-template-columns: 1fr;
  }
  .page-promotions-referral-rewards__terms-image {
    width: 90%;
  }
}

@media (max-width: 768px) {
  .page-promotions-referral-rewards__hero {
    height: 500px;
  }
  .page-promotions-referral-rewards__hero-title {
    font-size: 2.8em;
  }
  .page-promotions-referral-rewards__hero-subtitle {
    font-size: 1.2em;
  }
  .page-promotions-referral-rewards__hero-button {
    padding: 12px 30px;
    font-size: 1.1em;
  }
  .page-promotions-referral-rewards__section {
    padding: 40px 0;
  }
  .page-promotions-referral-rewards__section-title {
    font-size: 1.8em;
  }
  .page-promotions-referral-rewards__text-content {
    margin-bottom: 20px;
  }
  .page-promotions-referral-rewards__step-item {
    padding-top: 50px;
  }
  .page-promotions-referral-rewards__step-number {
    width: 50px;
    height: 50px;
    font-size: 1.8em;
  }
  .page-promotions-referral-rewards__cta-box p {
    font-size: 1.2em;
  }
  .page-promotions-referral-rewards__cta-button--large {
    padding: 15px 40px;
    font-size: 1.3em;
  }
}

@media (max-width: 480px) {
  .page-promotions-referral-rewards__hero {
    height: 400px;
  }
  .page-promotions-referral-rewards__hero-title {
    font-size: 2em;
  }
  .page-promotions-referral-rewards__hero-subtitle {
    font-size: 1em;
  }
  .page-promotions-referral-rewards__hero-button {
    padding: 10px 25px;
    font-size: 1em;
  }
  .page-promotions-referral-rewards__section-title {
    font-size: 1.5em;
  }
  .page-promotions-referral-rewards__feature-item h3,
  .page-promotions-referral-rewards__detail-item h3 {
    font-size: 1.4em;
  }
  .page-promotions-referral-rewards__terms-list li,
  .page-promotions-referral-rewards__faq-item p {
    font-size: 0.9em;
  }
  .page-promotions-referral-rewards__faq-item h3 {
    font-size: 1.2em;
  }
}