/* Модальное окно Premium */
.sr-overlay {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    animation: sr-fade-in 0.3s ease;
}
@keyframes sr-fade-in { from { opacity: 0; } to { opacity: 1; } }

.sr-dialog {
    position: relative;
    max-width: 420px;
    width: 90%;
    background: var(--card-bg);
    border-radius: 36px;
    padding: 40px 28px 32px;
    box-shadow: 0 30px 60px rgba(214,51,132,0.2), 0 0 0 1px var(--border-light, rgba(214,51,132,0.1));
    text-align: center;
    animation: sr-pop-in 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
}
@keyframes sr-pop-in {
    from { opacity: 0; transform: scale(0.8) translateY(40px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}

/* Крестик закрытия */
.sr-close-btn {
    position: absolute;
    top: 16px; right: 20px;
    width: 36px; height: 36px;
    border-radius: 50%;
    background: var(--hover-bg, rgba(0,0,0,0.05));
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    z-index: 2;
    border: none;
}
.sr-close-btn span {
    position: absolute;
    width: 18px; height: 2px;
    background: var(--text-secondary);
    border-radius: 2px;
    transition: all 0.2s;
}
.sr-close-btn span:nth-child(1) { transform: rotate(45deg); }
.sr-close-btn span:nth-child(2) { transform: rotate(-45deg); }
.sr-close-btn:hover {
    background: var(--accent);
}
.sr-close-btn:hover span {
    background: #fff;
}

/* Иллюстрация */
.sr-illustration {
    position: relative;
    height: 100px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.sr-circle {
    position: absolute;
    border-radius: 50%;
    opacity: 0.6;
}
.sr-circle-1 {
    width: 80px; height: 80px;
    background: linear-gradient(135deg, rgba(214,51,132,0.2), rgba(255,107,157,0.2));
    animation: sr-float 4s ease-in-out infinite;
}
.sr-circle-2 {
    width: 50px; height: 50px;
    background: linear-gradient(135deg, rgba(214,51,132,0.3), rgba(255,107,157,0.3));
    animation: sr-float 3s ease-in-out infinite 0.5s;
    top: 5px; left: 60%;
}
.sr-circle-3 {
    width: 30px; height: 30px;
    background: rgba(214,51,132,0.4);
    animation: sr-float 2.5s ease-in-out infinite 1s;
    bottom: 10px; right: 10px;
}
.sr-crown-icon {
    font-size: 2.5rem;
    color: #ffb800;
    filter: drop-shadow(0 0 8px rgba(255,184,0,0.5));
    z-index: 1;
    animation: sr-float 3s ease-in-out infinite;
}
@keyframes sr-float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-8px); }
}

/* Заголовок и призыв */
.sr-title {
    font-size: 2rem;
    font-weight: 800;
    background: linear-gradient(135deg, #D63384, #ff6b9d);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 12px;
}
.sr-subtitle {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 24px;
    line-height: 1.5;
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
}

/* Преимущества: два столбца, иконки с анимацией пульсации */
.sr-benefits {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 28px;
    text-align: left;
}
.sr-benefit {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--glass-bg, rgba(214,51,132,0.04));
    border-radius: 14px;
    padding: 10px 12px;
    font-size: 0.85rem;
    color: var(--text-primary);
    transition: background 0.2s;
    animation: sr-fade-in 0.5s ease backwards;
}
.sr-benefit:nth-child(1) { animation-delay: 0.1s; }
.sr-benefit:nth-child(2) { animation-delay: 0.2s; }
.sr-benefit:nth-child(3) { animation-delay: 0.3s; }
.sr-benefit:nth-child(4) { animation-delay: 0.4s; }

.sr-benefit i {
    font-size: 1.2rem;
    color: var(--accent);
    width: 24px;
    text-align: center;
    animation: sr-icon-pulse 1.5s ease-in-out infinite;
}

/* Анимация иконки – лёгкая пульсация */
@keyframes sr-icon-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

/* Кнопки */
.sr-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.sr-btn {
    padding: 14px;
    border-radius: 18px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    border: none;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
}
.sr-btn-primary {
    background: linear-gradient(135deg, #D63384, #E91E63);
    color: #fff;
    box-shadow: 0 10px 25px rgba(214,51,132,0.3);
}
.sr-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 35px rgba(214,51,132,0.45);
}
.sr-btn-ghost {
    background: transparent;
    border: 1px solid var(--border-light, rgba(214,51,132,0.2));
    color: var(--text-secondary);
}
.sr-btn-ghost:hover {
    background: var(--hover-bg, rgba(214,51,132,0.05));
}

/* Мобильная версия: окно на весь экран */
@media (max-width: 600px) {
    .sr-dialog {
        max-width: none;
        width: 100%;
        height: 100%;
        border-radius: 0;
        padding: 32px 24px 24px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        animation: sr-fade-in 0.3s ease;
    }
    .sr-close-btn { top: 18px; right: 22px; }
}