/* YamYaPay - NEW DESIGN : COMMON CSS (base + header + footer) */

html {
    scroll-behavior: smooth;
}

.yp {
    --brand: #E4208C;
    --brand-2: #1F5FBF;
    --dark: #1B1250;
    --ink: #1E1A47;
    --muted: #6B6F8D;
    --bg: #F6F7FD;
    --card: #ffffff;
    --radius: 20px;
    font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
    color: var(--ink);
    line-height: 1.6;
    font-size: 16px;
}

    .yp *, .yp *::before, .yp *::after {
        box-sizing: border-box;
        margin: 0;
        padding: 0;
    }

    .yp ul {
        list-style: none;
    }

    .yp img {
        max-width: 100%;
        display: block;
    }

    .yp a, .yp a:hover {
        text-decoration: none;
    }

    .yp a {
        color: inherit;
    }

    .yp button, .yp input, .yp select, .yp textarea {
        font-family: inherit;
    }

    .yp h1, .yp h2, .yp h3, .yp h4, .yp h5 {
        font-family: inherit;
        font-weight: 700;
        line-height: 1.25;
        color: inherit;
    }

    .yp h3 {
        font-size: 1.17em;
    }

    .yp h4 {
        font-size: 1em;
    }

    .yp h5 {
        font-size: .83em;
    }

    .yp h2 {
        font-size: clamp(28px, 4vw, 42px);
        line-height: 1.2;
        font-weight: 800;
        margin-bottom: 14px;
    }

    .yp section {
        padding: 90px 0;
    }

        .yp section[id] {
            scroll-margin-top: 80px;
        }

.yp-container {
    width: min(1160px, 92%);
    margin-inline: auto;
}

.yp-tag {
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--brand);
    background: rgba(228,32,140,.1);
    padding: 6px 14px;
    border-radius: 50px;
    margin-bottom: 16px;
}

.yp-tag-light {
    background: rgba(255,255,255,.12);
    color: #fff;
}

.yp-lead {
    color: var(--muted);
    max-width: 560px;
}

.yp-center {
    text-align: center;
}

    .yp-center .yp-lead {
        margin-inline: auto;
    }

/* ---------- Buttons ---------- */
.yp-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 15px;
    line-height: 1.6;
    border: 0;
    cursor: pointer;
    transition: .25s;
}

.yp .yp-btn-primary {
    background: linear-gradient(135deg, var(--brand), var(--brand-2));
    box-shadow: 0 10px 30px rgba(228,32,140,.35);
}

.yp a.yp-btn-primary, .yp button.yp-btn-primary {
    color: #fff;
}

.yp .yp-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 34px rgba(228,32,140,.45);
}

.yp a.yp-btn-ghost {
    background: rgba(255,255,255,.12);
    color: #fff;
    border: 1px solid rgba(255,255,255,.3);
}

    .yp a.yp-btn-ghost:hover {
        background: rgba(255,255,255,.22);
        color: #fff;
    }

.yp a.yp-btn-login {
    background: transparent;
    color: #fff;
    border: 1.5px solid rgba(255,255,255,.55);
    padding: 11px 24px;
}

    .yp a.yp-btn-login:hover {
        background: #fff;
        color: var(--brand);
        border-color: #fff;
    }

/* ---------- HEADER ---------- */
.yp-header {
    position: sticky;
    top: 0;
    z-index: 1030;
    background: var(--dark);
    transition: .3s;
}
.yp-header-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: transparent;
}
    .yp-header.yp-scrolled {
        background: rgba(27,18,80,.92);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        box-shadow: 0 4px 30px rgba(0,0,0,.2);
    }

.yp-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 76px;
}

.yp-logo {
    display: inline-flex;
    align-items: center;
    background: #fff;
    padding: 6px 14px;
    border-radius: 16px;
    box-shadow: 0 6px 18px rgba(0,0,0,.25);
}

    .yp-logo img {
        height: 44px;
        width: auto;
    }

.yp-menu {
    display: flex;
    gap: 34px;
}

.yp .yp-menu a {
    color: rgba(255,255,255,.8);
    font-weight: 600;
    font-size: 15px;
    transition: .2s;
}

    .yp .yp-menu a:hover {
        color: #fff;
    }

.yp-menu-app {
    display: none;
}

.yp-nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.yp-burger {
    display: none;
    background: none;
    border: 0;
    color: #fff;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
}

/* ---------- FOOTER ---------- */
.yp-footer {
    background: var(--dark);
    color: rgba(255,255,255,.7);
    padding: 60px 0 24px;
}

.yp-foot {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 40px;
}

.yp-footer h5 {
    color: #fff;
    margin-bottom: 14px;
}

.yp-footer li {
    margin-bottom: 8px;
    font-size: 15px;
}

    .yp-footer li a:hover {
        color: var(--brand-2);
    }

.yp-footer .yp-logo {
    margin-bottom: 14px;
}

.yp-footer .yp-fabout {
    font-size: 15px;
}

.yp-social {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.yp .yp-social a {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(255,255,255,.1);
    color: #fff;
    transition: .2s;
}

    .yp .yp-social a:hover {
        background: var(--brand);
        color: #fff;
    }

.yp-pay {
    width: 280px;
    max-width: 100%;
    margin-top: 14px;
    background: #fff;
    padding: 6px;
    border-radius: 10px;
}

.yp-copy {
    border-top: 1px solid rgba(255,255,255,.12);
    margin-top: 40px;
    padding-top: 20px;
    font-size: 14px;
    text-align: center;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 900px) {
    .yp-burger {
        display: block;
    }

    .yp-menu {
        position: absolute;
        top: 76px;
        left: 0;
        right: 0;
        background: var(--dark);
        flex-direction: column;
        padding: 20px 5%;
        gap: 18px;
        display: none;
    }

        .yp-menu.yp-open {
            display: flex;
        }

    .yp-menu-app {
        display: block;
    }

    .yp-nav-actions .yp-get-app {
        display: none;
    }

    .yp a.yp-btn-login {
        padding: 9px 18px;
        font-size: 14px;
    }

    .yp-foot {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 520px) {
    .yp-foot {
        grid-template-columns: 1fr;
    }
}
