.core-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 10px; 
    overflow-y: auto; 
}
.core-modal-window {
    background: #fff;
    width: 100%;
    max-width: 450px; 
    padding: 25px;
    border-radius: 12px;
    position: relative;
    box-sizing: border-box;
}
.core-modal-socials-block {
    margin-top: 20px;
    text-align: center;
}
.core-modal-socials-buttons {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-top: 15px;
}
.core-social-btn {
    padding: 10px 20px;
    border-radius: 6px;
    text-decoration: none;
    color: white;
    font-weight: bold;
    flex: 1; 
}
.btn-vk { background: #0077ff; }
.btn-avito { background: #0088cc; }
@media (max-width: 480px) {
.core-modal-window {
        padding: 15px;
    }
.core-modal-socials-buttons {
        flex-direction: column; 
    }
}
.core-modal-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.75); 
            backdrop-filter: blur(8px); 
            z-index: 9999; 
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 20px;
            box-sizing: border-box;
            opacity: 0;
            pointer-events: none;
            transition: opacity 0.3s ease;
        }
.core-modal-overlay.is-active {
            opacity: 1;
            pointer-events: auto;
        }
.core-modal-window {
            background-color: #0b0b0b; 
            border: 1px solid rgba(78, 240, 195, 0.15); 
            border-radius: 16px; 
            width: 100%;
            max-width: 440px; 
            padding: 40px 30px;
            box-sizing: border-box;
            position: relative;
            box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
            transform: translateY(-20px);
            transition: transform 0.3s ease;
        }
.core-modal-overlay.is-active .core-modal-window {
            transform: translateY(0);
        }
.core-modal-close-btn {
            position: absolute;
            top: 16px;
            right: 20px;
            background: none;
            border: none;
            color: rgba(255, 255, 255, 0.4);
            font-size: 32px;
            line-height: 1;
            cursor: pointer;
            transition: color 0.2s ease, transform 0.2s ease;
            padding: 0;
        }
.core-modal-close-btn:hover {
            color: #4ef0c3; 
            transform: scale(1.1);
        }
.core-modal-title {
            font-family: "Nunito", sans-serif;
            font-weight: 900;
            font-size: 28px;
            color: #ffffff;
            margin: 0 0 10px 0;
            text-align: center;
            letter-spacing: -0.5px;
        }
.core-modal-subtitle {
            font-family: "Nunito", sans-serif;
            font-weight: 800;
            font-size: 14px;
            color: rgba(255, 255, 255, 0.6);
            margin: 0 0 30px 0;
            text-align: center;
            line-height: 1.5;
        }
.core-modal-form {
            display: flex;
            flex-direction: column;
            gap: 20px;
        }
.core-modal-field {
            display: flex;
            flex-direction: column;
            gap: 8px;
        }
.core-modal-label {
            font-family: "Nunito", sans-serif;
            font-weight: 800;
            font-size: 13px;
            color: rgba(255, 255, 255, 0.8);
            text-transform: uppercase;
            letter-spacing: 0.5px;
            padding-left: 4px;
        }
.core-modal-input,
.core-modal-textarea {
            background-color: #121212; 
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: 10px;
            color: #ffffff;
            font-family: "Nunito", sans-serif;
            font-weight: 800;
            font-size: 15px;
            padding: 14px 16px;
            box-sizing: border-box;
            outline: none;
            transition: border-color 0.2s ease, box-shadow 0.2s ease;
            width: 100%;
        }
.core-modal-input::placeholder,
.core-modal-textarea::placeholder {
            color: rgba(255, 255, 255, 0.25);
            font-weight: 800;
        }
.core-modal-input:focus,
.core-modal-textarea:focus {
            border-color: #4ef0c3;
            box-shadow: 0 0 10px rgba(78, 240, 195, 0.15);
        }
.core-modal-textarea {
            height: 90px;
            resize: none; 
        }
.core-modal-submit-btn {
            background-color: #4ef0c3;
            color: #000000;
            border: none;
            border-radius: 12px;
            padding: 16px 20px;
            font-family: "Nunito", sans-serif;
            font-weight: 900;
            font-size: 16px;
            cursor: pointer;
            transition: transform 0.2s ease, box-shadow 0.2s ease;
            margin-top: 10px;
            width: 100%;
            text-align: center;
        }
.core-modal-submit-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 25px rgba(78, 240, 195, 0.35);
        }
.core-modal-submit-btn:active {
            transform: translateY(1px);
        }
.core-modal-divider {
            height: 1px;
            background: linear-gradient(to right, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0), rgba(255, 255, 255, 0));
            margin: 25px 0 20px 0;
            width: 100%;
        }
.core-modal-socials-block {
            display: flex;
            flex-direction: column;
            gap: 15px;
            text-align: center;
        }
.core-modal-socials-text {
            font-family: "Nunito", sans-serif;
            font-weight: 700;
            font-size: 13px;
            color: rgba(255, 255, 255, 0.5);
            line-height: 1.5;
            margin: 0;
            padding: 0 10px;
        }
.core-modal-socials-buttons {
            display: flex;
            gap: 12px;
            width: 100%;
        }
.core-social-btn {
            flex: 1; 
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 12px 15px;
            border-radius: 10px;
            font-family: "Nunito", sans-serif;
            font-weight: 800;
            font-size: 14px;
            text-decoration: none;
            transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
            box-sizing: border-box;
            position: relative; 
        }
.core-social-btn::before {
            content: "";
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: calc(100% + 6px);
            border-radius: 10px;
            z-index: -1;
            
            
            pointer-events: none; 
        }
.core-modal-overlay.is-active .core-social-btn::before {
            pointer-events: auto;
        }
.btn-vk {
            background-color: #0077ff;
            color: #ffffff;
        }
.btn-vk:hover {
            box-shadow: 0 5px 15px rgba(0, 119, 255, 0.3);
            filter: brightness(1.1);
            transform: translateY(-3px); 
        }
.btn-avito {
            background-color: #4E97D1;
            color: #ffffff;
        }
.btn-avito:hover {
            box-shadow: 0 5px 15px rgba(75, 172, 67, 0.3);
            filter: brightness(1.1);
            transform: translateY(-3px);
        }
.core-social-btn:active {
            transform: translateY(1px);
        }
@media (max-width: 480px) {
.core-modal-window {
                padding: 35px 20px 30px;
            }
.core-modal-title {
                font-size: 24px;
            }
}