.page-promotions-referral-program {
  font-family: 'Arial', sans-serif;
  color: #F0F0F0; /* Light gray for general text */
  background-color: #0A1931; /* Midnight Blue for main background */
  line-height: 1.6;
  padding-bottom: 50px;
}

.page-promotions-referral-program__hero {
  background: linear-gradient(135deg, #0A1931 0%, #1A2E4B 100%);
  color: #FFFFFF;
  padding: 80px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 40px;
}

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

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

.page-promotions-referral-program__hero-subtitle {
  font-size: 1.25em;
  margin-bottom: 30px;
  max-width: 800px;
  line-height: 1.8;
}

.page-promotions-referral-program__hero-actions {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-promotions-referral-program__button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
}

.page-promotions-referral-program__button--primary {
  background-color: #FFD700; /* Gold button */
  color: #0A1931; /* Midnight Blue text */
}

.page-promotions-referral-program__button--primary:hover {
  background-color: #E6C200;
  transform: translateY(-2px);
}

.page-promotions-referral-program__button--secondary {
  background-color: transparent;
  color: #FFD700; /* Gold text */
  border: 2px solid #FFD700;
}

.page-promotions-referral-program__button--secondary:hover {
  background-color: #FFD700;
  color: #0A1931;
  transform: translateY(-2px);
}

.page-promotions-referral-program__button--small {
  padding: 10px 20px;
  font-size: 0.9em;
}

.page-promotions-referral-program__hero-image {
  margin-top: 40px;
  max-width: 100%;
}

.page-promotions-referral-program__image {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
}

.page-promotions-referral-program__image--centered {
  display: block;
  margin: 40px auto;
}

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

.page-promotions-referral-program__section:nth-of-type(even) {
  background-color: #1A2E4B; /* Slightly lighter dark blue for alternating sections */
}

.page-promotions-referral-program__section-title {
  font-size: 2.5em;
  color: #FFD700; /* Gold for section titles */
  margin-bottom: 30px;
  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: #FFD700;
  border-radius: 2px;
}

.page-promotions-referral-program__section-description {
  font-size: 1.1em;
  max-width: 800px;
  margin: 0 auto 40px auto;
  color: #CCCCCC;
}

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

.page-promotions-referral-program__benefit-item {
  background-color: #0A1931;
  border: 1px solid rgba(255, 215, 0, 0.2);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-promotions-referral-program__benefit-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.5);
}

