.dr1popupalerts {
    position: fixed;

    left: 0;
    bottom: 28px;

    width: min(430px, calc(100vw - 28px));

    z-index: 99999;

    pointer-events: none;

    visibility: hidden;

    font-family:
        "Poppins",
        "Segoe UI",
        Arial,
        sans-serif;
}


/* =========================================================
   POPUP CARD
   ========================================================= */

.dr1popupalerts .dr1popupalerts-card {

    position: relative;

    width: 100%;
    min-height: 190px;

    padding: 24px 24px 22px;

    overflow: hidden;

    border-radius: 24px;

    color: #ffffff;

    background:
        radial-gradient(
            circle at 10% 10%,
            rgba(0, 212, 255, 0.28),
            transparent 34%
        ),
        radial-gradient(
            circle at 90% 85%,
            rgba(255, 78, 205, 0.25),
            transparent 35%
        ),
        linear-gradient(
            135deg,
            #11152b 0%,
            #1b1644 45%,
            #101936 100%
        );

    border: 1px solid rgba(255, 255, 255, 0.20);

    box-shadow:
        0 25px 70px rgba(0, 0, 0, 0.38),
        0 10px 30px rgba(108, 92, 231, 0.28),
        inset 0 1px 0 rgba(255, 255, 255, 0.28),
        inset 0 -1px 0 rgba(255, 255, 255, 0.06);

    transform:
        translate3d(-125%, 0, 0)
        rotateY(12deg)
        scale(0.92);

    opacity: 0;

    transition:
        transform 0.85s cubic-bezier(.16, 1, .3, 1),
        opacity 0.65s ease;

    pointer-events: auto;

    isolation: isolate;
}


/* =========================================================
   VISIBLE STATE
   ========================================================= */

.dr1popupalerts.dr1popupalerts--visible {

    visibility: visible;
}


.dr1popupalerts.dr1popupalerts--visible
.dr1popupalerts-card {

    transform:
        translate3d(0, 0, 0)
        rotateY(0deg)
        scale(1);

    opacity: 1;
}


/* =========================================================
   CLOSING STATE
   ========================================================= */

.dr1popupalerts.dr1popupalerts--closing
.dr1popupalerts-card {

    transform:
        translate3d(-125%, 0, 0)
        rotateY(-10deg)
        scale(0.94);

    opacity: 0;
}


/* =========================================================
   GLOSSY SHINE
   ========================================================= */

.dr1popupalerts .dr1popupalerts-shine {

    position: absolute;

    top: -80%;
    left: -45%;

    width: 45%;
    height: 260%;

    z-index: 2;

    background:
        linear-gradient(
            90deg,
            transparent 0%,
            rgba(255, 255, 255, 0.04) 35%,
            rgba(255, 255, 255, 0.34) 50%,
            rgba(255, 255, 255, 0.04) 65%,
            transparent 100%
        );

    transform: rotate(22deg);

    pointer-events: none;

    animation:
        dr1PopupShine 5s ease-in-out infinite;
}


@keyframes dr1PopupShine {

    0% {
        left: -55%;
        opacity: 0;
    }

    15% {
        opacity: 1;
    }

    42% {
        left: 125%;
        opacity: 0;
    }

    100% {
        left: 125%;
        opacity: 0;
    }
}


/* =========================================================
   TOP GLOW
   ========================================================= */

.dr1popupalerts .dr1popupalerts-top-glow {

    position: absolute;

    top: -80px;
    left: 50%;

    width: 240px;
    height: 130px;

    transform: translateX(-50%);

    background:
        radial-gradient(
            ellipse,
            rgba(0, 212, 255, 0.28),
            transparent 70%
        );

    filter: blur(8px);

    pointer-events: none;
}


/* =========================================================
   DECORATIVE ORB #1
   ========================================================= */

.dr1popupalerts .dr1popupalerts-orb--one {

    position: absolute;

    width: 70px;
    height: 70px;

    right: -28px;
    top: -28px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle at 30% 25%,
            #ffffff,
            #00d4ff 12%,
            #6c5ce7 48%,
            transparent 72%
        );

    opacity: 0.55;

    filter: blur(1px);

    pointer-events: none;

    animation:
        dr1PopupOrbOne 5s ease-in-out infinite;
}


@keyframes dr1PopupOrbOne {

    0%,
    100% {
        transform:
            translate3d(0, 0, 0)
            scale(1);
    }

    50% {
        transform:
            translate3d(-8px, 10px, 0)
            scale(1.12);
    }
}


/* =========================================================
   DECORATIVE ORB #2
   ========================================================= */

.dr1popupalerts .dr1popupalerts-orb--two {

    position: absolute;

    width: 45px;
    height: 45px;

    right: 75px;
    bottom: -22px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle at 30% 25%,
            #ffffff,
            #ff4ecd 15%,
            #6c5ce7 55%,
            transparent 72%
        );

    opacity: 0.38;

    filter: blur(1px);

    pointer-events: none;

    animation:
        dr1PopupOrbTwo 4s ease-in-out infinite;
}


