/* ===== Long CTA Button (Referral) ===== */
.cta-referral-btn{
  width: 100%;
  display: flex;
  align-items: center;
  gap: 14px;

  padding: 14px 16px;
  border-radius: 16px;

  text-decoration: none;
  color: #fff;

  background:
    radial-gradient(1200px 120px at 20% 0%, rgba(167, 139, 250, .55), transparent 60%),
    linear-gradient(135deg, rgba(99, 102, 241, .92), rgba(168, 85, 247, .88));
  border: 1px solid rgba(255, 255, 255, .12);

  box-shadow:
    0 18px 40px rgba(2, 6, 23, .45),
    0 0 0 1px rgba(255, 255, 255, .06) inset;

  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease, border-color .18s ease;
  position: relative;
  overflow: hidden;
}

/* ánh sáng chạy nhẹ */
.cta-referral-btn::before{
  content: "";
  position: absolute;
  top: -60%;
  left: -40%;
  width: 70%;
  height: 220%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.18), transparent);
  transform: rotate(20deg);
  transition: left .6s ease;
}

.cta-referral-btn:hover{
  transform: translateY(-2px);
  filter: brightness(1.03);
  border-color: rgba(255, 255, 255, .18);
  box-shadow:
    0 22px 50px rgba(2, 6, 23, .55),
    0 0 0 1px rgba(255, 255, 255, .08) inset;
}

.cta-referral-btn:hover::before{
  left: 120%;
}

.cta-referral-icon{
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;

  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: 0 10px 22px rgba(2, 6, 23, .25);
  flex: 0 0 auto;
}

.cta-referral-icon i{
  font-size: 1.15rem;
}

.cta-referral-text{
  flex: 1 1 auto;
  min-width: 0;

  font-weight: 650;
  font-size: 0.98rem;
  line-height: 1.25;
  letter-spacing: .1px;

  /* chữ dài vẫn đẹp */
  white-space: normal;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cta-referral-text b{
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 2px;
}

.cta-referral-arrow{
  width: 38px;
  height: 38px;
  border-radius: 999px;
  display: grid;
  place-items: center;

  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.12);
  flex: 0 0 auto;
  transition: transform .18s ease, background .18s ease;
}

.cta-referral-btn:hover .cta-referral-arrow{
  transform: translateX(2px);
  background: rgba(255,255,255,.16);
}

/* mobile: icon nhỏ lại, chữ gọn */
@media (max-width: 575.98px){
  .cta-referral-btn{ padding: 12px 14px; border-radius: 14px; }
  .cta-referral-icon{ width: 40px; height: 40px; border-radius: 12px; }
  .cta-referral-text{ font-size: 0.94rem; }
}