.page-promotions-referral-program__icon {
  width: 60px;
  height: 60px;
  margin-bottom: 20px;
  filter: drop-shadow(0 0 5px #FFD700);
}

.page-promotions-referral-program__icon--small {
  width: 40px;
  height: 40px;
  margin-right: 15px;
  vertical-align: middle;
  filter: drop-shadow(0 0 3px #FFD700);
}

.page-promotions-referral-program__benefit-title {
  font-size: 1.5em;
  color: #FFD700;
  margin-bottom: 15px;
}

.page-promotions-referral-program__benefit-text {
  font-size: 1em;
  color: #CCCCCC;
}

.page-promotions-referral-program__how-to {
  background-color: #0A1931;
}

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

.page-promotions-referral-program__steps-list li {
  background-color: #1A2E4B;
  border-left: 5px solid #FFD700;
  padding: 25px 30px;
  margin-bottom: 25px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.page-promotions-referral-program__step-title {
  font-size: 1.8em;
  color: #FFD700;
  margin-bottom: 10px;
}

.page-promotions-referral-program__link {
  color: #FFD700;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-promotions-referral-program__link:hover {
  color: #FFFFFF;
  text-decoration: underline;
}

.page-promotions-referral-program__rewards {
  background-color: #1A2E4B;
}

.page-promotions-referral-program__table-container {
  overflow-x: auto;
  margin-top: 40px;
}

.page-promotions-referral-program__reward-table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 auto;
  max-width: 900px;
  background-color: #0A1931;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.page-promotions-referral-program__reward-table th,
.page-promotions-referral-program__reward-table td {
  padding: 15px 20px;
  border: 1px solid rgba(255, 215, 0, 0.1);
  text-align: left;
  color: #F0F0F0;
}

.page-promotions-referral-program__reward-table th {
  background-color: #FFD700;
  color: #0A1931;
  font-weight: bold;
  font-size: 1.1em;
  text-transform: uppercase;
}

.page-promotions-referral-program__reward-table tr:nth-child(even) {
  background-color: #1A2E4B;
}

.page-promotions-referral-program__reward-table tr:hover {
  background-color: #2D4059;
}

.page-promotions-referral-program__note {
  font-size: 0.9em;
  color: #AAAAAA;
  margin-top: 20px;
}

.page-promotions-referral-program__tips {
  background-color: #0A1931;
}

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

.page-promotions-referral-program__tips-list li {
  background-color: #1A2E4B;
  border-left: 5px solid #FFD700;
  padding: 20px 25px;
  margin-bottom: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: flex-start;
  gap: 15px;
}

.page-promotions-referral-program__tips-list li strong {
  color: #FFD700;
  font-size: 1.2em;
  display: block;
  margin-bottom: 5px;
}

.page-promotions-referral-program__faq {
  background-color: #1A2E4B;
}

.page-promotions-referral-program__faq-item {
  background-color: #0A1931;
  border: 1px solid rgba(255, 215, 0, 0.2);
  border-radius: 8px;
  padding: 25px;
  margin-bottom: 20px;
  text-align: left;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

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

.page-promotions-referral-program__faq-question::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5em;
  line-height: 1;
  color: #FFD700;
  transition: transform 0.3s ease;
}

.page-promotions-referral-program__faq-question.active::after {
  content: '-';
  transform: translateY(-50%) rotate(180deg);
}

.page-promotions-referral-program__faq-answer {
  font-size: 1em;
  color: #CCCCCC;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease-out, opacity 0.5s ease-out;
  opacity: 0;
  padding-top: 0;
}

.page-promotions-referral-program__faq-answer.active {
  max-height: 200px; /* Adjust as needed */
  opacity: 1;
  padding-top: 15px;
}

.page-promotions-referral-program__cta {
  background-color: #0A1931;
  padding: 80px 20px;
  text-align: center;
  color: #FFFFFF;
}

.page-promotions-referral-program__cta-title {
  font-size: 3em;
  color: #FFD700;
  margin-bottom: 20px;
}

.page-promotions-referral-program__cta-description {
  font-size: 1.2em;
  max-width: 800px;
  margin: 0 auto 40px auto;
}

.page-promotions-referral-program__cta-actions {
  display: flex;
  gap: 25px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .page-promotions-referral-program__hero-title {
    font-size: 2.8em;
  }
  .page-promotions-referral-program__section-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-promotions-referral-program__hero {
    padding: 60px 15px;
  }
  .page-promotions-referral-program__hero-title {
    font-size: 2.2em;
  }
  .page-promotions-referral-program__hero-subtitle {
    font-size: 1.1em;
  }
  .page-promotions-referral-program__hero-actions {
    flex-direction: column;
    gap: 15px;
  }
  .page-promotions-referral-program__button {
    width: 100%;
    max-width: 300px;
  }
  .page-promotions-referral-program__section {
    padding: 40px 15px;
  }
  .page-promotions-referral-program__section-title {
    font-size: 1.8em;
  }
  .page-promotions-referral-program__grid {
    grid-template-columns: 1fr;
  }
  .page-promotions-referral-program__reward-table th,
  .page-promotions-referral-program__reward-table td {
    padding: 10px 15px;
    font-size: 0.9em;
  }
  .page-promotions-referral-program__cta-title {
    font-size: 2.5em;
  }
}

@media (max-width: 480px) {
  .page-promotions-referral-program__hero-title {
    font-size: 1.8em;
  }
  .page-promotions-referral-program__section-title {
    font-size: 1.5em;
  }
  .page-promotions-referral-program__cta-title {
    font-size: 2em;
  }
  .page-promotions-referral-program__faq-question {
    font-size: 1.2em;
  }
}