
/* style.css */
body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    background-color: #111;
    color: #fff;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

h1, h2 {
    margin: 20px 0;
}

.avatar-container {
    margin-top: 20px;
}

.avatar-container.small {
    margin-top: 10px;
}

.avatar {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover; /* сохраняем пропорции */
    object-position: center; /* центрируем */
    box-shadow: 0 0 15px rgba(255, 0, 100, 0.6);
}

.accept-btn, .register-btn {
    background-color: #00c851;
    border: none;
    padding: 15px 25px;
    font-size: 18px;
    color: #fff;
    border-radius: 50px;
    cursor: pointer;
    transition: 0.3s ease;
    margin-top: 30px;
    display: inline-block;
    text-decoration: none;
}

.accept-btn:hover {
    background-color: #009e3d;
    transform: scale(1.05);
}

.register-btn {
    background-color: #ff2e63;
}

.register-btn:hover {
    background-color: #cc2550;
    transform: scale(1.05);
}

.note {
    margin-top: 20px;
    font-size: 14px;
    color: #ccc;
}

.hidden {
    display: none;
}

.call-screen {
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 rgba(0, 200, 81, 0.7); }
    70% { box-shadow: 0 0 25px rgba(0, 200, 81, 0); }
    100% { box-shadow: 0 0 0 rgba(0, 200, 81, 0); }
}

@media (max-width: 600px) {
    .avatar {
        width: 120px;
        height: 120px;
    }
    .accept-btn, .register-btn {
        font-size: 16px;
        padding: 12px 20px;
    }
}
