
/* ----- Intro card ----- */
.aff-intro-card {
    max-width: 920px;
    background: #fff;
    border: 1px solid var(--border-indigo) !important;
    border-radius: 16px !important;
    padding: 1.75rem 2rem;
    box-shadow: 0 8px 24px -16px rgba(78, 49, 173, .12);
}

.aff-intro-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: .82rem;
    font-weight: 600;
    background: var(--light-purple-shade);
    color: var(--primary-purple);
    border: 1px solid var(--border-indigo);
    border-radius: 999px;
    padding: .35rem .9rem;
    margin-bottom: 1rem;
}

.aff-intro-badge svg {
    width: 14px;
    height: 14px;
    stroke-width: 2;
}

.aff-intro-card p {
    color: var(--text-body);
    line-height: 1.75;
    margin: 0;
}

.aff-intro-card p::first-letter {
    font-weight: 700;
    color: var(--text-main);
}

/* ----- Bonus banner — brand purple gradient ----- */
.aff-bonus-banner {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-purple) 100%);
    border-radius: 16px;
    color: #fff;
    box-shadow: 0 18px 38px -22px rgba(78, 49, 173, .55);
}

.aff-bonus-icon {
    width: 54px;
    height: 54px;
    background: rgba(255, 255, 255, .18);
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.aff-bonus-icon svg {
    width: 26px;
    height: 26px;
    stroke-width: 2;
}

.aff-bonus-label {
    text-transform: uppercase;
    font-size: .72rem;
    letter-spacing: .12em;
    opacity: .85;
}

.aff-bonus-value {
    font-size: 1.45rem;
    font-weight: 700;
    line-height: 1.2;
}

/* ----- Tier cards ----- */
.aff-tier {
    background: #fff;
    border: 1px solid var(--border-indigo) !important;
    border-radius: 16px !important;
    padding: 1.5rem;
    transition: transform .25s ease, box-shadow .25s ease;
    overflow: hidden;
}

.aff-tier:hover {
    transform: translateY(-4px);
    box-shadow: 0 22px 44px -28px rgba(78, 49, 173, .25);
}

.aff-tier::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 4px;
    background: var(--tier-accent, var(--primary-purple));
    border-radius: 16px 16px 0 0;
}

.aff-tier[data-tier="1"] { --tier-accent: var(--primary-blue); }
.aff-tier[data-tier="2"] { --tier-accent: var(--primary-purple); }
.aff-tier[data-tier="3"] { --tier-accent: var(--brand-indigo); }

.aff-tier-badge {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    font-size: .72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .14em;
    border-radius: 999px;
    padding: .35rem .85rem;
    margin-bottom: .85rem;
    background: var(--light-purple-shade);
    color: var(--primary-purple);
}

.aff-tier[data-tier="1"] .aff-tier-badge {
    background: #eff6ff;
    color: #1d4ed8;
}

.aff-tier[data-tier="3"] .aff-tier-badge {
    background: #ede9fe;
    color: var(--brand-indigo);
}

.aff-tier-num {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: currentColor;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: .68rem;
    font-weight: 700;
}

.aff-tier-meta {
    color: var(--text-body);
    font-size: .85rem;
    margin-bottom: .35rem;
}

.aff-tier-price {
    font-size: 1.75rem;
    font-weight: 700;
    line-height: 1.1;
    color: var(--text-main);
}

.aff-tier-price small {
    font-size: 1rem;
    color: var(--text-body);
    font-weight: 600;
}

.aff-tier-desc {
    color: var(--text-body);
    font-size: .87rem;
    margin: .75rem 0 0;
}

/* ----- Payout cards ----- */
.aff-method-card {
    background: #fff;
    border: 1px solid var(--border-indigo);
    border-radius: 16px;
    padding: 1.5rem;
    height: 100%;
}

.aff-method-head {
    display: flex;
    align-items: center;
    gap: .85rem;
    margin-bottom: .85rem;
}

.aff-method-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: var(--light-purple-shade);
    color: var(--primary-purple);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.aff-method-icon svg {
    width: 20px;
    height: 20px;
    stroke-width: 2;
}

.aff-method-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-main);
    margin: 0;
}

.aff-method-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.aff-method-list li {
    display: flex;
    gap: .85rem;
    padding: .85rem 0;
    border-top: 1px solid var(--border-indigo);
}

