/*
 * GushOfLove — Welcome Popup
 *
 * Shown to logged-out users on the homepage.
 */

#eros-welcome-popup {
    position: fixed;
    inset: 0;
    z-index: 100010;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity .45s cubic-bezier(.22,1,.36,1);
}

#eros-welcome-popup.visible {
    opacity: 1;
    pointer-events: all;
}

.eros-popup-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(4,3,18,.88);
    backdrop-filter: blur(14px) saturate(1.5);
}

.eros-popup-modal {
    position: relative;
    display: flex;
    width: 100%;
    max-width: 900px;
    max-height: 96vh;
    border-radius: 32px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 0 0 1px rgba(255,255,255,.08),0 60px 140px rgba(0,0,0,.65),0 24px 48px rgba(232,23,93,.18);
    animation: ewp-rise .55s cubic-bezier(.22,1,.36,1) both;
}

@keyframes ewp-rise {
from{transform:translateY(48px) scale(.93);opacity:0}to{transform:none;opacity:1}
}

.eros-popup-close {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    z-index: 30;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1.5px solid rgba(255,255,255,.3);
    background: rgba(0,0,0,.55);
    backdrop-filter: blur(12px);
    cursor: pointer;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .2s,transform .2s;
    box-shadow: 0 2px 16px rgba(0,0,0,.5);
}

.eros-popup-close:hover {
    background: rgba(232,23,93,.8);
    transform: rotate(90deg) scale(1.08);
    border-color: rgba(232,23,93,.6);
}

.eros-popup-image-col {
    position: relative;
    flex: 0 0 46%;
    min-height: 560px;
    overflow: hidden;
    display: none;
    background: linear-gradient(160deg,#200730 0%,#0d0224 50%,#1a0a2e 100%);
}

@media (min-width:700px) {
    .eros-popup-image-col {
        display: block;
    }
}

.eros-popup-image-col img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 15%;
    opacity: .82;
    transition: transform 7s ease,opacity .4s;
}

#eros-welcome-popup.visible .eros-popup-image-col img {
    transform: scale(1.06);
}

.eros-popup-image-col::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(to bottom,rgba(232,23,93,.12) 0%,transparent 40%),linear-gradient(to top,rgba(4,3,18,.97) 0%,rgba(4,3,18,.5) 38%,transparent 65%),linear-gradient(130deg,rgba(145,0,255,.12) 0%,transparent 50%);
}

.eros-popup-image-col::after {
    content: '💕';
    position: absolute;
    top: 1.5rem;
    left: 1.75rem;
    z-index: 2;
    font-size: 1.6rem;
    filter: drop-shadow(0 2px 8px rgba(232,23,93,.5));
    animation: ewp-float 3s ease-in-out infinite;
}

@keyframes ewp-float {
0%,100%{transform:translateY(0) rotate(-5deg)}50%{transform:translateY(-8px) rotate(5deg)}
}

.eros-popup-live-badge {
    position: absolute;
    top: 1.4rem;
    left: 4.2rem;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: .45rem;
    background: rgba(255,255,255,.13);
    border: 1px solid rgba(255,255,255,.2);
    backdrop-filter: blur(12px);
    color: #fff;
    font-size: .72rem;
    font-weight: 700;
    padding: .35rem .85rem;
    border-radius: 999px;
    letter-spacing: .02em;
}

.eros-popup-live-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #4ade80;
    box-shadow: 0 0 0 0 rgba(74,222,128,.6);
    animation: ewp-pulse 1.6s ease infinite;
}

@keyframes ewp-pulse {
0%{box-shadow:0 0 0 0 rgba(74,222,128,.6)}70%{box-shadow:0 0 0 7px rgba(74,222,128,0)}100%{box-shadow:0 0 0 0 rgba(74,222,128,0)}
}

.eros-popup-image-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2rem;
}

