<style>/* =========================================
   MODERN AGE / COOKIE POPUP
   ========================================= */

.popup-overlay {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;

    background:
        radial-gradient(circle at 50% 0%, rgba(255, 70, 100, 0.10), transparent 40%),
        rgba(5, 7, 12, 0.82);

    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);

    animation: popupOverlayIn 0.35s ease-out;
}

.popup-box {
    width: min(100%, 520px);
    max-height: calc(100vh - 40px);
    overflow-y: auto;

    position: relative;
    padding: 38px 36px 34px;

    color: #f7f7f8;
    text-align: center;

    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,0.09),
            rgba(255,255,255,0.035)
        );

    border: 1px solid rgba(255,255,255,0.13);
    border-radius: 24px;

    box-shadow:
        0 30px 80px rgba(0,0,0,0.55),
        0 0 0 1px rgba(255,255,255,0.025) inset;

    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);

    animation: popupBoxIn 0.45s cubic-bezier(.16,1,.3,1);
}

/* Top glow */
.popup-box::before {
    content: "";
    position: absolute;
    top: -80px;
    left: 50%;
    width: 180px;
    height: 180px;

    transform: translateX(-50%);

    background: rgba(255, 55, 90, 0.18);
    filter: blur(60px);
    border-radius: 50%;

    pointer-events: none;
}

/* =========================================
   LOGO
   ========================================= */

.pop-logo {
    position: relative;
    z-index: 1;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    margin: 0 auto 22px;
}

.pop-logo img {
    display: block;

    width: 82px;
    height: 82px;

    object-fit: cover;

    border-radius: 20px;

    border: 1px solid rgba(255,255,255,0.14);

    box-shadow:
        0 12px 35px rgba(0,0,0,0.35),
        0 0 30px rgba(255,55,90,0.12);
}

.pop-logo span {
    position: absolute;

    right: -8px;
    bottom: -7px;

    display: flex;
    align-items: center;
    justify-content: center;

    min-width: 30px;
    height: 24px;

    padding: 0 7px;

    color: #fff;
    background: #ff3155;

    border: 3px solid #15171d;
    border-radius: 8px;

    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.5px;

    box-shadow: 0 5px 15px rgba(255,49,85,0.35);
}

/* =========================================
   HEADING
   ========================================= */

.popup-box h2 {
    position: relative;
    z-index: 1;

    margin: 0 0 15px;

    color: #ffffff;

    font-family: inherit;
    font-size: clamp(22px, 4vw, 28px);
    font-weight: 750;
    line-height: 1.25;
    letter-spacing: -0.5px;
}

/* =========================================
   TEXT
   ========================================= */

.popup-box p {
    position: relative;
    z-index: 1;

    margin: 0 0 14px;

    color: rgba(255,255,255,0.68);

    font-size: 14px;
    line-height: 1.75;
}

.popup-box p:last-of-type {
    margin-bottom: 24px;

    color: rgba(255,255,255,0.88);
    font-weight: 600;
}

/* =========================================
   PRIMARY BUTTON
   ========================================= */

.btn-primary {
    position: relative;
    z-index: 1;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;
    min-height: 52px;

    margin-top: 8px;
    padding: 13px 20px;

    border: 0;
    border-radius: 13px;

    color: #fff;

    background: linear-gradient(
        135deg,
        #ff3155 0%,
        #e81743 100%
    );

    box-shadow:
        0 10px 25px rgba(255,49,85,0.25),
        0 2px 0 rgba(255,255,255,0.12) inset;

    font-family: inherit;
    font-size: 15px;
    font-weight: 700;

    cursor: pointer;

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        filter 0.2s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);

    box-shadow:
        0 14px 32px rgba(255,49,85,0.35),
        0 2px 0 rgba(255,255,255,0.15) inset;

    filter: brightness(1.06);
}

.btn-primary:active {
    transform: translateY(0);
}

/* =========================================
   SECONDARY BUTTON
   ========================================= */

.btn-secondary {
    position: relative;
    z-index: 1;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;
    min-height: 50px;

    margin-top: 11px;
    padding: 12px 20px;

    color: rgba(255,255,255,0.75);

    background: rgba(255,255,255,0.055);

    border: 1px solid rgba(255,255,255,0.10);
    border-radius: 13px;

    font-family: inherit;
    font-size: 14px;
    font-weight: 600;

    cursor: pointer;

    transition:
        background 0.2s ease,
        color 0.2s ease,
        border-color 0.2s ease;
}

.btn-secondary:hover {
    color: #fff;
    background: rgba(255,255,255,0.09);
    border-color: rgba(255,255,255,0.18);
}

/* =========================================
   COOKIE LINK
   ========================================= */

.popup-link {
    position: relative;
    z-index: 1;

    display: inline-flex;

    margin-top: 18px;
    padding: 5px;

    color: rgba(255,255,255,0.55);

    background: transparent;
    border: 0;

    font-family: inherit;
    font-size: 13px;
    font-weight: 500;

    cursor: pointer;

    transition: color 0.2s ease;
}

.popup-link:hover {
    color: #ff4b69;
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* =========================================
   SCROLLBAR
   ========================================= */

.popup-box::-webkit-scrollbar {
    width: 5px;
}

.popup-box::-webkit-scrollbar-track {
    background: transparent;
}

.popup-box::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,0.15);
    border-radius: 20px;
}

/* =========================================
   ANIMATIONS
   ========================================= */

@keyframes popupOverlayIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes popupBoxIn {
    from {
        opacity: 0;
        transform: translateY(25px) scale(0.96);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* =========================================
   MOBILE
   ========================================= */

@media (max-width: 600px) {

    .popup-overlay {
        padding: 14px;
        align-items: center;
    }

    .popup-box {
        width: 100%;
        padding: 30px 22px 25px;

        border-radius: 20px;
        max-height: calc(100vh - 28px);
    }

    .pop-logo {
        margin-bottom: 18px;
    }

    .pop-logo img {
        width: 68px;
        height: 68px;
        border-radius: 17px;
    }

    .pop-logo span {
        right: -7px;
        bottom: -6px;

        min-width: 27px;
        height: 21px;

        font-size: 9px;
    }

    .popup-box h2 {
        font-size: 21px;
        margin-bottom: 13px;
    }

    .popup-box p {
        font-size: 13px;
        line-height: 1.65;
        margin-bottom: 12px;
    }

    .popup-box p:last-of-type {
        margin-bottom: 20px;
    }

    .btn-primary,
    .btn-secondary {
        min-height: 49px;
    }
}

/* =========================================
   VERY SMALL PHONES
   ========================================= */

@media (max-width: 380px) {

    .popup-box {
        padding: 25px 18px 21px;
    }

    .popup-box h2 {
        font-size: 19px;
    }

    .popup-box p {
        font-size: 12px;
    }

    .btn-primary,
    .btn-secondary {
        font-size: 13px;
        min-height: 46px;
    }
}

/* =========================================
   REDUCED MOTION
   ========================================= */

@media (prefers-reduced-motion: reduce) {

    .popup-overlay,
    .popup-box {
        animation: none;
    }

    .btn-primary,
    .btn-secondary,
    .popup-link {
        transition: none;
    }
}
</style>