.aff-method-list-icon {
    width: 26px;
    height: 26px;
    border-radius: 6px;
    background: var(--light-purple-shade);
    color: var(--primary-purple);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.aff-method-list-icon svg {
    width: 14px;
    height: 14px;
    stroke-width: 2;
}

.aff-method-list-text {
    color: var(--text-body);
    font-size: .9rem;
    line-height: 1.55;
}

.aff-method-list-text strong {
    color: var(--text-main);
    font-weight: 700;
}

/* ----- Eligible / Not Eligible ----- */
.aff-elig-card {
    border-radius: 16px;
    padding: 1.5rem;
    height: 100%;
}

.aff-elig-card.allow {
    background: linear-gradient(180deg, #ecfdf5 0%, #fff 100%);
    border: 1px solid #a7f3d0;
}

.aff-elig-card.deny {
    background: linear-gradient(180deg, #fef2f2 0%, #fff 100%);
    border: 1px solid #fecaca;
}

.aff-elig-title {
    display: flex;
    align-items: center;
    gap: .5rem;
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: var(--text-main);
}

.aff-elig-title-icon {
    width: 30px;
    height: 30px;
    border-radius: 6px;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.aff-elig-card.allow .aff-elig-title-icon { background: #10b981; }
.aff-elig-card.deny .aff-elig-title-icon { background: #ef4444; }

.aff-elig-title-icon svg {
    width: 16px;
    height: 16px;
    stroke-width: 2.5;
}

.aff-prod {
    background: #fff;
    border-radius: 12px;
    padding: .75rem 1rem;
    display: flex;
    align-items: center;
    gap: .6rem;
    font-size: .9rem;
    font-weight: 600;
    height: 100%;
    transition: transform .2s ease;
}

.aff-prod:hover { transform: translateY(-2px); }

.aff-prod svg,
.aff-prod i {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
}

.aff-elig-card.allow .aff-prod {
    border: 1px solid #a7f3d0;
    color: var(--text-main);
}

.aff-elig-card.allow .aff-prod svg,
.aff-elig-card.allow .aff-prod i {
    color: #059669;
}

.aff-elig-card.deny .aff-prod {
    border: 1px solid #fecaca;
    color: var(--text-body);
}

.aff-elig-card.deny .aff-prod svg,
.aff-elig-card.deny .aff-prod i {
    color: #dc2626;
}

/* ----- Compliance rules ----- */
.aff-rule {
    background: #fff;
    border: 1px solid var(--border-indigo);
    border-radius: 12px;
    padding: 1rem 1.1rem;
    border-left: 4px solid var(--rule-c, var(--primary-purple)) !important;
    display: flex;
    gap: .85rem;
    height: 100%;
    transition: transform .2s ease, box-shadow .2s ease;
}

.aff-rule:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 30px -22px rgba(78, 49, 173, .22);
}

.aff-rule.deny { --rule-c: #ef4444; }
.aff-rule.allow { --rule-c: #10b981; }
.aff-rule.note { --rule-c: var(--primary-purple); }

.aff-rule-num {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: .85rem;
    font-family: ui-monospace, Menlo, Consolas, monospace;
    flex-shrink: 0;
}

.aff-rule.deny .aff-rule-num { background: #fef2f2; color: #b91c1c; }
.aff-rule.allow .aff-rule-num { background: #ecfdf5; color: #047857; }
.aff-rule.note .aff-rule-num { background: var(--light-purple-shade); color: var(--primary-purple); }

.aff-rule-tag {
    display: inline-block;
    text-transform: uppercase;
    font-weight: 700;
    font-size: .65rem;
    letter-spacing: .12em;
    border-radius: 4px;
    padding: .25rem .55rem;
    margin-bottom: .5rem;
}

.aff-rule.deny .aff-rule-tag { background: #fef2f2; color: #b91c1c; }
.aff-rule.allow .aff-rule-tag { background: #ecfdf5; color: #047857; }
.aff-rule.note .aff-rule-tag { background: var(--light-purple-shade); color: var(--primary-purple); }

.aff-rule-text {
    font-size: .87rem;
    color: var(--text-body);
    line-height: 1.55;
    margin: 0;
}

/* ----- Charge-backs ----- */
.aff-cb-card {
    background: linear-gradient(180deg, #fffbeb 0%, #fff 100%);
    border: 1px solid #fde68a;
    border-radius: 16px;
    padding: 1.75rem;
}

.aff-cb-head {
    display: flex;
    align-items: center;
    gap: .9rem;
    margin-bottom: .85rem;
}

.aff-cb-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: #f59e0b;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.aff-cb-icon svg {
    width: 22px;
    height: 22px;
    stroke-width: 2;
}

.aff-cb-title {
    font-size: 1.05rem;
    font-weight: 700;
    margin: 0;
    color: var(--text-main);
}

.aff-cb-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: .5rem;
}

.aff-cb-list li {
    background: #fff;
    border: 1px solid #fde68a;
    border-radius: 8px;
    padding: .65rem 1rem;
    display: flex;
    gap: .5rem;
    font-size: .9rem;
    color: var(--text-body);
}

.aff-cb-bullet {
    color: #d97706;
    font-weight: 700;
}

/* ----- CTA ----- */
.aff-cta {
    background: linear-gradient(135deg, var(--light-purple-shade) 0%, var(--brand-purple-light) 100%);
    border: 1px solid var(--border-indigo);
    border-radius: 16px;
    padding: 1.75rem;
    text-align: center;
    margin-top: 1.5rem;
}

.aff-cta-title {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: .25rem;
    color: var(--text-main);
}

.aff-cta-sub {
    color: var(--text-body);
    margin-bottom: 1rem;
}

.btn-aff {
    background: linear-gradient(90deg, var(--primary-blue), var(--primary-purple));
    color: #fff;
    padding: .7rem 1.5rem;
    border-radius: 999px;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    box-shadow: 0 12px 26px -14px rgba(78, 49, 173, .55);
    transition: transform .2s ease, box-shadow .2s ease, color .2s ease;
}

.btn-aff:hover {
    transform: translateY(-2px);
    color: #fff;
    box-shadow: 0 16px 32px -14px rgba(78, 49, 173, .55);
}

.btn-aff svg {
    width: 18px;
    height: 18px;
    stroke-width: 2;
}

/* ----- Section headings ----- */
.aff-section-title {
    font-weight: 700;
    margin-bottom: .5rem;
    color: var(--text-main);
}

.aff-section-sub {
    color: var(--text-body);
    max-width: 720px;
    margin: 0 auto;
}

/* ----- Affiliate page: recent payouts ----- */
.aff-payout-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 340px));
    justify-content: center;
    gap: 1.25rem;
}

.aff-payout {
    position: relative;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--border-indigo);
    border-radius: 18px;
    padding: 1.4rem 1.5rem 1.5rem;
    box-shadow: 0 10px 30px -22px rgba(78, 49, 173, .35);
    transition: transform .25s ease, box-shadow .25s ease;
}

.aff-payout::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-blue), var(--primary-purple), #10b981);
}

.aff-payout:hover {
    transform: translateY(-4px);
    box-shadow: 0 22px 44px -26px rgba(78, 49, 173, .4);
}

.aff-payout-top {
    display: flex;
    align-items: center;
    gap: .85rem;
    margin-bottom: 1.25rem;
}

.aff-payout-avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-purple));
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: .02em;
    flex-shrink: 0;
}

.aff-payout-name {
    font-weight: 700;
    color: var(--text-main);
    line-height: 1.25;
}

.aff-payout-role {
    font-size: .8rem;
    color: var(--text-slate-500);
}

.aff-payout-badge {
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    gap: .3rem;
    font-size: .75rem;
    font-weight: 700;
    color: #047857;
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    border-radius: 999px;
    padding: .25rem .65rem;
    white-space: nowrap;
}

.aff-payout-label {
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--text-slate-500);
    margin-bottom: .15rem;
}

