.steps-section {
    overflow: hidden;
    background:
        radial-gradient(circle at 78% 42%, rgba(36, 113, 255, 0.09), transparent 28%),
        linear-gradient(180deg, #04131f, #061827);
}

.referral-showcase {
    display: grid;
    grid-template-columns: 0.92fr 1.08fr;
    align-items: stretch;
    overflow: hidden;
    border: 1px solid rgba(53, 235, 166, 0.22);
    border-radius: 20px;
    background: linear-gradient(145deg, rgba(8, 28, 43, 0.97), rgba(5, 20, 34, 0.96));
    box-shadow: 0 28px 75px rgba(0, 0, 0, 0.28);
}

.referral-copy {
    position: relative;
    z-index: 2;
    padding: 48px;
}

.referral-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #35eba6;
    font-size: 11px;
    font-weight: 850;
    letter-spacing: 1.4px;
    text-transform: uppercase;
}

.referral-kicker span {
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    border-radius: 9px;
    background: rgba(53, 235, 166, 0.1);
}

.referral-copy h3 {
    margin: 22px 0 15px;
    color: #f5f8fb;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(32px, 3.1vw, 48px);
    line-height: 1.08;
    letter-spacing: -1.4px;
}

.referral-copy h3 strong {
    color: #35eba6;
    font-weight: inherit;
}

.referral-copy > p {
    max-width: 530px;
    color: #92a7b6;
    font-size: 14px;
    line-height: 1.75;
}

.reward-limit {
    display: flex;
    align-items: center;
    gap: 9px;
    width: max-content;
    max-width: 100%;
    margin: 23px 0 28px;
    padding: 10px 13px;
    border: 1px solid rgba(53, 235, 166, 0.35);
    border-radius: 9px;
    background: rgba(53, 235, 166, 0.06);
    color: #35eba6;
    font-size: 11px;
}

.reward-limit span { font-size: 15px; }
.reward-limit i { width: 3px; height: 3px; border-radius: 50%; background: #35eba6; opacity: 0.55; }

.referral-visual {
    position: relative;
    min-height: 430px;
    background: #001631;
}

.referral-visual::before {
    content: "";
    position: absolute;
    z-index: 1;
    inset: 0 auto 0 0;
    width: 110px;
    background: linear-gradient(90deg, #071c2c, transparent);
}

.referral-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.referral-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-top: 16px;
}

.referral-steps article {
    position: relative;
    min-height: 220px;
    padding: 27px;
    overflow: hidden;
    border: 1px solid rgba(148, 181, 205, 0.16);
    border-radius: 15px;
    background: #081b2a;
    transition: transform 220ms ease, border-color 220ms ease;
}

.referral-steps article:hover {
    transform: translateY(-5px);
    border-color: rgba(53, 235, 166, 0.35);
}

.referral-steps article > span {
    position: absolute;
    top: 12px;
    right: 20px;
    color: rgba(255, 255, 255, 0.05);
    font-family: Georgia, serif;
    font-size: 58px;
}

.referral-step-icon {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    margin-bottom: 30px;
    border: 1px solid rgba(53, 235, 166, 0.35);
    border-radius: 50%;
    color: #35eba6;
    font-weight: 850;
}

.referral-steps h3 {
    margin: 0 0 8px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 21px;
}

.referral-steps p {
    margin: 0;
    color: #8196a6;
    font-size: 12px;
}

@media (max-width: 900px) {
    .referral-showcase { grid-template-columns: 1fr; }
    .referral-copy { padding: 38px; }
    .referral-visual { min-height: 340px; }
    .referral-visual::before { inset: 0 0 auto; width: auto; height: 90px; background: linear-gradient(#071c2c, transparent); }
}

@media (max-width: 680px) {
    .referral-copy { padding: 28px 23px; }
    .referral-copy h3 { font-size: 34px; }
    .referral-visual { min-height: 260px; }
    .referral-steps { grid-template-columns: 1fr; }
    .referral-steps article { min-height: 190px; }
    .reward-limit { flex-wrap: wrap; }
}

@media (prefers-reduced-motion: reduce) {
    .referral-steps article { transition: none; }
    .referral-steps article:hover { transform: none; }
}
