/* 浮动通话按钮 */
.call-button {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 30px rgba(108, 99, 255, 0.5);
    cursor: pointer;
    z-index: 999;
    transition: var(--transition);
    animation: pulse 2s infinite;
    border: 3px solid rgba(255, 255, 255, 0.1);
}

.call-button:hover {
    transform: scale(1.1) rotate(10deg);
    box-shadow: 0 12px 40px rgba(108, 99, 255, 0.7);
}

.call-button i {
    color: white;
    font-size: 32px;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(108, 99, 255, 0.7);
    }
    70% {
        box-shadow: 0 0 0 20px rgba(108, 99, 255, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(108, 99, 255, 0);
    }
}

/* 模拟通话界面 */
.call-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.call-modal.active {
    opacity: 1;
    visibility: visible;
}

.call-container {
    background: linear-gradient(145deg, #1a1a2e, #151525);
    border-radius: 24px;
    width: 90%;
    max-width: 420px;
    overflow: hidden;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.7);
    transform: translateY(30px) scale(0.9);
    transition: transform 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(108, 99, 255, 0.2);
}

.call-modal.active .call-container {
    transform: translateY(0) scale(1);
}

.call-header {
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 25px;
    text-align: center;
}

.call-header h3 {
    font-size: 1.6rem;
    margin-bottom: 8px;
    font-weight: 700;
}

.call-status {
    font-size: 0.95rem;
    opacity: 0.9;
}

.call-body {
    padding: 40px 30px;
    text-align: center;
}

.call-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    margin: 0 auto 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(108, 99, 255, 0.3);
    border: 4px solid rgba(255, 255, 255, 0.1);
}

.call-avatar i {
    font-size: 48px;
    color: white;
}

.call-info h4 {
    font-size: 1.5rem;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.call-info p {
    color: var(--text-secondary);
    margin-bottom: 30px;
}

.call-timer {
    font-size: 3rem;
    font-weight: 300;
    color: var(--primary-color);
    margin-bottom: 40px;
    font-family: 'Segoe UI', monospace;
    text-shadow: 0 0 10px rgba(108, 99, 255, 0.3);
}

.call-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.call-action-btn {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.call-action-btn i {
    font-size: 24px;
}

.call-end {
    background: linear-gradient(135deg, #ff4757, #ff3742);
    color: white;
}

.call-end:hover {
    transform: scale(1.1);
    box-shadow: 0 10px 25px rgba(255, 71, 87, 0.4);
}