.aff-payout-amount {
    font-size: 2rem;
    font-weight: 800;
    line-height: 1.1;
    color: #059669;
}

/* ----- Affiliate page: steps ----- */
.aff-step {
    position: relative;
    background: #fff;
    border: 1px solid var(--border-indigo);
    border-radius: 16px;
    padding: 1.5rem;
}

.aff-step-num {
    position: absolute;
    top: 1rem;
    right: 1.1rem;
    font-size: 2rem;
    font-weight: 800;
    line-height: 1;
    color: var(--light-purple-shade);
}

.aff-step-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: var(--light-purple-shade);
    color: var(--primary-purple);
    font-size: 1.2rem;
    margin-bottom: .85rem;
}

.aff-step-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: .4rem;
}

.aff-step-text {
    color: var(--text-body);
    font-size: .9rem;
    line-height: 1.55;
}

/* ----- Affiliate page: vertical steps + image slots ----- */
.aff-step-row {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.1rem 1.25rem;
}

.aff-step-row + .aff-step-row {
    margin-top: .85rem;
}

.aff-step-row .aff-step-icon {
    margin-bottom: 0;
    flex-shrink: 0;
}

.aff-img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 24px;
}

.aff-img-slot {
    display: flex;
    flex-direction: column;
    gap: .6rem;
    padding: 1.5rem;
    text-align: center;
    align-items: center;
    justify-content: center;
    width: 100%;
    border-radius: 24px;
    background:
        radial-gradient(circle at 25% 20%, rgba(255, 255, 255, .55) 0, transparent 45%),
        linear-gradient(135deg, var(--light-purple-shade) 0%, #ede9fe 50%, #e0e7ff 100%);
    border: 1px solid var(--border-indigo);
}

.aff-img-slot i {
    font-size: 5rem;
    color: var(--primary-purple);
    opacity: .35;
}

.aff-img-slot-alt {
    font-weight: 700;
    color: var(--text-main);
}

.aff-img-slot-file {
    font-family: ui-monospace, Menlo, Consolas, monospace;
    font-size: .78rem;
    color: var(--primary-purple);
    background: rgba(255, 255, 255, .7);
    border: 1px dashed var(--primary-purple);
    border-radius: 8px;
    padding: .25rem .6rem;
}

/* ----- Affiliate page: example table ----- */
.aff-table-wrap {
    overflow-x: auto;
    background: #fff;
    border: 1px solid var(--border-indigo);
    border-radius: 16px;
}

.aff-table {
    width: 100%;
    min-width: 560px;
    border-collapse: collapse;
    font-size: .92rem;
}

.aff-table th,
.aff-table td {
    padding: .85rem 1.1rem;
    text-align: left;
    border-bottom: 1px solid var(--border-indigo);
}

.aff-table th {
    background: var(--light-purple-shade);
    color: var(--text-main);
    font-weight: 700;
}

.aff-table tr:last-child td {
    border-bottom: 0;
}

.aff-table td {
    color: var(--text-body);
}

.aff-table td strong {
    color: var(--primary-purple);
}

/* ----- Affiliate page: longer term callout ----- */
.aff-term {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    background: #fff;
    border: 1px solid var(--border-indigo);
    border-radius: 16px;
    padding: 1.5rem 1.75rem;
}

.aff-term-copy {
    flex: 1 1 320px;
    color: var(--text-body);
    font-size: .92rem;
}

.aff-term-kicker {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--primary-purple);
    margin-bottom: .4rem;
}

