#modal_popup * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    pointer-events: none;
}

#modal_popup .modal {
    background: #34495e;
    border-radius: 16px;
    padding: 32px;
    width: 100%;
    max-width: 420px;
    position: relative;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    text-align: center;
    color: white;
    margin: 20px;
    z-index: 1001;
    pointer-events: auto;
}

#modal_popup .close-btn {
    position: absolute;
    top: 16px;
    right: 20px;
    background: none;
    border: none;
    color: #bdc3c7;
    font-size: 24px;
    cursor: pointer;
    padding: 4px;
    line-height: 1;
    transition: color 0.2s ease;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#modal_popup .close-btn:hover {
    color: white;
}

#modal_popup .lock-icon {
    width: 48px;
    height: 48px;
    background: #3498db;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 18px;
    position: relative;
    left: 0;
    top: 0;
}

#modal_popup .modal-title {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 12px;
    color: white;
    line-height: 1.2;
}

#modal_popup .modal-subtitle {
    font-size: 13px;
    color: #bdc3c7;
    line-height: 1.4;
    margin-bottom: 24px;
}

#modal_popup .features-section {
    text-align: left;
    margin-bottom: 24px;
}

#modal_popup .features-title {
    font-size: 13px;
    color: #bdc3c7;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
}

#modal_popup .features-title::before {
    content: "✨";
    margin-right: 6px;
    font-size: 12px;
}

#modal_popup .features-list {
    list-style: none;
}

#modal_popup .features-list li {
    font-size: 13px;
    color: #ecf0f1;
    margin-bottom: 6px;
    padding-left: 14px;
    position: relative;
    line-height: 1.3;
}

#modal_popup .features-list li::before {
    content: "•";
    color: #3498db;
    position: absolute;
    left: 0;
    font-weight: bold;
}

#modal_popup .button-group {
    display: flex;
    gap: 10px;
    flex-direction: row;
}

#modal_popup .btn {
    padding: 12px 20px;
    border: none;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    flex: 1;
    min-height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#modal_popup .btn-secondary {
    background: #5a6c7d;
    color: #bdc3c7;
    border: 1px solid #5a6c7d;
}

#modal_popup .btn-secondary:hover {
    background: #6c7b8a;
    color: white;
}

#modal_popup .btn-primary {
    background: #27ae60;
    color: white;
    font-weight: 600;
}

#modal_popup .btn-primary:hover {
    background: #2ecc71;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(39, 174, 96, 0.3);
}

@media (max-width: 480px) {
    #modal_popup .button-group {
        flex-direction: column;
    }

    #modal_popup .modal {
        margin: 10px;
        padding: 24px;
    }

    #modal_popup .modal-title {
        font-size: 20px;
    }
}