.page-promotions-referral-program {
  font-family: 'Arial', sans-serif;
  color: #FFFFFF; /* Light text on dark background */
  background-color: #0A192F;
  line-height: 1.6;
}

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

.page-promotions-referral-program__hero-section {
  background: linear-gradient(135deg, #0A192F 0%, #1a3a62 100%);
  padding: 100px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  overflow: hidden;
}

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

.page-promotions-referral-program__hero-title {
  font-size: 3.5em;
  color: #FFD700;
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-promotions-referral-program__hero-subtitle {
  font-size: 1.4em;
  color: #E0E0E0;
  margin-bottom: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-promotions-referral-program__cta-button {
  display: inline-block;
  background-color: #FFD700;
  color: #0A192F;
  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: #e6c200;
  transform: translateY(-3px);
}

.page-promotions-referral-program__hero-image-container {
  position: absolute;
  bottom: -50px; /* Adjust to show part of the image */
  right: -50px;
  width: 500px;
  height: 500px;
  opacity: 0.15;
  z-index: 0;
}

.page-promotions-referral-program__hero-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.page-promotions-referral-program__section-title {
  font-size: 2.5em;
  color: #FFD700;
  text-align: center;
  margin-bottom: 20px;
  padding-top: 60px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.page-promotions-referral-program__section-description {
  font-size: 1.1em;
  color: #CCCCCC;
  text-align: center;
  margin-bottom: 50px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-promotions-referral-program__benefits-section,
.page-promotions-referral-program__how-it-works-section,
.page-promotions-referral-program__rewards-details-section,
.page-promotions-referral-program__terms-conditions-section,
.page-promotions-referral-program__faq-section,
.page-promotions-referral-program__cta-final-section {
  padding: 80px 0;
}

.page-promotions-referral-program__benefits-section {
  background-color: #0A192F;
}

.page-promotions-referral-program__benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  text-align: center;
}

.page-promotions-referral-program__benefit-item {
  background-color: #1a2c4a;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.page-promotions-referral-program__benefit-item:hover {
  transform: translateY(-10px);
  background-color: #2a416a;
}

.page-promotions-referral-program__benefit-icon {
  width: 60px;
  height: 60px;
  margin-bottom: 20px;
  filter: invert(80%) sepia(80%) saturate(1000%) hue-rotate(0deg) brightness(1.2);
}

.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: #B0B0B0;
}

.page-promotions-referral-program__how-it-works-section {
  background-color: #1a2c4a;
}

.page-promotions-referral-program__steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  counter-reset: step-counter;
}

.page-promotions-referral-program__step-item {
  background-color: #0A192F;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  position: relative;
  text-align: center;
}

.page-promotions-referral-program__step-number {
  counter-increment: step-counter;
  font-size: 2.5em;
  font-weight: bold;
  color: #FFD700;
  margin-bottom: 15px;
  display: inline-block;
  width: 60px;
  height: 60px;
  line-height: 60px;
  border: 3px solid #FFD700;
  border-radius: 50%;
  background-color: #0A192F;
}

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

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

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

.page-promotions-referral-program__inline-link:hover {
  color: #e6c200;
  text-decoration: underline;
}

.page-promotions-referral-program__action-area {
  text-align: center;
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid rgba(255, 215, 0, 0.2);
}

.page-promotions-referral-program__action-text {
  font-size: 1.3em;
  color: #E0E0E0;
  margin-bottom: 25px;
}

.page-promotions-referral-program__cta-button--secondary {
  background-color: #0A192F;
  color: #FFD700;
  border: 2px solid #FFD700;
}

.page-promotions-referral-program__cta-button--secondary:hover {
  background-color: #FFD700;
  color: #0A192F;
  transform: translateY(-3px);
}

.page-promotions-referral-program__rewards-details-section {
  background-color: #0A192F;
}

.page-promotions-referral-program__rewards-table-wrapper {
  overflow-x: auto;
  margin-bottom: 30px;
}

.page-promotions-referral-program__rewards-table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 auto;
  background-color: #1a2c4a;
  color: #FFFFFF;
  border-radius: 10px;
  overflow: hidden;
}

.page-promotions-referral-program__rewards-table th,
.page-promotions-referral-program__rewards-table td {
  padding: 15px 20px;
  text-align: left;
  border-bottom: 1px solid #0A192F;
}

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

.page-promotions-referral-program__rewards-table tr:last-child td {
  border-bottom: none;
}

.page-promotions-referral-program__rewards-table tbody tr:nth-child(odd) {
  background-color: #0A192F;
}

.page-promotions-referral-program__rewards-table tbody tr:hover {
  background-color: #2a416a;
}

.page-promotions-referral-program__note {
  font-size: 0.95em;
  color: #B0B0B0;
  text-align: center;
  margin-top: 20px;
  font-style: italic;
}

.page-promotions-referral-program__terms-conditions-section {
  background-color: #1a2c4a;
}

.page-promotions-referral-program__terms-list {
  list-style: none;
  padding: 0;
  max-width: 900px;
  margin: 0 auto;
}

.page-promotions-referral-program__terms-list li {
  background-color: #0A192F;
  margin-bottom: 15px;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
  color: #E0E0E0;
  font-size: 1.05em;
  position: relative;
  padding-left: 45px;
}

.page-promotions-referral-program__terms-list li::before {
  content: '✓';
  color: #FFD700;
  font-weight: bold;
  font-size: 1.5em;
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
}

.page-promotions-referral-program__faq-section {
  background-color: #0A192F;
}

.page-promotions-referral-program__faq-item {
  background-color: #1a2c4a;
  margin-bottom: 20px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.page-promotions-referral-program__faq-question {
  font-size: 1.3em;
  color: #FFD700;
  padding: 20px;
  cursor: pointer;
  position: relative;
  margin: 0;
  transition: background-color 0.3s ease;
}

.page-promotions-referral-program__faq-question:hover {
  background-color: #2a416a;
}

.page-promotions-referral-program__faq-question::after {
  content: '+';
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5em;
  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: #E0E0E0;
  padding: 0 20px 20px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
}

.page-promotions-referral-program__faq-answer.active {
  max-height: 200px; /* Adjust as needed */
  padding: 0 20px 20px;
}

.page-promotions-referral-program__cta-final-section {
  background-color: #1a2c4a;
  text-align: center;
  padding-bottom: 100px;
}

.page-promotions-referral-program__cta-final-section .page-promotions-referral-program__cta-button {
  margin: 0 15px;
}

.page-promotions-referral-program__cta-button--outline {
  background-color: transparent;
  color: #FFD700;
  border: 2px solid #FFD700;
}

.page-promotions-referral-program__cta-button--outline:hover {
  background-color: #FFD700;
  color: #0A192F;
  transform: translateY(-3px);
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-promotions-referral-program__hero-title {
    font-size: 2.8em;
  }
  .page-promotions-referral-program__hero-subtitle {
    font-size: 1.2em;
  }
  .page-promotions-referral-program__section-title {
    font-size: 2em;
  }
  .page-promotions-referral-program__hero-image-container {
    width: 400px;
    height: 400px;
    bottom: -30px;
    right: -30px;
  }
}

@media (max-width: 768px) {
  .page-promotions-referral-program__hero-section {
    padding: 80px 0 150px;
  }
  .page-promotions-referral-program__hero-title {
    font-size: 2.2em;
  }
  .page-promotions-referral-program__hero-subtitle {
    font-size: 1em;
  }
  .page-promotions-referral-program__cta-button {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-promotions-referral-program__section-title {
    font-size: 1.8em;
  }
  .page-promotions-referral-program__benefits-grid,
  .page-promotions-referral-program__steps-grid {
    grid-template-columns: 1fr;
  }
  .page-promotions-referral-program__hero-image-container {
    width: 300px;
    height: 300px;
    bottom: -10px;
    right: -10px;
  }
  .page-promotions-referral-program__rewards-table th,
  .page-promotions-referral-program__rewards-table td {
    padding: 10px 15px;
  }
  .page-promotions-referral-program__terms-list li {
    padding: 15px 15px 15px 40px;
    font-size: 0.95em;
  }
  .page-promotions-referral-program__terms-list li::before {
    left: 10px;
    font-size: 1.3em;
  }
  .page-promotions-referral-program__faq-question {
    font-size: 1.1em;
    padding: 15px;
  }
  .page-promotions-referral-program__faq-question::after {
    right: 15px;
    font-size: 1.3em;
  }
  .page-promotions-referral-program__faq-answer {
    padding: 0 15px 15px;
  }
  .page-promotions-referral-program__cta-final-section .page-promotions-referral-program__cta-button {
    margin: 10px 0;
    width: 80%;
    max-width: 300px;
  }
}

@media (max-width: 480px) {
  .page-promotions-referral-program__hero-section {
    padding: 60px 0 120px;
  }
  .page-promotions-referral-program__hero-title {
    font-size: 1.8em;
  }
  .page-promotions-referral-program__hero-subtitle {
    font-size: 0.9em;
  }
  .page-promotions-referral-program__section-title {
    font-size: 1.5em;
    padding-top: 40px;
  }
  .page-promotions-referral-program__section-description {
    font-size: 0.9em;
  }
  .page-promotions-referral-program__hero-image-container {
    width: 200px;
    height: 200px;
    bottom: 0px;
    right: 0px;
  }
  .page-promotions-referral-program__rewards-table {
    font-size: 0.9em;
  }
  .page-promotions-referral-program__rewards-table th,
  .page-promotions-referral-program__rewards-table td {
    padding: 8px 10px;
  }
}