.aff-term-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: .4rem;
}

.aff-term-compare {
    display: flex;
    align-items: center;
    gap: .75rem;
    flex-wrap: wrap;
}

.aff-term-box {
    min-width: 170px;
    border: 1px solid var(--border-indigo);
    border-radius: 14px;
    padding: .9rem 1.1rem;
    background: var(--light-purple-shade);
}

.aff-term-box.is-best {
    background: linear-gradient(180deg, #ecfdf5 0%, #fff 100%);
    border-color: #a7f3d0;
}

.aff-term-plan {
    font-size: .78rem;
    font-weight: 600;
    color: var(--text-slate-500);
}

.aff-term-earn {
    font-size: 1.6rem;
    font-weight: 800;
    line-height: 1.2;
    color: var(--primary-purple);
}

.aff-term-box.is-best .aff-term-earn {
    color: #059669;
}

.aff-term-pays {
    font-size: .78rem;
    color: var(--text-body);
}

.aff-term-arrow {
    font-size: 1.4rem;
    color: var(--primary-purple);
}

/* ----- Affiliate page: eligibility lists ----- */
.aff-list {
    list-style: none;
    padding: 0;
    display: grid;
    gap: .5rem;
}

.aff-list li {
    background: #fff;
    border-radius: 10px;
    padding: .7rem 1rem;
    font-size: .9rem;
    font-weight: 600;
}

.aff-elig-card.allow .aff-list li {
    border: 1px solid #a7f3d0;
    color: var(--text-main);
}

.aff-elig-card.deny .aff-list li {
    border: 1px solid #fecaca;
    color: var(--text-body);
}

/* ----- Affiliate page: calculator ----- */
.aff-calc {
    max-width: 860px;
    background: #fff;
    border: 1px solid var(--border-indigo);
    border-radius: 16px;
    padding: 1.75rem;
    box-shadow: 0 8px 24px -16px rgba(78, 49, 173, .12);
}

.aff-calc .form-range::-webkit-slider-thumb {
    background: var(--primary-purple);
}

.aff-calc .form-range::-moz-range-thumb {
    background: var(--primary-purple);
}

.aff-calc-result {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-top: 1.5rem;
    padding: 1.25rem;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-purple) 100%);
    color: #fff;
    text-align: center;
}

