/**
 * ==========================================================
 * RAGO ACCOUNT
 * Premium Subscription Popup
 * ==========================================================
 */

.rago-subscription-overlay {
    position: fixed;
    inset: 0;
    z-index: 999999;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 24px;

    background: rgba(2, 6, 23, 0.86);

    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}


/*
|--------------------------------------------------------------------------
| Main Popup
|--------------------------------------------------------------------------
*/

.rago-subscription-popup {
    position: relative;

    width: 100%;
    max-width: 960px;
    max-height: calc(100vh - 48px);

    overflow-y: auto;

    padding: 38px 36px 28px;

    border: 1px solid rgba(250, 204, 21, 0.42);
    border-radius: 28px;

    background:
        radial-gradient(
            circle at 50% 0%,
            rgba(250, 204, 21, 0.07),
            transparent 38%
        ),
        #151515;

    color: #ffffff;

    box-shadow:
        0 35px 100px rgba(0, 0, 0, 0.65),
        0 0 60px rgba(250, 204, 21, 0.08);

    text-align: center;

    scrollbar-width: thin;
}


/*
|--------------------------------------------------------------------------
| Close Button
|--------------------------------------------------------------------------
*/

.rago-subscription-close {
    position: absolute;

    top: 18px;
    right: 20px;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 42px;
    height: 42px;

    padding: 0;

    border: 0;
    border-radius: 50%;

    background: rgba(255, 255, 255, 0.09);

    color: #ffffff;

    font-size: 28px;
    line-height: 1;

    cursor: pointer;

    transition:
        background 0.2s ease,
        transform 0.2s ease;
}

.rago-subscription-close:hover {
    background: rgba(255, 255, 255, 0.16);

    transform: rotate(90deg);
}


/*
|--------------------------------------------------------------------------
| Premium Icon
|--------------------------------------------------------------------------
*/

.rago-subscription-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 76px;
    height: 76px;

    margin: 0 auto 18px;

    border: 1px solid rgba(250, 204, 21, 0.55);
    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(250, 204, 21, 0.16),
            rgba(250, 204, 21, 0.03)
        );

    font-size: 36px;

    box-shadow:
        0 0 35px rgba(250, 204, 21, 0.16);
}


/*
|--------------------------------------------------------------------------
| Heading
|--------------------------------------------------------------------------
*/

.rago-subscription-title {
    margin: 0 0 10px;

    color: #ffffff;

    font-size: 36px;
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: -0.6px;
}

.rago-subscription-title span {
    color: #facc15;

    text-shadow:
        0 0 22px rgba(250, 204, 21, 0.25);
}


/*
|--------------------------------------------------------------------------
| Description
|--------------------------------------------------------------------------
*/

.rago-subscription-description {
    margin: 0 0 30px;

    color: #aeb5c2;

    font-size: 16px;
    line-height: 1.7;
}


/*
|--------------------------------------------------------------------------
| Plans Grid
|--------------------------------------------------------------------------
*/

.rago-subscription-plans {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));

    gap: 18px;

    margin-bottom: 20px;
}


/*
|--------------------------------------------------------------------------
| Plan Card
|--------------------------------------------------------------------------
*/

.rago-subscription-plan {
    position: relative;

    display: block;

    width: 100%;
    min-height: 330px;

    padding: 25px;

    border: 1px solid #3f3f46;
    border-radius: 20px;

    background:
        linear-gradient(
            145deg,
            #202020,
            #191919
        );

    color: #ffffff;

    text-align: left;

    cursor: pointer;

    appearance: none;
    -webkit-appearance: none;

    transition:
        transform 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease;
}

.rago-subscription-plan:hover {
    transform: translateY(-3px);

    border-color: rgba(250, 204, 21, 0.7);

    box-shadow:
        0 15px 35px rgba(0, 0, 0, 0.35);
}


/*
|--------------------------------------------------------------------------
| Selected Plan
|--------------------------------------------------------------------------
*/

.rago-subscription-plan.is-selected {
    border-color: #facc15;

    background:
        radial-gradient(
            circle at 50% 0%,
            rgba(250, 204, 21, 0.11),
            transparent 55%
        ),
        #202020;

    box-shadow:
        0 0 0 1px rgba(250, 204, 21, 0.12),
        0 0 35px rgba(250, 204, 21, 0.10);
}


/*
|--------------------------------------------------------------------------
| Selected Check
|--------------------------------------------------------------------------
*/