@keyframes dr1PopupOrbTwo {

    0%,
    100% {
        transform:
            translate3d(0, 0, 0);
    }

    50% {
        transform:
            translate3d(8px, -7px, 0);
    }
}


/* =========================================================
   CONTENT
   ========================================================= */

.dr1popupalerts .dr1popupalerts-content {

    position: relative;

    z-index: 5;
}


/* =========================================================
   BADGE
   ========================================================= */

.dr1popupalerts .dr1popupalerts-badge {

    display: inline-flex;

    align-items: center;

    gap: 7px;

    margin-bottom: 11px;

    padding: 6px 11px;

    border-radius: 999px;

    font-size: 10px;

    font-weight: 700;

    letter-spacing: 1.1px;

    text-transform: uppercase;

    color: #ffffff;

    background:
        linear-gradient(
            135deg,
            rgba(0, 212, 255, 0.28),
            rgba(108, 92, 231, 0.34)
        );

    border:
        1px solid rgba(255, 255, 255, 0.18);

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.22),
        0 6px 18px rgba(0, 212, 255, 0.10);
}


/* =========================================================
   BADGE DOT
   ========================================================= */

.dr1popupalerts .dr1popupalerts-badge-dot {

    width: 7px;
    height: 7px;

    flex: 0 0 7px;

    border-radius: 50%;

    background: #63ffca;

    box-shadow:
        0 0 0 3px rgba(99, 255, 202, 0.12),
        0 0 12px rgba(99, 255, 202, 0.85);

    animation:
        dr1PopupPulse 1.8s ease-in-out infinite;
}


@keyframes dr1PopupPulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.35);
        opacity: 0.65;
    }
}


/* =========================================================
   HEADING
   ========================================================= */

.dr1popupalerts h2 {

    margin:
        0
        40px
        8px
        0;

    font-size:
        clamp(20px, 4vw, 25px);

    line-height: 1.18;

    font-weight: 800;

    letter-spacing: -0.5px;

    color: #ffffff;

    text-shadow:
        0 2px 12px rgba(0, 0, 0, 0.25);
}


/* =========================================================
   GRADIENT HEADING TEXT
   ========================================================= */

.dr1popupalerts h2
.dr1popupalerts-gradient-text {

    background:
        linear-gradient(
            90deg,
            #ffffff 0%,
            #72e8ff 38%,
            #d77bff 72%,
            #ff79ce 100%
        );

    -webkit-background-clip: text;

    background-clip: text;

    color: transparent;

    background-size: 200% auto;

    animation:
        dr1PopupGradient 4s linear infinite;
}


@keyframes dr1PopupGradient {

    0% {
        background-position: 0% center;
    }

    100% {
        background-position: 200% center;
    }
}


/* =========================================================
   DESCRIPTION
   ========================================================= */

.dr1popupalerts .dr1popupalerts-description {

    margin:
        0
        30px
        17px
        0;

    color:
        rgba(255, 255, 255, 0.76);

    font-size: 12px;

    line-height: 1.55;

    font-weight: 400;
}


/* =========================================================
   ACTION BUTTON CONTAINER
   ========================================================= */

.dr1popupalerts .dr1popupalerts-actions {

    display: flex;

    align-items: center;

    gap: 9px;
}


/* =========================================================
   PORTFOLIO BUTTON
   ========================================================= */

.dr1popupalerts .dr1popupalerts-portfolio {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 8px;

    min-height: 39px;

    padding:
        0
        17px;

    border: 0;

    border-radius: 12px;

    color: #ffffff;

    background:
        linear-gradient(
            135deg,
            #00cfff 0%,
            #6670ff 48%,
            #b44cff 100%
        );

    box-shadow:
        0 9px 24px rgba(76, 92, 255, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.45),
        inset 0 -2px 0 rgba(0, 0, 0, 0.10);

    font-family: inherit;

    font-size: 11px;

    font-weight: 750;

    letter-spacing: 0.25px;

    cursor: pointer;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        filter 0.25s ease;
}


/* =========================================================
   PORTFOLIO BUTTON HOVER
   ========================================================= */

.dr1popupalerts .dr1popupalerts-portfolio:hover {

    transform:
        translateY(-2px)
        scale(1.025);

    filter: brightness(1.08);

    box-shadow:
        0 13px 30px rgba(76, 92, 255, 0.46),
        inset 0 1px 0 rgba(255, 255, 255, 0.52);
}


/* =========================================================
   PORTFOLIO BUTTON ACTIVE
   ========================================================= */

.dr1popupalerts .dr1popupalerts-portfolio:active {

    transform:
        translateY(0)
        scale(0.98);
}


/* =========================================================
   PORTFOLIO BUTTON ARROW
   ========================================================= */

.dr1popupalerts .dr1popupalerts-arrow {

    display: inline-block;

    font-size: 15px;

    line-height: 1;

    transition:
        transform 0.25s ease;
}