.eros-popup-avatars {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.eros-popup-avatars .epa-img {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 2.5px solid #fff;
    object-fit: cover;
    margin-right: -10px;
    box-shadow: 0 2px 8px rgba(0,0,0,.35);
}

.eros-popup-avatars .epa-count {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: linear-gradient(135deg,#e8175d,#ff6b9d);
    border: 2.5px solid #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .62rem;
    font-weight: 800;
    color: #fff;
    margin-right: -10px;
    box-shadow: 0 2px 8px rgba(232,23,93,.4);
}

.eros-popup-joined-text {
    margin-left: 18px;
    font-size: .72rem;
    color: rgba(255,255,255,.75);
    font-weight: 600;
    line-height: 1.4;
}

.eros-popup-joined-text strong {
    display: block;
    color: #fff;
    font-size: .8rem;
}

.eros-popup-story {
    color: #fff;
}

.eros-popup-story-quote {
    display: flex;
    gap: .7rem;
    align-items: flex-start;
    margin-bottom: 1.1rem;
}

.eros-popup-story-quote svg {
    flex-shrink: 0;
    margin-top: .15rem;
    opacity: .7;
}

.eros-popup-story-quote p {
    font-size: .88rem;
    font-style: italic;
    line-height: 1.65;
    color: rgba(255,255,255,.88);
    margin: 0;
}

.eros-popup-story-foot {
    display: flex;
    align-items: center;
    gap: .6rem;
    margin-bottom: 1.25rem;
}

.eros-popup-stars {
    color: #fbbf24;
    font-size: .82rem;
    letter-spacing: .06em;
}

.eros-popup-story-foot span {
    font-size: .7rem;
    color: rgba(255,255,255,.5);
}

.eros-popup-trust-badges {
    display: flex;
    flex-wrap: wrap;
    gap: .45rem;
}

.eros-popup-trust-badge {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    background: rgba(255,255,255,.1);
    border: 1px solid rgba(255,255,255,.16);
    backdrop-filter: blur(10px);
    color: rgba(255,255,255,.88);
    font-size: .67rem;
    font-weight: 700;
    padding: .32rem .72rem;
    border-radius: 999px;
    letter-spacing: .02em;
}

.eros-popup-content-col {
    flex: 1;
    padding: 2rem 2.5rem 1.75rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow-y: hidden;
    background: #fff;
    position: relative;
}

.eros-popup-content-col::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg,#e8175d 0%,#ff6b9d 50%,#c026d3 100%);
}

.eros-popup-brand {
    display: flex;
    align-items: center;
    gap: .6rem;
    margin-bottom: 1rem;
}

.eros-popup-brand-dot {
    font-size: 1.25rem;
}

.eros-popup-brand-name {
    font-size: .7rem;
    font-weight: 900;
    letter-spacing: .14em;
    text-transform: uppercase;
    background: linear-gradient(90deg,#e8175d,#c026d3);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.eros-popup-badge-inline {
    margin-left: auto;
    background: linear-gradient(135deg,rgba(232,23,93,.1),rgba(192,38,211,.1));
    border: 1px solid rgba(232,23,93,.2);
    color: #e8175d;
    font-size: .65rem;
    font-weight: 800;
    padding: .25rem .7rem;
    border-radius: 999px;
    letter-spacing: .04em;
    white-space: nowrap;
}

.eros-popup-title {
    font-size: clamp(1.45rem,2.8vw,1.9rem);
    font-weight: 900;
    line-height: 1.12;
    color: #0a0a1a;
    margin-bottom: .65rem;
    letter-spacing: -.035em;
}

.eros-popup-desc {
    font-size: .875rem;
    color: #6b7280;
    line-height: 1.65;
    margin-bottom: 1rem;
}

.eros-popup-benefits {
    list-style: none;
    margin: 0 0 1rem;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: .55rem;
}

.eros-popup-benefits li {
    display: flex;
    align-items: center;
    gap: .75rem;
    padding: .55rem .85rem;
    background: #fafafa;
    border: 1px solid #f0f0f8;
    border-radius: 14px;
    transition: background .2s,border-color .2s,transform .2s;
}

.eros-popup-benefits li:hover {
    background: #fff5f8;
    border-color: rgba(232,23,93,.2);
    transform: translateX(4px);
}

.epb-icon {
    flex-shrink: 0;
    width: 38px;
    height: 38px;
    border-radius: 11px;
    background: linear-gradient(135deg,rgba(232,23,93,.12),rgba(192,38,211,.08));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
}

.eros-popup-benefits li div {
    flex: 1;
}

.eros-popup-benefits li strong {
    display: block;
    font-size: .83rem;
    font-weight: 800;
    color: #0a0a1a;
    margin-bottom: .1rem;
    line-height: 1.3;
}

.eros-popup-benefits li div>span,
.eros-popup-benefits li div>small {
    font-size: .74rem;
    color: #9ca3af;
    line-height: 1.4;
    display: block;
}

.eros-popup-cta {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .6rem;
    background: linear-gradient(130deg,#e8175d 0%,#f43f8a 50%,#c026d3 100%);
    background-size: 200%;
    color: #fff;
    font-size: 1rem;
    font-weight: 900;
    padding: .9rem 1.5rem;
    border-radius: 16px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    box-shadow: 0 10px 32px rgba(232,23,93,.45),0 2px 8px rgba(232,23,93,.2);
    transition: background-position .35s,transform .22s cubic-bezier(.34,1.56,.64,1),box-shadow .22s;
    letter-spacing: -.02em;
    margin-bottom: .6rem;
    width: 100%;
}

.eros-popup-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg,rgba(255,255,255,0) 0%,rgba(255,255,255,.18) 50%,rgba(255,255,255,0) 100%);
    transform: translateX(-100%);
    transition: transform .6s;
}

.eros-popup-cta:hover {
    background-position: right center;
    transform: translateY(-3px);
    box-shadow: 0 18px 48px rgba(232,23,93,.55);
}

.eros-popup-cta:hover::before {
    transform: translateX(100%);
}

.eros-popup-cta:active {
    transform: scale(.98);
}

.eros-popup-urgency {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .4rem;
    font-size: .7rem;
    font-weight: 700;
    color: #d97706;
    background: #fffbeb;
    border: 1px solid #fde68a;
    border-radius: 999px;
    padding: .28rem .8rem;
    margin-bottom: .5rem;
    width: fit-content;
    margin-inline: auto;
    letter-spacing: .02em;
}

.eros-popup-security {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    font-size: .7rem;
    color: #9ca3af;
    margin-bottom: .4rem;
}

.eros-popup-security svg {
    color: #22c55e;
    flex-shrink: 0;
}

.eros-popup-signin {
    font-size: .78rem;
    color: #9ca3af;
    text-align: center;
    margin: 0;
}

.eros-popup-signin button {
    background: none;
    border: none;
    color: #e8175d;
    font-weight: 700;
    cursor: pointer;
    font: inherit;
    padding: 0;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.eros-popup-signin button:hover {
    color: #c9133f;
}

@media (max-width:699px) {
    #eros-welcome-popup {
        align-items: flex-end;
        padding: 0;
    }

    #eros-welcome-popup .eros-popup-backdrop {
        background: rgba(4,3,18,.82);
    }

    .eros-popup-modal {
        flex-direction: column;
        border-radius: 28px 28px 0 0;
        max-height: 92vh;
        width: 100%;
        max-width: 100%;
        animation: ewp-rise-mobile .45s cubic-bezier(.22,1,.36,1) both;
        overflow: hidden;
    }

    @keyframes ewp-rise-mobile {
    
        from { transform: translateY(100%); opacity: 0; }
        to   { transform: translateY(0);    opacity: 1; }
      
    }

    .eros-popup-image-col {
        display: block;
        flex: 0 0 auto;
        height: 220px;
        min-height: 0;
        width: 100%;
        position: relative;
        overflow: hidden;
        background: linear-gradient(160deg,#200730 0%,#0d0224 50%,#1a0a2e 100%);
    }

    .eros-popup-image-col img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center 18%;
        opacity: .78;
    }

    .eros-popup-image-col::before {
        background: linear-gradient(to bottom, rgba(232,23,93,.08) 0%, transparent 35%),
      linear-gradient(to top,    rgba(4,3,18,.98)    0%, rgba(4,3,18,.55) 42%, transparent 70%),
      linear-gradient(130deg,    rgba(145,0,255,.10) 0%, transparent 50%);
    }

    .eros-popup-image-col::after {
        top: 1rem;
        left: 1.25rem;
        font-size: 1.4rem;
    }

    .eros-popup-live-badge {
        top: 1rem;
        left: 3.5rem;
        font-size: .68rem;
        padding: .28rem .7rem;
    }

    .eros-popup-image-overlay {
        padding: 1rem 1.25rem;
    }

    .eros-popup-avatars {
        margin-bottom: .6rem;
    }

    .eros-popup-avatars .epa-img {
        width: 28px;
        height: 28px;
    }

    .eros-popup-avatars .epa-count {
        width: 28px;
        height: 28px;
        font-size: .58rem;
    }

    .eros-popup-joined-text {
        margin-left: 14px;
        font-size: .68rem;
    }

    .eros-popup-joined-text strong {
        font-size: .75rem;
    }

    .eros-popup-story-quote {
        margin-bottom: .5rem;
    }

    .eros-popup-story-quote p {
        font-size: .78rem;
        -webkit-line-clamp: 2;
        overflow: hidden;
        display: -webkit-box;
        -webkit-box-orient: vertical;
    }

    .eros-popup-story-foot {
        margin-bottom: .65rem;
    }

    .eros-popup-stars {
        font-size: .74rem;
    }

    .eros-popup-story-foot span {
        font-size: .65rem;
    }

    .eros-popup-trust-badges {
        gap: .35rem;
    }

    .eros-popup-trust-badge {
        font-size: .62rem;
        padding: .26rem .6rem;
    }

    .eros-popup-close {
        background: rgba(0,0,0,.4);
        backdrop-filter: blur(8px);
        top: .9rem;
        right: .9rem;
    }

    .eros-popup-content-col {
        padding: 1.5rem 1.25rem 1.75rem;
        overflow-y: hidden;
        flex: 1 1 auto;
        background: #fff;
        background-image: linear-gradient(90deg,#e8175d 0%,#ff6b9d 50%,#c026d3 100%);
        background-size: 100% 3px;
        background-repeat: no-repeat;
        background-position: top;
    }

    .eros-popup-brand {
        margin-bottom: .9rem;
    }

    .eros-popup-brand-dot {
        font-size: 1rem;
    }

    .eros-popup-brand-name {
        font-size: .65rem;
    }

    .eros-popup-badge-inline {
        font-size: .6rem;
        padding: .2rem .55rem;
    }

    .eros-popup-title {
        font-size: 1.45rem;
        margin-bottom: .6rem;
        letter-spacing: -.03em;
    }

    .eros-popup-desc {
        font-size: .82rem;
        margin-bottom: 1rem;
        line-height: 1.6;
    }

    .eros-popup-benefits {
        flex-direction: row;
        flex-wrap: wrap;
        gap: .5rem;
        margin-bottom: 1rem;
    }

    .eros-popup-benefits li {
        flex: 1 1 calc(33% - .5rem);
        min-width: 80px;
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: .65rem .4rem;
        gap: .35rem;
        background: #fafafe;
        border-color: #f0f0fa;
    }

    .eros-popup-benefits li:hover {
        transform: none;
    }

    .epb-icon {
        width: 34px;
        height: 34px;
        border-radius: 10px;
        font-size: 1rem;
    }

    .eros-popup-benefits li strong {
        font-size: .72rem;
        text-align: center;
    }

    .eros-popup-benefits li div > span,
    .eros-popup-benefits li div > small {
        font-size: .65rem;
        text-align: center;
        display: none !important;
    }

    .eros-popup-urgency {
        margin-bottom: .65rem;
        font-size: .68rem;
    }

    .eros-popup-cta {
        font-size: .95rem;
        padding: .9rem 1.25rem;
        border-radius: 14px;
        margin-bottom: .6rem;
        box-shadow: 0 8px 24px rgba(232,23,93,.45);
    }

    .eros-popup-security {
        font-size: .66rem;
        margin-bottom: .5rem;
    }

    .eros-popup-signin {
        font-size: .73rem;
    }
}

@media (max-width:420px) {
    .eros-popup-image-col {
        height: 190px;
    }

    .eros-popup-title {
        font-size: 1.3rem;
    }

    .eros-popup-content-col {
        padding: 1.25rem 1rem 1.5rem;
    }

    .eros-popup-benefits li {
        flex: 1 1 calc(33% - .4rem);
        min-width: 70px;
    }
}

.eros-popup-trust-badge--green {
    background: rgba(74,222,128,.15);
    border-color: rgba(74,222,128,.35);
    color: #86efac;
}

.eros-popup-trust-badge--blue {
    background: rgba(96,165,250,.15);
    border-color: rgba(96,165,250,.35);
    color: #93c5fd;
}

.eros-popup-trust-badge--pink {
    background: rgba(232,23,93,.18);
    border-color: rgba(232,23,93,.4);
    color: #fca5a5;
    font-weight: 800;
}

.eros-popup-close svg {
    stroke: #fff;
    stroke-width: 3;
}

.eros-popup-free-forever {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .35rem;
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .04em;
    color: #22c55e;
    background: rgba(34,197,94,.1);
    border: 1px solid rgba(34,197,94,.25);
    border-radius: 999px;
    padding: .28rem .9rem;
    margin: -.35rem auto .6rem;
    width: fit-content;
}

.eros-popup-free-forever svg {
    color: #22c55e;
    flex-shrink: 0;
}

.eros-popup-logo-link {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
}

.eros-popup-logo-img {
    max-height: 36px;
    width: auto;
    object-fit: contain;
    display: block;
    height: 36px;
    max-width: 160px;
}

.eros-popup-brand:has(.eros-popup-logo-img) {
    padding: .1rem 0 .1rem;
    margin-bottom: 1.1rem;
}