.rago-plan-check {
    position: absolute;

    top: 18px;
    right: 18px;

    display: none;
    align-items: center;
    justify-content: center;

    width: 27px;
    height: 27px;

    border-radius: 50%;

    background: #facc15;

    color: #111827;

    font-size: 16px;
    font-weight: 900;
}

.rago-subscription-plan.is-selected .rago-plan-check {
    display: flex;
}


/*
|--------------------------------------------------------------------------
| Best Value Badge
|--------------------------------------------------------------------------
*/

.rago-plan-badge {
    position: absolute;

    top: 16px;
    right: 18px;

    padding: 7px 13px;

    border-radius: 20px;

    background: #ec1f64;

    color: #ffffff;

    font-size: 12px;
    font-weight: 800;

    box-shadow:
        0 5px 18px rgba(236, 31, 100, 0.18);
}


/*
|--------------------------------------------------------------------------
| Plan Top
|--------------------------------------------------------------------------
*/

.rago-plan-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;

    gap: 12px;

    margin-bottom: 22px;
}

.rago-plan-name {
    margin-bottom: 7px;

    color: #ffffff;

    font-size: 25px;
    font-weight: 800;
    line-height: 1.2;
}

.rago-plan-subtitle {
    color: #a1a1aa;

    font-size: 14px;
    line-height: 1.4;
}


/*
|--------------------------------------------------------------------------
| Discount Badge
|--------------------------------------------------------------------------
*/

.rago-plan-discount {
    flex-shrink: 0;

    margin-top: 3px;

    padding: 8px 12px;

    border-radius: 10px;

    background: #ec1f64;

    color: #ffffff;

    font-size: 12px;
    font-weight: 800;

    white-space: nowrap;
}


/*
|--------------------------------------------------------------------------
| Old Price
|--------------------------------------------------------------------------
*/

.rago-plan-price-row {
    min-height: 25px;
}

.rago-plan-old-price {
    position: relative;

    color: #8b8b93;

    font-size: 22px;
    font-weight: 600;
}


/*
|--------------------------------------------------------------------------
| Current Price
|--------------------------------------------------------------------------
*/

.rago-plan-current-price {
    margin-top: 1px;

    color: #facc15;

    font-size: 48px;
    line-height: 1.05;
    font-weight: 900;
    letter-spacing: -1px;

    text-shadow:
        0 0 22px rgba(250, 204, 21, 0.12);
}

.rago-plan-current-price small {
    color: #d4d4d8;

    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0;
}


/*
|--------------------------------------------------------------------------
| Benefits
|--------------------------------------------------------------------------
*/

.rago-plan-benefits {
    display: flex;
    flex-direction: column;

    gap: 9px;

    margin-top: 22px;

    color: #d4d4d8;

    font-size: 14px;
    line-height: 1.4;
}

.rago-plan-benefits div::first-letter {
    color: #facc15;
}


/*
|--------------------------------------------------------------------------
| Premium Benefits Bar
|--------------------------------------------------------------------------
*/

.rago-premium-benefits {
    display: grid;
    grid-template-columns: repeat(4, 1fr);

    margin: 4px 0 20px;

    padding: 17px 12px;

    border: 1px solid #35353b;
    border-radius: 16px;

    background: rgba(255, 255, 255, 0.035);
}

.rago-premium-benefit {
    display: flex;
    align-items: center;
    justify-content: center;

    gap: 10px;

    min-width: 0;

    padding: 4px 12px;

    border-right: 1px solid #3a3a40;
}

.rago-premium-benefit:last-child {
    border-right: 0;
}

.rago-premium-benefit > strong {
    flex-shrink: 0;

    color: #facc15;

    font-size: 23px;
    line-height: 1;
}

.rago-premium-benefit div {
    display: flex;
    flex-direction: column;

    text-align: left;
}

.rago-premium-benefit b {
    color: #f4f4f5;

    font-size: 12px;
    font-weight: 700;
}

.rago-premium-benefit small {
    margin-top: 3px;

    color: #71717a;

    font-size: 10px;
}


/*
|--------------------------------------------------------------------------
| Continue Button
|--------------------------------------------------------------------------
*/

