﻿/* ==========================================
   INSTANT PAY - PAYOUT SERVICES
   UNIQUE PREFIX: ips-payout-
========================================== */

.ips-payout-banner,
.ips-payout-services {
    font-family: Arial, Helvetica, sans-serif;
    box-sizing: border-box;
}

    .ips-payout-banner *,
    .ips-payout-services * {
        box-sizing: border-box;
    }


/* ==========================================
   BREADCRUMB
========================================== */

.ips-payout-banner {
    position: relative;
    width: 100%;
    aspect-ratio: 1265 / 269;
    min-height: 220px;
    max-height: 320px;
    display: flex;
    align-items: center;
    overflow: hidden;
    isolation: isolate;
    color: #fff;
    background: linear-gradient(110deg, #171612, #30271b, #171612);
}

    .ips-payout-banner::before {
        content: "";
        position: absolute;
        inset: 0;
        background-image: linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
        background-size: 35px 35px;
    }

    .ips-payout-banner::after {
        content: "";
        position: absolute;
        bottom: 0;
        left: 0;
        width: 60%;
        height: 2px;
        background: linear-gradient(90deg, #f5b82e, transparent);
    }

.ips-payout-banner-glow {
    position: absolute;
    width: 400px;
    height: 400px;
    right: 12%;
    top: -220px;
    border-radius: 50%;
    background: rgba(244,178,30,.15);
    filter: blur(80px);
}

.ips-payout-banner-container {
    width: 92%;
    max-width: 1450px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 2;
}

.ips-payout-banner-content {
    position: relative;
    z-index: 3;
}

.ips-payout-banner-tag {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: #f6bd3d;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1.5px;
    margin-bottom: 12px;
}

    .ips-payout-banner-tag::before {
        content: "";
        width: 25px;
        height: 2px;
        background: #f6bd3d;
    }

.ips-payout-banner-content h1 {
    font-size: 36px;
    line-height: 1.2;
    font-weight: 800;
    color: #fff;
    margin: 0 0 9px;
}

.ips-payout-banner-content p {
    font-size: 14px;
    line-height: 1.6;
    color: #d1c8b8;
    margin: 0 0 15px;
}

.ips-payout-breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #f6bd3d;
    font-size: 14px;
}

    .ips-payout-breadcrumb a {
        color: #fff;
        text-decoration: none;
        transition: .3s;
    }

        .ips-payout-breadcrumb a:hover {
            color: #f6bd3d;
        }


/* ==========================================
   3D PAYOUT ILLUSTRATION
========================================== */

.ips-payout-visual {
    width: 310px;
    height: 220px;
    margin-right: 50px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 900px;
}

.ips-payout-orbit {
    position: absolute;
    border: 1px solid rgba(255,190,40,.4);
    border-radius: 50%;
}

.ips-payout-orbit-one {
    width: 240px;
    height: 145px;
    transform: rotate(-25deg);
    animation: ipsPayoutOrbit 10s linear infinite;
}

.ips-payout-orbit-two {
    width: 280px;
    height: 185px;
    transform: rotate(35deg);
    border-color: rgba(255,255,255,.15);
    animation: ipsPayoutOrbit 14s linear infinite reverse;
}

.ips-payout-main-card {
    width: 220px;
    height: 145px;
    padding: 16px;
    position: relative;
    z-index: 2;
    border-radius: 14px;
    border: 1px solid #ffdb73;
    background: linear-gradient(140deg, #3a3225, #12110f 75%);
    box-shadow: 0 20px 40px rgba(0,0,0,.4), 0 0 25px rgba(244,178,30,.25), inset 0 1px 1px rgba(255,255,255,.3);
    transform: rotateY(-15deg) rotateX(9deg) rotateZ(-7deg);
    animation: ipsPayoutCardFloat 4s ease-in-out infinite;
}

.ips-payout-card-heading,
.ips-payout-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 14px;
    font-weight: 700;
}

.ips-payout-card-heading {
    color: #f6c044;
}

.ips-payout-status-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #72d58b;
    box-shadow: 0 0 10px #72d58b;
}

.ips-payout-amount {
    margin-top: 17px;
}

    .ips-payout-amount small {
        display: block;
        font-size: 14px;
        color: #bcb4a6;
        margin-bottom: 5px;
    }

    .ips-payout-amount strong {
        display: block;
        font-size: 21px;
        color: #fff;
    }

.ips-payout-card-line {
    height: 1px;
    margin: 12px 0;
    background: rgba(255,255,255,.15);
}

