/* style/promotions-referral.css */
.page-promotions-referral {
  font-family: 'Arial', sans-serif;
  color: #333;
  line-height: 1.6;
  background-color: #f8f9fa;
}

.page-promotions-referral__hero-section {
  background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
  color: #fff;
  padding: 80px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-promotions-referral__hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('[GALLERY:bg:abstract,geometric,blue_pattern]') no-repeat center center/cover;
  opacity: 0.1;
  z-index: 0;
}

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

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

.page-promotions-referral__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #e0e0e0;
}

.page-promotions-referral__hero-image-wrapper {
  margin-top: 40px;
  max-width: 600px;
  width: 100%;
  z-index: 1;
}

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

.page-promotions-referral__btn {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.3s ease;
  margin: 10px;
  cursor: pointer;
}

.page-promotions-referral__btn--primary {
  background-color: #ffc107; /* Auxiliary color */
  color: #000; /* Dark text for contrast */
  border: 2px solid #ffc107;
}

.page-promotions-referral__btn--primary:hover {
  background-color: #e0a800;
  transform: translateY(-3px);
}

.page-promotions-referral__btn--secondary {
  background-color: transparent;
  color: #ffc107;
  border: 2px solid #ffc107;
}

.page-promotions-referral__btn--secondary:hover {
  background-color: rgba(255, 193, 7, 0.1);
  transform: translateY(-3px);
}

.page-promotions-referral__btn--large {
  padding: 18px 35px;
  font-size: 1.2em;
}

.page-promotions-referral__section {
  padding: 60px 20px;
  text-align: center;
}

.page-promotions-referral__section:nth-of-type(even) {
  background-color: #e9ecef;
}

.page-promotions-referral__container {
  max-width: 1200px;
  margin: 0 auto;
}

.page-promotions-referral__section-title {
  font-size: 2.5em;
  margin-bottom: 20px;
  color: #007bff; /* Primary color */
  font-weight: bold;
}

.page-promotions-referral__section-intro {
  font-size: 1.1em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #555;
}

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

.page-promotions-referral__feature-item,
.page-promotions-referral__reward-item {
  background-color: #fff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.page-promotions-referral__feature-item:hover,
.page-promotions-referral__reward-item:hover {
  transform: translateY(-5px);
}

.page-promotions-referral__feature-icon {
  width: 60px;
  height: 60px;
  margin-bottom: 15px;
}

.page-promotions-referral__feature-title,
.page-promotions-referral__reward-title {
  font-size: 1.5em;
  color: #007bff;
  margin-bottom: 10px;
}

.page-promotions-referral__feature-description,
.page-promotions-referral__reward-description {
  font-size: 1em;
  color: #666;
}

.page-promotions-referral__step-item {
  background-color: #fff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.page-promotions-referral__step-number {
  width: 50px;
  height: 50px;
  background-color: #ffc107;
  color: #000;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.8em;
  font-weight: bold;
  margin-bottom: 20px;
}

.page-promotions-referral__step-title {
  font-size: 1.6em;
  color: #007bff;
  margin-bottom: 10px;
}

.page-promotions-referral__step-description {
  font-size: 1em;
  color: #666;
  margin-bottom: 20px;
}

.page-promotions-referral__step-description a {
  color: #007bff;
  text-decoration: none;
  font-weight: bold;
}

.page-promotions-referral__step-description a:hover {
  text-decoration: underline;
}

.page-promotions-referral__step-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-top: 15px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-promotions-referral__tips-list {
  list-style: none;
  padding: 0;
  text-align: left;
  max-width: 800px;
  margin: 0 auto 40px auto;
}

.page-promotions-referral__tips-list li {
  background-color: #fff;
  margin-bottom: 15px;
  padding: 20px;
  border-left: 5px solid #007bff;
  border-radius: 5px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  color: #333;
}

.page-promotions-referral__tips-list li strong {
  color: #0056b3;
}

.page-promotions-referral__tips-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.page-promotions-referral__terms-content {
  background-color: #fff;
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: left;
  max-width: 900px;
  margin: 0 auto;
}

.page-promotions-referral__terms-subtitle {
  font-size: 1.4em;
  color: #007bff;
  margin-top: 25px;
  margin-bottom: 10px;
}

.page-promotions-referral__terms-content p {
  margin-bottom: 15px;
  color: #444;
}

.page-promotions-referral__faq-list {
  text-align: left;
  max-width: 900px;
  margin: 0 auto;
}

.page-promotions-referral__faq-item {
  background-color: #fff;
  margin-bottom: 15px;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.page-promotions-referral__faq-question {
  font-size: 1.3em;
  color: #007bff;
  margin-bottom: 10px;
  cursor: pointer;
  position: relative;
  padding-right: 30px;
}

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

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

.page-promotions-referral__faq-answer {
  font-size: 1em;
  color: #666;
  display: none;
  padding-top: 10px;
  border-top: 1px solid #eee;
  margin-top: 10px;
}

.page-promotions-referral__faq-answer.active {
  display: block;
}

.page-promotions-referral__cta-section {
  background: linear-gradient(45deg, #007bff, #0056b3);
  color: #fff;
  padding: 80px 20px;
  text-align: center;
}

.page-promotions-referral__cta-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  color: #ffc107;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
}

.page-promotions-referral__cta-description {
  font-size: 1.2em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #e0e0e0;
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .page-promotions-referral__hero-title {
    font-size: 2.8em;
  }
  .page-promotions-referral__section-title {
    font-size: 2em;
  }
  .page-promotions-referral__features-grid,
  .page-promotions-referral__steps-grid,
  .page-promotions-referral__rewards-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
  .page-promotions-referral__hero-section {
    flex-direction: column;
  }
}

@media (max-width: 768px) {
  .page-promotions-referral__hero-title {
    font-size: 2.2em;
  }
  .page-promotions-referral__hero-description {
    font-size: 1em;
  }
  .page-promotions-referral__btn {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-promotions-referral__btn--large {
    padding: 15px 30px;
    font-size: 1.1em;
  }
  .page-promotions-referral__section {
    padding: 40px 15px;
  }
  .page-promotions-referral__section-title {
    font-size: 1.8em;
  }
  .page-promotions-referral__section-intro {
    font-size: 0.95em;
  }
  .page-promotions-referral__terms-content {
    padding: 25px;
  }
  .page-promotions-referral__cta-title {
    font-size: 2.2em;
  }
  .page-promotions-referral__cta-description {
    font-size: 1em;
  }
}

@media (max-width: 576px) {
  .page-promotions-referral__hero-title {
    font-size: 1.8em;
  }
  .page-promotions-referral__hero-description {
    font-size: 0.9em;
  }
  .page-promotions-referral__btn {
    display: block;
    width: calc(100% - 20px);
    margin: 10px auto;
  }
  .page-promotions-referral__section-title {
    font-size: 1.5em;
  }
  .page-promotions-referral__features-grid,
  .page-promotions-referral__steps-grid,
  .page-promotions-referral__rewards-grid {
    grid-template-columns: 1fr;
  }
  .page-promotions-referral__feature-item, 
  .page-promotions-referral__reward-item, 
  .page-promotions-referral__step-item {
    padding: 20px;
  }
  .page-promotions-referral__terms-content {
    padding: 15px;
  }
  .page-promotions-referral__faq-question {
    font-size: 1.1em;
  }
  .page-promotions-referral__cta-title {
    font-size: 1.8em;
  }
}