.rago-subscription-continue {
    display: flex;
    align-items: center;
    justify-content: center;

    gap: 12px;

    width: 100%;

    padding: 17px 24px;

    border: 0;
    border-radius: 15px;

    background:
        linear-gradient(
            135deg,
            #facc15,
            #fbbf24
        );

    color: #111827;

    font-size: 17px;
    font-weight: 800;

    cursor: pointer;

    box-shadow:
        0 12px 35px rgba(250, 204, 21, 0.18);

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        filter 0.2s ease;
}

.rago-subscription-continue span {
    font-size: 24px;

    transition:
        transform 0.2s ease;
}

.rago-subscription-continue:hover {
    transform: translateY(-2px);

    filter: brightness(1.04);

    box-shadow:
        0 16px 40px rgba(250, 204, 21, 0.25);
}

.rago-subscription-continue:hover span {
    transform: translateX(5px);
}


/*
|--------------------------------------------------------------------------
| Secure Payment
|--------------------------------------------------------------------------
*/

.rago-subscription-secure {
    margin-top: 18px;

    text-align: center;
}

.rago-secure-text {
    color: #71717a;

    font-size: 12px;
}

.rago-secure-text strong {
    color: #d4d4d8;

    font-weight: 700;
}


/*
|--------------------------------------------------------------------------
| Payment Methods
|--------------------------------------------------------------------------
*/

.rago-payment-methods {
    display: flex;
    align-items: center;
    justify-content: center;

    gap: 12px;

    margin-top: 12px;
}

.rago-payment-methods span {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 46px;
    height: 25px;

    padding: 0 7px;

    border-radius: 5px;

    background: rgba(255, 255, 255, 0.08);

    color: #bfc3ca;

    font-size: 9px;
    font-weight: 800;
}


/*
|--------------------------------------------------------------------------
| Mobile
|--------------------------------------------------------------------------
*/

@media (max-width: 760px) {

    .rago-subscription-overlay {
        padding: 12px;
    }

    .rago-subscription-popup {
        max-height: calc(100vh - 24px);

        padding: 32px 18px 24px;

        border-radius: 22px;
    }

    .rago-subscription-title {
        font-size: 28px;
    }

    .rago-subscription-description {
        font-size: 14px;

        margin-bottom: 22px;
    }

    .rago-subscription-plans {
        grid-template-columns: 1fr;

        gap: 12px;
    }

    .rago-subscription-plan {
        min-height: auto;

        padding: 21px;
    }

    .rago-plan-name {
        font-size: 22px;
    }

    .rago-plan-current-price {
        font-size: 42px;
    }

    .rago-premium-benefits {
        grid-template-columns: 1fr 1fr;

        gap: 10px;
    }

    .rago-premium-benefit {
        justify-content: flex-start;

        border-right: 0;

        padding: 8px;
    }

    .rago-subscription-continue {
        font-size: 15px;
    }

}


/*
|--------------------------------------------------------------------------
| Small Mobile
|--------------------------------------------------------------------------
*/

@media (max-width: 430px) {

    .rago-subscription-icon {
        width: 64px;
        height: 64px;

        font-size: 30px;
    }

    .rago-subscription-title {
        font-size: 24px;
    }

    .rago-plan-top {
        display: block;
    }

    .rago-plan-discount {
        display: inline-block;

        margin-top: 12px;
    }

    .rago-plan-current-price {
        font-size: 38px;
    }

    .rago-premium-benefits {
        grid-template-columns: 1fr;
    }

    .rago-payment-methods {
        gap: 7px;
    }

}



















/* ==========================================================
   RAGO SUBSCRIPTION — DESKTOP SCREEN FIT
========================================================== */

.rago-subscription-overlay {
    padding: 12px !important;
}

.rago-subscription-popup {
    max-width: 900px !important;
    max-height: calc(100vh - 24px) !important;

    padding: 26px 30px 20px !important;

    overflow-y: auto;
}


/* Premium icon */
.rago-subscription-icon {
    width: 62px !important;
    height: 62px !important;

    margin-bottom: 12px !important;

    font-size: 30px !important;
}


/* Heading */
.rago-subscription-title {
    font-size: 30px !important;
    margin-bottom: 7px !important;
}


/* Description */
.rago-subscription-description {
    margin-bottom: 20px !important;

    font-size: 14px !important;
    line-height: 1.5 !important;
}


/* Plan cards */
.rago-subscription-plans {
    gap: 14px !important;
    margin-bottom: 14px !important;
}

.rago-subscription-plan {
    min-height: 285px !important;

    padding: 20px !important;
}