.ips-payout-card-footer {
    color: #eac77e;
}

.ips-payout-floating-icon {
    position: absolute;
    width: 39px;
    height: 39px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 4;
    border-radius: 12px;
    background: linear-gradient(135deg, #ffdc7c, #e7a20c);
    color: #211a0c;
    font-size: 19px;
    font-weight: 800;
    box-shadow: 0 8px 20px rgba(0,0,0,.3);
}

.ips-payout-float-one {
    top: 22px;
    left: 18px;
    animation: ipsPayoutFloat 4s ease-in-out infinite;
}

.ips-payout-float-two {
    bottom: 20px;
    right: 10px;
    animation: ipsPayoutFloat 3.5s ease-in-out infinite .5s;
}

.ips-payout-float-three {
    top: 15px;
    right: 35px;
    animation: ipsPayoutFloat 4.5s ease-in-out infinite 1s;
}


/* ==========================================
   PAYOUT SERVICES MAIN SECTION
========================================== */

.ips-payout-services {
    width: 100%;
    background: #fff;
    padding: 60px 0 65px;
    position: relative;
    overflow: hidden;
}

.ips-payout-container {
    width: 92%;
    max-width: 1450px;
    margin: auto;
}


/* HEADING */

.ips-payout-heading {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 35px;
}

.ips-payout-subtitle {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: #bd820e;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1.4px;
    margin-bottom: 12px;
}

    .ips-payout-subtitle span {
        width: 25px;
        height: 2px;
        background: #e9a619;
    }

.ips-payout-heading h2 {
    font-size: 32px;
    line-height: 1.25;
    color: #252525;
    font-weight: 800;
    margin: 0 0 12px;
}

    .ips-payout-heading h2 span {
        color: #ca8c15;
    }

.ips-payout-heading p {
    color: #77716a;
    font-size: 15px;
    line-height: 1.7;
    margin: 0;
}


/* ==========================================
   SERVICE CARDS
========================================== */

.ips-payout-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.ips-payout-card {
    position: relative;
    padding: 23px 22px;
    min-height: 220px;
    background: #fff;
    border: 1px solid #f0e6d4;
    border-radius: 15px;
    box-shadow: 0 8px 28px rgba(50,40,20,.045);
    overflow: hidden;
    transform-style: preserve-3d;
    transition: all .4s ease;
}

    .ips-payout-card::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 0;
        height: 3px;
        background: linear-gradient(90deg,#f6c044,#e49a0b);
        transition: width .4s ease;
    }

    .ips-payout-card:hover::before {
        width: 100%;
    }

    .ips-payout-card:hover {
        transform: translateY(-8px) rotateX(2deg);
        border-color: #eac16c;
        box-shadow: 0 18px 35px rgba(173,125,25,.12);
    }

.ips-payout-icon {
    width: 53px;
    height: 53px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 13px;
    background: linear-gradient(135deg,#ffe8a9,#f4b629);
    box-shadow: 0 7px 17px rgba(235,170,26,.19);
    transition: transform .5s ease;
}

.ips-payout-card:hover .ips-payout-icon {
    transform: rotateY(180deg);
}

.ips-payout-icon svg {
    width: 25px;
    height: 25px;
    fill: none;
    stroke: #282016;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.ips-payout-number {
    position: absolute;
    top: 28px;
    right: 23px;
    color: #c9a55c;
    font-size: 14px;
    font-weight: 700;
}

.ips-payout-card h3 {
    font-size: 16px;
    font-weight: 800;
    color: #282828;
    margin: 17px 0 9px;
}

.ips-payout-card p {
    color: #77716a;
    font-size: 14px;
    line-height: 1.7;
    margin: 0 0 15px;
}

.ips-payout-link {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-size: 14px;
    font-weight: 700;
    color: #bd810c;
    text-decoration: none;
    transition: color .3s ease;
}

    .ips-payout-link span {
        font-size: 17px;
        transition: transform .3s ease;
    }

    .ips-payout-link:hover {
        color: #252016;
    }

        .ips-payout-link:hover span {
            transform: translate(4px,-4px);
        }


/* ==========================================
   CTA
========================================== */

.ips-payout-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 22px 28px;
    margin-top: 30px;
    border-radius: 15px;
    background: linear-gradient(110deg,#28231b,#171612);
    position: relative;
    overflow: hidden;
}

.ips-payout-cta-content {
    display: flex;
    align-items: center;
    gap: 17px;
    position: relative;
    z-index: 2;
}

.ips-payout-cta-icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: linear-gradient(135deg,#ffdc7c,#eda70e);
    color: #211a0c;
    font-size: 22px;
    font-weight: 800;
}

.ips-payout-cta-content h3 {
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 5px;
}

.ips-payout-cta-content p {
    color: #c6bfb1;
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}

.ips-payout-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    padding: 13px 20px;
    border-radius: 8px;
    background: linear-gradient(120deg,#ffdc75,#efa60d);
    color: #211a0d;
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
    white-space: nowrap;
    position: relative;
    z-index: 2;
    transition: all .3s ease;
}

    .ips-payout-cta-btn:hover {
        transform: translateY(-4px);
        box-shadow: 0 10px 22px rgba(238,166,13,.22);
    }


/* ==========================================
   ANIMATIONS
========================================== */

@keyframes ipsPayoutCardFloat {
    0%,100% {
        transform: translateY(0) rotateY(-15deg) rotateX(9deg) rotateZ(-7deg);
    }

    50% {
        transform: translateY(-10px) rotateY(-10deg) rotateX(5deg) rotateZ(-4deg);
    }
}

@keyframes ipsPayoutFloat {
    0%,100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-12px) rotate(8deg);
    }
}