.dr1popupalerts .dr1popupalerts-portfolio:hover
.dr1popupalerts-arrow {

    transform:
        translateX(4px);
}


/* =========================================================
   CLOSE BUTTON
   ========================================================= */

.dr1popupalerts .dr1popupalerts-close {

    position: absolute;

    top: 14px;
    right: 14px;

    z-index: 10;

    display: flex;

    align-items: center;

    justify-content: center;

    width: 29px;
    height: 29px;

    padding: 0;

    border:
        1px solid rgba(255, 255, 255, 0.15);

    border-radius: 50%;

    color:
        rgba(255, 255, 255, 0.78);

    background:
        rgba(255, 255, 255, 0.08);

    backdrop-filter: blur(8px);

    -webkit-backdrop-filter: blur(8px);

    font-family: Arial, sans-serif;

    font-size: 17px;

    line-height: 1;

    cursor: pointer;

    transition:
        background 0.2s ease,
        color 0.2s ease,
        transform 0.2s ease;
}


/* =========================================================
   CLOSE BUTTON HOVER
   ========================================================= */

.dr1popupalerts .dr1popupalerts-close:hover {

    color: #ffffff;

    background:
        rgba(255, 255, 255, 0.18);

    transform:
        rotate(90deg);
}


/* =========================================================
   CLOSE BUTTON FOCUS
   ========================================================= */

.dr1popupalerts .dr1popupalerts-close:focus-visible {

    outline:
        2px solid rgba(0, 212, 255, 0.85);

    outline-offset: 3px;
}


/* =========================================================
   PORTFOLIO BUTTON FOCUS
   ========================================================= */

.dr1popupalerts .dr1popupalerts-portfolio:focus-visible {

    outline:
        2px solid rgba(255, 255, 255, 0.90);

    outline-offset: 3px;
}


/* =========================================================
   BOTTOM PROGRESS BAR
   ========================================================= */

.dr1popupalerts .dr1popupalerts-progress {

    position: absolute;

    left: 0;
    bottom: 0;

    width: 100%;
    height: 3px;

    overflow: hidden;

    background:
        rgba(255, 255, 255, 0.08);
}


/* =========================================================
   PROGRESS BAR ANIMATION
   ========================================================= */

.dr1popupalerts .dr1popupalerts-progress::after {

    content: "";

    position: absolute;

    left: 0;
    top: 0;

    width: 100%;
    height: 100%;

    background:
        linear-gradient(
            90deg,
            #00d4ff,
            #6c5ce7,
            #ff4ecd
        );

    transform-origin:
        left center;

    animation:
        dr1PopupProgress 8s linear forwards;
}


@keyframes dr1PopupProgress {

    from {
        transform: scaleX(1);
    }

    to {
        transform: scaleX(0);
    }
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 520px) {

    .dr1popupalerts {

        left: 12px;

        bottom: 16px;

        width:
            calc(100vw - 24px);
    }


    .dr1popupalerts .dr1popupalerts-card {

        min-height: auto;

        padding:
            20px
            19px
            19px;

        border-radius: 20px;
    }


    .dr1popupalerts h2 {

        font-size: 20px;
    }


    .dr1popupalerts .dr1popupalerts-description {

        font-size: 11.5px;

        margin-right: 18px;
    }


    .dr1popupalerts .dr1popupalerts-portfolio {

        min-height: 38px;

        padding:
            0
            15px;
    }


    .dr1popupalerts .dr1popupalerts-close {

        top: 12px;

        right: 12px;
    }
}


/* =========================================================
   VERY SMALL MOBILE
   ========================================================= */

@media (max-width: 360px) {

    .dr1popupalerts {

        left: 9px;

        bottom: 12px;

        width:
            calc(100vw - 18px);
    }


    .dr1popupalerts .dr1popupalerts-card {

        padding:
            18px
            16px
            17px;

        border-radius: 18px;
    }


    .dr1popupalerts .dr1popupalerts-badge {

        font-size: 9px;

        padding:
            5px
            9px;
    }


    .dr1popupalerts h2 {

        font-size: 18px;

        margin-right: 30px;
    }


    .dr1popupalerts .dr1popupalerts-description {

        font-size: 11px;

        line-height: 1.5;

        margin-bottom: 14px;
    }


    .dr1popupalerts .dr1popupalerts-portfolio {

        min-height: 36px;

        padding:
            0
            13px;

        font-size: 10px;
    }
}


/* =========================================================
   REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    .dr1popupalerts .dr1popupalerts-card,
    .dr1popupalerts .dr1popupalerts-portfolio,
    .dr1popupalerts .dr1popupalerts-close {

        transition: none;
    }


    .dr1popupalerts .dr1popupalerts-shine,
    .dr1popupalerts .dr1popupalerts-orb--one,
    .dr1popupalerts .dr1popupalerts-orb--two,
    .dr1popupalerts .dr1popupalerts-badge-dot,
    .dr1popupalerts
    h2
    .dr1popupalerts-gradient-text,
    .dr1popupalerts .dr1popupalerts-progress::after {

        animation: none;
    }
}