.aff-calc-num {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.2;
}

/* ----- Affiliate page: qualifying orders gist ----- */
.aff-gist {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
    background: linear-gradient(135deg, var(--light-purple-shade) 0%, #fff 100%);
    border: 1px solid var(--border-indigo);
    border-left: 5px solid var(--primary-purple);
    border-radius: 18px;
    padding: 1.5rem 1.75rem;
}

.aff-gist-copy {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    flex: 1 1 520px;
}

.aff-gist-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: #fff;
    color: var(--primary-purple);
    font-size: 1.35rem;
    flex-shrink: 0;
    box-shadow: 0 6px 16px -10px rgba(78, 49, 173, .4);
}

.aff-gist-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: .65rem;
}

.aff-gist-chips {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
}

.aff-gist-chips span {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    background: #fff;
    border: 1px solid var(--border-indigo);
    border-radius: 999px;
    padding: .35rem .8rem;
    font-size: .85rem;
    font-weight: 600;
    color: var(--text-main);
}

.aff-gist-chips i {
    color: var(--primary-purple);
}

/* ----- Affiliate page: perks bento ----- */
.aff-bento {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 1rem;
}

.aff-bento .span-3 { grid-column: span 3; }
.aff-bento .span-4 { grid-column: span 4; }
.aff-bento .span-5 { grid-column: span 5; }

.aff-perk {
    position: relative;
    border-radius: 22px;
    padding: 1.6rem;
    background: var(--perk-bg, #f5f3ff);
    border: 1px solid var(--perk-border, var(--border-indigo));
    color: var(--text-body);
    font-size: .92rem;
    line-height: 1.6;
    transition: transform .25s ease, box-shadow .25s ease;
}

.aff-perk:hover {
    transform: translateY(-4px);
    box-shadow: 0 22px 44px -30px rgba(78, 49, 173, .35);
}

.aff-perk.tone-green  { --perk-bg: #ecfdf5; --perk-border: #bbf7d0; --perk-ic: #059669; }
.aff-perk.tone-violet { --perk-bg: #f5f3ff; --perk-border: #ddd6fe; --perk-ic: #7c3aed; }
.aff-perk.tone-sky    { --perk-bg: #eff6ff; --perk-border: #bfdbfe; --perk-ic: #2563eb; }
.aff-perk.tone-amber  { --perk-bg: #fffbeb; --perk-border: #fde68a; --perk-ic: #d97706; }
.aff-perk.tone-rose   { --perk-bg: #fdf2f8; --perk-border: #fbcfe8; --perk-ic: #db2777; }

.aff-perk-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 14px;
    background: #fff;
    color: var(--perk-ic, var(--primary-purple));
    font-size: 1.3rem;
    margin-bottom: 1rem;
    box-shadow: 0 6px 16px -10px rgba(15, 23, 42, .3);
}

.aff-perk-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: .4rem;
}

.aff-perk-hero {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-purple) 100%);
    border: 0;
    color: rgba(255, 255, 255, .88);
    overflow: hidden;
}

.aff-perk-hero::after {
    content: "";
    position: absolute;
    right: -60px;
    bottom: -60px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .1);
}

.aff-perk-hero .aff-perk-icon {
    background: rgba(255, 255, 255, .18);
    color: #fff;
    box-shadow: none;
}

.aff-perk-hero .aff-perk-title {
    color: #fff;
}

.aff-perk-big {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1;
    color: #fff;
    margin-bottom: .5rem;
}

.aff-perk-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: .35rem;
}

.aff-perk-list i {
    color: var(--perk-ic);
    margin-right: .25rem;
}

