.affiliate-page {
    color: #fff;
    background: #000c05;
}

.affiliate-page h1,
.affiliate-page h2,
.affiliate-page h3,
.affiliate-page p {
    margin: 0;
}

.affiliate-page section {
    background: none;
}

.affiliate-page .affiliate-eyebrow {
    color: #ffcc00;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .13em;
    line-height: 1.2;
    text-transform: uppercase;
}

.affiliate-hero {
    background:
        radial-gradient(circle at 77% 35%, rgba(0, 165, 154, .26), transparent 31%),
        radial-gradient(circle at 13% 7%, rgba(0, 60, 30, .75), transparent 37%),
        linear-gradient(125deg, #000c05 0%, #001f0f 100%) !important;
    overflow: hidden;
    padding: 84px 0 0;
    position: relative;
}

.affiliate-hero::after {
    border: 1px solid rgba(255, 204, 0, .17);
    border-radius: 50%;
    content: '';
    height: 620px;
    position: absolute;
    right: -260px;
    top: -310px;
    width: 620px;
}

.affiliate-hero__inner,
.affiliate-intro__inner {
    align-items: center;
    display: grid;
    gap: 70px;
    grid-template-columns: minmax(0, 1.08fr) minmax(320px, .92fr);
}

.affiliate-hero__content {
    max-width: 650px;
    position: relative;
    z-index: 1;
}

.affiliate-hero h1 {
    font-size: clamp(42px, 3.5vw, 68px);
    font-weight: 700;
    letter-spacing: -.045em;
    line-height: 1.04;
    margin: 18px 0 24px;
}

.affiliate-hero__lead {
    color: rgba(255, 255, 255, .84);
    font-size: 19px;
    line-height: 1.65;
    max-width: 590px;
}

.affiliate-cta {
    align-items: center;
    background: #ffcc00;
    border: 0;
    border-radius: 25px;
    box-shadow: 0 10px 24px rgba(0, 0, 0, .22);
    color: #000c05;
    display: inline-flex !important;
    font-size: 16px;
    font-weight: 700;
    gap: 14px;
    justify-content: center;
    margin-top: 35px;
    padding: 16px 26px;
    text-decoration: none;
    transition: transform .2s ease, box-shadow .2s ease;
}

.affiliate-cta:hover {
    box-shadow: 0 14px 28px rgba(0, 0, 0, .3);
    transform: translateY(-2px);
}

.affiliate-cta span {
    font-size: 21px;
    line-height: 0;
}

.affiliate-calculator {
    background: rgba(0, 20, 10, .82);
    border: 1px solid rgba(255, 204, 0, .3);
    border-radius: 20px;
    box-shadow: 0 24px 55px rgba(0, 0, 0, .25);
    color: #fff;
    padding: 36px 40px;
    position: relative;
    z-index: 1;
}

.affiliate-calculator h2 {
    font-size: 24px;
    font-weight: 500;
    letter-spacing: -.025em;
    line-height: 1.25;
    margin: 0 0 31px;
}

.affiliate-calculator h2 span {
    display: inline-block;
    position: relative;
}

.affiliate-calculator h2 span::after {
    background: #ffcc00;
    border-radius: 99px;
    bottom: -7px;
    content: '';
    height: 3px;
    left: 0;
    position: absolute;
    transform: rotate(-3deg);
    width: 100%;
}

.affiliate-calculator__income > p,
.affiliate-calculator__referrals > p {
    color: #fff;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.35;
    margin: 0;
}

.affiliate-calculator__amount {
    align-items: center;
    display: flex;
    gap: 14px;
    margin: 16px 0 24px;
}

.affiliate-calculator__currency {
    align-items: center;
    background: #ffe3cb;
    border: 1px solid #ffc993;
    border-radius: 50%;
    color: #000c05;
    display: inline-flex;
    flex: 0 0 auto;
    font-size: 29px;
    font-weight: 700;
    height: 51px;
    justify-content: center;
    line-height: 1;
    width: 51px;
}

.affiliate-calculator__amount strong {
    color: #fff;
    font-size: 40px;
    font-weight: 500;
    letter-spacing: -.035em;
    line-height: 1;
}

.affiliate-calculator__slider {
    height: 39px;
    margin-top: 20px;
    position: relative;
}

.affiliate-calculator__slider input {
    -webkit-appearance: none;
    appearance: none;
    background: transparent;
    cursor: pointer;
    height: 34px;
    left: 0;
    margin: 0;
    opacity: 0;
    position: absolute;
    top: -10px;
    width: 100%;
    z-index: 2;
}

.affiliate-calculator__track {
    align-items: center;
    display: flex;
    height: 24px;
    justify-content: space-between;
    position: relative;
}

.affiliate-calculator__track::before,
.affiliate-calculator__progress {
    background: rgba(255, 204, 0, .25);
    border-radius: 99px;
    content: '';
    height: 5px;
    left: 0;
    position: absolute;
    top: 9px;
}

.affiliate-calculator__track::before {
    right: 0;
}

.affiliate-calculator__progress {
    background: #ffcc00;
    transition: width .18s ease;
    z-index: 1;
}

.affiliate-calculator__dot {
    background: rgba(255, 204, 0, .35);
    border: 3px solid #fff;
    border-radius: 50%;
    height: 20px;
    position: relative;
    transition: background .18s ease, border-color .18s ease, box-shadow .18s ease;
    width: 20px;
    z-index: 1;
}

.affiliate-calculator__dot.is-active {
    background: #fff;
    border-color: #ffcc00;
    box-shadow: inset 0 0 0 4px #fff;
}

.affiliate-calculator__dot.is-active::after {
    background: #ffcc00;
    border-radius: 50%;
    content: '';
    height: 6px;
    left: 4px;
    position: absolute;
    top: 4px;
    width: 6px;
}

.affiliate-calculator__labels {
    color: rgba(255, 255, 255, .78);
    display: flex;
    font-size: 12px;
    justify-content: space-between;
    line-height: 1.2;
    margin-top: -3px;
}

.affiliate-calculator__labels .is-active {
    color: #ffcc00;
    font-weight: 700;
}

.affiliate-page .affiliate-calculator__note {
    color: rgba(255, 255, 255, .62);
    font-size: 13px;
    line-height: 1.45;
    margin: 20px 0 0;
}

.affiliate-calculator__note + .affiliate-calculator__note {
    margin-top: 5px;
}

.affiliate-intro {
    background:
        radial-gradient(circle at 0 50%, rgba(0, 60, 30, .45), transparent 33%),
        #000c05 !important;
    padding: 60px 0 0 0;
}

.affiliate-intro__content h2,
.affiliate-steps h2 {
    font-size: clamp(34px, 3.5vw, 52px);
    letter-spacing: -.035em;
    line-height: 1.1;
    margin: 16px 0 22px;
}

.affiliate-intro__content > p:not(.affiliate-eyebrow) {
    color: rgba(255, 255, 255, .8);
    font-size: 18px;
    line-height: 1.68;
    max-width: 570px;
}

.affiliate-checklist {
    display: grid;
    gap: 12px;
    list-style: none;
    margin: 28px 0 0;
    padding: 0;
}

.affiliate-checklist li {
    align-items: center;
    color: #fff;
    display: flex;
    font-size: 16px;
    font-weight: 600;
    gap: 12px;
}

.affiliate-checklist li::before {
    align-items: center;
    background: #ffcc00;
    border-radius: 50%;
    color: #000c05;
    content: '✓';
    display: inline-flex;
    font-size: 12px;
    font-weight: 900;
    height: 20px;
    justify-content: center;
    width: 20px;
}

.affiliate-form-card {
    background: rgba(0, 20, 10, .76);
    border: 1px solid rgba(255, 204, 0, .32);
    border-radius: 20px;
    box-shadow: 0 22px 50px rgba(0, 0, 0, .26);
    padding: 36px;
}

.affiliate-form-card__tag {
    color: #ffcc00;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .11em;
    margin-bottom: 10px !important;
    text-transform: uppercase;
}

.affiliate-form-card h2 {
    font-size: 28px;
    line-height: 1.2;
    margin-bottom: 24px;
}

.affiliate-form-card #registration-form {
    background: transparent;
    max-width: none;
    padding: 0;
}