/* Plan heading */
.rago-plan-name {
    font-size: 22px !important;
}

.rago-plan-subtitle {
    font-size: 13px !important;
}


/* Prices */
.rago-plan-old-price {
    font-size: 18px !important;
}

.rago-plan-current-price {
    font-size: 40px !important;
}


/* Benefits inside cards */
.rago-plan-benefits {
    gap: 6px !important;

    margin-top: 15px !important;

    font-size: 13px !important;
}


/* Bottom benefits */
.rago-premium-benefits {
    margin-bottom: 14px !important;

    padding: 12px 8px !important;
}

.rago-premium-benefit {
    padding: 3px 8px !important;
}

.rago-premium-benefit > strong {
    font-size: 20px !important;
}


/* Continue */
.rago-subscription-continue {
    padding: 14px 22px !important;

    font-size: 16px !important;
}


/* Razorpay area */
.rago-subscription-secure {
    margin-top: 12px !important;
}

.rago-payment-methods {
    margin-top: 8px !important;
}





































/* ==========================================================
   RAGO SUBSCRIPTION — EXTRA COMPACT DESKTOP
========================================================== */

@media (min-width: 761px) {

    .rago-subscription-overlay {
        padding: 8px !important;
    }

    .rago-subscription-popup {
        max-width: 820px !important;
        max-height: calc(100vh - 16px) !important;

        padding: 20px 24px 16px !important;

        border-radius: 24px !important;
    }

    /* Crown */
    .rago-subscription-icon {
        width: 54px !important;
        height: 54px !important;

        margin-bottom: 8px !important;

        font-size: 26px !important;
    }

    /* Heading */
    .rago-subscription-title {
        font-size: 27px !important;

        margin-bottom: 5px !important;
    }

    /* Description */
    .rago-subscription-description {
        margin-bottom: 15px !important;

        font-size: 13px !important;
        line-height: 1.4 !important;
    }

    /* Cards */
    .rago-subscription-plans {
        gap: 12px !important;

        margin-bottom: 12px !important;
    }

    .rago-subscription-plan {
        min-height: 250px !important;

        padding: 17px !important;

        border-radius: 17px !important;
    }

    /* Plan name */
    .rago-plan-name {
        font-size: 20px !important;

        margin-bottom: 5px !important;
    }

    .rago-plan-subtitle {
        font-size: 12px !important;
    }

    /* Discount */
    .rago-plan-discount {
        padding: 6px 9px !important;

        font-size: 10px !important;
    }

    .rago-plan-badge {
        top: 13px !important;
        right: 14px !important;

        padding: 6px 10px !important;

        font-size: 10px !important;
    }

    /* Prices */
    .rago-plan-old-price {
        font-size: 16px !important;
    }

    .rago-plan-current-price {
        font-size: 36px !important;
    }

    .rago-plan-current-price small {
        font-size: 13px !important;
    }

    /* Benefits */
    .rago-plan-benefits {
        gap: 5px !important;

        margin-top: 12px !important;

        font-size: 12px !important;
    }

    /* Bottom benefits */
    .rago-premium-benefits {
        margin: 2px 0 11px !important;

        padding: 9px 6px !important;

        border-radius: 13px !important;
    }

    .rago-premium-benefit {
        gap: 7px !important;

        padding: 2px 6px !important;
    }

    .rago-premium-benefit > strong {
        font-size: 18px !important;
    }

    .rago-premium-benefit b {
        font-size: 11px !important;
    }

    .rago-premium-benefit small {
        font-size: 9px !important;

        margin-top: 2px !important;
    }

    /* Continue */
    .rago-subscription-continue {
        padding: 12px 18px !important;

        border-radius: 12px !important;

        font-size: 14px !important;
    }

    .rago-subscription-continue span {
        font-size: 20px !important;
    }

    /* Razorpay */
    .rago-subscription-secure {
        margin-top: 9px !important;
    }

    .rago-secure-text {
        font-size: 10px !important;
    }

    .rago-payment-methods {
        gap: 8px !important;

        margin-top: 6px !important;
    }

    .rago-payment-methods span {
        min-width: 38px !important;
        height: 21px !important;

        font-size: 8px !important;
    }

    /* Close */
    .rago-subscription-close {
        top: 13px !important;
        right: 14px !important;

        width: 34px !important;
        height: 34px !important;

        font-size: 23px !important;
    }

}