/* ----- Affiliate page: how to promote ----- */
.aff-promote {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 2.5rem;
    align-items: center;
    background: #fff;
    border: 1px solid var(--border-indigo);
    border-radius: 24px;
    padding: 2.25rem;
}

.aff-promote-visual {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: .85rem;
}

.aff-mock {
    position: relative;
    background: #fff;
    border: 1px solid var(--border-indigo);
    border-radius: 14px;
    padding: .9rem 1rem;
    box-shadow: 0 10px 24px -20px rgba(78, 49, 173, .45);
    overflow: hidden;
}

.aff-mock-banner { grid-column: 1 / 5; }
.aff-mock-video  { grid-column: 2 / 7; }
.aff-mock-email  { grid-column: 1 / 4; }
.aff-mock-social { grid-column: 4 / 7; }
.aff-mock-blog   { grid-column: 1 / 5; }

.aff-mock-num {
    position: absolute;
    right: .6rem;
    top: -.2rem;
    font-size: 2.6rem;
    font-weight: 800;
    color: var(--light-purple-shade);
    line-height: 1;
    pointer-events: none;
}

.aff-mock-cap {
    position: relative;
    font-size: .78rem;
    font-weight: 600;
    color: var(--text-slate-500);
    margin-bottom: .55rem;
}

.aff-mock-ad {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    border-radius: 10px;
    padding: .8rem;
    background: linear-gradient(135deg, var(--light-purple-shade), #fff);
}

.aff-mock-ad-brand {
    font-size: .7rem;
    font-weight: 800;
    color: var(--primary-purple);
}

.aff-mock-ad-title {
    font-weight: 700;
    color: var(--text-main);
    font-size: .9rem;
    margin-bottom: .45rem;
}

.aff-mock-ad-icon {
    font-size: 2rem;
    color: var(--primary-blue);
}

.aff-mock-btn {
    display: inline-block;
    font-size: .75rem;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(90deg, var(--primary-blue), var(--primary-purple));
    border-radius: 999px;
    padding: .3rem .8rem;
}

.aff-mock-line {
    font-size: .78rem;
    color: var(--text-body);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.aff-mock-link {
    color: var(--primary-purple);
    text-decoration: underline;
}

.aff-mock-code {
    font-family: ui-monospace, Menlo, Consolas, monospace;
    font-weight: 700;
    color: #047857;
    background: #ecfdf5;
    border: 1px dashed #6ee7b7;
    border-radius: 4px;
    padding: 0 .35rem;
}

.aff-mock-icons {
    display: flex;
    gap: .7rem;
    font-size: 1.2rem;
}

.aff-mock-icons .bi-instagram { color: #e1306c; }
.aff-mock-icons .bi-whatsapp  { color: #25d366; }
.aff-mock-icons .bi-telegram  { color: #229ed9; }
.aff-mock-icons .bi-linkedin  { color: #0a66c2; }

.aff-mock-bar {
    display: block;
    height: 7px;
    border-radius: 99px;
    background: var(--border-indigo);
    margin-top: .4rem;
}

.aff-promote-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: .9rem;
}

.aff-promote-list li {
    display: flex;
    gap: .65rem;
    color: var(--text-main);
    font-size: .98rem;
    line-height: 1.5;
}

.aff-promote-list i {
    color: #10b981;
    margin-top: .15rem;
}

@media (max-width: 991.98px) {
    .aff-bento .span-3,
    .aff-bento .span-4,
    .aff-bento .span-5 { grid-column: span 6; }
    .aff-promote { grid-template-columns: 1fr; padding: 1.5rem; }
}

@media (max-width: 575.98px) {
    .aff-bento { grid-template-columns: 1fr; }
    .aff-bento .span-3,
    .aff-bento .span-4,
    .aff-bento .span-5 { grid-column: auto; }
    .aff-promote-visual { grid-template-columns: 1fr; }
    .aff-promote-visual .aff-mock { grid-column: auto; }
}

/* ----- Responsive tweaks ----- */
@media (max-width: 575.98px) {
    .aff-calc { padding: 1.25rem; }
    .aff-calc-result { grid-template-columns: 1fr; }
    .aff-intro-card {
        padding: 1.25rem 1.25rem;
    }
    .aff-tier-price { font-size: 1.5rem; }
    .aff-method-card { padding: 1.25rem; }
    .aff-cb-card { padding: 1.25rem; }
    .aff-bonus-value { font-size: 1.25rem; }
}
