#lang-redirect-overlay {
    position: fixed;
    inset: 0;
    z-index: 999999;
    background: rgba(0, 0, 0, .45);
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    animation: lrp-fade-in .25s ease-out;
}

@keyframes lrp-fade-in {
    from { opacity: 0; }
    to   { opacity: 1; }
}

@keyframes lrp-slide-up {
    from { opacity: 0; transform: translateY(24px) scale(.96); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}

#lang-redirect-popup {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, .2);
    max-width: 420px;
    width: 90%;
    overflow: hidden;
    animation: lrp-slide-up .3s ease-out;
}

.lrp-header {
    padding: 20px 24px 0;
    font-size: 18px;
    font-weight: 600;
    color: #1a1a2e;
    text-align: center;
    line-height: 1.4;
}

.lrp-body {
    padding: 16px 24px 8px;
    text-align: center;
}

.lrp-body p {
    margin: 0;
    font-size: 15px;
    color: #444;
    line-height: 1.6;
}

.lrp-actions {
    padding: 12px 24px 24px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.lrp-btn {
    display: block;
    width: 100%;
    padding: 12px 16px;
    border: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: background .2s, transform .1s;
    line-height: 1.4;
}

.lrp-btn:active {
    transform: scale(.98);
}

.lrp-btn-primary {
    background: #2563eb;
    color: #fff;
}

.lrp-btn-primary:hover {
    background: #1d4ed8;
}

.lrp-btn-secondary {
    background: #f1f5f9;
    color: #475569;
}

.lrp-btn-secondary:hover {
    background: #e2e8f0;
}

@media (max-width: 480px) {
    #lang-redirect-popup {
        width: 92%;
        border-radius: 12px;
    }
    .lrp-header {
        font-size: 16px;
        padding: 16px 16px 0;
    }
    .lrp-body {
        padding: 12px 16px 4px;
    }
    .lrp-body p {
        font-size: 14px;
    }
    .lrp-actions {
        padding: 12px 16px 20px;
    }
    .lrp-btn {
        font-size: 14px;
        padding: 11px 14px;
    }
}