.affiliate-form-card #registration-form .newRegForm input:not([type="submit"]) {
    border-color: rgba(255, 255, 255, .3) !important;
}

.affiliate-form-card #registration-form .form-footer {
    color: rgba(255, 255, 255, .72);
}

.affiliate-steps {
    background:
        radial-gradient(circle at 50% 0, rgba(0, 60, 30, .7), transparent 48%),
        #000c05 !important;
    padding: 60px 0 0 0 ;
}

.affiliate-steps__heading {
    margin: 0 auto 56px;
    max-width: 670px;
    text-align: center;
}

.affiliate-steps__heading > p:last-child {
    color: rgba(255, 255, 255, .76);
    font-size: 17px;
    line-height: 1.6;
}

.affiliate-steps__grid {
    display: grid;
    gap: 24px;
    grid-template-columns: repeat(3, 1fr);
}

.affiliate-step {
    background: rgba(0, 20, 10, .68);
    border: 1px solid rgba(255, 255, 255, .11);
    border-radius: 16px;
    min-height: 245px;
    padding: 30px;
    position: relative;
}

.affiliate-step__number {
    color: #ffcc00;
    display: block;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: .08em;
    margin-bottom: 44px;
}

.affiliate-step h3 {
    font-size: 23px;
    line-height: 1.2;
    margin-bottom: 12px;
}

.affiliate-step p {
    color: rgba(255, 255, 255, .72);
    font-size: 15px;
    line-height: 1.6;
}

.affiliate-steps__cta {
    text-align: center;
}

@media (max-width: 768px) {
    .affiliate-hero {
        padding: 64px 0 70px;
    }

    .affiliate-hero__inner,
    .affiliate-intro__inner {
        gap: 38px;
        grid-template-columns: 1fr;
    }

    .affiliate-hero h1 {
        font-size: 32px;
    }

    .affiliate-hero__lead,
    .affiliate-intro__content > p:not(.affiliate-eyebrow) {
        font-size: 17px;
    }

    .affiliate-calculator {
        padding: 30px 24px;
    }

    .affiliate-calculator h2 {
        font-size: 22px;
    }

    .affiliate-calculator__amount strong {
        font-size: 36px;
    }

    .affiliate-intro,
    .affiliate-steps {
        padding: 70px 0;
    }

    .affiliate-form-card {
        padding: 26px 20px;
    }

    .affiliate-steps__grid {
        grid-template-columns: 1fr;
    }

    .affiliate-step {
        min-height: auto;
    }

    .affiliate-step__number {
        margin-bottom: 26px;
    }
}