@keyframes ipsPayoutOrbit {
    from {
        rotate: 0deg;
    }

    to {
        rotate: 360deg;
    }
}


/* SCROLL REVEAL */

.ips-payout-services.ips-payout-js .ips-payout-heading,
.ips-payout-services.ips-payout-js .ips-payout-card,
.ips-payout-services.ips-payout-js .ips-payout-cta {
    opacity: 0;
    transform: translateY(25px);
    transition: opacity .7s ease, transform .7s ease;
}

    .ips-payout-services.ips-payout-js .ips-payout-card:nth-child(2),
    .ips-payout-services.ips-payout-js .ips-payout-card:nth-child(5) {
        transition-delay: .12s;
    }

    .ips-payout-services.ips-payout-js .ips-payout-card:nth-child(3),
    .ips-payout-services.ips-payout-js .ips-payout-card:nth-child(6) {
        transition-delay: .22s;
    }

.ips-payout-services.ips-payout-visible .ips-payout-heading,
.ips-payout-services.ips-payout-visible .ips-payout-card,
.ips-payout-services.ips-payout-visible .ips-payout-cta {
    opacity: 1;
    transform: translateY(0);
}


/* ==========================================
   RESPONSIVE
========================================== */

@media(max-width:991px) {

    .ips-payout-banner {
        aspect-ratio: auto;
        min-height: 220px;
    }

    .ips-payout-visual {
        margin-right: 0;
        transform: scale(.85);
    }

    .ips-payout-grid {
        grid-template-columns: repeat(2,minmax(0,1fr));
    }

    .ips-payout-services {
        padding: 50px 0;
    }
}

@media(max-width:600px) {

    .ips-payout-banner {
        min-height: 190px;
        max-height: none;
    }

    .ips-payout-banner-container {
        width: 90%;
    }

    .ips-payout-banner-content h1 {
        font-size: 27px;
    }

    .ips-payout-banner-content p {
        max-width: 240px;
        font-size: 14px;
    }

    .ips-payout-banner-visual {
        position: absolute;
        right: -85px;
        bottom: -15px;
        width: 200px;
        height: 170px;
        margin: 0;
        transform: scale(.72);
        transform-origin: center;
        opacity: .65;
    }

    .ips-payout-services {
        padding: 45px 0;
    }

    .ips-payout-container {
        width: 91%;
    }

    .ips-payout-heading {
        margin-bottom: 25px;
    }

        .ips-payout-heading h2 {
            font-size: 25px;
        }

        .ips-payout-heading p {
            font-size: 14px;
        }

    .ips-payout-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .ips-payout-card {
        min-height: auto;
        padding: 20px;
    }

        .ips-payout-card h3 {
            margin-top: 14px;
        }

    .ips-payout-cta {
        flex-direction: column;
        align-items: flex-start;
        padding: 20px;
    }

    .ips-payout-cta-content {
        align-items: flex-start;
    }

    .ips-payout-cta-btn {
        width: 100%;
        justify-content: center;
    }
}

@media(prefers-reduced-motion:reduce) {

    .ips-payout-banner *,
    .ips-payout-services * {
        animation: none !important;
        transition: none !important;
    }
}
